mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-11-22 13:32:36 +01:00
Re-added missing lunar64 to resources
This commit is contained in:
parent
482686151e
commit
88664b2279
@ -23,6 +23,7 @@
|
|||||||
#include "ModuleList.hpp"
|
#include "ModuleList.hpp"
|
||||||
|
|
||||||
#include "debugmenu_public.h"
|
#include "debugmenu_public.h"
|
||||||
|
#include "resource.h"
|
||||||
|
|
||||||
// ============= Mod compatibility stuff =============
|
// ============= Mod compatibility stuff =============
|
||||||
|
|
||||||
@ -619,7 +620,7 @@ void DrawMoonWithPhases(uint8_t moonColor, float* screenPos, float sizeX, float
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Load from memory
|
// Load from memory
|
||||||
HRSRC resource = FindResourceW(hDLLModule, MAKEINTRESOURCE(IDR_LUNAR64), RT_RCDATA);
|
HRSRC resource = FindResource(hDLLModule, MAKEINTRESOURCE(IDB_LUNAR64), RT_RCDATA);
|
||||||
void* pMoonMask = LockResource( LoadResource(hDLLModule, resource) );
|
void* pMoonMask = LockResource( LoadResource(hDLLModule, resource) );
|
||||||
|
|
||||||
return CPNGFile::ReadFromMemory(pMoonMask, SizeofResource(hDLLModule, resource));
|
return CPNGFile::ReadFromMemory(pMoonMask, SizeofResource(hDLLModule, resource));
|
||||||
|
BIN
SilentPatchSA/SilentPatchSA.rc
Normal file
BIN
SilentPatchSA/SilentPatchSA.rc
Normal file
Binary file not shown.
@ -244,6 +244,10 @@ copy /y "$(TargetPath)" "D:\gry\GTA San Andreas clean\scripts\newsteam_r2_lowvio
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="..\SilentPatch\SilentPatch.rc" />
|
<ResourceCompile Include="..\SilentPatch\SilentPatch.rc" />
|
||||||
|
<ResourceCompile Include="SilentPatchSA.rc" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Image Include="lunar64.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
@ -160,5 +160,13 @@
|
|||||||
<ResourceCompile Include="..\SilentPatch\SilentPatch.rc">
|
<ResourceCompile Include="..\SilentPatch\SilentPatch.rc">
|
||||||
<Filter>Resource Files</Filter>
|
<Filter>Resource Files</Filter>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
|
<ResourceCompile Include="SilentPatchSA.rc">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</ResourceCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Image Include="lunar64.png">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</Image>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
@ -17,8 +17,6 @@
|
|||||||
#include <rphanim.h>
|
#include <rphanim.h>
|
||||||
#include <rtpng.h>
|
#include <rtpng.h>
|
||||||
|
|
||||||
#include "resource.h"
|
|
||||||
|
|
||||||
#include "MemoryMgr.h"
|
#include "MemoryMgr.h"
|
||||||
#include "Maths.h"
|
#include "Maths.h"
|
||||||
#include "rwpred.hpp"
|
#include "rwpred.hpp"
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
#define IDR_NVCSHADER 101
|
//{{NO_DEPENDENCIES}}
|
||||||
#define IDR_LUNAR64 102
|
// Microsoft Visual C++ generated include file.
|
||||||
|
// Used by SilentPatchSA.rc
|
||||||
|
//
|
||||||
|
#define IDB_LUNAR64 101
|
||||||
|
Loading…
Reference in New Issue
Block a user