Commit Graph

1327 Commits

Author SHA1 Message Date
Michael 5bd95ec56c dlgrender.cpp: preselect driver from configuration 2021-09-02 21:02:44 +02:00
Michael 55c526309f trespass/DDDevice.cpp: add implementation for LoadSelectedDeviceFromRegistry 2021-09-02 21:02:07 +02:00
Michael 4953355deb trespass/DDDevice.hpp: add GetSelectedDeviceIndex and LoadSelectedDeviceFromRegistry 2021-09-02 21:00:58 +02:00
Michael e24bb62b5b uiwnd.h: react to windowposchanged window message 2021-08-29 13:43:11 +02:00
Michael 62f3947931 uiwnd.cpp: react to windowposchanged window message 2021-08-29 13:42:48 +02:00
Michael 80b8977f73 uidlgs.cpp: move UI element repositioning to handling of windowposchanged window message 2021-08-29 13:42:27 +02:00
Michael 6c5fdd665e mainwnd.cpp: react to windowposchanged window message 2021-08-29 13:41:36 +02:00
Michael bbe72506c2 trespass/main.h: react to windowposchanged window message 2021-08-29 13:41:02 +02:00
Michael 8c8f17f171 main.cpp: resize window after showing CConfigureWnd 2021-08-28 14:29:16 +02:00
Michael 48b6b6c90d dlgrender.cpp: scroll to active resolution when render menu is opened 2021-08-28 13:28:14 +02:00
Michael 10923b14f8 Trespass/main.cpp: remove filtering of high display resolutions 2021-08-28 13:21:46 +02:00
Michael a11a6ac711 View/Video.cpp: remove filtering of high display resolutions
- remove filtering of 16bit screen modes
2021-08-28 13:21:04 +02:00
Michael 9e5227af5e View/Video.hpp: remove filtering of high display resolutions 2021-08-28 13:19:45 +02:00
Michael fee7df9701 ctrls.cpp: add CUIListbox::ScrollToActive 2021-08-28 13:03:42 +02:00
Michael 39f64dc697 ctrls.h: add CUIListbox::ScrollToActive 2021-08-28 13:03:19 +02:00
Michael 2591beeee1 uidlgs.cpp: reset window if resolution was changed in video options 2021-08-28 13:02:02 +02:00
Michael 410cc17e0f trespass.rc: add dropdown box for window mode selection to video settings menu
- replace help text in video settings menu
2021-08-14 23:01:55 +02:00
Michael 50901fd256 trespass/main.h: add support for window mode selection 2021-08-14 23:00:24 +02:00
Michael 8347b2c66e dlgrender.cpp: add support for window mode selection 2021-08-14 22:59:40 +02:00
Michael bbd5e83c87 trespass/resource.h: add IDC_COMBO_WINDOWMODE 2021-08-14 22:58:14 +02:00
Michael 0497f93130 DDDevice.cpp: relax resolution filter conditions, filter below 640x480 2021-08-14 22:56:56 +02:00
Michael 6117334a64 trespass/main.cpp: replace GetWindowModeConfigured with GetWindowModeActive 2021-08-14 22:55:57 +02:00
Michael c3b01fc54a supportfn.cpp: replace GetWindowModeConfigured with GetWindowModeActive 2021-08-14 22:54:31 +02:00
Michael b5e1fe531e RasterVid.cpp: replace GetWindowModeConfigured with GetWindowModeActive 2021-08-14 22:53:56 +02:00
Michael a29d29911c DisplayMode.hpp: add SetWindowModeConfigured and GetWindowModeActive 2021-08-14 22:46:27 +02:00
Michael fbe473067e DisplayMode.cpp: add SetWindowModeConfigured and GetWindowModeActive 2021-08-14 22:46:00 +02:00
Michael 25a6277599 mainwnd.cpp: add missing nullptr checks 2021-08-14 22:20:09 +02:00
Michael 51ad6fd46a ColourBase.cpp: add missing nullptr check 2021-08-14 22:19:02 +02:00
Ian Brun 17d1060a27
Merge pull request #172 from meekee7/applyclut16-cpp-path
ApplyClut16: Repair and use C++ code path
2021-07-31 15:45:23 +02:00
Ian Brun 5b95d6d57d
Merge pull request #171 from meekee7/cheat-prompt
Cheat prompt and save menu improvements
2021-07-31 15:44:05 +02:00
Ian Brun af1542feef
Merge pull request #170 from meekee7/endless-scrolldown
Resolve endless scrolldown in listbox
2021-07-31 15:32:00 +02:00
Michael b669d936dc RasterCompositeTest.cpp: add unit tests for ApplyClut16 2021-07-31 15:05:38 +02:00
Michael 745625f456 RasterComposite.cpp: disable assembler code paths
- use clut as const pointer
- use correct bitmask in C++ code path
2021-07-31 15:04:54 +02:00
Michael 6a2fd96ebf gamewnd.cpp: set command prompt in cheat console
- ensure that psz In ExecuteCheat is never nullptr
- improve ESC key handling for cheat console
2021-07-30 18:34:53 +02:00
Michael 5e5c014ff7 ctrls.cpp: use const char* for CUIEditbox text getter and setter
- add support for prompt text in CUIEditBox
- improve ESC key handling in CUIEditBox
2021-07-30 18:31:40 +02:00
Michael 4b551ac5ce ctrls.h: use const char* for CUIEditbox text getter and setter
- add setter and member for prompt text
2021-07-30 18:29:13 +02:00
Michael 730804019c saveload.cpp: use const string for CUIEditBox::GetText 2021-07-30 18:24:02 +02:00
Michael 2f26c281eb ctrls.cpp: do not permit scrolldown of listbox when there are fewer data items than listbox items 2021-07-25 20:36:03 +02:00
Michael a7d229e8c4 trespass/version.rc2: include build mode in FileDescription
- include short Git hash in ProductVersion
- rename to OpenTrespasser
2021-07-09 23:55:48 +02:00
Michael 30b121b659 version.hpp: add version number macro with short Git hash 2021-07-09 23:54:03 +02:00
Ian Brun b4f2e9af49
Merge pull request #154 from meekee7/32bit-colordepth-support
32bit color depth support
2021-06-08 18:10:58 +02:00
Michael 18ce52d8ef mainwnd.cpp: add nullptr check 2021-04-23 21:33:52 +02:00
Ian Brun 2c52f38fe8
Merge pull request #163 from meekee7/ce-controls-2
Control and menu improvements from CE
2021-04-03 23:33:27 +02:00
Michael 52ef160f5c ctrls.cpp: remove variable in ScrollUp and ScrollDown 2021-04-03 19:27:41 +02:00
Michael e1c7e53ef4 ctrls.cpp: cast to signed type to avoid implicit cast of subterm to unsigned type. This fixes the glitchy behavior when moving the scrollbar up. 2021-04-03 14:24:25 +02:00
Michael 9556230685 Ctrls: add mousewheel support to CUISlider 2021-04-03 01:51:09 +02:00
Michael 46ad924a5d Mainwnd: add mousewheel support 2021-04-03 01:15:32 +02:00
Michael 1c9bb0d57a UIWnd: add mousewheel support 2021-04-03 01:14:53 +02:00
Michael 498130ed0d Ctrls: add mousewheel support for CUIListBox
- extract ScrollUp and ScrollDown
2021-04-03 01:14:09 +02:00
Michael c448e9785b mainwnd.cpp: forward MMB down messages 2021-04-02 23:59:29 +02:00