GUI Popup: Difference between revisions

From Burnout Wiki
Content added Content deleted
(Added infobox.)
m (Normalization)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
| othernames = Popup
| othernames = Popup
| example = [[File:Paradise GuiPopup Example.png|frameless|350px]]<br />The CNOnlEntGame GUI popup shown<br />when creating an online match.
| example = [[File:Paradise GuiPopup Example.png|frameless|350px]]<br />The CNOnlEntGame GUI popup shown<br />when creating an online match.
| resourcenames = POPUPS.pup
| id = 0x1F
| id = 0x1F
| category = Generic
| category = Generic
Line 10: Line 11:
{{subpage|Previous versions|text=Information on previous versions of GUI Popup resources.}}
{{subpage|Previous versions|text=Information on previous versions of GUI Popup resources.}}


Popups are card styled messages that appear at specific points in the game, such as when an online room is left or joined.
Popups are card styled messages that appear at specific points in the game, such as when an online room is left or joined. Their resource is found in POPUPS.PUP.


= Structures =
= Structures =
Line 18: Line 19:
! Offset !! Length !! Type !! Name !! Description !! Comments
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
|-
| 0x0 || 0x4 || [[#CgsGui::GuiPopup | GuiPopup]]** || mppPopupData || ||
| 0x0 || 0x4 || [[#CgsGui::GuiPopup|GuiPopup]]** || mppPopupData || ||
|-
|-
| 0x4 || 0x2 || int16_t || miPopupCount || ||
| 0x4 || 0x2 || int16_t || miPopupCount || ||
Line 29: Line 30:
! Offset !! Length !! Type !! Name !! Description !! Comments
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
|-
| 0x0 || 0x8 || [[#CgsGui::GuiPopup | GuiPopup]]** || mppPopupData || ||
| 0x0 || 0x8 || [[#CgsGui::GuiPopup|GuiPopup]]** || mppPopupData || ||
|-
|-
| 0x8 || 0x2 || int16_t || miPopupCount || ||
| 0x8 || 0x2 || int16_t || miPopupCount || ||
Line 35: Line 36:
| 0xA || 0x2 || int16_t || miSizeOfPopupResource || ||
| 0xA || 0x2 || int16_t || miSizeOfPopupResource || ||
|-
|-
| 0xC || 0x4 || || || padding ||
| 0xC || 0x4 || || || Padding ||
|}
|}


Line 42: Line 43:
! Offset !! Length !! Type !! Name !! Description !! Comments
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
|-
| 0x0 || 0x8 || [[#Common Data Types (Burnout Paradise)#CgsID | CgsID]] || mNameId || ||
| 0x0 || 0x8 || [[CgsID]] || mNameId || ||
|-
|-
| 0x8 || 0xD || char[13] || macName || ||
| 0x8 || 0xD || char[13] || macName || ||
|-
|-
| 0x15 || 0x3 || || || padding ||
| 0x15 || 0x3 || || || Padding ||
|-
|-
| 0x18 || 0x4 || [[#CgsGui::PopupStyle | PopupStyle]] || meStyle || ||
| 0x18 || 0x4 || [[#CgsGui::PopupStyle|PopupStyle]] || meStyle || ||
|-
|-
| 0x1C || 0x4 || [[#CgsGui::PopupIcons | PopupIcons]] || meIcon || ||
| 0x1C || 0x4 || [[#CgsGui::PopupIcons|PopupIcons]] || meIcon || ||
|-
|-
| 0x20 || 0x20 || char[32] || macTitleId || ||
| 0x20 || 0x20 || char[32] || macTitleId || ||
Line 56: Line 57:
| 0x40 || 0x20 || char[32] || macMessageId || ||
| 0x40 || 0x20 || char[32] || macMessageId || ||
|-
|-
| 0x60 || 0x8 || [[#CgsGui::PopupParamTypes | PopupParamTypes]][2] || maeMessageParams || ||
| 0x60 || 0x8 || [[#CgsGui::PopupParamTypes|PopupParamTypes]][2] || maeMessageParams || ||
|-
|-
| 0x68 || 0x4 || int32_t || miMessageParamsUsed || ||
| 0x68 || 0x4 || int32_t || miMessageParamsUsed || ||
Line 62: Line 63:
| 0x6C || 0x20 || char[32] || macButton1Id || ||
| 0x6C || 0x20 || char[32] || macButton1Id || ||
|-
|-
| 0x8C || 0x4 || [[#CgsGui::PopupParamTypes | PopupParamTypes]] || meButton1Param || ||
| 0x8C || 0x4 || [[#CgsGui::PopupParamTypes|PopupParamTypes]] || meButton1Param || ||
|-
|-
| 0x90 || 0x1 || bool || mbButton1ParamUsed || ||
| 0x90 || 0x1 || bool || mbButton1ParamUsed || ||
Line 68: Line 69:
| 0x91 || 0x20 || char[32] || macButton2Id || ||
| 0x91 || 0x20 || char[32] || macButton2Id || ||
|-
|-
| 0xB1 || 0x3 || || || padding ||
| 0xB1 || 0x3 || || || Padding ||
|-
|-
| 0xB4 || 0x4 || [[#CgsGui::PopupParamTypes | PopupParamTypes]] || meButton2Param || ||
| 0xB4 || 0x4 || [[#CgsGui::PopupParamTypes|PopupParamTypes]] || meButton2Param || ||
|-
|-
| 0xB8 || 0x1 || bool || mbButton2ParamUsed || ||
| 0xB8 || 0x1 || bool || mbButton2ParamUsed || ||
|-
|-
| 0xB9 || 0x7 || || || padding ||
| 0xB9 || 0x7 || || || Padding ||
|}
|}


Line 80: Line 81:
=== CgsGui::PopupStyle ===
=== CgsGui::PopupStyle ===
{| class="wikitable"
{| class="wikitable"
|-
! Name !! Value !! Comments
! Name !! Value !! Comments
|-
|-
Line 120: Line 120:
=== CgsGui::PopupIcons ===
=== CgsGui::PopupIcons ===
{| class="wikitable"
{| class="wikitable"
|-
! Name !! Value !! Comments
! Name !! Value !! Comments
|-
|-
Line 132: Line 131:
=== CgsGui::PopupParamTypes ===
=== CgsGui::PopupParamTypes ===
{| class="wikitable"
{| class="wikitable"
|-
! Name !! Value !! Comments
! Name !! Value !! Comments
|-
|-

Latest revision as of 07:46, 3 October 2023

GuiPopup
aka Popup

The CNOnlEntGame GUI popup shown
when creating an online match.
Resource names POPUPS.pup
Type ID 0x1F
Category Generic
Memory
distribution
Main Memory only
Imports Unknown
Imported by Unknown
Editor
available?
No


Previous versions
Information on previous versions of GUI Popup resources.

Popups are card styled messages that appear at specific points in the game, such as when an online room is left or joined. Their resource is found in POPUPS.PUP.

Structures

CgsGui::GuiPopupResource

32-bit

Offset Length Type Name Description Comments
0x0 0x4 GuiPopup** mppPopupData
0x4 0x2 int16_t miPopupCount
0x6 0x2 int16_t miSizeOfPopupResource

64-bit

Offset Length Type Name Description Comments
0x0 0x8 GuiPopup** mppPopupData
0x8 0x2 int16_t miPopupCount
0xA 0x2 int16_t miSizeOfPopupResource
0xC 0x4 Padding

CgsGui::GuiPopup

Offset Length Type Name Description Comments
0x0 0x8 CgsID mNameId
0x8 0xD char[13] macName
0x15 0x3 Padding
0x18 0x4 PopupStyle meStyle
0x1C 0x4 PopupIcons meIcon
0x20 0x20 char[32] macTitleId
0x40 0x20 char[32] macMessageId
0x60 0x8 PopupParamTypes[2] maeMessageParams
0x68 0x4 int32_t miMessageParamsUsed
0x6C 0x20 char[32] macButton1Id
0x8C 0x4 PopupParamTypes meButton1Param
0x90 0x1 bool mbButton1ParamUsed
0x91 0x20 char[32] macButton2Id
0xB1 0x3 Padding
0xB4 0x4 PopupParamTypes meButton2Param
0xB8 0x1 bool mbButton2ParamUsed
0xB9 0x7 Padding

Enumerations

CgsGui::PopupStyle

Name Value Comments
E_POPUPSTYLE_CRASHNAV_WAIT 0 Type: CrashNav
E_POPUPSTYLE_CRASHNAV_OK 1 Type: CrashNav
E_POPUPSTYLE_CRASHNAV_OKCANCEL 2 Type: CrashNav
E_POPUPSTYLE_CRASHNAV_ONLINE_WAIT 3 Type: CrashNavOnline
E_POPUPSTYLE_CRASHNAV_ONLINE_OK 4 Type: CrashNavOnline
E_POPUPSTYLE_CRASHNAV_ONLINE_OKCANCEL 5 Type: CrashNavOnline
E_POPUPSTYLE_INGAME_WAIT 6 Type: InGame
E_POPUPSTYLE_INGAME_OK 7 Type: InGame
E_POPUPSTYLE_INGAME_OKCANCEL 8 Type: InGame
E_POPUPSTYLE_INGAME_ONLINE_WAIT 9 Type: InGameOnline
E_POPUPSTYLE_INGAME_ONLINE_OK 10 Type: InGameOnline
E_POPUPSTYLE_INGAME_ONLINE_OKCANCEL 11 Type: InGameOnline
E_POPUPSTYLE_INGAME_ONLINE_ENTER_FREEBURN 12 Type: EnterFreeBurn
E_POPUPSTYLE_CUSTOM 13
? 14 In-game enter island
Type: IslandPopUp
? 15 In-game buy island
Type: IslandPopUp
E_POPUPSTYLE_COUNT 16

CgsGui::PopupIcons

Name Value Comments
E_POPUPICONS_INVISIBLE 0
E_POPUPICONS_WARNING 1
E_POPUPICONS_COUNT 2

CgsGui::PopupParamTypes

Name Value Comments
E_POPUPPARAMTYPES_UNUSED 0
E_POPUPPARAMTYPES_STRING 1
E_POPUPPARAMTYPES_STRING_ID 2
E_POPUPPARAMTYPES_COUNT 3