summaryrefslogtreecommitdiff
path: root/worldmap.yaml
blob: 679b81e81677b5c957e0dd583a620f0ad065f5c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
source_files:
  - ../src/worldmap.cpp
  - ../src/wm_player.cpp
  - ../src/wm_map.cpp
  - ../src/wm_hud.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)'

  - name: BuildWMMap
    type: add_func_pointer
    src_addr_pal: 0x80984710
    target_func: 'dWMMap_c::build(void)'

  - name: BuildWMHud
    type: add_func_pointer
    src_addr_pal: 0x80981A3C
    target_func: 'dWMHud_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'