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
|
|
|
|
|
2018-06-10 23:58:31 +00:00
|
|
|
#include "sysconfig.h"
|
2017-10-29 13:19:51 +00:00
|
|
|
#include "classes.h"
|
|
|
|
#include "hyper.h"
|
|
|
|
|
|
|
|
#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"
|
2018-08-09 17:28:53 +00:00
|
|
|
#include "binary-tiling.cpp"
|
2018-08-19 21:06:32 +00:00
|
|
|
#include "archimedean.cpp"
|
2019-02-24 22:04:52 +00:00
|
|
|
#include "euclid.cpp"
|
2019-02-24 22:06:52 +00:00
|
|
|
#include "sphere.cpp"
|
2019-02-24 22:09:17 +00:00
|
|
|
#include "quotient.cpp"
|
2018-11-30 15:31:55 +00:00
|
|
|
#include "crystal.cpp"
|
2019-03-02 23:43:31 +00:00
|
|
|
#include "reg3.cpp"
|
2017-10-29 13:19:51 +00:00
|
|
|
#include "language.cpp"
|
|
|
|
#include "cell.cpp"
|
2018-09-12 02:23:15 +00:00
|
|
|
#include "expansion.cpp"
|
2018-04-09 15:40:12 +00:00
|
|
|
#include "goldberg.cpp"
|
2018-07-16 18:05:23 +00:00
|
|
|
#include "irregular.cpp"
|
2017-12-05 15:19:22 +00:00
|
|
|
#include "pattern2.cpp"
|
2017-10-29 13:19:51 +00:00
|
|
|
#include "flags.cpp"
|
|
|
|
#include "yendor.cpp"
|
|
|
|
#include "complex.cpp"
|
2018-10-25 00:43:14 +00:00
|
|
|
#if CAP_COMPLEX2
|
|
|
|
#include "complex2.cpp"
|
|
|
|
#endif
|
2018-01-25 18:49:19 +00:00
|
|
|
#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
|
2018-06-13 22:06:54 +00:00
|
|
|
namespace hr { namespace inv { bool on, activating; } }
|
2017-10-29 13:19:51 +00:00
|
|
|
#endif
|
|
|
|
#include "system.cpp"
|
|
|
|
#include "debug.cpp"
|
|
|
|
#include "geometry.cpp"
|
2018-08-17 14:47:06 +00:00
|
|
|
#include "geometry2.cpp"
|
2017-10-29 13:19:51 +00:00
|
|
|
#include "polygons.cpp"
|
2019-04-20 23:21:03 +00:00
|
|
|
#include "3d-models.cpp"
|
2018-06-10 23:12:18 +00:00
|
|
|
#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"
|
2018-07-19 21:46:58 +00:00
|
|
|
#include "screenshot.cpp"
|
2018-02-01 12:42:47 +00:00
|
|
|
#include "renderbuffer.cpp"
|
2017-10-29 13:19:51 +00:00
|
|
|
#include "help.cpp"
|
|
|
|
#include "config.cpp"
|
|
|
|
#include "scores.cpp"
|
2018-06-10 23:12:18 +00:00
|
|
|
#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"
|
2018-11-17 18:30:50 +00:00
|
|
|
|
|
|
|
#if CAP_RACING
|
|
|
|
#include "racing.cpp"
|
|
|
|
#endif
|
|
|
|
|
2017-10-29 13:19:51 +00:00
|
|
|
#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"
|
2018-06-10 23:12:18 +00:00
|
|
|
#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
|
2017-12-01 23:22:01 +00:00
|
|
|
#include "commandline.cpp"
|
2018-03-29 22:20:50 +00:00
|
|
|
#include "bigstuff.cpp"
|
2018-05-01 17:38:42 +00:00
|
|
|
|
2018-07-09 19:03:46 +00:00
|
|
|
#if CAP_ROGUEVIZ
|
|
|
|
#include "rogueviz.cpp"
|
|
|
|
#endif
|
|
|
|
|
2018-05-01 17:38:42 +00:00
|
|
|
#if CAP_DAILY
|
|
|
|
#include "private/daily.cpp"
|
2018-05-15 21:26:04 +00:00
|
|
|
#else
|
2018-06-11 16:00:40 +00:00
|
|
|
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
|
|
|
|
|