diff --git a/actorsmenu.html b/actorsmenu.html index b91851270..7dbf4c584 100644 --- a/actorsmenu.html +++ b/actorsmenu.html @@ -177,7 +177,7 @@ $(function(){initNavTree('actorsmenu.html',''); initResizable(true); });

-

Actors Objects Vehicles Items

+

Actors Objects Vehicles Items

diff --git a/actorsmenu.js b/actorsmenu.js index a1f7e0e44..03d6a6bce 100644 --- a/actorsmenu.js +++ b/actorsmenu.js @@ -4,7 +4,7 @@ var actorsmenu = [ "Actors", "actors.html#actors", null ] ] ], [ "Objects", "objects.html", [ - [ "Objects", "objects.html#objects-1", null ] + [ "Objects", "objects.html#objects", null ] ] ], [ "Vehicles", "vehicles.html", [ [ "Trains", "vehicles.html#trains", null ], diff --git a/basics.js b/basics.js index e44238fef..d8ca81661 100644 --- a/basics.js +++ b/basics.js @@ -7,7 +7,8 @@ var basics = [ "macOS", "compiling.html#macos", null ], [ "Docker", "compiling.html#docker", null ], [ "Building US", "compiling.html#building-us", null ], - [ "Building EU", "compiling.html#building-eu", null ] + [ "Building EU", "compiling.html#building-eu", null ], + [ "Handling Changes", "compiling.html#handling-changes", null ] ] ], [ "Basic Concepts", "concepts.html", [ [ "Addresses", "concepts.html#addresses", null ], @@ -25,7 +26,7 @@ var basics = [ "Menus", "controlflow.html#menus", null ], [ "Players", "controlflow.html#players", null ], [ "Actors", "controlflow.html#actors-1", null ], - [ "Objects", "controlflow.html#objects", null ], + [ "Objects", "controlflow.html#objects-1", null ], [ "Courses", "controlflow.html#courses", [ [ "Course Folder", "controlflow.html#course-folder", null ] ] ], diff --git a/bug.html b/bug.html index 62cba2b74..9f6eb6fee 100644 --- a/bug.html +++ b/bug.html @@ -124,12 +124,12 @@ $(function(){initNavTree('bug.html',''); initResizable(true); });
Global init_sequence_players (void)
Size of wrong array. Zeroes out second half of gSequenceChannels[0], all of gSequenceChannels[1..31], and part of gSequenceLayers[0]. However, this is only called at startup, so it's harmless.
Global load_ceremony_cutscene (void)
-
these segmented addresses need to be symbols for mobility
+
these segmented addresses need to be symbols for mobility
Global load_sequence_internal (u32, u32, s32)
This should set the last bank (i.e. the first in the JSON) as default, not the missing one. This code path never gets taken, though – all sequence loading is synchronous.
Global new_actor (ActorInitParams *)
-

No null check.

-

+

No null check.

+

Global note_set_vel_pan_reverb (struct Note *note, f32 velocity, u8 pan, u8 reverbVol)
for the change to UQ0.7, the if statement should also have been changed accordingly
diff --git a/choco__mountain_2course__offsets_8c.html b/choco__mountain_2course__offsets_8c.html index 1c0db2ef1..0b8677521 100644 --- a/choco__mountain_2course__offsets_8c.html +++ b/choco__mountain_2course__offsets_8c.html @@ -197,7 +197,7 @@ Variables
{ gTexture64647C, 0x0829, 0x1000, 0x0 },
{ gTexture647F4C, 0x05BC, 0x1000, 0x0 },
{ gTexture64FBF4, 0x0274, 0x0800, 0x0 },
-
{ gTexture653DB0, 0x06AE, 0x0800, 0x0 },
+
{ gTexture653DB0, 0x06AE, 0x0800, 0x0 },
{ gTexture652B54, 0x0606, 0x0800, 0x0 },
{ gTexture65315C, 0x04A9, 0x0800, 0x0 },
{ gTexture6684F8, 0x010D, 0x0800, 0x0 },
@@ -216,6 +216,7 @@ Variables
{ 0x00000000, 0x0000, 0x0000, 0x0 },
}
gTexture64FBF4
u8 gTexture64FBF4[]
+
gTexture653DB0
u8 gTexture653DB0[]
gTexture67B864
u8 gTexture67B864[]
gTexture65315C
u8 gTexture65315C[]
gTexture679C04
u8 gTexture679C04[]
@@ -231,7 +232,6 @@ Variables
gTexture64619C
u8 gTexture64619C[]
gTextureSignBackside
u8 gTextureSignBackside[]
gTexture6774D8
u8 gTexture6774D8[]
-
gTexture653DB0
u8 gTexture653DB0[]
gTextureSignFallingRocks
u8 gTextureSignFallingRocks[]
gTexture647F4C
u8 gTexture647F4C[]
gTexture67DC20
u8 gTexture67DC20[]
diff --git a/code__80281780_8c.html b/code__80281780_8c.html index a303cd600..0e4106bbe 100644 --- a/code__80281780_8c.html +++ b/code__80281780_8c.html @@ -170,7 +170,7 @@ Variables
-
Todo
confirm this.
+
Todo
confirm this.
Here is the call graph for this function:
@@ -247,7 +247,7 @@ Here is the caller graph for this function:
-
Bug
these segmented addresses need to be symbols for mobility
+
Bug
these segmented addresses need to be symbols for mobility
Here is the call graph for this function:
diff --git a/code__80281780_8h.html b/code__80281780_8h.html index 5e9bb425e..9ae89542e 100644 --- a/code__80281780_8h.html +++ b/code__80281780_8h.html @@ -170,7 +170,7 @@ Variables
-
Todo
confirm this.
+
Todo
confirm this.
Here is the call graph for this function:
@@ -247,7 +247,7 @@ Here is the caller graph for this function:
-
Bug
these segmented addresses need to be symbols for mobility
+
Bug
these segmented addresses need to be symbols for mobility
Here is the call graph for this function:
diff --git a/compiling.html b/compiling.html index c2c29c095..e54c92ee5 100644 --- a/compiling.html +++ b/compiling.html @@ -124,6 +124,7 @@ $(function(){initNavTree('compiling.html',''); initResizable(true); });
  • Docker
  • Building US
  • Building EU
  • +
  • Handling Changes
  • @@ -187,7 +188,13 @@ Building EU

    or

    make -j VERSION=eu.v11

    First-diff/diff commands for EU

    python3 first-diff.py --eu
    ./diff <function> -eu
    -
    +

    +Handling Changes

    +

    Certain changes may result in unexpected behaviour (frequently related to physics) due to the games obnoxious linker setup. This is resolved by compiling with the AVOID_UB flag.

    +

    This will require a rebuild, run

    make clean
    +

    Then compile like so make -j AVOID_UB=1 or make -j DEBUG=1 // Enables debug mode and avoid_ub

    +

    Recompiling .inc.c files requires saving the root .c file for makefile to recognize that the file requires a rebuild. This is because at compile time a inc.c file is essentially copy/pasted into its associated .c file. Therefore makefile does not recognize changes to .inc.c files, only .c files. This may be resolved in the following ways: 1) Search for #include "my_file.inc.c to find the root file and then save it with ctrl+s. 2) make clean and rebuild 3) make my_file.c 4) Find help in the Discord

    + diff --git a/controlflow.html b/controlflow.html index 9be31c2c1..f53013d1b 100644 --- a/controlflow.html +++ b/controlflow.html @@ -116,7 +116,7 @@ $(function(){initNavTree('controlflow.html',''); initResizable(true); });
  • Code Breakdown