1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00
Commit Graph

54 Commits

Author SHA1 Message Date
Arthur O'Dwyer
f2b7746c1b Move all defaulting-of-CAP_FOO to sysconfig.h.
- The phrase `#ifdef CAP_` should never appear anywhere.

- The phrase `#ifndef CAP_` should appear only in sysconfig.h.

- The phrases `#if CAP_` and `#if !CAP_` may appear wherever,
    as long as "sysconfig.h" is included first.

The rules for `CAP_FOO` equally apply to `ISFOO`.

There are many one-off macros still tested with `#ifdef`,
including `HAVE_ACHIEVEMENTS`, `PRINT_ACHIEVEMENTS`,
`FAKEWEB`, `FAKE_SDL`, `EASY`, and `WHATEVER`. I don't
have much grasp on what these are used for or how they're
configured, so I'm leaving them alone.
2020-05-03 15:12:12 -04:00
Zeno Rogue
0472bf764f moved all projection-related parameters to a special struct; another copy of that struct created for rug 2020-04-17 00:53:58 +02:00
Zeno Rogue
32baf01192 removed the variable 'showoff' 2020-03-27 19:53:59 +01:00
Zeno Rogue
13c807c938 main menu cancels quit visualizations 2020-03-08 00:59:42 +01:00
Zeno Rogue
059953fe58 removed hint def from hyper.h 2019-12-14 11:57:23 +01:00
Zeno Rogue
f772f9b7fd replaced 'archimedean' with 'arcm::in()' 2019-12-14 11:57:23 +01:00
Zeno Rogue
d3802ed9e9 renamed Tutorial to Guided tour 2019-09-13 18:01:28 +02:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
8b1c7bffe4 initial reformatting of comments for Doxygen 2019-09-12 22:50:13 +02:00
Zeno Rogue
0ef57dde15 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
ad03115097 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
5ea055b39e split namespace conformal into models and history 2019-09-12 22:50:12 +02:00
Zeno Rogue
a423dbd2da more header cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
c2d56fb9bc autohdr.h applied in more files 2019-09-12 22:50:12 +02:00
Zeno Rogue
cf4829634f quitsaves() depends on CAP_SAVE, not havesave 2019-09-12 22:43:00 +02:00
Zeno Rogue
f90e1001e3 refactored native and landUnlocked into content.cpp 2019-09-12 22:42:59 +02:00
Zeno Rogue
4284831069 more options in line animation 2019-09-12 22:42:58 +02:00
Zeno Rogue
54a32441a7 restructured menus 2019-09-12 22:42:58 +02:00
Zeno Rogue
29c0b899dc racing:: track selection; can be now set as a special game mode 2019-04-29 17:19:05 +02:00
Arthur O'Dwyer
9471ac4ff5 Rearrange some macros. No functional change intended. 2019-02-08 18:18:56 -05:00
Zeno Rogue
279f4fa0a0 press '0' to exit the Tutorial 2019-02-06 18:48:52 +01:00
Zeno Rogue
5d01ac0732 text improvements, PL/CZ translation update 2018-12-14 19:30:54 +01:00
Zeno Rogue
d935febf09 refactored some global and stereo:: variables into display_data structure 2018-11-18 18:26:56 +01:00
Zeno Rogue
f5434f7655 fixed the crashes when starting the Halloween minigame 2018-10-28 03:09:07 +01:00
Zeno Rogue
9bf8842124 expansion is now computed exactly and for most geometries 2018-09-12 04:23:15 +02:00
Zeno Rogue
e4bcae6ae6 dialog::dialogcolor instead of 0xC0C0C0 2018-09-05 15:18:40 +02:00
Zeno Rogue
6de0f0a8aa instead of nonbitrunc, gp::on and irr::on, there is one variable, variation 2018-08-28 17:17:34 +02:00
Zeno Rogue
1c4aa5ba85 no saves in Archimedean 2018-08-21 16:10:12 +02:00
Zeno Rogue
682f804576 major rewrite: unified the common parts of heptagon and cell via struct connection<T> and struct walker<T> 2018-08-18 00:46:45 +02:00
Zeno Rogue
c9f5b1e048 fixed several instances when PTM score would not be recorded when changing modes 2018-07-11 12:25:19 +02:00
Zeno Rogue
c1105aa263 fixed keys not working in the quit screen 2018-07-10 13:16:04 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
4c619e60dd moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library 2018-06-11 01:58:31 +02:00
Zeno Rogue
98246d3066 more cleanup in parameters, restartGame cleanup 2018-06-11 00:58:38 +02:00
Zeno Rogue
7e0a78f7bb some work on daily 2018-05-15 23:26:04 +02:00
Zeno Rogue
2e2bb03edd tour:: better explained mode changes 2018-04-22 11:10:19 +02:00
Zeno Rogue
986e66ee4b Knights and quit-menu now display circle sizes only if HR knows the formula 2018-04-10 08:03:28 +02:00
Zeno Rogue
033c626dfc restartGame, wrong mode, and resetModes now use constants instead of magic char names 2018-04-09 18:05:23 +02:00
Zeno Rogue
64adb6f0ea updated the header comments to 2018, also added the missing ones 2018-02-09 00:40:26 +01:00
Zeno Rogue
2a59ff7ab2 CAP_TOUR guards added, more exported in hyper.h, general cleanup 2018-02-08 22:27:12 +01:00
Zeno Rogue
51652304ad Crossroads IV in alternate hyperbolic geometries 2018-01-08 23:11:29 +01:00
Zeno Rogue
499ac498f0 fixed the Hyperstone Quest listing 2017-11-03 23:55:20 +01:00
Zeno Rogue
f38cf14110 unified the land lists 2017-11-03 19:31:42 +01:00
Zeno Rogue
0c2870136e fixed Halloween in the main menu 2017-10-25 23:21:13 +02:00
Zeno Rogue
32edc68a6d added Halloween to start menu and fixed it in quit menu; message log 2017-10-09 10:51:16 +02:00
Zeno Rogue
99ebe26463 no 'shame to cheat' displayed when autocheating 2017-09-30 11:23:11 +02:00
Zeno Rogue
1f7702dc34 better mission screen in the peace/tutorial/autocheat mode 2017-09-01 22:10:02 +02:00
Zeno Rogue
db290e479a Configured key and mission menu's overview now display the mode-appropriate overview screen 2017-08-18 02:32:14 +02:00
Zeno Rogue
bc28c29931 continue in the tour-ESC menu 2017-08-06 16:53:12 +02:00
Zeno Rogue
130fefa4c4 10.0g 2017-08-06 14:50:16 +02:00