Commit Graph

237 Commits

Author SHA1 Message Date
Zeno Rogue 7c9bea6e1b conflict resolved 2021-07-12 09:55:25 +02:00
Jesse Ruderman 123994bdc2 Fix UB when sorting empty vecs 2021-07-11 20:54:25 -07:00
Zeno Rogue 7aec4c3cf1 reg3:: changed the remaining refs to adjacent_dirs to dirdist; S7 to c->type 2021-07-11 16:18:04 +02:00
Zeno Rogue 0e0e4d0212 reg3:: strafe and dirs_adjacent with subcubes -- Great Wall generation works 2021-07-11 11:48:33 +02:00
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