#include <agi.h>
Public Member Functions | |
const char * | getString (int number) |
void | setString (int number, const char *str) |
void | setSpeedLevel (byte s) |
Public Attributes | |
AgiEngine * | _vm |
int | adjMouseX |
int | adjMouseY |
char | id [8] |
uint32 | crc |
uint8 | flags [(256 >> 3)] |
uint8 | vars [256] |
int16 | horizon |
bool | cycleInnerLoopActive |
int16 | cycleInnerLoopType |
int16 | curLogicNr |
Common::Array< ScriptPos > | execStack |
bool | playerControl |
bool | exitAllLogics |
bool | pictureShown |
AgiBlock | block |
bool | gfxMode |
unsigned int | numObjects |
bool | controllerOccurred [256] |
AgiControllerKeyMapping | controllerKeyMapping [39] |
char | strings [24+1][40] |
AgiDir | dirLogic [256] |
AgiDir | dirPic [256] |
AgiDir | dirView [256] |
AgiDir | dirSound [256] |
AgiPicture | pictures [256] |
AgiLogic | logics [256] |
AgiView | views [256] |
AgiSound * | sounds [256] |
AgiLogic * | _curLogic |
ScreenObjEntry | screenObjTable [255] |
ScreenObjEntry | addToPicView |
bool | automaticSave |
char | automaticSaveDescription [30+1] |
Common::Rect | mouseFence |
bool | mouseEnabled |
bool | mouseHidden |
bool | predictiveDlgOnMouseClick |
bool | testResult |
int | max_logics |
int | logic_list [256] |
bool | nonBlockingTextShown |
int16 | nonBlockingTextCyclesLeft |
bool | automaticRestoreGame |
byte | speedLevel |
uint16 | appleIIgsSpeedControllerSlot |
AGI game structure. This structure contains all global data of an AGI game executed by the interpreter.
void Agi::AgiGame::setSpeedLevel | ( | byte | s | ) |
Sets the speed level and displays a message box.
int Agi::AgiGame::adjMouseX |
last given adj.ego.move.to.x.y-command's 1st parameter
int Agi::AgiGame::adjMouseY |
last given adj.ego.move.to.x.y-command's 2nd parameter
char Agi::AgiGame::id[8] |
game id
uint32 Agi::AgiGame::crc |
game CRC
uint8 Agi::AgiGame::flags[(256 >> 3)] |
256 1-bit flags combined into a total of 32 bytes
uint8 Agi::AgiGame::vars[256] |
256 variables
int16 Agi::AgiGame::horizon |
horizon y coordinate
int16 Agi::AgiGame::curLogicNr |
current logic number
bool Agi::AgiGame::playerControl |
player is in control
bool Agi::AgiGame::exitAllLogics |
break cycle after new.room
bool Agi::AgiGame::pictureShown |
show.pic has been issued
bool Agi::AgiGame::controllerOccurred[256] |
keyboard keypress events
char Agi::AgiGame::strings[24+1][40] |
strings
AgiPicture Agi::AgiGame::pictures[256] |
AGI picture resources
AgiLogic Agi::AgiGame::logics[256] |
AGI logic resources
AgiView Agi::AgiGame::views[256] |
AGI view resources
AgiSound* Agi::AgiGame::sounds[256] |
Pointers to AGI sound resources
bool Agi::AgiGame::automaticSave |
set by CmdSetSimple()
Common::Rect Agi::AgiGame::mouseFence |
rectangle set by fence.mouse command
bool Agi::AgiGame::mouseEnabled |
if mouse is supposed to be active
bool Agi::AgiGame::mouseHidden |
if mouse is currently hidden
bool Agi::AgiGame::predictiveDlgOnMouseClick |
if predictive dialog is enabled for mouse clicks
byte Agi::AgiGame::speedLevel |
Current game speed for certain platforms/versions