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

42 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
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
Zeno Rogue
e1194ff588 more header cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
a49de4530f dual:: added some missing gd->store's 2019-09-12 22:50:04 +02:00
Zeno Rogue
e5cc9d77a0 3d:: automatically adjust monster generation based on the number of generated cells 2019-09-12 22:38:45 +02:00
Zeno Rogue
3e4fd1d1b8 fixed Brown Islands crashing in Euclidean 2019-09-12 22:38:39 +02:00
Zeno Rogue
5f57c08154 fixed treasure not appearing in freefall/windy in shmup 2019-09-12 22:38:39 +02:00
Zeno Rogue
bf979609b5 brownian:: changed the maturing rule 2019-09-12 22:38:39 +02:00
Zeno Rogue
a676424573 Irradiated Yendor Challenge (but commented off for now) 2019-09-12 22:38:39 +02:00
Zeno Rogue
a9bf8304a4 west:: removed junk 2019-09-12 22:38:39 +02:00
Zeno Rogue
90771dfdbe brownian:: correct memory clearing 2019-09-12 22:38:38 +02:00
Zeno Rogue
0adfaa55df brownian:: editable level colors 2019-09-12 22:38:38 +02:00
Zeno Rogue
41a4c1bb2e brownian:: improvement in distant generation 2019-09-12 22:38:38 +02:00
Zeno Rogue
16e29c7907 brownian:: use getDistLimit()*2/3/4 instead of 12/20/30 2019-09-12 22:38:38 +02:00
Zeno Rogue
5598bf3e08 brownian:: nicer finding, and theme/balance improvements 2019-09-12 22:38:38 +02:00
Zeno Rogue
d9c412c540 variant:: improved the green part so that it does not overflow 2019-09-12 22:38:38 +02:00
Zeno Rogue
d2bef0eaf8 variant:: no more graves created on traps 2019-09-12 22:38:38 +02:00
Zeno Rogue
dda147c173 newlands:: wandering monsters in Brownian and Variant 2019-04-29 17:19:06 +02:00
Zeno Rogue
1ef8b8c5e8 brownian:: improved balance 2019-04-29 17:19:06 +02:00
Zeno Rogue
506af06c8f brownian:: improved colors 2019-04-29 17:19:06 +02:00
Zeno Rogue
fd3f762a30 westwall:: no West treasures close to the wall 2019-04-29 17:19:06 +02:00
Zeno Rogue
2bc66342dd newlands:: implemented new Orbs: Gravity, Intensity, Choice 2019-04-29 17:19:06 +02:00
Zeno Rogue
9d82cea995 westwall:: Yendor Quest in the West Wall 2019-04-29 17:19:06 +02:00
Zeno Rogue
6d392ce07e westwall:: initial commit 2019-04-29 17:19:06 +02:00
Zeno Rogue
74ad8ea135 brownian:: more serious work 2019-04-29 17:19:05 +02:00