Definition in file tilefield.c.
#include "crogue.h"
Go to the source code of this file.
Functions | |
| void | _UI_TF_DrawTile (int x, int y, UI_TF_TileInfo tile) |
| void | UI_TF_MoveCamera (int x, int y) |
| void | UI_TF_PlaceCamera (int x, int y) |
| void | UI_TF_Scroll (int x, int y) |
| void | UI_TF_Init (coord size) |
| void | UI_TF_Place (coord pos, coord window, const uchar *graphics, uchar tileheight, uchar tilewidth) |
| void | UI_TF_Deinit (void) |
| void | UI_TF_PutTile (int x, int y, uchar tnum, uchar lighting) |
| void | UI_TF_FullRedraw () |
| void | UI_TF_DrawEffect (sshort x, sshort y, ushort tnum) |
| void | UI_TF_ClearEffects (void) |
Variables | |
| UI_Tilefield | tf |
|
||||||||||||||||
|
Definition at line 196 of file tilefield.c. References DEFAULT_COLOR, Graph_ClearRect(), Graph_DrawChar(), UI_Tilefield::graphics, UI_TF_TileInfo::lighting, LIGHTING_DARK, LIGHTING_LIT, LIGHTING_UNEXPLORED, OPTION_GRAY_ON, OPTION_GRAYSCALE, world::options, UI_Tilefield::pos, tf, UI_TF_TileInfo::tile, UI_Tilefield::tileheight, tiles, UI_Tilefield::tilewidth, uchar, w, coord::x, and coord::y. Referenced by UI_TF_DrawEffect(), and UI_TF_PutTile(). |
|
|
Definition at line 313 of file tilefield.c. References UI_TF_FullRedraw(). |
|
|
Definition at line 127 of file tilefield.c. Referenced by cleanup(). |
|
||||||||||||||||
|
Definition at line 290 of file tilefield.c. References _UI_TF_DrawTile(), tile::flags, UI_TF_TileInfo::lighting, LIGHTING_DARK, LIGHTING_LIT, LIGHTING_UNEXPLORED, world::t, tf, TFLAG_EXPLORED, TFLAG_LIT, UI_TF_TileInfo::tile, UI_Tilefield::viewoffset, w, coord::x, and coord::y. |
|
|
Definition at line 167 of file tilefield.c. References clear_line, draw_tile(), UI_Tilefield::pos, tf, UI_Tilefield::viewoffset, UI_Tilefield::window, coord::x, and coord::y. Referenced by full_redraw(), UI_TF_ClearEffects(), UI_TF_MoveCamera(), and UI_TF_Scroll(). |
|
|
Definition at line 95 of file tilefield.c. References COORD, UI_Tilefield::full_pos, UI_Tilefield::full_window, UI_Tilefield::pos, UI_Tilefield::size, tf, UI_Tilefield::viewoffset, UI_Tilefield::window, coord::x, and coord::y. Referenced by initialize(), resize_map_store(), and UI_TF_Place(). |
|
||||||||||||
|
Definition at line 30 of file tilefield.c. References max(), sint, UI_Tilefield::size, tf, UI_TF_FullRedraw(), uint, UI_Tilefield::viewoffset, UI_Tilefield::window, coord::x, and coord::y. Referenced by plr_move(), and plr_moveto(). |
|
||||||||||||||||||||||||
|
Definition at line 114 of file tilefield.c. References UI_Tilefield::full_pos, UI_Tilefield::full_window, UI_Tilefield::graphics, UI_Tilefield::size, tf, UI_Tilefield::tileheight, UI_Tilefield::tilewidth, and UI_TF_Init(). Referenced by init_layout(). |
|
||||||||||||
|
Definition at line 59 of file tilefield.c. References max(), sint, UI_Tilefield::size, tf, UI_Tilefield::viewoffset, UI_Tilefield::window, coord::x, and coord::y. Referenced by enter_map(). |
|
||||||||||||||||||||
|
Definition at line 132 of file tilefield.c. References _UI_TF_DrawTile(), UI_TF_TileInfo::lighting, tf, UI_TF_TileInfo::tile, UI_Tilefield::viewoffset, UI_Tilefield::window, coord::x, and coord::y. Referenced by draw_tile(). |
|
||||||||||||
|
Definition at line 71 of file tilefield.c. References message(), UI_Tilefield::size, tf, world::time, UI_TF_FullRedraw(), UI_Tilefield::viewoffset, w, UI_Tilefield::window, coord::x, and coord::y. Referenced by plr_move(). |
|
|
Definition at line 27 of file tilefield.c. Referenced by _UI_TF_DrawTile(), UI_TF_DrawEffect(), UI_TF_FullRedraw(), UI_TF_Init(), UI_TF_MoveCamera(), UI_TF_Place(), UI_TF_PlaceCamera(), UI_TF_PutTile(), and UI_TF_Scroll(). |
1.3.6