summaryrefslogtreecommitdiff
path: root/worldmap.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--worldmap.yaml42
1 files changed, 42 insertions, 0 deletions
diff --git a/worldmap.yaml b/worldmap.yaml
new file mode 100644
index 0000000..fe9cf93
--- /dev/null
+++ b/worldmap.yaml
@@ -0,0 +1,42 @@
+---
+source_files:
+ - ../src/worldmap_new.cpp
+ - ../src/wm_player.cpp
+ - ../src/world_camera.cpp
+ - ../src/worldmapdata.cpp
+ - ../src/wmresourcemng.cpp
+ - ../src/fileload.cpp
+ - ../src/asmlib.S
+ - ../src/levelinfo.cpp
+ - ../src/layoutlib.S
+ - ../src/scene.S
+
+hooks:
+ - name: BuildWorldMap
+ type: add_func_pointer
+ src_addr_pal: 0x8098DCF0
+ target_func: 'dScNewerWorldMap_c::build(void)'
+
+ - name: BuildWMPlayer
+ type: add_func_pointer
+ src_addr_pal: 0x80988DDC
+ target_func: 'daWMPlayer_c::build(void)'
+
+ - name: BuildWorldCamera
+ type: add_func_pointer
+ src_addr_pal: 0x8098EEC8
+ target_func: 'dWorldCamera_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'
+