mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-18 17:27:50 -05:00
feat(client): add staff tooling and resilient room UI
Deliver the in-game moderation and event overlays, theatre playback bridge, room-effect controls, staff shortcuts, friend-game prompts, and Windows emoji handling fixes. Improve den editing with explicit front, behind, and natural stacking choices that persist without changing item position. Correct item display layers and custom artwork behavior, and make popup controls reliably closable. Include performance-mode settings, animation and input safeguards, and rebuild ajclient.swf from the patched sources so the served client exactly matches the feature set.
This commit is contained in:
1 parent
5c9b2e0066
commit
8babe9cb39
20 files changed
+742
-11
No files matched your search
@@ -523,6 +523,13 @@ package avatar
|
||||
_customPVPPassback = param4;
|
||||
gMainFrame.server.sendMessage((param1 ? "on" : "off") + RAW_STR + 12 + RAW_STR + param2);
|
||||
}
|
||||
|
||||
// A per-player counterpart to the party's room-wide pet form. The
|
||||
// server relays this as a normal user-communication message (type 13).
|
||||
public static function sendPetPlayerMode(param1:Boolean) : void
|
||||
{
|
||||
gMainFrame.server.sendMessage((param1 ? "on" : "off") + RAW_STR + 13);
|
||||
}
|
||||
|
||||
public static function onSendMessage(param1:MouseEvent, param2:String = "") : void
|
||||
{
|
||||
@@ -714,6 +721,13 @@ package avatar
|
||||
_customPVPMessageCallback = null;
|
||||
}
|
||||
}
|
||||
else if(_loc20_ == 13)
|
||||
{
|
||||
if(AvatarManager.avatarViewList[_loc19_])
|
||||
{
|
||||
AvatarManager.avatarViewList[_loc19_].setPetPlayerMode(_loc2_ == "on");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_loc2_ = param1[3];
|
||||
@@ -786,6 +800,17 @@ package avatar
|
||||
case 10:
|
||||
AvatarManager._setAvatarAlphaLevel(_loc19_,uint(param1[3]));
|
||||
return;
|
||||
// Server room effects: a temporary display-only scale.
|
||||
// Kept here (rather than in avatar state) so it never
|
||||
// becomes part of an animal's saved appearance.
|
||||
case 14:
|
||||
_loc3_ = Math.max(0.5,Math.min(1.5,Number(param1[3])));
|
||||
if(AvatarManager.avatarViewList[_loc19_])
|
||||
{
|
||||
AvatarManager.avatarViewList[_loc19_].scaleX = _loc3_;
|
||||
AvatarManager.avatarViewList[_loc19_].scaleY = _loc3_;
|
||||
}
|
||||
return;
|
||||
default:
|
||||
_loc14_ = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user