libtcod
Loading...
Searching...
No Matches
libtcod.h
1/* BSD 3-Clause License
2 *
3 * Copyright © 2008-2025, Jice and the libtcod contributors.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met:
8 *
9 * 1. Redistributions of source code must retain the above copyright notice,
10 * this list of conditions and the following disclaimer.
11 *
12 * 2. Redistributions in binary form must reproduce the above copyright notice,
13 * this list of conditions and the following disclaimer in the documentation
14 * and/or other materials provided with the distribution.
15 *
16 * 3. Neither the name of the copyright holder nor the names of its
17 * contributors may be used to endorse or promote products derived from
18 * this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
24 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 * POSSIBILITY OF SUCH DAMAGE.
31 */
32#pragma once
33#ifndef LIBTCOD_H_
34#define LIBTCOD_H_
35
36#include "bresenham.h"
37#include "bsp.h"
38#include "color.h"
39#include "console.h"
40#include "console_drawing.h"
41#include "console_etc.h"
42#include "console_init.h"
43#include "console_printing.h"
44#include "console_rexpaint.h"
45#include "context.h"
46#include "context_init.h"
47#include "error.h"
48#include "fov.h"
49#include "globals.h"
50#include "heightmap.h"
51#include "image.h"
52#include "lex.h"
53#include "list.h"
54#include "logging.h"
55#include "mersenne.h"
56#include "mouse.h"
57#include "namegen.h"
58#include "noise.h"
59#include "parser.h"
60#include "path.h"
61#include "pathfinder.h"
62#include "pathfinder_frontier.h"
63#include "portability.h"
64#include "random.h"
65#include "renderer_sdl2.h"
66#include "sdl2/event.h"
67#include "sys.h"
68#include "tileset.h"
69#include "tileset_bdf.h"
70#include "tileset_fallback.h"
71#include "tileset_render.h"
72#include "tileset_truetype.h"
73#include "tree.h"
74#include "txtfield.h"
75#include "utility.h"
76#include "version.h"
77#include "zip.h"
78
79#ifdef __cplusplus
80#include "bresenham.hpp"
81#include "bsp.hpp"
82#include "color.hpp"
83#include "console.hpp"
84#include "console_printing.hpp"
85#include "console_rexpaint.hpp"
86#include "console_types.hpp"
87#include "context.hpp"
88#include "fov.hpp"
89#include "heightmap.hpp"
90#include "image.hpp"
91#include "lex.hpp"
92#include "list.hpp"
93#include "mersenne.hpp"
94#include "mouse.hpp"
95#include "namegen.hpp"
96#include "noise.hpp"
97#include "parser.hpp"
98#include "path.hpp"
99#include "sys.hpp"
100#include "tileset.hpp"
101#include "tileset_bdf.hpp"
102#include "tileset_fallback.hpp"
103#include "tree.hpp"
104#include "txtfield.hpp"
105#include "zip.hpp"
106#endif // __cplusplus
107
108#endif // LIBTCOD_H_
Bresenham line module.
Bresenham line module.
Binary space partitioning module.
Binary space partitioning module.
Color handling module.
Color handling module.
Various console functions.
C++ console module.
Console simple drawing module.
Miscellaneous deprecated functions.
Deprecated root console initialization.
Console string printing module.
Console string printing module.
REXPaint support.
REXPaint support.
C++ types for console functions.
Libtcod display management context.
Libtcod display management context.
Context initialization module.
Error handling module.
SDL2/libtcod event compatibility tools.
Field-of-view module.
Field-of-view module.
Manage deprecated global variables.
Terrain heightmap module.
Terrain heightmap module.
Image handling module.
Image handling module.
Internal tokenizer module.
Internal tokenizer module.
Deprecated libtcod list module.
Deprecated TCODList class.
Internal libtcod logging module.
Random number generator functions.
Random number generator C++ module.
Deprecated mouse functions.
Deprecated mouse functions.
Name generator module.
Name generator module.
Texture noise generator module.
Texture noise generator module.
Libtcod config parser.
Libtcod config parser.
Libtcod A* and Dijkstra pathfinders.
Libtcod A* and Dijkstra pathfinders.
Miscellaneous tools needed across platforms.
Experimental random number generators.
Low level SDL2 tileset rendering.
Deprecated low-level functions.
Deprecated low-level functions.
Tileset module.
Tileset module.
Load BDF fonts as tilesets.
Load BDF fonts as tilesets.
Last resort local font module.
Last resort local font module.
Tileset software renderer.
Internal tree container.
Internal tree container.
Text pad interface.
Text pad interface.
Common C macro definitions.
Libtcod version informaiton.
Deprecated serialization and compression module.
Deprecated serialization and compression module.