1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-12 09:42:05 +00:00
Commit Graph

277 Commits

Author SHA1 Message Date
Zeno Rogue ffc4b6b00e also moved stillscreen 2025-09-09 17:00:22 +02:00
Zeno Rogue ab9d7a404f moved bool currently_scrolling so that Android does not complain 2025-09-09 16:34:35 +02:00
Zeno Rogue fff5ed37ab tour mode now reacts to pageup/down 2025-08-17 03:09:19 +02:00
Zeno Rogue 537a3b8779 added some missing guards 2025-06-22 15:41:43 +02:00
Zeno Rogue a80b74dc62 migrated to SDL3 2025-06-07 16:16:57 +02:00
Zeno Rogue 23646fb56e achievements:: removed init-pump-close functions from main HyperRogue -- they use hooks instead 2025-03-17 18:57:30 +01:00
Zeno Rogue 7830e45109 more fixes to currently_scrolling; also use SDL_WaitEventTimeout in SDL2 2025-03-08 16:41:48 +01:00
Zeno Rogue 5fb1ff4d21 a system to limit the framerate if not currently showing an animated screen 2025-03-08 16:41:48 +01:00
Zeno Rogue 2775a120af fixed incorrect scrolling when clicking the mousewheel from outside the Poincare disk 2025-02-24 11:46:31 +01:00
Zeno Rogue 1b61d7dc22 factored out some functions from the normal view 2024-12-01 12:44:19 +01:00
Zeno Rogue d2166aef08 show map type, improved expansion 2024-11-14 18:21:49 +01:00
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