1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-05 21:56:17 +00:00
Commit Graph

118 Commits

Author SHA1 Message Date
Zeno Rogue
9a319e2d2a refactored shvid_full and wall_offset as virtual functions 2021-07-09 22:32:00 +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
Zeno Rogue
3bf17c12f7 arcm:: hr_archimedean_error as an exception 2021-07-04 09:32:29 +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
8d18946450 written createMov in an OOP way 2021-06-12 23:25:59 +02:00
Zeno Rogue
056419288c enabling canvas now automatically enables ls::single 2021-04-23 20:09:23 +02:00
Zeno Rogue
e7865a62b4 arcm:: fixed a potential crash 2021-02-07 22:55:10 +01:00
Zeno Rogue
96d28d173a MXDIM, and some extra comments 2020-11-01 17:37:51 +01:00
Zeno Rogue
d64c5e338c extra guards 2020-10-15 16:33:52 +02:00
Zeno Rogue
2aec7b7691 improved correctness checking for Archimedean symbols: 6,5 or 6,4,2 are no longer valid 2020-09-16 23:49:17 +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
Zeno Rogue
39ac36c4aa arcm:: more efficient when actually regular 2020-07-03 15:40:26 +02:00
Zeno Rogue
5238959cbd fake:: support Archimedean pure 2020-05-31 16:18:44 +02:00
Zeno Rogue
dc3eeba73c arcm:: using hyperbolic trigonometry instead of binary search 2020-04-29 15:09:02 +02:00
Zeno Rogue
d613f394cd additional Archimedean samples 2020-03-29 12:00:33 +02:00
Zeno Rogue
e33852c60f arcm:: additional checking 2020-03-29 11:59:03 +02:00
Arthur O'Dwyer
7a706478dc Add a helper function voidp to silence GCC warnings about %p.
We must fully qualify calls to `hr::voidp` because the expression
`voidp(x)` is ambiguous or worse. "/usr/include/zconf.h" defines
`voidp` in the global namespace as a typedef for `void*`.
We don't want an unsafe functional-style cast to `void*`;
we want to call our nice safe helper function. So we qualify the name.
2020-03-23 14:39:28 -04:00
Arthur O'Dwyer
a0da10b408 Remove extraneous semicolons to quiet pedantic GCC warnings. 2020-03-23 14:38:57 -04:00
Zeno Rogue
32c6228319 arb:: utilities for making Archimedean tilings 2020-03-22 11:27:06 +01:00
Zeno Rogue
e806e9a738 arcm:: fixed uninitialized variables 2020-01-28 17:58:55 +01:00
Zeno Rogue
2271a67506 removed the MAX_EDGE limit 2020-01-18 16:03:32 +01:00
Zeno Rogue
e4b2453313 arb:: patterns configuration 2019-12-27 22:59:50 +01:00
Zeno Rogue
f772f9b7fd replaced 'archimedean' with 'arcm::in()' 2019-12-14 11:57:23 +01:00
Zeno Rogue
56e575369b missing override markers 2019-11-30 18:48:44 +01:00
Zeno Rogue
5585831b27 fixed Archimedean and Penrose 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
a88ede59cf archimedean:: filtering by geometry 2019-11-30 18:03:00 +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
85a08d205d refactored celldraw 2019-10-25 12:44:41 +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
c6ca145d43 arcm:: removed useless debug 2019-09-12 22:50:16 +02:00
Zeno Rogue
ba94bc94b6 less aggressive gcd in archimedean -- steps needs to divide by all f's 2019-09-12 22:50:16 +02:00
Zeno Rogue
f6f37b1e45 Archimedean precise analyzer 2019-09-12 22:50:15 +02:00
Zeno Rogue
7bd80dab18 archimedean::get_nom_denom factored out 2019-09-12 22:50:15 +02:00
Zeno Rogue
a03eb0d913 fixed new geometry handling for Archimedean 2019-09-12 22:50:15 +02:00
Zeno Rogue
6958cbcbd9 product:: preliminary version (no turning) 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
cb666fb24a more header shifting 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
d1fb9f3564 simplified and generalized cdata 2019-09-12 22:50:09 +02:00
Zeno Rogue
c07e22ca5e onscreen keyboards where applicable 2019-09-12 22:50:08 +02:00
Zeno Rogue
a49de4530f dual:: added some missing gd->store's 2019-09-12 22:50:04 +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