102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
constants.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define POWERUP_ENTRY_COLLECTED   ((int32_t)(1u << 0))
#define POWERUP_ENTRY_DISABLED   ((int32_t)(1u << 1))
#define POWERUP_ENTRY_ATTACHED   ((int32_t)(1u << 3))
#define POWERUP_ENTRY_SPAWN_PENDING   ((int32_t)(1u << 4))
#define POWERUP_ENTRY_TRAIL_SOURCE   ((int32_t)(1u << 5))
#define POWERUP_ENTRY_TRAIL_TARGET_PENDING   ((int32_t)(1u << 6))
#define POWERUP_SPAWN_CULL_RADIUS   ((int32_t)320)
#define POWERUP_TRAIL_WARMUP_FRAMES   ((int32_t)30)
#define POWERUP_COLLECTOR_TRAIL_ENABLED   ((int32_t)(1u << 6))

Enumerations

enum  Powerup_TypeBoundary {
  POWERUP_SCORE_LAST = 3 , POWERUP_HEALTH_FIRST = 4 , POWERUP_INVENTORY_FIRST = 6 , POWERUP_EXTRA_LIFE = 14 ,
  POWERUP_TRAIL_TEMPLATE = 15
}
enum  Powerup_SpawnSignalEvent { POWERUP_SIGNAL_ENABLE = 1 , POWERUP_SIGNAL_DISABLE = 2 }
enum  Powerup_AnimationState { POWERUP_ANIMATION_COLLECTION = 1 }
enum  Powerup_ActorPhase { POWERUP_PHASE_IDLE = 0 , POWERUP_PHASE_COLLECTED = 8 }
enum  Powerup_CollisionResult : int32_t { POWERUP_COLLISION_FILTERED = -2 }

Macro Definition Documentation

◆ POWERUP_COLLECTOR_TRAIL_ENABLED

#define POWERUP_COLLECTOR_TRAIL_ENABLED   ((int32_t)(1u << 6))

Definition at line 30 of file constants.h.

◆ POWERUP_ENTRY_ATTACHED

#define POWERUP_ENTRY_ATTACHED   ((int32_t)(1u << 3))

Definition at line 8 of file constants.h.

◆ POWERUP_ENTRY_COLLECTED

#define POWERUP_ENTRY_COLLECTED   ((int32_t)(1u << 0))

Definition at line 6 of file constants.h.

◆ POWERUP_ENTRY_DISABLED

#define POWERUP_ENTRY_DISABLED   ((int32_t)(1u << 1))

Definition at line 7 of file constants.h.

◆ POWERUP_ENTRY_SPAWN_PENDING

#define POWERUP_ENTRY_SPAWN_PENDING   ((int32_t)(1u << 4))

Definition at line 9 of file constants.h.

◆ POWERUP_ENTRY_TRAIL_SOURCE

#define POWERUP_ENTRY_TRAIL_SOURCE   ((int32_t)(1u << 5))

Definition at line 10 of file constants.h.

◆ POWERUP_ENTRY_TRAIL_TARGET_PENDING

#define POWERUP_ENTRY_TRAIL_TARGET_PENDING   ((int32_t)(1u << 6))

Definition at line 11 of file constants.h.

◆ POWERUP_SPAWN_CULL_RADIUS

#define POWERUP_SPAWN_CULL_RADIUS   ((int32_t)320)

Definition at line 28 of file constants.h.

◆ POWERUP_TRAIL_WARMUP_FRAMES

#define POWERUP_TRAIL_WARMUP_FRAMES   ((int32_t)30)

Definition at line 29 of file constants.h.

Enumeration Type Documentation

◆ Powerup_ActorPhase

Enumerator
POWERUP_PHASE_IDLE 
POWERUP_PHASE_COLLECTED 

Definition at line 37 of file constants.h.

◆ Powerup_AnimationState

Enumerator
POWERUP_ANIMATION_COLLECTION 

Definition at line 32 of file constants.h.

◆ Powerup_CollisionResult

enum Powerup_CollisionResult : int32_t
Enumerator
POWERUP_COLLISION_FILTERED 

Definition at line 43 of file constants.h.

◆ Powerup_SpawnSignalEvent

Enumerator
POWERUP_SIGNAL_ENABLE 
POWERUP_SIGNAL_DISABLE 

Definition at line 22 of file constants.h.

◆ Powerup_TypeBoundary

Enumerator
POWERUP_SCORE_LAST 
POWERUP_HEALTH_FIRST 
POWERUP_INVENTORY_FIRST 
POWERUP_EXTRA_LIFE 
POWERUP_TRAIL_TEMPLATE 

Definition at line 13 of file constants.h.