1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 17:40:36 +00:00
Commit Graph

73 Commits

Author SHA1 Message Date
Zeno Rogue
c953b2dda6 dice values are now editable in Shift+G 2021-06-17 09:44:48 +02:00
Zeno Rogue
d65e80e130 dice:: numbers now shown outside of the OpenGL mode 2021-06-17 09:44:48 +02:00
Zeno Rogue
70bd671941 dice:: added comments to val and dir 2021-06-17 09:44:48 +02:00
Zeno Rogue
b9ba311a63 dice:: Orb of Chaos works correctly now 2021-06-17 09:44:48 +02:00
Zeno Rogue
e6dd27f5bf dice:: now work correctly in non-orientable spaces 2021-06-17 09:44:48 +02:00
Zeno Rogue
bc65476a12 unused variable removed 2021-06-06 10:13:40 +02:00
Zeno Rogue
0e7adf28a8 fixed a bug with dice drawing 2021-06-06 10:13:19 +02:00
Zeno Rogue
982377c26c fixed unused capture warnings 2021-06-03 15:11:24 +02:00
Zeno Rogue
f6718d875d Dice:: clear memory 2021-06-03 13:26:10 +02:00
Zeno Rogue
e41d4e7912 dice:: CAP_EXTFONT-version of dice numbers 2021-06-01 13:07:56 +02:00
Zeno Rogue
50a9c78343 load/save/place dice in the map editor 2021-06-01 13:07:56 +02:00
Zeno Rogue
2a4c7bd565 fixed dice too large 2021-06-01 13:07:56 +02:00
Zeno Rogue
655cc1a8b5 dice:: don't generate any dice if Safety is on 2021-06-01 13:07:56 +02:00
Zeno Rogue
199d5ef598 fixed/improved dice in non-H geometries 2021-06-01 13:07:56 +02:00
Zeno Rogue
be5194958e refactored to use isDie if applicable 2021-06-01 13:07:56 +02:00
Zeno Rogue
8f28497f26 fixed invalid error messages on Animated Dice validity tests 2021-06-01 13:07:56 +02:00
Zeno Rogue
2114446695 d4s now appear better 2021-06-01 13:07:55 +02:00
Zeno Rogue
20c838ca9c happy d4s now appear in the right position 2021-06-01 13:07:55 +02:00
Zeno Rogue
80d21096fb dice:: error messages without excessive \n 2021-06-01 13:07:55 +02:00
Zeno Rogue
ecf71826c3 dice:: improvements to generalization 2021-06-01 13:07:55 +02:00
Zeno Rogue
e819552986 dice:: shapes for other geometries 2021-06-01 13:07:55 +02:00
Zeno Rogue
3f7fc5f2b9 added CAP_EXTFONT for when font textures are not available (i.e., mobile devices) 2021-06-01 13:07:55 +02:00
Zeno Rogue
a2a1acfd8d renamed waBlandDie to waHappyDie 2021-06-01 13:07:55 +02:00
Zeno Rogue
4b6b1379e6 made the Land of Dice a lucky land 2021-06-01 13:07:55 +02:00
Zeno Rogue
0065f160d0 Land of Dice: balanced generation 2021-06-01 13:07:36 +02:00
Zeno Rogue
6a6ed4ea0d first version of the Land of Dice 2021-06-01 13:07:36 +02:00
Zeno Rogue
feaef63f22 first version of the Land of Dice 2021-05-23 16:00:50 +02:00
Zeno Rogue
e681357206 in ls single, fixed Brown Islands 2021-04-23 20:02:20 +02:00
Zeno Rogue
871238ab98 updated knight_names 2021-04-15 16:12:45 +02:00
Zeno Rogue
40d450676e more fixes to multiplayer 2021-03-06 11:46:13 +01:00
Zeno Rogue
c97badc8c4 improved mission screen in Minesweeper, and also in non-full games 2020-08-02 12:56:43 +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
11d119766d CA for infinite 2020-04-12 20:33:53 +02: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
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
35dbeea702 fixed ambush size 2020-03-07 04:47:11 +01:00
Zeno Rogue
362489d629 named Knights 2020-03-07 04:47:11 +01:00
Zeno Rogue
75bbbe6b42 changes:: ambush 2020-03-07 04:47:11 +01:00
Zeno Rogue
6e3e9e3eca ambush sizes 2020-03-07 04:47:11 +01:00
Zeno Rogue
103a3a3411 more changes.ccell added 2020-03-07 04:47:10 +01:00
Zeno Rogue
e564622a48 rewritten undo: part 1 2020-03-07 04:47:10 +01:00
Zeno Rogue
00e436f0e2 variant:: cleaner implementation 2020-03-07 04:47:10 +01:00
Zeno Rogue
7f09bb6259 replaced macro VALENCE with function valence() 2019-12-14 12:31:20 +01:00
Zeno Rogue
26fb19e7a8 subdivided game.cpp; split movepcto into separate functions 2019-12-08 20:07:02 +01:00
Zeno Rogue
bf584b5429 more movei 2019-11-22 18:48:51 +01:00
Zeno Rogue
848eb8f48b export everything: modules compiled separately 2019-09-12 22:50:16 +02:00
Zeno Rogue
82f24b4b6c exporting necessary stuff all over (in progress) 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