shithub: choc

Download patch

ref: fe5645bbf441fa3fdc1ba72cc0152465b5411d5a
parent: 0224c0494f1ffa66607eb8817e6e60e9769c1dcb
author: Russell Rice <rtc_marine@hotmail.com>
date: Fri Jan 25 18:05:53 EST 2008

Change filenames to be name independant
Update the project files and main workspace

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1031

--- a/codeblocks/chocolate-doom-res.rc
+++ /dev/null
@@ -1,20 +1,0 @@
-1 ICON "..\\data\\doom.ico"
-
-1 VERSIONINFO
-FILETYPE 1
-{
- BLOCK "StringFileInfo"
- {
-  BLOCK "040904E4"
-  {
-   VALUE "FileVersion", ""
-   VALUE "FileDescription", ""
-   VALUE "InternalName", "Chocolate-Doom"
-   VALUE "CompanyName", "Chocolate-Doom"
-   VALUE "LegalCopyright", "GNU General Public License"
-   VALUE "ProductName", "Chocolate-Doom"
-   VALUE "ProductVersion", ""
-  }
- }
-}
-
--- a/codeblocks/chocolate-doom.cbp
+++ /dev/null
@@ -1,429 +1,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<CodeBlocks_project_file>
-	<FileVersion major="1" minor="6" />
-	<Project>
-		<Option title="chocolate-doom" />
-		<Option pch_mode="2" />
-		<Option compiler="gcc" />
-		<Build>
-			<Target title="Debug">
-				<Option output="..\bin\chocolate-doom-dbg.exe" prefix_auto="0" extension_auto="0" />
-				<Option working_dir="..\bin" />
-				<Option object_output="..\obj\dbg" />
-				<Option type="0" />
-				<Option compiler="gcc" />
-				<Option parameters="-iwad d:\russell\games\doom2\iwad\doom2.wad" />
-				<Compiler>
-					<Add option="-W" />
-					<Add option="-g" />
-				</Compiler>
-			</Target>
-			<Target title="Release">
-				<Option output="..\bin\chocolate-doom.exe" prefix_auto="0" extension_auto="0" />
-				<Option working_dir="..\bin" />
-				<Option object_output="..\obj\rel" />
-				<Option type="0" />
-				<Option compiler="gcc" />
-				<Compiler>
-					<Add option="-O2" />
-				</Compiler>
-				<Linker>
-					<Add option="-s" />
-				</Linker>
-			</Target>
-		</Build>
-		<VirtualTargets>
-			<Add alias="All" targets="Debug;Release;" />
-		</VirtualTargets>
-		<Compiler>
-			<Add directory="." />
-			<Add directory="..\src" />
-			<Add directory="..\textscreen" />
-			<Add directory="..\pcsound" />
-		</Compiler>
-		<Linker>
-			<Add option="-lpcsound -ltextscreen -lmingw32 -lSDLmain -lSDL -lSDL_mixer -lSDL_net -mwindows" />
-			<Add directory="..\lib" />
-		</Linker>
-		<Unit filename="chocolate-doom-res.rc">
-			<Option compilerVar="WINDRES" />
-		</Unit>
-		<Unit filename="config.h" />
-		<Unit filename="..\src\am_map.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\am_map.h" />
-		<Unit filename="..\src\chocolate_doom_icon.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\d_englsh.h" />
-		<Unit filename="..\src\d_event.h" />
-		<Unit filename="..\src\d_items.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\d_items.h" />
-		<Unit filename="..\src\d_iwad.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\d_iwad.h" />
-		<Unit filename="..\src\d_main.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\d_main.h" />
-		<Unit filename="..\src\d_net.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\d_net.h" />
-		<Unit filename="..\src\d_player.h" />
-		<Unit filename="..\src\d_textur.h" />
-		<Unit filename="..\src\d_think.h" />
-		<Unit filename="..\src\d_ticcmd.h" />
-		<Unit filename="..\src\deh_ammo.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\deh_cheat.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\deh_defs.h" />
-		<Unit filename="..\src\deh_frame.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\deh_io.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\deh_io.h" />
-		<Unit filename="..\src\deh_main.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\deh_main.h" />
-		<Unit filename="..\src\deh_mapping.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\deh_mapping.h" />
-		<Unit filename="..\src\deh_misc.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\deh_misc.h" />
-		<Unit filename="..\src\deh_ptr.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\deh_sound.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\deh_text.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\deh_thing.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\deh_weapon.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\doomdata.h" />
-		<Unit filename="..\src\doomdef.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\doomdef.h" />
-		<Unit filename="..\src\doomfeatures.h" />
-		<Unit filename="..\src\doomkeys.h" />
-		<Unit filename="..\src\doomstat.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\doomstat.h" />
-		<Unit filename="..\src\doomtype.h" />
-		<Unit filename="..\src\dstrings.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\dstrings.h" />
-		<Unit filename="..\src\f_finale.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\f_finale.h" />
-		<Unit filename="..\src\f_wipe.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\f_wipe.h" />
-		<Unit filename="..\src\g_game.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\g_game.h" />
-		<Unit filename="..\src\hu_lib.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\hu_lib.h" />
-		<Unit filename="..\src\hu_stuff.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\hu_stuff.h" />
-		<Unit filename="..\src\i_joystick.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\i_joystick.h" />
-		<Unit filename="..\src\i_main.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\i_pcsound.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\i_scale.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\i_scale.h" />
-		<Unit filename="..\src\i_sdlmusic.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\i_sdlsound.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\i_swap.h" />
-		<Unit filename="..\src\i_system.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\i_system.h" />
-		<Unit filename="..\src\i_timer.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\i_timer.h" />
-		<Unit filename="..\src\i_video.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\i_video.h" />
-		<Unit filename="..\src\info.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\info.h" />
-		<Unit filename="..\src\m_argv.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\m_argv.h" />
-		<Unit filename="..\src\m_bbox.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\m_bbox.h" />
-		<Unit filename="..\src\m_cheat.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\m_cheat.h" />
-		<Unit filename="..\src\m_fixed.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\m_fixed.h" />
-		<Unit filename="..\src\m_menu.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\m_menu.h" />
-		<Unit filename="..\src\m_misc.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\m_misc.h" />
-		<Unit filename="..\src\m_random.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\m_random.h" />
-		<Unit filename="..\src\md5.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\md5.h" />
-		<Unit filename="..\src\memio.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\memio.h" />
-		<Unit filename="..\src\mus2mid.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\mus2mid.h" />
-		<Unit filename="..\src\net_client.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_client.h" />
-		<Unit filename="..\src\net_common.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_common.h" />
-		<Unit filename="..\src\net_dedicated.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_dedicated.h" />
-		<Unit filename="..\src\net_defs.h" />
-		<Unit filename="..\src\net_gui.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_gui.h" />
-		<Unit filename="..\src\net_io.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_io.h" />
-		<Unit filename="..\src\net_loop.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_loop.h" />
-		<Unit filename="..\src\net_packet.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_packet.h" />
-		<Unit filename="..\src\net_query.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_query.h" />
-		<Unit filename="..\src\net_sdl.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_sdl.h" />
-		<Unit filename="..\src\net_server.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_server.h" />
-		<Unit filename="..\src\net_structrw.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_structrw.h" />
-		<Unit filename="..\src\p_ceilng.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_doors.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_enemy.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_floor.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_inter.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_inter.h" />
-		<Unit filename="..\src\p_lights.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_local.h" />
-		<Unit filename="..\src\p_map.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_maputl.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_mobj.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_mobj.h" />
-		<Unit filename="..\src\p_plats.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_pspr.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_pspr.h" />
-		<Unit filename="..\src\p_saveg.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_saveg.h" />
-		<Unit filename="..\src\p_setup.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_setup.h" />
-		<Unit filename="..\src\p_sight.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_spec.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_spec.h" />
-		<Unit filename="..\src\p_switch.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_telept.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_tick.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\p_tick.h" />
-		<Unit filename="..\src\p_user.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\r_bsp.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\r_bsp.h" />
-		<Unit filename="..\src\r_data.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\r_data.h" />
-		<Unit filename="..\src\r_defs.h" />
-		<Unit filename="..\src\r_draw.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\r_draw.h" />
-		<Unit filename="..\src\r_local.h" />
-		<Unit filename="..\src\r_main.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\r_main.h" />
-		<Unit filename="..\src\r_plane.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\r_plane.h" />
-		<Unit filename="..\src\r_segs.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\r_segs.h" />
-		<Unit filename="..\src\r_sky.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\r_sky.h" />
-		<Unit filename="..\src\r_state.h" />
-		<Unit filename="..\src\r_things.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\r_things.h" />
-		<Unit filename="..\src\s_sound.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\s_sound.h" />
-		<Unit filename="..\src\sounds.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\sounds.h" />
-		<Unit filename="..\src\st_lib.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\st_lib.h" />
-		<Unit filename="..\src\st_stuff.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\st_stuff.h" />
-		<Unit filename="..\src\tables.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\tables.h" />
-		<Unit filename="..\src\v_video.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\v_video.h" />
-		<Unit filename="..\src\w_checksum.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\w_checksum.h" />
-		<Unit filename="..\src\w_merge.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\w_merge.h" />
-		<Unit filename="..\src\w_wad.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\w_wad.h" />
-		<Unit filename="..\src\wi_stuff.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\wi_stuff.h" />
-		<Unit filename="..\src\z_zone.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\z_zone.h" />
-		<Extensions>
-			<code_completion />
-			<envvars />
-		</Extensions>
-	</Project>
-</CodeBlocks_project_file>
--- a/codeblocks/chocolate-doom.workspace
+++ /dev/null
@@ -1,15 +1,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<CodeBlocks_workspace_file>
-	<Workspace title="chocolate-doom">
-		<Project filename="chocolate-doom.cbp" active="1">
-			<Depends filename="textscreen.cbp" />
-			<Depends filename="libpcsound.cbp" />
-		</Project>
-		<Project filename="chocolate-server.cbp" />
-		<Project filename="chocolate-setup.cbp">
-			<Depends filename="textscreen.cbp" />
-		</Project>
-		<Project filename="textscreen.cbp" />
-		<Project filename="libpcsound.cbp" />
-	</Workspace>
-</CodeBlocks_workspace_file>
--- a/codeblocks/chocolate-server.cbp
+++ /dev/null
@@ -1,96 +1,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<CodeBlocks_project_file>
-	<FileVersion major="1" minor="6" />
-	<Project>
-		<Option title="chocolate-server" />
-		<Option pch_mode="2" />
-		<Option compiler="gcc" />
-		<Build>
-			<Target title="Debug">
-				<Option output="..\bin\chocolate-server-dbg.exe" prefix_auto="0" extension_auto="0" />
-				<Option working_dir="..\bin" />
-				<Option object_output="..\obj\dbg" />
-				<Option type="0" />
-				<Option compiler="gcc" />
-				<Compiler>
-					<Add option="-W" />
-					<Add option="-g" />
-				</Compiler>
-			</Target>
-			<Target title="Release">
-				<Option output="..\bin\chocolate-server.exe" prefix_auto="0" extension_auto="0" />
-				<Option working_dir="..\bin" />
-				<Option object_output="..\obj\rel" />
-				<Option type="0" />
-				<Option compiler="gcc" />
-				<Compiler>
-					<Add option="-O2" />
-				</Compiler>
-				<Linker>
-					<Add option="-s" />
-				</Linker>
-			</Target>
-		</Build>
-		<VirtualTargets>
-			<Add alias="All" targets="Debug;Release;" />
-		</VirtualTargets>
-		<Compiler>
-			<Add directory="." />
-			<Add directory="..\textscreen" />
-		</Compiler>
-		<Linker>
-			<Add option="-lmingw32 -lSDLmain -lSDL -lSDL_net -mwindows" />
-		</Linker>
-		<Unit filename="..\src\d_dedicated.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\i_main.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\i_timer.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\i_timer.h" />
-		<Unit filename="..\src\m_argv.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\m_argv.h" />
-		<Unit filename="..\src\net_common.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_common.h" />
-		<Unit filename="..\src\net_dedicated.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_dedicated.h" />
-		<Unit filename="..\src\net_io.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_io.h" />
-		<Unit filename="..\src\net_packet.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_packet.h" />
-		<Unit filename="..\src\net_sdl.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_sdl.h" />
-		<Unit filename="..\src\net_server.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_server.h" />
-		<Unit filename="..\src\net_structrw.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\net_structrw.h" />
-		<Unit filename="..\src\z_native.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\src\z_zone.h" />
-		<Extensions>
-			<code_completion />
-			<envvars />
-			<debugger />
-		</Extensions>
-	</Project>
-</CodeBlocks_project_file>
--- a/codeblocks/chocolate-setup-res.rc
+++ /dev/null
@@ -1,20 +1,0 @@
-1 ICON "..\\data\\setup.ico"
-
-1 VERSIONINFO
-FILETYPE 1
-{
- BLOCK "StringFileInfo"
- {
-  BLOCK "040904E4"
-  {
-   VALUE "FileVersion", ""
-   VALUE "FileDescription", ""
-   VALUE "InternalName", "Chocolate-Setup"
-   VALUE "CompanyName", "Chocolate-Setup"
-   VALUE "LegalCopyright", "GNU General Public License"
-   VALUE "ProductName", "Chocolate-Setup"
-   VALUE "ProductVersion", ""
-  }
- }
-}
-
--- a/codeblocks/chocolate-setup.cbp
+++ /dev/null
@@ -1,111 +1,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<CodeBlocks_project_file>
-	<FileVersion major="1" minor="6" />
-	<Project>
-		<Option title="chocolate-setup" />
-		<Option pch_mode="2" />
-		<Option compiler="gcc" />
-		<Build>
-			<Target title="Debug">
-				<Option output="..\bin\chocolate-setup-dbg.exe" prefix_auto="0" extension_auto="0" />
-				<Option working_dir="..\bin" />
-				<Option object_output="..\obj\dbg\" />
-				<Option type="0" />
-				<Option compiler="gcc" />
-				<Compiler>
-					<Add option="-W" />
-					<Add option="-g" />
-				</Compiler>
-			</Target>
-			<Target title="Release">
-				<Option output="..\bin\chocolate-setup.exe" prefix_auto="0" extension_auto="0" />
-				<Option working_dir="..\bin" />
-				<Option object_output="..\obj\rel\" />
-				<Option type="0" />
-				<Option compiler="gcc" />
-				<Compiler>
-					<Add option="-O2" />
-				</Compiler>
-				<Linker>
-					<Add option="-s" />
-				</Linker>
-			</Target>
-		</Build>
-		<VirtualTargets>
-			<Add alias="All" targets="Debug;Release;" />
-		</VirtualTargets>
-		<Compiler>
-			<Add option="-Wall" />
-			<Add option="-D_WIN32" />
-			<Add directory="." />
-			<Add directory="..\src" />
-			<Add directory="..\textscreen" />
-		</Compiler>
-		<Linker>
-			<Add option="-ltextscreen -lmingw32 -lSDLmain -lSDL -mwindows" />
-			<Add directory="..\lib" />
-		</Linker>
-		<Unit filename="chocolate-setup-res.rc">
-			<Option compilerVar="WINDRES" />
-		</Unit>
-		<Unit filename="..\setup\compatibility.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\setup\compatibility.h" />
-		<Unit filename="..\setup\configfile.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\setup\configfile.h" />
-		<Unit filename="..\setup\display.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\setup\display.h" />
-		<Unit filename="..\setup\execute.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\setup\execute.h" />
-		<Unit filename="..\setup\joystick.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\setup\joystick.h" />
-		<Unit filename="..\setup\keyboard.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\setup\keyboard.h" />
-		<Unit filename="..\setup\m_argv.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\setup\m_argv.h" />
-		<Unit filename="..\setup\mainmenu.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\setup\mouse.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\setup\mouse.h" />
-		<Unit filename="..\setup\multiplayer.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\setup\multiplayer.h" />
-		<Unit filename="..\setup\sound.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\setup\sound.h" />
-		<Unit filename="..\setup\txt_joybinput.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\setup\txt_joybinput.h" />
-		<Unit filename="..\setup\txt_keyinput.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\setup\txt_keyinput.h" />
-		<Unit filename="..\setup\txt_mouseinput.c">
-			<Option compilerVar="CC" />
-		</Unit>
-		<Unit filename="..\setup\txt_mouseinput.h" />
-		<Extensions>
-			<code_completion />
-			<envvars />
-		</Extensions>
-	</Project>
-</CodeBlocks_project_file>
--- /dev/null
+++ b/codeblocks/game-res.rc
@@ -1,0 +1,20 @@
+1 ICON "..\\data\\doom.ico"
+
+1 VERSIONINFO
+FILETYPE 1
+{
+ BLOCK "StringFileInfo"
+ {
+  BLOCK "040904E4"
+  {
+   VALUE "FileVersion", ""
+   VALUE "FileDescription", ""
+   VALUE "InternalName", "Chocolate-Doom"
+   VALUE "CompanyName", "Chocolate-Doom"
+   VALUE "LegalCopyright", "GNU General Public License"
+   VALUE "ProductName", "Chocolate-Doom"
+   VALUE "ProductVersion", ""
+  }
+ }
+}
+
--- /dev/null
+++ b/codeblocks/game.cbp
@@ -1,0 +1,427 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+	<FileVersion major="1" minor="6" />
+	<Project>
+		<Option title="chocolate-doom" />
+		<Option pch_mode="2" />
+		<Option compiler="gcc" />
+		<Build>
+			<Target title="Debug">
+				<Option output="..\bin\chocolate-doom-dbg.exe" prefix_auto="0" extension_auto="0" />
+				<Option working_dir="..\bin" />
+				<Option object_output="..\obj\dbg" />
+				<Option type="0" />
+				<Option compiler="gcc" />
+				<Option parameters="-iwad d:\russell\games\doom2\iwad\doom2.wad" />
+				<Compiler>
+					<Add option="-W" />
+					<Add option="-g" />
+				</Compiler>
+			</Target>
+			<Target title="Release">
+				<Option output="..\bin\chocolate-doom.exe" prefix_auto="0" extension_auto="0" />
+				<Option working_dir="..\bin" />
+				<Option object_output="..\obj\rel" />
+				<Option type="0" />
+				<Option compiler="gcc" />
+				<Compiler>
+					<Add option="-O2" />
+				</Compiler>
+				<Linker>
+					<Add option="-s" />
+				</Linker>
+			</Target>
+		</Build>
+		<VirtualTargets>
+			<Add alias="All" targets="Debug;Release;" />
+		</VirtualTargets>
+		<Compiler>
+			<Add directory="." />
+			<Add directory="..\src" />
+			<Add directory="..\textscreen" />
+			<Add directory="..\pcsound" />
+		</Compiler>
+		<Linker>
+			<Add option="-lpcsound -ltextscreen -lmingw32 -lSDLmain -lSDL -lSDL_mixer -lSDL_net -mwindows" />
+			<Add directory="..\lib" />
+		</Linker>
+		<Unit filename="config.h" />
+		<Unit filename="game-res.rc">
+			<Option compilerVar="WINDRES" />
+		</Unit>
+		<Unit filename="..\src\am_map.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\am_map.h" />
+		<Unit filename="..\src\d_englsh.h" />
+		<Unit filename="..\src\d_event.h" />
+		<Unit filename="..\src\d_items.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\d_items.h" />
+		<Unit filename="..\src\d_iwad.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\d_iwad.h" />
+		<Unit filename="..\src\d_main.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\d_main.h" />
+		<Unit filename="..\src\d_net.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\d_net.h" />
+		<Unit filename="..\src\d_player.h" />
+		<Unit filename="..\src\d_textur.h" />
+		<Unit filename="..\src\d_think.h" />
+		<Unit filename="..\src\d_ticcmd.h" />
+		<Unit filename="..\src\deh_ammo.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\deh_cheat.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\deh_defs.h" />
+		<Unit filename="..\src\deh_frame.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\deh_io.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\deh_io.h" />
+		<Unit filename="..\src\deh_main.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\deh_main.h" />
+		<Unit filename="..\src\deh_mapping.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\deh_mapping.h" />
+		<Unit filename="..\src\deh_misc.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\deh_misc.h" />
+		<Unit filename="..\src\deh_ptr.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\deh_sound.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\deh_text.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\deh_thing.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\deh_weapon.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\doomdata.h" />
+		<Unit filename="..\src\doomdef.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\doomdef.h" />
+		<Unit filename="..\src\doomfeatures.h" />
+		<Unit filename="..\src\doomkeys.h" />
+		<Unit filename="..\src\doomstat.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\doomstat.h" />
+		<Unit filename="..\src\doomtype.h" />
+		<Unit filename="..\src\dstrings.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\dstrings.h" />
+		<Unit filename="..\src\f_finale.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\f_finale.h" />
+		<Unit filename="..\src\f_wipe.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\f_wipe.h" />
+		<Unit filename="..\src\g_game.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\g_game.h" />
+		<Unit filename="..\src\hu_lib.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\hu_lib.h" />
+		<Unit filename="..\src\hu_stuff.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\hu_stuff.h" />
+		<Unit filename="..\src\i_joystick.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\i_joystick.h" />
+		<Unit filename="..\src\i_main.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\i_pcsound.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\i_scale.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\i_scale.h" />
+		<Unit filename="..\src\i_sdlmusic.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\i_sdlsound.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\i_swap.h" />
+		<Unit filename="..\src\i_system.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\i_system.h" />
+		<Unit filename="..\src\i_timer.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\i_timer.h" />
+		<Unit filename="..\src\i_video.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\i_video.h" />
+		<Unit filename="..\src\info.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\info.h" />
+		<Unit filename="..\src\m_argv.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\m_argv.h" />
+		<Unit filename="..\src\m_bbox.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\m_bbox.h" />
+		<Unit filename="..\src\m_cheat.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\m_cheat.h" />
+		<Unit filename="..\src\m_fixed.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\m_fixed.h" />
+		<Unit filename="..\src\m_menu.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\m_menu.h" />
+		<Unit filename="..\src\m_misc.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\m_misc.h" />
+		<Unit filename="..\src\m_random.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\m_random.h" />
+		<Unit filename="..\src\md5.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\md5.h" />
+		<Unit filename="..\src\memio.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\memio.h" />
+		<Unit filename="..\src\mus2mid.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\mus2mid.h" />
+		<Unit filename="..\src\net_client.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_client.h" />
+		<Unit filename="..\src\net_common.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_common.h" />
+		<Unit filename="..\src\net_dedicated.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_dedicated.h" />
+		<Unit filename="..\src\net_defs.h" />
+		<Unit filename="..\src\net_gui.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_gui.h" />
+		<Unit filename="..\src\net_io.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_io.h" />
+		<Unit filename="..\src\net_loop.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_loop.h" />
+		<Unit filename="..\src\net_packet.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_packet.h" />
+		<Unit filename="..\src\net_query.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_query.h" />
+		<Unit filename="..\src\net_sdl.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_sdl.h" />
+		<Unit filename="..\src\net_server.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_server.h" />
+		<Unit filename="..\src\net_structrw.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_structrw.h" />
+		<Unit filename="..\src\p_ceilng.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_doors.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_enemy.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_floor.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_inter.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_inter.h" />
+		<Unit filename="..\src\p_lights.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_local.h" />
+		<Unit filename="..\src\p_map.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_maputl.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_mobj.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_mobj.h" />
+		<Unit filename="..\src\p_plats.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_pspr.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_pspr.h" />
+		<Unit filename="..\src\p_saveg.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_saveg.h" />
+		<Unit filename="..\src\p_setup.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_setup.h" />
+		<Unit filename="..\src\p_sight.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_spec.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_spec.h" />
+		<Unit filename="..\src\p_switch.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_telept.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_tick.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\p_tick.h" />
+		<Unit filename="..\src\p_user.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\r_bsp.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\r_bsp.h" />
+		<Unit filename="..\src\r_data.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\r_data.h" />
+		<Unit filename="..\src\r_defs.h" />
+		<Unit filename="..\src\r_draw.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\r_draw.h" />
+		<Unit filename="..\src\r_local.h" />
+		<Unit filename="..\src\r_main.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\r_main.h" />
+		<Unit filename="..\src\r_plane.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\r_plane.h" />
+		<Unit filename="..\src\r_segs.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\r_segs.h" />
+		<Unit filename="..\src\r_sky.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\r_sky.h" />
+		<Unit filename="..\src\r_state.h" />
+		<Unit filename="..\src\r_things.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\r_things.h" />
+		<Unit filename="..\src\s_sound.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\s_sound.h" />
+		<Unit filename="..\src\sounds.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\sounds.h" />
+		<Unit filename="..\src\st_lib.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\st_lib.h" />
+		<Unit filename="..\src\st_stuff.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\st_stuff.h" />
+		<Unit filename="..\src\tables.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\tables.h" />
+		<Unit filename="..\src\v_video.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\v_video.h" />
+		<Unit filename="..\src\w_checksum.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\w_checksum.h" />
+		<Unit filename="..\src\w_merge.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\w_merge.h" />
+		<Unit filename="..\src\w_wad.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\w_wad.h" />
+		<Unit filename="..\src\wi_stuff.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\wi_stuff.h" />
+		<Unit filename="..\src\z_zone.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\z_zone.h" />
+		<Extensions>
+			<code_completion />
+			<envvars />
+			<debugger />
+		</Extensions>
+	</Project>
+</CodeBlocks_project_file>
--- /dev/null
+++ b/codeblocks/main.workspace
@@ -1,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_workspace_file>
+	<Workspace title="chocolate-doom">
+		<Project filename="game.cbp" active="1">
+			<Depends filename="textscreen.cbp" />
+			<Depends filename="libpcsound.cbp" />
+		</Project>
+		<Project filename="server.cbp" />
+		<Project filename="setup.cbp">
+			<Depends filename="textscreen.cbp" />
+		</Project>
+		<Project filename="textscreen.cbp" />
+		<Project filename="libpcsound.cbp" />
+	</Workspace>
+</CodeBlocks_workspace_file>
--- /dev/null
+++ b/codeblocks/server.cbp
@@ -1,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+	<FileVersion major="1" minor="6" />
+	<Project>
+		<Option title="chocolate-server" />
+		<Option pch_mode="2" />
+		<Option compiler="gcc" />
+		<Build>
+			<Target title="Debug">
+				<Option output="..\bin\chocolate-server-dbg.exe" prefix_auto="0" extension_auto="0" />
+				<Option working_dir="..\bin" />
+				<Option object_output="..\obj\dbg" />
+				<Option type="0" />
+				<Option compiler="gcc" />
+				<Compiler>
+					<Add option="-W" />
+					<Add option="-g" />
+				</Compiler>
+			</Target>
+			<Target title="Release">
+				<Option output="..\bin\chocolate-server.exe" prefix_auto="0" extension_auto="0" />
+				<Option working_dir="..\bin" />
+				<Option object_output="..\obj\rel" />
+				<Option type="0" />
+				<Option compiler="gcc" />
+				<Compiler>
+					<Add option="-O2" />
+				</Compiler>
+				<Linker>
+					<Add option="-s" />
+				</Linker>
+			</Target>
+		</Build>
+		<VirtualTargets>
+			<Add alias="All" targets="Debug;Release;" />
+		</VirtualTargets>
+		<Compiler>
+			<Add directory="." />
+			<Add directory="..\textscreen" />
+		</Compiler>
+		<Linker>
+			<Add option="-lmingw32 -lSDLmain -lSDL -lSDL_net -mwindows" />
+		</Linker>
+		<Unit filename="..\src\d_dedicated.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\i_main.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\i_timer.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\i_timer.h" />
+		<Unit filename="..\src\m_argv.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\m_argv.h" />
+		<Unit filename="..\src\net_common.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_common.h" />
+		<Unit filename="..\src\net_dedicated.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_dedicated.h" />
+		<Unit filename="..\src\net_io.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_io.h" />
+		<Unit filename="..\src\net_packet.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_packet.h" />
+		<Unit filename="..\src\net_sdl.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_sdl.h" />
+		<Unit filename="..\src\net_server.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_server.h" />
+		<Unit filename="..\src\net_structrw.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\net_structrw.h" />
+		<Unit filename="..\src\z_native.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\z_zone.h" />
+		<Extensions>
+			<code_completion />
+			<envvars />
+			<debugger />
+		</Extensions>
+	</Project>
+</CodeBlocks_project_file>
--- /dev/null
+++ b/codeblocks/setup-res.rc
@@ -1,0 +1,20 @@
+1 ICON "..\\data\\setup.ico"
+
+1 VERSIONINFO
+FILETYPE 1
+{
+ BLOCK "StringFileInfo"
+ {
+  BLOCK "040904E4"
+  {
+   VALUE "FileVersion", ""
+   VALUE "FileDescription", ""
+   VALUE "InternalName", "Chocolate-Setup"
+   VALUE "CompanyName", "Chocolate-Setup"
+   VALUE "LegalCopyright", "GNU General Public License"
+   VALUE "ProductName", "Chocolate-Setup"
+   VALUE "ProductVersion", ""
+  }
+ }
+}
+
--- /dev/null
+++ b/codeblocks/setup.cbp
@@ -1,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+	<FileVersion major="1" minor="6" />
+	<Project>
+		<Option title="chocolate-setup" />
+		<Option pch_mode="2" />
+		<Option compiler="gcc" />
+		<Build>
+			<Target title="Debug">
+				<Option output="..\bin\chocolate-setup-dbg.exe" prefix_auto="0" extension_auto="0" />
+				<Option working_dir="..\bin" />
+				<Option object_output="..\obj\dbg\" />
+				<Option type="0" />
+				<Option compiler="gcc" />
+				<Compiler>
+					<Add option="-W" />
+					<Add option="-g" />
+				</Compiler>
+			</Target>
+			<Target title="Release">
+				<Option output="..\bin\chocolate-setup.exe" prefix_auto="0" extension_auto="0" />
+				<Option working_dir="..\bin" />
+				<Option object_output="..\obj\rel\" />
+				<Option type="0" />
+				<Option compiler="gcc" />
+				<Compiler>
+					<Add option="-O2" />
+				</Compiler>
+				<Linker>
+					<Add option="-s" />
+				</Linker>
+			</Target>
+		</Build>
+		<VirtualTargets>
+			<Add alias="All" targets="Debug;Release;" />
+		</VirtualTargets>
+		<Compiler>
+			<Add option="-Wall" />
+			<Add option="-D_WIN32" />
+			<Add directory="." />
+			<Add directory="..\src" />
+			<Add directory="..\textscreen" />
+		</Compiler>
+		<Linker>
+			<Add option="-ltextscreen -lmingw32 -lSDLmain -lSDL -mwindows" />
+			<Add directory="..\lib" />
+		</Linker>
+		<Unit filename="setup-res.rc">
+			<Option compilerVar="WINDRES" />
+		</Unit>
+		<Unit filename="..\setup\compatibility.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\setup\compatibility.h" />
+		<Unit filename="..\setup\configfile.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\setup\configfile.h" />
+		<Unit filename="..\setup\display.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\setup\display.h" />
+		<Unit filename="..\setup\execute.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\setup\execute.h" />
+		<Unit filename="..\setup\joystick.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\setup\joystick.h" />
+		<Unit filename="..\setup\keyboard.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\setup\keyboard.h" />
+		<Unit filename="..\setup\m_argv.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\setup\m_argv.h" />
+		<Unit filename="..\setup\mainmenu.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\setup\mouse.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\setup\mouse.h" />
+		<Unit filename="..\setup\multiplayer.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\setup\multiplayer.h" />
+		<Unit filename="..\setup\sound.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\setup\sound.h" />
+		<Unit filename="..\setup\txt_joybinput.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\setup\txt_joybinput.h" />
+		<Unit filename="..\setup\txt_keyinput.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\setup\txt_keyinput.h" />
+		<Unit filename="..\setup\txt_mouseinput.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\setup\txt_mouseinput.h" />
+		<Extensions>
+			<code_completion />
+			<envvars />
+			<debugger />
+		</Extensions>
+	</Project>
+</CodeBlocks_project_file>