1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-31 19:36:16 +00:00
Commit Graph

342 Commits

Author SHA1 Message Date
Zeno Rogue
c775936970 rulegen:: generalize to work with other maps than arbi 2022-07-12 14:46:30 +02:00
Zeno Rogue
6039c40bc2 fixed adj_minefield_cells_full 2022-06-08 18:00:00 +02:00
Zeno Rogue
5e2a1b6424 fixed a 'pointer used after free' warning 2022-05-28 18:52:10 +02:00
Zeno Rogue
c9d90c1c64 now can change the shape of the disk 2022-05-21 17:12:02 +02:00
Zeno Rogue
c9d1f8dfeb adj_memo now can keep separate memos for different rules 2022-05-21 17:12:01 +02:00
Zeno Rogue
c80d6134e3 adj_minefields_cells_with_orientation upgraded to adj_minefield_cells_full 2022-05-21 16:38:39 +02:00
Zeno Rogue
37f4e400bd made all_disk_cells and all_disk_cells_sorted different, for consistency 2022-05-21 13:09:46 +02:00
Zeno Rogue
793148729b An option to play on a disk (and use bounded space rules). Also renamed 'bounded' flag to 'closed' or similar, and improved Halloween 2022-05-21 13:08:42 +02:00
Zeno Rogue
b0c34c4f2c added CAP_RAY guard to intra stuff 2022-05-09 15:09:23 +02:00
Zeno Rogue
78b0324a91 fixed some CAP guards 2022-05-06 19:54:55 +02:00
Zeno Rogue
7adb3dac5a mirrors now flip Alchemist Lab colors (may be a bit unpredictable in minimal quotient) 2022-04-26 16:19:02 +02:00
Zeno Rogue
443ecf0331 intra:: correct cleanup of intra maps 2022-02-27 01:15:45 +01:00
Zeno Rogue
b87a47eaaa fixed relative_matrix in crystal 2022-01-08 18:52:02 +01:00
Zeno Rogue
b6986879ec fixed a crash when generating daily 2021-10-10 00:40:22 +02:00
Zeno Rogue
9ffdf3aa67 gp:: improved debug 2021-09-30 13:10:52 +02:00
Zeno Rogue
663e334e38 intra:: first version 2021-09-16 21:30:26 +02:00
Zeno Rogue
25dba5a13c do not crash on memory clean in case of precision errors 2021-08-25 12:55:51 +02:00
Zeno Rogue
8d2dcb462e rulegen:: fractal debug removed 2021-08-04 20:48:24 +02:00
Zeno Rogue
932cb7c997 rulegen:: fractal landscapes 2021-08-04 20:21:03 +02:00
Zeno Rogue
3cabddeb65 added is_boundary for &out_of_bounds just in case 2021-07-31 15:14:31 +02:00
Zeno Rogue
8d913f525d altmap height now uses an outside parameter 2021-07-31 15:14:31 +02:00
Zeno Rogue
83ffa89fbf arb:: valence known 2021-07-31 15:14:31 +02:00
Zeno Rogue
d0e7541b45 nicer auto sight range computation, and range(...) directive in the tes language 2021-07-31 15:14:31 +02:00
Zeno Rogue
4a0f688673 rulegen:: apply arb::convert, and imrpoved generation 2021-07-31 15:14:31 +02:00
Zeno Rogue
bc79fd05df changed names generateAlts to extend_altmap and createAlternateMap to create_altmap 2021-07-31 15:13:44 +02:00
Zeno Rogue
c579db717f improved updir and updir_alt 2021-07-31 15:13:44 +02:00
Zeno Rogue
c53270ca16 introduced rulegen.cpp which generates strict_tree_rules for arb 2021-07-31 15:13:44 +02:00
Zeno Rogue
05d4fcc280 altmap parameters are now accessible via altmap:: functions 2021-07-31 15:13:44 +02:00
Zeno Rogue
bac88ea9fd altmap relspin is now remembered in altmap::relspin 2021-07-31 15:12:06 +02:00
Zeno Rogue
2e47da5d2c moved the virtual functions in hrmap and its basic subclasses outside of the classes 2021-07-31 15:12:06 +02:00
Zeno Rogue
5bff87f5e1 added oob (out_of_bounds heptagon) 2021-07-31 15:12:06 +02:00
Zeno Rogue
1c31a987a8 refactored link_alt 2021-07-31 15:12:06 +02:00
Zeno Rogue
cc80bc7b3a Merge branch 'master' of https://github.com/zenorogue/hyperrogue 2021-07-13 21:32:55 +02:00
Zeno Rogue
81ea3d75f5 fake:: works with coxeter 2021-07-13 02:34:24 +02:00
Arthur O'Dwyer
0ee6ce8c83 Eliminate -Woverloaded-virtual warnings from Clang. NFCI. 2021-07-12 17:51:39 -04:00
Zeno Rogue
dd5035184b improved adj_minefield_cells to avoid relative_matrix 2021-07-12 20:54:45 +02:00
Zeno Rogue
2215e07fca created cellshapes for other 3D geometries 2021-07-12 12:23:34 +02:00
Zeno Rogue
6e6d0a7839 the main (heptagon) cellshape now also uses subcellshape; removed dirdist and get_vertices and introduced get_cellshape instead 2021-07-12 11:07:22 +02:00
Zeno Rogue
2d962c324d increased the limit in bounded_celldistance to 14400 2021-07-12 10:02:26 +02:00
Zeno Rogue
7aec4c3cf1 reg3:: changed the remaining refs to adjacent_dirs to dirdist; S7 to c->type 2021-07-11 16:18:04 +02:00
Zeno Rogue
e9de3ac7d5 Great Walls in bch 2021-07-11 15:07:40 +02:00
Zeno Rogue
0e0e4d0212 reg3:: strafe and dirs_adjacent with subcubes -- Great Wall generation works 2021-07-11 11:48:33 +02:00
Zeno Rogue
0aa1d45287 moved ray_iadj from hybrid to hrmap method 2021-07-09 22:32:00 +02:00
Zeno Rogue
b6bf0911f3 refactored master_relative as virtual function 2021-07-09 22:32:00 +02:00
Zeno Rogue
9a319e2d2a refactored shvid_full and wall_offset as virtual functions 2021-07-09 22:32:00 +02:00
Zeno Rogue
581cb8ae26 throw exception on createMov error 2021-07-07 18:26:30 +02:00
Zeno Rogue
e37fa65247 arcm:: fixed the possible crash on deleting arcms with large cells, because of the confusion of cdata 2021-07-04 11:00:38 +02:00
Zeno Rogue
74486309a6 created a function init_heptagon which does tailored_alloc and clears the data 2021-07-04 10:36:16 +02:00
Jesse Ruderman
59b7e7bbdf Remove extra semis in struct defs 2021-06-28 22:33:08 -07:00
Zeno Rogue
74e4e4c014 added missing override 2021-06-17 09:55:27 +02:00