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
757579fb18
matrix dialog now used for models::rotation
2023-08-14 17:02:34 +02: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
75f58766a2
made background screen darkening consistent and optional
2022-07-05 11:51:06 +02:00
Zeno Rogue
fd5458eaed
in history::progress, progress_each is now configurable
2022-06-08 18:01:23 +02:00
Zeno Rogue
4f2b64febe
fixup to spiral
2022-04-26 16:19:02 +02:00
Zeno Rogue
e0856c420f
render spiral no longer tries to disable OpenGL
2022-04-26 16:19:02 +02:00
Zeno Rogue
b71e436cb6
added some missing CAP_* guards
2021-06-09 04:33:55 +02:00
Zeno Rogue
e78a170e7e
added some missing CAP_SDL and CAP_GL guards
2021-05-23 16:00:49 +02:00
Zeno Rogue
408a49dfe9
arg:: used the new add::arg in some contexts
2021-04-07 18:13:45 +02:00
Arthur O'Dwyer
1761b02b90
Rationalize some std::exception stuff.
2021-03-21 17:57:09 -04:00
Zeno Rogue
b87a995871
history::spiral:: reset out=s just in case
2021-03-07 14:12:40 +01:00
Zeno Rogue
f00696711a
HyperRogue ported to SDL2 (in mymake do -sdl2)
2021-03-06 14:53:25 +01:00
Zeno Rogue
015f6227fa
redone basic graphics settings (vsync, resolution, fullscreen, gl/aa)
2021-02-07 22:55:10 +01:00
Zeno Rogue
7c29dd49c8
filename for history band can be changed now
2021-02-07 22:55:10 +01:00
Zeno Rogue
41628cbd1a
config:: changed hooks_config to correct hooks_configfile
2021-02-07 22:55:10 +01:00
Zeno Rogue
b40fc679af
renamed addparamsaver to param_type
2021-02-01 01:45:10 +01:00
Zeno Rogue
a59ddc6c31
moved some paramsavers from config to models and history
2021-01-31 18:45:17 +01:00
Zeno Rogue
82f32607e6
MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix
2020-07-28 22:06:14 +02:00
Zeno Rogue
6f6586b3f2
Merge branch 'master' into hooks-naming
2020-04-19 13:39:07 +02:00
Zeno Rogue
0472bf764f
moved all projection-related parameters to a special struct; another copy of that struct created for rug
2020-04-17 00:53:58 +02:00
Arthur O'Dwyer
934e3d9a42
Consistently name every hookset with prefix hooks_
. NFC.
...
I'm sure this causes massive merge-conflicts in the non-public code,
but I think it'd be a good idea, if only to avoid confusion between
e.g. `clearMemory` and the-variable-formerly-known-as `clearmemory`.
2020-04-12 10:49:32 -04:00
Zeno Rogue
0d00c70ed6
history animation is now allowed if allowIncreasedRange
2020-04-02 12:59:30 +02:00
Zeno Rogue
e53f61a8be
history:: specifically mark starting position
2020-04-01 11:26:19 +02:00
Zeno Rogue
7b3c835429
fixed lineanimation for arb
2020-01-16 17:13:57 +01:00
Zeno Rogue
3f69ffa58c
fixed history band render
2019-12-27 01:19:37 +01:00
Zeno Rogue
2b154edbdb
fixed line animation
2019-12-27 01:19:14 +01:00
Zeno Rogue
ef9e2236ba
viewctr is no more... major reduction of redundancy/complexity
2019-11-14 00:26:50 +01: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
c5fec49cb6
animations in product (untested)
2019-09-12 22:50:14 +02:00
Zeno Rogue
95da7ff09e
using viewcenter() consistently
2019-09-12 22:50:13 +02:00
Zeno Rogue
51efb7e3ff
added missing history.cpp
2019-09-12 22:50:13 +02:00