1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 15:39:54 +00:00
Commit Graph

218 Commits

Author SHA1 Message Date
Zeno Rogue
c1bacb0695 catch exception in case if failed to convert 2024-05-28 13:05:07 +02:00
Zeno Rogue
0b526cbdfb rulegen:: no crash if no giver 2024-03-19 18:53:37 +01:00
Zeno Rogue
a82d9b2266 rulegen:: optimize in 2D, also debug information during optimize is toggleable 2024-03-19 18:53:09 +01:00
Zeno Rogue
3da65f4cd5 translation update: CZ 13.0 included and some fixes 2023-12-27 10:40:04 +01:00
Zeno Rogue
ffc06b981f used the same string in some places for easier translation 2023-12-03 14:29:50 +01: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
Arthur O'Dwyer
28880f2985 Consistently apply override (and not virtual) to overriding virtuals
Three functions were missing `override`, triggering `-Wsuggest-override` on Clang.
Many functions had redundant `virtual ... override`.
2023-08-21 10:23:48 -07:00
Zeno Rogue
8760ac4cfb more guards added 2023-04-11 17:10:04 +02:00
Zeno Rogue
acfa454114 aperiodic is now distinct from kite::in 2023-03-23 01:37:52 +01:00
Zeno Rogue
c862a94e46 svg:: make smaller SVG files by not including things out of the region 2023-03-16 14:47:04 +01:00
Zeno Rogue
d8da9639d0 tes:: split get_adj into two functions, one with connection specified (inlcuding mirror), and one not 2022-10-08 01:53:02 +02:00
Zeno Rogue
18113f157f rulegen vs extended football 2022-09-14 22:53:39 +02:00
Zeno Rogue
53537271eb fixed a crash on rulegen for converted tessellations 2022-09-14 22:31:12 +02:00
Zeno Rogue
898a2463c0 remove debug output when loading some tes 2022-09-14 17:26:22 +02:00
Zeno Rogue
e70f3d1fe6 rulegen3:: fixes 2022-08-26 13:21:36 +02:00
Zeno Rogue
841108726c new system for honeycombs in action 2022-08-26 12:27:57 +02:00
Zeno Rogue
97c10ff878 rulegen3:: remove faster get_parent_dir as it causes problems 2022-08-23 21:52:36 +02:00
Zeno Rogue
1c4aa3e71c rulegen3:: removed the r3_neighborhood system 2022-08-23 21:52:36 +02:00
Zeno Rogue
01cb5eb9ef refactored check_road_shortcuts 2022-08-23 21:52:36 +02:00
Zeno Rogue
59b45c1be0 fixup to disable distance checks 2022-08-23 21:52:35 +02:00
Zeno Rogue
285beb4ad2 rulegen3:: remove some parts of 2D which cause bugs 2022-08-23 21:52:35 +02:00
Zeno Rogue
d571d2f1cb rulegen3:: validate_neighborhood 2022-08-23 21:52:35 +02:00
Zeno Rogue
14f1da6de4 rulegen3:: renaming/refactoring 2022-08-23 21:52:35 +02:00
Zeno Rogue
a26234012f rulegen:: use more of rdebug_flags 2022-08-23 21:52:35 +02:00
Zeno Rogue
75c9258537 rulegen3:: w_r3_no_road_shortcuts 2022-08-17 17:34:13 +02:00
Zeno Rogue
47d2b5b27b rulegen:: clear codes on neg rule mismatch 2022-08-17 17:33:52 +02:00
Zeno Rogue
ecee5b7f21 rulegen:: (some) controllable debug flags 2022-08-17 17:33:36 +02:00
Zeno Rogue
ca315c2582 rulegen3:: reordered move_code 2022-08-17 17:32:15 +02:00
Zeno Rogue
fe7b54d256 rulegen3:: faster get_parent_dir 2022-08-17 17:31:59 +02:00
Zeno Rogue
16cdaa5a00 rulegen:: gen_rule 2022-08-14 19:26:13 +02:00
Zeno Rogue
dc37e1ed23 rulegen3:: w_r3_all_errors flag 2022-08-13 23:14:18 +02:00
Zeno Rogue
dfce80d152 rulegen3:: call correct get_roadsign in move_code 2022-08-13 23:13:37 +02:00
Zeno Rogue
0b24804934 rulegen:: on 'reached the end', remove the relevant codes 2022-08-13 23:13:22 +02:00
Zeno Rogue
464f4277cc fixed a memory leak in (de)compress_string 2022-08-07 01:57:06 +02:00
Zeno Rogue
fba2cc95cf rulegen3:: transducer-based check 2022-08-07 01:52:51 +02:00
Zeno Rogue
4b4103f667 rulegen3:: some exports added 2022-08-07 01:45:26 +02:00
Zeno Rogue
70561f1f5a rulegen3:: honeycomb_value 2022-08-07 01:44:49 +02:00
Zeno Rogue
e7818829e2 improvement to rulegen3 2022-07-17 14:41:57 +02:00
Zeno Rogue
b76bddb47b rulegen:: split 2022-07-17 14:41:57 +02:00
Zeno Rogue
0b4df47964 rulegen3:: new features 2022-07-13 19:31:24 +02:00
Zeno Rogue
94a243a825 moved genhoneycomb to rulegen3 2022-07-13 18:59:04 +02:00
Zeno Rogue
ffdc74a0b5 rulegen:: fixed a bug which caused problems on MYSTERY-th state 2022-07-13 17:25:04 +02:00
Zeno Rogue
dfe0d7ccf9 rulegen:: removed debug 2022-07-12 14:46:32 +02:00
Zeno Rogue
8256b398b1 added missing override 2022-07-12 14:46:31 +02:00
Zeno Rogue
45d1675d8f rulegen:: improved troubleshooting 2022-07-12 14:46:31 +02:00
Zeno Rogue
dbb02d6bc9 rulegen:: a fixup for substates becoming a map 2022-07-12 14:46:30 +02:00
Zeno Rogue
cdb2a001ca rulegen3 2022-07-12 14:46:30 +02:00
Zeno Rogue
ef712a3b4f rulegen:: also number_of_types 2022-07-12 14:46:30 +02:00
Zeno Rogue
c775936970 rulegen:: generalize to work with other maps than arbi 2022-07-12 14:46:30 +02:00
Zeno Rogue
fb9bf4263a rulegen:: call hooks to animate the algorithm 2022-07-12 14:46:30 +02:00