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

100 Commits

Author SHA1 Message Date
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
Zeno Rogue
f7d580fa9c replaced fts variants with a single fts 2019-09-12 22:50:02 +02:00
Zeno Rogue
ae100b1e72 removed some obsolete debug printfs 2019-09-12 22:50:02 +02:00
Zeno Rogue
df3e21b310 debug cleanup 2019-09-12 22:50:00 +02:00
Zeno Rogue
6a7c1438eb 2D3D:: Archimedean no longer crashes after changing 2019-09-12 22:43:01 +02:00
Zeno Rogue
282b3d79a2 fixed binary tiling 2019-09-12 22:43:01 +02:00
Zeno Rogue
be2ac7654a increased MAX_EDGE 2019-09-12 22:43:00 +02:00
Zeno Rogue
068f825f1e fixed distlimit in Archimedean 2019-09-12 22:43:00 +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
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
Zeno Rogue
1fe234fe75 arcm:: no longer crashes with divby0 on some incorrect strings 2018-12-14 19:27:12 +01:00
Zeno Rogue
fef0405d0b boilerplate comment in archimedean.cpp 2018-12-14 19:27:11 +01:00
Zeno Rogue
cd357303b9 cleaned up surface flags 2018-12-14 19:27:11 +01:00
Zeno Rogue
2fa265ac10 implemented a better system for logging and binary output 2018-11-24 21:23:02 +01:00
Zeno Rogue
7b4028418e arg:: most important dialogs can be launched from command line 2018-11-11 11:27:36 +01:00
Zeno Rogue
44c1b43b1c refactored do_draw(cell*, const transmatrix&) 2018-11-11 11:27:36 +01:00
Zeno Rogue
3f8194746a made Archimedean more stable 2018-11-11 11:27:36 +01:00
Zeno Rogue
ab58d82713 bandshifting for Archimedean and binary tilings (sometimes crashes Archimedean) 2018-11-11 11:27:36 +01:00