Commit graph

530 commits

Author SHA1 Message Date
Silent
ce0fe83e66 Fixes for C++17 conformance 2017-12-22 00:13:16 +01:00
Silent
0a5f47ab1b Changed code so more likely scenario is in 'if' and not 'else' 2017-11-30 18:24:53 +01:00
Silent
70efc863c8 Tidied up 2017-11-30 18:19:43 +01:00
Silent
ff823f1eb9 Exposed ColouredZoneNames to debug menu (on 1.0 only) 2017-11-15 00:20:17 +01:00
Silent
2272250483 DirectionalFromSun exposed to INI
Debug menu even in Master builds
2017-11-15 00:06:36 +01:00
Silent
fbe5c6c6bf Corrected zone name colour blending 2017-11-10 00:24:27 +01:00
Silent
7c831ee2a9 Use structured bindings instead of std::tie 2017-11-09 12:31:03 +01:00
Silent
abbf99a79d Added proper comments to ModuleList 2017-11-03 22:32:51 +01:00
Silent
614354ec8a Updated ModuleList.hpp 2017-11-03 22:22:22 +01:00
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