1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 23:49:53 +00:00
Commit Graph

208 Commits

Author SHA1 Message Date
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
Arthur O'Dwyer
ced3bbcad4 Qualify calls to format
C++20 introduces `std::format` and we `using namespace std`,
so some of these would be ambiguous in C++20.
2023-08-21 10:18:44 -07:00
Zeno Rogue
838b34762e animation rug angle fixes 2023-08-15 20:35:29 +02:00
Zeno Rogue
37d558944e fixed bandspin explorable to use band, not Joukowsky Inverted 2023-08-15 15:49:47 +02:00
Zeno Rogue
56b5d52534 start animations were too fast 2023-08-15 15:49:25 +02:00
Zeno Rogue
ea193d23b1 dialog:: made dialog matrix more intuitive for anims::movement_angle 2023-08-14 10:52:17 +02:00
Zeno Rogue
b4e280c43f modernized animation parameters 2023-08-13 13:38:36 +02:00
Zeno Rogue
dc95d4c3e6 anim:: removed obsolete skiprope_rotation, joukowsky_rotation and ballangle_rotation 2023-08-13 13:37:20 +02:00
Zeno Rogue
b6f13b953b more OOP-style standard dialogs 2023-08-09 14:01:24 +02:00
Zeno Rogue
5057f10358 improved parameter animation 2023-08-09 01:01:32 +02:00
Zeno Rogue
1554caa7b4 rotations are now represented as matrices, not angles 2023-08-08 16:27:52 +02:00
Zeno Rogue
56916e8bc6 better console output in -animvideo 2023-05-15 02:50:41 +02:00
Zeno Rogue
c862a94e46 svg:: make smaller SVG files by not including things out of the region 2023-03-16 14:47:04 +01:00
Zeno Rogue
731fcee7ce a and b are now param_f 2023-01-04 23:31:55 +01:00
Zeno Rogue
3e733ae6e9 Big change: spatial_embedding option 2022-12-09 02:33:15 +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
7f0bf3b269 anim:: CLI animation record functions now accept 0 which means use the current value 2022-10-11 20:02:20 +02:00
Zeno Rogue
e393929237 fixed a possible crash in IMAGESAVE when SDL_PNGFormatAlpha(s) returns s 2022-09-14 16:17:53 +02:00
Zeno Rogue
1a245b2523 shots:: postprocessing hooks 2022-07-17 14:41:57 +02:00
Zeno Rogue
a19adccf82 startanims now can be disabled 2022-07-05 11:51:49 +02:00
Zeno Rogue
75f58766a2 made background screen darkening consistent and optional 2022-07-05 11:51:06 +02:00
Zeno Rogue
78b0324a91 fixed some CAP guards 2022-05-06 19:54:55 +02:00
Zeno Rogue
f95e3e3f0f when parsing time_formula failed, show the error 2022-04-24 22:57:34 +02:00
Zeno Rogue
6e0960bb58 replaced loop_multiplier and loop_shift with more general -animformula 2022-04-21 12:33:37 +02:00
Zeno Rogue
5e0bd689ef shot:: fixed default loop_multipolier to 1, also added loop_shift 2022-04-16 14:00:10 +02:00
Zeno Rogue
232736e465 shot:: loop_multiplier parameter 2022-04-12 12:55:23 +02:00
Zeno Rogue
b9532031e4 shot:: AA now affects vid.fsize 2022-04-12 12:55:11 +02:00
Zeno Rogue
839ca440ea refer to color by HTML name in commandline arguments 2021-10-17 09:18:31 +02:00
Zeno Rogue
b4ffffe6ba shot:: hack to work in intra 2021-10-10 00:40:22 +02:00
Zeno Rogue
663e334e38 intra:: first version 2021-09-16 21:30:26 +02:00
Zeno Rogue
8545c7d66f shot:: more 16:9 formats 2021-08-05 13:22:29 +02:00
Zeno Rogue
334bf12292 added missing CAP_COMMANDLINE guards, and other fixes for non-CAP_COMMANDLINE 2021-06-01 13:07:55 +02:00
Zeno Rogue
7221ee58f2 animations: added movement angle 2 2021-05-17 14:28:19 +02:00
Zeno Rogue
ce11319968 anim:: fixed rug rotation 2021-04-23 20:37:15 +02:00
Zeno Rogue
871d103f9a shot:: option -shot-500 2021-04-07 18:30:33 +02:00
Zeno Rogue
5a73510c4f added some guards for MAXMDIM >= 4 and CAP_SOLV 2021-03-30 11:27:48 +02:00
Zeno Rogue
250909a6f3 CLI option for vertical shots 2021-03-06 11:48:15 +01:00
Zeno Rogue
0020957906 finalizer struct, and fixed animations breaking 2021-03-06 11:47:54 +01:00
Zeno Rogue
16259b66c9 added hooks_record_anim 2021-02-18 16:16:34 +01:00
Zeno Rogue
e4fd468d8d added some missing guards 2021-02-07 22:55:11 +01:00
Zeno Rogue
a3a577c2e4 start_game missing in -animvideo 2021-02-07 22:55:11 +01:00
Zeno Rogue
41628cbd1a config:: changed hooks_config to correct hooks_configfile 2021-02-07 22:55:10 +01:00
Zeno Rogue
3860e7a81d remember recent setting changes, and other improvements 2021-02-01 15:10:03 +01:00
Zeno Rogue
5bd7dea231 improved help for editable values 2021-02-01 13:42:12 +01:00
Zeno Rogue
b40fc679af renamed addparamsaver to param_type 2021-02-01 01:45:10 +01:00
Zeno Rogue
298c051beb saver enums 2021-02-01 01:35:34 +01:00
Zeno Rogue
7fc1ce8b45 changed parameter order in float_setting 2021-01-31 20:44:34 +01:00
Zeno Rogue
3d6e38a321 a system for all settings in one place 2021-01-31 19:55:33 +01:00
Zeno Rogue
0dc00763d5 fixup to screenshot.cpp 2021-01-31 19:06:28 +01:00
Zeno Rogue
b28b2cc5c4 moved more settings from config.cpp to shot and racing 2021-01-31 18:53:52 +01:00