|
SSBM Decomp
|
#include "shadow.h"#include <math.h>#include <string.h>#include "class.h"#include "cobj.h"#include "debug.h"#include "jobj.h"#include "list.h"#include "memory.h"#include "mobj.h"#include "mtx.h"#include "object.h"#include "perf.h"#include "pobj.h"#include "state.h"#include "tev.h"#include "tobj.h"#include "util.h"#include <dolphin/gx.h>#include <dolphin/mtx.h>Macros | |
| #define | HSD_ASSERT2(line, text, cond) |
Variables | |
| HSD_ObjAllocData | shadow_alloc_data |
| static char | distAssert [16] = "distance > 0.0F" |
| static char | radiusAssert [14] = "radius > 0.0F" |
| static char | aAssert [9] = "a > 0.0F" |
| #define HSD_ASSERT2 | ( | line, | |
| text, | |||
| cond ) |
|
static |
| HSD_ObjAllocData * HSD_ShadowGetAllocData | ( | void | ) |
| void HSD_ShadowInitAllocData | ( | void | ) |
| HSD_TObj * makeShadowTObj | ( | void | ) |
| HSD_Shadow * HSD_ShadowAlloc | ( | void | ) |
| void HSD_ShadowRemove | ( | HSD_Shadow * | shadow | ) |
| void HSD_ShadowInit | ( | HSD_Shadow * | shadow | ) |
| void HSD_ShadowSetSize | ( | HSD_Shadow * | shadow, |
| u16 | width, | ||
| u16 | height ) |
|
static |
| void HSD_ShadowStartRender | ( | HSD_Shadow * | shadow | ) |
| void HSD_ShadowEndRender | ( | HSD_Shadow * | shadow | ) |
| void HSD_ShadowSetActive | ( | HSD_Shadow * | shadow, |
| int | active ) |
| void HSD_ShadowAddObject | ( | HSD_Shadow * | shadow, |
| HSD_JObj * | jobj ) |
| void HSD_ShadowDeleteObject | ( | HSD_Shadow * | shadow, |
| HSD_JObj * | jobj ) |
| void HSD_ShadowSetViewingRect | ( | HSD_Shadow * | shadow, |
| float | top, | ||
| float | bottom, | ||
| float | left, | ||
| float | right ) |
| void HSD_ViewingRectInit | ( | HSD_ViewingRect * | rect, |
| Vec3 * | position, | ||
| Vec3 * | interest, | ||
| Vec3 * | upvector, | ||
| int | perspective ) |
| int HSD_ViewingRectCheck | ( | HSD_ViewingRect * | rect | ) |
| void HSD_ViewingRectAddRect | ( | HSD_ViewingRect * | rect, |
| Vec3 * | position, | ||
| float | top, | ||
| float | bottom, | ||
| float | left, | ||
| float | right ) |
| HSD_ObjAllocData shadow_alloc_data |
|
static |
|
static |
|
static |