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

115 Commits

Author SHA1 Message Date
Zeno Rogue
5efacd787d save_cheats option, also fixed buffer overflow 2024-03-27 23:52:22 +01:00
Zeno Rogue
73884482aa using -lands option no longer enforces cheat mode 2023-12-17 17:42:47 +01:00
Arthur O'Dwyer
10d0ed8900 Eliminate calls to sprintf
Apple Xcode has started giving `-Wdeprecated-declarations` warnings
for `sprintf`, and suggesting that people migrate to `snprintf` instead.
This is silly, but the warnings are spam and need to be silenced
somehow. Migrating to `snprintf` and/or `hr::format` is the path of
least resistance.
2023-08-21 10:18:44 -07:00
Zeno Rogue
b6f13b953b more OOP-style standard dialogs 2023-08-09 14:01:24 +02:00
Zeno Rogue
56ca00df82 fixed naming conflict -W3 to -W4 2023-03-24 23:20:31 +01:00
Zeno Rogue
bc96b7fba9 CLI option -each-random 2023-01-04 23:27:27 +01:00
Zeno Rogue
557d3206a8 cheatdest_list 2022-12-13 19:05:39 +01:00
Zeno Rogue
06523e063e used cyclefix and raddif in more places; (c)spin90, (c)spin180 and spin180 functions; rephrased M_PI in terms of TAU and x._deg when applicable 2022-11-13 16:22:55 +01:00
Zeno Rogue
308fcd90aa savefile selection / an option to use no savefile 2022-09-15 12:38:39 +02:00
Zeno Rogue
75f58766a2 made background screen darkening consistent and optional 2022-07-05 11:51:06 +02:00
Arthur O'Dwyer
48800f58f8 Fix some compiler errors and a mistake in config.cpp. 2022-07-01 14:07:58 -04:00
Zeno Rogue
217c6287fe all cheat keys are now displayed in the cheat menu -- also removed some outdated ones 2022-06-23 13:46:14 +02:00
Zeno Rogue
78b0324a91 fixed some CAP guards 2022-05-06 19:54:55 +02:00
Zeno Rogue
a788b9e540 CLI command -keys 2022-04-26 16:19:02 +02:00
Zeno Rogue
e25b8b94c2 CLI option -canvasfloor 2022-04-24 22:57:34 +02:00
Zeno Rogue
7d5d2e44e8 function idv 2021-10-10 00:40:22 +02:00
Jesse Ruderman
7bf23df2dd Starting in a non-basic land with -W now enables cheat mode 2021-07-14 17:47:32 -07:00
Zeno Rogue
1be1713b91 monmirror editable 2021-06-17 09:44:48 +02:00
Zeno Rogue
c953b2dda6 dice values are now editable in Shift+G 2021-06-17 09:44:48 +02:00
Zeno Rogue
0f767e16b6 XLAT refactor continued 2021-05-23 16:00:50 +02:00
Zeno Rogue
9ffc5cd03f added ckeat option -unlock-all 2021-04-15 18:20:28 +02:00
Zeno Rogue
4b1b0516f3 choice of the land structure 2021-04-11 22:15:40 +02:00
Zeno Rogue
a8da017676 CLI option -reseed 2021-02-23 05:33:48 +01:00
Zeno Rogue
d64c5e338c extra guards 2020-10-15 16:33:52 +02:00
Zeno Rogue
9a2b464778 CLI option: -hroll (reroll hrand) 2020-10-12 01:26:17 +02:00
Zeno Rogue
644d20cd89 smartrange area-based 2020-08-20 16:49:47 +02:00
Zeno Rogue
3c8d5979f1 debug_cellnames option 2020-07-07 21:25:27 +02:00
Zeno Rogue
89585f004b fixed some guards (in progress) 2020-07-03 14:42:33 +02:00
Zeno Rogue
b34af64efd debugging mode option -g 2020-06-03 15:44:47 +02:00
Zeno Rogue
df2fc6726a option -WT to teleport to a land, but without safety generation 2020-06-03 11:45:52 +02:00
Zeno Rogue
1b9cdab98c added missing CAP_COMMANDLINE guards 2020-04-06 09:13:20 +02:00
Zeno Rogue
974a98e32c movegen in -cmove 2020-04-05 10:58:56 +02:00
Zeno Rogue
650604227a face/edge/vertex centering 2020-04-01 12:01:55 +02:00
Zeno Rogue
e53f61a8be history:: specifically mark starting position 2020-04-01 11:26:19 +02:00
Zeno Rogue
0abb296e06 commandline option -cmove 2020-04-01 11:03:36 +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
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