Skip to content

Commit

Permalink
Work on structures.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
RootCubed committed Aug 22, 2021
1 parent 951b617 commit 4cd1581
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 additions & 4 deletions data/structures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,36 @@ structure fBase_c:-:0x64 {
0x8 objectID:u16;
0xa creationDeletionStatus:u8;
0xb shouldDestroy:!u8;
0xc wasAlreadyCreated:!u8;
0xd wasAbleToCreateInstantly:!u8;
0xe type:u8;
0xf processFlag:u8;
0x10 mng:fManager_c;
0x60 vt:ptr;
}

structure fManager_c:-:0x50 {

}

structure dBase_c:fBase_c:0xc {
+0x0 firstLinkedNode:ptr;
+0x4 explanationString:stringJIS;
+0x8 nameString:string;
}

structure dScene_c:dBase_c:0x4 {
+0x0 funcChain:ptr;
}

structure dBaseActor_c:dBase_c:0xb5 {
+0x0 node:ptr;
+0x3c position:!vec3;
+0x54 deltaPos:vec3;
+0x6c scale:!vec3;
+0x90 rotation:!vec3s;
+0xa8 maxAccelZ:float;
+0xb4 isVisible:u8;
}

structure dActor_c:dBaseActor_c:0x26d {}
Expand Down Expand Up @@ -62,9 +77,6 @@ structure vec3s:-:0x6 {

preview vec3s "$x$, $y$, $z$";

structure PLAYER:daPlBase_c:0x0 {}
structure YOSHI:daPlBase_c:0x0 {}

display fBase_c {
textbox:"Instance Number":uniqueInstanceNum;
textbox:"Object ID":objectID;
Expand All @@ -81,4 +93,19 @@ display dActorBase_c {
textbox:"Rotation (Degrees)":rotation;
textbox:"Scale":scale;
textbox:"Maximum Z Acceleration":maxAccelZ;
}
}

structure BOOT:dScene_c:0x0 {}
structure SELECT:dScene_c:0x0 {}
structure WORLD_MAP:dScene_c:0x0 {}
structure WORLD_9_DEMO:dScene_c:0x0 {}
structure STAGE:dScene_c:0x0 {}
structure RESTART_CRSIN:dScene_c:0x0 {}
structure CRSIN:dScene_c:0x0 {}
structure MOVIE:dScene_c:0x0 {}
structure GAMEOVER:dScene_c:0x0 {}
structure GAME_SETUP:dScene_c:0x0 {}
structure MULTI_PLAY_COURSE_SELECT:dScene_c:0x0 {}
structure CURSOR:dBase_c:0x0 {}
structure PLAYER:daPlBase_c:0x0 {}
structure YOSHI:daPlBase_c:0x0 {}

0 comments on commit 4cd1581

Please sign in to comment.