Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Fields
GdObj Struct Reference

The base of structure of all of Goddard's objects. More...

#include <gd_types.h>

Data Fields

struct GdObjprev
 
struct GdObjnext
 
drawmethod_t objDrawFn
 
enum ObjTypeFlag type
 
s16 number
 the index of this GdObj in the linked list More...
 
u16 drawFlags
 enumerated in ObjDrawingFlags More...
 

Detailed Description

The base of structure of all of Goddard's objects.

It is present as a "header" at the beginning of all ObjX structures, and as such, this type is used when he need to generalize code to take different ObjXes. It is also a linked list node structure with prev and next pointers.

Field Documentation

◆ drawFlags

u16 GdObj::drawFlags

enumerated in ObjDrawingFlags

◆ next

struct GdObj* GdObj::next

◆ number

s16 GdObj::number

the index of this GdObj in the linked list

◆ objDrawFn

drawmethod_t GdObj::objDrawFn

◆ prev

struct GdObj* GdObj::prev

◆ type

enum ObjTypeFlag GdObj::type

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