Devilution
Diablo devolved - magic behind the 1996 computer game
Functions | Variables
diablo.h File Reference

Go to the source code of this file.

Functions

void FontsCleanup ()
 
void FreeGameMem ()
 
BOOL StartGame (BOOL bNewGame, BOOL bSinglePlayer)
 
void run_game_loop (unsigned int uMsg)
 
void start_game (unsigned int uMsg)
 
void free_game ()
 
int DiabloMain (int argc, char **argv)
 
void diablo_parse_flags (int argc, char **argv)
 
void diablo_init_screen ()
 
void diablo_reload_process (HINSTANCE hInstance)
 
void diablo_quit (int exitStatus)
 
BOOL PressEscKey ()
 
LRESULT DisableInputWndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
LRESULT GM_Game (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
BOOL LeftMouseDown (int wParam)
 
BOOL LeftMouseCmd (BOOL bShift)
 
BOOL TryIconCurs ()
 
void LeftMouseUp ()
 
void RightMouseDown ()
 
void j_gmenu_on_mouse_move (LPARAM lParam)
 
BOOL PressSysKey (int wParam)
 
void diablo_hotkey_msg (DWORD dwMsg)
 
void ReleaseKey (int vkey)
 
void PressKey (int vkey)
 
void diablo_pause_game ()
 
void PressChar (int vkey)
 
void LoadLvlGFX ()
 
void LoadAllGFX ()
 
void CreateLevel (int lvldir)
 
void LoadGameLevel (BOOL firstflag, int lvldir)
 
void game_loop (BOOL bStartup)
 
void game_logic ()
 
void timeout_cursor (BOOL bTimeout)
 
void diablo_color_cyc_logic ()
 

Variables

SDL_Window * ghMainWnd
 
int glMid1Seed [NUMLEVELS]
 
int glMid2Seed [NUMLEVELS]
 
int gnLevelTypeTbl [NUMLEVELS]
 
int MouseY
 
int MouseX
 
BOOL gbGameLoopStartup
 
DWORD glSeedTbl [NUMLEVELS]
 
BOOL gbRunGame
 
int glMid3Seed [NUMLEVELS]
 
BOOL gbRunGameResult
 
BOOL zoomflag
 
BOOL gbProcessPlayers
 
int glEndSeed [NUMLEVELS]
 
BOOL gbLoadGame
 
HINSTANCE ghInst
 
int DebugMonsters [10]
 
BOOLEAN cineflag
 
int force_redraw
 
BOOL visiondebug
 
BOOL was_fonts_init
 
BOOL scrollflag
 unused More...
 
BOOL light4flag
 
BOOL leveldebug
 
BOOL monstdebug
 
BOOL trigdebug
 unused More...
 
int setseed
 
int debugmonsttypes
 
int PauseMode
 
char sgbMouseDown
 
int color_cycle_timer
 
BOOL fullscreen
 Specifies whether to give the game exclusive access to the screen, as needed for efficient rendering in fullscreen mode. More...
 
int showintrodebug
 
int frameflag
 
int frameend
 
int framerate
 
int framestart
 
BOOL FriendlyMode
 Specifies whether players are in non-PvP mode. More...
 
char * spszMsgTbl [4]
 Default quick messages. More...
 
char * spszMsgHotKeyTbl [4]
 INI files variable names for quick message keys. More...
 

Detailed Description

Interface of the main game initialization functions.

Definition in file diablo.h.