1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-18 19:24:48 +00:00
Commit Graph

134 Commits

Author SHA1 Message Date
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
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
e898f0ccf0 crystal:: fixed Crystal344 2019-11-16 01:40:27 +01:00
Zeno Rogue
e5e9e88da2 fixed error reported by clang 2019-11-15 14:54:34 +01:00
Zeno Rogue
ef9e2236ba viewctr is no more... major reduction of redundancy/complexity 2019-11-14 00:26:50 +01:00
Zeno Rogue
43bf7c5cfe fixed MAXMDIM guards 2019-11-03 14:19:11 +01:00
Zeno Rogue
2daad158ca fixed selecting gCrystal344 2019-10-27 00:42:18 +02:00
Zeno Rogue
72e6859dd5 Penrose staircase pattern in Nil, and diagonal pattern in Crystal 2019-10-25 12:47:03 +02:00
Zeno Rogue
85a08d205d refactored celldraw 2019-10-25 12:44:41 +02:00
Zeno Rogue
ea65beb5c0 crystal::get_dim() typo fixup 2019-10-21 23:00:04 +02:00
Zeno Rogue
423a1fae39 crystal::get_dim() 2019-10-21 22:44:18 +02:00
Zeno Rogue
51e1fe06b3 in crystal3, quick relative_matrix for adjacent 2019-10-21 22:35:04 +02:00
Zeno Rogue
bf691001ab added missing guards 2019-10-12 19:09:53 +02:00
Zeno Rogue
58c1c04697 fixed uninitialized variable 2019-10-12 14:42:57 +02:00
Zeno Rogue
d7cb0b1bd2 fixed some compiler issues 2019-10-12 14:04:46 +02:00
Zeno Rogue
edfb8084cf debug removed 2019-10-12 13:48:04 +02:00
Zeno Rogue
ddc0fa538e fixed view_coordinates and compass in Crystal334 2019-10-12 13:12:47 +02:00
Zeno Rogue
48b1773f0d new patterns for 4D Crystal 2019-10-12 13:12:15 +02:00
Zeno Rogue
d2b3df57c6 crystal {3,4,4} 2019-10-12 11:24:29 +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
634c0635d3 some missing exports 2019-09-12 22:50:16 +02:00
Zeno Rogue
f4f7b195ff smoother coloring in Crystal 2019-09-12 22:50:16 +02:00
Zeno Rogue
a03eb0d913 fixed new geometry handling for Archimedean 2019-09-12 22:50:15 +02:00
Zeno Rogue
8b1c7bffe4 initial reformatting of comments for Doxygen 2019-09-12 22:50:13 +02:00
Zeno Rogue
e1194ff588 more header cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
c131e21198 namespace hyperpoint_vec removed 2019-09-12 22:50:12 +02:00
Zeno Rogue
fc32d46df2 fixed the deprecated-copy warning 2019-09-12 22:50:07 +02:00
Zeno Rogue
b6e303ec7d MAJOR refactoring: all geometry-dependent data (tessf, geom3::, shapes, hpc) are now contained in a structure 2019-09-12 22:50:03 +02:00
Zeno Rogue
3da6090320 dialog:: addBoolItem_action, addBoolItem_action_neg, addBoolItem_choice used when applicable 2019-09-12 22:43:00 +02:00
Zeno Rogue
c0145c0d9c 3d:: Euclidean tori 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
53c7e2869f 3d:: crystal:: transform: change the model 2019-09-12 22:42:59 +02:00
Zeno Rogue
80d14c0196 add_action_push consistently; improved some menu hotkeys and ordering; improved some naming 2019-09-12 22:42:58 +02:00
Zeno Rogue
10fd8a41b7 crystal cut 2019-09-12 22:42:58 +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
?
dd0f573ca9 hyperpoint adjusted for 3D geometry 2019-09-12 22:38:39 +02:00
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
Zeno Rogue
fd9fca6129 redesigned the Experiment with Geometry menu 2019-02-08 16:55:00 +01:00
Zeno Rogue
be1e300d8d crystal:: ignore invisible floors in rug 2019-02-06 18:48:52 +01:00
Zeno Rogue
d3a3d4df5e crystal:: coordinate computation is exported now 2019-02-06 18:48:52 +01:00
Zeno Rogue
ac0430d350 crystal:: fixed crystal sides in crystal unittest 2019-02-06 18:48:52 +01:00
Zeno Rogue
444bb762d7 crystal:: added a conduct for doing Camelot without compasses 2019-02-06 18:48:33 +01:00
Zeno Rogue
8e4e627a37 used low_bounds for settings where negative values make no sense (but 0 does) 2019-02-06 18:44:53 +01:00
Zeno Rogue
4e4fce922e added some missing CAP_ guards 2018-12-15 15:17:06 +01:00
Zeno Rogue
5d01ac0732 text improvements, PL/CZ translation update 2018-12-14 19:30:54 +01:00
Zeno Rogue
8edfe988c2 crystal:: added missing start_game() in double bitruncated 2018-12-14 19:27:12 +01:00
Zeno Rogue
13f8205425 added missing need_reset_geometry in set_crystal 2018-12-14 19:27:12 +01:00
Zeno Rogue
86c9f84df8 now compiles in C++11 2018-12-14 19:27:12 +01:00
Zeno Rogue
a6359dd301 crystal:: help 2018-12-14 19:27:12 +01:00
Zeno Rogue
9b21b9c5a0 improved key handling: shift+5 works now, and better key assignments in crystal rug 2018-12-14 19:27:12 +01:00
Zeno Rogue
32dc7d69c6 crystal:: no more blocked Crossroads in 8-7-7 2018-12-14 19:27:12 +01:00
Zeno Rogue
0d558cb0e1 build_shortest_path function 2018-12-14 19:27:12 +01:00
Zeno Rogue
aa1b102b78 crystal::rug:: correct centering 2018-12-14 19:27:12 +01:00
Zeno Rogue
22c6f02cc9 crystal:: Elemental Planes 2018-12-14 19:27:12 +01:00
Zeno Rogue
304e9373a9 east values now shown only with -ceast 2018-12-14 19:27:12 +01:00
Zeno Rogue
207df51b8a crystal:: pirates no longer drop confusing Compasses 2018-12-14 19:27:12 +01:00
Zeno Rogue
9e3e4cf7a5 crystal:: more lands 2018-12-14 19:27:12 +01:00
Zeno Rogue
aa34ed80c8 crystal:: fiftyval set correctly -- Docks and Snake Nest work 2018-12-14 19:27:12 +01:00
Zeno Rogue
866e6f5a30 fixup: junk function removed 2018-12-14 19:27:12 +01:00
Zeno Rogue
18d5f8299b crystal:: more settings in config/params/CLI 2018-12-14 19:27:12 +01:00
Zeno Rogue
6594908c5a removed the -crug option since it is redundant 2018-12-14 19:27:12 +01:00
Zeno Rogue
3e747a2d9d compass probability now can be changed from menu/commandline 2018-12-14 19:27:12 +01:00
Zeno Rogue
46256155d7 crystal:: compass generation 2018-12-14 19:27:12 +01:00
Zeno Rogue
c7f74cc745 Added the constant PERIOD (=2*FULLSTEP) instead of 4, also commented on the constants 2018-12-14 19:27:12 +01:00
Zeno Rogue
d7751b781d crystal:: cview option now works correctly with crystal-bitruncation and variations 2018-12-14 19:27:12 +01:00
Zeno Rogue
b5e291c69c test added for Crystal Round Table sizes 2018-12-14 19:27:12 +01:00
Zeno Rogue
d4684503cd fixed the Camelot volume computation for bitruncated half-dimension 2018-12-14 19:27:12 +01:00
Zeno Rogue
69ca24889a fix half-dimension so that it is positive 2018-12-14 19:27:12 +01:00
Zeno Rogue
79e396c742 crystal:: computing Round Table sizes (not tested) 2018-12-14 19:27:12 +01:00
Zeno Rogue
c4fae9dfef correct get_coord in Goldberg 2018-12-14 19:27:11 +01:00
Zeno Rogue
92eaf96930 crystal:: 3D mode works from the Rug menu, and linked to from its menu 2018-12-14 19:27:11 +01:00
Zeno Rogue
bc90d0a51a crystal:: now selectable from the geom exp menu 2018-12-14 19:27:11 +01:00
Zeno Rogue
d2dddc07b6 crystal:: removed add_bitruncation -- using ginf[gCrystal].vertex 2018-12-14 19:27:11 +01:00
Zeno Rogue
7da2f2b84a crystal:: made global variables into hrmap_crystal attributes 2018-12-14 19:27:11 +01:00
Zeno Rogue
f65e1724b8 crystal:: implemented altdist, and some lands using it 2018-12-14 19:27:11 +01:00
Zeno Rogue
683b235d55 crystal:: fixed the coloring 2018-12-14 19:27:11 +01:00
Zeno Rogue
50f37a6b63 crystal:: started working on lands (Camelot done) and distances 2018-12-14 19:27:11 +01:00
Zeno Rogue
3182600a58 3D display of Crystal 2018-12-14 19:27:11 +01:00
Zeno Rogue
851e217a73 crystal:: automatically bitruncate with crystal's implementation 2018-12-14 19:27:11 +01:00
Zeno Rogue
fd3b030119 crystal:: added multi-dimensional geometries (referred to as crystal), available via CLI for now 2018-12-14 19:27:11 +01:00