mh wrote:I'm wondering though if anyone has any better ideas...?
As much as we like to think of hipnotic and rogue as special games, it only affects the drawing of the HUD. And menu if you dig deep down, but no one uses that.
common.c(56): qboolean standard_quake = true, rogue, hipnotic;
common.c(1112): if (COM_CheckParm ("-hipnotic"))
common.c(1114): hipnotic = true;
common.c(1781): if (COM_CheckParm ("-hipnotic"))
common.c(1782): COM_AddGameDirectory (va("%s/hipnotic", basedir) );
Nothing special is going on there ...
host_cmd.c(1546): // MED 01/04/97 added hipnotic give stuff
host_cmd.c(1547): if (hipnotic)
Give command difference.
menu.c(2436): //MED 01/06/97 added hipnotic levels
menu.c(2437): level_t hipnoticlevels[] =
menu.c(2505): //MED 01/06/97 added hipnotic episodes
menu.c(2506): episode_t hipnoticepisodes[] =
menu.c(2622): //MED 01/06/97 added hipnotic episodes
menu.c(2623): if (hipnotic)
menu.c(2624): M_Print (160, 112, hipnoticepisodes[startepisode].description);
menu.c(2632): //MED 01/06/97 added hipnotic episodes
menu.c(2633): if (hipnotic)
menu.c(2635): M_Print (160, 120, hipnoticlevels[hipnoticepisodes[startepisode].firstLevel + startlevel].description);
menu.c(2636): M_Print (160, 128, hipnoticlevels[hipnoticepisodes[startepisode].firstLevel + startlevel].name);
menu.c(2734): //MED 01/06/97 added hipnotic count
menu.c(2735): if (hipnotic)
menu.c(2757): //MED 01/06/97 added hipnotic episodes
menu.c(2758): if (hipnotic)
menu.c(2759): count = hipnoticepisodes[startepisode].levels;
menu.c(2760): //PGM 01/06/97 added hipnotic episodes
menu.c(2821): if (hipnotic)
menu.c(2822): Cbuf_AddText ( va ("map %s\n", hipnoticlevels[hipnoticepisodes[startepisode].firstLevel + startlevel].name) );
List hipnotic maps and episodes in the menu that no one uses.
sbar.c(61): //MED 01/04/97 added hipnotic items array
sbar.c(198): //MED 01/04/97 added new hipnotic weapons
sbar.c(199): if (hipnotic)
sbar.c(590): // hipnotic weapons
sbar.c(591): if (hipnotic)
sbar.c(686): if (!hipnotic || (i>1))
sbar.c(694): //MED 01/04/97 added hipnotic items
sbar.c(695): // hipnotic items
sbar.c(696): if (hipnotic)
sbar.c(958): // keys (hipnotic only)
sbar.c(960): if (hipnotic)
Draw the HUD differently.
I slightly oversimplified, but what would be better is to get this removed out of the engine and into the "game logic" where it belongs.
In an ideal world ... but I guess we have to work with this one
