sm64

A Super Mario 64 decompilation
Log | Files | Refs | README | LICENSE

dynlist_unused.c (2462B)


      1 #include <PR/ultratypes.h>
      2 
      3 #include "dynlist_macros.h"
      4 #include "dynlists.h"
      5 #include "../dynlist_proc.h"
      6 
      7 struct DynList dynlist_spot_shape[] = {
      8     BeginList(),
      9 
     10     StartGroup("spotvg"),
     11         MakeVertex(0.0, 0.0, 0.0),
     12         MakeVertex(1.0, -1.0, 1.0),
     13             SetParamF(PARM_F_ALPHA, 0.0),
     14         MakeVertex(1.0, 1.0, 1.0),
     15             SetParamF(PARM_F_ALPHA, 0.0),
     16         MakeVertex(-1.0, 1.0, 1.0),
     17             SetParamF(PARM_F_ALPHA, 0.0),
     18         MakeVertex(-1.0, -1.0, 1.0),
     19             SetParamF(PARM_F_ALPHA, 0.0),
     20         MakeVertex(0.0, 0.0, 0.0),
     21     EndGroup("spotvg"),
     22 
     23     StartGroup("spotpg"),
     24         MakeDynObj(D_FACE, NULL),
     25             SetMaterial(0),
     26             SetParamPtr(PARM_PTR_OBJ_VTX, 2),
     27             SetParamPtr(PARM_PTR_OBJ_VTX, 3),
     28             SetParamPtr(PARM_PTR_OBJ_VTX, 5),
     29         MakeDynObj(D_FACE, NULL),
     30             SetMaterial(0),
     31             SetParamPtr(PARM_PTR_OBJ_VTX, 3),
     32             SetParamPtr(PARM_PTR_OBJ_VTX, 4),
     33             SetParamPtr(PARM_PTR_OBJ_VTX, 5),
     34         MakeDynObj(D_FACE, NULL),
     35             SetMaterial(0),
     36             SetParamPtr(PARM_PTR_OBJ_VTX, 4),
     37             SetParamPtr(PARM_PTR_OBJ_VTX, 1),
     38             SetParamPtr(PARM_PTR_OBJ_VTX, 5),
     39         MakeDynObj(D_FACE, NULL),
     40             SetMaterial(0),
     41             SetParamPtr(PARM_PTR_OBJ_VTX, 1),
     42             SetParamPtr(PARM_PTR_OBJ_VTX, 2),
     43             SetParamPtr(PARM_PTR_OBJ_VTX, 5),
     44         MakeDynObj(D_FACE, NULL),
     45             SetMaterial(0),
     46             SetParamPtr(PARM_PTR_OBJ_VTX, 0),
     47             SetParamPtr(PARM_PTR_OBJ_VTX, 3),
     48             SetParamPtr(PARM_PTR_OBJ_VTX, 2),
     49         MakeDynObj(D_FACE, NULL),
     50             SetMaterial(0),
     51             SetParamPtr(PARM_PTR_OBJ_VTX, 0),
     52             SetParamPtr(PARM_PTR_OBJ_VTX, 4),
     53             SetParamPtr(PARM_PTR_OBJ_VTX, 3),
     54         MakeDynObj(D_FACE, NULL),
     55             SetMaterial(0),
     56             SetParamPtr(PARM_PTR_OBJ_VTX, 0),
     57             SetParamPtr(PARM_PTR_OBJ_VTX, 1),
     58             SetParamPtr(PARM_PTR_OBJ_VTX, 4),
     59         MakeDynObj(D_FACE, NULL),
     60             SetMaterial(0),
     61             SetParamPtr(PARM_PTR_OBJ_VTX, 0),
     62             SetParamPtr(PARM_PTR_OBJ_VTX, 2),
     63             SetParamPtr(PARM_PTR_OBJ_VTX, 1),
     64     EndGroup("spotpg"),
     65 
     66     UseObj("spotpg"),
     67         MapVertices("spotvg"),
     68 
     69     MakeDynObj(D_SHAPE, "spot_sh"),
     70         SetNodeGroup("spotvg"),
     71         SetPlaneGroup("spotpg"),
     72         SetParamF(PARM_F_ALPHA, 0.1),
     73 
     74     EndList(),
     75 };