1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-14 17:34:47 +00:00
Commit Graph

73 Commits

Author SHA1 Message Date
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
Arthur O'Dwyer
934e3d9a42 Consistently name every hookset with prefix hooks_. NFC.
I'm sure this causes massive merge-conflicts in the non-public code,
but I think it'd be a good idea, if only to avoid confusion between
e.g. `clearMemory` and the-variable-formerly-known-as `clearmemory`.
2020-04-12 10:49:32 -04:00
Zeno Rogue
d695aee00d tour:: a system for easier restoration of slide-changed values 2020-04-07 14:06:00 +02:00
Zeno Rogue
7438fbf4c8 slide help is now string 2020-04-07 14:05:47 +02:00
Zeno Rogue
30dcfe9ada subfolder system to organize presentations 2020-04-07 11:43:59 +02:00
Zeno Rogue
cfbd5f830c fixed some warnings and errors with ll to int assignment 2020-04-06 09:13:20 +02:00
Zeno Rogue
b3329208c4 redesigned multiple slideshows in HyperRogue, and how rvslides is generated in RogueViz 2020-03-29 13:31:22 +02:00
Zeno Rogue
0412f077e6 added/fixed some \brief descriptions 2020-03-27 21:47:09 +01:00
Zeno Rogue
2e6e715144 presentation comment fixup 2020-03-27 21:10:38 +01:00
Zeno Rogue
00bbdef12e added some comments in hr::tour 2020-03-27 20:54:21 +01:00
Zeno Rogue
3c3aa2b061 updated the number of lands in Tour 2020-03-25 13:42:38 +01:00
Zeno Rogue
ca59e464b1 fixed Baby Tortoise colors in tour/PTM 2020-03-16 21:33:37 +01:00
Zeno Rogue
d3802ed9e9 renamed Tutorial to Guided tour 2019-09-13 18:01:28 +02:00
Zeno Rogue
ebc44af74c mymake, comments moved 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
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
2ab58e6eb7 resetview in tour 2019-09-12 22:50:04 +02:00
Zeno Rogue
8295251cdc multigame support, including dualmode 2019-09-12 22:50:03 +02:00
Zeno Rogue
59efce3a69 typos fixed 2019-09-12 22:42:59 +02:00
Zeno Rogue
e446ad9b1c fixed the ESC key flashing and doing nothing in the Expansion slide 2019-09-12 22:42:58 +02:00
Zeno Rogue
4284831069 more options in line animation 2019-09-12 22:42:58 +02:00
Zeno Rogue
629e94cbb1 tour:: replaced 'a'+i to allow longer presentations 2019-09-12 22:38:46 +02:00
Zeno Rogue
279f4fa0a0 press '0' to exit the Tutorial 2019-02-06 18:48:52 +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
d8bf550d37 surface 3D graphics are now automatically disabled in rug (won't work correctly with quotient rugs anyway) and in pmodels which do not support it 2018-12-14 19:27:12 +01:00
Zeno Rogue
1762dddfde tour:: removed the conformal square, as it is not very relevant 2018-11-01 19:08:01 +01:00
Zeno Rogue
1ba1b141f3 smart display range 2018-11-01 19:07:50 +01: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
c17efce3b5 PAT_TYPES now separate from PAT_NONE; PAT_* constants now use enum 2018-08-28 04:05:32 +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
b9796c86ba tour:: ENTER/BACKSPACE now checks whether a subgame is one with gamestack::pushed(), not with geometry || nonbitrunc (more general) 2018-07-23 23:38:30 +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
Arthur O'Dwyer
de8926ac5d Fix some truncation warnings for the benefit of MSVC.
rug.cpp(1266): warning C4305: 'argument': truncation from 'double' to 'GLclampf'
    tour.cpp(629): warning C4305: '=': truncation from 'int' to 'bool'
2018-07-08 22:19:42 -07: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
a40d64a8f6 namespaces conform to an older standard 2018-06-11 18:00:40 +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
b6da7779d5 tour:: added XLAT in some places, also 'disable the Camelot cheat' 2018-04-22 11:13:13 +02:00
Zeno Rogue
c0e500b63f tour:: typo fix 2018-04-22 11:10:54 +02:00
Zeno Rogue
2e2bb03edd tour:: better explained mode changes 2018-04-22 11:10:19 +02:00
Zeno Rogue
210f9e80c7 More detailed land validity reporting 2018-04-13 13:08:41 +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
5bf6d54c7d changed chamfered to bitruncated 2018-01-06 22:34:03 +01:00