mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
This commit is contained in:
commit
257f48de97
8 changed files with 5 additions and 32 deletions
|
@ -404,16 +404,6 @@ public:
|
||||||
double CrosshairSize;
|
double CrosshairSize;
|
||||||
double Displacement;
|
double Displacement;
|
||||||
|
|
||||||
enum
|
|
||||||
{
|
|
||||||
imgLAME = 0,
|
|
||||||
imgNEGATIVE = 1,
|
|
||||||
imgINumbers = 2,
|
|
||||||
imgBNEGATIVE = 12,
|
|
||||||
imgBNumbers = 13,
|
|
||||||
imgSmNumbers = 23,
|
|
||||||
NUM_BASESB_IMAGES = 33
|
|
||||||
};
|
|
||||||
FImageCollection Images;
|
FImageCollection Images;
|
||||||
|
|
||||||
player_t *CPlayer;
|
player_t *CPlayer;
|
||||||
|
|
|
@ -54,7 +54,6 @@
|
||||||
#include "v_palette.h"
|
#include "v_palette.h"
|
||||||
#include "p_acs.h"
|
#include "p_acs.h"
|
||||||
#include "gstrings.h"
|
#include "gstrings.h"
|
||||||
#include "version.h"
|
|
||||||
#include "cmdlib.h"
|
#include "cmdlib.h"
|
||||||
#include "g_levellocals.h"
|
#include "g_levellocals.h"
|
||||||
|
|
||||||
|
|
|
@ -181,18 +181,6 @@ class DStrifeStatusBar : public DBaseStatusBar
|
||||||
public:
|
public:
|
||||||
DStrifeStatusBar () : DBaseStatusBar (32)
|
DStrifeStatusBar () : DBaseStatusBar (32)
|
||||||
{
|
{
|
||||||
static const char *sharedLumpNames[] =
|
|
||||||
{
|
|
||||||
NULL, NULL, "INVFONY0", "INVFONY1", "INVFONY2",
|
|
||||||
"INVFONY3", "INVFONY4", "INVFONY5", "INVFONY6", "INVFONY7",
|
|
||||||
"INVFONY8", "INVFONY9", NULL, NULL, NULL,
|
|
||||||
NULL, NULL, NULL, NULL, NULL,
|
|
||||||
NULL, NULL, NULL, "INVFONG0", "INVFONG1",
|
|
||||||
"INVFONG2", "INVFONG3", "INVFONG4", "INVFONG5", "INVFONG6",
|
|
||||||
"INVFONG7", "INVFONG8", "INVFONG9"
|
|
||||||
};
|
|
||||||
|
|
||||||
DBaseStatusBar::Images.Init (sharedLumpNames, NUM_BASESB_IMAGES);
|
|
||||||
DoCommonInit ();
|
DoCommonInit ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -296,10 +284,11 @@ private:
|
||||||
"INVFONY0", "INVFONY1", "INVFONY2", "INVFONY3", "INVFONY4",
|
"INVFONY0", "INVFONY1", "INVFONY2", "INVFONY3", "INVFONY4",
|
||||||
"INVFONY5", "INVFONY6", "INVFONY7", "INVFONY8", "INVFONY9",
|
"INVFONY5", "INVFONY6", "INVFONY7", "INVFONY8", "INVFONY9",
|
||||||
"INVFONY%",
|
"INVFONY%",
|
||||||
"I_COMM", "I_MDKT", "I_ARM1", "I_ARM2"
|
"I_COMM", "I_MDKT", "I_ARM1", "I_ARM2", nullptr
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Images.Init (strifeLumpNames, NUM_STRIFESB_IMAGES);
|
Images.Init (strifeLumpNames, countof(strifeLumpNames));
|
||||||
|
|
||||||
CursorImage = Images[imgINVCURS] != NULL ? imgINVCURS : imgCURSOR01;
|
CursorImage = Images[imgINVCURS] != NULL ? imgINVCURS : imgCURSOR01;
|
||||||
|
|
||||||
|
@ -829,8 +818,8 @@ private:
|
||||||
imgMEDI,
|
imgMEDI,
|
||||||
imgARM1,
|
imgARM1,
|
||||||
imgARM2,
|
imgARM2,
|
||||||
|
imgNEGATIVE,
|
||||||
NUM_STRIFESB_IMAGES
|
imgINumbers = imgFONG0,
|
||||||
};
|
};
|
||||||
|
|
||||||
FImageCollection Images;
|
FImageCollection Images;
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
#include "doomtype.h"
|
#include "doomtype.h"
|
||||||
#include "m_argv.h"
|
#include "m_argv.h"
|
||||||
#include "zstring.h"
|
#include "zstring.h"
|
||||||
#include "version.h"
|
|
||||||
#include "i_system.h"
|
#include "i_system.h"
|
||||||
#include "v_text.h"
|
#include "v_text.h"
|
||||||
#include "r_utility.h"
|
#include "r_utility.h"
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
#include "r_data/r_translate.h"
|
#include "r_data/r_translate.h"
|
||||||
#include "c_cvars.h"
|
#include "c_cvars.h"
|
||||||
#include "v_font.h"
|
#include "v_font.h"
|
||||||
#include "version.h"
|
|
||||||
#include "textures/textures.h"
|
#include "textures/textures.h"
|
||||||
|
|
||||||
EXTERN_CVAR(Float, snd_menuvolume)
|
EXTERN_CVAR(Float, snd_menuvolume)
|
||||||
|
|
|
@ -52,7 +52,6 @@
|
||||||
#include "backend/codegen.h"
|
#include "backend/codegen.h"
|
||||||
#include "w_wad.h"
|
#include "w_wad.h"
|
||||||
#include "v_video.h"
|
#include "v_video.h"
|
||||||
#include "version.h"
|
|
||||||
#include "v_text.h"
|
#include "v_text.h"
|
||||||
#include "m_argv.h"
|
#include "m_argv.h"
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,6 @@
|
||||||
#include "i_system.h"
|
#include "i_system.h"
|
||||||
#include "colormatcher.h"
|
#include "colormatcher.h"
|
||||||
#include "backend/codegen.h"
|
#include "backend/codegen.h"
|
||||||
#include "version.h"
|
|
||||||
#include "templates.h"
|
#include "templates.h"
|
||||||
#include "backend/vmbuilder.h"
|
#include "backend/vmbuilder.h"
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,6 @@
|
||||||
#include "i_system.h"
|
#include "i_system.h"
|
||||||
#include "gdtoa.h"
|
#include "gdtoa.h"
|
||||||
#include "backend/vmbuilder.h"
|
#include "backend/vmbuilder.h"
|
||||||
#include "version.h"
|
|
||||||
|
|
||||||
static int GetIntConst(FxExpression *ex, FCompileContext &ctx)
|
static int GetIntConst(FxExpression *ex, FCompileContext &ctx)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue