ScummVM API documentation
M4::Vars Class Referenceabstract
Inheritance diagram for M4::Vars:
M4::Mouse_Globals M4::Burger::Vars M4::Riddle::Vars

Public Member Functions

bool init ()
 
virtual InterfacegetInterface ()=0
 
virtual WalkergetWalker ()=0
 
virtual HotkeysgetHotkeys ()=0
 
virtual void global_menu_system_init ()=0
 
virtual void initialize_game ()=0
 

Public Attributes

Events _events
 
MouseInfo_MouseState = _events
 
GameControl _game
 
Kernel _kernel
 
Term _term
 
Hag_Statics _hag
 
SceneDef _currentSceneDef
 
Scene_list _scene_list
 
frac16 _globals [GLB_SHARED_VARS]
 
Player _player
 
PlayerInfo _player_info
 
Resources _resources
 
Rails_Globals _rails
 
Catalog _catalog
 
Dialog_Globals _dialog
 
Item_Globals _items
 
Converstation_Globals _conversations
 
WS_Globals _ws
 
Triggers _triggers
 
Sound::Digi _digi
 
Sound::Midi _midi
 
KernelPal_Globals _krnPal
 
ADVScale_Globals _scale
 
ConvDisplayData _cdd
 
Rend_Globals _rend
 
const bool _cheating_enabled = true
 
Font_system_font = nullptr
 
Font_font_line = nullptr
 
Font_font_tiny_prop = nullptr
 
Font_font_tiny = nullptr
 
Font_font_inter = nullptr
 
Font_font_conv = nullptr
 
Font_font_menu = nullptr
 
Font_font_misc = nullptr
 
Font_interfaceFont = nullptr
 
Font_font = nullptr
 
bool _system_shutting_down = false
 
InventoryBase_inventory = nullptr
 
size_t _mem_to_alloc = 0
 
GrBuff_screenCodeBuff = nullptr
 
GrBuff_game_bgBuff = nullptr
 
GrBuff_gameDrawBuff = nullptr
 
GrBuff_gameInterfaceBuff = nullptr
 
void * _custom_interface_setup = nullptr
 
void * _custom_interface_button_handler = nullptr
 
int _global_sound_room = 0
 
CursorChange _toggle_cursor = CURSCHANGE_NONE
 
bool _i_just_hyperwalked = false
 
void(* _custom_ascii_converter )(char *string) = nullptr
 
bool _vmng_Initted = false
 
ScreenContext_frontScreen = nullptr
 
ScreenContext_backScreen = nullptr
 
ScreenContext_inactiveScreens = nullptr
 
Hotkey_systemHotkeys = nullptr
 
int32 _memtypeSCRN = 0
 
int32 _memtypeMATTE = 0
 
int32 _memtypeRECT = 0
 
int32 _sizeMem [_MEMTYPE_LIMIT]
 
int32 _requests [_MEMTYPE_LIMIT]
 
void * _memBlock [_MEMTYPE_LIMIT]
 
RGB8 _master_palette [256]
 
RGB8 _backup_palette [256]
 
bool _pal_fade_in_progress = false
 
strmRequest_firstStream = nullptr
 
strmRequest_lastStream = nullptr
 
InvPal_inverse_pal = nullptr
 
int32 _inv_obj_mem_type = 0
 
bool _currScreen = false
 
ScreenContext_eventToScreen = nullptr
 
byte _color = 0
 
Dialog_mousePosDialog = nullptr
 
bool _showMousePos = false
 
bool _inv_suppress_click_sound = false
 
bool _between_rooms = false
 
bool _completeWalk = false
 
const char * _art_base_override = nullptr
 
bool _use_alternate_attribute_file = false
 
bool _camera_reacts_to_player = false
 
bool _set_commands_allowed_since_last_checked = false
 
SceneDef_myDef = nullptr
 
Common::String _def_filename
 
Common::String _currBackgroundFN
 
Common::String _currCodeFN
 
ScreenContext_game_buff_ptr = nullptr
 
machine_my_walker = nullptr
 
uint32 _editors_in_use = 0
 
bool _editor_showStats = false
 
bool _shut_down_digi_tracks_between_rooms = false
 
cursor_states _cursor_state = kARROW
 
int _iPitch = 0
 
bool _hyperwalk = false
 
- Public Attributes inherited from M4::Mouse_Globals
ScreenContext_mouseScreen = nullptr
 
transSprite_mouseScreenSource = nullptr
 
Buffer _mouseBuffer
 
Common::String _mouseSeriesResource
 
MemHandle _mouseSeriesHandle = nullptr
 
int32 _mouseSeriesOffset = 0
 
int32 _mouseSeriesPalOffset = 0
 
M4sprite_mouseSprite = nullptr
 
int32 _mouseX1offset = 0
 
int32 _mouseY1offset = 0
 
int32 _mouseX2offset = 0
 
int32 _mouseY2offset = 0
 
int32 _currMouseNum = 0
 
bool _mouseIsLocked = false
 
int32 _newMouseNum = 0
 
int32 _hideMouseX1 = MIN_VIDEO_X - 1
 
int32 _hideMouseY1 = MIN_VIDEO_Y - 1
 
int32 _hideMouseX2 = MIN_VIDEO_X - 1
 
int32 _hideMouseY2 = MIN_VIDEO_Y - 1
 
int32 _showMouseX1 = MIN_VIDEO_X
 
int32 _showMouseY1 = MIN_VIDEO_Y
 
int32 _showMouseX2 = MAX_VIDEO_X
 
int32 _showMouseY2 = MAX_VIDEO_Y
 
int32 _mouseX = MAX_VIDEO_X >> 1
 
int32 _mouseY = MAX_VIDEO_Y >> 1
 
int32 _oldX = MAX_VIDEO_X >> 1
 
int32 _oldY = MAX_VIDEO_Y >> 1
 

Protected Member Functions

void initMouseSeries (const Common::String &assetName, RGB8 *myPalette)
 
virtual void main_cold_data_init ()=0
 

The documentation for this class was generated from the following file: