Commit Graph

127 Commits

Author SHA1 Message Date
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
Zeno Rogue 15000034fd parser:: error handling now uses exceptions 2019-12-23 21:44:51 +01:00
Zeno Rogue 6e7cf99d07 too long dialog values are now reduced size 2019-11-30 19:28:55 +01:00
Zeno Rogue ae92566255 actions on title click allowed (unused) 2019-11-30 18:03:00 +01:00
Zeno Rogue ce9f1c02f1 dialogs:: itsh(ld) fixed 2019-09-27 18:03:10 +02:00
Zeno Rogue 8f8fb8a217 replaced hooks_startmenu and hooks_mainmenu with a general hooks_display_dialog 2019-09-12 22:50:16 +02:00
Zeno Rogue 848eb8f48b export everything: modules compiled separately 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 d8d32d19b0 duplicate keys in dialogs are now fixed correctly 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 0ef57dde15 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue ad03115097 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue 9588dfcc50 changed argument type in displaycolor to color_t 2019-09-12 22:50:12 +02:00
Zeno Rogue c2d56fb9bc autohdr.h applied in more files 2019-09-12 22:50:12 +02:00
Zeno Rogue 392611045a dialog::DONT_SHOW to prevent showing the map in number dialogs 2019-09-12 22:50:08 +02:00
Zeno Rogue e58e3c9bcb editNumber(int) now accepts floating point step 2019-09-12 22:50:08 +02:00
Zeno Rogue 1875e1641e more responsible onscreen keyboard 2019-09-12 22:50:08 +02:00
Zeno Rogue ee0266c488 some keyboard tuning 2019-09-12 22:50:08 +02:00
Zeno Rogue c07e22ca5e onscreen keyboards where applicable 2019-09-12 22:50:08 +02:00
Zeno Rogue 1c6e6bafb4 moved the parameters from geom3:: to videopar 2019-09-12 22:50:04 +02:00
Zeno Rogue 07e1db587c improved editNumber dialogs 2019-09-12 22:50:02 +02:00
Zeno Rogue f7d580fa9c replaced fts variants with a single fts 2019-09-12 22:50:02 +02:00
Zeno Rogue 4b7cba78ee replaced the sm::A3 flags with newer techniques (also fixes help in 3D config not appearing) 2019-09-12 22:43:00 +02:00
Zeno Rogue 3da6090320 dialog:: addBoolItem_action, addBoolItem_action_neg, addBoolItem_choice used when applicable 2019-09-12 22:43:00 +02:00
Zeno Rogue 4791fd018e dialog:: addBoolItem_action 2019-09-12 22:43:00 +02:00
Zeno Rogue a528f56a98 comma actually can be entered in number editor 2019-09-12 22:42:58 +02:00
Zeno Rogue 54a32441a7 restructured menus 2019-09-12 22:42:58 +02:00