|
OpenTTD Source 20251116-master-g21329071df
|
Base for all objects. More...
#include "core/pool_type.hpp"#include "object_type.h"#include "tilearea_type.h"#include "town_type.h"#include "timer/timer_game_calendar.h"Go to the source code of this file.
Data Structures | |
| struct | Object |
| An object, such as transmitter, on the map. More... | |
| struct | ClearedObjectArea |
| Keeps track of removed objects during execution/testruns of commands. More... | |
Typedefs | |
| using | ObjectPool = Pool< Object, ObjectID, 64 > |
Functions | |
| ClearedObjectArea * | FindClearedObject (TileIndex tile) |
| Find the entry in _cleared_object_areas which occupies a certain tile. | |
Variables | |
| ObjectPool | _object_pool |
| std::vector< ClearedObjectArea > | _cleared_object_areas |
Base for all objects.
Definition in file object_base.h.
| using ObjectPool = Pool<Object, ObjectID, 64> |
Definition at line 19 of file object_base.h.
| ClearedObjectArea * FindClearedObject | ( | TileIndex | tile | ) |
Find the entry in _cleared_object_areas which occupies a certain tile.
| tile | Tile of interest |
Definition at line 530 of file object_cmd.cpp.
Referenced by CmdBuildTunnel(), CmdLandscapeClear(), and CmdTerraformLand().
|
extern |
Definition at line 523 of file object_cmd.cpp.