mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 13:16:39 +00:00
Add Popup2 .. allows for more customization of the popup window. Using PlayMp3 with the SoundControl option for Popup2 enabled will allow you to adjust sound volume as well.
This commit is contained in:
@@ -1849,6 +1849,7 @@ namespace RoF
|
||||
eq->Text_Count = 4096;
|
||||
memcpy(eq->Text, emu->Text, sizeof(eq->Text));
|
||||
OUT(Buttons);
|
||||
OUT(SoundControls);
|
||||
OUT(Duration);
|
||||
OUT(PopupID);
|
||||
OUT(NegativeID);
|
||||
|
||||
@@ -1927,6 +1927,7 @@ namespace RoF2
|
||||
eq->Text_Count = 4096;
|
||||
memcpy(eq->Text, emu->Text, sizeof(eq->Text));
|
||||
OUT(Buttons);
|
||||
OUT(SoundControls);
|
||||
OUT(Duration);
|
||||
OUT(PopupID);
|
||||
OUT(NegativeID);
|
||||
|
||||
@@ -2092,7 +2092,7 @@ struct OnLevelMessage_Struct {
|
||||
/*0000*/ uint32 ButtonName1_Count;
|
||||
/*0000*/ char ButtonName1[25];
|
||||
/*0000*/ uint8 Buttons;
|
||||
/*0000*/ uint8 Unknown4275; // Something to do with audio controls
|
||||
/*0000*/ uint8 SoundControls; // Something to do with audio controls
|
||||
/*0000*/ uint32 Duration;
|
||||
/*0000*/ uint32 PopupID; // If none zero, a response packet with 00 00 00 00 <PopupID> is returned on clicking the left button
|
||||
/*0000*/ uint32 NegativeID; // If none zero, a response packet with 01 00 00 00 <NegativeID> is returned on clicking the right button
|
||||
|
||||
@@ -2122,7 +2122,7 @@ struct OnLevelMessage_Struct {
|
||||
/*0000*/ uint32 ButtonName1_Count;
|
||||
/*0000*/ char ButtonName1[25];
|
||||
/*0000*/ uint8 Buttons;
|
||||
/*0000*/ uint8 Unknown4275; // Something to do with audio controls
|
||||
/*0000*/ uint8 SoundControls; // Something to do with audio controls
|
||||
/*0000*/ uint32 Duration;
|
||||
/*0000*/ uint32 PopupID; // If none zero, a response packet with 00 00 00 00 <PopupID> is returned on clicking the left button
|
||||
/*0000*/ uint32 NegativeID; // If none zero, a response packet with 01 00 00 00 <NegativeID> is returned on clicking the right button
|
||||
|
||||
@@ -1373,6 +1373,7 @@ namespace SoD
|
||||
memcpy(eq->Title, emu->Title, sizeof(eq->Title));
|
||||
memcpy(eq->Text, emu->Text, sizeof(eq->Text));
|
||||
OUT(Buttons);
|
||||
OUT(SoundControls);
|
||||
OUT(Duration);
|
||||
OUT(PopupID);
|
||||
OUT(NegativeID);
|
||||
|
||||
@@ -1760,7 +1760,7 @@ struct OnLevelMessage_Struct {
|
||||
/*4224*/ char ButtonName0[25]; // If Buttons = 1, these two are the text for the left and right buttons respectively
|
||||
/*4249*/ char ButtonName1[25];
|
||||
/*4274*/ uint8 Buttons;
|
||||
/*4275*/ uint8 Unknown4275; // Something to do with audio controls
|
||||
/*4275*/ uint8 SoundControls; // Something to do with audio controls
|
||||
/*4276*/ uint32 Duration;
|
||||
/*4280*/ uint32 PopupID; // If none zero, a response packet with 00 00 00 00 <PopupID> is returned on clicking the left button
|
||||
/*4284*/ uint32 NegativeID; // If none zero, a response packet with 01 00 00 00 <NegativeID> is returned on clicking the right button
|
||||
|
||||
@@ -1607,6 +1607,7 @@ namespace UF
|
||||
memcpy(eq->Title, emu->Title, sizeof(eq->Title));
|
||||
memcpy(eq->Text, emu->Text, sizeof(eq->Text));
|
||||
OUT(Buttons);
|
||||
OUT(SoundControls);
|
||||
OUT(Duration);
|
||||
OUT(PopupID);
|
||||
OUT(NegativeID);
|
||||
|
||||
@@ -1801,7 +1801,7 @@ struct OnLevelMessage_Struct {
|
||||
/*4224*/ char ButtonName0[25]; // If Buttons = 1, these two are the text for the left and right buttons respectively
|
||||
/*4249*/ char ButtonName1[25];
|
||||
/*4274*/ uint8 Buttons;
|
||||
/*4275*/ uint8 Unknown4275; // Something to do with audio controls
|
||||
/*4275*/ uint8 SoundControls; // Something to do with audio controls
|
||||
/*4276*/ uint32 Duration;
|
||||
/*4280*/ uint32 PopupID; // If none zero, a response packet with 00 00 00 00 <PopupID> is returned on clicking the left button
|
||||
/*4284*/ uint32 NegativeID; // If none zero, a response packet with 01 00 00 00 <NegativeID> is returned on clicking the right button
|
||||
|
||||
Reference in New Issue
Block a user