ScummVM API documentation
Ultima::Nuvie::TileManager Class Reference

Public Member Functions

 TileManager (const Configuration *cfg)
 
bool loadTiles ()
 
Tileget_tile (uint16 tile_num)
 
Tileget_anim_base_tile (uint16 tile_num)
 
Tileget_original_tile (uint16 tile_num)
 
void set_tile_index (uint16 tile_index, uint16 tile_num)
 
uint16 get_tile_index (uint16 tile_index) const
 
void set_anim_loop (uint16 tile_num, sint8 loopc, uint8 loop=0)
 
const char * lookAtTile (uint16 tile_num, uint16 qty, bool show_prefix)
 
bool tile_is_stackable (uint16 tile_num)
 
void update ()
 
void update_timed_tiles (uint8 hour)
 
uint8 get_number_of_animations () const
 
uint16 get_numtiles () const
 
uint16 get_anim_tile (uint8 anim_index) const
 
uint16 get_anim_first_frame (uint8 anim_index) const
 
void set_anim_first_frame (uint16 anim_index, uint16 new_start_tile_num)
 
void anim_play_repeated (uint8 anim_index)
 
void anim_stop_playing (uint8 anim_index)
 
Tileget_rotated_tile (const Tile *tile, float rotate, uint8 src_y_offset=0)
 
void get_rotated_tile (const Tile *tile, Tile *dest_tile, float rotate, uint8 src_y_offset=0)
 
Tileget_cursor_tile ()
 
Tileget_use_tile ()
 
const Tileget_gump_cursor_tile ()
 
TileloadCustomTiles (const Common::Path &filename, bool overwrite_tiles, bool copy_tileflags, uint16 tile_num_start_offset)
 
void freeCustomTiles ()
 
void exportTilesetToBmpFile (const Common::Path &filename, bool fixupU6Shoreline=true)
 

Protected Member Functions

bool loadAnimData ()
 
bool loadTileFlag ()
 
void decodePixelBlockTile (const unsigned char *tile_data, uint16 tile_num)
 
bool loadAnimMask ()
 

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