Merge Bahke's latest changes in

This commit is contained in:
Robert MacGregor 2016-02-23 02:07:23 -05:00
parent 752155db59
commit bdca76020c
10 changed files with 351 additions and 53 deletions

View file

@ -39,7 +39,7 @@ namespace DX
const char *GetModPaths(void);
bool IsFile(const char *filename);
const char * StringTableInsert(const char * str,bool casesensitive) ;
bool GetRelativePath(const char *filename, char *ret, int buffer_length);
bool GetRunningMod(char *ret, int buffer_length);
bool memPatch(unsigned int addr, unsigned char * data, unsigned int size);

View file

@ -14,8 +14,8 @@ namespace DX
S32 getGhostIndex(NetObject obj);
unsigned char getGhostFrom();
unsigned char getGhostTo();
NetObject resolveGhostParent(S32 id);
NetObject resolveGhost(S32 id);
unsigned int resolveGhostParent(S32 id);
unsigned int resolveGhost(S32 id);
unsigned int actualbaseptr;
GhostInfo * mGhostRefs;
NetObject **mLocalGhosts;

View file

@ -9,8 +9,11 @@ namespace DX
void deleteObject(void);
const char *CallMethod(const char *name, unsigned int argc, ...);
const char *getFieldValue(const char *slotname);
void setDataField(const char *slotname, const char *array, const char *value);
const unsigned int &fieldDictionary;
const unsigned int &identifier;
const unsigned int base_pointer_value;
const unsigned int &dataBlock;
};
} // End NameSpace DX