Mercurial > hg > early-roguelike
view srogue/srogue.vcxproj.filters @ 233:0990adf580ee
Declare some function arguments as const.
Some functions, mostly in fight.c, declared variables as pointers to
const char but passed them to functions that took pointers to ordinary
char. The strings did not actually get modified, so adding 'const' to
the function definitions removed the warnings.
author | John "Elwin" Edwards |
---|---|
date | Sun, 06 Mar 2016 19:32:47 -0500 |
parents | 4146e2a06bc1 |
children |
line wrap: on
line source
<?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="armor.c"> <Filter>Source Files</Filter> </ClCompile> <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="disply.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="global.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="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_leve.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="options.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="potions.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="pstats.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="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"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="things.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="trader.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="vers.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="weapons.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="wizard.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="xcrypt.c"> <Filter>Source Files</Filter> </ClCompile> </ItemGroup> <ItemGroup> <ClInclude Include="rogue.h"> <Filter>Header Files</Filter> </ClInclude> </ItemGroup> <ItemGroup> <None Include="rogue.ext"> <Filter>Header Files</Filter> </None> </ItemGroup> </Project>