Commit graph

144 commits

Author SHA1 Message Date
Silent
b22bed5802 This code can be reused (and gets reused very fine) 2017-12-30 12:45:12 +01:00
Silent
88664b2279 Re-added missing lunar64 to resources 2017-12-30 12:37:30 +01:00
Silent
482686151e 6 extra directionals fix for SA newsteam 2017-12-29 00:41:22 +01:00
Silent
c136734bd2 Replaced asmy fix with normal code based fix 2017-12-26 01:59:22 +01:00
Silent
157a99f0c1 Big update to MemoryMgr - streamlined, removed code duplication, addresses now in one place 2017-12-26 00:14:39 +01:00
Silent
b454985d8b Use make_range_pattern where applicable 2017-12-25 01:57:44 +01:00
Silent
1e9d526c7c Thin templates for Memory 2017-12-23 18:25:58 +01:00
Silent
01f7c39d1e Modulo over CLoadingScreen::m_currDisplayedSplash - imfast compatible 2017-12-22 01:07:51 +01:00
Silent
69d9e4744f Misc changes 2017-12-22 00:13:28 +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
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
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
bf8f58970d Unified code between ddraw and ASIs 2017-09-18 22:13:02 +02:00
Silent
fb672f079b Simplified ScopedUnprotect selection
Made SA use safer ScopedUnprotect
2017-09-18 12:52:35 +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
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
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
43babcd405 GetASIModuleHandle to account for stupid people having their mods as DLL and not ASI 2017-09-12 14:21:20 +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
8901d95359 Fixup for SA timers 2017-09-11 00:39:08 +02:00
Silent
539398dd68 Stuntplane ailerons
Programmatically fixed props on Predator and Tropic
2017-09-09 23:39:30 +02:00