- Added Blzut3's patch for a real Chex Quest game mode.
SVN r1188 (trunk)
This commit is contained in:
parent
62a9958a9a
commit
dbcc246cf3
47 changed files with 969 additions and 126 deletions
|
|
@ -41,6 +41,7 @@ void ABasicArmor::Tick ()
|
|||
{
|
||||
switch (gameinfo.gametype)
|
||||
{
|
||||
case GAME_Chex:
|
||||
case GAME_Doom:
|
||||
Icon = TexMan.CheckForTexture (SavePercent == FRACUNIT/3 ? "ARM1A0" : "ARM2A0", FTexture::TEX_Any);
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -211,6 +211,10 @@ static void ParseLock(FScanner &sc)
|
|||
{
|
||||
if (gameinfo.gametype != GAME_Strife) keynum=-1;
|
||||
}
|
||||
else if (sc.Compare("CHEX"))
|
||||
{
|
||||
if (gameinfo.gametype != GAME_Chex) keynum=-1;
|
||||
}
|
||||
else sc.UnGet();
|
||||
|
||||
ignorekey = true;
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ AAmmo *AWeapon::AddAmmo (AActor *other, const PClass *ammotype, int amount)
|
|||
|
||||
// [BC] This behavior is from the original Doom. Give 5/2 times as much ammo when
|
||||
// we pick up a weapon in deathmatch.
|
||||
if (( deathmatch ) && ( gameinfo.gametype == GAME_Doom ))
|
||||
if (( deathmatch ) && ( gameinfo.gametype & GAME_DoomChex ))
|
||||
amount = amount * 5 / 2;
|
||||
|
||||
// extra ammo in baby mode and nightmare mode
|
||||
|
|
|
|||
|
|
@ -1177,7 +1177,7 @@ void DBaseStatusBar::Draw (EHudState state)
|
|||
{
|
||||
int y, i, time = level.time / TICRATE, height;
|
||||
int totaltime = level.totaltime / TICRATE;
|
||||
EColorRange highlight = (gameinfo.gametype == GAME_Doom) ?
|
||||
EColorRange highlight = (gameinfo.gametype & GAME_DoomChex) ?
|
||||
CR_UNTRANSLATED : CR_YELLOW;
|
||||
|
||||
height = screen->Font->GetHeight () * CleanYfac;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue