Zeno Rogue
7e416eaef2
EX default_model()
2020-05-25 02:32:29 +02:00
Zeno Rogue
8641eafd96
xcode no_code listed explicitly if not assigned
2020-05-16 11:24:30 +02:00
Zeno Rogue
021dd34647
Merge branch 'master' of https://github.com/zenorogue/hyperrogue
2020-05-15 11:55:14 +02:00
Zeno Rogue
4a8e3285c7
fixed a potential buffer overflow in loadsave()
2020-05-15 11:52:51 +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
db4be83091
all save boxes are now named (fakeboxes start with @)
2020-04-17 15:04:27 +02:00
Zeno Rogue
85a404bfe8
CA awards Orb of Aether automatically
2020-04-12 20:38:17 +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
50c6a4d366
added hooks_initialize
2020-04-11 00:42:53 +02:00
Zeno Rogue
721a4beddc
auto-switch to pure
2020-04-11 00:42:41 +02:00
Zeno Rogue
6feec1307f
brief fixup
2020-03-27 21:51:21 +01:00
Zeno Rogue
920f26e1e7
brief fixup
2020-03-27 21:49:57 +01:00
Zeno Rogue
a331779e72
one more fixup
2020-03-27 20:37:43 +01:00
Zeno Rogue
d21ffedcb5
added some comments to system.cpp; also fixed a bug with the three new orbs not being saved correctly in OSM
2020-03-27 20:21:08 +01:00
Zeno Rogue
67f64e2d91
load/save stuff is now in namespace scores
2020-03-27 20:05:58 +01:00
Zeno Rogue
63c9cc1060
removed tactic::trailer
2020-03-27 19:57:57 +01:00
Zeno Rogue
32baf01192
removed the variable 'showoff'
2020-03-27 19:53:59 +01:00
Zeno Rogue
a2b7da728a
unused variable 'gamecount' removed
2020-03-27 19:46:36 +01:00
Zeno Rogue
c6f9b1b7e2
added some comments in system
2020-03-27 19:39:46 +01:00
Zeno Rogue
4d4c904d3b
neon_mode is now an enum
2020-03-27 19:38:15 +01:00
Arthur O'Dwyer
af69faa646
Fix a harmless misuse of DEBBI
.
2020-03-23 14:39:30 -04:00
Arthur O'Dwyer
a0da10b408
Remove extraneous semicolons to quiet pedantic GCC warnings.
2020-03-23 14:38:57 -04:00
Zeno Rogue
85e6be8cab
do not reset whichShape to 0 in special geometries
2020-03-21 19:06:54 +01:00
Zeno Rogue
0d87481d29
fixed revolvers
2020-03-11 10:27:33 +01:00
Zeno Rogue
ca7f0cb4c3
achievement_gain_once
2020-03-07 04:47:11 +01:00
Zeno Rogue
d18a05558a
Safety in Farlands return to Icy
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
6317101d66
Orb of Plague
2020-03-07 04:47:10 +01:00
Zeno Rogue
02017ef88b
load/save boxes for the new features
2020-03-07 04:47:10 +01:00
Zeno Rogue
2ccb48f765
WFC can be experimented with
2020-03-07 04:47:10 +01:00
Zeno Rogue
9c25804a05
added dual geometry puzzle generator
2020-01-28 17:58:55 +01:00
Zeno Rogue
27e19ca5ca
mapeditor:: canvas_default_wall can be set now
2020-01-28 17:58:55 +01:00
Zeno Rogue
5382038c4e
field quotient discovery
2020-01-16 17:13:57 +01:00
Zeno Rogue
3330d6060b
minor fixes to OINF
2019-12-27 23:00:38 +01:00
Zeno Rogue
17ffe53839
clearing:: clear memory on new game
2019-12-27 14:02:21 +01:00
Zeno Rogue
70910539b3
do not save arb tilings
2019-12-27 02:08:19 +01:00
Zeno Rogue
5940851f59
arb:: reset to pure
2019-12-27 01:52:28 +01:00
Zeno Rogue
e9862831ca
performing product on Catalan tilings no longer drops 'dual'
2019-12-27 01:52:14 +01:00
Zeno Rogue
6c61162392
merge
2019-12-26 22:40:41 +01:00
Zeno Rogue
4848cb1b87
show the big numbers in the Clearing
2019-12-25 21:57:25 +01:00
Zeno Rogue
8cfc5a578f
renamed penrose.cpp to kite.cpp and 'penrose' to 'kite::in()'
2019-12-14 12:12:24 +01:00
Zeno Rogue
d5c8aebf16
renamed binary:: to bt:: and binarytiling to bt::in()
2019-12-14 12:05:01 +01:00
Zeno Rogue
f772f9b7fd
replaced 'archimedean' with 'arcm::in()'
2019-12-14 11:57:23 +01:00
Zeno Rogue
26fb19e7a8
subdivided game.cpp; split movepcto into separate functions
2019-12-08 20:07:02 +01:00
Zeno Rogue
ddb5d07ff6
cleanup in Euclidean
2019-12-08 10:59:09 +01:00
Zeno Rogue
be71cd0d97
RPM and OSM are no longer considered incompatible
2019-11-30 18:06:48 +01:00
Zeno Rogue
d63b14da5c
PIU now works in the underlying map -- underlying geometry only is too fragile
2019-11-30 18:06:47 +01:00
Zeno Rogue
1329ec6b04
setting Euclidean no longer sets bitruncated
2019-11-30 18:06:47 +01:00