1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-15 17:54:48 +00:00
hyperrogue/compileunits.h

112 lines
2.1 KiB
C
Raw Normal View History

2017-10-29 13:19:51 +00:00
// Usage:
// * compile hyper.cpp with CU == 0
// * compile init.cpp with CU == 1
// * link them.
// Only the parts defined in #if IN_CU(1) will be included in the second compiling.
#ifndef CU
#define IN_CU(x) 1
#else
#define IN_CU(x) (CU == x)
#endif
#include "sysconfig.h"
2017-10-29 13:19:51 +00:00
#include "classes.h"
#include "hyper.h"
#if CAP_ROGUEVIZ
#include "rogueviz.h"
#endif
2017-10-29 13:19:51 +00:00
#define CU_INIT IN_CU(0)
#define CU_HYPER IN_CU(0)
#if IN_CU(0)
#include "classes.cpp"
#endif
#if IN_CU(0)
2018-02-08 23:29:20 +00:00
#include "shaders.cpp"
2017-10-29 13:19:51 +00:00
#include "util.cpp"
#include "hyperpoint.cpp"
#include "patterns.cpp"
#include "fieldpattern.cpp"
#include "heptagon.cpp"
#include "language.cpp"
#include "cell.cpp"
2018-04-09 15:40:12 +00:00
#include "goldberg.cpp"
#include "pattern2.cpp"
2017-10-29 13:19:51 +00:00
#include "flags.cpp"
#include "yendor.cpp"
#include "complex.cpp"
#include "savemem.cpp"
2017-10-29 13:19:51 +00:00
#include "game.cpp"
#include "orbgen.cpp"
#include "monstergen.cpp"
#include "landlock.cpp"
#include "landgen.cpp"
#include "orbs.cpp"
#if CAP_INV
#include "inventory.cpp"
#else
bool inv::on;
2018-02-11 20:39:08 +00:00
bool inv::activating;
2017-10-29 13:19:51 +00:00
#endif
#include "system.cpp"
#include "debug.cpp"
#include "geometry.cpp"
#include "polygons.cpp"
#include "floorshapes.cpp"
2017-10-29 13:19:51 +00:00
#include "mapeditor.cpp"
#if CAP_MODEL
#include "netgen.cpp"
#endif
#if CAP_TABFONT || CAP_CREATEFONT
#include "nofont.cpp"
#endif
#include "basegraph.cpp"
#include "renderbuffer.cpp"
2017-10-29 13:19:51 +00:00
#include "help.cpp"
#include "config.cpp"
#include "scores.cpp"
#include "dialogs.cpp"
2017-10-29 13:19:51 +00:00
#include "menus.cpp"
2017-11-06 20:18:40 +00:00
#include "geom-exp.cpp"
2017-10-29 13:19:51 +00:00
#include "quit.cpp"
#include "shmup.cpp"
#if CAP_ROGUEVIZ
#include "rogueviz.cpp"
#endif
#include "conformal.cpp"
#include "rug.cpp"
#include "control.cpp"
#include "hud.cpp"
#include "hypgraph.cpp"
2017-12-09 01:20:10 +00:00
#include "textures.cpp"
2017-10-29 13:19:51 +00:00
#include "graph.cpp"
#include "blizzard.cpp"
2017-10-29 13:19:51 +00:00
#include "sound.cpp"
#include "achievement.cpp"
#include "barriers.cpp"
2018-03-29 22:20:50 +00:00
#include "surface.cpp"
2017-10-29 13:19:51 +00:00
#if CAP_TOUR
#include "tour.cpp"
#endif
#if ISMOBILE==0
#include <unistd.h>
#endif
#include "commandline.cpp"
2018-03-29 22:20:50 +00:00
#include "bigstuff.cpp"
2018-05-01 17:38:42 +00:00
#if CAP_DAILY
#include "private/daily.cpp"
2018-05-15 21:26:04 +00:00
#else
namespace hr { namespace daily { bool on; } }
2018-05-01 17:38:42 +00:00
#endif
2017-10-29 13:19:51 +00:00
#endif
#if IN_CU(1)
#endif