mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
Compare commits
11 commits
a48e81a296
...
870e3d63a1
Author | SHA1 | Date | |
---|---|---|---|
|
870e3d63a1 | ||
|
3f26e0045e | ||
|
b7a08843be | ||
|
fd395f3c6a | ||
|
d9c3561d7b | ||
|
8a930e6e4b | ||
|
90e5ba15ab | ||
|
f9adddf0e1 | ||
|
d49e03e372 | ||
|
4445c9e24a | ||
|
23af8cd7ca |
7 changed files with 10 additions and 12 deletions
|
@ -1,3 +1,3 @@
|
|||
LIBRARY DDRAW
|
||||
EXPORTS
|
||||
DirectDrawCreateEx=DirectDrawCreateEx@16 @10
|
||||
DirectDrawCreateEx = DirectDrawCreateEx@16
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<AdditionalOptions>/Zc:threadSafeInit- /Zc:strictStrings %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<ModuleDefinitionFile>ddraw.def</ModuleDefinitionFile>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<DelayLoadDLLs>shell32.dll;shlwapi.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||
<LargeAddressAware>true</LargeAddressAware>
|
||||
|
@ -113,7 +112,6 @@
|
|||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<ModuleDefinitionFile>ddraw.def</ModuleDefinitionFile>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<DelayLoadDLLs>shell32.dll;shlwapi.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||
<LargeAddressAware>true</LargeAddressAware>
|
||||
|
@ -143,7 +141,6 @@
|
|||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<ModuleDefinitionFile>ddraw.def</ModuleDefinitionFile>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<DelayLoadDLLs>shell32.dll;shlwapi.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||
<LargeAddressAware>true</LargeAddressAware>
|
||||
|
@ -172,4 +169,4 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "Desktop.h"
|
||||
|
||||
#pragma comment(lib, "shlwapi.lib")
|
||||
#pragma comment(linker, "/EXPORT:DirectDrawCreateEx=_DirectDrawCreateEx@16")
|
||||
|
||||
extern "C" HRESULT WINAPI DirectDrawCreateEx(GUID FAR *lpGUID, LPVOID *lplpDD, REFIID iid, IUnknown FAR *pUnkOuter)
|
||||
{
|
||||
|
|
|
@ -9,10 +9,6 @@
|
|||
#define STATIC_INLINE static inline
|
||||
#endif
|
||||
|
||||
#define RwEngineInstance (*rwengine)
|
||||
|
||||
extern "C" void** rwengine;
|
||||
|
||||
namespace ExtraCompSpecularity
|
||||
{
|
||||
void ReadExtraCompSpecularityExceptions(const wchar_t* pPath);
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
#include <rwcore.h>
|
||||
#include <rpworld.h>
|
||||
|
||||
#define RwEngineInstance (*rwengine)
|
||||
|
||||
extern void** rwengine;
|
||||
|
||||
template<RwRenderState State>
|
||||
class RwScopedRenderState
|
||||
{
|
||||
|
@ -68,4 +72,4 @@ Pred RpGeometryForAllMaterials(RpGeometry* geometry, Pred callback)
|
|||
break;
|
||||
}
|
||||
return callback;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include <algorithm>
|
||||
#include <map>
|
||||
|
||||
#ifndef _stricmp
|
||||
#ifndef _MSC_VER
|
||||
#include <cstring>
|
||||
#define _stricmp strcasecmp
|
||||
#endif
|
||||
|
|
|
@ -978,7 +978,7 @@ namespace GenerateNewPickup_ReuseObjectFix
|
|||
mov edi, eax
|
||||
|
||||
push edi
|
||||
call offset WorldRemove
|
||||
call WorldRemove
|
||||
add esp, 4
|
||||
|
||||
// Call dtor
|
||||
|
|
Loading…
Reference in a new issue