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

266 Commits

Author SHA1 Message Date
Zeno Rogue
6c47ba501b fixed ijkl scrolling keys in SDL2 2024-10-20 01:50:33 +02:00
Zeno Rogue
f46d551f13 made keybd_subdir optional 2024-10-11 13:14:09 +02:00
Zeno Rogue
74dcd03ac6
Merge pull request #381 from jlmjlm/tabsd
Select the keyboard push-subdirection with Tab.
2024-10-11 12:50:54 +02:00
Zeno Rogue
3da69ed1f5 do not exit menus on left/right arrow presses in SDL2 2024-08-21 19:18:30 +02:00
Jacob Mandelson
261ebad082 Select the keyboard push-subdirection with Tab.
Previously, the keyboard push-subdirection was selected irregularly
based on the exact angle of the map on the screen.

Change it to be consistently clockwise or counterclockwise, switching
with the Tab key.

Also, have the keyboard push-subdirection help display on all
pushable monsters.  Previously, it'd only show on Palace Guards
and Skeletons.
2024-07-09 20:10:35 -07:00
Zeno Rogue
bf9fdd9a88 when in map/draw editor and holdmouse is on and animations, call handlekey so that a line is drawn 2024-06-29 10:48:05 +02:00
Zeno Rogue
8a45b7e1e7 correct text handling in SDL2 2024-06-28 12:20:26 +02:00
Zeno Rogue
2314eaba29 fixed non-enterable characters 2024-05-29 14:22:44 +02:00
Zeno Rogue
5901d9598d faster joystick intiialization 2024-05-28 11:59:03 +02:00
Zeno Rogue
80df589bd2 reverted numlock on MAC 2024-05-10 19:29:14 +02:00
Zeno Rogue
159b47e72a full_rotate_camera no longer reacts to val==0 2024-05-10 19:29:01 +02:00
Zeno Rogue
92603dddcc fixed pressing numpad keys with numpad on acting both as moves and quick-keys 2024-04-07 23:35:33 +02:00
Zeno Rogue
d618b10889 fixed crashes in 'shift to target' option 2024-03-24 21:22:58 +01:00
Zeno Rogue
0ec4e46bf0 SDL2 bugfix to shmup and game_keys_scroll 2024-03-24 13:15:58 +01:00
Zeno Rogue
11aa7d5216 fixed button placement on Android once more 2024-01-11 17:23:01 +01:00
Zeno Rogue
6f81743488 Android:: prevent android buttons from being too close from the center 2023-12-30 08:10:07 +01:00
Zeno Rogue
f4607b63f4 moved game_keys_scroll so that it exists on Android 2023-12-30 08:08:33 +01:00
Zeno Rogue
364a563423 fixed the name displayed on mouseover for slime 2023-12-22 01:14:41 +01:00
Zeno Rogue
0de012923a pressing ESC key while in fire mode now disables the fire mode 2023-12-21 19:50:01 +01:00
Zeno Rogue
176ea28a24 bow:: mouse_fire_mode 2023-12-02 11:30:51 +01:00
Zeno Rogue
33d48a76b3 crossbow:: crossbow icon works 2023-10-28 09:51:27 +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
757579fb18 matrix dialog now used for models::rotation 2023-08-14 17:02:34 +02:00
Zeno Rogue
9ab2b2bbd8 dialog:: mouse control in matrix dialog 2023-08-14 04:50:13 +02:00
Zeno Rogue
0168e4c7a8 hooks_control added 2023-08-06 11:47:21 +02:00
Zeno Rogue
9832285260 fixed a warning on array indexed by char 2023-04-15 01:13:49 +02:00
Zeno Rogue
cf90d4e3c4 fixed a bug causing spinning in VR 2023-02-21 18:53:42 +01:00
Zeno Rogue
a3b815741d fixed the possible crashes when changing settings 2023-02-18 18:32:54 +01:00
Zeno Rogue
ba03d33959 embedding:: a simple general implementation of radar 2023-01-29 16:09:00 +01:00
Zeno Rogue
85dffdbeff rewritten the embeddings more nicely 2023-01-27 00:27:10 +01:00
Zeno Rogue
2d21e9122a fixed list sliders not working correctly when quickmouse is off 2023-01-08 16:20:59 +01:00
Zeno Rogue
2999818eaf fixed rotate view 2022-12-29 20:50:17 +01:00
Zeno Rogue
f9552eb74e fixed forward direction 2022-12-13 23:51:28 +01:00
Zeno Rogue
f61adc2865 Nil embedding 2022-12-13 19:04:43 +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
e653f4eaeb shiftclick in mapeditor now deletes stuff 2022-10-27 16:06:39 +02:00
Zeno Rogue
5c507e58fd invslider fixup 2022-10-27 16:06:39 +02:00
Zeno Rogue
624cac0c80 game_keys_scroll not scroll if ALT is pressed 2022-09-24 09:11:06 +02:00
Zeno Rogue
2e5d9dd626 ystrafe no longer brings walking eye level below 0 2022-09-24 09:10:49 +02:00
Zeno Rogue
1ec7b0ece1 fixed the compilation with CAP_SDL2 2022-09-15 12:38:56 +02:00
Zeno Rogue
cafd721284 do not showMissionScreen with game_keys_scroll 2022-08-13 22:44:00 +02:00
Zeno Rogue
7883d569d6 debug removed 2022-08-07 15:01:00 +02:00
Zeno Rogue
3184aea2be game_keys_scroll option 2022-08-07 03:16:24 +02:00
Zeno Rogue
75f58766a2 made background screen darkening consistent and optional 2022-07-05 11:51:06 +02:00
Zeno Rogue
217c6287fe all cheat keys are now displayed in the cheat menu -- also removed some outdated ones 2022-06-23 13:46:14 +02:00
Zeno Rogue
11c4b7974f fixed Ctrl+keys on some systems 2022-06-23 09:34:21 +02:00
Zeno Rogue
e6d0c0c803 unified the Quest screen and Main menu. 2022-06-16 23:54:47 +02:00
Zeno Rogue
6fe07c389c fixed smooth movement in modes other than sm::NORMAL 2022-05-06 19:55:09 +02:00
Zeno Rogue
02d195ca0b new screen option sm::SHOWCURSOR 2022-04-30 12:02:05 +02:00