#include "chunks.h"
#include "chunkter.h"
#include "gamewin.h"
#include "gamemap.h"
#include "shapeinf.h"
#include "citerate.h"
#include "egg.h"
#include "objiter.h"
#include "objs.h"
#include "ordinfo.h"
#include "game.h"
#include "animate.h"
#include "dir.h"
#include "actors.h"
Include dependency graph for chunks.cc:
Go to the source code of this file.
Functions | |
void | Set_blocked_tile (unsigned long *blocked, int tx, int ty, int lift, int ztiles) |
void | Clear_blocked_tile (unsigned long *blocked, int tx, int ty, int lift, int ztiles) |
void | Check_terrain (Map_chunk *nlist, int tx, int ty, int &terrain) |
static Tile_coord * | Get_square (Tile_coord &pos, int dist) |
bool | Check_spot (Map_chunk::Find_spot_where where, int tx, int ty, int tz) |
Variables | |
unsigned long | tmasks [16] |
bool Check_spot | ( | Map_chunk::Find_spot_where | where, | |
int | tx, | |||
int | ty, | |||
int | tz | |||
) | [inline] |
Definition at line 1106 of file chunks.cc.
References c_tiles_per_chunk, Game_map::get_chunk_safely(), Game_window::get_instance(), Game_window::get_map(), Map_chunk::inside, and Map_chunk::is_roof().
Referenced by Map_chunk::find_spot().
Here is the call graph for this function:
void Check_terrain | ( | Map_chunk * | nlist, | |
int | tx, | |||
int | ty, | |||
int & | terrain | |||
) | [inline] |
Definition at line 410 of file chunks.cc.
References Map_chunk::get_flat(), ShapeID::get_info(), ShapeID::is_invalid(), Shape_info::is_solid(), and Shape_info::is_water().
Referenced by Chunk_cache::is_blocked().
Here is the call graph for this function:
void Clear_blocked_tile | ( | unsigned long * | blocked, | |
int | tx, | |||
int | ty, | |||
int | lift, | |||
int | ztiles | |||
) | [inline] |
Definition at line 133 of file chunks.cc.
References c_tiles_per_chunk.
Referenced by Chunk_cache::set_blocked(), and Chunk_cache::update_object().
static Tile_coord* Get_square | ( | Tile_coord & | pos, | |
int | dist | |||
) | [static] |
Definition at line 1069 of file chunks.cc.
References DECR_TILE(), INCR_TILE, len, Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.
Referenced by Map_chunk::find_spot().
Here is the call graph for this function:
void Set_blocked_tile | ( | unsigned long * | blocked, | |
int | tx, | |||
int | ty, | |||
int | lift, | |||
int | ztiles | |||
) | [inline] |
Definition at line 106 of file chunks.cc.
References c_tiles_per_chunk.
Referenced by Chunk_cache::set_blocked(), and Chunk_cache::update_object().
unsigned long tmasks[16] |