Last change
on this file since 350 was 346, checked in by rossy, 15 years ago |
parses daodan.ini to add language patches
|
File size:
552 bytes
|
Line | |
---|
1 | #pragma once
|
---|
2 | #ifndef DAODAN_PATCH_H
|
---|
3 | #define DAODAN_PATCH_H
|
---|
4 |
|
---|
5 | #include <stdbool.h>
|
---|
6 |
|
---|
7 | #define DDrPatch_Const(d, c) DDrPatch_String(d, c, sizeof(c))
|
---|
8 |
|
---|
9 | #define OniExe ((void*)0x00400000)
|
---|
10 |
|
---|
11 | bool DDrPatch_MakeJump(void* from, void* to);
|
---|
12 | bool DDrPatch_MakeCall(void* from, void* to);
|
---|
13 | bool DDrPatch_String(char* dest, const char* string, int length);
|
---|
14 | bool DDrPatch_Byte(char* dest, char value);
|
---|
15 | bool DDrPatch_Int32(int* dest, int value);
|
---|
16 | bool DDrPatch_Int16(short* dest, short value);
|
---|
17 | bool DDrPatch_StrDup(int* dest, const char* value);
|
---|
18 |
|
---|
19 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.