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
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
Zeno Rogue
ccbe7feb96 made the equidistant lands generate something without crashing in all geometries 2017-10-30 19:12:33 +01:00
Zeno Rogue
ae5938e1a4 renamed the variable 'purehepta' to 'nontruncated' 2017-10-30 12:24:41 +01:00
Zeno Rogue
055307712a improved Camelot, Temple; fixed Whirlpool 2017-10-30 10:29:15 +01:00
Zeno Rogue
00d61aae1c some rearranging, and NOWALL barriers now work in weirdhyperbolic 2017-10-29 14:21:42 +01:00
Zeno Rogue
3ef7a1ed83 fixed CR4 appearing inside mirrors 2017-10-29 10:57:57 +01:00
Zeno Rogue
345bd94c0d parially done mirrors; field pattern in weirdhyperbolic; fake other patterns in weirdhyperbolic 2017-10-29 10:52:02 +01:00
Zeno Rogue
016ade10c6 lots of work on the new geometries 2017-10-29 01:57:34 +02:00
Zeno Rogue
8a44a09de5 octagonal geometry and 10.0g 2017-10-27 20:07:58 +02:00
Zeno Rogue
623839be07 Hunting Grounds in Chaos 2017-10-11 23:18:33 +02:00
Zeno Rogue
343d0719b1 adapted most new lands for Shmup and some other modes 2017-10-11 22:16:07 +02:00
Zeno Rogue
135e3cd336 renamed 'DogPlains' enums to 'Hunting' 2017-10-10 14:24:39 +02:00
Zeno Rogue
3cf8cc3bbe More landgen refactoring. 2017-10-08 13:31:37 +02:00
Zeno Rogue
f1bba9de0d landgen refactoring 2017-10-08 12:10:40 +02:00