Commit Graph

422 Commits

Author SHA1 Message Date
Michael
2efe4088c2 TexturePackSurface: add cache of deleted nodes to prevent following dead links 2020-05-08 18:39:44 +02:00
Ian Brun
1b552ac906 Added FPS counter
Activated through 'FPS' cheat.
2020-05-08 07:00:04 +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
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
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
Ian Brun
daace14e18
Merge pull request #86 from meekee7/readme-debugoutput
README.md: Debug output explanation
2020-04-27 02:33:17 +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
Ian Brun
89c268efd6
Merge pull request #83 from meekee7/inifile-support
INI file support
2020-04-23 23:14:50 +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
Michael
683d1a07ba WorldDBase.cpp: reset texture manager before resetting load heap 2020-04-21 21:45:52 +02:00
Ian Brun
6b3ac6c9ba
Merge pull request #78 from meekee7/play-first-level
Play first level
2020-04-20 23:20:36 +02:00
Ian Brun
303576f4b9
Merge pull request #79 from meekee7/crouch-bug
Resolve crouch bug
2020-04-20 23:19:30 +02:00
Michael
a041b9ce78 Pelvis.cpp: fix not being able to stand up from much crouch by tweaking tolerance 2020-04-20 23:02:58 +02:00
Michael
09e781666c FastBump.cpp: use continue to continue loop
- ensure that polygons get their bump mapping matrices
2020-04-20 20:58:27 +02:00
Michael
2ea04d23bb supportfn.cpp: use correct buffer size when copying differently sized buffers 2020-04-20 20:54:45 +02:00
Michael
57f937c9ff PathAStar.cpp: do not run search with invalid input 2020-04-20 20:37:38 +02:00
Michael
9da40f3d18 ImageLoader.cpp: add missing variable initialization 2020-04-20 20:33:25 +02:00
Ian Brun
5a5c9e2a61
Merge pull request #76 from meekee7/vmem-quickfix
VirtualMem: quick and dirty workaround
2020-04-19 21:35:46 +02:00
Michael
3dcf9b420a VirtualMem.cpp: add quick and dirty workaround for broken virtual memory usage 2020-04-19 14:42:28 +02:00
Michael
79a89a32c3 Water.cpp: disable assembly code paths to avoid crash
- add missing type for variable declaration
2020-04-19 14:01:14 +02:00
Michael
cf0aa8df21 FastBump.cpp: avoid division by zero 2020-04-19 14:01:09 +02:00
Michael
8af3a7da23 RegInit.cpp: default reg entry "Auto Save" to 0/false. 2020-04-19 14:01:03 +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