1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-28 14:49:54 +00:00
Commit Graph

153 Commits

Author SHA1 Message Date
Zeno Rogue
2524fb76d0 dialog:: added constants for all colors used in dialogs (but no settings in menu yet); refactored a bit, fixing minor inconsistencies 2022-12-04 15:24:42 +01:00
Zeno Rogue
0770a11164 dialog::first_list_fake_key constant 2022-12-04 14:46:50 +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
320aac6b9a dialog:: larger file dialog, automatically set position 2022-11-04 23:15:00 +01:00
Zeno Rogue
2bc0de05a6 dialog:: search in file dialog 2022-11-04 23:15:00 +01:00
Zeno Rogue
8e1c05d3cf dialog:: refactor hasInfix 2022-11-04 23:15:00 +01:00
Zeno Rogue
0ff46ff143 dialog:: DIALOG_WIDE 2022-11-04 23:14:59 +01:00
Zeno Rogue
3ab4915ff4 dialog:: find_highlight 2022-11-04 23:14:59 +01:00
Zeno Rogue
cfac1cf3ab made file dialog more intuitive 2022-10-27 16:06:39 +02:00
Zeno Rogue
303d173bf6 mousewheel now works in dialog lists 2022-10-27 16:06:39 +02:00
Zeno Rogue
2d1cff6549 display F4 key name correctly, and 'fake keys' not displayed 2022-10-27 16:06:39 +02:00
Zeno Rogue
18f571b683 default dialog handler now does panning 2022-10-27 16:06:39 +02:00
Zeno Rogue
8294246449 dialog:: sm::NARROW_LINES 2022-10-27 16:06:39 +02:00
Zeno Rogue
caa4ac5bb4 sm::AUTO_VALUES to automatically assign option widths 2022-10-27 16:06:39 +02:00
Zeno Rogue
06f450af22 dialog:: lists keep the mouse better 2022-10-27 16:06:39 +02:00
Zeno Rogue
3408c1119f dialog:: automatically move list_skip 2022-10-27 16:06:39 +02:00
Zeno Rogue
3b5a5c01c5 dialog:: file dialogs now use list 2022-10-27 16:06:39 +02:00
Zeno Rogue
42a1615d0d dialog:: addBoolItem_action now accepts int argument 2022-10-27 16:06:38 +02:00
Zeno Rogue
601250f2de dialog:: control lists with mouse 2022-10-27 16:06:38 +02:00
Zeno Rogue
0d2f054d2b dialog:: lists; highlight should now work even if multiple items have the same name 2022-10-27 16:06:38 +02:00
Zeno Rogue
a2113d4142 darken the menu side of the screen 2022-07-05 14:00:51 +02:00
Zeno Rogue
bbc495b2fb darken the menu side of the screen 2022-07-05 13:57:34 +02:00
Zeno Rogue
6e1743ac86 prettier color items 2022-07-05 12:54:59 +02:00
Zeno Rogue
5763120dae color dialog has the new sliders 2022-07-05 12:34:31 +02:00
Zeno Rogue
3ae7d8b2d7 graphical sliders 2022-07-05 12:26:20 +02:00
Zeno Rogue
75f58766a2 made background screen darkening consistent and optional 2022-07-05 11:51:06 +02:00
Zeno Rogue
d3fa8a6c2a custom dialog items 2022-04-16 13:58:26 +02:00
Zeno Rogue
29dee36525 fixed product shvid 2021-06-17 09:44:48 +02:00
Zeno Rogue
bc0eed4cf0 'plain' button shown in the inventory screen 2021-06-01 13:07:56 +02:00
Zeno Rogue
b65e5f603f casual mode 2021-06-01 13:07:36 +02:00
Arthur O'Dwyer
1761b02b90 Rationalize some std::exception stuff. 2021-03-21 17:57:09 -04:00
Zeno Rogue
009e1e2eb4 changemode uses the new dialogkey system 2021-03-06 11:00:36 +01:00
Zeno Rogue
9844125d78 vr:: emptyscreen() so that VR knows what to do if there is no screen 2021-02-07 22:55:11 +01:00
Zeno Rogue
c57566f9da highlights in special modes 2021-02-07 22:55:11 +01:00
Zeno Rogue
5bd7dea231 improved help for editable values 2021-02-01 13:42:12 +01:00
Zeno Rogue
1b976d364b uniform VR control 2020-12-31 19:11:14 +01:00
Zeno Rogue
0de8ce9a10 initial implementation of VR 2020-11-22 17:58:40 +01:00
Zeno Rogue
d80becb63b the color dialog now shows full hex color 2020-11-05 15:15:33 +01:00
Zeno Rogue
f5eff4e225 fixed the dialog navigation keys 2020-10-06 21:07:34 +02:00
Zeno Rogue
f2fcbf4b81 go back is now BACKSPACE in Web, except number/string dialogs 2020-10-06 21:07:12 +02:00
Zeno Rogue
b6450fc5bc 'go back' on web is now Backspace, not ESC 2020-09-23 14:53:24 +02:00
Zeno Rogue
11b1f6dfb0 down arrow in menus now works opposite to the up arrow (rolls around) 2020-09-16 23:49:17 +02:00
Zeno Rogue
cea3da31fc separated highlight 2020-09-16 23:49:17 +02:00
Zeno Rogue
1d278263bf DIALOG_STRICT_X now works with diTitle/diInfo 2020-08-01 16:42:55 +02:00
Zeno Rogue
db96f3499c dialog::add_action_confirmed 2020-07-12 21:39:34 +02:00
Zeno Rogue
773bcfe29c colordialog now has reaction_final (called when selected or cancelled) 2020-05-31 17:11:59 +02:00
Zeno Rogue
8f0f224605 cheat_if_confirmed now auto-disables while in a forbidden-cheat mode 2020-05-31 16:43:36 +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
c24658bf38 more drawing tool improvements; no crash drawing tool; restart editors will ask for confirmation 2020-04-17 20:34:49 +02:00
Arthur O'Dwyer
a0da10b408 Remove extraneous semicolons to quiet pedantic GCC warnings. 2020-03-23 14:38:57 -04:00