mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 18:39:00 +00:00
16 lines
276 B
C++
16 lines
276 B
C++
|
#include "common.h"
|
||
|
#include "patcher.h"
|
||
|
#include "NodeName.h"
|
||
|
|
||
|
int &gPluginOffset = *(int*)0x64C610;
|
||
|
|
||
|
#define NODENAMEEXT(o) (RWPLUGINOFFSET(char, o, gPluginOffset))
|
||
|
|
||
|
char*
|
||
|
GetFrameNodeName(RwFrame *frame)
|
||
|
{
|
||
|
if(gPluginOffset < 0)
|
||
|
return nil;
|
||
|
return NODENAMEEXT(frame);
|
||
|
}
|