ScummVM API documentation
Ultima::Ultima3::Data::Arena Struct Reference

#include <arena.h>

Public Member Functions

void load (const char *filename)
 
byte tile (int x, int y) const
 
void setTile (int x, int y, byte value)
 

Public Attributes

byte _tiles [ARENA_SIZE *ARENA_SIZE] = {}
 
byte _monsterX [ARENA_MONSTERS] = {}
 
byte _monsterY [ARENA_MONSTERS] = {}
 
byte _monsterUnder [ARENA_MONSTERS] = {}
 
byte _monsterHp [ARENA_MONSTERS] = {}
 
byte _playerX [ARENA_PLAYERS] = {}
 
byte _playerY [ARENA_PLAYERS] = {}
 
byte _playerUnder [ARENA_PLAYERS] = {}
 
byte _playerTile [ARENA_PLAYERS] = {}
 

Detailed Description

The ground a fight takes place on: an 11x11 area of tiles, the places the monsters may start from, and where each of the party starts out. As the fight goes on it also records who is where, with what they stand on

Member Function Documentation

◆ load()

void Ultima::Ultima3::Data::Arena::load ( const char *  filename)

Loads an arena from a .ULT file


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