ScummVM API documentation
Ultima::Ultima3::Data::Dungeon Class Reference

#include <dungeon.h>

Public Member Functions

void load (const char *filename)
 
void synchronize (Common::Serializer &s)
 
byte tile (int level, int x, int y) const
 
void setTile (int level, int x, int y, byte value)
 
const char * sign (int level) const
 

Detailed Description

A dungeon: eight levels of 16x16 squares, and the signs that are on them

Member Function Documentation

◆ load()

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

Loads a dungeon from a .ULT file

◆ tile()

byte Ultima::Ultima3::Data::Dungeon::tile ( int  level,
int  x,
int  y 
) const
inline

Returns a square. The coordinates wrap around the level

◆ sign()

const char * Ultima::Ultima3::Data::Dungeon::sign ( int  level) const

Returns what the sign on a level says, or null if there isn't one


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