|
102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
|
#include "pcdogs/math/constants.h"#include "pcdogs/game/constants.h"#include "pcdogs/runtime/constants.h"#include "pcdogs/camera/globals.h"#include "pcdogs/debug/functions.h"#include "pcdogs/game/globals.h"#include "pcdogs/graphics/constants.h"#include "pcdogs/graphics/functions.h"#include "pcdogs/graphics/globals.h"#include "pcdogs/graphics/types.h"#include "pcdogs/image/globals.h"#include "pcdogs/image/storage.h"#include "pcdogs/input/globals.h"#include "pcdogs/material/types.h"#include "pcdogs/math/types.h"#include "pcdogs/platform/functions.h"#include "pcdogs/platform/globals.h"#include "pcdogs/platform/types.h"#include "pcdogs/runtime/functions.h"#include <math.h>#include <stdarg.h>#include <string.h>Go to the source code of this file.
Functions | |
| void | Graphics_BlitTextureToQuadrants (IDirectDrawSurface7 **quadrant_surfaces, uint8_t *pixel_data, int32_t pixel_count, int32_t width, int32_t height) |
| void | Graphics_RenderTexturedQuad (uint32_t packed_xy, struct Material_TableEntry *material, uint32_t render_flags, uint32_t top_color, uint32_t bottom_color, int32_t quad_size) |
| void | Graphics_RenderTexturedQuadMaterialSize (uint32_t packed_xy, struct Material_TableEntry *material, uint32_t render_flags, uint32_t top_color, uint32_t bottom_color) |
| static uint32_t | Graphics_ClampChannel (uint32_t value) |
| static void | Graphics_TintPolygonColors (const struct Graphics_Render_PolygonBatchRecord *polygon, uint32_t tint) |
| static unsigned | Graphics_StripSourceIndex (unsigned slot, unsigned count) |
| static void | Graphics_SetStageAddress (D3DTEXTURESTAGESTATETYPE state, D3DTEXTUREADDRESS address) |
| static void | Graphics_PreparePolygonTexture (struct Graphics_Render_PolygonBatchRecord *polygon, struct Material_RuntimeDescriptor *texture, unsigned lod) |
| static BOOL | Graphics_PolygonNeedsClipping (const struct Graphics_Render_PolygonBatchRecord *polygon, unsigned count) |
| static void | Graphics_SubmitProjectedPolygon (const struct Graphics_Render_PolygonBatchRecord *polygon, D3DPRIMITIVETYPE primitive, unsigned count, uint8_t alpha, BOOL textured) |
| int32_t | Graphics_DrawQuad (struct Graphics_Render_PolygonBatchRecord *polygon) |
| void | Graphics_DrawRectangle (int32_t packed_origin_xy, int32_t packed_size_wh, int32_t blend_flags, uint32_t rgb_color) |
| void | Graphics_DrawFullscreenTextureQuadrants (struct Material_BlendTextureSet *texture_set) |
| void | Graphics_ClearScreenAndRenderRectangle (uint32_t top_left_color, uint32_t top_right_color, uint32_t bottom_left_color, uint32_t bottom_right_color) |
| void Graphics_BlitTextureToQuadrants | ( | IDirectDrawSurface7 ** | quadrant_surfaces, |
| uint8_t * | pixel_data, | ||
| int32_t | pixel_count, | ||
| int32_t | width, | ||
| int32_t | height ) |
Definition at line 27 of file primitives.c.
|
static |
Definition at line 392 of file primitives.c.
| void Graphics_ClearScreenAndRenderRectangle | ( | uint32_t | top_left_color, |
| uint32_t | top_right_color, | ||
| uint32_t | bottom_left_color, | ||
| uint32_t | bottom_right_color ) |
Definition at line 779 of file primitives.c.
| void Graphics_DrawFullscreenTextureQuadrants | ( | struct Material_BlendTextureSet * | texture_set | ) |
Definition at line 732 of file primitives.c.
| int32_t Graphics_DrawQuad | ( | struct Graphics_Render_PolygonBatchRecord * | polygon | ) |
Definition at line 528 of file primitives.c.
| void Graphics_DrawRectangle | ( | int32_t | packed_origin_xy, |
| int32_t | packed_size_wh, | ||
| int32_t | blend_flags, | ||
| uint32_t | rgb_color ) |
Definition at line 629 of file primitives.c.
|
static |
Definition at line 459 of file primitives.c.
|
static |
Definition at line 419 of file primitives.c.
| void Graphics_RenderTexturedQuad | ( | uint32_t | packed_xy, |
| struct Material_TableEntry * | material, | ||
| uint32_t | render_flags, | ||
| uint32_t | top_color, | ||
| uint32_t | bottom_color, | ||
| int32_t | quad_size ) |
Definition at line 167 of file primitives.c.
| void Graphics_RenderTexturedQuadMaterialSize | ( | uint32_t | packed_xy, |
| struct Material_TableEntry * | material, | ||
| uint32_t | render_flags, | ||
| uint32_t | top_color, | ||
| uint32_t | bottom_color ) |
Definition at line 241 of file primitives.c.
|
static |
Definition at line 413 of file primitives.c.
|
static |
Definition at line 408 of file primitives.c.
|
static |
Definition at line 476 of file primitives.c.
|
static |
Definition at line 397 of file primitives.c.