From 0e5f20a6dc5f179cc38692b79a233ff2c1d86450 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Sun, 11 Sep 2011 06:13:25 -0500 Subject: MrSun prototype and some fixes --- mrsun.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 mrsun.yaml (limited to 'mrsun.yaml') diff --git a/mrsun.yaml b/mrsun.yaml new file mode 100644 index 0000000..ffcad10 --- /dev/null +++ b/mrsun.yaml @@ -0,0 +1,25 @@ +--- +# Replaces EN_WALLINSECT + +source_files: [../src/mrsun.cpp] +hooks: + - name: MrSun_Create + type: add_func_pointer + src_addr_pal: 0x80B0DFB8 + target_func: 'MrSun_Create(MrSun *self)' + + - name: MrSun_Execute + type: add_func_pointer + src_addr_pal: 0x80B0DFD0 + target_func: 'MrSun_Execute(MrSun *self)' + + - name: MrSun_Draw + type: patch + addr_pal: 0x80B0DFDC + data: '809D0810' + + - name: MrSun_HeapDeallocated + type: patch + addr_pal: 0x80B0DFF8 + data: '809D1F70' + -- cgit v1.2.3