summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2001-08-24 05:19:50 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:36 +0200
commitacbc8ea8b8f3f1b50aac139d3aacabd68ec42ded (patch)
treee46845b03af3e31afcaac069e9e2a6c4016894fc /src/main.c
parent90d3747b13a744e725a37c685d8145caab0531a5 (diff)
Removed more unused stuff.
Finally finished ingame OpenGL code (I hope). Fixed another mistake in mathline.c.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index f7bc518..1a2efb1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -461,8 +461,6 @@ void CheckForWindowsMessages()
handle_keypress(KeySymToKey(event.key.keysym.sym), 0, 0);
break;
case SDL_QUIT:
-// SDL_Quit();
-// exit(17); /* TODO tempy! */
AvP.MainLoopRunning = 0; /* TODO */
break;
}
@@ -595,6 +593,9 @@ int main(int argc, char *argv[])
LoadKeyConfiguration();
+ CheatMode_Active = CHEATMODE_NONACTIVE;
+
+
SoundSys_Start();
CDDA_Start();
@@ -626,12 +627,13 @@ int main(int argc, char *argv[])
// SetLevelToLoad(AVP_ENVIRONMENT_TEMPLE); /* starting alien level */
// SetLevelToLoad(AVP_ENVIRONMENT_INVASION_A);
- AvP.PlayerType = I_Marine;
+// AvP.PlayerType = I_Marine;
// SetLevelToLoad(AVP_ENVIRONMENT_DERELICT); /* starting marine level */
- SetLevelToLoad(AVP_ENVIRONMENT_COLONY);
+// SetLevelToLoad(AVP_ENVIRONMENT_COLONY);
-// AvP.PlayerType = I_Predator;
-// SetLevelToLoad(AVP_ENVIRONMENT_WATERFALL); /* starting predator level */
+ AvP.PlayerType = I_Predator;
+ SetLevelToLoad(AVP_ENVIRONMENT_WATERFALL); /* starting predator level */
+// SetLevelToLoad(AVP_ENVIRONMENT_TEMPLE_P);
// SetLevelToLoad(AVP_ENVIRONMENT_LEADWORKS_MP); /* multiplayer */
// SetLevelToLoad(AVP_ENVIRONMENT_SUBWAY_MP);