Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Macros
dynlist_macros.h File Reference

Go to the source code of this file.

Macros

#define StartList()   { 53716, {0}, {0}, {0.0, 0.0, 0.0} }
 
#define StopList()   { 58, {0}, {0}, {0.0, 0.0, 0.0} }
 
#define UseIntId(w2)   { 0, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define SetInitialPosition(x, y, z)   { 1, {0}, {0}, {(x), (y), (z)} }
 
#define SetRelativePosition(x, y, z)   { 2, {0}, {0}, {(x), (y), (z)} }
 
#define SetWorldPosition(x, y, z)   { 3, {0}, {0}, {(x), (y), (z)} }
 
#define SetNormal(x, y, z)   { 4, {0}, {0}, {(x), (y), (z)} }
 
#define SetScale(x, y, z)   { 5, {0}, {0}, {(x), (y), (z)} }
 
#define SetRotation(x, y, z)   { 6, {0}, {0}, {(x), (y), (z)} }
 
#define SetHeaderFlag(w2)   { 7, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define SetFlag(w2)   { 8, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define ClearFlag(w2)   { 9, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define SetFriction(x, y, z)   { 10, {0}, {0}, {(x), (y), (z)} }
 
#define SetSpring(x)   { 11, {0}, {0}, {(x), 0.0, 0.0} }
 
#define JumpToList(w1)   { 12, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define SetColourNum(w2)   { 13, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define MakeDynObj(w2, w1)   { 15, {(void *)(w1)}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define StartGroup(w1)   { 16, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define EndGroup(w1)   { 17, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define AddToGroup(w1)   { 18, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define SetType(w2)   { 19, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define SetMaterialGroup(w1)   { 20, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define SetNodeGroup(w1)   { 21, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define SetSkinShape(w1)   { 22, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define SetPlaneGroup(w1)   { 23, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define SetShapePtrPtr(w1)   { 24, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define SetShapePtr(w1)   { 25, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define SetShapeOffset(x, y, z)   { 26, {0}, {0}, {(x), (y), (z)} }
 
#define SetCenterOfGravity(x, y, z)   { 27, {0}, {0}, {(x), (y), (z)} }
 
#define LinkWith(w1)   { 28, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define LinkWithPtr(w1)   { 29, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define UseObj(w1)   { 30, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define SetControlType(w2)   { 31, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define SetSkinWeight(w2, x)   { 32, {0}, {(void *)(w2)}, {(x), 0.0, 0.0} }
 
#define SetAmbient(x, y, z)   { 33, {0}, {0}, {(x), (y), (z)} }
 
#define SetDiffuse(x, y, z)   { 34, {0}, {0}, {(x), (y), (z)} }
 
#define SetId(w2)   { 35, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define SetMaterial(w1, w2)   { 36, {(void *)(w1)}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define MapMaterials(w1)   { 37, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define MapVertices(w1)   { 38, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define Attach(w1)   { 39, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define AttachTo(w2, w1)   { 40, {(void *)(w1)}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define SetAttachOffset(x, y, z)   { 41, {0}, {0}, {(x), (y), (z)} }
 
#define CopyStrToIdBuf(w1)   { 43, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define SetParamF(w2, x)   { 44, {0}, {(void *)(w2)}, {(x), 0.0, 0.0} }
 
#define SetParamPtr(w2, w1)   { 45, {(void *)(w1)}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define MakeNetWithSubGroup(w2, w1)   { 46, {(void *)(w1)}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define AttachNetToJoint(w2, w1)   { 47, {(void *)(w1)}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define EndNetSubGroup(w1)   { 48, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define MakeVertex(x, y, z)   { 49, {0}, {0}, {(x), (y), (z)} }
 
#define MakeValPtr(id, flags, type, offset)   { 50, {(void *)(id)}, {(void *)(type)}, {(offset), (flags), 0.0} }
 
#define UseTexture(w2)   { 52, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }
 
#define SetTextureST(x, y)   { 53, {0}, {0}, {(x), (y), 0.0} }
 
#define MakeNetFromShapeId(w1)   { 54, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 
#define MakeNetFromShapeDblPtr(w1)   { 55, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }
 

Macro Definition Documentation

◆ AddToGroup

#define AddToGroup (   w1)    { 18, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ Attach

#define Attach (   w1)    { 39, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ AttachNetToJoint

#define AttachNetToJoint (   w2,
  w1 
)    { 47, {(void *)(w1)}, {(void *)(w2)}, {0.0, 0.0, 0.0} }

◆ AttachTo

#define AttachTo (   w2,
  w1 
)    { 40, {(void *)(w1)}, {(void *)(w2)}, {0.0, 0.0, 0.0} }

◆ ClearFlag

#define ClearFlag (   w2)    { 9, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }

◆ CopyStrToIdBuf

#define CopyStrToIdBuf (   w1)    { 43, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ EndGroup

#define EndGroup (   w1)    { 17, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ EndNetSubGroup

#define EndNetSubGroup (   w1)    { 48, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ JumpToList

#define JumpToList (   w1)    { 12, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ LinkWith

#define LinkWith (   w1)    { 28, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ LinkWithPtr

#define LinkWithPtr (   w1)    { 29, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ MakeDynObj

#define MakeDynObj (   w2,
  w1 
)    { 15, {(void *)(w1)}, {(void *)(w2)}, {0.0, 0.0, 0.0} }

◆ MakeNetFromShapeDblPtr

#define MakeNetFromShapeDblPtr (   w1)    { 55, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ MakeNetFromShapeId

#define MakeNetFromShapeId (   w1)    { 54, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ MakeNetWithSubGroup

#define MakeNetWithSubGroup (   w2,
  w1 
)    { 46, {(void *)(w1)}, {(void *)(w2)}, {0.0, 0.0, 0.0} }

◆ MakeValPtr

#define MakeValPtr (   id,
  flags,
  type,
  offset 
)    { 50, {(void *)(id)}, {(void *)(type)}, {(offset), (flags), 0.0} }

◆ MakeVertex

#define MakeVertex (   x,
  y,
 
)    { 49, {0}, {0}, {(x), (y), (z)} }

◆ MapMaterials

#define MapMaterials (   w1)    { 37, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ MapVertices

#define MapVertices (   w1)    { 38, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ SetAmbient

#define SetAmbient (   x,
  y,
 
)    { 33, {0}, {0}, {(x), (y), (z)} }

◆ SetAttachOffset

#define SetAttachOffset (   x,
  y,
 
)    { 41, {0}, {0}, {(x), (y), (z)} }

◆ SetCenterOfGravity

#define SetCenterOfGravity (   x,
  y,
 
)    { 27, {0}, {0}, {(x), (y), (z)} }

◆ SetColourNum

#define SetColourNum (   w2)    { 13, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }

◆ SetControlType

#define SetControlType (   w2)    { 31, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }

◆ SetDiffuse

#define SetDiffuse (   x,
  y,
 
)    { 34, {0}, {0}, {(x), (y), (z)} }

◆ SetFlag

#define SetFlag (   w2)    { 8, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }

◆ SetFriction

#define SetFriction (   x,
  y,
 
)    { 10, {0}, {0}, {(x), (y), (z)} }

◆ SetHeaderFlag

#define SetHeaderFlag (   w2)    { 7, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }

◆ SetId

#define SetId (   w2)    { 35, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }

◆ SetInitialPosition

#define SetInitialPosition (   x,
  y,
 
)    { 1, {0}, {0}, {(x), (y), (z)} }

◆ SetMaterial

#define SetMaterial (   w1,
  w2 
)    { 36, {(void *)(w1)}, {(void *)(w2)}, {0.0, 0.0, 0.0} }

◆ SetMaterialGroup

#define SetMaterialGroup (   w1)    { 20, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ SetNodeGroup

#define SetNodeGroup (   w1)    { 21, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ SetNormal

#define SetNormal (   x,
  y,
 
)    { 4, {0}, {0}, {(x), (y), (z)} }

◆ SetParamF

#define SetParamF (   w2,
 
)    { 44, {0}, {(void *)(w2)}, {(x), 0.0, 0.0} }

◆ SetParamPtr

#define SetParamPtr (   w2,
  w1 
)    { 45, {(void *)(w1)}, {(void *)(w2)}, {0.0, 0.0, 0.0} }

◆ SetPlaneGroup

#define SetPlaneGroup (   w1)    { 23, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ SetRelativePosition

#define SetRelativePosition (   x,
  y,
 
)    { 2, {0}, {0}, {(x), (y), (z)} }

◆ SetRotation

#define SetRotation (   x,
  y,
 
)    { 6, {0}, {0}, {(x), (y), (z)} }

◆ SetScale

#define SetScale (   x,
  y,
 
)    { 5, {0}, {0}, {(x), (y), (z)} }

◆ SetShapeOffset

#define SetShapeOffset (   x,
  y,
 
)    { 26, {0}, {0}, {(x), (y), (z)} }

◆ SetShapePtr

#define SetShapePtr (   w1)    { 25, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ SetShapePtrPtr

#define SetShapePtrPtr (   w1)    { 24, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ SetSkinShape

#define SetSkinShape (   w1)    { 22, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ SetSkinWeight

#define SetSkinWeight (   w2,
 
)    { 32, {0}, {(void *)(w2)}, {(x), 0.0, 0.0} }

◆ SetSpring

#define SetSpring (   x)    { 11, {0}, {0}, {(x), 0.0, 0.0} }

◆ SetTextureST

#define SetTextureST (   x,
 
)    { 53, {0}, {0}, {(x), (y), 0.0} }

◆ SetType

#define SetType (   w2)    { 19, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }

◆ SetWorldPosition

#define SetWorldPosition (   x,
  y,
 
)    { 3, {0}, {0}, {(x), (y), (z)} }

◆ StartGroup

#define StartGroup (   w1)    { 16, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ StartList

#define StartList ( )    { 53716, {0}, {0}, {0.0, 0.0, 0.0} }

◆ StopList

#define StopList ( )    { 58, {0}, {0}, {0.0, 0.0, 0.0} }

◆ UseIntId

#define UseIntId (   w2)    { 0, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }

◆ UseObj

#define UseObj (   w1)    { 30, {(void *)(w1)}, {0}, {0.0, 0.0, 0.0} }

◆ UseTexture

#define UseTexture (   w2)    { 52, {0}, {(void *)(w2)}, {0.0, 0.0, 0.0} }