1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-19 11:44:48 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
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
1dac5c731b fixed rainbow_color for hue == 6 2023-03-28 14:35:22 +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
839ca440ea refer to color by HTML name in commandline arguments 2021-10-17 09:18:31 +02:00
Zeno Rogue
9d26e98fcd colors:: allocate more colors 2021-10-17 09:05:51 +02:00
Zeno Rogue
1f939920d2 added missing EX 2021-03-30 00:04:20 +02:00
Zeno Rogue
355b8df23a added colors.cpp for all color-related functions 2021-03-25 10:56:20 +01:00