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
@@ -1,6 +1,7 @@
|
||||
package gui
|
||||
{
|
||||
import collection.StreamDefCollection;
|
||||
import flash.external.ExternalInterface;
|
||||
import movie.MovieManager;
|
||||
import quest.QuestManager;
|
||||
import room.RoomManagerWorld;
|
||||
@@ -50,10 +51,17 @@ package gui
|
||||
var _loc4_:Boolean = false;
|
||||
// the video lists came from the official server; this one answers
|
||||
// them empty, and a player with nothing to play threw (#1009 in
|
||||
// VideoPlayerOSMF.playNonStreaming)
|
||||
// VideoPlayerOSMF.playNonStreaming). a video spot clicked opens the
|
||||
// game page's video box instead (game.html ajVideoSpot), for a link
|
||||
// of the player's own; the trade list's help plays a video of ours.
|
||||
// a list the room plays by itself ("autoplay") opens nothing.
|
||||
if(param2 == null || param2.length == 0)
|
||||
{
|
||||
DarkenManager.showLoadingSpiral(false);
|
||||
if(param3 == null || param3.msg == null || String(param3.msg).indexOf("autoplay") == -1)
|
||||
{
|
||||
openVideoSpot(param1 == TRADE_HELP_LIST ? TRADE_HELP_VIDEO : "");
|
||||
}
|
||||
return;
|
||||
}
|
||||
if(param2.length > 1)
|
||||
@@ -143,6 +151,27 @@ package gui
|
||||
movieSelector.destroy();
|
||||
movieSelector = null;
|
||||
}
|
||||
openVideoSpot("close");
|
||||
}
|
||||
|
||||
// the trade list's "how to trade" video (AvatarEditor.onInfoBtnDown)
|
||||
private static const TRADE_HELP_LIST:int = 22;
|
||||
private static const TRADE_HELP_VIDEO:String = "dQw4w9WgXcQ";
|
||||
|
||||
// the game page's video box (game.html ajVideoSpot): a YouTube id to
|
||||
// play, "" for a link of the player's choosing, "close" to put it away
|
||||
public static function openVideoSpot(param1:String) : void
|
||||
{
|
||||
try
|
||||
{
|
||||
if(ExternalInterface.available)
|
||||
{
|
||||
ExternalInterface.call("ajVideoSpot",param1);
|
||||
}
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public static function togglePlayPauseVideoPlayer(param1:Boolean) : void
|
||||
|
||||
Reference in new issue
Block a user