Commit Graph

476 Commits

Author SHA1 Message Date
Ian Brun
081c826b72
Merge pull request #95 from meekee7/texturepacksurface-dangling-link-pointer2
TexturePackSurface: avoid use after delete
2020-05-13 14:57:52 +02:00
Michael
2efe4088c2 TexturePackSurface: add cache of deleted nodes to prevent following dead links 2020-05-08 18:39:44 +02:00
meekee7
12fe901d17
Merge pull request #21 from OpenTrespasser/dev
Merge upstream/dev into staging
2020-05-08 10:29:02 +02:00
Ian Brun
1b552ac906 Added FPS counter
Activated through 'FPS' cheat.
2020-05-08 07:00:04 +02:00
meekee7
00b70a085c
Merge pull request #20 from OpenTrespasser/dev
Merge upstream/dev into staging
2020-05-06 19:55:13 +02:00
Ian Brun
904dbfc863
Merge pull request #93 from meekee7/physics-freeze-workaround
Physics freeze workaround
2020-05-06 00:56:39 +02:00
Ian Brun
82fba5c206
Merge pull request #92 from meekee7/jump-bug-workaround
Jump bug workaround
2020-05-06 00:56:24 +02:00
Michael
3aeb572e6f Xob_bc.cpp: add finity bailout to normalisation loop 2020-05-05 18:55:54 +02:00
Michael
8fd2e2b5c8 Pelvis.cpp: add finity bailout to normalisation loop 2020-05-05 18:54:25 +02:00
Michael
32927db54e foot.cpp: reset Pelvis_Jump_Voluntary after jump 2020-05-05 17:33:06 +02:00
Michael
cfb245d37c InfoSkeleton.cpp: do not stop jumping while voluntary jump is being processed 2020-05-05 17:31:29 +02:00
meekee7
8f24313338
Merge pull request #19 from OpenTrespasser/dev
Merge upstream/dev into staging
2020-05-03 21:45:27 +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
Ian Brun
a1ba09fc07
Merge pull request #90 from meekee7/validatediskspace-overflow
Resolve 'ValidateDiskSpace' overflow bug
2020-05-03 21:28:55 +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
meekee7
65c4053325
Merge pull request #18 from OpenTrespasser/dev
Merge upstream/dev into staging
2020-05-01 12:38:16 +02:00
Ian Brun
e476bd8fc3
Merge pull request #89 from meekee7/remove-mouse-trail
Remove mouse trail effect
2020-05-01 01:23:10 +02:00
Michael
fb9eb3563e uiwnd.cpp: clear screen buffer before drawing to avoid mouse trail effect 2020-04-30 23:24:57 +02:00
Ian Brun
c3681de5ee
Merge pull request #87 from meekee7/arbitrary-window-size
Support for arbitrary window size
2020-04-30 18:16:54 +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
meekee7
89fbf4505d
Merge pull request #17 from OpenTrespasser/dev
Merge upstream/dev into staging
2020-04-29 20:11:21 +02:00
Ian Brun
daace14e18
Merge pull request #86 from meekee7/readme-debugoutput
README.md: Debug output explanation
2020-04-27 02:33:17 +02:00
Ian Brun
489b49b50f
Merge pull request #85 from meekee7/alt-tab-color-depth
Avoid ALT-TAB color depth reset
2020-04-27 02:31:35 +02:00
Michael
2426d92f81 jp2_pc/README.md: - add explanation of dout debug channel
- formatting adjustments
- clarification for solution regeneration
2020-04-26 11:54:08 +02:00
Michael
59fbfe2b56 RasterVid.cpp: do not restore DirectDraw display mode in forced window mode 2020-04-25 20:19:34 +02:00
meekee7
b1f660b523
Merge pull request #16 from OpenTrespasser/dev
Merge upstream/dev into staging
2020-04-24 00:12:46 +02:00
Ian Brun
89c268efd6
Merge pull request #83 from meekee7/inifile-support
INI file support
2020-04-23 23:14:50 +02:00
Ian Brun
73336547ac
Merge pull request #82 from meekee7/clut-memory-leak
Fix memory leaks and LightBlend
2020-04-23 23:05:13 +02:00
Michael
68a0aaff9e reg.cpp: convert registry to ini if no ini file exists
- reorder includes
- cleanup whitespace
2020-04-23 22:12:46 +02:00
Michael
7e48a28004 Root/CMakeLists.txt: add RegToIniConverter 2020-04-23 22:05:24 +02:00
Michael
dc7ae765f3 SystemTest/CMakeLists.txt: add IniFileTest.cpp 2020-04-23 22:05:00 +02:00
Michael
3366ccaa17 System/CMakeLists.txt: add IniFile and RegToIni 2020-04-23 22:03:06 +02:00
Michael
ad5fdc167e RegToIniConverter/CMakeLists.txt: add RegToIniConverter project definition 2020-04-23 22:02:34 +02:00
Michael
f947aa908e RegToIniConverter.cpp: add standalone command line tool for reg-to-ini conversion 2020-04-23 22:01:36 +02:00
Michael
5d71e76964 IniFileTest: add test case for ini file support 2020-04-23 22:00:23 +02:00
Michael
1f830138eb RegToIni: add converter from registry to ini file 2020-04-23 21:59:53 +02:00
Michael
ef0e8cac12 reg.cpp: convert registry wrapper into proxy for ini file 2020-04-23 21:58:34 +02:00
Michael
6c4031542b IniFile: add IniFile as wrapper for PrivateProfile API 2020-04-23 21:57:01 +02:00
Michael
1ce6eae41b reg.h: add include guard 2020-04-23 21:56:06 +02:00
Michael
62343bbc3b LightBlend.cpp: add and rectify delete[] calls to avoid memory leaks 2020-04-22 18:09:45 +02:00
Michael
f97c4f7b60 Clut: use typed pointers to avoid undefined behavior with delete[] calls
- add and rectify delete[] calls to avoid memory leaks
2020-04-22 18:08:45 +02:00
Ian Brun
a5261e56f2
Merge pull request #80 from meekee7/level-transition-crash
Fix level transition crash
2020-04-21 22:07:03 +02:00
Michael
683d1a07ba WorldDBase.cpp: reset texture manager before resetting load heap 2020-04-21 21:45:52 +02:00