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

387 Commits

Author SHA1 Message Date
Zeno Rogue
9b7ad345a9 mine adjacency rule can be changed (in 2D for now) 2019-09-12 22:42:59 +02:00
Zeno Rogue
52305eb830 fixed thumper-to-water/chasm counters 2019-09-12 22:42:59 +02:00
Zeno Rogue
e762fcab2e fixed fire in Brownian 2019-09-12 22:42:59 +02:00
Zeno Rogue
743af3217d the magic of Orb of Yendor makes them immobile using boats 2019-09-12 22:42:58 +02:00
Zeno Rogue
05ee76015f a better message on illegal moves in Brown Island 2019-09-12 22:42:58 +02:00
Zeno Rogue
f5d08e34fd bulls rage when pushed 2019-09-12 22:42:58 +02:00
Zeno Rogue
f9ba041451 asteroids:: theming, changed look to invisible floors + grid, provided validity rules 2019-09-12 22:42:58 +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
5356eba11c Asteroids 2019-09-12 22:42:58 +02:00
Zeno Rogue
75fff87366 moveghosts no longer stops completely if one of the ghosts is stunned 2019-09-12 22:38:47 +02:00
Zeno Rogue
fbf73cd66b better cellEdgeUnstable rule in 3D 2019-09-12 22:38:47 +02:00
Zeno Rogue
02a174b3ca item/monster/wall/land types done with X-macros; flags given too 2019-09-12 22:38:47 +02:00
Zeno Rogue
0e10dec9e2 added some exports to hyper.h and rogueviz.h 2019-09-12 22:38:46 +02:00
Zeno Rogue
f0092d9633 3d:: vision-based gamerange in shmup 2019-09-12 22:38:45 +02:00
Zeno Rogue
52ce5ac9aa 3d:: all the regular honeycombs 2019-09-12 22:38:43 +02:00
Zeno Rogue
b5c7df4b11 3d:: getHemisphere works nicely; disabled wall removing in sphere3 crossroads 2019-09-12 22:38:43 +02:00
Zeno Rogue
a52755bf50 some fixes due to weird action in git 2019-09-12 22:38:43 +02:00
?
42e4342c4a 3d:: fixed pushing directions 2019-09-12 22:38:42 +02:00
?
111bc3697d sword:: removed the dependence on the S* constants 2019-09-12 22:38:42 +02:00
?
f37c8d2f1c more elegant airdir 2019-09-12 22:38:42 +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
bf732ff89f fixed a bug with pushing thumpers into fire traps. 2019-09-12 22:38:39 +02:00
Zeno Rogue
c80df92acb text fixes, PL translation updated 2019-09-12 22:38:39 +02:00
Zeno Rogue
47e43f974c no more trolls leaving walls in freefall 2019-09-12 22:38:39 +02:00
Zeno Rogue
4564a0203c Brownian shows elevation in the help line 2019-09-12 22:38:39 +02:00
Zeno Rogue
102292fdc6 fixed the walls generated by Bronze Beasts outside of Brown Islands 2019-09-12 22:38:39 +02:00
Zeno Rogue
b4025d375c Bronze Bugs are stunned also when pushed into water 2019-09-12 22:38:39 +02:00
Zeno Rogue
df73ccb4c2 splashing sounds when pushing things into water/chasms; barrels produce permanent walls 2019-09-12 22:38:39 +02:00
Zeno Rogue
d982407d5a secondary attacks cause the barrels to explode 2019-09-12 22:38:39 +02:00
Zeno Rogue
d64ce588d2 clicking sounds for traps 2019-09-12 22:38:38 +02:00
Zeno Rogue
eab0369ce9 shmup:: features of the new lands work 2019-09-12 22:38:38 +02:00
Zeno Rogue
cded55423b no more pushing statues on arrow/fire traps 2019-09-12 22:38:38 +02:00
Zeno Rogue
ebe75cdd62 renamed itOrbBrown to itOrbIntensity 2019-09-12 22:38:38 +02:00
Zeno Rogue
d944f3cb43 newlands:: explosive barrels are now attacked by pikemen and blue raiders 2019-04-29 17:19:06 +02:00
Zeno Rogue
fd3f762a30 westwall:: no West treasures close to the wall 2019-04-29 17:19:06 +02:00
Zeno Rogue
30c4d798db newlands:: fixed Orb of Choice 2019-04-29 17:19:06 +02:00
Zeno Rogue
8a414d1768 westwall:: monster theme 2019-04-29 17:19:06 +02:00
Zeno Rogue
2bc66342dd newlands:: implemented new Orbs: Gravity, Intensity, Choice 2019-04-29 17:19:06 +02:00
Zeno Rogue
9d82cea995 westwall:: Yendor Quest in the West Wall 2019-04-29 17:19:06 +02:00
Zeno Rogue
6d392ce07e westwall:: initial commit 2019-04-29 17:19:06 +02:00
Zeno Rogue
724d3516fa variant:: first version 2019-04-29 17:19:05 +02:00
Zeno Rogue
bf23d42e4c racing:: more arrangements 2019-04-29 17:19:05 +02:00
Zeno Rogue
410c05554c racing:: fixed some lands for racing 2019-04-29 17:19:05 +02:00
Zeno Rogue
74ad8ea135 brownian:: more serious work 2019-04-29 17:19:05 +02:00
?
162542b616 parts pushed too fast 2019-02-08 17:39:46 +01:00
Zeno Rogue
92d98847fb fixed the issue with Orb of Aether being marked as used due to Minefield uncovering 2019-02-06 18:48:53 +01:00
Zeno Rogue
35043b5528 tortoise flags are now editable with Shift+G and saved into saved levels 2019-02-06 18:48:53 +01:00
Zeno Rogue
b751fa56c6 no more ambushes on compasses (matters in HG) 2019-02-06 18:48:52 +01:00
Zeno Rogue
846032ece2 Blue Raiders now can destroy boats 2019-02-06 18:48:52 +01:00
Zeno Rogue
213cd2febf Orb of Empathy works correctly with Orb of the Fish now 2019-02-06 18:48:52 +01:00
Zeno Rogue
6ca2768641 reduced the range of Fire Cultists to 2 if getDistLimit() < 4 2019-02-06 18:48:49 +01:00
Zeno Rogue
5e7920784f Orb of Winter now protects your boat from destruction 2019-02-06 18:48:36 +01:00
Zeno Rogue
24b8bcaf5e roar message now uses the correct number of kills instead of 20 2019-02-06 18:48:36 +01:00
Zeno Rogue
af95a20b43 bugfix: gadfly kills no longer counted twice 2019-02-06 16:39:40 +01:00
Zeno Rogue
f22ec08f86 Warnings when hitting an ally. Better warnings 2018-12-14 19:30:54 +01:00
Zeno Rogue
207df51b8a crystal:: pirates no longer drop confusing Compasses 2018-12-14 19:27:12 +01:00
Zeno Rogue
9e3e4cf7a5 crystal:: more lands 2018-12-14 19:27:12 +01:00
Zeno Rogue
46256155d7 crystal:: compass generation 2018-12-14 19:27:12 +01:00
Zeno Rogue
79e396c742 crystal:: computing Round Table sizes (not tested) 2018-12-14 19:27:12 +01:00
Zeno Rogue
9b6136fb41 fixed some bugs where euclid was used instead of eubinary 2018-12-14 19:27:11 +01:00
Zeno Rogue
90c024822e makeEmpty in Wild West no longer destroys nearby Great Walls 2018-12-11 22:10:53 +01:00
Zeno Rogue
3e87d463d2 fixed the 'special conduct' help in the Haunted Woods 2018-11-11 11:27:36 +01:00
Zeno Rogue
6ec7023501 fixed the crash in Wild West 2018-10-28 03:09:07 +01:00
Zeno Rogue
5fac74b1cb fixed graphical/movement glitches in the minimal quotient space 2018-09-23 16:34:53 +02:00
Zeno Rogue
98e96a20c3 better distribution in hrand and hrandf 2018-09-23 16:34:53 +02:00
Zeno Rogue
9bf8842124 expansion is now computed exactly and for most geometries 2018-09-12 04:23:15 +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
7cdf1a353f improved mirrors in various geometries 2018-08-21 15:37:59 +02:00
Zeno Rogue
cd91148459 arcm:: all patterns work 2018-08-20 15:24:44 +02:00
Zeno Rogue
1a6427ba32 some arrays had number bounds while it should have been MAX_EDGE 2018-08-18 17:37:12 +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
4f3cc3783a binary tiling 2018-08-09 19:28:53 +02:00
Zeno Rogue
508cecb3b3 the cost of leaving Land of Power now happens before collecting items 2018-08-01 14:04:47 +02:00
Zeno Rogue
1aafd72cd8 fixed a checkmate rule bug with Pikeman and (potentially killed) monster on the way 2018-08-01 12:40:44 +02:00
Zeno Rogue
b3d074161e killing a tortoise with a saved baby now kills the baby too 2018-07-30 09:51:57 +02:00
Zeno Rogue
39e131d985 no more petrification on Round Table 2018-07-30 09:34:48 +02:00
Zeno Rogue
e557dd1303 fixed a crash bug with the 'mark' command when no cell active 2018-07-23 23:35:01 +02:00
Zeno Rogue
f7e5f470dc irr:: celldist and (circular, not yet horocyclic) celldistAlt 2018-07-20 02:58:47 +02:00
Zeno Rogue
a91195bda1 bugfix: Raging Bull / Orb of the Bull / Orb of Horns worked correctly only on hexagons and heptagonsm 2018-07-10 21:51:28 +02:00
Zeno Rogue
508c63d731 calls to rogueviz::mark and rogueviz::fixparam from HR main are now replaced by hooks 2018-07-09 18:59:12 +02:00
Arthur O'Dwyer
f10f5a29b2 Fix a couple of issues in MSVC related to min and max.
MSVC apparently thinks that the result of arithmetic promotions
on an `unsigned:4` bitfield is `unsigned`, not `int`; which then
causes it to fail to deduce whether the `T` in `min<T>` should be
`unsigned` (the type of the LHS) or `int` (the type of the RHS).
Clang and GCC agree that the result of arithmetic promotions on
an `unsigned:4` bitfield should be `int`, so they don't see any
ambiguity here.
2018-07-08 22:19:30 -07:00
Arthur O'Dwyer
eac2ce1168 Tweak this weird hack for the benefit of MSVC.
MSVC wrongly complains about the old version:

    game.cpp(6802): error C2664: 'std::pair<hr::cell *,hr::eItem> std::make_pair<hr::cell*&,hr::eItem&>(_Ty1,_Ty2)':
    cannot convert argument 2 from 'hr::eItem' to 'hr::eItem &'
        with
        [
            _Ty1=hr::cell *&,
            _Ty2=hr::eItem &
        ]

And MSVC wrongly complains about this alternative:

    conformal::findhistory.emplace_back(c2, int(c2->item));
    error: no matching function for call to 'std::pair<hr::cell*, hr::eItem>::pair(hr::cell*&, int)'

And MinGW wrongly complains about these alternatives:

    game.cpp:6801:49: error: cannot bind bitfield 'c2->hr::cell::<anonymous>.hr::gcell::item' to 'hr::eItem&'
     conformal::findhistory.emplace_back(c2, c2->item);
                                             ~~~~^~~~

    game.cpp:6801:47: error: cannot bind bitfield 'c2->hr::cell::<anonymous>.hr::gcell::item' to 'hr::eItem&'
     conformal::findhistory.push_back({c2, c2->item});
                                           ~~~~^~~~
2018-07-08 22:19:20 -07:00
Zeno Rogue
8b35bf6d4b shards collectable in laMirrorOld 2018-07-07 11:04:44 +02:00
Zeno Rogue
a8c55be1d1 Orb of Water + Orb of Empathy no longer works on enemies too 2018-07-03 04:22:35 +02:00
Zeno Rogue
11d9d3de5a renamed the global variable r to hrngen; added a commentr about hrngen; fixed hrandom_shuffle in rogueviz-kohonen 2018-06-30 16:29:37 +02:00
Arthur O'Dwyer
1a93fbcd45 Stop using the deprecated std::random_shuffle, for the benefit of MSVC.
And generalize `hrandom_shuffle` to take an arbitrary `Iter`,
so that passing `vec.begin()` will work even with MSVC's
debug iterators. (Passing `&vec[0]` or `vec.data()` would work
either way, but I'd worry that someone would forget to do that
conscientiously every time.)
2018-06-29 14:20:03 -07:00
Zeno Rogue
941982be98 [10.3i] fixed gaining extra bullets in the Wild West 2018-06-29 13:15:44 +02:00
Zeno Rogue
0f4de1fa9a [10.3i] fixed shooting in the Wild West 2018-06-29 13:14:49 +02:00
Zeno Rogue
53e9cb3ca5 fixed a crash introduced in 10.4h 2018-06-29 12:29:23 +02:00
Zeno Rogue
f1f1098d95 removed some remaining references to sval, fixed the compilation of RogueViz 2018-06-29 12:16:35 +02:00
Zeno Rogue
b01cee20d5 fixed one more bug with pathdata 2018-06-28 14:56:12 +02:00
Zeno Rogue
5e891cf66e fixed the uninitialized variable warnings 2018-06-28 14:30:34 +02:00
Zeno Rogue
92240a0eeb fixed the missing message when picking up orbs from a boat 2018-06-28 13:35:15 +02:00
Zeno Rogue
cf8dffd6b8 fixed bugs with manual celllisters 2018-06-28 13:35:03 +02:00
Zeno Rogue
d11044a80a refactoring: sval/aitmp is no more, celllister(manual) used instead 2018-06-28 12:59:35 +02:00
Zeno Rogue
c6412511f5 fixed a bug in leader movement by using pathdist; also made pathdist more robust 2018-06-28 11:42:25 +02:00
Zeno Rogue
2d6f7d4ed0 five-kill achievement now also counts the 'basic' kill 2018-06-28 10:40:02 +02:00
Zeno Rogue
dd9723dc00 Orb of Freedom is now checked after the Terracotta Warriors 2018-06-28 10:39:35 +02:00
Zeno Rogue
b042a457cc non-player multikills are no longer counted for achievements 2018-06-28 10:39:15 +02:00
Zeno Rogue
87dc7dcd62 renamed the global variable 'which' to 'who_kills_me' for clarity and bug prevention (would be better still to remove it) 2018-06-26 00:56:46 +02:00
Zeno Rogue
92aba5c95b fixed a bug with arrow traps not killing anything (and possibly some other cases) 2018-06-24 01:18:39 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
8f8a259992 new quotient geometries 2018-06-22 01:48:46 +02:00
Zeno Rogue
529befd359 no more ambushes when summoning orbs in the Hunting Grounds 2018-06-18 17:48:27 +02:00
Zeno Rogue
d3200253db replacing with an explicit list 2018-06-17 18:32:06 +02:00
Zeno Rogue
35301f0a68 movement animations now work in quotient geometries 2018-06-17 17:51:26 +02:00
Zeno Rogue
95a2f617cf Rock Snakes from the Snake Nest now keep their colors in other lands 2018-06-17 12:15:46 +02:00
Zeno Rogue
c0266a7164 renamed 'near' to 'isnear' ('near' is a non-standard keyword) 2018-06-13 00:42:27 +02:00
Zeno Rogue
50eaba3efd changes from zenorogue/hyperrogue#27 2018-06-12 22:40:06 +02:00
Zeno Rogue
520e5e5dbb pass lambdas to functions by reference, not by value zenorogue/hyperrogue#25 2018-06-12 22:17:08 +02:00
Zeno Rogue
75b096c58d conflicts resolved 2018-06-12 21:57:00 +02:00
Zeno Rogue
78e817c70b
Merge pull request #28 from Quuxplusone/thumper-and-boat
Pushing a thumper through a boat is no longer allowed.
2018-06-12 21:43:31 +02:00
Zeno Rogue
a2ec40537d Hunter dogs (guarding/regrouping) and sometimes wolves no longer count as a different kill type (not counted in total kills) 2018-06-12 21:13:59 +02:00
Zeno Rogue
8f183b7afb Orb of Love no longer incresaes the displayed score in the Strange Challenge 2018-06-12 18:26:20 +02:00
Zeno Rogue
c5468db000 fixed some issues with adjacency taken into account incorrectly with Hedgehogs/Flailguards/Pikemen and Warp/halfvines 2018-06-12 16:05:39 +02:00
Zeno Rogue
fc23c64c5e orb of Horns, and other cases caring about opposite cells, now work correctly in nonstandard geometries 2018-06-12 16:04:33 +02:00
Zeno Rogue
cc5909e999 fixed the Earth Elementals falling/dying in RRV 2018-06-11 18:43:13 +02:00
Zeno Rogue
147cedfd4e Orb of Recall no longer creates holes in the Yendorian Forest 2018-06-11 18:14:54 +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
5eb084f9b0 additional help texts when the rules are different in the current geometry 2018-05-27 01:09:34 +02:00
Zeno Rogue
9fb73c79bb fixes to daily leaderboards 2018-05-27 01:06:12 +02:00
Zeno Rogue
8872c79cae Hunting Dogs no longer retreat outside of non-quotient hyperbolic geometry 2018-05-20 15:15:29 +02:00
Zeno Rogue
e6678806f9 Mirror Spirits now killed by Orb of Slaying 2018-05-15 23:27:48 +02:00
Zeno Rogue
e3c3a4202e Kraken variant of pseudohept 2018-05-04 12:49:50 +02:00
Zeno Rogue
4bf892442f Raiders take pseudohept into account 2018-05-04 12:41:36 +02:00
Zeno Rogue
70bfe718ef map no longer disappears suddenly and irreparably if you scroll into the invisible region 2018-04-23 13:20:36 +02:00
Zeno Rogue
4a8e33a2d5 better messages when dropping Dead Orbs impossible 2018-04-23 12:14:29 +02:00
Zeno Rogue
a9f80933e0 falling birds now trigger trapdoors, also animation is added 2018-04-21 14:09:17 +02:00
Zeno Rogue
d9381c7284 Clearing in bounded geometries 2018-04-14 10:24:02 +02:00
Zeno Rogue
cf38081186 gate radius is back to 3 on spheres and a4 2018-04-12 20:53:17 +02:00
Zeno Rogue
2ef7d61d36 fixed gate continuity 2018-04-12 20:52:58 +02:00
Zeno Rogue
f375ac498a Zebra, Palace, Power, and Vineyard are now OK in gp 2018-04-12 11:00:51 +02:00
Zeno Rogue
e6a5c41c9b more efficient gate toggling algorithm 2018-04-12 11:00:12 +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
848a135135 cleaner sightrange 2018-04-11 13:16:40 +02:00
Zeno Rogue
ebda963d68 removed no longer productive 'overgenerate', improved the down/up limits of sightrange_bonus 2018-04-10 20:25:56 +02:00
Zeno Rogue
986e66ee4b Knights and quit-menu now display circle sizes only if HR knows the formula 2018-04-10 08:03:28 +02:00
Zeno Rogue
033c626dfc restartGame, wrong mode, and resetModes now use constants instead of magic char names 2018-04-09 18:05:23 +02:00
Zeno Rogue
830785990c renamed whirl to goldberg 2018-04-09 17:40:12 +02:00
Zeno Rogue
4c2a4d7bb0 rose range is now influenced by gamerange() 2018-04-04 13:48:58 +02:00
Zeno Rogue
563faad64e closeplate radius in whirl is 3 2018-04-04 00:14:18 +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
2ea4b1df04 no Dragons in the herds, Worms only a few steps 2018-03-24 16:24:08 +01:00
Zeno Rogue
a06ae6c9d5 summoning sickness for Zombies 2018-03-24 15:21:41 +01:00
Zeno Rogue
30c2239333 animate Baby Tortoise movement 2018-03-24 15:20:53 +01:00
Zeno Rogue
aa3ecdd923 no more broken Red Raider pairs close to player start 2018-03-24 15:20:20 +01:00
Zeno Rogue
ac37b6df99 more elegant cellwalkers 2018-03-24 12:59:01 +01:00
Zeno Rogue
dbc15d24ff adjusted the Domination description 2018-02-27 23:53:48 +01:00