view urogue/urogue.vcproj @ 296:000b1c5b8d63

UltraRogue: fix inventory collision after save and restore. Inventory letters are based on "identifiers" stored in objects' o_ident field. Identifiers are allocated by get_ident(), which keeps a list of objects that have them, to avoid giving the same identifier to multiple objects. The list is not stored in the savefile, so after restore, get_ident() was not aware of existing identifiers. This resulted in picked-up objects having the same inventory letters as objects restored from the file. The restore code now adds all objects with identifiers to the list.
author John "Elwin" Edwards
date Mon, 15 Jan 2018 20:20:35 -0500
parents c495a4f288c6
children
line wrap: on
line source

<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
	ProjectType="Visual C++"
	Version="8.00"
	Name="urogue"
	ProjectGUID="{A428D711-A9BE-4A4E-9013-3AC25A18502D}"
	RootNamespace="urogue"
	Keyword="Win32Proj"
	>
	<Platforms>
		<Platform
			Name="Win32"
		/>
	</Platforms>
	<ToolFiles>
	</ToolFiles>
	<Configurations>
		<Configuration
			Name="Debug|Win32"
			OutputDirectory="Debug"
			IntermediateDirectory="Debug"
			ConfigurationType="1"
			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
			CharacterSet="2"
			>
			<Tool
				Name="VCPreBuildEventTool"
			/>
			<Tool
				Name="VCCustomBuildTool"
			/>
			<Tool
				Name="VCXMLDataGeneratorTool"
			/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"
			/>
			<Tool
				Name="VCMIDLTool"
			/>
			<Tool
				Name="VCCLCompilerTool"
				Optimization="0"
				InlineFunctionExpansion="0"
				AdditionalIncludeDirectories="../pdcurses"
				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;SCOREFILE;ALLSCORES"
				StringPooling="true"
				MinimalRebuild="true"
				ExceptionHandling="0"
				BasicRuntimeChecks="3"
				RuntimeLibrary="1"
				BufferSecurityCheck="true"
				EnableFunctionLevelLinking="true"
				DisableLanguageExtensions="false"
				ForceConformanceInForLoopScope="true"
				UsePrecompiledHeader="0"
				BrowseInformation="0"
				WarningLevel="4"
				Detect64BitPortabilityProblems="true"
				DebugInformationFormat="4"
				CompileAs="1"
			/>
			<Tool
				Name="VCManagedResourceCompilerTool"
			/>
			<Tool
				Name="VCResourceCompilerTool"
			/>
			<Tool
				Name="VCPreLinkEventTool"
			/>
			<Tool
				Name="VCLinkerTool"
				AdditionalDependencies="Ws2_32.lib pdcurses.lib advapi32.lib shfolder.lib user32.lib"
				OutputFile="$(OutDir)/rogue54.exe"
				LinkIncremental="2"
				AdditionalLibraryDirectories="../pdcurses"
				IgnoreDefaultLibraryNames="LIBC.LIB"
				GenerateDebugInformation="true"
				ProgramDatabaseFile="$(OutDir)/rogue54.pdb"
				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="Release"
			IntermediateDirectory="Release"
			ConfigurationType="1"
			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
			CharacterSet="2"
			>
			<Tool
				Name="VCPreBuildEventTool"
			/>
			<Tool
				Name="VCCustomBuildTool"
			/>
			<Tool
				Name="VCXMLDataGeneratorTool"
			/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"
			/>
			<Tool
				Name="VCMIDLTool"
			/>
			<Tool
				Name="VCCLCompilerTool"
				Optimization="2"
				InlineFunctionExpansion="1"
				OmitFramePointers="true"
				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
				StringPooling="true"
				RuntimeLibrary="0"
				EnableFunctionLevelLinking="true"
				UsePrecompiledHeader="2"
				WarningLevel="3"
				Detect64BitPortabilityProblems="true"
				DebugInformationFormat="3"
			/>
			<Tool
				Name="VCManagedResourceCompilerTool"
			/>
			<Tool
				Name="VCResourceCompilerTool"
			/>
			<Tool
				Name="VCPreLinkEventTool"
			/>
			<Tool
				Name="VCLinkerTool"
				OutputFile="$(OutDir)/rogue54.exe"
				LinkIncremental="1"
				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="VCWebDeploymentTool"
			/>
			<Tool
				Name="VCPostBuildEventTool"
			/>
		</Configuration>
	</Configurations>
	<References>
	</References>
	<Files>
		<Filter
			Name="Source Files"
			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"
			>
			<File
				RelativePath="armor.c"
				>
			</File>
			<File
				RelativePath=".\artifact.c"
				>
			</File>
			<File
				RelativePath=".\bag.c"
				>
			</File>
			<File
				RelativePath="chase.c"
				>
			</File>
			<File
				RelativePath="command.c"
				>
			</File>
			<File
				RelativePath="daemon.c"
				>
			</File>
			<File
				RelativePath="daemons.c"
				>
			</File>
			<File
				RelativePath=".\dict.c"
				>
			</File>
			<File
				RelativePath=".\dictutil.c"
				>
			</File>
			<File
				RelativePath=".\encumb.c"
				>
			</File>
			<File
				RelativePath="fight.c"
				>
			</File>
			<File
				RelativePath=".\getplay.c"
				>
			</File>
			<File
				RelativePath=".\ident.c"
				>
			</File>
			<File
				RelativePath="init.c"
				>
			</File>
			<File
				RelativePath="io.c"
				>
			</File>
			<File
				RelativePath="list.c"
				>
			</File>
			<File
				RelativePath=".\magic.c"
				>
			</File>
			<File
				RelativePath="main.c"
				>
			</File>
			<File
				RelativePath=".\maze.c"
				>
			</File>
			<File
				RelativePath=".\mdport.c"
				>
			</File>
			<File
				RelativePath=".\memory.c"
				>
			</File>
			<File
				RelativePath="misc.c"
				>
			</File>
			<File
				RelativePath=".\monsdata.c"
				>
			</File>
			<File
				RelativePath="monsters.c"
				>
			</File>
			<File
				RelativePath="move.c"
				>
			</File>
			<File
				RelativePath=".\newlvl.c"
				>
			</File>
			<File
				RelativePath="options.c"
				>
			</File>
			<File
				RelativePath="pack.c"
				>
			</File>
			<File
				RelativePath="passages.c"
				>
			</File>
			<File
				RelativePath=".\player.c"
				>
			</File>
			<File
				RelativePath="potions.c"
				>
			</File>
			<File
				RelativePath=".\random.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=".\status.c"
				>
			</File>
			<File
				RelativePath="sticks.c"
				>
			</File>
			<File
				RelativePath="things.c"
				>
			</File>
			<File
				RelativePath=".\trader.c"
				>
			</File>
			<File
				RelativePath=".\verify.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"
			>
			<File
				RelativePath=".\dict.h"
				>
			</File>
			<File
				RelativePath=".\dictutil.h"
				>
			</File>
			<File
				RelativePath=".\lint-curses.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"
			>
		</Filter>
		<File
			RelativePath=".\history.txt"
			>
		</File>
		<File
			RelativePath="LICENSE.TXT"
			>
		</File>
		<File
			RelativePath="Makefile"
			>
		</File>
		<File
			RelativePath=".\README"
			>
		</File>
		<File
			RelativePath=".\TODO"
			>
		</File>
		<File
			RelativePath=".\urogue.6"
			>
		</File>
	</Files>
	<Globals>
	</Globals>
</VisualStudioProject>