# 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 | bitmath_func.cpp [code]
file | bitmath_func.hpp [code]
file | endian_func.hpp [code]
file | enum_type.hpp [code]
| Type (helpers) for enums.

file | geometry_type.hpp [code]
| All geometry types in OpenTTD.

file | math_func.hpp [code]
| Integer math functions.

file | overflowsafe_type.hpp [code]
| An overflow safe integer-like type.

file | random_func.cpp [code]
file | random_func.hpp [code]