22 #include "cryo/cryolib.h" 29 #define getElem(array, idx) \ 30 ( (char *)(array) + READ_LE_UINT16((idx) * 2 + (char *)(array)) ) 73 #define MKRM(a,l) (((a) << 8) | (l)) 245 pidChongOfChamaar = pidLeadersBegin,
249 pidMarindaOfEmbalmers,
261 namespace PersonMask {
281 namespace PersonFlags {
307 #include "common/pack-start.h" 325 _roomNum = _actionId = _partyMask = 0;
326 _id = _flags = _roomBankId = _spriteBank = 0;
327 _items = _powers = 0;
328 _targetLoc = _lastLoc = _speed = _steps = 0;
332 namespace ObjectFlags {
339 #define MAX_OBJECTS 42 351 _itemMask = _powerMask = 0;
356 namespace DialogFlags {
364 namespace DialogType {
379 int8 _textCondHiMask;
388 int16 _backgroundBankNum;
419 byte _arriveVideoNum;
422 namespace RoomFlags {
444 byte _backgroundBankNum;
447 namespace AreaFlags {
456 HasTriceraptors = 0x100,
457 HasVelociraptors = 0x200,
460 TyrannSighted = 0x4000,
477 uint16 _firstRoomIdx;
480 Room *_citadelRoomPtr;
485 _flags = _firstRoomIdx = 0;
486 _citadelLevel = _placeNum = 0;
487 _citadelRoomPtr =
nullptr;
492 namespace ValleyNews {
496 vnTriceraptorsIn = 0x10,
497 vnVelociraptorsIn = 0x20,
500 vnCitadelLost = 0x50,
501 vnVelociraptorsLost = 0x60,
509 namespace DisplayFlags {
522 namespace DrawFlags {
533 namespace MenuFlags {
575 namespace GameFlags {
589 gfPrismAndMonk = 0x800,
599 byte _areaVisitCount;
602 uint16 _randomNumber;
606 uint16 _eloiDepartureDay;
610 uint16 _metPersonsMask1;
612 uint16 _partyOutside;
613 uint16 _metPersonsMask2;
615 uint16 _phaseActionsCount;
616 uint16 _curAreaFlags;
617 uint16 _curItemsMask;
618 uint16 _curPowersMask;
619 uint16 _curPersoItems;
620 uint16 _curCharacterPowers;
621 uint16 _wonItemsMask;
622 uint16 _wonPowersMask;
623 uint16 _stepsToFindAppleFast;
624 uint16 _stepsToFindAppleNormal;
625 uint16 _roomPersoItems;
626 uint16 _roomCharacterPowers;
629 uint16 _morkusSpyVideoNum1;
630 uint16 _morkusSpyVideoNum2;
631 uint16 _morkusSpyVideoNum3;
632 uint16 _morkusSpyVideoNum4;
635 byte _videoSubtitleIndex;
636 byte _partyInstruments;
643 byte _worldTyranSighted;
647 byte _worldHasTriceraptors;
648 byte _worldHasVelociraptors;
659 byte _curCitadelLevel;
667 byte _curObjectFlags;
669 byte _roomCharacterType;
670 byte _roomCharacterFlags;
671 byte _narratorSequence;
677 byte _labyrinthDirections;
682 Dialog *_narratorDialogPtr;
685 byte *_sentenceBufferPtr;
690 Room *_citaAreaFirstRoom;
695 byte *_persoSpritePtr;
696 byte *_persoSpritePtr2;
697 byte *_curCharacterAnimPtr;
700 int16 _curObjectCursor;
703 int16 _characterImageBank;
705 uint16 _characterBackgroundBankIdx;
707 uint16 _frescoeWidth;
708 uint16 _frescoeImgBank;
715 uint16 _currMusicNum;
720 byte _oldDisplayFlags;
732 byte _animationFlags;
740 byte _roomBackgroundBankNum;
742 byte _updatePaletteFlag;
743 byte _inventoryScrollPos;
747 byte _prefMusicVol[2];
748 byte _prefVoiceVol[2];
749 byte _prefSoundVolume[2];
750 byte _citadelAreaNum;
754 int16 _textWidthLimit;
759 #include "common/pack-end.h" 784 for (
int i = 0; i < 8; ++i) {
829 signed short x, y, z;
EventType
Definition: events.h:49
MusicType
Definition: mididrv.h:44