From 83729d2427ebb9a8563dce8ca3c8c19fb9f71c4a Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 15 Jan 2012 21:31:34 +0100 Subject: initial commit of the Koopatlas engine --- koopatlas.yaml | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 koopatlas.yaml (limited to 'koopatlas.yaml') diff --git a/koopatlas.yaml b/koopatlas.yaml new file mode 100644 index 0000000..9c4af7b --- /dev/null +++ b/koopatlas.yaml @@ -0,0 +1,53 @@ +--- +source_files: + - ../src/fileload.cpp + - ../src/scene.S + - ../src/levelinfo.cpp + - ../src/player.cpp + - ../src/effects.cpp + - ../src/koopatlas/core.cpp + - ../src/koopatlas/player.cpp + - ../src/koopatlas/hud.cpp + - ../src/koopatlas/camera.cpp + - ../src/koopatlas/map.cpp + - ../src/koopatlas/mapdata.cpp + +hooks: + - name: BuildWorldMap + type: add_func_pointer + src_addr_pal: 0x8098DCF0 + target_func: 'dScKoopatlas_c::build(void)' + + - name: BuildWMPlayer + type: add_func_pointer + src_addr_pal: 0x80988DDC + target_func: 'daWMPlayer_c::build(void)' + + - name: BuildWMHud + type: add_func_pointer + src_addr_pal: 0x80981A3C + target_func: 'dWMHud_c::build(void)' + + - name: BuildWorldCamera + type: add_func_pointer + src_addr_pal: 0x8098EEC8 + target_func: 'dWorldCamera_c::build(void)' + + - name: BuildWMMap + type: add_func_pointer + src_addr_pal: 0x80984710 + target_func: 'dWMMap_c::build(void)' + +# fix the STOCK_ITEM references + - name: StockItemFix + type: patch + addr_ntsc: 0x80101110 + addr_pal: 0x80101220 + data: '4E800020' + +# this isn't used! + - name: WMDrawFuncFix + type: patch + addr_pal: 0x80926800 + data: '60000000' + -- cgit v1.2.3