|
102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
|
#include "pcdogs/math/constants.h"#include "pcdogs/animation/constants.h"#include "pcdogs/game/constants.h"#include "pcdogs/graphics/constants.h"#include "pcdogs/camera/globals.h"#include "pcdogs/game/globals.h"#include "pcdogs/graphics/functions.h"#include "pcdogs/graphics/globals.h"#include "pcdogs/graphics/types.h"#include "pcdogs/image/globals.h"#include "pcdogs/level/globals.h"#include "pcdogs/material/globals.h"#include "pcdogs/material/types.h"#include "pcdogs/math/functions.h"#include "pcdogs/math/globals.h"#include "pcdogs/math/types.h"#include "pcdogs/runtime/functions.h"#include "pcdogs/scene/types.h"#include "billboard.h"#include <math.h>#include <string.h>Go to the source code of this file.
Functions | |
| static int32_t | transform_translation (const int16_t *row, const struct Math_Vec3I32 *position) |
| static int32_t | project_offset (const int16_t *row, struct Math_Vec3I16 offset) |
| void | Graphics_ProjectCorner (struct Graphics_ProjectedCorner *corner, int32_t x, int32_t y, int32_t z) |
| void | Graphics_TransformViewCenter (const struct Math_Vec3I32 *world) |
| static bool | build_billboard_corners (struct Graphics_ProjectedCorner *corners, const struct Math_Matrix3x3I16 *offset_rotation, struct Math_Vec3I16 offset, struct Math_Vec2I16 extents, bool yaw_aligned) |
| int | Graphics_QuadDepthBucket (const struct Graphics_ProjectedCorner *corners) |
| uint32_t | Graphics_FadeVertexColor (uint32_t color, uint32_t weight) |
| void | Graphics_RenderBillboard (struct Scene_Node *node, const struct Graphics_Render_MeshBillboardRuntimeView *mesh, const struct Graphics_Render_SpriteNodeData *attachment, uint32_t xy0, uint32_t xy1, uint32_t xy2, uint32_t xy3) |
| void | Graphics_RenderBillboardCorners (struct Scene_Node *node, struct Graphics_Render_MeshBillboardRuntimeView *mesh, uint32_t xy0, uint32_t xy1, uint32_t xy2, uint32_t xy3) |
|
static |
Definition at line 65 of file mesh_nodes.c.
| uint32_t Graphics_FadeVertexColor | ( | uint32_t | color, |
| uint32_t | weight ) |
Definition at line 138 of file mesh_nodes.c.
| void Graphics_ProjectCorner | ( | struct Graphics_ProjectedCorner * | corner, |
| int32_t | x, | ||
| int32_t | y, | ||
| int32_t | z ) |
Definition at line 36 of file mesh_nodes.c.
| int Graphics_QuadDepthBucket | ( | const struct Graphics_ProjectedCorner * | corners | ) |
Definition at line 122 of file mesh_nodes.c.
| void Graphics_RenderBillboard | ( | struct Scene_Node * | node, |
| const struct Graphics_Render_MeshBillboardRuntimeView * | mesh, | ||
| const struct Graphics_Render_SpriteNodeData * | attachment, | ||
| uint32_t | xy0, | ||
| uint32_t | xy1, | ||
| uint32_t | xy2, | ||
| uint32_t | xy3 ) |
Definition at line 146 of file mesh_nodes.c.
| void Graphics_RenderBillboardCorners | ( | struct Scene_Node * | node, |
| struct Graphics_Render_MeshBillboardRuntimeView * | mesh, | ||
| uint32_t | xy0, | ||
| uint32_t | xy1, | ||
| uint32_t | xy2, | ||
| uint32_t | xy3 ) |
Definition at line 237 of file mesh_nodes.c.
| void Graphics_TransformViewCenter | ( | const struct Math_Vec3I32 * | world | ) |
Definition at line 56 of file mesh_nodes.c.
|
static |
Definition at line 30 of file mesh_nodes.c.
|
static |
Definition at line 24 of file mesh_nodes.c.