mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-05 16:50:57 +00:00
150ddded12
"statusbarflags" is a bitfield. Values are: STATUSBAR_NONONE = 1 STATUSBAR_NOMINI = 2 STATUSBAR_NOFULL = 4 STATUSBAR_NOSHRINK = 8 STATUSBAR_NOFRAGBAR = 16 STATUSBAR_NOOVERLAY = 32 STATUSBAR_NOMODERN = 64 Default value is 8. In case you modify it, you also have to set the other status bar related userdefs in EVENT_SETDEFAULTS. Default values in EDuke32 are: screen_size = 4; statusbarmode = 1; althud = 1; "statusbarrange" is used to add more alternatives for the status bar without breaking the option in the menu. If used, the mini status bar (screen_size = 4) will cycle through "statusbarcustom" when changing the screen size. Also fix the size of the viewport when the screen is shrunk and the scale of the status bar is not 100%. Patch from Fox. git-svn-id: https://svn.eduke32.com/eduke32@6587 1a8010ca-5511-0410-912e-c29ae57300e0
64 lines
1.9 KiB
C
64 lines
1.9 KiB
C
//-------------------------------------------------------------------------
|
|
/*
|
|
Copyright (C) 2010 EDuke32 developers and contributors
|
|
|
|
This file is part of EDuke32.
|
|
|
|
EDuke32 is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License version 2
|
|
as published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*/
|
|
//-------------------------------------------------------------------------
|
|
|
|
#ifndef premap_h_
|
|
#define premap_h_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct {
|
|
int32_t x1, y1;
|
|
int32_t xdimen, ydimen;
|
|
} halfdimen_t;
|
|
|
|
extern halfdimen_t g_halfScreen;
|
|
extern int32_t g_halveScreenArea;
|
|
|
|
extern int32_t g_levelTextTime;
|
|
extern int32_t voting,vote_map,vote_episode;
|
|
extern palette_t CrosshairColors;
|
|
void G_SetupFilenameBasedMusic(char *levnamebuf, const char *boardfilename, int levelNum);
|
|
int G_EnterLevel(int gameMode);
|
|
int G_FindLevelByFile(const char *fileName);
|
|
void G_CacheMapData(void);
|
|
void G_FreeMapState(int levelNum);
|
|
void G_NewGame(int volumeNum, int levelNum, int skillNum);
|
|
void G_ResetTimers(uint8_t keepgtics);
|
|
void G_SetCrosshairColor(int32_t r,int32_t g,int32_t b);
|
|
void G_UpdateScreenArea(void);
|
|
void G_SetViewportShrink(int32_t dir);
|
|
void P_RandomSpawnPoint(int playerNum);
|
|
void P_ResetInventory(int playerNum);
|
|
void P_ResetPlayer(int playerNum);
|
|
void P_ResetStatus(int playerNum);
|
|
void P_ResetWeapons(int playerNum);
|
|
void G_ClearFIFO(void);
|
|
void G_ResetInterpolations(void);
|
|
extern int32_t fragbarheight(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|