1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 13:27:17 +00:00
Commit Graph

80 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
0291c2ade3 dnameof now returns string 2020-03-07 04:47:11 +01:00
Zeno Rogue
833c8080ff set ipd via CLI 2020-03-07 04:47:10 +01:00
Zeno Rogue
42f4167a26 CLI option -mgen-off to disable wandering monster 2020-02-13 11:08:39 +01:00
Zeno Rogue
f772f9b7fd replaced 'archimedean' with 'arcm::in()' 2019-12-14 11:57:23 +01:00
Zeno Rogue
26fb19e7a8 subdivided game.cpp; split movepcto into separate functions 2019-12-08 20:07:02 +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
ef9e2236ba viewctr is no more... major reduction of redundancy/complexity 2019-11-14 00:26:50 +01:00
Zeno Rogue
e6a1279544 debug_gl fixup 2019-10-28 17:24:25 +01:00
Zeno Rogue
33f17e345a option -dgl to debug shaders 2019-10-28 17:18:59 +01:00
Zeno Rogue
0320b07496 debugScreen:: display pointer with index 2019-10-27 02:44:01 +01:00
Zeno Rogue
62634e1dc3 Z-cheat now rotates boat images too 2019-10-27 02:30:00 +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
63656212e6 arg:: correct cheat in -each 2019-09-12 22:50:15 +02:00
Zeno Rogue
8b1c7bffe4 initial reformatting of comments for Doxygen 2019-09-12 22:50:13 +02:00
Zeno Rogue
a76a5dd265 further cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
65c4e6a31c further cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
a423dbd2da more header cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
ae62073799 arg:: -genlimit 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
2b1aebb9b4 chaosmode variants (CLI only for now) 2019-09-12 22:50:03 +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
1c4d86e0e9 3D graphics in 2D (first commit) 2019-09-12 22:43:01 +02:00
Zeno Rogue
e4b4b052ed 3d:: CLI option -sloppy 2019-09-12 22:43:01 +02:00
Zeno Rogue
0386f4179c whatever cont. 2019-09-12 22:43:01 +02:00
Zeno Rogue
6e26508a77 replaced some instances of double to ld, so that everything compiles when ld is redefined to float 2019-09-12 22:43:00 +02:00
Zeno Rogue
29ea282beb commandline option -gen3 2019-09-12 22:43:00 +02:00
Zeno Rogue
c8d2772607 fixed -M and -viewall cheats 2019-09-12 22:42:59 +02:00
Zeno Rogue
7d9d3ced50 option -viewall for testing 2019-09-12 22:42:58 +02:00
Zeno Rogue
ab7a322e5e 3d:: smart display for 3D 2019-09-12 22:38:47 +02:00
Zeno Rogue
8028392b70 distance tester added 2019-09-12 22:38:45 +02:00
Zeno Rogue
943a8395e5 3d:: 3d is affected by cells_drawn_limit; improved the sightrange edit dialog with more options and better help 2019-09-12 22:38:45 +02:00
?
a3eb161235 added CAP_SHAPES: poly system works, but no shapes are used 2019-09-12 22:38:39 +02:00
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
Zeno Rogue
c80df92acb text fixes, PL translation updated 2019-09-12 22:38:39 +02:00
Zeno Rogue
d65c41db12 racing::add_debug 2019-04-29 17:19:06 +02:00
Zeno Rogue
35043b5528 tortoise flags are now editable with Shift+G and saved into saved levels 2019-02-06 18:48:53 +01:00
Zeno Rogue
f58de16a2e fixed a crash with bitfield_editor in Shift+G 2019-02-06 18:48:52 +01:00
Zeno Rogue
52f273e3f2 static with lambdas apparently does not work in old compilers 2019-02-06 18:48:52 +01:00
Zeno Rogue
645e4fa56c shift+G screen is now editable 2019-02-06 18:48:52 +01:00
Zeno Rogue
8d1e341555 web:: 'take screenshot' feature now creates a SVG file and opens it in a new window 2018-12-14 19:30:22 +01:00
Zeno Rogue
1c6f64f370 added options -viz and -vizhr for quicker visualizations, and -smart, -smartn, -sr, -srx set the sightrange better now 2018-12-11 22:10:53 +01:00
Zeno Rogue
2fa265ac10 implemented a better system for logging and binary output 2018-11-24 21:23:02 +01:00
Zeno Rogue
d935febf09 refactored some global and stereo:: variables into display_data structure 2018-11-18 18:26:56 +01:00
Zeno Rogue
d69e952729 animate parameters from the edit dialog 2018-11-11 11:27:36 +01:00
Zeno Rogue
549d86b15d arg:: shift_arg_formula used instead of argf 2018-11-11 11:27:36 +01:00
Zeno Rogue
5ba198f3a6 commandline options -smart and -smartlimit 2018-11-11 11:25:58 +01:00
Zeno Rogue
d0ee141270 celldist now works in the binary tiling as for other geometries (distance from origin, not horocycle index); also types are computed nicely for the origin-based celldist 2018-09-28 16:27:03 +02:00
Zeno Rogue
303cd41b3a command line option --killeach 2018-09-24 00:05:57 +02:00