1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00
Commit Graph

117 Commits

Author SHA1 Message Date
Zeno Rogue
f873a4ba18 init_heptagon fixup 2021-07-04 10:39:55 +02:00
Zeno Rogue
8b306c765e used OOP for get_corner_position 2021-06-17 09:44:47 +02:00
Zeno Rogue
42fc2c44a7 rewritten shvid using OOP 2021-06-17 09:44:47 +02:00
Zeno Rogue
334bf12292 added missing CAP_COMMANDLINE guards, and other fixes for non-CAP_COMMANDLINE 2021-06-01 13:07:55 +02:00
Zeno Rogue
4b1b0516f3 choice of the land structure 2021-04-11 22:15:40 +02:00
Zeno Rogue
408a49dfe9 arg:: used the new add::arg in some contexts 2021-04-07 18:13:45 +02:00
Zeno Rogue
5a73510c4f added some guards for MAXMDIM >= 4 and CAP_SOLV 2021-03-30 11:27:48 +02:00
Zeno Rogue
953e17722d throw hr_exceptions not strings 2021-03-24 20:25:44 +01:00
Arthur O'Dwyer
1761b02b90 Rationalize some std::exception stuff. 2021-03-21 17:57:09 -04:00
Zeno Rogue
5f86ed6b4b fixed more fallthroughs, added exception hr_wrong_geometry 2021-03-12 22:59:24 +01:00
Zeno Rogue
e4947acef7 illegal cases in binarytiling.cpp now throw hr_wrong_dir() 2021-03-12 15:30:12 +01:00
Zeno Rogue
d64c5e338c extra guards 2020-10-15 16:33:52 +02:00
Zeno Rogue
e26f8f5a5b optimized inverses 2020-09-16 23:49:17 +02:00
Zeno Rogue
67595a4ed3 redone hrmap::draw() function to keep DRY 2020-07-28 22:06:14 +02:00
Zeno Rogue
82f32607e6 MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix 2020-07-28 22:06:14 +02:00
Arthur O'Dwyer
36136dab6a Fix some unguarded bits of CAP_BT and CAP_CRYSTAL.
Found by trying to build with `-DISMINI=0`, not that that
comes even close to working.
2020-05-03 21:21:46 -04:00
Zeno Rogue
5c414af31b bt:: direct_tmatrix are now saved in cgi 2020-04-06 11:24:11 +02:00
Zeno Rogue
dceb834f10 bt:: in gHoroHex, do not display debug data without DF_GEOM 2020-03-31 18:58:21 +02:00
Zeno Rogue
4e7aadf540 added tests for bt::normalized_at, and some old tests for distances 2020-03-31 18:57:22 +02:00
Zeno Rogue
8e865d1a69 bt:: the function normalized_at and its auxiliary functions 2020-03-31 18:55:43 +02:00
Zeno Rogue
8cfc5a578f renamed penrose.cpp to kite.cpp and 'penrose' to 'kite::in()' 2019-12-14 12:12:24 +01:00
Zeno Rogue
d5c8aebf16 renamed binary:: to bt:: and binarytiling to bt::in() 2019-12-14 12:05:01 +01:00
Zeno Rogue
ddb5d07ff6 cleanup in Euclidean 2019-12-08 10:59:09 +01:00
Zeno Rogue
56e575369b missing override markers 2019-11-30 18:48:44 +01:00
Zeno Rogue
4f2a7cd199 added bool ldebug (for print-debugging) and moved breakhere (breakpoint helper) to debug.cpp 2019-11-30 18:06:48 +01:00
Zeno Rogue
7e8ede4bd6 relative_matrix and adj changed 2019-11-30 18:05:23 +01:00
Zeno Rogue
89225f4632 missing override attributes 2019-11-15 14:24:17 +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
4e534261f0 hrmap_binary no longer inherits from hrmap_hyperbolic (Liskov substitution fail) 2019-11-14 13:08:20 +01:00
Zeno Rogue
ef9e2236ba viewctr is no more... major reduction of redundancy/complexity 2019-11-14 00:26:50 +01:00
Zeno Rogue
d199411248 new tiling: Arnold's cat 2019-11-08 15:01:03 +01:00
Zeno Rogue
272c628229 ray:: horospherical hyperbolic honeycombs 2019-11-02 10:40:22 +01:00
Zeno Rogue
bed19cad51 fieldval in gBinary3 and gHoroRec 2019-11-02 09:39:13 +01:00
Zeno Rogue
85a08d205d refactored celldraw 2019-10-25 12:44:41 +02:00
Zeno Rogue
d6ab96f821 non-isotropic hyperbolic space 2019-10-01 05:03:46 +02:00
Zeno Rogue
255186840f ternary tiling 2019-09-30 23:36:15 +02:00
Zeno Rogue
848eb8f48b export everything: modules compiled separately 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
77d666ab15 fixed a bug in heptdistance for standard tilings (correct X) 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
85e9e7cd11 changed //EX to #if HDR; removed #if EX 2019-09-12 22:50:12 +02:00
Zeno Rogue
ac680b39c2 started using auto-header generator 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
5d7ea94246 binary:: celldistance3_approx works without cells too 2019-09-12 22:50:11 +02:00
Zeno Rogue
29d3410aa6 correct updir in gBinaryTiling 2019-09-12 22:50:11 +02:00
Zeno Rogue
3cb39a0f8c binary:: relative_matrix now uses updir 2019-09-12 22:50:11 +02:00
Zeno Rogue
5491848ee9 fixed emeraldval computation in binary4 / sol 2019-09-12 22:50:11 +02:00
Zeno Rogue
fac3866d7e provided celldistance_approx for binary4 and kitedart3 2019-09-12 22:50:11 +02:00
Zeno Rogue
17ae3917e4 fixed updir 2019-09-12 22:50:11 +02:00