Zeno Rogue
9a319e2d2a
refactored shvid_full and wall_offset as virtual functions
2021-07-09 22:32:00 +02:00
Zeno Rogue
74486309a6
created a function init_heptagon which does tailored_alloc and clears the data
2021-07-04 10:36:16 +02:00
Zeno Rogue
90425b3f0e
Merge branch 'master' of https://github.com/zenorogue/hyperrogue
2021-06-17 09:53:50 +02:00
Zeno Rogue
2320619b86
strict_tree_rules() added
2021-06-17 09:44:48 +02:00
Dmitry Marakasov
0550ea97e6
bigstuff.cpp: fix identation warning
...
Fixes clang warning
./bigstuff.cpp:1663:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
2021-06-09 17:34:38 +03:00
Zeno Rogue
855d2f66c3
fixed the Caribbean Yendor Chalenge
2021-06-01 13:07:56 +02:00
Zeno Rogue
605f0209b8
untrapped Prairie in no_walls
2021-05-01 14:14:28 +02:00
Zeno Rogue
69c0b90169
fixed Camelot having inside lands in some ls modes, and also made it more likely to appear in nowalls
2021-05-01 14:14:28 +02:00
Zeno Rogue
b8aaf5c09a
in binary tilings, starting in a horocyclic land (not singleland) now generates a single horocycle
2021-05-01 14:14:28 +02:00
Zeno Rogue
ad235ee8e1
fixed wrong starting land in any_wall hybrid
2021-05-01 14:14:28 +02:00
Zeno Rogue
19e7b8aa29
fixed nicewalls in hybri
2021-05-01 14:14:28 +02:00
Zeno Rogue
f6f1bbe5a8
fixed the Temple of Cthulhu in bin44
2021-04-30 15:05:10 +02:00
Zeno Rogue
923f4522c3
fixed the Princess Challenge
2021-04-25 11:30:34 +02:00
Zeno Rogue
5f2c39a599
fixed Crossroads II
2021-04-25 11:30:26 +02:00
Zeno Rogue
acfacd498f
horocycle refactor/bugfix
2021-04-25 11:30:10 +02:00
Zeno Rogue
831d699270
fixed crashes with Canvas
2021-04-23 20:23:49 +02:00
Zeno Rogue
5bd56eea10
fixed Elemental Planes in ls single
2021-04-23 20:13:10 +02:00
Zeno Rogue
1276f87b71
added build_barrier_good, and also fixed equidistant lands in single
2021-04-23 19:54:12 +02:00
Zeno Rogue
21d5187039
in ls::single, fixed Warped Coast
2021-04-23 19:51:45 +02:00
Zeno Rogue
e960b82e17
fixed Crossroads in ls::single, also enabled Crossroads V
2021-04-23 19:45:50 +02:00
Zeno Rogue
f3b359940e
fixed single-land Camelot
2021-04-23 19:14:37 +02:00
Zeno Rogue
8f91990de6
improvements in ls::single
2021-04-15 19:07:41 +02:00
Zeno Rogue
f5fa1263c3
fixed the mercury rivers
2021-04-15 17:17:20 +02:00
Zeno Rogue
4b1b0516f3
choice of the land structure
2021-04-11 22:15:40 +02:00
Zeno Rogue
d64c5e338c
extra guards
2020-10-15 16:33:52 +02:00
Zeno Rogue
554567e0cf
fixed some potential issues with arb
2020-08-02 13:01:55 +02:00
Zeno Rogue
6974567965
fixed big Minefields
2020-07-30 21:27:51 +02:00
Zeno Rogue
224a02d086
bigstuff in inverse
2020-07-13 00:53:48 +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
Zeno Rogue
233adddd36
moved reg3 values to cgi
2020-04-05 10:58:56 +02: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
Arthur O'Dwyer
7a706478dc
Add a helper function voidp
to silence GCC warnings about %p
.
...
We must fully qualify calls to `hr::voidp` because the expression
`voidp(x)` is ambiguous or worse. "/usr/include/zconf.h" defines
`voidp` in the global namespace as a typedef for `void*`.
We don't want an unsafe functional-style cast to `void*`;
we want to call our nice safe helper function. So we qualify the name.
2020-03-23 14:39:28 -04:00
Zeno Rogue
34d5ec2242
horo_distance naming conflict, renamed to horo_gen_distance
2020-01-29 19:32:32 +01:00
Zeno Rogue
64f9718a54
increased layer size and decreased wall quantity (replaced with rubble) in rule Temples
2020-01-29 19:23:00 +01:00
Zeno Rogue
0b18865654
horocycle generation distance reduced in rule
2020-01-29 19:20:25 +01:00
Zeno Rogue
d6dddec4dc
fixup MAXMDIM
2020-01-29 19:04:54 +01:00
Zeno Rogue
f05fa60400
added MAXMDIM guards
2020-01-29 18:18:51 +01:00
Zeno Rogue
da2bcb1694
randomized Camelot in honeycombs
2020-01-28 19:45:46 +01:00
Zeno Rogue
37ff798ee4
default_levs() in honeycombs can be 0
2020-01-28 19:45:24 +01:00
Zeno Rogue
a5a9104abf
reg3:: Camelot
2020-01-28 17:58:55 +01:00
Zeno Rogue
59a36709f8
fixup to celldistAlt (masterAlt)
2020-01-28 17:58:55 +01:00
Zeno Rogue
0e86f60806
reg3:: correct alt-maps in rule
2020-01-28 17:58:55 +01:00
Zeno Rogue
970d0c4699
fixed the trivial generation of Camelot in {even,x} tilings
2020-01-28 17:58:55 +01:00
Zeno Rogue
32a5368241
generateAlts: fixed generation in some geometries
2020-01-28 17:58:55 +01:00
Zeno Rogue
4287ddf883
default_levs() as a function
2020-01-28 17:58:55 +01:00
Zeno Rogue
00262e8f6a
reg3:: hrmap_reg3_rule (alt not working correctly yet)
2020-01-28 17:58:55 +01:00
Zeno Rogue
24b3d17eb4
mixed infinite order
2020-01-19 00:13:54 +01:00
Zeno Rogue
2271a67506
removed the MAX_EDGE limit
2020-01-18 16:03:32 +01:00
Zeno Rogue
6c61162392
merge
2019-12-26 22:40:41 +01:00
Zeno Rogue
873c679c01
strengthened the Clearing walls
2019-12-26 09:40:07 +01:00
Zeno Rogue
9d88528939
replaced TEMPLE_EACH with function temple_layer_size()
2019-12-14 12:35:03 +01:00
Zeno Rogue
7f09bb6259
replaced macro VALENCE with function valence()
2019-12-14 12:31:20 +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
0a9ec78c18
remplace euclid6, euclid4, 'euclid && \!archimedean && \!penrose' with standard_tiling(), euc::in(dimension, s7)
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
e8a39e6663
replaced euclid3:: with euc::
2019-12-08 11:01:28 +01:00
Zeno Rogue
ddb5d07ff6
cleanup in Euclidean
2019-12-08 10:59:09 +01:00
Zeno Rogue
f46967efb9
removed assignment of gp::loc to tie as Clang does not like it
2019-11-30 18:55:02 +01:00
Zeno Rogue
5add972bdd
product:: using in_h2xe() and in_s2xe() more consistently
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
1cba452f07
rewritten the Euclidean geometry
2019-11-30 18:06:47 +01:00
Zeno Rogue
610d6ee1b3
fixed the Haunted Woods unlock in OSM.
2019-11-15 11:17:10 +01:00
Zeno Rogue
b95672fb26
fixed a crash when generating horocycles
2019-11-14 19:50:12 +01:00
Zeno Rogue
ef9e2236ba
viewctr is no more... major reduction of redundancy/complexity
2019-11-14 00:26:50 +01:00
Zeno Rogue
5939d5e6d2
acid gull from Brownian no longer generates just after Safety
2019-10-27 02:45:32 +02:00
Zeno Rogue
7246605329
do not do walls if walls not implemented
2019-10-12 13:47:41 +02:00
Zeno Rogue
51ffd708d0
camelot_monster() and emerald_monster() to prevent wandering monster generating incorrect monsters
2019-10-10 13:49:35 +02:00
Zeno Rogue
43f629e9c4
inforder:: wall generation
2019-10-10 13:49:35 +02:00
Zeno Rogue
46d127401e
nih improvements
2019-10-02 19:22:43 +02:00
Zeno Rogue
d1bf6fef5e
replaced product::product_sphere()
2019-09-12 22:50:16 +02:00
Zeno Rogue
e8c7285cc2
product:: lands in S2xE
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
1e6970ca28
hybrid:: refactored the common parts of prod and sl2, also used them when applicable
2019-09-12 22:50:15 +02:00
Zeno Rogue
136b931609
PSL(2,R)
2019-09-12 22:50:15 +02:00
Zeno Rogue
a03eb0d913
fixed new geometry handling for Archimedean
2019-09-12 22:50:15 +02:00
Zeno Rogue
d75b0cdb0b
product:: fix crashes because buildAnotherEquidistant called
2019-09-12 22:50:15 +02:00
Zeno Rogue
313bfa2829
reptilecheat disables knights in Camelot
2019-09-12 22:50:15 +02:00
Zeno Rogue
988adb8259
product:: horocycles now have base altitude
2019-09-12 22:50:14 +02:00
Zeno Rogue
f40072511b
product:: big stuff
2019-09-12 22:50:13 +02:00
Zeno Rogue
437c4e4cdd
flag 'experimental' for new geometries
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
c2d56fb9bc
autohdr.h applied in more files
2019-09-12 22:50:12 +02:00
Zeno Rogue
661743a19b
removed the obsolete *MovR functions
2019-09-12 22:50:12 +02:00
Zeno Rogue
1eacccd587
solv:: fixed Temple generation
2019-09-12 22:50:12 +02:00
Zeno Rogue
602e6f27db
generating various lands in Sol
2019-09-12 22:50:12 +02:00
Zeno Rogue
632957b678
solv:: chaos mode did not work
2019-09-12 22:50:11 +02:00
Zeno Rogue
6bd4d748f0
factored elementalXY
2019-09-12 22:50:11 +02:00
Zeno Rogue
4f27b12ca2
nilv:: preliminary implementation
2019-09-12 22:50:11 +02:00
Zeno Rogue
18376d2a48
legacy in top_land
2019-09-12 22:50:11 +02:00
Zeno Rogue
05a01c280e
top_land no longer computes celldist if no top_land is used
2019-09-12 22:50:11 +02:00
Zeno Rogue
e1ec5dbf03
disabled Camelot in 3D fullgames
2019-09-12 22:50:11 +02:00
Zeno Rogue
017afc59f1
denser Crossroads in Sol
2019-09-12 22:50:09 +02:00
Zeno Rogue
fff0cd1d3e
land improvements in Sol/Penrose/B4
2019-09-12 22:50:09 +02:00
Zeno Rogue
b2e8a869cb
updir and expansion functions in binarytiling
2019-09-12 22:50:09 +02:00
Zeno Rogue
cf496e8940
kite-and-dart tiling
2019-09-12 22:50:09 +02:00
Zeno Rogue
946570da31
moved zpush from 3dmodels to hyperpoint
2019-09-12 22:50:09 +02:00
Zeno Rogue
c039f229e3
better sky for R'Lyeh, Temple, and Ruined City
2019-09-12 22:50:07 +02:00