#include <data.h>
Public Member Functions | |
void | resetChapter2Data () |
void | reset () |
bool | getFlag (GlobalFlag flag) const |
void | setFlag (GlobalFlag flag, bool state) |
void | saveLoadAmbientSoundData (Common::Serializer &s) |
void | saveLoadWithSerializer (Common::Serializer &s) |
uint32 | getAmbientTick (uint32 index) const |
void | setAmbientTick (uint32 index, uint32 val) |
uint32 | getAmbientFlag (uint32 index) const |
void | setAmbientFlag (uint32 index, uint32 val) |
void | resetAmbientFlags () |
ActorIndex | getPlayerIndex () |
void | setPlayerIndex (ActorIndex index) |
Common::Point | getGlobalPoint () |
void | setGlobalPoint (const Common::Point &point) |
Common::Point | getSceneCoords () |
void | setSceneCoords (const Common::Point &point) |
int16 | getSceneOffset () |
void | setSceneOffset (int16 sceneOffset) |
int16 | getSceneOffsetAdd () |
void | setSceneOffsetAdd (int16 sceneOffsetAdd) |
void | saveCursorResources (ResourceId *resources, uint32 size) |
void | loadCursorResources (ResourceId *resources, uint32 size) const |
void | saveSceneFonts (ResourceId font1, ResourceId font2, ResourceId font3) |
void | loadSceneFonts (ResourceId *font1, ResourceId *font2, ResourceId *font3) const |
void | saveSmallCursor (int32 smallCurUp, int32 smallCurDown) |
void | loadSmallCursor (int32 *smallCurUp, int32 *smallCurDown) const |
void | saveEncounterFrameBackground (ResourceId encounterFrameBg) |
void | loadEncounterFrameBackground (ResourceId *encounterFrameBg) |
int32 | getMatteVar1 () const |
void | setMatteVar1 (int32 val) |
uint32 | getMatteVar2 () const |
void | setMatteVar2 (uint32 val) |
int16 | getMatteBarHeight () const |
void | setMatteBarHeight (int16 val) |
bool | getMatteInitialized () const |
void | setMatteInitialized (bool val) |
bool | getMattePlaySound () const |
void | setMattePlaySound (bool val) |
void | setChapter2Counter (uint32 index, int32 val) |
int32 | getChapter2Counter (uint32 index) const |
int32 | getChapter2FrameIndexOffset () const |
void | setChapter2FrameIndexOffset (int32 val) |
ActorIndex | getChapter2ActorIndex () const |
void | setChapter2ActorIndex (ActorIndex val) |
int32 | getActorUpdateStatusEnabledCounter () |
void | setActorUpdateStatusEnabledCounter (int32 val) |
int32 | getEventUpdate () |
void | setEventUpdate (int32 val) |
uint32 | getNextScreenUpdate () |
void | setNextScreenUpdate (uint32 nextScreenUpdate) |
Public Attributes | |
int32 | cdNumber |
uint32 | movieIndex |
uint32 | sceneCounter |
Common::Point | vector1 |
Common::Point | vector2 |
bool | actorEnableForStatus7 |
ActorDirection | globalDirection |
CrowsData | crowsData |
uint32 {1} - actorEnableForStatus7
uint32 {1} - global direction uint32 {1} - lastScreenUpdate
uint32 {1} - actor update counter
uint32 {1} - matte bar height
Lots of data
– Scene data (reset on scene load) uint32 {15} - ambient flags uint32 {15} - ambient ticks uint32 {1} - UNUSED uint32 {1} - UNUSED (scene updateScreen calls count) – Script queue (stored in ScriptManager) uint32 {1} - global Object X uint32 {1} - global Object Y uint32 {1} - Skip script processing flag uint32 {1} - Encounter running flag uint32 {1} - Player ActorIndex uint32 {1} - scene xLeft uint32 {1} - scene yTop uint32 {1} - scene offset uint32 {1} - scene offsetAdd uint32 {1} - UNUSED uint32 {13} - cursor resources uint32 {3} - scene fonts (3) uint32 {5} - Chapter2 actor data (part 1) uint32 {1} - small cursor Up uint32 {1} - small cursor Down uint32 {1} - Encounter frame background uint32 {1} - Flag skip draw scene uint32 {1} - matte var 1 uint32 {1} - actorUpdateEnabledCheck uint32 {1} - matte Initialized uint32 {1} - matte playSound uint32 {1} - currentScreenUpdatesCount uint32 {9} - Chapter2 actor data (part 2) uint32 {1} - Chapter 2 counter 1 uint32 {1} - Chapter 2 counter 2 uint32 {1} - Chapter 2 counter 3 uint32 {1} - Chapter 2 counter 4 uint32 {23} - Chapter2 actor data (part 3) uint32 {1} - Special 2 counter 5 uint32 {1} - Chapter 2 frameIndex Offset uint32 {1} - Chapter 2 Actor index uint32 {1} - Event update flag uint32 {1} - Chapter 2 counter 6 uint32 {1} - Chapter 2 counter 7 uint32 {1} - Chapter 2 counter 8 uint32 {18} - Chapter2 actor data (part 4) uint32 {1} - actorUpdateStatusEnabledCounter uint32 {9} - Chapter2 actor data (part 5) uint32 {1} - Encounter disablePlayerOnExit uint32 {1} - Scene flag 1 uint32 {1} - nextScreenUpdate uint32 {49} - Viewed movies uint32 {1} - actorUpdateStatus15Check – Skip opening movie command line flag (not used) – Encounter flag 3 uint32 {1} - Flag 2 uint32 {1} - Flag Redraw – scripts (reset on scene load) – polygons (reset on scene load)
|
inline |
Return the index of the player actor
|
inline |
Sets the player actor index.
index | index of the player actor |