1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 15:39:55 +00:00
Commit Graph

80 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
9337240d49 inventory:: added missing outlines 2022-12-04 15:35:58 +01:00
Zeno Rogue
fcfadf9eaa inv:: correct dialogcolor used 2022-12-04 15:25:48 +01:00
Zeno Rogue
5d13663695 improved the orb text display in OSM for icons 2022-12-04 14:45:55 +01:00
Zeno Rogue
cb4955e397 dialog:: list used in inv 2022-10-27 16:06:39 +02:00
Zeno Rogue
75f58766a2 made background screen darkening consistent and optional 2022-07-05 11:51:06 +02:00
Zeno Rogue
025893e946 cleaned up where summoned creature appears for Orb of Life and Orb of Friendship 2021-08-08 19:04:58 +02:00
Jesse Ruderman
f67452eccb Fix HUD kill list in 'items only' mode 2021-07-03 16:12:39 -07:00
Zeno Rogue
cc31e1cd64 inv:: the new Orbs displayed and hotkeyed correctly 2021-06-01 13:07:56 +02:00
Zeno Rogue
bc0eed4cf0 'plain' button shown in the inventory screen 2021-06-01 13:07:56 +02:00
Zeno Rogue
707292a7e4 inv:: added the new orbs 2021-06-01 13:07:55 +02:00
Zeno Rogue
0f767e16b6 XLAT refactor continued 2021-05-23 16:00:50 +02:00
Zeno Rogue
4b1b0516f3 choice of the land structure 2021-04-11 22:15:40 +02:00
Zeno Rogue
40d450676e more fixes to multiplayer 2021-03-06 11:46:13 +01:00
Zeno Rogue
82f32607e6 MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix 2020-07-28 22:06:14 +02:00
Arthur O'Dwyer
f2b7746c1b Move all defaulting-of-CAP_FOO to sysconfig.h.
- The phrase `#ifdef CAP_` should never appear anywhere.

- The phrase `#ifndef CAP_` should appear only in sysconfig.h.

- The phrases `#if CAP_` and `#if !CAP_` may appear wherever,
    as long as "sysconfig.h" is included first.

The rules for `CAP_FOO` equally apply to `ISFOO`.

There are many one-off macros still tested with `#ifdef`,
including `HAVE_ACHIEVEMENTS`, `PRINT_ACHIEVEMENTS`,
`FAKEWEB`, `FAKE_SDL`, `EASY`, and `WHATEVER`. I don't
have much grasp on what these are used for or how they're
configured, so I'm leaving them alone.
2020-05-03 15:12:12 -04:00
Zeno Rogue
0a6c80e909 refactored flat_model_enabler 2020-04-17 15:54:48 +02:00
Zeno Rogue
db4be83091 all save boxes are now named (fakeboxes start with @) 2020-04-17 15:04:27 +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
Zeno Rogue
0412f077e6 added/fixed some \brief descriptions 2020-03-27 21:47:09 +01:00
Zeno Rogue
edbd71cdff inv comments fixup 2020-03-27 21:14:09 +01:00
Zeno Rogue
cb003fb051 added some comments to hr::inv 2020-03-27 21:10:55 +01:00
Zeno Rogue
67f64e2d91 load/save stuff is now in namespace scores 2020-03-27 20:05:58 +01:00
Zeno Rogue
44be6bc583 inv:: multiplicity for Orb of Impact 2020-03-07 04:47:10 +01:00
Zeno Rogue
6317101d66 Orb of Plague 2020-03-07 04:47:10 +01:00
Zeno Rogue
04b3d5e8d4 inv:: missing char explained 2020-03-07 04:47:10 +01:00
Zeno Rogue
8393128106 on-activation effect for Orb of Digging in OSM 2020-03-07 04:47:10 +01:00
Zeno Rogue
98d11d7ba1 new Orbs in OSM 2020-03-07 04:47:10 +01:00
Zeno Rogue
ef98e048bb shmup:: incorrect cpid protection (just in case) 2019-11-14 20:08:23 +01:00
Zeno Rogue
a3d9711ec2 more adjustments to disabled CAP_* 2019-09-13 03:10:26 +02:00
Zeno Rogue
ebc44af74c mymake, comments moved 2019-09-12 22:50:16 +02:00
Zeno Rogue
82f24b4b6c exporting necessary stuff all over (in progress) 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
e5fb06e6cd product:: HUD items displayed correctly 2019-09-12 22:50:14 +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
a423dbd2da more header cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
c7620974a1 easier Chaos Mode + Inv 2019-09-12 22:50:06 +02:00
Zeno Rogue
96bd13aec9 3D:: fixed the orb display in 3D 2019-09-12 22:50:06 +02:00
Zeno Rogue
ab76ead2ae inv:: mirrors set for the new Orbs 2019-09-12 22:38:39 +02:00
Zeno Rogue
7817c8bc47 inv:: emoved gainLate for new treasures 2019-09-12 22:38:38 +02:00
Zeno Rogue
ebe75cdd62 renamed itOrbBrown to itOrbIntensity 2019-09-12 22:38:38 +02:00
Zeno Rogue
0fccad975c newlands:: orb changes 2019-04-29 17:19:06 +02:00
Zeno Rogue
2bc66342dd newlands:: implemented new Orbs: Gravity, Intensity, Choice 2019-04-29 17:19:06 +02:00
Zeno Rogue
5227a5a70e inv:: fixed hotkeys 2019-02-08 16:54:33 +01:00
Zeno Rogue
c56287ae38 orbinfos is a vector now 2019-02-06 16:38:48 +01:00
Zeno Rogue
d935febf09 refactored some global and stereo:: variables into display_data structure 2018-11-18 18:26:56 +01:00
Zeno Rogue
1ab460ffb1 type color_t should now be consistently used for colors; reimplemented drawqueue in OO fashion 2018-09-04 19:53:42 +02:00
Zeno Rogue
682f804576 major rewrite: unified the common parts of heptagon and cell via struct connection<T> and struct walker<T> 2018-08-18 00:46:45 +02:00
Arthur O'Dwyer
06f4ba16ed Fix an apparent typo-bug in "inventory.cpp" 2018-06-25 12:52:21 -07:00