OpenTTD Source 20250617-master-gdd826ea49c
core Directory Reference

Files

 alloc_type.hpp
 Helper types related to the allocation of memory.
 
 backup_type.hpp
 Class for backupping variables and making sure they are restored later.
 
 base_bitset_type.hpp
 Base for bitset types that accept strong types, i.e.
 
 bitmath_func.hpp
 Functions related to bit mathematics.
 
 container_func.hpp
 Some simple functions to help with accessing containers.
 
 convertible_through_base.hpp
 Concept for unifying the convert through 'base()' behaviour of several 'strong' types.
 
 endian_func.hpp
 Function to handling different endian machines.
 
 enum_type.hpp
 Type (helpers) for enums.
 
 flatset_type.hpp
 Flat set container implementation.
 
 format.hpp
 String formatting functions and helpers.
 
 geometry_func.cpp
 Geometry functions.
 
 geometry_func.hpp
 Geometry functions.
 
 geometry_type.hpp
 All geometry types in OpenTTD.
 
 kdtree.hpp
 K-d tree template specialised for 2-dimensional Manhattan geometry.
 
 math_func.cpp
 Math functions.
 
 math_func.hpp
 Integer math functions.
 
 multimap.hpp
 Multimap with deterministic ordering of items with equal keys.
 
 overflowsafe_type.hpp
 An overflow safe integer-like type.
 
 pool_func.cpp
 Implementation of PoolBase methods.
 
 pool_func.hpp
 Some methods of Pool are placed here in order to reduce compilation time and binary size.
 
 pool_type.hpp
 Definition of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle, Town, and other indexed items.
 
 random_func.cpp
 Implementation of the pseudo random generator.
 
 random_func.hpp
 Pseudo random number generator.
 
 smallstack_type.hpp
 Minimal stack that uses a pool to avoid pointers and doesn't allocate any heap memory if there is only one valid item.
 
 string_builder.cpp
 Implementation of string composing.
 
 string_builder.hpp
 Compose strings from textual and binary data.
 
 string_consumer.cpp
 Implementation of string parsing.
 
 string_consumer.hpp
 Parse strings.
 
 string_inplace.cpp
 Inplace-replacement of textual and binary data.
 
 string_inplace.hpp
 Inplace-replacement of textual and binary data.
 
 strong_typedef_type.hpp
 Type (helpers) for making a strong typedef that is a distinct type.
 
 utf8.cpp
 Handling of UTF-8 encoded data.
 
 utf8.hpp
 Handling of UTF-8 encoded data.