102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
DTTR_PCDOGS_T_Level_RuntimeData Struct Reference

Concrete runtime level-data block carried by Level_Data* APIs. More...

#include <dttr_pcdogs.h>

Data Fields

DTTR_PCDOGS_T_Camera_Runtimecam_default
 Offset 0x0.
DTTR_PCDOGS_T_Camera_Runtimecam_current
 Offset 0x4.
int16_t current_entity_index
 Offset 0x8.
int16_t entity_count
DTTR_PCDOGS_T_Entity_Stateentity_array
DTTR_PCDOGS_T_Audio_SoundDefinitionsound_definition_list
int16_t sound_definition_count
int16_t var_count
int32_t * var_list
 Offset 0x18.
int16_t powerup_count
 Offset 0x1C.
int16_t powerup_type_count
 Offset 0x1E.
DTTR_PCDOGS_T_Powerup_Entrypowerup_list
DTTR_PCDOGS_T_PKG_ActorTemplatepowerup_actor_template_slots [16]
char * themes [5]
 Offset 0x64.
int32_t theme_count
 Offset 0x78.
DTTR_PCDOGS_T_Trail_Entrytrail_list
 Offset 0x7C.
DTTR_PCDOGS_T_PKG_SpriteEntrysprite_list
 Offset 0x80.
DTTR_PCDOGS_T_Nav_Networknav_net
 Offset 0x84.
DTTR_PCDOGS_T_Material_Entryusable_materials
 Offset 0x88.

Detailed Description

Concrete runtime level-data block carried by Level_Data* APIs.

Definition at line 3294 of file dttr_pcdogs.h.

Field Documentation

◆ cam_current

DTTR_PCDOGS_T_Camera_Runtime* DTTR_PCDOGS_T_Level_RuntimeData::cam_current

Offset 0x4.

Definition at line 3296 of file dttr_pcdogs.h.

◆ cam_default

DTTR_PCDOGS_T_Camera_Runtime* DTTR_PCDOGS_T_Level_RuntimeData::cam_default

Offset 0x0.

Definition at line 3295 of file dttr_pcdogs.h.

◆ current_entity_index

int16_t DTTR_PCDOGS_T_Level_RuntimeData::current_entity_index

Offset 0x8.

Definition at line 3297 of file dttr_pcdogs.h.

◆ entity_array

DTTR_PCDOGS_T_Entity_State* DTTR_PCDOGS_T_Level_RuntimeData::entity_array

Array of level-local runtime entity slots. Pointers into this array identify Entity_State slots within the currently loaded level. Offset 0xC.

Definition at line 3301 of file dttr_pcdogs.h.

◆ entity_count

int16_t DTTR_PCDOGS_T_Level_RuntimeData::entity_count

Number of valid level-local runtime entity slots in entity_array for the currently loaded level. Offset 0xA.

Definition at line 3298 of file dttr_pcdogs.h.

◆ nav_net

DTTR_PCDOGS_T_Nav_Network* DTTR_PCDOGS_T_Level_RuntimeData::nav_net

Offset 0x84.

Definition at line 3326 of file dttr_pcdogs.h.

◆ powerup_actor_template_slots

DTTR_PCDOGS_T_PKG_ActorTemplate* DTTR_PCDOGS_T_Level_RuntimeData::powerup_actor_template_slots[16]

Fixed 16-slot powerup actor-template/clone-source table. PKG_FixUpResourceLevelPointers fixes each non-null slot with PKG_FixUpResourceActorPointers; Powerup_CloneActorFromTemplate reads these PKG_ActorTemplate* sources when creating spawned powerup actors. Offset 0x24.

Definition at line 3316 of file dttr_pcdogs.h.

◆ powerup_count

int16_t DTTR_PCDOGS_T_Level_RuntimeData::powerup_count

Offset 0x1C.

Definition at line 3312 of file dttr_pcdogs.h.

◆ powerup_list

DTTR_PCDOGS_T_Powerup_Entry* DTTR_PCDOGS_T_Level_RuntimeData::powerup_list

Current-level powerup spawn-record list keyed by powerup_count. Offset 0x20.

Definition at line 3314 of file dttr_pcdogs.h.

◆ powerup_type_count

int16_t DTTR_PCDOGS_T_Level_RuntimeData::powerup_type_count

Offset 0x1E.

Definition at line 3313 of file dttr_pcdogs.h.

◆ sound_definition_count

int16_t DTTR_PCDOGS_T_Level_RuntimeData::sound_definition_count

Sound-definition count halfword; kept split from var_count after resolver contract. Offset 0x14.

Definition at line 3307 of file dttr_pcdogs.h.

◆ sound_definition_list

DTTR_PCDOGS_T_Audio_SoundDefinition* DTTR_PCDOGS_T_Level_RuntimeData::sound_definition_list

Current-level sound-definition array, indexed by level-local sound operands. Offset 0x10.

Definition at line 3305 of file dttr_pcdogs.h.

◆ sprite_list

DTTR_PCDOGS_T_PKG_SpriteEntry* DTTR_PCDOGS_T_Level_RuntimeData::sprite_list

Offset 0x80.

Definition at line 3325 of file dttr_pcdogs.h.

◆ theme_count

int32_t DTTR_PCDOGS_T_Level_RuntimeData::theme_count

Offset 0x78.

Definition at line 3323 of file dttr_pcdogs.h.

◆ themes

char* DTTR_PCDOGS_T_Level_RuntimeData::themes[5]

Offset 0x64.

Definition at line 3322 of file dttr_pcdogs.h.

◆ trail_list

DTTR_PCDOGS_T_Trail_Entry* DTTR_PCDOGS_T_Level_RuntimeData::trail_list

Offset 0x7C.

Definition at line 3324 of file dttr_pcdogs.h.

◆ usable_materials

DTTR_PCDOGS_T_Material_Entry* DTTR_PCDOGS_T_Level_RuntimeData::usable_materials

Offset 0x88.

Definition at line 3327 of file dttr_pcdogs.h.

◆ var_count

int16_t DTTR_PCDOGS_T_Level_RuntimeData::var_count

Script variable count halfword, stored separately from sound_definition_count. Offset 0x16.

Definition at line 3309 of file dttr_pcdogs.h.

◆ var_list

int32_t* DTTR_PCDOGS_T_Level_RuntimeData::var_list

Offset 0x18.

Definition at line 3311 of file dttr_pcdogs.h.


The documentation for this struct was generated from the following file: