Mercurial > hg > early-roguelike
changeset 209:4438569c1b02
Merge the MSVC branch.
author | John "Elwin" Edwards |
---|---|
date | Fri, 27 Nov 2015 08:59:24 -0500 |
parents | 4146e2a06bc1 (diff) ca876944b196 (current diff) |
children | c4f2e1bda8b0 |
files | |
diffstat | 69 files changed, 2554 insertions(+), 2236 deletions(-) [+] |
line wrap: on
line diff
--- a/README.txt Sat Aug 22 10:55:53 2015 -0400 +++ b/README.txt Fri Nov 27 08:59:24 2015 -0500 @@ -26,8 +26,12 @@ To install on Windows: -Use the included Visual Studio solution files. Warning: they have not been -tested recently. +Visual Studio solution and project files are included. They are still being +tested but should work with Visual Studio 2015 on Windows 8.1. + +You will need pdcurses before you can build. Create a folder called 'pdcurses' +in this folder and copy into it curses.h, term.h, and pdcurses.lib from the +pdcurses distribution. You can also build on Windows using MinGW. Make sure pdcurses is installed. You will have to go into the '/lib' folder and copy 'libpdcurses.a' to @@ -37,8 +41,8 @@ It is recommended to run 'configure' with the '--disable-logfile' option, and 'make' with the 'LDFLAGS=-static' option. -The games should all build with MinGW and run, but Super-Rogue has problems -with restoring saved games. +Note that Super-Rogue has problems with restoring saved games on Windows, +whichever build system is used. See the individual games' subdirectories for further documentation. Some of the manpages may be outdated, but the guides to playing should be accurate.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/arogue5/arogue5.vcxproj Fri Nov 27 08:59:24 2015 -0500 @@ -0,0 +1,184 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{F9B8E5FE-F748-453D-8A6B-012D28841D5A}</ProjectGuid> + <RootNamespace>arogue5</RootNamespace> + <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v140</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <PlatformToolset>v140</PlatformToolset> + <WholeProgramOptimization>true</WholeProgramOptimization> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v140</PlatformToolset> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <PlatformToolset>v140</PlatformToolset> + <WholeProgramOptimization>true</WholeProgramOptimization> + <CharacterSet>MultiByte</CharacterSet> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Label="Shared"> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup /> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <WarningLevel>Level3</WarningLevel> + <Optimization>Disabled</Optimization> + <SDLCheck>true</SDLCheck> + <AdditionalIncludeDirectories>..\pdcurses</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue5.scr";SAVEDIR=".";%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ClCompile> + <Link> + <GenerateDebugInformation>true</GenerateDebugInformation> + <AdditionalLibraryDirectories>..\pdcurses</AdditionalLibraryDirectories> + <AdditionalDependencies>pdcurses.lib;%(AdditionalDependencies)</AdditionalDependencies> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <ClCompile> + <WarningLevel>Level3</WarningLevel> + <Optimization>Disabled</Optimization> + <SDLCheck>true</SDLCheck> + <AdditionalIncludeDirectories>..\pdcurses</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue5.scr";SAVEDIR=".";%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ClCompile> + <Link> + <GenerateDebugInformation>true</GenerateDebugInformation> + <AdditionalLibraryDirectories>..\pdcurses</AdditionalLibraryDirectories> + <AdditionalDependencies>pdcurses.lib;%(AdditionalDependencies)</AdditionalDependencies> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <WarningLevel>Level3</WarningLevel> + <Optimization>MaxSpeed</Optimization> + <FunctionLevelLinking>true</FunctionLevelLinking> + <IntrinsicFunctions>true</IntrinsicFunctions> + <SDLCheck>true</SDLCheck> + <AdditionalIncludeDirectories>..\pdcurses</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue5.scr";SAVEDIR=".";%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ClCompile> + <Link> + <GenerateDebugInformation>true</GenerateDebugInformation> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <OptimizeReferences>true</OptimizeReferences> + <AdditionalLibraryDirectories>..\pdcurses</AdditionalLibraryDirectories> + <AdditionalDependencies>pdcurses.lib;%(AdditionalDependencies)</AdditionalDependencies> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <ClCompile> + <WarningLevel>Level3</WarningLevel> + <Optimization>MaxSpeed</Optimization> + <FunctionLevelLinking>true</FunctionLevelLinking> + <IntrinsicFunctions>true</IntrinsicFunctions> + <SDLCheck>true</SDLCheck> + <AdditionalIncludeDirectories>..\pdcurses</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue5.scr";SAVEDIR=".";%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ClCompile> + <Link> + <GenerateDebugInformation>true</GenerateDebugInformation> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <OptimizeReferences>true</OptimizeReferences> + <AdditionalLibraryDirectories>..\pdcurses</AdditionalLibraryDirectories> + <AdditionalDependencies>pdcurses.lib;%(AdditionalDependencies)</AdditionalDependencies> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="chase.c" /> + <ClCompile Include="command.c" /> + <ClCompile Include="daemon.c" /> + <ClCompile Include="daemons.c" /> + <ClCompile Include="encumb.c" /> + <ClCompile Include="fight.c" /> + <ClCompile Include="init.c" /> + <ClCompile Include="io.c" /> + <ClCompile Include="list.c" /> + <ClCompile Include="main.c" /> + <ClCompile Include="maze.c" /> + <ClCompile Include="mdport.c" /> + <ClCompile Include="misc.c" /> + <ClCompile Include="monsters.c" /> + <ClCompile Include="move.c" /> + <ClCompile Include="new_level.c" /> + <ClCompile Include="options.c" /> + <ClCompile Include="outside.c" /> + <ClCompile Include="pack.c" /> + <ClCompile Include="passages.c" /> + <ClCompile Include="player.c" /> + <ClCompile Include="potions.c" /> + <ClCompile Include="rings.c" /> + <ClCompile Include="rip.c" /> + <ClCompile Include="rogue.c" /> + <ClCompile Include="rooms.c" /> + <ClCompile Include="save.c" /> + <ClCompile Include="scrolls.c" /> + <ClCompile Include="state.c" /> + <ClCompile Include="sticks.c" /> + <ClCompile Include="things.c" /> + <ClCompile Include="trader.c" /> + <ClCompile Include="util.c" /> + <ClCompile Include="vers.c" /> + <ClCompile Include="weapons.c" /> + <ClCompile Include="wear.c" /> + <ClCompile Include="wizard.c" /> + <ClCompile Include="xcrypt.c" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="mach_dep.h" /> + <ClInclude Include="network.h" /> + <ClInclude Include="rogue.h" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/arogue5/arogue5.vcxproj.filters Fri Nov 27 08:59:24 2015 -0500 @@ -0,0 +1,144 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="Source Files"> + <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> + <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> + </Filter> + <Filter Include="Header Files"> + <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> + <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions> + </Filter> + <Filter Include="Resource Files"> + <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> + <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="chase.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="command.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="daemon.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="daemons.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="encumb.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="fight.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="init.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="io.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="list.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="main.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="maze.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="mdport.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="misc.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="monsters.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="move.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="new_level.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="options.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="outside.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="pack.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="passages.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="player.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="potions.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="rings.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="rip.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="rogue.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="rooms.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="save.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="scrolls.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="state.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="sticks.c">