OpenTTD Source  20241108-master-g80f628063a
core Directory Reference

Files

file  alloc_func.cpp [code]
 Functions to 'handle' memory allocation errors.
 
file  alloc_func.hpp [code]
 Functions related to the allocation of memory.
 
file  alloc_type.hpp [code]
 Helper types related to the allocation of memory.
 
file  backup_type.hpp [code]
 Class for backupping variables and making sure they are restored later.
 
file  bitmath_func.hpp [code]
 Functions related to bit mathematics.
 
file  container_func.hpp [code]
 Some simple functions to help with accessing containers.
 
file  endian_func.hpp [code]
 Function to handling different endian machines.
 
file  endian_type.hpp [code]
 Definition of various endian-dependant macros.
 
file  enum_type.hpp [code]
 Type (helpers) for enums.
 
file  format.hpp [code]
 String formatting functions and helpers.
 
file  geometry_func.cpp [code]
 Geometry functions.
 
file  geometry_func.hpp [code]
 Geometry functions.
 
file  geometry_type.hpp [code]
 All geometry types in OpenTTD.
 
file  kdtree.hpp [code]
 K-d tree template specialised for 2-dimensional Manhattan geometry.
 
file  math_func.cpp [code]
 Math functions.
 
file  math_func.hpp [code]
 Integer math functions.
 
file  mem_func.hpp [code]
 Functions related to memory operations.
 
file  multimap.hpp [code]
 Multimap with deterministic ordering of items with equal keys.
 
file  overflowsafe_type.hpp [code]
 An overflow safe integer-like type.
 
file  pool_func.cpp [code]
 Implementation of PoolBase methods.
 
file  pool_func.hpp [code]
 Some methods of Pool are placed here in order to reduce compilation time and binary size.
 
file  pool_type.hpp [code]
 Definition of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle, Town, and other indexed items.
 
file  random_func.cpp [code]
 Implementation of the pseudo random generator.
 
file  random_func.hpp [code]
 Pseudo random number generator.
 
file  smallstack_type.hpp [code]
 Minimal stack that uses a pool to avoid pointers and doesn't allocate any heap memory if there is only one valid item.
 
file  strong_typedef_type.hpp [code]
 Type (helpers) for making a strong typedef that is a distinct type.