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

#include <dttr_pcdogs.h>

Data Fields

uint32_t cam_default_offset
 Offset 0x0.
int16_t actor_record_count
 Offset 0x4.
int16_t padding_06
 Offset 0x6.
int16_t initial_entity_index
 Offset 0x8.
int16_t entity_count
 Offset 0xA.
uint32_t entity_array_offset
 Offset 0xC.
uint32_t sound_definition_list_offset
 Offset 0x10.
int32_t sound_definition_count
 Offset 0x14.
uint32_t var_list_offset
 Offset 0x18.
int16_t powerup_count
int16_t powerup_type_count
uint32_t powerup_list_offset
uint32_t powerup_actor_template_offsets [16]
uint32_t theme_0_offset
 Offset 0x64.
uint32_t theme_1_offset
 Offset 0x68.
uint32_t theme_2_offset
 Offset 0x6C.
uint32_t theme_3_offset
 Offset 0x70.
uint32_t theme_4_offset
 Offset 0x74.
int32_t theme_count
 Offset 0x78.
uint32_t trail_list_offset
 Offset 0x7C.
uint32_t sprite_list_offset
 Offset 0x80.
uint32_t nav_net_offset
 Offset 0x84.
uint32_t usable_materials_offset
 Offset 0x88.

Detailed Description

Package level header containing actor, entity-slot, sound, powerup, theme, trail, sprite, nav, and material relocation fields.

Definition at line 2501 of file dttr_pcdogs.h.

Field Documentation

◆ actor_record_count

int16_t DTTR_PCDOGS_T_PKG_LevelHeader::actor_record_count

Offset 0x4.

Definition at line 2503 of file dttr_pcdogs.h.

◆ cam_default_offset

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::cam_default_offset

Offset 0x0.

Definition at line 2502 of file dttr_pcdogs.h.

◆ entity_array_offset

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::entity_array_offset

Offset 0xC.

Definition at line 2507 of file dttr_pcdogs.h.

◆ entity_count

int16_t DTTR_PCDOGS_T_PKG_LevelHeader::entity_count

Offset 0xA.

Definition at line 2506 of file dttr_pcdogs.h.

◆ initial_entity_index

int16_t DTTR_PCDOGS_T_PKG_LevelHeader::initial_entity_index

Offset 0x8.

Definition at line 2505 of file dttr_pcdogs.h.

◆ nav_net_offset

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::nav_net_offset

Offset 0x84.

Definition at line 2532 of file dttr_pcdogs.h.

◆ padding_06

int16_t DTTR_PCDOGS_T_PKG_LevelHeader::padding_06

Offset 0x6.

Definition at line 2504 of file dttr_pcdogs.h.

◆ powerup_actor_template_offsets

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::powerup_actor_template_offsets[16]

Fixed 16-slot table of package-relative PKG_ActorTemplate positions used as powerup clone sources. Runtime Level_RuntimeData.powerup_actor_template_slots contains the fixed-up PKG_ActorTemplate* sources. Offset 0x24.

Definition at line 2519 of file dttr_pcdogs.h.

◆ powerup_count

int16_t DTTR_PCDOGS_T_PKG_LevelHeader::powerup_count

Number of Powerup_Entry spawn records in powerup_list_offset. Offset 0x1C.

Definition at line 2511 of file dttr_pcdogs.h.

◆ powerup_list_offset

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::powerup_list_offset

Package-relative position to the Powerup_Entry spawn-record list. Offset 0x20.

Definition at line 2517 of file dttr_pcdogs.h.

◆ powerup_type_count

int16_t DTTR_PCDOGS_T_PKG_LevelHeader::powerup_type_count

Authored powerup type/template count; spawn logic indexes the fixed actor-template table by Powerup_Entry.powerup_type, or slot 15 when flag 0x20 is set. Offset 0x1E.

Definition at line 2513 of file dttr_pcdogs.h.

◆ sound_definition_count

int32_t DTTR_PCDOGS_T_PKG_LevelHeader::sound_definition_count

Offset 0x14.

Definition at line 2509 of file dttr_pcdogs.h.

◆ sound_definition_list_offset

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::sound_definition_list_offset

Offset 0x10.

Definition at line 2508 of file dttr_pcdogs.h.

◆ sprite_list_offset

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::sprite_list_offset

Offset 0x80.

Definition at line 2531 of file dttr_pcdogs.h.

◆ theme_0_offset

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::theme_0_offset

Offset 0x64.

Definition at line 2524 of file dttr_pcdogs.h.

◆ theme_1_offset

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::theme_1_offset

Offset 0x68.

Definition at line 2525 of file dttr_pcdogs.h.

◆ theme_2_offset

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::theme_2_offset

Offset 0x6C.

Definition at line 2526 of file dttr_pcdogs.h.

◆ theme_3_offset

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::theme_3_offset

Offset 0x70.

Definition at line 2527 of file dttr_pcdogs.h.

◆ theme_4_offset

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::theme_4_offset

Offset 0x74.

Definition at line 2528 of file dttr_pcdogs.h.

◆ theme_count

int32_t DTTR_PCDOGS_T_PKG_LevelHeader::theme_count

Offset 0x78.

Definition at line 2529 of file dttr_pcdogs.h.

◆ trail_list_offset

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::trail_list_offset

Offset 0x7C.

Definition at line 2530 of file dttr_pcdogs.h.

◆ usable_materials_offset

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::usable_materials_offset

Offset 0x88.

Definition at line 2533 of file dttr_pcdogs.h.

◆ var_list_offset

uint32_t DTTR_PCDOGS_T_PKG_LevelHeader::var_list_offset

Offset 0x18.

Definition at line 2510 of file dttr_pcdogs.h.


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