Spyro 1 Reverse Engineering
Decompilation of functions from Spyro 1 into human readable C
 
Loading...
Searching...
No Matches
Moby Struct Reference

This is the main moby/object struct. More...

#include <moby.h>

Data Fields

void * ptr_mobySpecificData
 
int empty1
 
int * ptr_colision
 
struct Vec3 position
 
short UNK21
 
short interactState
 
int UNK2
 
int UNK3
 
int UNK4
 
int UNK5
 
int UNK6
 
int UNK7
 
short subType
 
short type
 
short UNK10
 
char canDropObject
 
char UNK22
 
char currentAnimation
 
char nextAnimation
 
char currentKeyFrame
 
char nextKeyFrame
 
char speedRelated
 
char animationSpeed
 
char UNK13
 
char active
 
struct Vec3_u8 rotation
 
char requiredHUD1
 
unsigned char state
 
union { 
 
   char   howPickedUp 
 
   char   subState 
 
};  
 
char visable
 
char UNK_shadowRelated
 
struct BGR_u8 RGB
 
char color
 
short requiredHUD2
 
char UNK19
 
char heldValue
 
short UNK20
 
short scale
 

Detailed Description

This is the main moby/object struct.

This is what most objects use for position, type, color, animation, scale, etc

Definition at line 150 of file moby.h.

Field Documentation

◆ [union]

union { ... } Moby

◆ active

char Moby::active

Definition at line 188 of file moby.h.

◆ animationSpeed

char Moby::animationSpeed

Definition at line 184 of file moby.h.

◆ canDropObject

char Moby::canDropObject

Definition at line 174 of file moby.h.

◆ color

char Moby::color

Definition at line 208 of file moby.h.

◆ currentAnimation

char Moby::currentAnimation

Definition at line 178 of file moby.h.

◆ currentKeyFrame

char Moby::currentKeyFrame

Definition at line 180 of file moby.h.

◆ empty1

int Moby::empty1

Definition at line 154 of file moby.h.

◆ heldValue

char Moby::heldValue

Definition at line 214 of file moby.h.

◆ howPickedUp

char Moby::howPickedUp

Definition at line 198 of file moby.h.

◆ interactState

short Moby::interactState

Definition at line 161 of file moby.h.

◆ nextAnimation

char Moby::nextAnimation

Definition at line 179 of file moby.h.

◆ nextKeyFrame

char Moby::nextKeyFrame

Definition at line 181 of file moby.h.

◆ position

struct Vec3 Moby::position

Definition at line 157 of file moby.h.

◆ ptr_colision

int* Moby::ptr_colision

Definition at line 155 of file moby.h.

◆ ptr_mobySpecificData

void* Moby::ptr_mobySpecificData

Definition at line 152 of file moby.h.

◆ requiredHUD1

char Moby::requiredHUD1

Definition at line 192 of file moby.h.

◆ requiredHUD2

short Moby::requiredHUD2

Definition at line 210 of file moby.h.

◆ RGB

struct BGR_u8 Moby::RGB

Definition at line 206 of file moby.h.

◆ rotation

struct Vec3_u8 Moby::rotation

Definition at line 190 of file moby.h.

◆ scale

short Moby::scale

Definition at line 218 of file moby.h.

◆ speedRelated

char Moby::speedRelated

Definition at line 183 of file moby.h.

◆ state

unsigned char Moby::state

Definition at line 194 of file moby.h.

◆ subState

char Moby::subState

Definition at line 199 of file moby.h.

◆ subType

short Moby::subType

Definition at line 170 of file moby.h.

◆ type

short Moby::type

Definition at line 171 of file moby.h.

◆ UNK10

short Moby::UNK10

Definition at line 173 of file moby.h.

◆ UNK13

char Moby::UNK13

Definition at line 187 of file moby.h.

◆ UNK19

char Moby::UNK19

Definition at line 212 of file moby.h.

◆ UNK2

int Moby::UNK2

Definition at line 163 of file moby.h.

◆ UNK20

short Moby::UNK20

Definition at line 216 of file moby.h.

◆ UNK21

short Moby::UNK21

Definition at line 159 of file moby.h.

◆ UNK22

char Moby::UNK22

Definition at line 175 of file moby.h.

◆ UNK3

int Moby::UNK3

Definition at line 164 of file moby.h.

◆ UNK4

int Moby::UNK4

Definition at line 165 of file moby.h.

◆ UNK5

int Moby::UNK5

Definition at line 166 of file moby.h.

◆ UNK6

int Moby::UNK6

Definition at line 167 of file moby.h.

◆ UNK7

int Moby::UNK7

Definition at line 168 of file moby.h.

◆ UNK_shadowRelated

char Moby::UNK_shadowRelated

Definition at line 204 of file moby.h.

◆ visable

char Moby::visable

Definition at line 202 of file moby.h.


The documentation for this struct was generated from the following file: