first commit
This commit is contained in:
15
src/NodeName.cpp
Normal file
15
src/NodeName.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user