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

150 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
Zeno Rogue
7e80be5a87 dialog:: abstracted string editing 2018-11-11 11:25:58 +01:00
Zeno Rogue
ade8bda5f9 fixed smart_range in Archimedean and binary tilings 2018-11-11 11:25:58 +01:00
Zeno Rogue
71d0773c8d replaced isnumber with is_number to fix compilation error in some compilers 2018-09-23 16:34:53 +02:00
Zeno Rogue
4c01859192 struct archimedean_tiling exported in hyper.h 2018-09-03 16:32:34 +02:00
Zeno Rogue
bc5208253c in Archimedan sphere, distlimit is SEE_ALL 2018-09-01 13:52:12 +02:00
Zeno Rogue
0086b596e2 compiler in the Steam runtime produces an internal error... using a workaround 2018-08-31 20:49:44 +02:00
Zeno Rogue
bc52b855f4 Archimedeal commandline arguments work in Phase 3 too 2018-08-30 17:54:23 +02:00
Zeno Rogue
2c1b8c3b14 texture remapping to dual/bitruncated Archimedean 2018-08-30 17:54:04 +02:00
Zeno Rogue
218709b899 Archimedean menu now displays 'chessboard', 'three colors' and 'football' colorings when available 2018-08-30 16:44:17 +02:00
Zeno Rogue
b43f4dabfa new interesting symmetry variants for 3^7 2018-08-30 16:10:49 +02:00
Zeno Rogue
706fb5d9f8 nflags can be given for vertex cells too 2018-08-30 16:10:49 +02:00
Zeno Rogue
d5f3c3776a make sure that mirror placement treats vertices differently 2018-08-30 16:10:49 +02:00
Zeno Rogue
76c303f80a improved valence computation 2018-08-30 16:10:49 +02:00
Zeno Rogue
a04eef75a9 cth to handle heptspin/cellwalker translations in a nice way 2018-08-30 16:10:49 +02:00
Zeno Rogue
993ef1b164 random pseudohept in Archimedean duals 2018-08-30 16:10:35 +02:00
Zeno Rogue
829850a701 dual tilings 2018-08-30 02:11:43 +02:00
Zeno Rogue
c06f01847c 'faces per vertex' and 'size of the world' now display correct values in all geometries; 'sides per face' removed 2018-08-29 21:16:45 +02:00
Zeno Rogue
020d9679bd bitruncated Archimedean tilings 2018-08-29 04:28:34 +02:00
Zeno Rogue
6de0f0a8aa instead of nonbitrunc, gp::on and irr::on, there is one variable, variation 2018-08-28 17:17:34 +02:00
Zeno Rogue
c17efce3b5 PAT_TYPES now separate from PAT_NONE; PAT_* constants now use enum 2018-08-28 04:05:32 +02:00
Zeno Rogue
0cf4487a50 previous page button 2018-08-24 23:52:02 +02:00
Zeno Rogue
15c9a78093 another 3666 variant 2018-08-24 23:43:21 +02:00
Zeno Rogue
6b8c7f23e7 pressing Backspace while the Archimedean symbol is already deleted does nothing instead of leaving the menu 2018-08-24 21:50:17 +02:00
Zeno Rogue
b7dccecf5c added spaces in sample tilings, also some new tilings, and removed L from Marek snub tiling 2018-08-23 01:53:04 +02:00
Zeno Rogue
6c6dd85994 fixed a bug which crashed spherical Archimedean tilings on Windows. Also more statistics on Archimedean tilings. 2018-08-23 01:52:29 +02:00
Zeno Rogue
7df3a2471f fixed to compile in older compilers 2018-08-22 11:52:35 +02:00
Zeno Rogue
3b288f9e1d compiler bugfix 2018-08-22 11:52:11 +02:00
Zeno Rogue
28b0e7afa7 RRV fixed in H-marked Archimedean 2018-08-22 11:25:52 +02:00
Zeno Rogue
112a38dee9 fixed compilation without CAP_TEXTURE 2018-08-22 00:14:31 +02:00
Zeno Rogue
fd8e093bdf symbol format supports repetition (both single-face and whole) 2018-08-22 00:01:38 +02:00
Zeno Rogue
56c102de94 tailored allocation, and increased MAX_EDGE to 14 2018-08-22 00:00:59 +02:00
Zeno Rogue
d6a614c854 removed debugs from worldsize 2018-08-21 19:05:54 +02:00
Zeno Rogue
03ec9c0bf1 multiple digons at one location crash -- throwing error for now 2018-08-21 19:05:05 +02:00
Zeno Rogue
f606078295 world size computation for Archimedean tilings 2018-08-21 19:00:29 +02:00
Zeno Rogue
a54dab047c detect incorrect matching in (k,l) for k!=l 2018-08-21 17:55:17 +02:00
Zeno Rogue
f3dd312562 semiline support; late regrouping 2018-08-21 17:54:53 +02:00
Zeno Rogue
dc1d3e4ee1 fixed automatic pseudohept; Warped walls do generate in arcm 2018-08-21 16:58:09 +02:00
Zeno Rogue
06c57adf4a fixed the Chessboard pattern 2018-08-21 16:50:53 +02:00
Zeno Rogue
e1a52053b7 Archimedean tilings on the list colored by type 2018-08-21 16:10:01 +02:00
Zeno Rogue
6edc257f28 arcm:: improved graphics on dihedra and hosohedra 2018-08-21 04:55:39 +02:00
Zeno Rogue
791603d4b0 hosohedra 2018-08-21 04:55:02 +02:00
Zeno Rogue
903fd179d9 arcm:: digons 2018-08-21 04:24:14 +02:00
Zeno Rogue
e6bdba1441 order-2 tesselations work 2018-08-20 19:41:08 +02:00
Zeno Rogue
e866fd8ba3 fixed a crash when switching to arcm from gp or irr 2018-08-20 16:45:48 +02:00
Zeno Rogue
a4ced4a504 color by sides; canvas coloring selectable from the texture menu 2018-08-20 15:49:17 +02:00
Zeno Rogue
cd91148459 arcm:: all patterns work 2018-08-20 15:24:44 +02:00
Zeno Rogue
c5395097fe Working Chessboard pattern. Chessboard pattern used in the Warped Coast. 2018-08-20 11:59:43 +02:00
Zeno Rogue
f92a5ea3f1 'colored tiling' option 2018-08-20 02:50:51 +02:00
Zeno Rogue
c54d4ec59d struct archimedean_tiling 2018-08-20 02:02:45 +02:00
Zeno Rogue
4d31e5a544 renamed 'syntetic' to 'archimedean' (enums/files/marcos/namespaces) 2018-08-19 23:06:32 +02:00