Commit Graph

350 Commits

Author SHA1 Message Date
Silent
5c48418aae Use VP overloads explicitly for CdStreamSyncOnObject in case it's in hoodlum code space and it's not unprotected 2017-09-21 19:15:13 +02:00
Silent
4fbd372d57 Don't patch moonphases if skygfx already does that 2017-09-21 17:43:32 +02:00
Silent
ab6f2609d8 Small code clarity fixes 2017-09-20 20:41:58 +02:00
Silent
4a3a867b0c Fixed an issue with hoodlum 2017-09-20 17:11:57 +02:00
Silent
c645fc56ee Missing patch 2017-09-20 15:57:28 +02:00
Silent
a3bbfd2cd3 XP-friendly CVs 2017-09-20 15:15:29 +02:00
Silent
bda0c717a6 Moved InitializeCriticalSectionAndSpinCount before original function so critsec is here BEFORE cdstreamthread spawns 2017-09-20 15:00:21 +02:00
Silent
21d0c51519 Improved CdStream fix by using condition variable (without modloader for now only) 2017-09-20 14:58:55 +02:00
Silent
3df6ae1854 Fixed a deadlock in CdStream 2017-09-20 02:08:29 +02:00
Silent
2e85ac3dec Hooked up debugmenu.dll
Don't include an extra D3DLIGHT on vehicles since we fixed directional already
2017-09-19 21:40:48 +02:00
Silent
d3cb0bb72c Aaron's sun corrected 2017-09-19 17:46:42 +02:00
Silent
6559a04732 Modulo over CLoadingScreen::m_currDisplayedSplash - SA 1.0 2017-09-19 00:47:38 +02:00
Silent
b60c4dbfcf FILE_FLAG_NO_BUFFERING fix moved to fixes-shared-with-ddraw 2017-09-18 23:11:19 +02:00
Silent
bf8f58970d Unified code between ddraw and ASIs 2017-09-18 22:13:02 +02:00
Silent
01dfbda6fd UPX-friendly ddraw (should be cleaned up a bit though) 2017-09-18 17:19:56 +02:00
Silent
a5380e3c5f Recreated ddraw project with CRT and proper settings (will need it for patterns) 2017-09-18 13:46:14 +02:00
Silent
fb672f079b Simplified ScopedUnprotect selection
Made SA use safer ScopedUnprotect
2017-09-18 12:52:35 +02:00
Silent
29cea98c70 Fixup patterns for UPX executables
Adapted ScopedUnprotect for UPX executables
2017-09-16 23:32:17 +02:00
Silent
92fb1798f9 Fixed III pattern for pathfinding fix 2017-09-15 22:01:43 +02:00
Silent
f1cb027642 Fixed impounding of random vehicles (because CVehicle::~CVehicle doesn't remove cars from apCarsToKeep) - SA 1.0 2017-09-15 20:24:26 +02:00
Silent
aa08703dd7 PickNextNodeToChaseCarXYZ for III 2017-09-13 22:40:30 +02:00
Silent
de35275f8d PickNextNodeToChaseCarXYZ for VC 2017-09-13 21:56:06 +02:00
Silent
54264b5cc4 Purple Nines Glitch fix revised 2017-09-12 23:26:08 +02:00
Silent
e3fe830843 Extra constness where applicable 2017-09-12 22:57:30 +02:00
Silent
51fa496658 III/VC can use non-serializable (local session only) hints 2017-09-12 22:53:20 +02:00
Silent
4b934419bf Proper metric-imperial conversion constants 2017-09-12 22:35:45 +02:00
Silent
4a2d93c44e Fixed new warnings 2017-09-12 18:06:55 +02:00
Silent
99503818dd Safer CdStreamSetFilePointer 2017-09-12 18:04:42 +02:00
Silent
eb27f34143 FuckCarCompletely fixed in III and VC 2017-09-12 18:01:02 +02:00
Silent
b002512132 Memory::Patch with std::initializer_list 2017-09-12 18:00:26 +02:00
Silent
e4a3d81e81 Only hook DOUBLE_RHWEELS exception list if there are any entries listed in INI 2017-09-12 16:14:07 +02:00
Silent
7413bab68c Less invasive INI options (don't hook if option is commented out/removed) 2017-09-12 16:08:22 +02:00
Silent
61fb1af2ce Alt+F4 fix for III/VC 2017-09-12 15:36:58 +02:00
Silent
43babcd405 GetASIModuleHandle to account for stupid people having their mods as DLL and not ASI 2017-09-12 14:21:20 +02:00
Silent
9cb66601f8 Master builds (Release = optimizations + assertions) 2017-09-12 13:48:15 +02:00
Silent
f0a53778ee Remove FILE_FLAG_NO_BUFFERING from CdStreams - III (all), VC (all), SA (1.0) 2017-09-12 13:31:57 +02:00
Silent
832828ac8f Timers fix for III 2017-09-11 16:41:40 +02:00
Silent
94fa223e8c Patterns for timers fix for VC 2017-09-11 15:18:32 +02:00
Silent
c58f8ceef6 First version of new timer fix for III/VC - VC only so far 2017-09-11 00:39:46 +02:00
Silent
8901d95359 Fixup for SA timers 2017-09-11 00:39:08 +02:00
Silent
6c30863136 Merge branch 'master' into 'master'
Fixed autopilot timer bug in III and VC

See merge request !1
2017-09-10 16:02:10 +00:00
Silent
14a31c21e8 Beagle moving aileron 2017-09-10 00:16:16 +02:00
Silent
539398dd68 Stuntplane ailerons
Programmatically fixed props on Predator and Tropic
2017-09-09 23:39:30 +02:00
Silent
df32c8ab6a Once again cleaned up FLA integration 2017-09-09 20:46:10 +02:00
Silent
5050c6510e Rotate Newsvan dish when player is using the car 2017-09-09 20:29:01 +02:00
Silent
88de5b8f00 Only animate Sweeper brushes when needed 2017-09-09 20:04:48 +02:00
Silent
36d9f1a29a Make freeing temp objects more aggressive to fix vending crash - SA 1.0 2017-09-09 18:47:07 +02:00
Silent
1f800587f1 Removed some duplicate code in Patternies
Perfect forwarding for for_each_result functor
2017-09-08 00:56:29 +02:00
Silent
49796ff0cf Tweaked Sweeper/Phoenix constants 2017-09-08 00:16:31 +02:00
Silent
fb679617de Disabled C++ exceptions and RTTI 2017-09-07 22:43:10 +02:00