Searched refs:room_box_p (Results 1 – 7 of 7) sorted by relevance
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/src/ |
H A D | room.cpp | 786 static bool Room_IsBoxForPath(room_box_p curr_box, room_box_p next_box, box_validition_options_p op) in Room_IsBoxForPath() 820 int Room_IsInBox(room_box_p box, float pos[3]) in Room_IsInBox() 835 const int buf_size = sizeof(room_box_p) * max_boxes; in Room_FindPath() 836 room_box_p *current_front = (room_box_p*)Sys_GetTempMem(3 * buf_size); in Room_FindPath() 837 room_box_p *next_front = current_front + max_boxes; in Room_FindPath() 838 room_box_p *parents = next_front + max_boxes; in Room_FindPath() 851 room_box_p current_box = current_front[i]; in Room_FindPath() 864 room_box_p next_box = World_GetRoomBoxByID(ov->box); in Room_FindPath() 907 room_box_p *tn = current_front; in Room_FindPath() 917 room_box_p p = to->box; in Room_FindPath() [all …]
|
H A D | room.h | 143 }room_box_t, *room_box_p; typedef 327 int Room_IsInBox(room_box_p box, float pos[3]); 328 int Room_FindPath(room_box_p *path_buf, uint32_t max_boxes, room_sector_p from, room_sector_p to, … 329 void Room_GetOverlapCenter(room_box_p b1, room_box_p b2, float pos[3]);
|
H A D | character_controller.cpp | 236 const int buf_size = sizeof(room_box_p) * World_GetRoomBoxesCount(); in Character_UpdatePath() 237 room_box_p *path = (room_box_p*)Sys_GetTempMem(buf_size); in Character_UpdatePath() 263 room_box_p curr_box = ent->character->path[0]; in Character_FixByBox() 264 room_box_p next_box = (ent->character->path_dist > 1) ? (ent->character->path[1]) : (NULL); in Character_FixByBox()
|
H A D | world.cpp | 1544 … global_world.room_boxes = (room_box_p)malloc(global_world.room_boxes_count * sizeof(room_box_t)); in World_GenBoxes() 1547 room_box_p r_box = global_world.room_boxes + i; in World_GenBoxes()
|
H A D | engine.cpp | 1274 room_box_p box = ent->self->sector->box; in ShowDebugInfo()
|
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/src/script/ |
H A D | script_world.cpp | 899 room_box_p box = World_GetRoomBoxByID(lua_tointeger(lua, 1)); in lua_SetBoxBlocked()
|
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/src/render/ |
H A D | render.cpp | 504 for(room_box_p rb = World_GetRoomBoxByID(id); rb; rb = World_GetRoomBoxByID(++id)) in DrawListDebugLines()
|