view rogue3/rogue36.vcproj @ 112:ee250e3646fd

Don't truncate player name in savefile name or log message. The player name is stored in whoami[], which is length 80 in most games (1024 in rogue5). Only the first 10 chars were used to create file_name, because that buffer is the same length. Increasing the size of file_name to 256 permits using all of whoami. The name is also no longer truncated to 20 chars when writing the log. All games should now be able to handle 79-character names without collisions. Anything more would break save compatibility.
author John "Elwin" Edwards
date Sun, 23 Mar 2014 21:27:14 -0700
parents 527e2150eaf0
children
line wrap: on
line source

<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
	ProjectType="Visual C++"
	Version="8.00"
	Name="rogue36"
	ProjectGUID="{B986AB16-E9C2-4299-A772-F02B28620521}"
	RootNamespace="rogue36"
	Keyword="Win32Proj"
	>
	<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="../pdcurses"
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;$(NOINHERIT)"
				MinimalRebuild="false"
				ExceptionHandling="0"
				BasicRuntimeChecks="3"
				RuntimeLibrary="0"
				UsePrecompiledHeader="0"
				WarningLevel="3"
				Detect64BitPortabilityProblems="true"
				DebugInformationFormat="3"
				CompileAs="1"
				DisableSpecificWarnings="4033;4716;4013;4131;4244;4201;4431;4127;4706;4100"
			/>
			<Tool
				Name="VCManagedResourceCompilerTool"
			/>
			<Tool
				Name="VCResourceCompilerTool"
			/>
			<Tool
				Name="VCPreLinkEventTool"
			/>
			<Tool
				Name="VCLinkerTool"
				AdditionalDependencies="Ws2_32.lib pdcurses.lib advapi32.lib shfolder.lib user32.lib"
				LinkIncremental="1"
				AdditionalLibraryDirectories="../pdcurses"
				IgnoreDefaultLibraryNames="LIBC.LIB"
				GenerateDebugInformation="true"
				SubSystem="1"
				TargetMachine="1"
			/>
			<Tool
				Name="VCALinkTool"
			/>
			<Tool
				Name="VCManifestTool"
			/>
			<Tool
				Name="VCXDCMakeTool"
			/>
			<Tool
				Name="VCBscMakeTool"
			/>
			<Tool
				Name="VCFxCopTool"
			/>
			<Tool
				Name="VCAppVerifierTool"
			/>
			<Tool
				Name="VCWebDeploymentTool"
			/>
			<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"
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
				RuntimeLibrary="2"
				UsePrecompiledHeader="0"
				WarningLevel="3"
				Detect64BitPortabilityProblems="true"
				DebugInformationFormat="3"
			/>
			<Tool
				Name="VCManagedResourceCompilerTool"
			/>
			<Tool
				Name="VCResourceCompilerTool"
			/>
			<Tool
				Name="VCPreLinkEventTool"
			/>
			<Tool
				Name="VCLinkerTool"
				LinkIncremental="1"
				GenerateDebugInformation="true"
				SubSystem="1"
				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="VCWebDeploymentTool"
			/>
			<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=".\armor.c"
				>
			</File>
			<File
				RelativePath=".\chase.c"
				>
			</File>
			<File
				RelativePath=".\command.c"
				>
			</File>
			<File
				RelativePath=".\daemon.c"
				>
			</File>
			<File
				RelativePath=".\daemons.c"
				>
			</File>
			<File
				RelativePath=".\fight.c"
				>
			</File>
			<File
				RelativePath=".\init.c"
				>
			</File>
			<File
				RelativePath=".\io.c"
				>
			</File>
			<File
				RelativePath=".\list.c"
				>
			</File>
			<File
				RelativePath=".\main.c"
				>
			</File>
			<File
				RelativePath=".\mdport.c"
				>
			</File>
			<File
				RelativePath=".\misc.c"
				>
			</File>
			<File
				RelativePath=".\monsters.c"
				>
			</File>
			<File
				RelativePath=".\move.c"
				>
			</File>
			<File
				RelativePath=".\newlevel.c"
				>
			</File>
			<File
				RelativePath=".\options.c"
				>
			</File>
			<File
				RelativePath=".\pack.c"
				>
			</File>
			<File
				RelativePath=".\passages.c"
				>
			</File>
			<File
				RelativePath=".\potions.c"
				>
			</File>
			<File
				RelativePath=".\rings.c"
				>
			</File>
			<File
				RelativePath=".\rip.c"
				>
			</File>
			<File
				RelativePath=".\rooms.c"
				>
			</File>
			<File
				RelativePath=".\save.c"
				>
			</File>
			<File
				RelativePath=".\scrolls.c"
				>
			</File>
			<File
				RelativePath=".\state.c"
				>
			</File>
			<File
				RelativePath=".\sticks.c"
				>
			</File>
			<File
				RelativePath=".\things.c"
				>
			</File>
			<File
				RelativePath=".\vers.c"
				>
			</File>
			<File
				RelativePath=".\weapons.c"
				>
			</File>
			<File
				RelativePath=".\wizard.c"
				>
			</File>
			<File
				RelativePath=".\xcrypt.c"
				>
			</File>
		</Filter>
		<Filter
			Name="Header Files"
			Filter="h;hpp;hxx;hm;inl;inc;xsd"
			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
			>
			<File
				RelativePath=".\machdep.h"
				>
			</File>
			<File
				RelativePath=".\rogue.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>
		<File
			RelativePath=".\LICENSE.TXT"
			>
		</File>
		<File
			RelativePath=".\Makefile"
			>
		</File>
		<File
			RelativePath=".\readme36.html"
			>
		</File>
		<File
			RelativePath=".\rogue.r"
			>
		</File>
		<File
			RelativePath=".\rogue36.cat"
			>
		</File>
		<File
			RelativePath=".\rogue36.doc"
			>
		</File>
		<File
			RelativePath=".\rogue36.html"
			>
		</File>
	</Files>
	<Globals>
	</Globals>
</VisualStudioProject>