mirror of
https://github.com/n64decomp/mk64
synced 2026-05-30 08:26:37 -04:00
Document Vehicles (#641)
* start doc collision * fix merge * finish rename fonction related to vehicle * document around waypoint of vehicle * make some modification * make some change and rename one * copy_ to oldPos * doc smoke ferry and train * some rename * fix some renaming * precise index * rename a funciton * simplify waypoint_vehicles * change some name * change some name * rename move_to_point_direction * fix some conflict * Update code_80005FD0.c * Update code_80005FD0.h --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
@@ -263,9 +263,7 @@ typedef struct {
|
||||
/* 0x0010 */ s16 currentItemCopy; // Has no effect on what item the players has, It is just a synced copy
|
||||
/* 0x0012 */ s16 unk_012;
|
||||
/* 0x0014 */ Vec3f pos;
|
||||
/* 0x0020 */ f32 copy_rotation_x;
|
||||
/* 0x0024 */ f32 copy_rotation_y;
|
||||
/* 0x0028 */ f32 copy_rotation_z;
|
||||
/* 0x0020 */ Vec3f oldPos;
|
||||
/* 0x002C */ Vec3s rotation;
|
||||
/* 0x0032 */ char unk_032[0x2];
|
||||
/* 0x0034 */ Vec3f velocity;
|
||||
|
||||
+3
-3
@@ -49,7 +49,7 @@ typedef struct {
|
||||
/* 0x000 */ TrainCarStuff locomotive;
|
||||
/* 0x024 */ TrainCarStuff tender;
|
||||
/* 0x048 */ TrainCarStuff passengerCars[NUM_PASSENGER_CAR_ENTRIES];
|
||||
/* 0x0FC */ f32 someMultiplier;
|
||||
/* 0x0FC */ f32 speed;
|
||||
/* 0x100 */ s32 someFlags;
|
||||
/* 0x104 */ s32 numCars; // Non-locomotive car count?
|
||||
/* 0x108 */ s32 unused; // Not read or written. Could be padding?
|
||||
@@ -62,7 +62,7 @@ typedef struct {
|
||||
/* 0x10 */ Vec3f velocity; //
|
||||
/* 0x1C */ u16 waypointIndex; //
|
||||
/* 0x1E */ s16 actorIndex; //
|
||||
/* 0x20 */ f32 someMultiplier; //
|
||||
/* 0x20 */ f32 speed; //
|
||||
/* 0x24 */ s16 rotY; // Only Y rotation is tracked in this struct
|
||||
/* 0x26 */ // s16 compilerPadding2;
|
||||
/**
|
||||
@@ -79,7 +79,7 @@ typedef struct {
|
||||
/* 0x10 */ Vec3f velocity;
|
||||
/* 0x1C */ u16 waypointIndex;
|
||||
/* 0x1E */ s16 actorIndex;
|
||||
/* 0x20 */ f32 someMultiplier; //
|
||||
/* 0x20 */ f32 speed; //
|
||||
/* 0x24 */ f32 someMultiplierTheSequel; //
|
||||
/* 0x28 */ Vec3s rotation;
|
||||
/* 0x2E */ s16 someType; //
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ typedef struct {
|
||||
/* 0x00 */ s16 posX;
|
||||
/* 0x02 */ s16 posY;
|
||||
/* 0x04 */ s16 posZ;
|
||||
/* 0x06 */ u16 trackSegment;
|
||||
/* 0x06 */ u16 trackSectionId;
|
||||
} TrackWaypoint; // size = 0x08
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user