ref: d545ff7efea8fcd4c1067239df77971b31542e3e
parent: d7fb0fbf6ecaa5994290b369571531e0c0356ae7
author: unknown <fabien@fabien-PC.(none)>
date: Sun Feb 10 08:28:20 EST 2013
Added icon for Visual Studio Build.
--- a/.gitignore
+++ b/.gitignore
@@ -11,4 +11,5 @@
*.opensdf
DebugVC7
bin
+*/ReleaseVC7
*vcxproj.user
--- a/Engine/src/engine.c
+++ b/Engine/src/engine.c
@@ -7683,7 +7683,7 @@
int32_t stx, i, x, y, charxsiz;
uint8_t *fontptr, *letptr, *ptr;
- printf("******* %s\n",name);
+
stx = xpos;
--- a/Game/Game.vcproj
+++ b/Game/Game.vcproj
@@ -24,6 +24,7 @@
CharacterSet="2"
WholeProgramOptimization="0"
>
+
<Tool
Name="VCPreBuildEventTool"
/>
--- a/Game/Game.vcxproj
+++ b/Game/Game.vcxproj
@@ -78,7 +78,7 @@
<Link>
<AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions>
<AdditionalDependencies>dxguid.lib;sdl.lib;sdl_mixer.lib;winmm.lib;WS2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <OutputFile>$(OutDir)Duke3D.exe</OutputFile>
+ <OutputFile>$(OutDir)ChocolateDuke3D.exe</OutputFile>
<Version>19.4</Version>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>..\Directx_dec_2005\;..\SDL-1.2.9\lib\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
@@ -182,6 +182,9 @@
<Project>{05511b4a-fb13-49e5-ae53-ee1f063c055d}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="chocolateDukeRessources.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
--- a/Game/Game.vcxproj.filters
+++ b/Game/Game.vcxproj.filters
@@ -185,4 +185,7 @@
<Filter>Console Headers</Filter>
</ClInclude>
</ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="chocolateDukeRessources.rc" />
+ </ItemGroup>
</Project>
\ No newline at end of file
--- /dev/null
+++ b/Game/chocolateDukeRessources.rc
@@ -1,0 +1,12 @@
+#include <windows.h>
+#include <commctrl.h>
+#include <richedit.h>
+
+
+
+
+
+//
+// Icon resources
+//
+IDI_ICON1 ICON ".\\duke_icon.ico"
binary files /dev/null b/Game/duke_icon.ico differ
--- a/Game/src/premap.c
+++ b/Game/src/premap.c
@@ -1576,7 +1576,7 @@
// if(ud.level_number == 0 && ud.recstat != 2) FTA(40,&ps[myconnectindex]);
#ifdef CHECK_XDUKE_REV
- sprintf(fta_quotes[103],"xDuke v%d.%d", ud.rev[myconnectindex][2], ud.rev[myconnectindex][3]);
+ sprintf(fta_quotes[103],"Chocolate Duke3D v%d.%d", ud.rev[myconnectindex][2], ud.rev[myconnectindex][3]);
FTA(103,&ps[myconnectindex],1);
#endif