SSBM Decomp
|
#include "shadow.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 <__mem.h>
#include <math.h>
#include <dolphin/gx/GXAttr.h>
#include <dolphin/gx/GXFrameBuf.h>
#include <dolphin/gx/GXGeometry.h>
#include <dolphin/gx/GXMisc.h>
#include <dolphin/gx/GXTexture.h>
#include <dolphin/gx/GXTransform.h>
#include <dolphin/gx/GXVert.h>
#include <dolphin/mtx.h>
#include <dolphin/mtx/vec.h>
#include <MSL/trigf.h>
Macros | |
#define | HSD_ASSERT2(line, text, cond) ((cond) ? ((void) 0) : __assert(__FILE__, line, text)) |
#define | FLT_MAX 3.4028235E38F |
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 FLT_MAX 3.4028235E38F |
|
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 |