Skip to content

Commit

Permalink
win32 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
c99koder committed Jul 9, 2007
1 parent 8522393 commit 17de5a7
Show file tree
Hide file tree
Showing 7 changed files with 282 additions and 22 deletions.
256 changes: 254 additions & 2 deletions DreamZZT.vcproj
Expand Up @@ -40,11 +40,11 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="&quot;C:\Program Files\OpenAL 1.1 SDK\include&quot;;..\tiki\win32\include;..\tiki\include;include;C:\libcurl\include"
AdditionalIncludeDirectories="&quot;C:\Program Files\OpenAL 1.1 SDK\include&quot;;..\tiki\win32\include;..\tiki\include;lua;&quot;src\libtolua++&quot;;lua\lib;include;C:\libcurl\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;DEBUG;NET;_CRT_SECURE_NO_DEPRECATE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
RuntimeLibrary="3"
DefaultCharIsUnsigned="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Expand Down Expand Up @@ -185,6 +185,14 @@
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\src\AMFModel.cpp"
>
</File>
<File
RelativePath=".\src\AMFModelInstance.cpp"
>
</File>
<File
RelativePath=".\src\board.cpp"
>
Expand All @@ -209,6 +217,10 @@
RelativePath=".\src\editor.cpp"
>
</File>
<File
RelativePath=".\src\GraphicsLayer.cpp"
>
</File>
<File
RelativePath=".\src\http.cpp"
>
Expand All @@ -217,6 +229,10 @@
RelativePath=".\src\main.cpp"
>
</File>
<File
RelativePath=".\src\ModelManager.cpp"
>
</File>
<File
RelativePath=".\src\object.cpp"
>
Expand Down Expand Up @@ -272,6 +288,10 @@
RelativePath=".\src\objects\items.cpp"
>
</File>
<File
RelativePath=".\src\objects\lua.cpp"
>
</File>
<File
RelativePath=".\src\objects\passage.cpp"
>
Expand All @@ -293,6 +313,238 @@
>
</File>
</Filter>
<Filter
Name="lua"
>
<File
RelativePath=".\lua\lapi.c"
>
</File>
<File
RelativePath=".\lua\lapi.h"
>
</File>
<File
RelativePath=".\lua\lib\lauxlib.c"
>
</File>
<File
RelativePath=".\lua\lauxlib.h"
>
</File>
<File
RelativePath=".\lua\lib\lbaselib.c"
>
</File>
<File
RelativePath=".\lua\lcode.c"
>
</File>
<File
RelativePath=".\lua\lcode.h"
>
</File>
<File
RelativePath=".\lua\lib\ldblib.c"
>
</File>
<File
RelativePath=".\lua\ldebug.c"
>
</File>
<File
RelativePath=".\lua\ldebug.h"
>
</File>
<File
RelativePath=".\lua\ldo.c"
>
</File>
<File
RelativePath=".\lua\ldo.h"
>
</File>
<File
RelativePath=".\lua\ldump.c"
>
</File>
<File
RelativePath=".\lua\lfunc.c"
>
</File>
<File
RelativePath=".\lua\lfunc.h"
>
</File>
<File
RelativePath=".\lua\lgc.c"
>
</File>
<File
RelativePath=".\lua\lgc.h"
>
</File>
<File
RelativePath=".\lua\lib\liolib.c"
>
</File>
<File
RelativePath=".\lua\llex.c"
>
</File>
<File
RelativePath=".\lua\llex.h"
>
</File>
<File
RelativePath=".\lua\llimits.h"
>
</File>
<File
RelativePath=".\lua\lib\lmathlib.c"
>
</File>
<File
RelativePath=".\lua\lmem.c"
>
</File>
<File
RelativePath=".\lua\lmem.h"
>
</File>
<File
RelativePath=".\lua\lib\loadlib.c"
>
</File>
<File
RelativePath=".\lua\lobject.c"
>
</File>
<File
RelativePath=".\lua\lobject.h"
>
</File>
<File
RelativePath=".\lua\lopcodes.c"
>
</File>
<File
RelativePath=".\lua\lopcodes.h"
>
</File>
<File
RelativePath=".\lua\lparser.c"
>
</File>
<File
RelativePath=".\lua\lparser.h"
>
</File>
<File
RelativePath=".\lua\lstate.c"
>
</File>
<File
RelativePath=".\lua\lstate.h"
>
</File>
<File
RelativePath=".\lua\lstring.c"
>
</File>
<File
RelativePath=".\lua\lstring.h"
>
</File>
<File
RelativePath=".\lua\lib\lstrlib.c"
>
</File>
<File
RelativePath=".\lua\ltable.c"
>
</File>
<File
RelativePath=".\lua\ltable.h"
>
</File>
<File
RelativePath=".\lua\lib\ltablib.c"
>
</File>
<File
RelativePath=".\lua\ltests.c"
>
</File>
<File
RelativePath=".\lua\ltm.c"
>
</File>
<File
RelativePath=".\lua\ltm.h"
>
</File>
<File
RelativePath=".\lua\lua.h"
>
</File>
<File
RelativePath=".\lua\lualib.h"
>
</File>
<File
RelativePath=".\lua\lundump.c"
>
</File>
<File
RelativePath=".\lua\lundump.h"
>
</File>
<File
RelativePath=".\lua\lvm.c"
>
</File>
<File
RelativePath=".\lua\lvm.h"
>
</File>
<File
RelativePath=".\lua\lzio.c"
>
</File>
<File
RelativePath=".\lua\lzio.h"
>
</File>
<File
RelativePath=".\src\pluto.c"
>
</File>
<File
RelativePath=".\src\libtolua++\tolua_event.c"
>
</File>
<File
RelativePath=".\src\libtolua++\tolua_event.h"
>
</File>
<File
RelativePath=".\src\libtolua++\tolua_is.c"
>
</File>
<File
RelativePath=".\src\libtolua++\tolua_map.c"
>
</File>
<File
RelativePath=".\src\libtolua++\tolua_push.c"
>
</File>
<File
RelativePath=".\src\libtolua++\tolua_to.c"
>
</File>
</Filter>
</Filter>
<Filter
Name="Header Files"
Expand Down
21 changes: 14 additions & 7 deletions dreamzzt-lite.iss
@@ -1,7 +1,7 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define AppVersion "3.0.8"
#define AppVersion "3.1.0"

[Setup]
AppVersion={#AppVersion}
Expand Down Expand Up @@ -36,6 +36,7 @@ Name: english; MessagesFile: compiler:Default.isl
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
Name: registerzzt; Description: Associate DreamZZT with .ZZT files; Flags: checkedonce; GroupDescription: Register file types:
Name: registersav; Description: Associate DreamZZT with .SAV files; Flags: checkedonce; GroupDescription: Register file types:
Name: registerszt; Description: Associate DreamZZT with .SZT files; Flags: checkedonce; GroupDescription: Register file types:

[Files]
Source: COPYING; DestDir: {app}
Expand All @@ -51,6 +52,7 @@ Source: win32\wrap_oal.dll; DestDir: {app}; Flags: ignoreversion
Source: win32\libcurl.dll; DestDir: {app}; Flags: ignoreversion; Tasks:
Source: win32\vcredist80_x86.exe; DestDir: {tmp}; Flags: deleteafterinstall
Source: win32\SDL.dll; DestDir: {app}; Flags: ignoreversion
Source: resources\monster.szt; DestDir: {app}; Flags: ignoreversion

[INI]

Expand All @@ -64,6 +66,7 @@ Name: {group}\Report a Bug; Filename: http://dev.c99.org/DreamZZT/newticket
Name: {group}\Town of ZZT; Filename: {app}\town.zzt; WorkingDir: {app}; IconFilename: {app}\DreamZZT-lite.exe; IconIndex: 1
Name: {group}\Mission Enigma; Filename: {app}\enigma.zzt; WorkingDir: {app}; IconFilename: {app}\DreamZZT-lite.exe; IconIndex: 1
Name: {group}\DreamZZT Tutorial; Filename: {app}\tutorial.zzt; WorkingDir: {app}; IconFilename: {app}\DreamZZT-lite.exe; IconIndex: 1
Name: {group}\ZZT Monster Zoo; Filename: {app}\monster.szt; WorkingDir: {app}; IconFilename: {app}\DreamZZT-lite.exe; IconIndex: 1

[Run]
Filename: {app}\DreamZZT-lite.exe; Description: {cm:LaunchProgram,DreamZZT}; Flags: nowait postinstall skipifsilent
Expand All @@ -77,9 +80,13 @@ Type: files; Name: {app}\BugReport.url
[Registry]
Root: HKCR; SubKey: .zzt; ValueType: string; ValueData: ZZTGame; Flags: uninsdeletekey; Tasks: registerzzt
Root: HKCR; SubKey: ZZTGame; ValueType: string; ValueData: DreamZZT Game; Flags: uninsdeletekey; Tasks: registerzzt
Root: HKCR; SubKey: ZZTGame\Shell\Open\Command; ValueType: string; ValueData: """{app}\DreamZZT.exe"" ""%1"""; Flags: uninsdeletevalue; Tasks: registerzzt
Root: HKCR; Subkey: ZZTGame\DefaultIcon; ValueType: string; ValueData: {app}\DreamZZT.exe,1; Flags: uninsdeletevalue; Tasks: registerzzt
Root: HKCR; SubKey: .sav; ValueType: string; ValueData: ZZTSaveGame; Flags: uninsdeletekey; Tasks: registerzzt
Root: HKCR; SubKey: ZZTSaveGame; ValueType: string; ValueData: DreamZZT Saved Game; Flags: uninsdeletekey; Tasks: registerzzt
Root: HKCR; SubKey: ZZTSaveGame\Shell\Open\Command; ValueType: string; ValueData: """{app}\DreamZZT.exe"" ""%1"""; Flags: uninsdeletevalue; Tasks: registerzzt
Root: HKCR; Subkey: ZZTSaveGame\DefaultIcon; ValueType: string; ValueData: {app}\DreamZZT.exe,1; Flags: uninsdeletevalue; Tasks: registerzzt
Root: HKCR; SubKey: ZZTGame\Shell\Open\Command; ValueType: string; ValueData: """{app}\DreamZZT-lite.exe"" ""%1"""; Flags: uninsdeletevalue; Tasks: registerzzt
Root: HKCR; Subkey: ZZTGame\DefaultIcon; ValueType: string; ValueData: {app}\DreamZZT-lite.exe,1; Flags: uninsdeletevalue; Tasks: registerzzt
Root: HKCR; SubKey: .sav; ValueType: string; ValueData: ZZTSaveGame; Flags: uninsdeletekey; Tasks: registersav
Root: HKCR; SubKey: ZZTSaveGame; ValueType: string; ValueData: DreamZZT Saved Game; Flags: uninsdeletekey; Tasks: registersav
Root: HKCR; SubKey: ZZTSaveGame\Shell\Open\Command; ValueType: string; ValueData: """{app}\DreamZZT-lite.exe"" ""%1"""; Flags: uninsdeletevalue; Tasks: registersav
Root: HKCR; Subkey: ZZTSaveGame\DefaultIcon; ValueType: string; ValueData: {app}\DreamZZT-lite.exe,1; Flags: uninsdeletevalue; Tasks: registersav
Root: HKCR; SubKey: .szt; ValueType: string; ValueData: SuperZZTGame; Flags: uninsdeletekey; Tasks: registerszt
Root: HKCR; SubKey: SuperZZTGame; ValueType: string; ValueData: Super DreamZZT Game; Flags: uninsdeletekey; Tasks: registerszt
Root: HKCR; SubKey: SuperZZTGame\Shell\Open\Command; ValueType: string; ValueData: """{app}\DreamZZT-lite.exe"" ""%1"""; Flags: uninsdeletevalue; Tasks: registerszt
Root: HKCR; Subkey: SuperZZTGame\DefaultIcon; ValueType: string; ValueData: {app}\DreamZZT-lite.exe,1; Flags: uninsdeletevalue; Tasks: registerszt
Binary file modified resources/tutorial.zzt
Binary file not shown.

0 comments on commit 17de5a7

Please sign in to comment.