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

263 Commits

Author SHA1 Message Date
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
Zeno Rogue
854c1dd3d2 improved the 'full game' in weird CR4 2018-04-11 23:37:28 +02:00
Zeno Rogue
9d91390677 tactic:: removed lasttactic in favor of specialland. No more treasures on Crossroads in equid lands. Fixed warped walls and CR4 in a4. 2018-04-11 17:44:46 +02:00
Zeno Rogue
9fd8713cbc gp:: correct long-distances in all Goldberg hyperbolic tilings 2018-04-10 17:06:04 +02:00
Zeno Rogue
90ff8c49dc marked land quality in gp, fixed some bugs 2018-04-10 08:05:35 +02:00
Zeno Rogue
85d5ca04cf fixed Lost Mountain on spheres 2018-04-10 08:01:39 +02:00
Zeno Rogue
830785990c renamed whirl to goldberg 2018-04-09 17:40:12 +02:00
Zeno Rogue
f5cd14c3c5 horo_ok to tell if horocycles are available in the current geometry 2018-04-06 23:18:40 +02:00
Zeno Rogue
a1118216dd Temple walls are now random (never full) in weirdhyperbolic && nonbitrunc 2018-04-06 22:23:44 +02:00
Zeno Rogue
90d4f0d613 whirl:: celldist and celldistAlt now work 2018-04-06 22:22:33 +02:00
Zeno Rogue
5ea2a52f3f more fixes to Warped Coast 2018-04-04 17:59:24 +02:00
Zeno Rogue
fdb8fce6c9 whirl:: disabled horocycles 2018-04-04 15:03:28 +02:00
Zeno Rogue
d31341b403 equidistant-based lands in weirdhyperbolic are now based off CR4 2018-04-04 00:08:17 +02:00
Zeno Rogue
857c8c41cb no more nul reference in incompatible geometries without top_land 2018-04-03 23:36:37 +02:00
Zeno Rogue
229f717678 split sight/game/generation range; bonuses instead of absolute values 2018-04-03 23:34:47 +02:00
Zeno Rogue
eafd5a1eab options -W3 and -top 2018-03-30 00:20:33 +02:00
Zeno Rogue
83b9e161ec fixed the first mouse in the Palace 2018-03-24 13:25:16 +01:00
Zeno Rogue
ac37b6df99 more elegant cellwalkers 2018-03-24 12:59:01 +01:00
Zeno Rogue
e2531fb891 compare pathdist with PINFD, not INF 2018-02-10 18:20:12 +01:00
Zeno Rogue
64adb6f0ea updated the header comments to 2018, also added the missing ones 2018-02-09 00:40:26 +01:00
Zeno Rogue
b693c3ca58 fixed a bug with cleaning quotient spaces 2018-02-08 22:27:48 +01:00
Zeno Rogue
8713d34d19 'remove faraway cells from the memory' option 2018-01-25 19:49:19 +01:00
Zeno Rogue
51652304ad Crossroads IV in alternate hyperbolic geometries 2018-01-08 23:11:29 +01:00
Zeno Rogue
5bf6d54c7d changed chamfered to bitruncated 2018-01-06 22:34:03 +01:00
Zeno Rogue
495dbba809 renamed 'truncated' to 'chamfered' 2018-01-04 18:39:04 +01:00
Zeno Rogue
cafe34ad48 fixed circle/horocycle/equidistant-based lands in euclid4 2017-12-29 14:20:38 +01:00
Zeno Rogue
5f4dbf9193 Elemental and CR3 now work better in Euclidean Squares 2017-12-29 13:45:06 +01:00
Zeno Rogue
11569c693d big change: more configuration for the torus (and also Klein bottle) 2017-12-28 16:46:10 +01:00
Zeno Rogue
3c8d4d91b5 better EuclidA4 warped coast 2017-12-18 21:17:15 +01:00
Zeno Rogue
b214fbefa8 don't create Clearing if not available in this geometry 2017-11-03 21:15:11 +01:00
Zeno Rogue
0c779f8067 Mercury Rivers added when applicable 2017-11-03 21:12:59 +01:00
Zeno Rogue
f860554c9f more special cases fixed 2017-10-30 22:47:07 +01:00