Commit Graph

177 Commits

Author SHA1 Message Date
Ian Brun 8958f598f6
Merge pull request #123 from meekee7/d3d-window
Support for D3D in windowed mode
2020-08-20 02:59:43 +02:00
Michael c509f860b3 trespass/main.cpp: replace GetWindowModeActual with GetWindowModeConfigured 2020-08-09 23:12:03 +02:00
Ian Brun 5d3767883c
Merge pull request #128 from meekee7/remove-gdi-dlgs
Remove unused GDI GUI code files
2020-08-07 22:55:36 +02:00
Ian Brun 9e00a29781
Merge pull request #124 from meekee7/use-cddsize
Deduplicate CDDSize and use it where applicable
2020-08-07 22:55:22 +02:00
Michael c405d60422 main.cpp: remove code for manipulating nvidia driver registry 2020-07-03 22:23:04 +02:00
Michael a904ca6536 dlgrender.cpp: remove code for manipulating nvidia driver registry 2020-07-03 22:22:12 +02:00
Michael 1c6de8d7c7 trespass: remove unused GDI GUI code files 2020-07-01 22:14:22 +02:00
Michael 4a5e4da2e2 uidlgs.cpp: use CDDSize 2020-06-28 16:54:29 +02:00
Michael 1c137ae80c trespass/video.cpp: use CDDSize 2020-06-28 16:51:47 +02:00
Michael 6cf6e1b34a trespass/main.cpp: do not set working directory to C:\ when InstallDir is undefined
- auto-generate settings when game is deemed as not installed
2020-06-07 23:00:18 +02:00
Michael 098b203523 gamewnd.cpp: handle ESC key in KEYUP state 2020-05-30 23:09:40 +02:00
Ian Brun 64d8cbe1d7
Merge pull request #115 from meekee7/display-mode-management
Configurable window mode
2020-05-28 00:33:03 +02:00
Michael 73437bd9b8 main.cpp: remove unintended semicolon 2020-05-26 00:12:37 +02:00
Michael fb4e37d03e trespass/main.cpp: add supported for bordered window mode 2020-05-25 23:58:16 +02:00
Michael 9dd223a14e supportfn.cpp: use configured screen size 2020-05-25 23:57:36 +02:00
Ian Brun de0bfe5042
Merge pull request #111 from meekee7/single-ddraw4
Drop DirectDraw2 layer
2020-05-23 19:10:59 +02:00
Michael 13e09e0bdf Merge branch 'launch-elevated' into choose-data-dir 2020-05-23 18:30:58 +02:00
Michael f3d2b61830 supportfn.cpp: remove DD2 interface, only use DD4 2020-05-23 18:11:27 +02:00
Michael c94fdacdc7 tpassglobals.cpp: remove DD2 interface, only use DD4 2020-05-23 18:10:50 +02:00
Michael 83fc2e5740 uidlgs.cpp: remove DD2 interface, only use DD4 2020-05-23 18:10:22 +02:00
Michael 90386cfeda trespass/video.cpp: remove DD2 interface, only use DD4 2020-05-23 18:09:24 +02:00
Michael 47963fd063 trespass/main.cpp: remove DD2 interface, only use DD4 2020-05-23 18:08:48 +02:00
Michael bb1c500e48 trespass/main.cpp: check working dir for write permissions and on failure, try to restart with elevated permissions 2020-05-22 21:10:12 +02:00
Michael 00dad479a9 trespass.rc: change text of invalid data drive message to include new reselection option 2020-05-21 20:04:44 +02:00
Michael 4d99ce6bf0 trespass/main.cpp: let player choose data directory of current one is invalid 2020-05-21 20:03:14 +02:00
Ian Brun 4ae7db7374
Merge pull request #104 from meekee7/fileloc-backslashes
Tolerate missing backslashes in config paths
2020-05-20 21:11:05 +02:00
Michael 57dfc9fe28 uiwnd.cpp: remove obsolete comment 2020-05-20 20:58:42 +02:00
Michael e34a13f4a5 tpassglobals.cpp: remove obsolete comment 2020-05-20 20:58:17 +02:00
Ian Brun bb7a38ba07
Merge pull request #105 from meekee7/main-pointer-format-specifier
trespass/main.cpp: use correct format specifier for pointer
2020-05-20 13:12:49 +02:00
Michael 7a106b401c trespass/main.cpp: use GetFileLoc for install directory query 2020-05-17 11:50:39 +02:00
Michael 406ccad0db tpassglobals.cpp: use GetFileLoc for data directory query 2020-05-17 11:49:56 +02:00
Michael 8c0a715935 uiwnd.cpp: use GetFileLoc for data/install directory query 2020-05-17 11:46:45 +02:00
Michael 6c09bc156a uidlgs.cpp: use GetFileLoc for data directory query 2020-05-17 11:21:16 +02:00
Michael 39f044dd90 mainwnd.cpp: use GetFileLoc for data directory query 2020-05-17 11:19:36 +02:00
Michael 0d67d86792 supportfm.cpp: ensure paths contain necessary backslashes 2020-05-17 00:25:35 +02:00
Michael 572213d89b gamewnd.cpp: add missing break statement 2020-05-16 21:36:49 +02:00
Michael a10935689f main.cpp: remove obsolete function VerifyProcessor() 2020-05-16 15:11:43 +02:00
Michael 089f22a231 trespass/main.cpp: remove obsolete processor detection from startup procedure 2020-05-10 12:16:45 +02:00
Michael e425f59490 trespass/main.cpp: use correct format specifier for pointer 2020-05-10 11:26:54 +02:00
Ian Brun 1b552ac906 Added FPS counter
Activated through 'FPS' cheat.
2020-05-08 07:00:04 +02:00
Ian Brun 4618173c2b
Merge pull request #91 from meekee7/tpassglobals-array-init
CTPassGlobals array initialization
2020-05-03 21:29:48 +02:00
Michael 5f29919c55 tpassglobals.cpp: restructure array initialization 2020-05-03 20:59:11 +02:00
Michael cf4d438158 trespass/main.cpp: consistent indendation in ValidateDiskSpace 2020-05-03 12:31:11 +02:00
Michael 7b1d4d19bf trespass/main.cpp: rewrite ValidateDiskSpace to avoid overflows and win32-specific functions 2020-05-03 12:23:38 +02:00
Michael fb9eb3563e uiwnd.cpp: clear screen buffer before drawing to avoid mouse trail effect 2020-04-30 23:24:57 +02:00
Michael 26b2fb413b video.cpp: : center FMV video for arbitrary window size 2020-04-29 22:00:41 +02:00
Michael 28860d1b79 uidlgs.cpp: ensure UI elements are centered 2020-04-29 21:59:56 +02:00
Michael cecf09dc7f supportfn: enable arbitrary window size
- add function to determine current client rect size
2020-04-29 21:59:16 +02:00
Michael 37bfea1d48 mainwnd.cpp: enable arbitrary window size 2020-04-29 21:58:02 +02:00
Michael 53a0d9cdd4 main.cpp: enable arbitrary window size 2020-04-29 21:57:27 +02:00
Michael 9355ff49b5 gamewnd.cpp: enable arbitrary window size 2020-04-29 21:57:01 +02:00
Michael 2ea04d23bb supportfn.cpp: use correct buffer size when copying differently sized buffers 2020-04-20 20:54:45 +02:00
Michael 57fe958fb4 ctrls.cpp: add missing variable initialization 2020-04-19 14:00:55 +02:00
Michael 9e8c3b32cd uiwnd.cpp: use correct comparison operator for iterators 2020-04-19 13:47:22 +02:00
Michael 7ff07d34e6 saveload.cpp: restructure loop to avoid over-iteration after insert 2020-04-19 13:22:43 +02:00
Michael 42aafda1ca mainwnd.cpp: use rbegin()/rend() for backwards iteration 2020-04-19 13:19:02 +02:00
Michael ff92f30b81 uiwnd.cpp: use rbegin()/rend() for backwards iteration 2020-04-19 13:18:57 +02:00
Michael 7b9338f748 uiwnd.cpp: fix deletion algorithm for vector 2020-04-19 13:09:10 +02:00
Michael 6088118dc0 token.cpp: add missing variable intialization 2020-04-19 12:46:21 +02:00
Michael 214c00661f trespass/main.cpp: add missing variable initialization 2020-04-18 17:28:44 +02:00
Michael 8c596d72f7 tpassglobals.cpp: add empty LineColour implementation 2020-04-09 19:29:03 +02:00
Ian Brun cc8d61e9f6
Merge pull request #58 from meekee7/compile-trespass
Compile Trespass
2020-04-06 02:12:31 +02:00
Michael cf6232969c tpassglobals.cpp: use modern destroy 2020-04-04 14:35:49 +02:00
Michael d122d3a2ee trespass/mainwnd.cpp: use modern destroy 2020-04-04 14:34:45 +02:00
Michael 309019ad42 trespass/main.cpp: use modern destroy 2020-04-04 14:34:11 +02:00
Michael 7faee9efc2 video.h: fix path of include 2020-04-04 13:07:43 +02:00
Michael 308e7a2c8a uiwnd: use modern STL header names
- std::* treatment
- distinguish pointer usage and iterator usage
2020-04-04 13:07:03 +02:00
Michael c9fcd4de68 uidlgs.h: std::* treatment 2020-04-04 13:02:50 +02:00
Michael 3fdf3191f5 supportfn.cpp: std::* treatment
- distinguish pointer usage and iterator usage
2020-04-04 13:01:48 +02:00
Michael 0b3209ff4a saveload.cpp: std::* treatment
- distinguish pointer usage and iterator usage
2020-04-04 13:00:13 +02:00
Michael dddaa1b4a8 precomp.h: fix path in include 2020-04-04 12:58:11 +02:00
Michael 3f1cecec7d mainwnd.cpp: std::* treatment 2020-04-04 12:56:30 +02:00
Michael 0a71f60401 gamewnd.cpp: std::* treatment 2020-04-04 12:55:54 +02:00
Michael 215cb5a2ee dlgrender.cpp: add missing type to variable declaration 2020-04-04 12:55:28 +02:00
Michael 4cb2128212 DDDevice: adjust include paths
- add missing types to variable declarations
2020-04-04 12:54:56 +02:00
Michael 590008b33d ctrls: std::* treatment
- distinguish pointer usage and iterator usage
2020-04-04 12:54:04 +02:00
Ian Brun 946b2a4943 Initial commit 2018-01-01 23:07:24 +01:00