diff options
author | Dave Chapman <dave@dchapman.com> | 2006-04-16 00:59:41 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-04-16 00:59:41 +0000 |
commit | 75a142600403dac63abc5cc15fbaf9e3a8376e13 (patch) | |
tree | af33ef0cadefc9096acf8d1a41d77bea603f7088 /apps/plugins | |
parent | 4e2a74c2b4feb8ce347438f81629a9a051d9a647 (diff) | |
download | rockbox-75a142600403dac63abc5cc15fbaf9e3a8376e13.tar.gz rockbox-75a142600403dac63abc5cc15fbaf9e3a8376e13.zip |
Disable some unused code (code used in network play) to bring the plugin size back down to under 512KB on the ipod video - more work needs to be done to further decrease the plugin size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9683 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/doom/g_game.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/doom/g_game.c b/apps/plugins/doom/g_game.c index 426ab1ca13..1029dad7bb 100644 --- a/apps/plugins/doom/g_game.c +++ b/apps/plugins/doom/g_game.c | |||
@@ -667,6 +667,7 @@ boolean G_Responder (event_t* ev) | |||
667 | // | 667 | // |
668 | // killough 11/98: don't autorepeat spy mode switch | 668 | // killough 11/98: don't autorepeat spy mode switch |
669 | 669 | ||
670 | #if 0 | ||
670 | if (ev->data1 == key_spy && netgame && (demoplayback || !deathmatch) && | 671 | if (ev->data1 == key_spy && netgame && (demoplayback || !deathmatch) && |
671 | gamestate == GS_LEVEL) | 672 | gamestate == GS_LEVEL) |
672 | { | 673 | { |
@@ -686,6 +687,7 @@ boolean G_Responder (event_t* ev) | |||
686 | } | 687 | } |
687 | return true; | 688 | return true; |
688 | } | 689 | } |
690 | #endif | ||
689 | 691 | ||
690 | // any other key pops up menu if in demos | 692 | // any other key pops up menu if in demos |
691 | // | 693 | // |
@@ -1183,6 +1185,8 @@ void G_DoReborn (int playernum) | |||
1183 | { | 1185 | { |
1184 | if (!netgame) | 1186 | if (!netgame) |
1185 | gameaction = ga_loadlevel; // reload the level from scratch | 1187 | gameaction = ga_loadlevel; // reload the level from scratch |
1188 | (void)playernum; | ||
1189 | #if 0 | ||
1186 | else | 1190 | else |
1187 | { // respawn at the start | 1191 | { // respawn at the start |
1188 | int i; | 1192 | int i; |
@@ -1217,6 +1221,7 @@ void G_DoReborn (int playernum) | |||
1217 | } | 1221 | } |
1218 | P_SpawnPlayer (&playerstarts[playernum]); | 1222 | P_SpawnPlayer (&playerstarts[playernum]); |
1219 | } | 1223 | } |
1224 | #endif | ||
1220 | } | 1225 | } |
1221 | 1226 | ||
1222 | // DOOM Par Times | 1227 | // DOOM Par Times |