1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-19 15:20:27 +00:00
Commit Graph

261 Commits

Author SHA1 Message Date
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
Zeno Rogue
db38e0a271 dual:: narrower Crossroads IV 2019-09-12 22:50:04 +02:00
Zeno Rogue
a49de4530f dual:: added some missing gd->store's 2019-09-12 22:50:04 +02:00
Zeno Rogue
2b1aebb9b4 chaosmode variants (CLI only for now) 2019-09-12 22:50:03 +02:00
Zeno Rogue
c4469d9185 selecting a (horo)cyclic/equidistant-based land in the Experiments in Geometry while in standard geometry works now 2019-09-12 22:50:01 +02:00
Zeno Rogue
1c4d86e0e9 3D graphics in 2D (first commit) 2019-09-12 22:43:01 +02:00
Zeno Rogue
c8e950cd40 added some missing CAP_ and MAXMDIM guards 2019-09-12 22:43:01 +02:00
Zeno Rogue
e95fc386e1 fixed crashes in Camelot 2019-09-12 22:42:59 +02:00
Zeno Rogue
f507b7cf55 fixed Orb of the Warp destroyed while refactoring 2019-09-12 22:42:59 +02:00
Zeno Rogue
7c59f572ca 3d:: in Euclidean, lands are generated just like in Crystal 2019-09-12 22:42:59 +02:00
Zeno Rogue
57f2891826 bounded Minefield now works according to the standard Minesweeper rules 2019-09-12 22:42:58 +02:00
Zeno Rogue
0af9df16e4 3d:: Yendorian Forest 2019-09-12 22:38:47 +02:00
Zeno Rogue
837ad2695c fixed buildEquidistant in 3D 2019-09-12 22:38:47 +02:00
Zeno Rogue
4399866100 3d:: walls no longer depend on pseudohept 2019-09-12 22:38:46 +02:00
Zeno Rogue
67ba896be9 3d:: hororec:: nice Temple of Cthulhu 2019-09-12 22:38:46 +02:00
Zeno Rogue
0a0627afc5 selecting horocyclic lands in standard geometry works 2019-09-12 22:38:45 +02:00
Zeno Rogue
b9cbb28d66 3d:: nicer Temple of Cthulhu in horo-triangular 2019-09-12 22:38:45 +02:00
Zeno Rogue
4591c2166e 3d:: binary:: land boundaries 2019-09-12 22:38:45 +02:00
Zeno Rogue
22e65471f2 3d:: improved hyperbolic regular Temple 2019-09-12 22:38:45 +02:00
Zeno Rogue
497f7f6c0f 3d:: reg3:: distances and alt-distances 2019-09-12 22:38:45 +02:00
Zeno Rogue
78d88b5909 improved in the OO fashion: draw, relative_matrix, create_step, and several minor functions are now virtual in hrmap 2019-09-12 22:38:44 +02:00
Zeno Rogue
b17758c77f 3d:: Caribbean no longer freezes in rhombic 2019-09-12 22:38:43 +02:00
Zeno Rogue
b3920f76b0 3D:: Temple of Cthulhu in Euclidean 2019-09-12 22:38:43 +02:00