Devilution
Diablo devolved - magic behind the 1996 computer game
|
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
#include "../DiabloUI/diabloui.h"
#include <config.h>
Go to the source code of this file.
Functions | |
void | FreeGameMem () |
BOOL | StartGame (BOOL bNewGame, BOOL bSinglePlayer) |
void | finish_simulated_mouse_clicks (int current_mouse_x, int current_mouse_y) |
void | plrctrls_after_check_curs_move () |
static bool | ProcessInput () |
void | run_game_loop (unsigned int uMsg) |
void | start_game (unsigned int uMsg) |
void | free_game () |
void | diablo_init () |
void | diablo_splash () |
void | diablo_deinit () |
void | diablo_quit (int exitStatus) |
int | DiabloMain (int argc, char **argv) |
static void | print_help_and_exit () |
void | diablo_parse_flags (int argc, char **argv) |
void | diablo_init_screen () |
BOOL | PressEscKey () |
static void | GetMousePos (LPARAM lParam) |
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 () |
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 | plrctrls_after_game_logic () |
void | game_logic () |
void | timeout_cursor (BOOL bTimeout) |
void | diablo_color_cyc_logic () |
Variables | |
DEVILUTION_BEGIN_NAMESPACE 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 |
int | DebugMonsters [10] |
BOOLEAN | cineflag |
int | force_redraw |
BOOL | visiondebug |
BOOL | scrollflag |
unused More... | |
BOOL | light4flag |
BOOL | leveldebug |
BOOL | monstdebug |
BOOL | trigdebug |
unused More... | |
int | setseed |
int | debugmonsttypes |
int | PauseMode |
int | sgnTimeoutCurs |
char | sgbMouseDown |
int | color_cycle_timer |
BOOL | fullscreen = TRUE |
Specifies whether to give the game exclusive access to the screen, as needed for efficient rendering in fullscreen mode. More... | |
int | showintrodebug = 1 |
int | frameflag |
int | frameend |
int | framerate |
int | framestart |
BOOL | FriendlyMode = TRUE |
Specifies whether players are in non-PvP mode. More... | |
char * | spszMsgTbl [4] |
Default quick messages. More... | |
char * | spszMsgHotKeyTbl [4] = { "F9", "F10", "F11", "F12" } |
INI files variable names for quick message keys. More... | |
BOOL | was_archives_init = false |
To know if these things have been done when we get to the diablo_deinit() function. More... | |
BOOL | was_ui_init = false |
BOOL | was_snd_init = false |
BOOL | was_sfx_init = false |
Implementation of the main game initialization functions.
Definition in file diablo.cpp.