1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-31 19:36:16 +00:00
Commit Graph

52 Commits

Author SHA1 Message Date
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
Zeno Rogue
3f0e8851ae removed #define ALPHA from hyper.h 2019-12-14 12:18:24 +01:00
Zeno Rogue
ddb5d07ff6 cleanup in Euclidean 2019-12-08 10:59:09 +01:00
Zeno Rogue
f69ea5ec8d irr:: Euclidean guarding 2019-11-30 18:06:48 +01:00
Zeno Rogue
999eec6650 irregular maps in Euclidean 2019-11-30 18:06:47 +01:00
Zeno Rogue
012d833f50 removed the tohex parameter 2019-11-14 19:33:55 +01:00
Zeno Rogue
848eb8f48b export everything: modules compiled separately 2019-09-12 22:50:16 +02:00
Zeno Rogue
82f24b4b6c exporting necessary stuff all over (in progress) 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
8b1c7bffe4 initial reformatting of comments for Doxygen 2019-09-12 22:50:13 +02:00
Zeno Rogue
a423dbd2da 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
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
32626dc0c1 2D3D:: fixed grids 2019-09-12 22:50:02 +02:00
Zeno Rogue
7d8f48d48b replaced some debug printfs with print hlog 2019-09-12 22:50:02 +02:00
Zeno Rogue
f7d580fa9c replaced fts variants with a single fts 2019-09-12 22:50:02 +02:00
Zeno Rogue
8518f97ded text files are now read with scan(fhstream&...) functions and written with print(...) functions 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
295f0bc388 2D3D:: irregular maps 2019-09-12 22:50:01 +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
c914b2632c irregular:: saving non-bitruncated maps 2019-09-12 22:38:43 +02:00
?
3ed2de8519 fixed irregular tilings on quotient spaces; new CLI parameters for irregular 2019-09-12 22:38:43 +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
4f9e9c2e47 added sm::MAYDARK to some dialogs 2018-12-14 19:30:22 +01:00
Zeno Rogue
549d86b15d arg:: shift_arg_formula used instead of argf 2018-11-11 11:27:36 +01:00
Zeno Rogue
015e69cf30 simplified the scaling scode 2018-08-28 19:05:57 +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
625144195c major cleanup of texture remapping 2018-08-20 02:04:49 +02:00
Zeno Rogue
e1c49a83fa fixed displayspin in syntetic 2018-08-19 16:28:36 +02:00
Zeno Rogue
682f804576 major rewrite: unified the common parts of heptagon and cell via struct connection<T> and struct walker<T> 2018-08-18 00:46:45 +02:00
Zeno Rogue
9faa285814 New file geometry2.cpp, with moved ggmatrix, relative_matrix, virtualRebase, and new get_corner_position family. Refactored in floorpatterns, textures, and grid to use get_corner_position family. 2018-08-17 16:47:06 +02:00
Zeno Rogue
ebe57688ad several features which actually were in 10.4p but not commited 2018-08-09 19:27:52 +02:00
Zeno Rogue
31b75bd2bd fixed a crash bug when enabling an irregular tiling multiple times 2018-08-05 14:08:52 +02:00
Zeno Rogue
253c2d8b9b bitruncated irregular tilings 2018-08-05 05:07:34 +02:00
Zeno Rogue
7e1344a863 singletype patterns now can be remapped to irregular grids 2018-08-02 22:26:07 +02:00
Zeno Rogue
2f9e581f51 irr:: added a short help text 2018-08-01 04:36:37 +02:00
Zeno Rogue
8e1ee8f8d5 added missing XLAT in some places 2018-08-01 04:31:40 +02:00
Zeno Rogue
717cc6b12f irr:: added the missing 'ingore' 2018-07-23 23:37:02 +02:00
Zeno Rogue
329a2fa783 fixed the compilation without CAP_COMMANDLINE or without CAP_SVG or fakemobile 2018-07-22 12:50:03 +02:00
Zeno Rogue
66f352178e irr:: maps can now be loaded/saved 2018-07-21 17:52:00 +02:00
Zeno Rogue
190fa3ea1d irr:: horocycles 2018-07-21 17:46:14 +02:00
Zeno Rogue
f7e5f470dc irr:: celldist and (circular, not yet horocyclic) celldistAlt 2018-07-20 02:58:47 +02:00
Zeno Rogue
76d0538b3c added const 2018-07-18 00:49:13 +02:00
Zeno Rogue
572252b94f irr:: memorizing relmatrices (no bit performance improvement though 2018-07-17 15:00:18 +02:00
Zeno Rogue
88ed1af315 irr:: fixed a bug in auto_creator() 2018-07-17 14:38:44 +02:00
Zeno Rogue
566c466b66 loading/saving irregular maps to config and log (and recreate automatically)H 2018-07-17 14:28:49 +02:00
Zeno Rogue
9fc4e5524f irr:: ignore achievements/leaderboards; rewritten the modecode/finalAchievement code a bit 2018-07-17 14:18:41 +02:00
Zeno Rogue
f597e6bfd7 choose irregular from the Goldberg menu 2018-07-17 02:29:18 +02:00