102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
globals.h File Reference

Go to the source code of this file.

Macros

#define bonus_level_code_dispatch_table   (*(global_type_bonus_level_code_dispatch_table *)(data_storage + 0x26f70)) /* 0x426f70 */
#define level_completion_slot_dispatch_table   (*(global_type_level_completion_slot_dispatch_table *)(data_storage + 0x275d4)) /* 0x4275d4 */
#define level_load_state_dispatch_table   (*(global_type_level_load_state_dispatch_table *)(data_storage + 0x2d630)) /* 0x42d630 */
#define g_f_MaxLevelScale   (*(global_type_g_f_MaxLevelScale *)(data_storage + 0x4e058)) /* 0x44e058 */
#define g_cooperativeLevelSet   (*(global_type_g_cooperativeLevelSet *)(data_storage + 0x4e51c)) /* 0x44e51c */
#define g_bonusProgressVariableOffsets   (*(global_type_g_bonusProgressVariableOffsets *)(data_storage + 0x50eac)) /* 0x450eac */
#define g_sz_Level_BonusTOB   (*(global_type_g_sz_Level_BonusTOB *)(data_storage + 0x50ee4)) /* 0x450ee4 */
#define g_sz_Level_BonusPR3   (*(global_type_g_sz_Level_BonusPR3 *)(data_storage + 0x50ee8)) /* 0x450ee8 */
#define g_sz_Level_BonusRFF   (*(global_type_g_sz_Level_BonusRFF *)(data_storage + 0x50eec)) /* 0x450eec */
#define g_currentLevelID   (*(global_type_g_currentLevelID *)(data_storage + 0x50f28)) /* 0x450f28 */
#define g_levelTransitionFlag   (*(global_type_g_levelTransitionFlag *)(data_storage + 0x571c8)) /* 0x4571c8 */
#define g_levelTransitionStartFrame   (*(global_type_g_levelTransitionStartFrame *)(data_storage + 0x571cc)) /* 0x4571cc */
#define g_levelTransitionMidFrame   (*(global_type_g_levelTransitionMidFrame *)(data_storage + 0x571d0)) /* 0x4571d0 */
#define g_levelTransitionEndFrame   (*(global_type_g_levelTransitionEndFrame *)(data_storage + 0x571d4)) /* 0x4571d4 */
#define g_levelStartPuppyCount   (*(global_type_g_levelStartPuppyCount *)(data_storage + 0x9ba9d)) /* 0x49ba9d */
#define g_currentLevelCompletionBits   (*(global_type_g_currentLevelCompletionBits *)(data_storage + 0x9ba9e)) /* 0x49ba9e */
#define g_currentLevelScore   (*(global_type_g_currentLevelScore *)(data_storage + 0x9ba9f)) /* 0x49ba9f */
#define g_levelSelectState   (*(global_type_g_levelSelectState *)(data_storage + 0x9bae9)) /* 0x49bae9 */
#define g_levelSelectSlot   (*(global_type_g_levelSelectSlot *)(data_storage + 0x9baea)) /* 0x49baea */
#define g_levelSelectFadeCounter   (*(global_type_g_levelSelectFadeCounter *)(data_storage + 0x9baeb)) /* 0x49baeb */
#define g_levelResourceHandle   (*(global_type_g_levelResourceHandle *)(data_storage + 0x9baf4)) /* 0x49baf4 */
#define g_levelStreamLoadState   (*(global_type_g_levelStreamLoadState *)(data_storage + 0x9ca64)) /* 0x49ca64 */
#define g_levelTexDataA   (*(global_type_g_levelTexDataA *)(data_storage + 0x9ca68)) /* 0x49ca68 */
#define g_levelTexDataB   (*(global_type_g_levelTexDataB *)(data_storage + 0x9ca6c)) /* 0x49ca6c */
#define g_levelInitCallback2   (*(global_type_g_levelInitCallback2 *)(data_storage + 0x224404)) /* 0x624404 */
#define g_levelInitCallback1   (*(global_type_g_levelInitCallback1 *)(data_storage + 0x224408)) /* 0x624408 */
#define g_levelMaterialSection   (*(global_type_g_levelMaterialSection *)(data_storage + 0x234a50)) /* 0x634a50 */
#define g_levelBlobPtr   (*(global_type_g_levelBlobPtr *)(data_storage + 0x234a54)) /* 0x634a54 */
#define g_levelIndex   (*(global_type_g_levelIndex *)(data_storage + 0x234b10)) /* 0x634b10 */
#define g_levelActorSystemState   (*(global_type_g_levelActorSystemState *)(data_storage + 0x168a6f8)) /* 0x1a8a6f8 */
#define g_dynamic_level_scale   (*(global_type_dynamic_level_scale *)(data_storage + 0x168a7a0)) /* 0x1a8a7a0 */
#define g_bonusLevelUnlocked   (*(global_type_g_bonusLevelUnlocked *)(data_storage + 0x168a7b8)) /* 0x1a8a7b8 */
#define g_levelScaleFactor   (*(global_type_g_levelScaleFactor *)(data_storage + 0x168ada4)) /* 0x1a8ada4 */
#define g_levelRenderDistance   (*(global_type_g_levelRenderDistance *)(data_storage + 0x168ada8)) /* 0x1a8ada8 */
#define g_levelTransitionState   (*(global_type_g_levelTransitionState *)(data_storage + 0x168adac)) /* 0x1a8adac */
#define g_levelRenderDistanceQuarter   (*(global_type_g_levelRenderDistanceQuarter *)(data_storage + 0x168adb4)) /* 0x1a8adb4 */
#define g_levelRenderDistanceThird   (*(global_type_g_levelRenderDistanceThird *)(data_storage + 0x168adb8)) /* 0x1a8adb8 */
#define g_levelWorldIndex   (*(global_type_g_levelWorldIndex *)(data_storage + 0x168d0e0)) /* 0x1a8d0e0 */
#define g_levelCollectibleSlots   (*(global_type_g_levelCollectibleSlots *)(data_storage + 0x168d100)) /* 0x1a8d100 */
#define g_levelCompletionFlag_1   (*(global_type_g_levelCompletionFlag_1 *)(data_storage + 0x168d120)) /* 0x1a8d120 */

Typedefs

typedef uint32_t global_type_bonus_level_code_dispatch_table[0x5]
typedef uint32_t global_type_level_completion_slot_dispatch_table[0x4]
typedef uint32_t global_type_level_load_state_dispatch_table[0xb]
typedef int32_t global_type_g_f_MaxLevelScale
typedef int32_t global_type_g_cooperativeLevelSet
typedef int8_t global_type_g_bonusProgressVariableOffsets[4]
typedef char global_type_g_sz_Level_BonusTOB[0x4]
typedef char global_type_g_sz_Level_BonusPR3[0x4]
typedef char global_type_g_sz_Level_BonusRFF[0x4]
typedef int16_t global_type_g_currentLevelID
typedef uint8_t global_type_g_levelTransitionFlag
typedef int32_t global_type_g_levelTransitionStartFrame
typedef int32_t global_type_g_levelTransitionMidFrame
typedef int32_t global_type_g_levelTransitionEndFrame
typedef char global_type_g_levelStartPuppyCount
typedef uint8_t global_type_g_currentLevelCompletionBits
typedef uint8_t global_type_g_currentLevelScore
typedef char global_type_g_levelSelectState
typedef char global_type_g_levelSelectSlot
typedef char global_type_g_levelSelectFadeCounter
typedef void * global_type_g_levelResourceHandle
typedef int32_t global_type_g_levelStreamLoadState
typedef void * global_type_g_levelTexDataA
typedef void * global_type_g_levelTexDataB
typedef void(* global_type_g_levelInitCallback2) (struct Camera *)
typedef void(* global_type_g_levelInitCallback1) (void)
typedef struct Material_SectionHeader * global_type_g_levelMaterialSection
typedef uint8_t * global_type_g_levelBlobPtr
typedef char global_type_g_levelIndex
typedef int32_t global_type_g_levelActorSystemState
typedef int32_t global_type_dynamic_level_scale
typedef int32_t global_type_g_bonusLevelUnlocked
typedef int32_t global_type_g_levelScaleFactor
typedef float global_type_g_levelRenderDistance
typedef uint8_t global_type_g_levelTransitionState
typedef float global_type_g_levelRenderDistanceQuarter
typedef float global_type_g_levelRenderDistanceThird
typedef uint32_t global_type_g_levelWorldIndex
typedef uint32_t global_type_g_levelCollectibleSlots
typedef uint32_t global_type_g_levelCompletionFlag_1

Functions

static int32_t * Level_BonusProgressVariable (size_t bonus)

Macro Definition Documentation

◆ bonus_level_code_dispatch_table

#define bonus_level_code_dispatch_table   (*(global_type_bonus_level_code_dispatch_table *)(data_storage + 0x26f70)) /* 0x426f70 */

Definition at line 9 of file globals.h.

◆ g_bonusLevelUnlocked

#define g_bonusLevelUnlocked   (*(global_type_g_bonusLevelUnlocked *)(data_storage + 0x168a7b8)) /* 0x1a8a7b8 */

Definition at line 109 of file globals.h.

◆ g_bonusProgressVariableOffsets

#define g_bonusProgressVariableOffsets   (*(global_type_g_bonusProgressVariableOffsets *)(data_storage + 0x50eac)) /* 0x450eac */

Definition at line 24 of file globals.h.

◆ g_cooperativeLevelSet

#define g_cooperativeLevelSet   (*(global_type_g_cooperativeLevelSet *)(data_storage + 0x4e51c)) /* 0x44e51c */

Definition at line 21 of file globals.h.

◆ g_currentLevelCompletionBits

#define g_currentLevelCompletionBits   (*(global_type_g_currentLevelCompletionBits *)(data_storage + 0x9ba9e)) /* 0x49ba9e */

Definition at line 61 of file globals.h.

◆ g_currentLevelID

#define g_currentLevelID   (*(global_type_g_currentLevelID *)(data_storage + 0x50f28)) /* 0x450f28 */

Definition at line 43 of file globals.h.

◆ g_currentLevelScore

#define g_currentLevelScore   (*(global_type_g_currentLevelScore *)(data_storage + 0x9ba9f)) /* 0x49ba9f */

Definition at line 64 of file globals.h.

◆ g_dynamic_level_scale

#define g_dynamic_level_scale   (*(global_type_dynamic_level_scale *)(data_storage + 0x168a7a0)) /* 0x1a8a7a0 */

Definition at line 106 of file globals.h.

◆ g_f_MaxLevelScale

#define g_f_MaxLevelScale   (*(global_type_g_f_MaxLevelScale *)(data_storage + 0x4e058)) /* 0x44e058 */

Definition at line 18 of file globals.h.

◆ g_levelActorSystemState

#define g_levelActorSystemState   (*(global_type_g_levelActorSystemState *)(data_storage + 0x168a6f8)) /* 0x1a8a6f8 */

Definition at line 103 of file globals.h.

◆ g_levelBlobPtr

#define g_levelBlobPtr   (*(global_type_g_levelBlobPtr *)(data_storage + 0x234a54)) /* 0x634a54 */

Definition at line 97 of file globals.h.

◆ g_levelCollectibleSlots

#define g_levelCollectibleSlots   (*(global_type_g_levelCollectibleSlots *)(data_storage + 0x168d100)) /* 0x1a8d100 */

Definition at line 130 of file globals.h.

◆ g_levelCompletionFlag_1

#define g_levelCompletionFlag_1   (*(global_type_g_levelCompletionFlag_1 *)(data_storage + 0x168d120)) /* 0x1a8d120 */

Definition at line 133 of file globals.h.

◆ g_levelIndex

#define g_levelIndex   (*(global_type_g_levelIndex *)(data_storage + 0x234b10)) /* 0x634b10 */

Definition at line 100 of file globals.h.

◆ g_levelInitCallback1

#define g_levelInitCallback1   (*(global_type_g_levelInitCallback1 *)(data_storage + 0x224408)) /* 0x624408 */

Definition at line 91 of file globals.h.

◆ g_levelInitCallback2

#define g_levelInitCallback2   (*(global_type_g_levelInitCallback2 *)(data_storage + 0x224404)) /* 0x624404 */

Definition at line 88 of file globals.h.

◆ g_levelMaterialSection

#define g_levelMaterialSection   (*(global_type_g_levelMaterialSection *)(data_storage + 0x234a50)) /* 0x634a50 */

Definition at line 94 of file globals.h.

◆ g_levelRenderDistance

#define g_levelRenderDistance   (*(global_type_g_levelRenderDistance *)(data_storage + 0x168ada8)) /* 0x1a8ada8 */

Definition at line 115 of file globals.h.

◆ g_levelRenderDistanceQuarter

#define g_levelRenderDistanceQuarter   (*(global_type_g_levelRenderDistanceQuarter *)(data_storage + 0x168adb4)) /* 0x1a8adb4 */

Definition at line 121 of file globals.h.

◆ g_levelRenderDistanceThird

#define g_levelRenderDistanceThird   (*(global_type_g_levelRenderDistanceThird *)(data_storage + 0x168adb8)) /* 0x1a8adb8 */

Definition at line 124 of file globals.h.

◆ g_levelResourceHandle

#define g_levelResourceHandle   (*(global_type_g_levelResourceHandle *)(data_storage + 0x9baf4)) /* 0x49baf4 */

Definition at line 76 of file globals.h.

◆ g_levelScaleFactor

#define g_levelScaleFactor   (*(global_type_g_levelScaleFactor *)(data_storage + 0x168ada4)) /* 0x1a8ada4 */

Definition at line 112 of file globals.h.

◆ g_levelSelectFadeCounter

#define g_levelSelectFadeCounter   (*(global_type_g_levelSelectFadeCounter *)(data_storage + 0x9baeb)) /* 0x49baeb */

Definition at line 73 of file globals.h.

◆ g_levelSelectSlot

#define g_levelSelectSlot   (*(global_type_g_levelSelectSlot *)(data_storage + 0x9baea)) /* 0x49baea */

Definition at line 70 of file globals.h.

◆ g_levelSelectState

#define g_levelSelectState   (*(global_type_g_levelSelectState *)(data_storage + 0x9bae9)) /* 0x49bae9 */

Definition at line 67 of file globals.h.

◆ g_levelStartPuppyCount

#define g_levelStartPuppyCount   (*(global_type_g_levelStartPuppyCount *)(data_storage + 0x9ba9d)) /* 0x49ba9d */

Definition at line 58 of file globals.h.

◆ g_levelStreamLoadState

#define g_levelStreamLoadState   (*(global_type_g_levelStreamLoadState *)(data_storage + 0x9ca64)) /* 0x49ca64 */

Definition at line 79 of file globals.h.

◆ g_levelTexDataA

#define g_levelTexDataA   (*(global_type_g_levelTexDataA *)(data_storage + 0x9ca68)) /* 0x49ca68 */

Definition at line 82 of file globals.h.

◆ g_levelTexDataB

#define g_levelTexDataB   (*(global_type_g_levelTexDataB *)(data_storage + 0x9ca6c)) /* 0x49ca6c */

Definition at line 85 of file globals.h.

◆ g_levelTransitionEndFrame

#define g_levelTransitionEndFrame   (*(global_type_g_levelTransitionEndFrame *)(data_storage + 0x571d4)) /* 0x4571d4 */

Definition at line 55 of file globals.h.

◆ g_levelTransitionFlag

#define g_levelTransitionFlag   (*(global_type_g_levelTransitionFlag *)(data_storage + 0x571c8)) /* 0x4571c8 */

Definition at line 46 of file globals.h.

◆ g_levelTransitionMidFrame

#define g_levelTransitionMidFrame   (*(global_type_g_levelTransitionMidFrame *)(data_storage + 0x571d0)) /* 0x4571d0 */

Definition at line 52 of file globals.h.

◆ g_levelTransitionStartFrame

#define g_levelTransitionStartFrame   (*(global_type_g_levelTransitionStartFrame *)(data_storage + 0x571cc)) /* 0x4571cc */

Definition at line 49 of file globals.h.

◆ g_levelTransitionState

#define g_levelTransitionState   (*(global_type_g_levelTransitionState *)(data_storage + 0x168adac)) /* 0x1a8adac */

Definition at line 118 of file globals.h.

◆ g_levelWorldIndex

#define g_levelWorldIndex   (*(global_type_g_levelWorldIndex *)(data_storage + 0x168d0e0)) /* 0x1a8d0e0 */

Definition at line 127 of file globals.h.

◆ g_sz_Level_BonusPR3

#define g_sz_Level_BonusPR3   (*(global_type_g_sz_Level_BonusPR3 *)(data_storage + 0x50ee8)) /* 0x450ee8 */

Definition at line 37 of file globals.h.

◆ g_sz_Level_BonusRFF

#define g_sz_Level_BonusRFF   (*(global_type_g_sz_Level_BonusRFF *)(data_storage + 0x50eec)) /* 0x450eec */

Definition at line 40 of file globals.h.

◆ g_sz_Level_BonusTOB

#define g_sz_Level_BonusTOB   (*(global_type_g_sz_Level_BonusTOB *)(data_storage + 0x50ee4)) /* 0x450ee4 */

Definition at line 34 of file globals.h.

◆ level_completion_slot_dispatch_table

#define level_completion_slot_dispatch_table   (*(global_type_level_completion_slot_dispatch_table *)(data_storage + 0x275d4)) /* 0x4275d4 */

Definition at line 12 of file globals.h.

◆ level_load_state_dispatch_table

#define level_load_state_dispatch_table   (*(global_type_level_load_state_dispatch_table *)(data_storage + 0x2d630)) /* 0x42d630 */

Definition at line 15 of file globals.h.

Typedef Documentation

◆ global_type_bonus_level_code_dispatch_table

typedef uint32_t global_type_bonus_level_code_dispatch_table[0x5]

Definition at line 8 of file globals.h.

◆ global_type_dynamic_level_scale

Definition at line 105 of file globals.h.

◆ global_type_g_bonusLevelUnlocked

Definition at line 108 of file globals.h.

◆ global_type_g_bonusProgressVariableOffsets

typedef int8_t global_type_g_bonusProgressVariableOffsets[4]

Definition at line 23 of file globals.h.

◆ global_type_g_cooperativeLevelSet

Definition at line 20 of file globals.h.

◆ global_type_g_currentLevelCompletionBits

Definition at line 60 of file globals.h.

◆ global_type_g_currentLevelID

Definition at line 42 of file globals.h.

◆ global_type_g_currentLevelScore

Definition at line 63 of file globals.h.

◆ global_type_g_f_MaxLevelScale

Definition at line 17 of file globals.h.

◆ global_type_g_levelActorSystemState

Definition at line 102 of file globals.h.

◆ global_type_g_levelBlobPtr

typedef uint8_t* global_type_g_levelBlobPtr

Definition at line 96 of file globals.h.

◆ global_type_g_levelCollectibleSlots

Definition at line 129 of file globals.h.

◆ global_type_g_levelCompletionFlag_1

Definition at line 132 of file globals.h.

◆ global_type_g_levelIndex

Definition at line 99 of file globals.h.

◆ global_type_g_levelInitCallback1

typedef void(* global_type_g_levelInitCallback1) (void)

Definition at line 90 of file globals.h.

◆ global_type_g_levelInitCallback2

typedef void(* global_type_g_levelInitCallback2) (struct Camera *)

Definition at line 87 of file globals.h.

◆ global_type_g_levelMaterialSection

Definition at line 93 of file globals.h.

◆ global_type_g_levelRenderDistance

Definition at line 114 of file globals.h.

◆ global_type_g_levelRenderDistanceQuarter

Definition at line 120 of file globals.h.

◆ global_type_g_levelRenderDistanceThird

Definition at line 123 of file globals.h.

◆ global_type_g_levelResourceHandle

Definition at line 75 of file globals.h.

◆ global_type_g_levelScaleFactor

Definition at line 111 of file globals.h.

◆ global_type_g_levelSelectFadeCounter

Definition at line 72 of file globals.h.

◆ global_type_g_levelSelectSlot

Definition at line 69 of file globals.h.

◆ global_type_g_levelSelectState

Definition at line 66 of file globals.h.

◆ global_type_g_levelStartPuppyCount

Definition at line 57 of file globals.h.

◆ global_type_g_levelStreamLoadState

Definition at line 78 of file globals.h.

◆ global_type_g_levelTexDataA

Definition at line 81 of file globals.h.

◆ global_type_g_levelTexDataB

Definition at line 84 of file globals.h.

◆ global_type_g_levelTransitionEndFrame

Definition at line 54 of file globals.h.

◆ global_type_g_levelTransitionFlag

Definition at line 45 of file globals.h.

◆ global_type_g_levelTransitionMidFrame

Definition at line 51 of file globals.h.

◆ global_type_g_levelTransitionStartFrame

Definition at line 48 of file globals.h.

◆ global_type_g_levelTransitionState

Definition at line 117 of file globals.h.

◆ global_type_g_levelWorldIndex

Definition at line 126 of file globals.h.

◆ global_type_g_sz_Level_BonusPR3

typedef char global_type_g_sz_Level_BonusPR3[0x4]

Definition at line 36 of file globals.h.

◆ global_type_g_sz_Level_BonusRFF

typedef char global_type_g_sz_Level_BonusRFF[0x4]

Definition at line 39 of file globals.h.

◆ global_type_g_sz_Level_BonusTOB

typedef char global_type_g_sz_Level_BonusTOB[0x4]

Definition at line 33 of file globals.h.

◆ global_type_level_completion_slot_dispatch_table

typedef uint32_t global_type_level_completion_slot_dispatch_table[0x4]

Definition at line 11 of file globals.h.

◆ global_type_level_load_state_dispatch_table

typedef uint32_t global_type_level_load_state_dispatch_table[0xb]

Definition at line 14 of file globals.h.

Function Documentation

◆ Level_BonusProgressVariable()

int32_t * Level_BonusProgressVariable ( size_t bonus)
inlinestatic

Definition at line 28 of file globals.h.