mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 20:26:14 +08:00
[saco] Implement CallRwRenderStateSet, CallRwRenderStateGet
This commit is contained in:
@ -167,6 +167,30 @@ void SetupDirectories()
|
|||||||
|
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
|
|
||||||
|
void CallRwRenderStateSet(int state, int option)
|
||||||
|
{
|
||||||
|
_asm push option
|
||||||
|
_asm push state
|
||||||
|
_asm mov ebx, 0xC97B24
|
||||||
|
_asm mov eax, [ebx]
|
||||||
|
_asm call dword ptr [eax+32]
|
||||||
|
_asm add esp, 8
|
||||||
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------
|
||||||
|
|
||||||
|
void CallRwRenderStateGet(int state, int *option)
|
||||||
|
{
|
||||||
|
_asm push option
|
||||||
|
_asm push state
|
||||||
|
_asm mov ebx, 0xC97B24
|
||||||
|
_asm mov eax, [ebx]
|
||||||
|
_asm call dword ptr [eax+36]
|
||||||
|
_asm add esp, 8
|
||||||
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------
|
||||||
|
|
||||||
void TheGraphicsLoop()
|
void TheGraphicsLoop()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user