mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 01:27:51 -05:00
fix: settings, chat, video spots and other bugs from the owner's list
- Jam-A-Gram privacy: the inbox's options were taken the wrong way round - report window: no instruction text over the reason - the museum's theatre and other unnamed rooms get names; every shop a title - "How did you hear?" is never offered (its window soft locked the game) - video spots with nothing to play open a "Your Video" box on the game page; the trade list's help plays a video; the theatre's box no longer vanishes - emotes, actions and phrases are limited per player, as typed chat is - phrases from the menus come in the sender's chat bubble style - settings: WASD, blocked players and custom items as two-sided switches, graphics at their best by default, a switch for bubble animations, and Manage Account beside two-step sign-in opens the account page - pressing a @mention in a bubble no longer walks the player there
This commit is contained in:
1 parent
e9097a9a4f
commit
22fb7f0fa5
16 files changed
+589
-207
No files matched your search
@@ -272,6 +272,8 @@ package gui
|
||||
private static var _sharedObj:SharedObject;
|
||||
|
||||
private static var _customChatBubbles:Boolean = true;
|
||||
|
||||
private static var _chatBubbleAnimations:Boolean = true;
|
||||
|
||||
private static var _giftGemsMediaHelper:MediaHelper;
|
||||
|
||||
@@ -368,12 +370,14 @@ package gui
|
||||
{
|
||||
_sharedObj = null;
|
||||
_customChatBubbles = true;
|
||||
_chatBubbleAnimations = true;
|
||||
if(gMainFrame.myFlashVarUserName != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
_sharedObj = SharedObject.getLocal(gMainFrame.myFlashVarUserName);
|
||||
_customChatBubbles = _sharedObj.data.customChatBubbles !== false;
|
||||
_chatBubbleAnimations = _sharedObj.data.chatBubbleAnimations !== false;
|
||||
if(_sharedObj.data.cursor == null || _sharedObj.data.cursor == "custom")
|
||||
{
|
||||
CursorManager.switchToCursor("custom_cursor");
|
||||
@@ -489,6 +493,30 @@ package gui
|
||||
}
|
||||
}
|
||||
|
||||
// the same, for custom bubbles' animations (pulse, shimmer, flow,
|
||||
// rainbow): off, every bubble keeps its colours and stands still.
|
||||
public static function chatBubbleAnimationsEnabled() : Boolean
|
||||
{
|
||||
return _chatBubbleAnimations;
|
||||
}
|
||||
|
||||
public static function setChatBubbleAnimationsEnabled(param1:Boolean) : void
|
||||
{
|
||||
_chatBubbleAnimations = param1;
|
||||
if(_sharedObj == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
_sharedObj.data.chatBubbleAnimations = param1;
|
||||
try
|
||||
{
|
||||
_sharedObj.flush();
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public static function startFFM(param1:Boolean = false) : void
|
||||
{
|
||||
if(gMainFrame.server.getCurrentRoom())
|
||||
@@ -995,6 +1023,15 @@ package gui
|
||||
|
||||
public static function initMoviePlayer(param1:int, param2:StreamDefCollection, param3:Boolean = true, param4:int = 512, param5:int = 288) : void
|
||||
{
|
||||
// nothing to play (the official server's video lists are gone; a
|
||||
// tutorial video that never came): the game page's video box
|
||||
// instead, as GenericListGuiManager.launchMovies does.
|
||||
if(param2 == null || param2.length == 0 || param2.getStreamDefItem(0) == null)
|
||||
{
|
||||
DarkenManager.showLoadingSpiral(false);
|
||||
GenericListGuiManager.openVideoSpot("");
|
||||
return;
|
||||
}
|
||||
if(_videoPlayer)
|
||||
{
|
||||
_videoPlayer.destroy();
|
||||
|
||||
Reference in new issue
Block a user