forked from CorsixTH/CorsixTH
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Peter Cawley
committed
Jul 24, 2009
1 parent
1f315db
commit 6def3b5
Showing
88 changed files
with
15,115 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,46 @@ | ||
* text=auto !eol | ||
AnimView/AnimView.vcproj eol=crlf | ||
/CorsixTH.sln eol=crlf | ||
/CorsixTH.suo -text | ||
CorsixTH/AnimView.exe -text | ||
CorsixTH/Bitmap/build_room_dialog_close.bmp -text | ||
CorsixTH/Bitmap/map_cell_outline.bmp -text | ||
CorsixTH/CorsixTH.aps -text | ||
CorsixTH/CorsixTH.exe -text | ||
CorsixTH/CorsixTH.lua -text | ||
CorsixTH/CorsixTH.rc -text | ||
CorsixTH/CorsixTH.vcproj eol=crlf | ||
CorsixTH/Lua/app.lua -text | ||
CorsixTH/Lua/class.lua -text | ||
CorsixTH/Lua/dialogs/bottom_panel.lua -text | ||
CorsixTH/Lua/dialogs/build_room.lua -text | ||
CorsixTH/Lua/dialogs/edit_room.lua -text | ||
CorsixTH/Lua/entity.lua -text | ||
CorsixTH/Lua/graphics.lua -text | ||
CorsixTH/Lua/humanoid.lua -text | ||
CorsixTH/Lua/map.lua -text | ||
CorsixTH/Lua/object.lua -text | ||
CorsixTH/Lua/objects/door.lua -text | ||
CorsixTH/Lua/rooms/general_diag.lua -text | ||
CorsixTH/Lua/rooms/gp.lua -text | ||
CorsixTH/Lua/rooms/inflation.lua -text | ||
CorsixTH/Lua/rooms/pharmacy.lua -text | ||
CorsixTH/Lua/rooms/psych.lua -text | ||
CorsixTH/Lua/rooms/staff_room.lua -text | ||
CorsixTH/Lua/rooms/toilets.lua -text | ||
CorsixTH/Lua/rooms/ward.lua -text | ||
CorsixTH/Lua/ui.lua -text | ||
CorsixTH/Lua/walls/blue.lua -text | ||
CorsixTH/Lua/walls/external.lua -text | ||
CorsixTH/Lua/walls/green.lua -text | ||
CorsixTH/Lua/walls/white.lua -text | ||
CorsixTH/Lua/walls/yellow.lua -text | ||
CorsixTH/Lua/window.lua -text | ||
CorsixTH/Lua/world.lua -text | ||
CorsixTH/Microsoft.VC90.CRT.manifest -text | ||
CorsixTH/SDL.dll -text | ||
CorsixTH/Src/lua.hpp -text | ||
CorsixTH/lua5.1.dll -text | ||
CorsixTH/msvcp90.dll -text | ||
CorsixTH/msvcr90.dll -text | ||
LFS/lfs.def -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,235 @@ | ||
<?xml version="1.0" encoding="Windows-1252"?> | ||
<VisualStudioProject | ||
ProjectType="Visual C++" | ||
Version="9.00" | ||
Name="AnimView" | ||
ProjectGUID="{AF32893D-1E28-4499-A227-46966A1289FD}" | ||
RootNamespace="AnimView" | ||
Keyword="Win32Proj" | ||
TargetFrameworkVersion="196613" | ||
> | ||
<Platforms> | ||
<Platform | ||
Name="Win32" | ||
/> | ||
</Platforms> | ||
<ToolFiles> | ||
</ToolFiles> | ||
<Configurations> | ||
<Configuration | ||
Name="Debug|Win32" | ||
OutputDirectory="$(SolutionDir)$(ConfigurationName)" | ||
IntermediateDirectory="$(ConfigurationName)" | ||
ConfigurationType="1" | ||
CharacterSet="1" | ||
> | ||
<Tool | ||
Name="VCPreBuildEventTool" | ||
/> | ||
<Tool | ||
Name="VCCustomBuildTool" | ||
/> | ||
<Tool | ||
Name="VCXMLDataGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCWebServiceProxyGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCMIDLTool" | ||
/> | ||
<Tool | ||
Name="VCCLCompilerTool" | ||
Optimization="0" | ||
AdditionalIncludeDirectories="$(WXWIN)\include\msvc;$(WXWIN)\include" | ||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;wxUSE_UNICODE =1" | ||
MinimalRebuild="true" | ||
BasicRuntimeChecks="3" | ||
RuntimeLibrary="3" | ||
UsePrecompiledHeader="0" | ||
WarningLevel="3" | ||
DebugInformationFormat="4" | ||
/> | ||
<Tool | ||
Name="VCManagedResourceCompilerTool" | ||
/> | ||
<Tool | ||
Name="VCResourceCompilerTool" | ||
/> | ||
<Tool | ||
Name="VCPreLinkEventTool" | ||
/> | ||
<Tool | ||
Name="VCLinkerTool" | ||
AdditionalDependencies="comctl32.lib Rpcrt4.lib" | ||
LinkIncremental="2" | ||
AdditionalLibraryDirectories="$(WXWIN)\lib\vc_lib" | ||
GenerateDebugInformation="true" | ||
SubSystem="2" | ||
TargetMachine="1" | ||
/> | ||
<Tool | ||
Name="VCALinkTool" | ||
/> | ||
<Tool | ||
Name="VCManifestTool" | ||
/> | ||
<Tool | ||
Name="VCXDCMakeTool" | ||
/> | ||
<Tool | ||
Name="VCBscMakeTool" | ||
/> | ||
<Tool | ||
Name="VCFxCopTool" | ||
/> | ||
<Tool | ||
Name="VCAppVerifierTool" | ||
/> | ||
<Tool | ||
Name="VCPostBuildEventTool" | ||
/> | ||
</Configuration> | ||
<Configuration | ||
Name="Release|Win32" | ||
OutputDirectory="$(SolutionDir)$(ConfigurationName)" | ||
IntermediateDirectory="$(ConfigurationName)" | ||
ConfigurationType="1" | ||
CharacterSet="1" | ||
WholeProgramOptimization="1" | ||
> | ||
<Tool | ||
Name="VCPreBuildEventTool" | ||
/> | ||
<Tool | ||
Name="VCCustomBuildTool" | ||
/> | ||
<Tool | ||
Name="VCXMLDataGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCWebServiceProxyGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCMIDLTool" | ||
/> | ||
<Tool | ||
Name="VCCLCompilerTool" | ||
Optimization="2" | ||
EnableIntrinsicFunctions="true" | ||
AdditionalIncludeDirectories="$(WXWIN)\include\msvc;$(WXWIN)\include" | ||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;wxUSE_UNICODE =1" | ||
RuntimeLibrary="2" | ||
EnableFunctionLevelLinking="true" | ||
UsePrecompiledHeader="0" | ||
WarningLevel="3" | ||
DebugInformationFormat="3" | ||
/> | ||
<Tool | ||
Name="VCManagedResourceCompilerTool" | ||
/> | ||
<Tool | ||
Name="VCResourceCompilerTool" | ||
/> | ||
<Tool | ||
Name="VCPreLinkEventTool" | ||
/> | ||
<Tool | ||
Name="VCLinkerTool" | ||
AdditionalDependencies="comctl32.lib" | ||
LinkIncremental="1" | ||
AdditionalLibraryDirectories="$(WXWIN)\lib\vc_lib" | ||
GenerateDebugInformation="true" | ||
SubSystem="2" | ||
OptimizeReferences="2" | ||
EnableCOMDATFolding="2" | ||
TargetMachine="1" | ||
/> | ||
<Tool | ||
Name="VCALinkTool" | ||
/> | ||
<Tool | ||
Name="VCManifestTool" | ||
/> | ||
<Tool | ||
Name="VCXDCMakeTool" | ||
/> | ||
<Tool | ||
Name="VCBscMakeTool" | ||
/> | ||
<Tool | ||
Name="VCFxCopTool" | ||
/> | ||
<Tool | ||
Name="VCAppVerifierTool" | ||
/> | ||
<Tool | ||
Name="VCPostBuildEventTool" | ||
/> | ||
</Configuration> | ||
</Configurations> | ||
<References> | ||
</References> | ||
<Files> | ||
<Filter | ||
Name="Source Files" | ||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" | ||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" | ||
> | ||
<File | ||
RelativePath=".\app.cpp" | ||
> | ||
</File> | ||
<File | ||
RelativePath=".\frmMain.cpp" | ||
> | ||
</File> | ||
<File | ||
RelativePath=".\frmSprites.cpp" | ||
> | ||
</File> | ||
<File | ||
RelativePath=".\rnc.cpp" | ||
> | ||
</File> | ||
<File | ||
RelativePath=".\th.cpp" | ||
> | ||
</File> | ||
</Filter> | ||
<Filter | ||
Name="Header Files" | ||
Filter="h;hpp;hxx;hm;inl;inc;xsd" | ||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" | ||
> | ||
<File | ||
RelativePath=".\app.h" | ||
> | ||
</File> | ||
<File | ||
RelativePath=".\backdrop.h" | ||
> | ||
</File> | ||
<File | ||
RelativePath=".\frmMain.h" | ||
> | ||
</File> | ||
<File | ||
RelativePath=".\frmSprites.h" | ||
> | ||
</File> | ||
<File | ||
RelativePath=".\th.h" | ||
> | ||
</File> | ||
</Filter> | ||
<Filter | ||
Name="Resource Files" | ||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav" | ||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" | ||
> | ||
</Filter> | ||
</Files> | ||
<Globals> | ||
</Globals> | ||
</VisualStudioProject> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
Copyright (c) 2009 Peter "Corsix" Cawley | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | ||
of the Software, and to permit persons to whom the Software is furnished to do | ||
so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
*/ | ||
|
||
#include "app.h" | ||
#include "frmMain.h" | ||
#include "frmSprites.h" | ||
|
||
IMPLEMENT_APP(ThemeHospitalAnimViewApp) | ||
|
||
bool ThemeHospitalAnimViewApp::OnInit() | ||
{ | ||
wxTopLevelWindow *pForm; | ||
//if(::wxMessageBox(L"Launch animation viewer? (No -> sprite viewer)", L"AnimView", wxYES_NO) == wxYES) | ||
pForm = new frmMain; | ||
//else | ||
//pForm = new frmSprites; | ||
|
||
pForm->Show(true); | ||
SetTopWindow(pForm); | ||
|
||
return true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
Copyright (c) 2009 Peter "Corsix" Cawley | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | ||
of the Software, and to permit persons to whom the Software is furnished to do | ||
so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
*/ | ||
|
||
#pragma once | ||
// For compilers that support precompilation, includes "wx/wx.h". | ||
#include "wx/wxprec.h" | ||
|
||
#ifdef __BORLANDC__ | ||
#pragma hdrstop | ||
#endif | ||
|
||
// for all others, include the necessary headers (this file is usually all you | ||
// need because it includes almost all "standard" wxWidgets headers) | ||
#ifndef WX_PRECOMP | ||
#include "wx/wx.h" | ||
#endif | ||
// ---------------------------- | ||
|
||
class ThemeHospitalAnimViewApp : public wxApp | ||
{ | ||
virtual bool OnInit(); | ||
}; | ||
|
||
DECLARE_APP(ThemeHospitalAnimViewApp) |
Oops, something went wrong.