Commit Graph

1569 Commits

Author SHA1 Message Date
Michael
bc45fb1300 video.cpp: add missing cleanup before return statements 2020-09-06 21:13:20 +02:00
Michael
455a7db019 uiwnd.cpp: use Verify instead of Assert 2020-09-06 21:11:16 +02:00
Ian Brun
c122b96b6a
Merge pull request #139 from meekee7/cmake-statically-link-runtime-libraries
Statically link runtime libraries
2020-09-05 17:05:00 +02:00
Michael
9c3d8f44b3 CMakeCommon.cmake: move CMAKE_MFC_FLAG to root CMakeLists.txt
- optimize references, disable incremental linking for release and final configurations
2020-09-05 12:21:19 +02:00
Michael
c92c55e0ca Root/CMakeLists.txt: add option to statically link runtime libraries
- refactor appending of flags
2020-09-05 12:17:31 +02:00
meekee7
528b4cf335
Merge pull request #33 from OpenTrespasser/dev
Merge upstream/dev into staging
2020-08-30 10:01:05 +02:00
Ian Brun
c6296debf3
Merge pull request #137 from meekee7/select-first-level
Determine first level name by configuration and heuristics
2020-08-30 02:06:38 +02:00
Ian Brun
0c76d98a55
Merge pull request #133 from meekee7/windowed-mode-bugs
Resolve various issues with framed window mode
2020-08-29 23:37:40 +02:00
Ian Brun
82aa96f323
Merge pull request #136 from meekee7/cuiwnd-missing-detach
CUIWnd/CVideoWnd: missing detach
2020-08-29 22:33:28 +02:00
Ian Brun
ded00ab029
Merge pull request #135 from meekee7/ctrls-resource-integration
Resolve missing controls text in the demo
2020-08-29 14:58:18 +02:00
Ian Brun
546250b9c1
Merge pull request #138 from meekee7/setupbackgroundimage-nullptr-check
SetupBackgroundImage: add missing nullptr check
2020-08-29 14:54:53 +02:00
Michael
6bd95badc9 uidlgs.cpp: add nullptr check 2020-08-29 13:33:44 +02:00
Michael
9188996c44 RegInit.cpp: add entry for first level setting 2020-08-26 23:40:51 +02:00
Michael
0dcb97499a RegInit.hpp: add key string for first level 2020-08-26 23:34:09 +02:00
Michael
ee67d70499 supportfn: add GetFirstLevelName function that checks the registry and then defaults to heuristics 2020-08-26 23:30:17 +02:00
Michael
7e7bc59864 uidlgs.cpp: use detection function for first level name 2020-08-26 23:28:07 +02:00
Michael
28aad0f090 uiwnd:cpp: detach CUIWnd from UI manager in destructor in case it was not detached before 2020-08-26 20:38:38 +02:00
Michael
b2d0e393a6 uidlgs.cpp: detach video window after using it 2020-08-26 20:37:08 +02:00
Michael
34a81b81dc trespass.rc: add missing include for ctrls resource file 2020-08-25 22:04:51 +02:00
Michael
ae773921de tpassglobals.cpp: convert window base point from client coordinates to screen coordinates when capturing background image 2020-08-24 22:03:57 +02:00
Michael
023882ba16 mainwnd.cpp: only set window properties when in exclusive fullscreen mode 2020-08-23 21:49:52 +02:00
Michael
40d8bd6707 supportfn.cpp: distinguish between client size and window size in SetupGameScreen
- fix calculation of client size
2020-08-23 21:46:43 +02:00
Michael
b130301763 gamewnd.cpp: use window size instead of canvas size for cursor clipping in pause menu 2020-08-23 21:46:35 +02:00
Michael
23244ab124 RasterVid.cpp: set bFullScreen to false in framed window mode to use correct blitting method 2020-08-23 21:46:01 +02:00
meekee7
ae8043a72b
Merge pull request #32 from OpenTrespasser/dev
Merge upstream/dev into staging
2020-08-20 18:41:48 +02:00
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
Michael
0e4efb0262 RasterVid.cpp: replace GetWindowModeActual with GetWindowModeConfigured 2020-08-09 23:10:41 +02:00
Michael
37f4b92c2c DisplayMode: remove GetWindowModeActual 2020-08-09 23:09:52 +02:00
meekee7
6a4504c794
Merge pull request #31 from OpenTrespasser/dev
Merge upstream/dev into staging
2020-08-08 18:36:04 +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
Ian Brun
1d8846b911
Merge pull request #125 from meekee7/no-minmax-macros
No min/max macros
2020-08-07 22:42:50 +02:00
Ian Brun
5d5b4fdd53
Merge pull request #130 from meekee7/fix-d3d-sky-blackline
Fix black sky horizon in D3D
2020-08-07 22:08:18 +02:00
Ian Brun
a57e601ee2
Merge pull request #131 from meekee7/loading-reset-lighting
Reset lighting globals when loading level
2020-08-07 22:07:45 +02:00
Ian Brun
7259f8a317
Merge pull request #132 from meekee7/sanitizer-docu-update
AddressSanitizer documentation update
2020-08-07 22:05:58 +02:00
Michael
d73e2ad00b MemoryDebugging.md: update info on AddressSanitizer after new Visual Studio update 2020-08-06 22:44:36 +02:00
Michael
e3e5087ccf Loader.cpp: reset some lighting-related global variables before loading scene 2020-07-19 19:23:43 +02:00
Michael
6dedd22e50 Clut: store default values for colors 2020-07-19 19:22:21 +02:00
Michael
47dde71426 Sky: fill entire backdrop with fog color in D3D mode to avoid empty/black screen sections 2020-07-19 10:57:11 +02:00
Michael
189f016005 TextOverlay.cpp: use correct delete operator 2020-07-18 21:55:54 +02:00
Michael
2f5dd2c1d0 Symtab: use typed pointer 2020-07-13 21:52:24 +02:00
Michael
b5ff507428 Raster.cpp: avoid delete on void pointer 2020-07-13 21:51:31 +02:00
Michael
ff4a966893 WaveletQuadTreeBase.hpp: remove redundant new and delete operator overloads 2020-07-12 17:32:22 +02:00
Michael
ae3abdcf75 TextOverlay.cpp: remove unnecessary casts to void* 2020-07-12 17:27:52 +02:00
Michael
fca13ace54 EasyString.cpp: use typed pointer 2020-07-12 17:20:11 +02:00
meekee7
2738c0bdbd
Merge pull request #30 from OpenTrespasser/dev
Merge upstream/dev into staging
2020-07-12 13:09:29 +02:00
Ian Brun
31f9d2e8c1
Merge pull request #127 from meekee7/pathastar-graphemptycheck
AIGraph.cpp: check index validity
2020-07-12 05:16:12 +02:00
Ian Brun
20795c3239
Merge pull request #129 from meekee7/cleanup-d3dcards
Direct3DCards: remove obsolete code
2020-07-12 05:15:06 +02:00
Michael
5b7fde921d AIGraph.cpp: check index validity 2020-07-09 21:56:39 +02:00