shithub: choc

Download patch

ref: 57c924292889e4f49eb972662657084fcf807fdd
parent: fd188e72e960a0f1afb4de8bf38c79a107c162eb
author: Russell Rice <[email protected]>
date: Mon Sep 18 19:34:17 EDT 2006

Code::Blocks projects:
* fixed directory locations
* minor enhancements to project building and locations of object files
* addition of chocolate-server project
* update workspace to accomodate chocolate-server project

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

--- a/codeblocks/chocolate-doom.cbp
+++ b/codeblocks/chocolate-doom.cbp
@@ -9,8 +9,9 @@
 		<Option virtualFolders="" />
 		<Build>
 			<Target title="Debug">
-				<Option output="bin\Debug\chocolate-doom.exe" />
-				<Option object_output="obj\Debug\" />
+				<Option output="..\bin\chocolate-doom-dbg.exe" />
+				<Option working_dir="..\bin" />
+				<Option object_output="..\obj\dbg" />
 				<Option type="1" />
 				<Option compiler="gcc" />
 				<Option use_console_runner="0" />
@@ -20,8 +21,9 @@
 				</Compiler>
 			</Target>
 			<Target title="Release">
-				<Option output="bin\Release\chocolate-doom.exe" />
-				<Option object_output="obj\Release\" />
+				<Option output="..\bin\chocolate-doom.exe" />
+				<Option working_dir="..\bin" />
+				<Option object_output="..\obj\rel" />
 				<Option type="1" />
 				<Option compiler="gcc" />
 				<Option use_console_runner="0" />
@@ -38,9 +40,9 @@
 		</VirtualTargets>
 		<Compiler>
 			<Add option="-DFEATURE_MULTIPLAYER" />
-			<Add directory="textscreen" />
-			<Add directory="msvc" />
-			<Add directory="src" />
+			<Add directory="..\textscreen" />
+			<Add directory="..\msvc" />
+			<Add directory="..\src" />
 		</Compiler>
 		<Linker>
 			<Add option="-lmingw32 -lSDLmain -lSDL -lSDL_mixer -lSDL_net -mwindows" />
@@ -52,12 +54,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\am_map.c">
+		<Unit filename="..\src\am_map.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\am_map.h">
+		<Unit filename="..\src\am_map.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -64,12 +66,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\chocolate_doom_icon.c">
+		<Unit filename="..\src\chocolate_doom_icon.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\d_englsh.h">
+		<Unit filename="..\src\d_englsh.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -76,7 +78,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\d_event.h">
+		<Unit filename="..\src\d_event.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -83,7 +85,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\d_french.h">
+		<Unit filename="..\src\d_french.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -90,12 +92,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\d_items.c">
+		<Unit filename="..\src\d_items.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\d_items.h">
+		<Unit filename="..\src\d_items.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -102,12 +104,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\d_main.c">
+		<Unit filename="..\src\d_main.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\d_main.h">
+		<Unit filename="..\src\d_main.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -114,12 +116,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\d_net.c">
+		<Unit filename="..\src\d_net.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\d_net.h">
+		<Unit filename="..\src\d_net.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -126,7 +128,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\d_player.h">
+		<Unit filename="..\src\d_player.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -133,7 +135,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\d_textur.h">
+		<Unit filename="..\src\d_textur.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -140,7 +142,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\d_think.h">
+		<Unit filename="..\src\d_think.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -147,7 +149,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\d_ticcmd.h">
+		<Unit filename="..\src\d_ticcmd.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -154,17 +156,17 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_ammo.c">
+		<Unit filename="..\src\deh_ammo.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_cheat.c">
+		<Unit filename="..\src\deh_cheat.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_defs.h">
+		<Unit filename="..\src\deh_defs.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -171,17 +173,17 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_frame.c">
+		<Unit filename="..\src\deh_frame.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_io.c">
+		<Unit filename="..\src\deh_io.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_io.h">
+		<Unit filename="..\src\deh_io.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -188,12 +190,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_main.c">
+		<Unit filename="..\src\deh_main.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_main.h">
+		<Unit filename="..\src\deh_main.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -200,12 +202,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_mapping.c">
+		<Unit filename="..\src\deh_mapping.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_mapping.h">
+		<Unit filename="..\src\deh_mapping.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -212,12 +214,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_misc.c">
+		<Unit filename="..\src\deh_misc.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_misc.h">
+		<Unit filename="..\src\deh_misc.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -224,32 +226,32 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_ptr.c">
+		<Unit filename="..\src\deh_ptr.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_sound.c">
+		<Unit filename="..\src\deh_sound.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_text.c">
+		<Unit filename="..\src\deh_text.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_thing.c">
+		<Unit filename="..\src\deh_thing.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\deh_weapon.c">
+		<Unit filename="..\src\deh_weapon.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\doomdata.h">
+		<Unit filename="..\src\doomdata.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -256,12 +258,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\doomdef.c">
+		<Unit filename="..\src\doomdef.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\doomdef.h">
+		<Unit filename="..\src\doomdef.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -268,7 +270,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\doomfeatures.h">
+		<Unit filename="..\src\doomfeatures.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -275,7 +277,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\doomkeys.h">
+		<Unit filename="..\src\doomkeys.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -282,12 +284,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\doomstat.c">
+		<Unit filename="..\src\doomstat.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\doomstat.h">
+		<Unit filename="..\src\doomstat.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -294,7 +296,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\doomtype.h">
+		<Unit filename="..\src\doomtype.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -301,12 +303,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\dstrings.c">
+		<Unit filename="..\src\dstrings.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\dstrings.h">
+		<Unit filename="..\src\dstrings.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -313,12 +315,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\f_finale.c">
+		<Unit filename="..\src\f_finale.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\f_finale.h">
+		<Unit filename="..\src\f_finale.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -325,12 +327,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\f_wipe.c">
+		<Unit filename="..\src\f_wipe.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\f_wipe.h">
+		<Unit filename="..\src\f_wipe.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -337,12 +339,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\g_game.c">
+		<Unit filename="..\src\g_game.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\g_game.h">
+		<Unit filename="..\src\g_game.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -349,12 +351,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\hu_lib.c">
+		<Unit filename="..\src\hu_lib.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\hu_lib.h">
+		<Unit filename="..\src\hu_lib.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -361,12 +363,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\hu_stuff.c">
+		<Unit filename="..\src\hu_stuff.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\hu_stuff.h">
+		<Unit filename="..\src\hu_stuff.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -373,17 +375,17 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\i_main.c">
+		<Unit filename="..\src\i_main.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\i_sound.c">
+		<Unit filename="..\src\i_sound.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\i_sound.h">
+		<Unit filename="..\src\i_sound.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -390,12 +392,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\i_system.c">
+		<Unit filename="..\src\i_system.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\i_system.h">
+		<Unit filename="..\src\i_system.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -402,12 +404,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\i_timer.c">
+		<Unit filename="..\src\i_timer.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\i_timer.h">
+		<Unit filename="..\src\i_timer.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -414,12 +416,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\i_video.c">
+		<Unit filename="..\src\i_video.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\i_video.h">
+		<Unit filename="..\src\i_video.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -426,12 +428,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\info.c">
+		<Unit filename="..\src\info.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\info.h">
+		<Unit filename="..\src\info.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -438,12 +440,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_argv.c">
+		<Unit filename="..\src\m_argv.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_argv.h">
+		<Unit filename="..\src\m_argv.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -450,12 +452,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_bbox.c">
+		<Unit filename="..\src\m_bbox.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_bbox.h">
+		<Unit filename="..\src\m_bbox.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -462,12 +464,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_cheat.c">
+		<Unit filename="..\src\m_cheat.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_cheat.h">
+		<Unit filename="..\src\m_cheat.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -474,12 +476,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_fixed.c">
+		<Unit filename="..\src\m_fixed.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_fixed.h">
+		<Unit filename="..\src\m_fixed.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -486,12 +488,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_menu.c">
+		<Unit filename="..\src\m_menu.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_menu.h">
+		<Unit filename="..\src\m_menu.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -498,12 +500,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_misc.c">
+		<Unit filename="..\src\m_misc.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_misc.h">
+		<Unit filename="..\src\m_misc.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -510,12 +512,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_random.c">
+		<Unit filename="..\src\m_random.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_random.h">
+		<Unit filename="..\src\m_random.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -522,12 +524,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_swap.c">
+		<Unit filename="..\src\m_swap.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_swap.h">
+		<Unit filename="..\src\m_swap.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -534,12 +536,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\memio.c">
+		<Unit filename="..\src\memio.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\memio.h">
+		<Unit filename="..\src\memio.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -546,12 +548,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\mus2mid.c">
+		<Unit filename="..\src\mus2mid.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\mus2mid.h">
+		<Unit filename="..\src\mus2mid.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -558,12 +560,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_client.c">
+		<Unit filename="..\src\net_client.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_client.h">
+		<Unit filename="..\src\net_client.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -570,12 +572,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_common.c">
+		<Unit filename="..\src\net_common.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_common.h">
+		<Unit filename="..\src\net_common.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -582,12 +584,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_dedicated.c">
+		<Unit filename="..\src\net_dedicated.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_dedicated.h">
+		<Unit filename="..\src\net_dedicated.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -594,7 +596,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_defs.h">
+		<Unit filename="..\src\net_defs.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -601,12 +603,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_gui.c">
+		<Unit filename="..\src\net_gui.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_gui.h">
+		<Unit filename="..\src\net_gui.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -613,12 +615,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_io.c">
+		<Unit filename="..\src\net_io.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_io.h">
+		<Unit filename="..\src\net_io.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -625,12 +627,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_loop.c">
+		<Unit filename="..\src\net_loop.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_loop.h">
+		<Unit filename="..\src\net_loop.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -637,12 +639,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_packet.c">
+		<Unit filename="..\src\net_packet.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_packet.h">
+		<Unit filename="..\src\net_packet.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -649,12 +651,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_query.c">
+		<Unit filename="..\src\net_query.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_query.h">
+		<Unit filename="..\src\net_query.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -661,12 +663,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_sdl.c">
+		<Unit filename="..\src\net_sdl.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_sdl.h">
+		<Unit filename="..\src\net_sdl.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -673,12 +675,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_server.c">
+		<Unit filename="..\src\net_server.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_server.h">
+		<Unit filename="..\src\net_server.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -685,12 +687,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_structrw.c">
+		<Unit filename="..\src\net_structrw.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_structrw.h">
+		<Unit filename="..\src\net_structrw.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -697,32 +699,32 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_ceilng.c">
+		<Unit filename="..\src\p_ceilng.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_doors.c">
+		<Unit filename="..\src\p_doors.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_enemy.c">
+		<Unit filename="..\src\p_enemy.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_floor.c">
+		<Unit filename="..\src\p_floor.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_inter.c">
+		<Unit filename="..\src\p_inter.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_inter.h">
+		<Unit filename="..\src\p_inter.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -729,12 +731,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_lights.c">
+		<Unit filename="..\src\p_lights.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_local.h">
+		<Unit filename="..\src\p_local.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -741,22 +743,22 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_map.c">
+		<Unit filename="..\src\p_map.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_maputl.c">
+		<Unit filename="..\src\p_maputl.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_mobj.c">
+		<Unit filename="..\src\p_mobj.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_mobj.h">
+		<Unit filename="..\src\p_mobj.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -763,17 +765,17 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_plats.c">
+		<Unit filename="..\src\p_plats.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_pspr.c">
+		<Unit filename="..\src\p_pspr.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_pspr.h">
+		<Unit filename="..\src\p_pspr.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -780,12 +782,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_saveg.c">
+		<Unit filename="..\src\p_saveg.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_saveg.h">
+		<Unit filename="..\src\p_saveg.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -792,12 +794,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_setup.c">
+		<Unit filename="..\src\p_setup.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_setup.h">
+		<Unit filename="..\src\p_setup.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -804,17 +806,17 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_sight.c">
+		<Unit filename="..\src\p_sight.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_spec.c">
+		<Unit filename="..\src\p_spec.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_spec.h">
+		<Unit filename="..\src\p_spec.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -821,22 +823,22 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_switch.c">
+		<Unit filename="..\src\p_switch.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_telept.c">
+		<Unit filename="..\src\p_telept.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_tick.c">
+		<Unit filename="..\src\p_tick.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_tick.h">
+		<Unit filename="..\src\p_tick.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -843,17 +845,17 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\p_user.c">
+		<Unit filename="..\src\p_user.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_bsp.c">
+		<Unit filename="..\src\r_bsp.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_bsp.h">
+		<Unit filename="..\src\r_bsp.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -860,12 +862,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_data.c">
+		<Unit filename="..\src\r_data.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_data.h">
+		<Unit filename="..\src\r_data.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -872,7 +874,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_defs.h">
+		<Unit filename="..\src\r_defs.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -879,12 +881,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_draw.c">
+		<Unit filename="..\src\r_draw.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_draw.h">
+		<Unit filename="..\src\r_draw.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -891,7 +893,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_local.h">
+		<Unit filename="..\src\r_local.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -898,12 +900,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_main.c">
+		<Unit filename="..\src\r_main.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_main.h">
+		<Unit filename="..\src\r_main.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -910,12 +912,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_plane.c">
+		<Unit filename="..\src\r_plane.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_plane.h">
+		<Unit filename="..\src\r_plane.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -922,12 +924,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_segs.c">
+		<Unit filename="..\src\r_segs.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_segs.h">
+		<Unit filename="..\src\r_segs.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -934,12 +936,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_sky.c">
+		<Unit filename="..\src\r_sky.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_sky.h">
+		<Unit filename="..\src\r_sky.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -946,7 +948,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_state.h">
+		<Unit filename="..\src\r_state.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -953,12 +955,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_things.c">
+		<Unit filename="..\src\r_things.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\r_things.h">
+		<Unit filename="..\src\r_things.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -965,12 +967,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\s_sound.c">
+		<Unit filename="..\src\s_sound.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\s_sound.h">
+		<Unit filename="..\src\s_sound.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -977,12 +979,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\sounds.c">
+		<Unit filename="..\src\sounds.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\sounds.h">
+		<Unit filename="..\src\sounds.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -989,12 +991,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\st_lib.c">
+		<Unit filename="..\src\st_lib.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\st_lib.h">
+		<Unit filename="..\src\st_lib.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1001,12 +1003,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\st_stuff.c">
+		<Unit filename="..\src\st_stuff.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\st_stuff.h">
+		<Unit filename="..\src\st_stuff.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1013,12 +1015,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\tables.c">
+		<Unit filename="..\src\tables.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\tables.h">
+		<Unit filename="..\src\tables.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1025,12 +1027,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\v_video.c">
+		<Unit filename="..\src\v_video.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\v_video.h">
+		<Unit filename="..\src\v_video.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1037,12 +1039,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\w_merge.c">
+		<Unit filename="..\src\w_merge.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\w_merge.h">
+		<Unit filename="..\src\w_merge.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1049,12 +1051,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\w_wad.c">
+		<Unit filename="..\src\w_wad.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\w_wad.h">
+		<Unit filename="..\src\w_wad.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1061,12 +1063,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\wi_stuff.c">
+		<Unit filename="..\src\wi_stuff.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\wi_stuff.h">
+		<Unit filename="..\src\wi_stuff.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1073,12 +1075,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\z_zone.c">
+		<Unit filename="..\src\z_native.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\z_zone.h">
+		<Unit filename="..\src\z_zone.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1085,7 +1087,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\textscreen.h">
+		<Unit filename="..\textscreen\textscreen.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1092,12 +1094,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_button.c">
+		<Unit filename="..\textscreen\txt_button.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_button.h">
+		<Unit filename="..\textscreen\txt_button.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1104,12 +1106,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_checkbox.c">
+		<Unit filename="..\textscreen\txt_checkbox.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_checkbox.h">
+		<Unit filename="..\textscreen\txt_checkbox.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1116,12 +1118,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_desktop.c">
+		<Unit filename="..\textscreen\txt_desktop.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_desktop.h">
+		<Unit filename="..\textscreen\txt_desktop.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1128,12 +1130,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_dropdown.c">
+		<Unit filename="..\textscreen\txt_dropdown.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_dropdown.h">
+		<Unit filename="..\textscreen\txt_dropdown.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1140,7 +1142,7 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_font.h">
+		<Unit filename="..\textscreen\txt_font.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1147,12 +1149,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_gui.c">
+		<Unit filename="..\textscreen\txt_gui.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_gui.h">
+		<Unit filename="..\textscreen\txt_gui.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1159,12 +1161,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_inputbox.c">
+		<Unit filename="..\textscreen\txt_inputbox.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_inputbox.h">
+		<Unit filename="..\textscreen\txt_inputbox.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1171,12 +1173,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_io.c">
+		<Unit filename="..\textscreen\txt_io.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_io.h">
+		<Unit filename="..\textscreen\txt_io.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1183,12 +1185,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_label.c">
+		<Unit filename="..\textscreen\txt_label.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_label.h">
+		<Unit filename="..\textscreen\txt_label.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1195,12 +1197,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_main.c">
+		<Unit filename="..\textscreen\txt_main.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_main.h">
+		<Unit filename="..\textscreen\txt_main.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1207,12 +1209,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_radiobutton.c">
+		<Unit filename="..\textscreen\txt_radiobutton.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_radiobutton.h">
+		<Unit filename="..\textscreen\txt_radiobutton.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1219,12 +1221,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_separator.c">
+		<Unit filename="..\textscreen\txt_separator.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_separator.h">
+		<Unit filename="..\textscreen\txt_separator.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1231,12 +1233,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_strut.c">
+		<Unit filename="..\textscreen\txt_strut.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_strut.h">
+		<Unit filename="..\textscreen\txt_strut.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1243,12 +1245,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_table.c">
+		<Unit filename="..\textscreen\txt_table.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_table.h">
+		<Unit filename="..\textscreen\txt_table.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1255,12 +1257,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_widget.c">
+		<Unit filename="..\textscreen\txt_widget.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_widget.h">
+		<Unit filename="..\textscreen\txt_widget.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1267,12 +1269,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_window.c">
+		<Unit filename="..\textscreen\txt_window.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_window.h">
+		<Unit filename="..\textscreen\txt_window.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -1279,12 +1281,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_window_action.c">
+		<Unit filename="..\textscreen\txt_window_action.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="textscreen\txt_window_action.h">
+		<Unit filename="..\textscreen\txt_window_action.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
--- a/codeblocks/chocolate-doom.workspace
+++ b/codeblocks/chocolate-doom.workspace
@@ -1,8 +1,9 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 <CodeBlocks_workspace_file>
 	<Workspace title="Workspace">
-		<Project filename="chocolate-doom.cbp" active="1" />
+		<Project filename="chocolate-doom.cbp" />
 		<Project filename="chocolate-server.cbp" />
-		<Project filename="textscreen.cbp" />
+		<Project filename="textscreen.cbp" active="1" />
+		<Project filename="chocolate-setup.cbp" />
 	</Workspace>
 </CodeBlocks_workspace_file>
\ No newline at end of file
--- a/codeblocks/chocolate-server.cbp
+++ b/codeblocks/chocolate-server.cbp
@@ -9,10 +9,12 @@
 		<Option virtualFolders="" />
 		<Build>
 			<Target title="Debug">
-				<Option output="bin\Debug\chocolate-server.exe" />
-				<Option object_output="obj\Debug\" />
+				<Option output="..\bin\chocolate-server-dbg.exe" />
+				<Option working_dir="..\bin" />
+				<Option object_output="..\obj\dbg" />
 				<Option type="1" />
 				<Option compiler="gcc" />
+				<Option use_console_runner="0" />
 				<Compiler>
 					<Add option="-W" />
 					<Add option="-g" />
@@ -19,10 +21,12 @@
 				</Compiler>
 			</Target>
 			<Target title="Release">
-				<Option output="bin\Release\chocolate-server.exe" />
-				<Option object_output="obj\Release\" />
+				<Option output="..\bin\chocolate-server.exe" />
+				<Option working_dir="..\bin" />
+				<Option object_output="..\obj\rel" />
 				<Option type="1" />
 				<Option compiler="gcc" />
+				<Option use_console_runner="0" />
 				<Compiler>
 					<Add option="-O2" />
 				</Compiler>
@@ -31,29 +35,32 @@
 				</Linker>
 			</Target>
 		</Build>
+		<VirtualTargets>
+			<Add alias="All" targets="Debug;Release;" />
+		</VirtualTargets>
 		<Compiler>
-			<Add directory="msvc" />
-			<Add directory="textscreen" />
+			<Add directory="..\msvc" />
+			<Add directory="..\textscreen" />
 		</Compiler>
 		<Linker>
 			<Add option="-lmingw32 -lSDLmain -lSDL -lSDL_mixer -lSDL_net -mwindows" />
 		</Linker>
-		<Unit filename="src\d_dedicated.c">
+		<Unit filename="..\src\d_dedicated.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\i_main.c">
+		<Unit filename="..\src\i_main.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\i_timer.c">
+		<Unit filename="..\src\i_timer.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\i_timer.h">
+		<Unit filename="..\src\i_timer.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -60,12 +67,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_argv.c">
+		<Unit filename="..\src\m_argv.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\m_argv.h">
+		<Unit filename="..\src\m_argv.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -72,12 +79,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_common.c">
+		<Unit filename="..\src\net_common.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_common.h">
+		<Unit filename="..\src\net_common.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -84,12 +91,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_dedicated.c">
+		<Unit filename="..\src\net_dedicated.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_dedicated.h">
+		<Unit filename="..\src\net_dedicated.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -96,12 +103,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_io.c">
+		<Unit filename="..\src\net_io.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_io.h">
+		<Unit filename="..\src\net_io.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -108,12 +115,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_packet.c">
+		<Unit filename="..\src\net_packet.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_packet.h">
+		<Unit filename="..\src\net_packet.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -120,12 +127,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_sdl.c">
+		<Unit filename="..\src\net_sdl.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_sdl.h">
+		<Unit filename="..\src\net_sdl.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -132,12 +139,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_server.c">
+		<Unit filename="..\src\net_server.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_server.h">
+		<Unit filename="..\src\net_server.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -144,12 +151,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_structrw.c">
+		<Unit filename="..\src\net_structrw.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\net_structrw.h">
+		<Unit filename="..\src\net_structrw.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
@@ -156,12 +163,12 @@
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\z_native.c">
+		<Unit filename="..\src\z_native.c">
 			<Option compilerVar="CC" />
 			<Option target="Debug" />
 			<Option target="Release" />
 		</Unit>
-		<Unit filename="src\z_zone.h">
+		<Unit filename="..\src\z_zone.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
--- /dev/null
+++ b/codeblocks/chocolate-setup.cbp
@@ -1,0 +1,308 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+	<FileVersion major="1" minor="5" />
+	<Project>
+		<Option title="chocolate-setup" />
+		<Option pch_mode="2" />
+		<Option default_target="" />
+		<Option compiler="gcc" />
+		<Option virtualFolders="" />
+		<Build>
+			<Target title="Debug">
+				<Option output="..\bin\chocolate-setup-dbg.exe" />
+				<Option working_dir="..\bin" />
+				<Option object_output="..\obj\dbg\" />
+				<Option type="1" />
+				<Option compiler="gcc" />
+				<Option use_console_runner="0" />
+				<Compiler>
+					<Add option="-W" />
+					<Add option="-g" />
+				</Compiler>
+			</Target>
+			<Target title="Release">
+				<Option output="..\bin\chocolate-setup.exe" />
+				<Option working_dir="..\bin" />
+				<Option object_output="..\obj\rel\" />
+				<Option type="1" />
+				<Option compiler="gcc" />
+				<Option use_console_runner="0" />
+				<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 directory="..\textscreen" />
+			<Add directory="..\msvc" />
+			<Add directory="..\src" />
+		</Compiler>
+		<Linker>
+			<Add option="-lmingw32 -lSDLmain -lSDL -mwindows" />
+			<Add directory="..\bin" />
+		</Linker>
+		<Unit filename="..\setup\display.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\setup\keyboard.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\setup\mainmenu.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\setup\mouse.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\setup\multiplayer.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\setup\txt_keyinput.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\setup\txt_keyinput.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\setup\txt_mouseinput.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\setup\txt_mouseinput.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\textscreen.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_button.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_button.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_checkbox.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_checkbox.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_desktop.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_desktop.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_dropdown.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_dropdown.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_font.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_gui.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_gui.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_inputbox.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_inputbox.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_io.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_io.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_label.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_label.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_main.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_main.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_radiobutton.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_radiobutton.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_separator.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_separator.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_strut.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_strut.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_table.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_table.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_widget.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_widget.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_window.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_window.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_window_action.c">
+			<Option compilerVar="CC" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Unit filename="..\textscreen\txt_window_action.h">
+			<Option compilerVar="CPP" />
+			<Option compile="0" />
+			<Option link="0" />
+			<Option target="Debug" />
+			<Option target="Release" />
+		</Unit>
+		<Extensions />
+	</Project>
+</CodeBlocks_project_file>
\ No newline at end of file
--- a/codeblocks/textscreen.cbp
+++ b/codeblocks/textscreen.cbp
@@ -8,10 +8,10 @@
 		<Option compiler="gcc" />
 		<Option virtualFolders="" />
 		<Build>
-			<Target title="Debug">
-				<Option output="bin\Debug\textscreen.dll" />
-				<Option working_dir="bin\Debug" />
-				<Option object_output="obj\Debug\" />
+			<Target title="Debug-dyn">
+				<Option output="..\bin\lib\libtextscreen-dbg.dll" />
+				<Option working_dir="..\bin" />
+				<Option object_output="..\obj\dbg-dyn" />
 				<Option type="3" />
 				<Option compiler="gcc" />
 				<Option createDefFile="1" />
@@ -21,14 +21,41 @@
 					<Add option="-g" />
 				</Compiler>
 			</Target>
-			<Target title="Release">
-				<Option output="bin\Release\libtextscreen.a" />
+			<Target title="Release-dyn">
+				<Option output="..\bin\lib\libtextscreen.dll" />
+				<Option working_dir="..\bin" />
+				<Option object_output="..\obj\rel-dyn" />
+				<Option type="3" />
+				<Option compiler="gcc" />
+				<Option createDefFile="1" />
+				<Option createStaticLib="1" />
+				<Compiler>
+					<Add option="-O2" />
+				</Compiler>
+				<Linker>
+					<Add option="-s" />
+				</Linker>
+			</Target>
+			<Target title="Debug-stc">
+				<Option output="..\bin\lib\libtextscreen-dbg.a" />
 				<Option working_dir="" />
-				<Option object_output="obj\Release\" />
+				<Option object_output="..\obj\dbg-stc" />
 				<Option type="2" />
 				<Option compiler="gcc" />
 				<Option createDefFile="1" />
 				<Compiler>
+					<Add option="-W" />
+					<Add option="-g" />
+				</Compiler>
+			</Target>
+			<Target title="Release-stc">
+				<Option output="..\bin\lib\libtextscreen.a" />
+				<Option working_dir="" />
+				<Option object_output="..\obj\rel-stc" />
+				<Option type="2" />
+				<Option compiler="gcc" />
+				<Option createDefFile="1" />
+				<Compiler>
 					<Add option="-O2" />
 				</Compiler>
 				<Linker>
@@ -36,217 +63,288 @@
 				</Linker>
 			</Target>
 		</Build>
+		<VirtualTargets>
+			<Add alias="All" targets="Debug-dyn;Release-dyn;Debug-stc;Release-stc;" />
+		</VirtualTargets>
 		<Compiler>
-			<Add directory="src" />
+			<Add directory="..\src" />
 		</Compiler>
 		<Linker>
 			<Add option="-lmingw32 -lSDLmain -lSDL -mwindows" />
 		</Linker>
-		<Unit filename="textscreen\textscreen.h">
+		<Unit filename="..\textscreen\textscreen.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_button.c">
+		<Unit filename="..\textscreen\txt_button.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_button.h">
+		<Unit filename="..\textscreen\txt_button.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_checkbox.c">
+		<Unit filename="..\textscreen\txt_checkbox.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_checkbox.h">
+		<Unit filename="..\textscreen\txt_checkbox.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_desktop.c">
+		<Unit filename="..\textscreen\txt_desktop.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_desktop.h">
+		<Unit filename="..\textscreen\txt_desktop.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_dropdown.c">
+		<Unit filename="..\textscreen\txt_dropdown.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_dropdown.h">
+		<Unit filename="..\textscreen\txt_dropdown.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_font.h">
+		<Unit filename="..\textscreen\txt_font.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_gui.c">
+		<Unit filename="..\textscreen\txt_gui.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_gui.h">
+		<Unit filename="..\textscreen\txt_gui.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_inputbox.c">
+		<Unit filename="..\textscreen\txt_inputbox.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_inputbox.h">
+		<Unit filename="..\textscreen\txt_inputbox.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_io.c">
+		<Unit filename="..\textscreen\txt_io.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_io.h">
+		<Unit filename="..\textscreen\txt_io.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_label.c">
+		<Unit filename="..\textscreen\txt_label.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_label.h">
+		<Unit filename="..\textscreen\txt_label.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_main.c">
+		<Unit filename="..\textscreen\txt_main.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_main.h">
+		<Unit filename="..\textscreen\txt_main.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_radiobutton.c">
+		<Unit filename="..\textscreen\txt_radiobutton.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_radiobutton.h">
+		<Unit filename="..\textscreen\txt_radiobutton.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_separator.c">
+		<Unit filename="..\textscreen\txt_separator.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_separator.h">
+		<Unit filename="..\textscreen\txt_separator.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_strut.c">
+		<Unit filename="..\textscreen\txt_strut.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_strut.h">
+		<Unit filename="..\textscreen\txt_strut.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_table.c">
+		<Unit filename="..\textscreen\txt_table.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_table.h">
+		<Unit filename="..\textscreen\txt_table.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_widget.c">
+		<Unit filename="..\textscreen\txt_widget.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_widget.h">
+		<Unit filename="..\textscreen\txt_widget.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_window.c">
+		<Unit filename="..\textscreen\txt_window.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_window.h">
+		<Unit filename="..\textscreen\txt_window.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_window_action.c">
+		<Unit filename="..\textscreen\txt_window_action.c">
 			<Option compilerVar="CC" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
-		<Unit filename="textscreen\txt_window_action.h">
+		<Unit filename="..\textscreen\txt_window_action.h">
 			<Option compilerVar="CPP" />
 			<Option compile="0" />
 			<Option link="0" />
-			<Option target="Debug" />
-			<Option target="Release" />
+			<Option target="Debug-dyn" />
+			<Option target="Release-dyn" />
+			<Option target="Release-stc" />
+			<Option target="Debug-stc" />
 		</Unit>
 		<Extensions />
 	</Project>