Add Warehouse and Warehouse (Classic) to menu

This commit is contained in:
cypress 2023-12-01 01:47:53 -05:00
parent 94c8e1b93a
commit 71c31e514e
1 changed files with 42 additions and 16 deletions

View File

@ -49,6 +49,7 @@ qpic_t *menu_bk;
// Map screens
qpic_t *menu_ndu;
qpic_t *menu_wh;
qpic_t *menu_wh2
//qpic_t *menu_kn;
qpic_t *menu_ch;
//qpic_t *menu_wn;
@ -232,7 +233,8 @@ void M_Load_Menu_Pics ()
menu_bk = Draw_CachePic("gfx/menu/menu_background");
menu_ndu = Draw_CachePic("gfx/menu/nacht_der_untoten");
//menu_kn = Draw_CachePic("gfx/menu/kino_der_toten");
menu_wh = Draw_CachePic("gfx/menu/warehouse");
menu_wh = Draw_CachePic("gfx/menu/nzp_warehouse");
menu_wh2 = Draw_CachePic("gfx/menu/nzp_warehouse2");
//menu_wn = Draw_CachePic("gfx/menu/wahnsinn");
menu_ch = Draw_CachePic("gfx/menu/christmas_special");
menu_custom = Draw_CachePic("gfx/menu/custom");
@ -716,7 +718,7 @@ void M_Exit_Draw (void)
/* SINGLE PLAYER MENU */
int m_singleplayer_cursor;
#define SINGLEPLAYER_ITEMS 5
#define SINGLEPLAYER_ITEMS 6
void M_Menu_SinglePlayer_f (void)
@ -746,8 +748,8 @@ void M_SinglePlayer_Draw (void)
else
Draw_ColoredString(5, 40, "Nacht der Untoten", 255, 255, 255, 255, 1);
// Kino der Toten
Draw_ColoredString(5, 50, "Kino der Toten", 128, 128, 128, 255, 1);
// Divider
Draw_FillByColor(5, 53, 160, 2, 130, 130, 130, 255);
// Warehouse
if (m_singleplayer_cursor == 1)
@ -755,11 +757,14 @@ void M_SinglePlayer_Draw (void)
else
Draw_ColoredString(5, 60, "Warehouse", 255, 255, 255, 255, 1);
// Wahnsinn
Draw_ColoredString(5, 70, "Wahnsinn", 128, 128, 128, 255, 1);
// Warehouse (Classic)
if (m_singleplayer_cursor == 2)
Draw_ColoredString(5, 70, "Warehouse (Classic)", 255, 0, 0, 255, 1);
else
Draw_ColoredString(5, 70, "Warehouse (Classic)", 255, 255, 255, 255, 1);
// Christmas Special
if (m_singleplayer_cursor == 2)
if (m_singleplayer_cursor == 3)
Draw_ColoredString(5, 80, "Christmas Special", 255, 0, 0, 255, 1);
else
Draw_ColoredString(5, 80, "Christmas Special", 255, 255, 255, 255, 1);
@ -768,13 +773,13 @@ void M_SinglePlayer_Draw (void)
Draw_FillByColor(5, 93, 160, 2, 130, 130, 130, 255);
// Custom Maps
if (m_singleplayer_cursor == 3)
if (m_singleplayer_cursor == 4)
Draw_ColoredString(5, 100, "Custom Maps", 255, 0, 0, 255, 1);
else
Draw_ColoredString(5, 100, "Custom Maps", 255, 255, 255, 255, 1);
// Back
if (m_singleplayer_cursor == 4)
if (m_singleplayer_cursor == 5)
Draw_ColoredString(5, 230, "Back", 255, 0, 0, 255, 1);
else
Draw_ColoredString(5, 230, "Back", 255, 255, 255, 255, 1);
@ -794,20 +799,30 @@ void M_SinglePlayer_Draw (void)
Draw_ColoredString(140, 218, "to the overwhelming onslaught?", 255, 255, 255, 255, 1);
break;
case 1:
menu_wh = Draw_CachePic("gfx/menu/warehouse");
menu_wh2 = Draw_CachePic("gfx/menu/nzp_warehouse2");
Draw_StretchPic(195, 40, menu_wh2, 175, 100);
Draw_ColoredString(140, 148, "Four nameless marines find them-", 255, 255, 255, 255, 1);
Draw_ColoredString(140, 158, "selves at a forsaken warehouse,", 255, 255, 255, 255, 1);
Draw_ColoredString(140, 168, "or is it something more? Fight", 255, 255, 255, 255, 1);
Draw_ColoredString(140, 178, "your way to uncovering its sec-", 255, 255, 255, 255, 1);
Draw_ColoredString(140, 188, "rets, though you may not like", 255, 255, 255, 255, 1);
Draw_ColoredString(140, 198, "what you find..", 255, 255, 255, 255, 1);
break;
case 2:
menu_wh = Draw_CachePic("gfx/menu/nzp_warehouse");
Draw_StretchPic(195, 40, menu_wh, 175, 100);
Draw_ColoredString(140, 148, "Old Warehouse full of Zombies!", 255, 255, 255, 255, 1);
Draw_ColoredString(140, 158, "Fight your way to the Power", 255, 255, 255, 255, 1);
Draw_ColoredString(140, 168, "Switch through the Hordes!", 255, 255, 255, 255, 1);
break;
case 2:
case 3:
menu_ch = Draw_CachePic("gfx/menu/christmas_special");
Draw_StretchPic(195, 40, menu_ch, 175, 100);
Draw_ColoredString(140, 148, "No Santa this year. Though we're", 255, 255, 255, 255, 1);
Draw_ColoredString(140, 158, "sure you will get presents from", 255, 255, 255, 255, 1);
Draw_ColoredString(140, 168, "the undead! Will you accept them?", 255, 255, 255, 255, 1);
break;
case 3:
case 4:
menu_custom = Draw_CachePic("gfx/menu/custom");
Draw_StretchPic(195, 40, menu_custom, 175, 100);
Draw_ColoredString(140, 148, "Custom Maps made by Community", 255, 255, 255, 255, 1);
@ -857,13 +872,24 @@ void M_SinglePlayer_Key (int key)
if (sv.active)
Cbuf_AddText ("disconnect\n");
Cbuf_AddText ("maxplayers 1\n");
Cbuf_AddText ("map warehouse\n");
Cbuf_AddText ("map nzp_warehouse2\n");
loadingScreen = 1;
loadname2 = "warehouse";
loadname2 = "nzp_warehouse2";
loadnamespec = "Warehouse";
break;
case 2:
key_dest = key_game;
if (sv.active)
Cbuf_AddText ("disconnect\n");
Cbuf_AddText ("maxplayers 1\n");
Cbuf_AddText ("map nzp_warehouse\n");
loadingScreen = 1;
loadname2 = "nzp_warehouse";
loadnamespec = "Warehouse (Classic)";
break;
case 3:
key_dest = key_game;
if (sv.active)
Cbuf_AddText ("disconnect\n");
@ -874,10 +900,10 @@ void M_SinglePlayer_Key (int key)
loadnamespec = "Christmas Special";
break;
case 3:
case 4:
M_Menu_CustomMaps_f ();
break;
case 4:
case 5:
M_Menu_Main_f ();
break;
}