1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-14 01:14:48 +00:00
Commit Graph

294 Commits

Author SHA1 Message Date
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
?
3ed2de8519 fixed irregular tilings on quotient spaces; new CLI parameters for irregular 2019-09-12 22:38:43 +02:00
?
6c763d5879 regular pattern on 3D Temple of Cthulhu 2019-09-12 22:38:40 +02:00
?
31037574f5 CAP_COMPLEX2 first 2019-09-12 22:38:39 +02:00
?
c5a771c888 CAP_FIELD part 1 2019-09-12 22:38:39 +02:00
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
Zeno Rogue
73f1686439 no more Brown generation in PTM Ocean 2019-09-12 22:38:39 +02:00
Zeno Rogue
797a852b31 no more crashes in some Euclidean lands 2019-09-12 22:38:39 +02:00
Zeno Rogue
7c84d2e554 achievements/leaderboards for the new lands/modes 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
6d392ce07e westwall:: initial commit 2019-04-29 17:19:06 +02:00
Zeno Rogue
410c05554c racing:: fixed some lands for racing 2019-04-29 17:19:05 +02:00
Zeno Rogue
d5ce7dc30b racing:: improved Euclidean track generation 2019-04-29 17:19:05 +02:00
Zeno Rogue
74ad8ea135 brownian:: more serious work 2019-04-29 17:19:05 +02:00
Zeno Rogue
36034a1514 fixed some lands generating incorrectly 2019-02-08 16:56:23 +01:00
Zeno Rogue
5bf27db481 removed Lancers and PyroCultists from Camelot if getDistLimit is too low 2019-02-06 18:48:38 +01:00
Zeno Rogue
05df60ae70 more lands implemented for cylinders 2018-12-14 19:27:12 +01:00
Zeno Rogue
e16c4aada7 Hedgehog Warriors are replaced by Fire Cultists in non-3-valent Camelot 2018-12-14 19:27:11 +01:00
Zeno Rogue
000f271552 refactored buildCamelot as a separate function 2018-12-14 19:27:11 +01:00
Zeno Rogue
35b826645c Euclidean Chaos Mode works not only in CR4 2018-12-11 22:10:53 +01:00
Zeno Rogue
bd479d3c41 fixed worldsize display and gp::area for S3==4 2018-12-11 22:10:53 +01:00
Zeno Rogue
e9920d8d57 Chaos mode not works in Euclidean 2018-12-11 22:10:53 +01:00
Zeno Rogue
460eb19881 implemented new geometries: cylinder and (only one for now) Mobius band 2018-12-11 22:10:53 +01:00
Zeno Rogue
ce390de0d2 fixed curr_dist and horocycles in Canvas for Euclidedan 2018-09-28 12:27:44 +02:00
Zeno Rogue
5e8a42629c Canvas now includes celldistAlt 2018-09-27 22:11:37 +02:00
Zeno Rogue
dee2b23991 replaced chosenDown with a better set of functions 2018-09-27 21:53:07 +02:00
Zeno Rogue
7058ccf747
Merge pull request #60 from Quuxplusone/polarb50
polara50 and polarb50 now consistently return bool, not int
2018-09-24 00:24:50 +02:00
Zeno Rogue
7b4bdbea1c fixed chosenDownId on irregular grids (use MODFIXER not S42) 2018-09-23 16:34:53 +02:00
Zeno Rogue
2587474115 fixed chosenDown for bitruncated a45 where there can be three parents 2018-09-23 16:34:53 +02:00
Zeno Rogue
cebfcf5196 separated function chosenDownId 2018-09-21 19:49:03 +02:00
Zeno Rogue
9bf8842124 expansion is now computed exactly and for most geometries 2018-09-12 04:23:15 +02:00
Arthur O'Dwyer
f84975d1d1 polara50 and polarb50 now consistently return bool, not int.
MSVC complains about constructions such as

    bool polara50(int);
    int polara50(cell *c) {
        // ...
        return polara50(someint);
    }
2018-09-05 22:28:35 -07:00
Zeno Rogue
5dea01b934 Camelot a bit more frequent in CR4 2018-08-31 04:18:41 +02:00
Zeno Rogue
3efb8990d7 fixed CR4 appearing inside Mountain (and probably other horocyclic lands) 2018-08-31 04:18:19 +02:00
Zeno Rogue
80e0ad5cd0 fixed some lands in Archimedean dual 2018-08-30 16:10:49 +02:00
Zeno Rogue
6de0f0a8aa instead of nonbitrunc, gp::on and irr::on, there is one variable, variation 2018-08-28 17:17:34 +02:00
Zeno Rogue
ad27493dee fixed a crash in Yendorian Forest 2018-08-22 13:41:01 +02:00
Zeno Rogue
881a72c45b reduced openplains dlimit in archimedean 2018-08-22 11:48:17 +02:00
Zeno Rogue
56c102de94 tailored allocation, and increased MAX_EDGE to 14 2018-08-22 00:00:59 +02:00
Zeno Rogue
dc1d3e4ee1 fixed automatic pseudohept; Warped walls do generate in arcm 2018-08-21 16:58:09 +02:00
Zeno Rogue
4d31e5a544 renamed 'syntetic' to 'archimedean' (enums/files/marcos/namespaces) 2018-08-19 23:06:32 +02:00
Zeno Rogue
7bae01c168 synt:: replaced the combinatorial building process with floating-point-based one for hyperbolic geometry too 2018-08-19 00:27:20 +02:00
Zeno Rogue
682f804576 major rewrite: unified the common parts of heptagon and cell via struct connection<T> and struct walker<T> 2018-08-18 00:46:45 +02:00
Zeno Rogue
749ad03138 syntetic tilings (WIP) 2018-08-17 13:29:00 +02:00
Zeno Rogue
4f3cc3783a binary tiling 2018-08-09 19:28:53 +02:00
Zeno Rogue
f1250a677d fixed the Crossroads IV in PTM 2018-08-01 13:52:40 +02:00
Zeno Rogue
190fa3ea1d irr:: horocycles 2018-07-21 17:46:14 +02:00
Zeno Rogue
f7e5f470dc irr:: celldist and (circular, not yet horocyclic) celldistAlt 2018-07-20 02:58:47 +02:00
Zeno Rogue
c52f8e94d2 irr:: improved the wall rate 2018-07-18 00:09:39 +02:00
Zeno Rogue
c8c1e3a346 irregular grids 2018-07-16 20:05:23 +02:00
Zeno Rogue
cf89574126 added missing horo_ok 2018-07-16 19:53:12 +02:00
Zeno Rogue
291f326634 fixed buildEquidistant by using MODFIXER instead of 42 2018-07-10 21:24:31 +02:00
Arthur O'Dwyer
62db7ee250 Eliminate VLAs for the benefit of MSVC. 2018-06-29 14:13:59 -07:00
Zeno Rogue
ed8ff63ce4 removed some more incorrect instances of pathdist 2018-06-28 11:55:59 +02:00
Zeno Rogue
030377583c changed the 'quotient==2' tests to 'geometry == gFieldQuotient' 2018-06-25 23:14:46 +02:00
Zeno Rogue
bc06f387fc fixed some issues with the generation of Land of Storms in other geometries 2018-06-22 19:36:04 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
a7ed148ec3 removed unnecessary check gp::on 2018-06-17 19:04:57 +02:00
Zeno Rogue
4c619e60dd moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library 2018-06-11 01:58:31 +02:00
Zeno Rogue
39db828a38 Fixed the bugs with computing fieldpattern not in hyperbolic geometry (memory error + canvas crashes) 2018-05-09 21:32:31 +02:00
Zeno Rogue
6739a14eda fixed the Crossroads IV/Camelot/Warped problem 2018-05-03 11:23:55 +02:00
Zeno Rogue
4b0a63120a disabled quest in weirdhyperbolic palaces 2018-05-03 10:59:43 +02:00
Zeno Rogue
cf6d2a36c4 fixed odd stripes of CR4 in the Graveyard 2018-04-23 12:00:51 +02:00
Zeno Rogue
166061beb3 fixed the bug which caused too low Great Wall generation in the Crossroads 2018-04-23 11:49:05 +02:00
Zeno Rogue
d9381c7284 Clearing in bounded geometries 2018-04-14 10:24:02 +02:00
Zeno Rogue
026e126dd2 Fixed the bug with Caribbean in non-standard geometries (caused freezes, crashes, and bad horocycles) 2018-04-13 14:00:30 +02:00
Zeno Rogue
68a54c0695 Elemental Planes work in weirdgeometries with simplified walls. Improved validity reports. 2018-04-13 13:42:22 +02:00
Zeno Rogue
3ea4bd91a8 No more Lost Mountains in quotient Jungle etc. 2018-04-13 13:08:16 +02:00