1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 15:39:55 +00:00
Commit Graph

240 Commits

Author SHA1 Message Date
Zeno Rogue
c0002da574 refactored some XLAT calls for automated analysis, fixing some bugs on the way 2021-05-23 16:00:50 +02:00
Zeno Rogue
0add1e5c0d land structure in menu does not display OFF if ineligible_starting_land 2021-04-25 11:33:40 +02:00
Zeno Rogue
0da2c70674 fixed the Highlights & Achievements menu to set the correct land structure 2021-04-23 20:43:51 +02:00
Zeno Rogue
60c1e0f8f3 'land structure' selector now displays OFF if the default structure is selected 2021-04-23 20:40:07 +02:00
Zeno Rogue
056419288c enabling canvas now automatically enables ls::single 2021-04-23 20:09:23 +02:00
Zeno Rogue
91bd0c2018 lovasz completed 2021-04-15 18:21:05 +02:00
Zeno Rogue
4b1b0516f3 choice of the land structure 2021-04-11 22:15:40 +02:00
Zeno Rogue
49a1cf1cab CLI option d:history 2021-03-09 10:48:21 +01:00
Zeno Rogue
c8cb6ef230 emptyscreen added to o-key 2021-03-06 11:00:45 +01:00
Zeno Rogue
009e1e2eb4 changemode uses the new dialogkey system 2021-03-06 11:00:36 +01:00
Zeno Rogue
b166b64006 added missing guards 2021-02-07 22:55:11 +01:00
Zeno Rogue
c57566f9da highlights in special modes 2021-02-07 22:55:11 +01:00
Zeno Rogue
b921a5a81b drawing tool and shape editor can now be used with texture mode enabled 2021-02-01 11:45:52 +01:00
Zeno Rogue
3886b81caa new quick projection menu 2021-02-01 11:20:22 +01:00
Zeno Rogue
cea3da31fc separated highlight 2020-09-16 23:49:17 +02:00
Zeno Rogue
61ab21fb07 redone peaceful mode to puzzle/exploration mode 2020-07-29 23:01:15 +02:00
Zeno Rogue
d6e98ecf2a fixed guards 2020-05-31 18:04:43 +02:00
Zeno Rogue
8f0f224605 cheat_if_confirmed now auto-disables while in a forbidden-cheat mode 2020-05-31 16:43:36 +02:00
Zeno Rogue
8c796e64c4 o_key:: texture mode option while in texture mode 2020-05-31 03:28:49 +02:00
Zeno Rogue
ed6cd3cec6 rewritten the o-key functionality to let the user choose from several applicable options 2020-05-15 15:53:29 +02:00
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