102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
properties.c File Reference
#include "pcdogs/math/constants.h"
#include "pcdogs/component/constants.h"
#include "pcdogs/actor/types.h"
#include "pcdogs/audio/functions.h"
#include "pcdogs/component/functions.h"
#include "pcdogs/component/types.h"
#include "pcdogs/math/functions.h"
#include "pcdogs/trail/functions.h"
#include <math.h>
#include <stdarg.h>
#include <string.h>

Go to the source code of this file.

Functions

uint16_t Component_GetDamageAmount (struct Component_ProjectileActorView *projectile, int32_t *out_hit_flag)
int32_t Component_GetTeamID (struct Actor_State *actor)
int32_t Component_GetMovementSpeedLimitQ12 (struct Component_MovementParametersView *movement)
int16_t Component_GetMovementTurnStep (struct Component_MovementParametersView *movement)
int32_t Component_GetMovementAccelerationQ12 (struct Component_MovementParametersView *movement)
uint32_t Component_GetSpeedRange (struct Actor_State *actor)
void Component_CalculateOrientation (struct Component_ProjectileActorView *projectile_input, struct Component_Definition *definition)
void Component_PlayPositionalSound (struct Component_Definition *component_def, struct Actor_State *actor, int32_t sound_slot_index)
void Component_SetVelocityFromDirection (struct Component_ProjectileActorView *projectile, struct Component_Definition *definition)

Function Documentation

◆ Component_CalculateOrientation()

void Component_CalculateOrientation ( struct Component_ProjectileActorView * projectile_input,
struct Component_Definition * definition )

Definition at line 83 of file properties.c.

◆ Component_GetDamageAmount()

uint16_t Component_GetDamageAmount ( struct Component_ProjectileActorView * projectile,
int32_t * out_hit_flag )

Definition at line 16 of file properties.c.

◆ Component_GetMovementAccelerationQ12()

int32_t Component_GetMovementAccelerationQ12 ( struct Component_MovementParametersView * movement)

Definition at line 60 of file properties.c.

◆ Component_GetMovementSpeedLimitQ12()

int32_t Component_GetMovementSpeedLimitQ12 ( struct Component_MovementParametersView * movement)

Definition at line 40 of file properties.c.

◆ Component_GetMovementTurnStep()

int16_t Component_GetMovementTurnStep ( struct Component_MovementParametersView * movement)

Definition at line 50 of file properties.c.

◆ Component_GetSpeedRange()

uint32_t Component_GetSpeedRange ( struct Actor_State * actor)

Definition at line 70 of file properties.c.

◆ Component_GetTeamID()

int32_t Component_GetTeamID ( struct Actor_State * actor)

Definition at line 28 of file properties.c.

◆ Component_PlayPositionalSound()

void Component_PlayPositionalSound ( struct Component_Definition * component_def,
struct Actor_State * actor,
int32_t sound_slot_index )

Definition at line 202 of file properties.c.

◆ Component_SetVelocityFromDirection()

void Component_SetVelocityFromDirection ( struct Component_ProjectileActorView * projectile,
struct Component_Definition * definition )

Definition at line 215 of file properties.c.