Commit Graph

371 Commits

Author SHA1 Message Date
Silent
a76b06a400 Make CAEDataStream methods pure virtual so intellisense doesn't complain (and those methods shouldn't be used anyway) 2017-10-23 00:25:37 +02:00
Silent
771fd96ba7 "number_type - The numbering scheme used for the frame. As a convenience, the decoder will always convert a frame number to a sample number because the rules are complex." 2017-10-20 01:12:17 +02:00
Silent
71ebe0d9eb Stricter constness
Marked AE decoder classes as final to encourage devirtualization
2017-10-20 00:58:06 +02:00
Silent
90590af639 Don't grant executable privilege to non-executable data when unprotecting 2017-10-05 15:32:02 +02:00
Silent
4827c94a98 Use kernel32 export in ModuleList if possible
Make ModuleList a local variable
2017-10-04 19:12:33 +02:00
Silent
e8b07f9f50 Cleaned up imports
Delay load shlwapi/shell32/psapi as we don't need those in DllMain (shell32 is used MUCH later) and stock game doesn't link them so we may speed up startup
2017-10-03 23:32:14 +02:00
Silent
080cc24f34 Unnamed CdStream semaphore (allows to run III/VC/SA all at once) 2017-10-03 22:24:01 +02:00
Silent
4b2c145028 Replaced GetASIModuleHandle with ModuleList (locate modules matching only by name without extension) 2017-10-03 21:34:21 +02:00
Silent
f35b637b9e Unsupported 3.0 message 2017-09-28 23:48:08 +02:00
Silent
53debb778b Removed two pass rendering 2017-09-28 21:43:16 +02:00
Silent
ede1d92f0b NVC shader removed 2017-09-28 21:13:14 +02:00
Silent
af2e15ca21 Patterns fixup 2017-09-27 23:17:21 +02:00
Silent
32fa0c9e51 Bomb ownership bug fix in III/VC + small corrections
Project fixes
2017-09-27 23:12:05 +02:00
Silent
a545d5f28f Fixed check (should be case insensitive like in stock game) 2017-09-27 00:02:48 +02:00
Silent
cab60502f3 Removed censorship - III/VC 2017-09-26 22:21:52 +02:00
Silent
d596ec7d1e CdStream fix future proof for new FLA 2017-09-26 18:03:13 +02:00
Silent
d6e0f3e74f Skip cdstream fix if FLA uses enhanced IMGs 2017-09-26 16:36:49 +02:00
Silent
258d1cccc9 Extra assertions added
Fixed bomb ownership/bombs saving for bikes - SA 1.0
2017-09-24 14:35:10 +02:00
Silent
a66876f85f Cargens placed in interiors tie to area 13 (visible everywhere) 2017-09-23 21:04:46 +02:00
Silent
e272cce1f3 Dancing timers fix 2017-09-23 19:34:28 +02:00
Silent
498ef74988 Fixed GetOverlappedResult return values (more future proof)
ModloaderCdStreamRaceConditionAware so SP knows when ML patches cdstream race condition
2017-09-23 13:21:10 +02:00
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