1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-19 20:38:09 +00:00
Commit Graph

225 Commits

Author SHA1 Message Date
Zeno Rogue
a6a2490c3b fixed mouse refreshing 2025-12-11 23:36:16 +01:00
Zeno Rogue
1e0d4de209 fixes to keyboard in search-for-setting 2025-12-11 22:01:05 +01:00
Zeno Rogue
964e2f20f6 inv:: an option to display help about orbs, in touch interfaces 2025-12-11 20:57:58 +01:00
Zeno Rogue
ba5abe8c85 fixup to something 2025-12-11 20:49:19 +01:00
Zeno Rogue
49b91d8371 deck::show_keyboard now switches onscreen_keyboard 2025-12-11 20:49:11 +01:00
Zeno Rogue
c2dc92d02a show keyboard in 'search for setting' 2025-12-11 20:48:43 +01:00
Zeno Rogue
38e50861a0 editInfix now also has sym argument 2025-12-11 20:48:08 +01:00
Zeno Rogue
5d56c8679f fixed exit from number dialog 2025-12-11 20:33:45 +01:00
Zeno Rogue
d0d102e184 more deck controls 2025-12-11 20:29:38 +01:00
Zeno Rogue
a64e79fb84 controller button gluphs 2025-12-11 20:15:01 +01:00
Zeno Rogue
88e778f3fe accept new controller controls in various menus 2025-12-11 20:14:42 +01:00
Zeno Rogue
d8b9b3e10b fixup to IFM 2025-11-11 22:02:48 +01:00
Zeno Rogue
e4d52d23d1 further improved Deck controls 2025-11-11 22:02:43 +01:00
Zeno Rogue
0c4f601b0b add an option to never/always display keys 2025-11-11 19:55:59 +01:00
Zeno Rogue
85e42a0105 dialog_font_scale is 3 by default only on deck 2025-11-11 19:08:06 +01:00
Zeno Rogue
315dc2a849 removed an unused argument in displayPageButtons 2025-11-11 18:51:07 +01:00
Zeno Rogue
bb2c794a40 added dialog_font_scale and lands_per_page options 2025-11-11 18:46:16 +01:00
Zeno Rogue
510331cc14 sm:: flags are now flagtype, not int 2025-10-09 08:58:46 +02:00
Zeno Rogue
0d1c405d81 cmode flag sm::NO_EXIT 2025-10-09 08:54:16 +02:00
Zeno Rogue
dbebf13465 nicer help for number dialogs 2025-09-09 16:56:47 +02:00
Zeno Rogue
c5ce82b2c7 fixed the TAB key to actually clear in text dialog 2025-09-09 09:38:07 +02:00
Zeno Rogue
aad7a4d866 fixed onscreen keyboard in SDL2 2025-09-09 09:37:50 +02:00
Zeno Rogue
28a56f659d Merge branch 'master' of https://github.com/zenorogue/hyperrogue 2025-09-09 08:57:13 +02:00
Zeno Rogue
4e3ec3bb3a extra chars in number dialog 2025-09-09 08:57:07 +02:00
Joseph C. Sible
b18c7e78e6 Fix number_dialog_help when ptr is null
Dereferencing a null pointer is undefined behavior even if you don't use the
result.
2025-09-08 19:42:49 -04:00
Zeno Rogue
6b30441ea1 do not use emptyscreen. Use gamescreen but with NOSCR 2025-08-25 21:51:57 +02:00
Zeno Rogue
06897460a3 fixed file dialog closing incorrectly 2025-07-09 12:25:00 +02:00
Zeno Rogue
a80b74dc62 migrated to SDL3 2025-06-07 16:16:57 +02:00
Zeno Rogue
f3cd8248ef atscreenpos now returns shiftmatrix; changed the atscreenpos references in hyperrogue to use new atscreenpos and eupoint when applicable 2025-03-02 21:44:27 +01:00
Zeno Rogue
0137175d46 fixed linebreaks in Chinese, also do not break close to ( ) 2024-11-18 09:59:09 +01:00
Zeno Rogue
a25a476835 vpush2 with extra parameter 2024-08-21 19:22:49 +02:00
Zeno Rogue
75a73f40b3 try harder to fit editor menu on the screen 2024-07-27 21:05:10 +02:00
Zeno Rogue
063dc65e3c dialog:: displays() does nothing if just_refreshing, for performance 2024-07-27 18:23:01 +02:00
Zeno Rogue
6a474da099 fixup addItem_mouse 2024-06-29 10:02:50 +02:00
Zeno Rogue
8a45b7e1e7 correct text handling in SDL2 2024-06-28 12:20:26 +02:00
Zeno Rogue
81131aedb9 refactored draw_side_shade 2024-06-27 22:22:06 +02:00
Zeno Rogue
6728484cf7 dialog items now use key_type for key, not int -- this fixes the bugs where char was used, causing search to fail 2024-06-18 01:04:48 +02:00
Zeno Rogue
43d1fd3db8 known keynames for all F1-F10 2024-05-28 15:15:41 +02:00
Zeno Rogue
8db11dc683 bool dialogs 2024-05-27 15:21:31 +02:00
Zeno Rogue
f445d02707 specialized exceptions for param errors 2024-05-27 02:18:22 +02:00
Zeno Rogue
1c74774bfa refactored the parameter (saver/setting) system 2024-05-26 20:22:29 +02:00
Zeno Rogue
9bc978ce16 added some CAP_ guards so Android compiles 2023-12-30 08:10:34 +01:00
Zeno Rogue
062fb577b2 fixed a bug with clicking lists in some dialogs 2023-12-12 20:09:19 +01: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
fd1be4beb8 Merge pull request #341 from Quuxplusone/override
Consistently apply `override` (and not `virtual`) to overriding virtuals
2023-08-22 19:56:17 +02:00
Arthur O'Dwyer
28880f2985 Consistently apply override (and not virtual) to overriding virtuals
Three functions were missing `override`, triggering `-Wsuggest-override` on Clang.
Many functions had redundant `virtual ... override`.
2023-08-21 10:23:48 -07:00
Arthur O'Dwyer
ced3bbcad4 Qualify calls to format
C++20 introduces `std::format` and we `using namespace std`,
so some of these would be ambiguous in C++20.
2023-08-21 10:18:44 -07:00
Zeno Rogue
01748ac77b more elegant matrix display 2023-08-15 17:25:00 +02:00
Zeno Rogue
610d64d22a dialog:: more intuitive rotation hotkeys 2023-08-15 17:08:41 +02:00
Zeno Rogue
a5ada45164 dialog:: isitem now knows diMatrixItems 2023-08-15 17:08:25 +02:00