ScummVM API documentation
MM::MM1::Maps::Map31 Class Reference
Inheritance diagram for MM::MM1::Maps::Map31:
MM::MM1::Maps::MapDesert MM::MM1::Maps::Map MM::MM1::Game::GameLogic

Public Member Functions

void special () override
 
void encounter ()
 
void hostile ()
 
void neutral ()
 
void friendly ()
 
- Public Member Functions inherited from MM::MM1::Maps::MapDesert
 MapDesert (uint index, const Common::String &name, uint16 id, byte defaultSection, int deadCountOffset, RandomMode rndMode)
 
bool mappingAllowed () const override
 
- Public Member Functions inherited from MM::MM1::Maps::Map
void encounter (const byte *id1, const byte *id2)
 
 Map (uint index, const Common::String &name, uint16 id, byte defaultSection, const char *desc=nullptr)
 
virtual void load ()
 
Common::String getName () const
 
Common::String getDescription () const
 
uint16 getId () const
 
byte getDefaultSection () const
 
const byte & operator[] (uint ofs) const
 
byte & operator[] (uint ofs)
 
byte dataByte (uint ofs) const
 
uint16 dataWord (uint16 ofs) const
 
void dataWord (uint16 ofs, uint16 val)
 
bool checkPartyDead ()
 
template<class T >
bool send (const T &msg)
 
template<class T >
bool send (const Common::String &name, const T &msg)
 
uint getMapIndex () const
 
void unlockDoor ()
 
void visitedSpecial ()
 
void visitedExit ()
 
void visitedBusiness ()
 

Additional Inherited Members

- Static Public Member Functions inherited from MM::MM1::Maps::Map
static void reduceHP ()
 
static void none160 ()
 
static void updateGame ()
 
static void redrawGame ()
 
- Static Public Member Functions inherited from MM::MM1::Game::GameLogic
static int getRandomNumber (int minNumber, int maxNumber)
 
static int getRandomNumber (int maxNumber)
 
- Public Attributes inherited from MM::MM1::Maps::Map
byte _walls [(16 *16)]
 
byte _states [(16 *16)]
 
uint8 _visited [(16 *16)]
 
- Protected Types inherited from MM::MM1::Maps::MapDesert
enum  RandomMode { RND_BASIC, RND_FULL }
 
- Protected Member Functions inherited from MM::MM1::Maps::MapDesert
void desert ()
 
- Protected Attributes inherited from MM::MM1::Maps::Map
Common::String _name
 
Common::String _description
 
uint16 _id
 
uint _mapIndex
 
byte _defaultSection
 
Common::Array< byte > _data
 

Member Function Documentation

◆ special()

void MM::MM1::Maps::Map31::special ( )
overridevirtual

Handles all special stuff that happens on the map

Implements MM::MM1::Maps::Map.

◆ encounter()

void MM::MM1::Maps::Map31::encounter ( )

Starts an encounter

◆ hostile()

void MM::MM1::Maps::Map31::hostile ( )

Called if you attack the alien

◆ neutral()

void MM::MM1::Maps::Map31::neutral ( )

Called if you specify neutral for alien

◆ friendly()

void MM::MM1::Maps::Map31::friendly ( )

Called if you select to act friendly to the alien


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