1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-08 06:59:55 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
Zeno Rogue
a6b30fa564 fixed checkmove giving wrong answer when bow::fire_mode is active 2023-12-22 01:07:12 +01:00
Zeno Rogue
b84e751d96 crossbow:: crossbow moves are no longer considered valid moves for the checkmate rule when the crossbow is not loaded 2023-10-29 08:19:40 +01:00
Zeno Rogue
b0d117e646 crossbow:: checkmate rule 2023-10-28 09:51:27 +02:00
Arthur O'Dwyer
62629f3e70 Change static const to static constexpr wherever possible
Since we require C++11, most of these consts can be constexpr.

Two `static const ld` remain non-compile-time-evaluable because
they depend on the runtime `log` function. One `static const cld`
remains non-compile-time because `std::complex<T>` doesn't become
constexpr until C++14.
2023-08-23 09:47:28 -08:00
Zeno Rogue
466cc5cc0a removed redundant pre-changes orbused rollback, and made it more elegant in movegolem 2022-09-09 12:24:21 +02:00
Zeno Rogue
c6369ac832 Orb of the Sword can now kill yourself through mirror or topology 2022-06-17 10:40:26 +02:00
Zeno Rogue
32bfdf42c3 Krakens no longer destroy player boats in peaceful mode 2021-12-12 20:35:18 +01:00
Zeno Rogue
093224bde6
Merge pull request #194 from jruderman/f2
Orb of shield/shell no longer bypasses 'kraken will destroy boat' warning
2021-07-10 09:34:14 +02:00
Jesse Ruderman
c5f867da91 Fix checkmate check when standing on an Orb of Speed 2021-07-09 20:33:38 -07:00
Jesse Ruderman
7f28389e66 Orb of shield/shell no longer bypasses 'kraken will destroy boat' warning 2021-07-09 20:28:24 -07:00
Zeno Rogue
990b544e7f fixed a YASC code bug 2021-06-01 13:07:36 +02:00
Zeno Rogue
b65e5f603f casual mode 2021-06-01 13:07:36 +02:00
Zeno Rogue
7fc91b1eaf YASC codes 2021-05-24 16:14:02 +02:00
Zeno Rogue
63f895974e improved the checkmove.cpp, also works for golems now 2020-11-05 14:24:01 +01:00
Zeno Rogue
7f636a2a7c Speed Witches are no longer incorrectly considered as threats (but Flash Witches are real\!) 2020-08-20 16:49:47 +02:00
Zeno Rogue
f69b6f0795 fixed Orb of Safety in multiplayer 2020-05-16 02:38:13 +02:00
Zeno Rogue
a9a5a0c9c2 fixed checkmate rule in Jelly Kingdom 2020-03-07 04:47:10 +01:00
Zeno Rogue
e564622a48 rewritten undo: part 1 2020-03-07 04:47:10 +01:00
Zeno Rogue
00e436f0e2 variant:: cleaner implementation 2020-03-07 04:47:10 +01:00
Zeno Rogue
2271a67506 removed the MAX_EDGE limit 2020-01-18 16:03:32 +01:00
Zeno Rogue
26fb19e7a8 subdivided game.cpp; split movepcto into separate functions 2019-12-08 20:07:02 +01:00