view xrogue/xrogue.vcproj @ 152:0c775afe0072

arogue7, xrogue: fix command repetition. In both games, command() loops and calls the action function twice for each command: once to schedule it by setting player.t_action and player.t_no_move, and again, to actually do it, once player.t_no_move has been reduced to 0. Each loop decremented count, so repeated commands were only repeated half the number of times the player typed. count is now decremented only when ch has been set to the repeated command.
author John "Elwin" Edwards
date Thu, 28 May 2015 11:08:03 -0400
parents e6179860cb76
children
line wrap: on
line source

<?xml version="1.0" encoding = "Windows-1252"?>
<VisualStudioProject
	ProjectType="Visual C++"
	Version="7.00"
	Name="xrogue"
	ProjectGUID="{ABD49D61-EFA9-41BA-9EA1-8DE4B4FA4FF6}"
	Keyword="Win32Proj">
	<Platforms>
		<Platform
			Name="Win32"/>
	</Platforms>
	<Configurations>
		<Configuration
			Name="Debug|Win32"
			OutputDirectory="Debug"
			IntermediateDirectory="Debug"
			ConfigurationType="1"
			CharacterSet="2">
			<Tool
				Name="VCCLCompilerTool"
				Optimization="0"
				InlineFunctionExpansion="0"
				OptimizeForWindowsApplication="TRUE"
				AdditionalIncludeDirectories=".."
				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;PDC_STATIC_BUILD"
				StringPooling="TRUE"
				MinimalRebuild="TRUE"
				BasicRuntimeChecks="3"
				SmallerTypeCheck="TRUE"
				RuntimeLibrary="5"
				BufferSecurityCheck="TRUE"
				EnableFunctionLevelLinking="TRUE"
				DisableLanguageExtensions="FALSE"
				ForceConformanceInForLoopScope="TRUE"
				UsePrecompiledHeader="0"
				BrowseInformation="1"
				WarningLevel="4"
				Detect64BitPortabilityProblems="TRUE"
				DebugInformationFormat="4"
				CompileAs="1"
				DisableSpecificWarnings="4033;4716;4013;4131;4244;4201"/>
			<Tool
				Name="VCCustomBuildTool"/>
			<Tool
				Name="VCLinkerTool"
				AdditionalDependencies="Ws2_32.lib pdcurses.lib"
				OutputFile="$(OutDir)/xrogue.exe"
				LinkIncremental="2"
				SuppressStartupBanner="TRUE"
				AdditionalLibraryDirectories=".."
				IgnoreAllDefaultLibraries="FALSE"
				IgnoreDefaultLibraryNames="LIBC.LIB"
				GenerateDebugInformation="TRUE"
				ProgramDatabaseFile="$(OutDir)/xrogue.pdb"
				SubSystem="1"
				TargetMachine="1"/>
			<Tool
				Name="VCMIDLTool"/>
			<Tool
				Name="VCPostBuildEventTool"/>
			<Tool
				Name="VCPreBuildEventTool"/>
			<Tool
				Name="VCPreLinkEventTool"/>
			<Tool
				Name="VCResourceCompilerTool"/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"/>
			<Tool
				Name="VCWebDeploymentTool"/>
		</Configuration>
		<Configuration
			Name="Release|Win32"
			OutputDirectory="Release"
			IntermediateDirectory="Release"
			ConfigurationType="1"
			CharacterSet="2">
			<Tool
				Name="VCCLCompilerTool"
				Optimization="2"
				InlineFunctionExpansion="1"
				OmitFramePointers="TRUE"
				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
				StringPooling="TRUE"
				RuntimeLibrary="4"
				EnableFunctionLevelLinking="TRUE"
				UsePrecompiledHeader="3"
				WarningLevel="3"
				Detect64BitPortabilityProblems="TRUE"
				DebugInformationFormat="3"/>
			<Tool
				Name="VCCustomBuildTool"/>
			<Tool
				Name="VCLinkerTool"
				OutputFile="$(OutDir)/xrogue.exe"
				LinkIncremental="1"
				GenerateDebugInformation="TRUE"
				SubSystem="2"
				OptimizeReferences="2"
				EnableCOMDATFolding="2"
				TargetMachine="1"/>
			<Tool
				Name="VCMIDLTool"/>
			<Tool
				Name="VCPostBuildEventTool"/>
			<Tool
				Name="VCPreBuildEventTool"/>
			<Tool
				Name="VCPreLinkEventTool"/>
			<Tool
				Name="VCResourceCompilerTool"/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"/>
			<Tool
				Name="VCWebDeploymentTool"/>
		</Configuration>
	</Configurations>
	<Files>
		<Filter
			Name="Source Files"
			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
			<File
				RelativePath="actions.c">
			</File>
			<File
				RelativePath="bolt.c">
			</File>
			<File
				RelativePath="chase.c">
			</File>
			<File
				RelativePath="command.c">
			</File>
			<File
				RelativePath="daemon.c">
			</File>
			<File
				RelativePath="daemons.c">
			</File>
			<File
				RelativePath="eat.c">
			</File>
			<File
				RelativePath="effects.c">
			</File>
			<File
				RelativePath="encumb.c">
			</File>
			<File
				RelativePath="fight.c">
			</File>
			<File
				RelativePath="help.c">
			</File>
			<File
				RelativePath="init.c">
			</File>
			<File
				RelativePath="io.c">
			</File>
			<File
				RelativePath="list.c">
			</File>
			<File
				RelativePath="main.c">
			</File>
			<File
				RelativePath="maze.c">
			</File>
			<File
				RelativePath="misc.c">
			</File>
			<File
				RelativePath="mons_def.c">
			</File>
			<File
				RelativePath="monsters.c">
			</File>
			<File
				RelativePath="move.c">
			</File>
			<File
				RelativePath="n_level.c">
			</File>
			<File
				RelativePath="options.c">
			</File>
			<File
				RelativePath="outside.c">
			</File>
			<File
				RelativePath="pack.c">
			</File>
			<File
				RelativePath="passages.c">
			</File>
			<File
				RelativePath="player.c">
			</File>
			<File
				RelativePath="potions.c">
			</File>
			<File
				RelativePath="rings.c">
			</File>
			<File
				RelativePath="rip.c">
			</File>
			<File
				RelativePath="rogue.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="trader.c">
			</File>
			<File
				RelativePath="util.c">
			</File>
			<File
				RelativePath="vers.c">
			</File>
			<File
				RelativePath="weapons.c">
			</File>
			<File
				RelativePath="wear.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="mach_dep.h">
			</File>
			<File
				RelativePath="network.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="LICENSE.TXT">
		</File>
		<File
			RelativePath="Makefile">
		</File>
	</Files>
	<Globals>
	</Globals>
</VisualStudioProject>