mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2025-01-31 06:57:28 +05:00
12 lines
No EOL
405 B
C
12 lines
No EOL
405 B
C
#pragma once
|
|
|
|
// GTA versions of RenderWare functions/macros for GTA III/Vice City
|
|
// since we cannot use RwEngineInstance directly
|
|
|
|
// Anything originally using RwEngineInstance shall be redefined here
|
|
|
|
extern void** GTARwEngineInstance;
|
|
|
|
/* macro used to access global data structure (the root type is RwGlobals) */
|
|
#define GTARWSRCGLOBAL(variable) \
|
|
(((RwGlobals *)(*GTARwEngineInstance))->variable) |