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

126 Commits

Author SHA1 Message Date
Zeno Rogue
0cc24cf982 removed MAXMDIM == 4 guards in Euclidean 2019-11-30 18:55:02 +01:00
Zeno Rogue
56e575369b missing override markers 2019-11-30 18:48:44 +01:00
Zeno Rogue
89cfc2bce1 adjusted for older compilers 2019-11-30 18:48:44 +01:00
Zeno Rogue
f69ea5ec8d irr:: Euclidean guarding 2019-11-30 18:06:48 +01:00
Zeno Rogue
2ae2796f78 exported torus stuff 2019-11-30 18:06:48 +01:00
Zeno Rogue
638f408d05 renamed as_gp and as_coord to to_loc and to_coord 2019-11-30 18:06:48 +01:00
Zeno Rogue
16eb050788 euclid:: relative_matrix takes hint into account 2019-11-30 18:06:48 +01:00
Zeno Rogue
bd89c1b91a third turn space improvements 2019-11-30 18:06:48 +01:00
Zeno Rogue
e258b923c6 fixed the third-turn space 2019-11-30 18:06:48 +01:00
Zeno Rogue
c9ee645120 fixed optimal_axes 2019-11-30 18:06:48 +01:00
Zeno Rogue
b904fdde1e removed the difference between euclid3::coord and array<int,3> -- euclid3::coord is now array<int,3> 2019-11-30 18:06:48 +01:00
Zeno Rogue
90177343a4 euclid:: third turn space (first try) 2019-11-30 18:06:48 +01:00
Zeno Rogue
30329df05c euclid:: fixed relative_matrix 2019-11-30 18:06:47 +01:00
Zeno Rogue
9f6ca746cd euclid:: fixed the orientable flag 2019-11-30 18:06:47 +01:00
Zeno Rogue
149ab92976 hypersian rug option mode in Euclidean 2019-11-30 18:06:47 +01:00
Zeno Rogue
22bfbf17db 'standard rotation' option in Euclidean 2019-11-30 18:06:47 +01:00
Zeno Rogue
1e290ba48a swapped the periods in single_row_torus 2019-11-30 18:06:47 +01:00
Zeno Rogue
7d99bc8c73 euclid:: set the qSMALL flag 2019-11-30 18:06:47 +01:00
Zeno Rogue
4644d54987 reimplemented sdxy 2019-11-30 18:06:47 +01:00
Zeno Rogue
d6a38524a0 euclid:: sample tori 2019-11-30 18:06:47 +01:00
Zeno Rogue
9ce5687f57 replaced first_period by ::T0 use 2019-11-30 18:06:47 +01:00
Zeno Rogue
66164d873c implemented euc2_coordinates and at_euc2_coordinates 2019-11-30 18:06:47 +01:00
Zeno Rogue
97adbc28c0 Euclidean distance restored 2019-11-30 18:06:47 +01:00
Zeno Rogue
4cb9980c58 world size for Euclidean 2019-11-30 18:06:47 +01:00
Zeno Rogue
e01411f98f display the fundamental domain in the Euclidean torus setting 2019-11-30 18:06:47 +01:00
Zeno Rogue
999eec6650 irregular maps in Euclidean 2019-11-30 18:06:47 +01:00
Zeno Rogue
1cba452f07 rewritten the Euclidean geometry 2019-11-30 18:06:47 +01:00
Zeno Rogue
7e8ede4bd6 relative_matrix and adj changed 2019-11-30 18:05:23 +01:00
Zeno Rogue
d537b05fb3 torus generates spin correctly (orientable only) 2019-11-22 19:39:36 +01:00
Zeno Rogue
aeaaf7586a refactored map functions: ddspin, iddspin, spacedist, spin_angle, virtualRebase[simple], adj 2019-11-14 16:51:50 +01:00
Zeno Rogue
ef9e2236ba viewctr is no more... major reduction of redundancy/complexity 2019-11-14 00:26:50 +01:00
Zeno Rogue
377fd3f8bd torus3 improvements 2019-11-02 22:17:57 +01:00
Zeno Rogue
cca689641a euclid3::set_torus added 2019-11-02 20:27:44 +01:00
Zeno Rogue
85a08d205d refactored celldraw 2019-10-25 12:44:41 +02:00
Zeno Rogue
adee8aa699 wall optimization option (-wallopt): do not draw things behind walls 2019-10-12 11:21:00 +02:00
Zeno Rogue
848eb8f48b export everything: modules compiled separately 2019-09-12 22:50:16 +02:00
Zeno Rogue
339f6820fe removed referring to specific map subtypes 2019-09-12 22:50:16 +02:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
6958cbcbd9 product:: preliminary version (no turning) 2019-09-12 22:50:13 +02:00
Zeno Rogue
96bf478482 renamed DIM to GDIM 2019-09-12 22:50:13 +02:00
Zeno Rogue
8b1c7bffe4 initial reformatting of comments for Doxygen 2019-09-12 22:50:13 +02:00
Zeno Rogue
0ef57dde15 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
e1194ff588 more header cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
c2d56fb9bc autohdr.h applied in more files 2019-09-12 22:50:12 +02:00
Zeno Rogue
07058956ba added missing CAP_COMMANDLINE guards 2019-09-12 22:50:08 +02:00
Zeno Rogue
79de14b649 fixed problems with Euclidean [move before] 2019-09-12 22:50:00 +02:00
Zeno Rogue
df3e21b310 debug cleanup 2019-09-12 22:50:00 +02:00
Zeno Rogue
bb63fcdcda refactored first_cell_to_draw so that it is changed in one place 2019-09-12 22:49:46 +02:00
Zeno Rogue
d9754ec57c added some missing 'override' 2019-09-12 22:43:02 +02:00
Zeno Rogue
cec8190f37 adjustments for older g++ 2019-09-12 22:43:00 +02:00
Zeno Rogue
322d2bff86 described E3 parameters 2019-09-12 22:42:59 +02:00
Zeno Rogue
5b87088ade fixed a bug in twisted non-cube 2019-09-12 22:42:59 +02:00
Zeno Rogue
21985e4317 twisttest 2019-09-12 22:42:59 +02:00
Zeno Rogue
d00d04e313 better flip check 2019-09-12 22:42:59 +02:00
Zeno Rogue
40a28b6f08 yet another fix. rhombic not work 2019-09-12 22:42:59 +02:00
Zeno Rogue
1cc26a7337 twisting fix 2019-09-12 22:42:59 +02:00
Zeno Rogue
c0145c0d9c 3d:: Euclidean tori 2019-09-12 22:42:59 +02:00
Zeno Rogue
fc06e999c8 3d:: fixed a bug in celldistance for Rhombic 2019-09-12 22:42:59 +02:00
Zeno Rogue
7c59f572ca 3d:: in Euclidean, lands are generated just like in Crystal 2019-09-12 22:42:59 +02:00
Zeno Rogue
039118425c 3D:: alternate minefield adjacency rule 2019-09-12 22:42:59 +02:00
Zeno Rogue
ebbaa3fcc3 fixed some memory bugs 2019-09-12 22:38:45 +02:00
Zeno Rogue
78d88b5909 improved in the OO fashion: draw, relative_matrix, create_step, and several minor functions are now virtual in hrmap 2019-09-12 22:38:44 +02:00
Zeno Rogue
d8428f2ec3 crystal::3d:: transformation 2019-09-12 22:38:44 +02:00
Zeno Rogue
d660531a22 3d:: more elegant euclid3::getcoord 2019-09-12 22:38:43 +02:00
Zeno Rogue
cb8e34204f two more Euclidean honeycombs; also split buildpolys into subfunctions 2019-09-12 22:38:43 +02:00
Zeno Rogue
b3920f76b0 3D:: Temple of Cthulhu in Euclidean 2019-09-12 22:38:43 +02:00
Zeno Rogue
1eee434094 3d: Euclidean uses constant COORDMAX instead of magic 1000 2019-09-12 22:38:43 +02:00
Zeno Rogue
1a381d9e1a 3d:: Euclidean dist_alt returns int, not bool 2019-09-12 22:38:43 +02:00
?
54f278963c renamed MAXDIM to MAXMDIM (conflict with crystal) 2019-09-12 22:38:42 +02:00
?
8c38c3071c 3d:: fixed getcoord in euclid 2019-09-12 22:38:42 +02:00
?
38ded28511 3d:: fixed Euclidean celldistance (abs was missing) 2019-09-12 22:38:42 +02:00
?
42e4342c4a 3d:: fixed pushing directions 2019-09-12 22:38:42 +02:00
?
9319c3b0fa 3d:: celldistances 2019-09-12 22:38:42 +02:00
?
b8913b39fd 3d:: pseudohept specified 2019-09-12 22:38:42 +02:00
?
c7cb93f2ed moved all the Euclidean maps to euclid.cpp 2019-09-12 22:38:40 +02:00
?
26b6b94c95 renamed space.cpp to euclid.cpp 2019-09-12 22:38:40 +02:00