1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-29 11:30:35 +00:00
Commit Graph

220 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
6f6586b3f2
Merge branch 'master' into hooks-naming 2020-04-19 13:39:07 +02:00
Zeno Rogue
ad233a1e19 drawing tool 2020-04-17 20:04:33 +02:00
Zeno Rogue
a246e53d2c added imssing MAXMDIM guards in racing 2020-04-17 15:35:48 +02: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
Arthur O'Dwyer
961a8919c6 Use callhandlers() instead of manual loop in menus.cpp. NFCI. 2020-04-12 10:50:19 -04:00
Arthur O'Dwyer
0d42168139 Make hookset<T> a pointer type, just like purehookset.
No more declaring `hookset<T> *hooks_foo`; now it's just
`hookset<T> hooks_foo` at global scope. This clears the way to
make `hookset<T>` into a class type if we want.
2020-04-12 10:50:18 -04:00
Zeno Rogue
13c807c938 main menu cancels quit visualizations 2020-03-08 00:59:42 +01:00
Zeno Rogue
8005b39f6f ASCII/3D mode, also reacts to neon settings 2020-01-30 17:45:05 +01:00
Zeno Rogue
9c25804a05 added dual geometry puzzle generator 2020-01-28 17:58:55 +01:00
Zeno Rogue
6603fe3c9e random animations in the start menu now have their names displayed, and some are explorable 2019-12-14 14:10:34 +01:00
Zeno Rogue
2006104650 the random option in the start menu is now designated 2019-12-14 14:09:58 +01:00
Zeno Rogue
beb3a06461 Hyperstone-optional lands are now clearly marked in the Overview, and the Hunting Grounds and Galapagos are now optional in Euclidean 2019-11-30 18:06:47 +01:00
Zeno Rogue
b38caa0ec8 fixed a bug where disabling the cheat mode while the land is changed in Geometry Experiments would produce weird lands 2019-11-22 23:10:02 +01:00
Zeno Rogue
7246605329 do not do walls if walls not implemented 2019-10-12 13:47:41 +02:00
Zeno Rogue
d396e323c1 added missing CAP_RACING guards 2019-09-28 21:59:10 +02:00
Zeno Rogue
566a323eb4 racing and Thurston racing as start menu options 2019-09-28 16:16:49 +02:00
Zeno Rogue
00eb83901d F5 in start menu changes the daily_mode 2019-09-28 16:16:20 +02:00
Zeno Rogue
7b3b2e0573 free space to make start menu consistent 2019-09-28 16:15:10 +02:00
Zeno Rogue
d3802ed9e9 renamed Tutorial to Guided tour 2019-09-13 18:01:28 +02:00
Zeno Rogue
8a85e8261c renamed 'geometry experiments' to 'experiment with geometry' 2019-09-12 22:50:16 +02:00
Zeno Rogue
8f8fb8a217 replaced hooks_startmenu and hooks_mainmenu with a general hooks_display_dialog 2019-09-12 22:50:16 +02:00
Zeno Rogue
848eb8f48b export everything: modules compiled separately 2019-09-12 22:50:16 +02:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
96bf478482 renamed DIM to GDIM 2019-09-12 22:50:13 +02:00
Zeno Rogue
d8d32d19b0 duplicate keys in dialogs are now fixed correctly 2019-09-12 22:50:13 +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
5ea055b39e split namespace conformal into models and history 2019-09-12 22:50:12 +02:00
Zeno Rogue
05bd7a905c 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
48f772698d one princess enough for gold 2019-09-12 22:50:06 +02:00
Zeno Rogue
daeffa3647 line animation records in reverse if lvspeed < 0, and no longer goes to far 2019-09-12 22:50:06 +02:00
Zeno Rogue
45c39c6fd8 fixed the multiplayer config screen 2019-09-12 22:50:06 +02:00
Zeno Rogue
212c0f54c4 no more enabling of Chaos if not unlocked 2019-09-12 22:50:04 +02:00
Zeno Rogue
5a44320585 disabled dualgeom and special chaos in WEB 2019-09-12 22:50:04 +02:00
Zeno Rogue
31bb896089 Chaos submodes selectable from the menu 2019-09-12 22:50:04 +02:00
Zeno Rogue
c820f9a2f0 dual and multiplayer are not compatible (do not appear if other is on) 2019-09-12 22:50:04 +02:00
Zeno Rogue
69e76b550c dual:: selectable from the menu 2019-09-12 22:50:03 +02:00
Zeno Rogue
8295251cdc multigame support, including dualmode 2019-09-12 22:50:03 +02:00
Zeno Rogue
df3e21b310 debug cleanup 2019-09-12 22:50:00 +02:00
Zeno Rogue
c8e950cd40 added some missing CAP_ and MAXMDIM guards 2019-09-12 22:43:01 +02:00
Zeno Rogue
0386f4179c whatever cont. 2019-09-12 22:43:01 +02:00
Zeno Rogue
f90e1001e3 refactored native and landUnlocked into content.cpp 2019-09-12 22:42:59 +02:00
Zeno Rogue
b24c9d88e8 text fixes 2019-09-12 22:42:58 +02:00
Zeno Rogue
ac1c588d7d in creative menu, animations and history are now separate 2019-09-12 22:42:58 +02:00
Zeno Rogue
80d14c0196 add_action_push consistently; improved some menu hotkeys and ordering; improved some naming 2019-09-12 22:42:58 +02:00
Zeno Rogue
54a32441a7 restructured menus 2019-09-12 22:42:58 +02:00
Zeno Rogue
0f4146ac36 3D:: animations; also changed PI/180 to degree, and enabled models in the menu 2019-09-12 22:38:47 +02:00
Zeno Rogue
3f941cabb0 improved model naming a bit 2019-09-12 22:38:47 +02:00
?
26b5d55224 3D:: 123 keys now switch perspectives 2019-09-12 22:38:42 +02:00
?
d83abeaebb 3D:: disabled menu options which are not available in 3D 2019-09-12 22:38:40 +02:00
?
e39777f04d CAP_ animations etc. cleanup 2019-09-12 22:38:39 +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
Zeno Rogue
8408dd63d3 racing:: hotkey configuration 2019-04-29 17:19:05 +02:00
Zeno Rogue
16a5e45c0a racing:: first commit 2019-04-29 17:19:05 +02:00
Zeno Rogue
fd9fca6129 redesigned the Experiment with Geometry menu 2019-02-08 16:55:00 +01:00
Zeno Rogue
5ec818a820 fixed confirmation required when saving from menu 2019-02-06 18:48:52 +01:00
Zeno Rogue
9ccf82d9dc texture:: 'paint textures' in main menu now starts Canvas automatically 2019-02-06 18:48:52 +01:00
Zeno Rogue
97fda826a8 when search in overview matches nothing, it now displays lands not in game 2019-02-06 18:48:52 +01:00
Zeno Rogue
06cfd5e2d6 start menu options no longer reset the graphical options -- there is a separate entry for that 2019-02-06 18:48:52 +01:00
Zeno Rogue
e2b262979b startgame animations 2019-02-06 16:36:52 +01:00
Zeno Rogue
5d01ac0732 text improvements, PL/CZ translation update 2018-12-14 19:30:54 +01:00
Zeno Rogue
4f9e9c2e47 added sm::MAYDARK to some dialogs 2018-12-14 19:30:22 +01:00
Zeno Rogue
b256ac70af improved key handling: numpad works as directions with numlock off and numbers with numlock on; shift+5 works now; better key assignments in crystal rug 2018-12-14 19:27:12 +01:00
Zeno Rogue
809a911998 refactored o_key to use in_full_game 2018-12-14 19:27:12 +01:00
Zeno Rogue
6c25d2297e Chaos mode is now always unlocked in autocheat 2018-12-11 22:10:53 +01:00
Zeno Rogue
8e2727882e shmup:: rewritten shmup configuration in OOP style 2018-11-18 18:26:56 +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
7b4028418e arg:: most important dialogs can be launched from command line 2018-11-11 11:27:36 +01:00
Zeno Rogue
1ba1b141f3 smart display range 2018-11-01 19:07:50 +01:00
Zeno Rogue
f5434f7655 fixed the crashes when starting the Halloween minigame 2018-10-28 03:09:07 +01:00
Zeno Rogue
6f2deeafcc animation menu 2018-09-10 18:12:07 +02:00
Zeno Rogue
1ab460ffb1 type color_t should now be consistently used for colors; reimplemented drawqueue in OO fashion 2018-09-04 19:53:42 +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
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
5b41f5d157 highlight buttons on overview/PTM screens; improved zoom feature; fixed a bug with zoom spilling to the inventory screen 2018-07-22 12:54:05 +02:00
Zeno Rogue
c8c1e3a346 irregular grids 2018-07-16 20:05:23 +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
3a8293df27 rogueviz:: tutorial, start/main menu, and welcome message done as hooks 2018-07-09 19:55:56 +02:00
Zeno Rogue
91d203f556 fixed the help display when chaos mode locked 2018-06-29 12:30:41 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
3881a7dd97 more cleanup with uniformizing the keys for 'back' and 'help' 2018-06-13 00:00:01 +02:00
Zeno Rogue
44affc3e9d resolved conflicts introduced by merging zenorogue/hyperrogue#21 2018-06-12 23:28:06 +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
c2e3ed54f0 cpp files no longer include other cpp files 2018-06-11 01:12:18 +02:00
Zeno Rogue
98246d3066 more cleanup in parameters, restartGame cleanup 2018-06-11 00:58:38 +02:00
Zeno Rogue
b28c82b26b fixes to starting/stopping daily 2018-05-27 01:06:54 +02:00
Zeno Rogue
d754437bf1 no cheating in daily 2018-05-26 01:24:46 +02:00
Zeno Rogue
cc5261edbe Strange Challenge in the start menu 2018-05-20 15:17:22 +02:00
Zeno Rogue
6a7a150028 CAP_TEXTURE without CAP_EDIT, CAP_CONFIG and CAP_PNG (still seems not correct, though) 2018-05-15 23:29:09 +02:00
Zeno Rogue
7e0a78f7bb some work on daily 2018-05-15 23:26:04 +02:00
Zeno Rogue
94cb0f82bb silenced clang warning about unused capture 2018-05-07 20:14:14 +02:00
Zeno Rogue
194cc2bd2e fixed the Princess Challenge activation 2018-05-01 22:43:02 +02:00
Zeno Rogue
67ad5f2f4b preparing for daily 2018-05-01 00:21:18 +02:00
Zeno Rogue
10d438270b in the 'display mode' menu, appropriate projection names are used in non-hyperbolic geometries 2018-04-22 11:12:19 +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
830785990c renamed whirl to goldberg 2018-04-09 17:40:12 +02:00
Zeno Rogue
22a92059b6 whirl 2018-04-03 23:39:18 +02:00
Zeno Rogue
fdde515afe 10.3n 2018-03-30 00:18:41 +02:00