Commit Graph

30 Commits

Author SHA1 Message Date
Zeno Rogue 32d329d81e fixed a possible crash when generating YASC message 2024-04-07 23:35:08 +02:00
Zeno Rogue a650fe7faf YASC codes work better if killed on a 10+ tile 2024-03-21 22:49:50 +01:00
Zeno Rogue 2de61962f9 special YASC message for pinches 2024-02-24 03:19:38 +01:00
Zeno Rogue 43fc692b47 in YASC messages, 'on the Round Table' replaced by 'being polite' 2024-02-24 03:13:48 +01:00
Zeno Rogue 87ac19febe in YASC messages, mention the knights blocking the way, and also mention their names 2024-02-24 03:13:15 +01:00
Zeno Rogue 21a782cd28 improved in/on messages, also for Brownian III 2024-02-23 01:22:30 +01:00
Zeno Rogue 00b5fe3a22 save the YASC messages in save file, and display them in score list; also auto-width and zoom 2024-02-23 00:39:12 +01:00
Zeno Rogue e33f26d51f opening inventory mode when you can just shoot should be fixed 2024-02-22 18:16:27 +01:00
Zeno Rogue 285c71e10f yasc messages 2024-02-22 17:12:49 +01:00
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