diff --git a/Linux/QuakeSpasm.cbp b/Linux/QuakeSpasm.cbp
index 4a4a1f95..11ebca76 100644
--- a/Linux/QuakeSpasm.cbp
+++ b/Linux/QuakeSpasm.cbp
@@ -156,7 +156,7 @@
-
+
diff --git a/MacOSX/QuakeSpasm.xcodeproj/kristian.pbxuser b/MacOSX/QuakeSpasm.xcodeproj/kristian.pbxuser
index 667360de..17c4bc56 100644
--- a/MacOSX/QuakeSpasm.xcodeproj/kristian.pbxuser
+++ b/MacOSX/QuakeSpasm.xcodeproj/kristian.pbxuser
@@ -465,7 +465,7 @@
vrLen = 1061;
vrLoc = 168;
};
- 48243B130D33F01A00C29F8F /* main.c */ = {
+ 48243B130D33F01A00C29F8F /* main_sdl.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {1359, 2030}}";
sepNavSelRange = "{3951, 0}";
diff --git a/MacOSX/QuakeSpasm.xcodeproj/project.pbxproj b/MacOSX/QuakeSpasm.xcodeproj/project.pbxproj
index f3576927..5dbb61e9 100644
--- a/MacOSX/QuakeSpasm.xcodeproj/project.pbxproj
+++ b/MacOSX/QuakeSpasm.xcodeproj/project.pbxproj
@@ -12,7 +12,7 @@
002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A2C09D0888800EBEB88 /* SDLMain.m */; };
002F3C0109D093BD00EBEB88 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F3C0009D093BD00EBEB88 /* OpenGL.framework */; };
002F3C6109D0951E00EBEB88 /* GLUT.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F3C6009D0951E00EBEB88 /* GLUT.framework */; };
- 48243B140D33F01A00C29F8F /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 48243B130D33F01A00C29F8F /* main.c */; };
+ 48243B140D33F01A00C29F8F /* main_sdl.c in Sources */ = {isa = PBXBuildFile; fileRef = 48243B130D33F01A00C29F8F /* main_sdl.c */; };
4824B3360DF5542E0001ED2C /* SDL_net.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 48DA393E0D998BC9007C2A77 /* SDL_net.framework */; };
48305B550D8AF90600A29C24 /* net_udp.c in Sources */ = {isa = PBXBuildFile; fileRef = 48305B540D8AF90600A29C24 /* net_udp.c */; };
4830B79F0D464CAE00EF4498 /* Changelog.txt in Resources */ = {isa = PBXBuildFile; fileRef = 4830B79D0D464CAE00EF4498 /* Changelog.txt */; };
@@ -117,7 +117,7 @@
29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; };
29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; };
32CA4F630368D1EE00C91783 /* QuakeSpasm_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QuakeSpasm_Prefix.pch; sourceTree = ""; };
- 48243B130D33F01A00C29F8F /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = main.c; path = ../Quake/main.c; sourceTree = SOURCE_ROOT; };
+ 48243B130D33F01A00C29F8F /* main_sdl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = main_sdl.c; path = ../Quake/main_sdl.c; sourceTree = SOURCE_ROOT; };
48305B530D8AF8EC00A29C24 /* net_udp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = net_udp.h; path = ../Quake/net_udp.h; sourceTree = SOURCE_ROOT; };
48305B540D8AF90600A29C24 /* net_udp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = net_udp.c; path = ../Quake/net_udp.c; sourceTree = SOURCE_ROOT; };
4830B79D0D464CAE00EF4498 /* Changelog.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Changelog.txt; path = ../Misc/Changelog.txt; sourceTree = SOURCE_ROOT; };
@@ -368,7 +368,7 @@
483A78150D2EEA5400CB2E4C /* cvar.c */,
483A78170D2EEA5400CB2E4C /* host.c */,
483A78160D2EEA5400CB2E4C /* host_cmd.c */,
- 48243B130D33F01A00C29F8F /* main.c */,
+ 48243B130D33F01A00C29F8F /* main_sdl.c */,
483A78180D2EEA5400CB2E4C /* mathlib.c */,
483A78190D2EEA5400CB2E4C /* menu.c */,
48895DB80D4914A000849ABF /* pl_osx.m */,
@@ -660,7 +660,7 @@
486577CB0D31A22A00E7920A /* snd_dma.c in Sources */,
486577CC0D31A22A00E7920A /* snd_mem.c in Sources */,
486577CD0D31A22A00E7920A /* snd_mix.c in Sources */,
- 48243B140D33F01A00C29F8F /* main.c in Sources */,
+ 48243B140D33F01A00C29F8F /* main_sdl.c in Sources */,
48B9E7A70D340BEA0001CACF /* AppController.m in Sources */,
48B9E7C00D340EA80001CACF /* SDLApplication.m in Sources */,
489D8D2F0D3A630D00AA4471 /* ScreenInfo.m in Sources */,
diff --git a/Quake/Makefile b/Quake/Makefile
index 22b71e72..b5203d98 100644
--- a/Quake/Makefile
+++ b/Quake/Makefile
@@ -129,7 +129,7 @@ cd_sdl.o console.o gl_rmain.o host.o net_main.o r_part.o sv_m
chase.o crc.o gl_rmisc.o image.o net_sdlnet.o r_sprite.o sv_phys.o \
cl_demo.o cvar.o gl_screen.o in_sdl.o net_sdl.o r_world.o sv_user.o \
cl_input.o gl_draw.o gl_sky.o keys.o pl_linux.o sbar.o sys_sdl.o \
-cl_main.o gl_fog.o main.o pr_cmds.o snd_dma.o view.o \
+cl_main.o gl_fog.o main_sdl.o pr_cmds.o snd_dma.o view.o \
cl_parse.o gl_mesh.o gl_texmgr.o mathlib.o pr_edict.o snd_mem.o wad.o \
cl_tent.o gl_model.o gl_vidsdl.o menu.o pr_exec.o snd_mix.o world.o \
cmd.o gl_refrag.o gl_warp.o net_dgrm.o r_alias.o snd_sdl.o zone.o \
diff --git a/Quake/Makefile.darwin b/Quake/Makefile.darwin
index cdce0e71..be54dde5 100644
--- a/Quake/Makefile.darwin
+++ b/Quake/Makefile.darwin
@@ -137,7 +137,7 @@ cd_sdl.o console.o gl_rmain.o host.o net_main.o r_part.o sv_m
chase.o crc.o gl_rmisc.o image.o net_sdlnet.o r_sprite.o sv_phys.o \
cl_demo.o cvar.o gl_screen.o in_sdl.o net_sdl.o r_world.o sv_user.o \
cl_input.o gl_draw.o gl_sky.o keys.o pl_osx.o sbar.o sys_sdl.o \
-cl_main.o gl_fog.o main.o pr_cmds.o snd_dma.o view.o \
+cl_main.o gl_fog.o main_sdl.o pr_cmds.o snd_dma.o view.o \
cl_parse.o gl_mesh.o gl_texmgr.o mathlib.o pr_edict.o snd_mem.o wad.o \
cl_tent.o gl_model.o gl_vidsdl.o menu.o pr_exec.o snd_mix.o world.o \
cmd.o gl_refrag.o gl_warp.o net_dgrm.o r_alias.o snd_sdl.o zone.o \
diff --git a/Quake/Makefile.w32 b/Quake/Makefile.w32
index ccedb6fb..b5823407 100644
--- a/Quake/Makefile.w32
+++ b/Quake/Makefile.w32
@@ -82,7 +82,7 @@ cd_sdl.o console.o gl_rmain.o host.o net_main.o r_part.o sv_m
chase.o crc.o gl_rmisc.o image.o net_sdlnet.o r_sprite.o sv_phys.o \
cl_demo.o cvar.o gl_screen.o in_sdl.o net_sdl.o r_world.o sv_user.o \
cl_input.o gl_draw.o gl_sky.o keys.o pl_win.o sbar.o sys_sdl.o \
-cl_main.o gl_fog.o main.o pr_cmds.o snd_dma.o view.o \
+cl_main.o gl_fog.o main_sdl.o pr_cmds.o snd_dma.o view.o \
cl_parse.o gl_mesh.o gl_texmgr.o mathlib.o pr_edict.o snd_mem.o wad.o \
cl_tent.o gl_model.o gl_vidsdl.o menu.o pr_exec.o snd_mix.o world.o \
cmd.o gl_refrag.o gl_warp.o net_dgrm.o r_alias.o snd_sdl.o zone.o \
diff --git a/Quake/Makefile.w64 b/Quake/Makefile.w64
index 00f38907..7046d934 100644
--- a/Quake/Makefile.w64
+++ b/Quake/Makefile.w64
@@ -82,7 +82,7 @@ cd_sdl.o console.o gl_rmain.o host.o net_main.o r_part.o sv_m
chase.o crc.o gl_rmisc.o image.o net_sdlnet.o r_sprite.o sv_phys.o \
cl_demo.o cvar.o gl_screen.o in_sdl.o net_sdl.o r_world.o sv_user.o \
cl_input.o gl_draw.o gl_sky.o keys.o pl_win.o sbar.o sys_sdl.o \
-cl_main.o gl_fog.o main.o pr_cmds.o snd_dma.o view.o \
+cl_main.o gl_fog.o main_sdl.o pr_cmds.o snd_dma.o view.o \
cl_parse.o gl_mesh.o gl_texmgr.o mathlib.o pr_edict.o snd_mem.o wad.o \
cl_tent.o gl_model.o gl_vidsdl.o menu.o pr_exec.o snd_mix.o world.o \
cmd.o gl_refrag.o gl_warp.o net_dgrm.o r_alias.o snd_sdl.o zone.o \
diff --git a/Quake/main.c b/Quake/main_sdl.c
similarity index 100%
rename from Quake/main.c
rename to Quake/main_sdl.c
diff --git a/Windows/QuakeSpasm.cbp b/Windows/QuakeSpasm.cbp
index 620d1867..28977726 100644
--- a/Windows/QuakeSpasm.cbp
+++ b/Windows/QuakeSpasm.cbp
@@ -161,7 +161,7 @@
-
+
diff --git a/Windows/QuakeSpasm.layout b/Windows/QuakeSpasm.layout
index a1952df1..53757099 100644
--- a/Windows/QuakeSpasm.layout
+++ b/Windows/QuakeSpasm.layout
@@ -43,7 +43,7 @@
-
+