1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00
Commit Graph

178 Commits

Author SHA1 Message Date
Zeno Rogue
bec0cc4301 texture:: removed useless drawscreen() from txcl 2024-06-16 13:51:07 +02:00
Zeno Rogue
a8884ccfd1 texture:: remove doubly defined -txc 2024-06-16 13:50:46 +02:00
Zeno Rogue
49446c64f7 texture:: set variation quicker 2024-06-16 13:50:23 +02:00
Zeno Rogue
85874dbb1c fixed loading texture parameters 2024-06-16 13:36:48 +02:00
Zeno Rogue
4f868faee4 improved handling of missing files in arb::run 2024-06-02 17:17:34 +02:00
Zeno Rogue
1c74774bfa refactored the parameter (saver/setting) system 2024-05-26 20:22:29 +02:00
Zeno Rogue
ce825db2c0 redone the canvas coloring system 2024-05-09 10:44:37 +02:00
Zeno Rogue
a50a87f095 another constexpr changed to const in textures.cpp 2023-10-28 10:04:15 +02:00
Arthur O'Dwyer
62629f3e70 Change static const to static constexpr wherever possible
Since we require C++11, most of these consts can be constexpr.

Two `static const ld` remain non-compile-time-evaluable because
they depend on the runtime `log` function. One `static const cld`
remains non-compile-time because `std::complex<T>` doesn't become
constexpr until C++14.
2023-08-23 09:47:28 -08:00
Zeno Rogue
67d38feabd camera_angle now uses matrix dialog 2023-08-14 18:08:28 +02:00
Zeno Rogue
b6f13b953b more OOP-style standard dialogs 2023-08-09 14:01:24 +02: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
31b2bd9690 find_file to find files in HYPERPATH 2022-08-26 12:23:58 +02:00
Arthur O'Dwyer
0ae74aad62 Fix more instances of Clang's -Wunqualified-std-cast-call 2022-07-05 13:28:00 -04: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
8f4a0935b9 more XLAT refactoring, and preparation for gentrans.cpp 2021-05-23 16:00:50 +02:00
Zeno Rogue
056419288c enabling canvas now automatically enables ls::single 2021-04-23 20:09:23 +02:00
Zeno Rogue
864e7e3ec3 texture:: option original 2021-04-12 13:57:28 +02:00
Zeno Rogue
f00696711a HyperRogue ported to SDL2 (in mymake do -sdl2) 2021-03-06 14:53:25 +01:00
Zeno Rogue
c1555c3ffa English grammar fix 2021-02-07 22:55:10 +01:00
Zeno Rogue
b921a5a81b drawing tool and shape editor can now be used with texture mode enabled 2021-02-01 11:45:52 +01:00
Zeno Rogue
3260a635a8 fixed base_x and base_y 2020-09-16 23:49:17 +02:00
Zeno Rogue
275e6b369d more general textures 2020-09-11 11:17:48 +02:00
Zeno Rogue
82f32607e6 MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix 2020-07-28 22:06:14 +02:00
Zeno Rogue
ffa4589705 fake:: fixed some bugs with patterns working incorrectly 2020-06-03 11:46:50 +02:00
Zeno Rogue
bd44eab6f0 textures:: redone using the new dialog functions 2020-05-31 03:27:23 +02:00
Zeno Rogue
6de3bface4 texture:: when true_remapping, just clear the texture_map 2020-05-30 20:08:22 +02:00
Zeno Rogue
6cc988ca08 texture:: fixed zoom/scale to scale/rotate 2020-05-30 20:08:05 +02:00
Zeno Rogue
edc86a70d1 texture:: save arb filename 2020-05-30 20:07:50 +02:00
Zeno Rogue
6f6586b3f2
Merge branch 'master' into hooks-naming 2020-04-19 13:39:07 +02:00
Zeno Rogue
4ffbe27784 pen width and paint color are now defined in mapeditor.cpp not texture.cpp 2020-04-18 16:10:56 +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
c247936e34 removed the functions queuechr -- use queuestr now 2019-12-26 23:38:28 +01:00
Zeno Rogue
d5c8aebf16 renamed binary:: to bt:: and binarytiling to bt::in() 2019-12-14 12:05:01 +01:00
Zeno Rogue
f772f9b7fd replaced 'archimedean' with 'arcm::in()' 2019-12-14 11:57:23 +01:00
Zeno Rogue
4dfa168ce4 parser/texture:: txp function 2019-11-15 13:50:23 +01:00
Zeno Rogue
ef9e2236ba viewctr is no more... major reduction of redundancy/complexity 2019-11-14 00:26:50 +01:00
Zeno Rogue
d1d8ee07a1 fixed texture overlay 2019-11-03 11:00:56 +01:00
Zeno Rogue
09fcd14aa7 redesigned shader system 2019-10-21 22:34:20 +02:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
a60b88f7ba fixed an issue in textures causing compilation error 2019-09-12 22:50:16 +02:00
Zeno Rogue
62214a26e1 fixed the bug with black creatures in 3D 2019-09-12 22:50:14 +02:00
Zeno Rogue
95da7ff09e using viewcenter() consistently 2019-09-12 22:50:13 +02:00
Zeno Rogue
96bf478482 renamed DIM to GDIM 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
609d1b91d3 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
5ea055b39e split namespace conformal into models and history 2019-09-12 22:50:12 +02:00
Zeno Rogue
a423dbd2da more header cleanup 2019-09-12 22:50:12 +02:00