summaryrefslogtreecommitdiff
path: root/koopatlas.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--koopatlas.yaml53
1 files changed, 53 insertions, 0 deletions
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'
+