mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 01:27:51 -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
@@ -605,7 +605,7 @@ package avatar
|
||||
_hudViewHolder.mouse.gotoAndStop(offScreenDefaultMouseFrameLabel());
|
||||
}
|
||||
}
|
||||
_shouldShowPetOnly = GuiManager.isBeYourPetRoom();
|
||||
_shouldShowPetOnly = GuiManager.isBeYourPetRoom() || userId == AvatarManager.playerSfsUserId && GuiManager.isPlayingAsPet();
|
||||
if(_shouldShowPetOnly)
|
||||
{
|
||||
_layerAnim.alpha = 0;
|
||||
@@ -2079,6 +2079,7 @@ package avatar
|
||||
if(param2 != 0 && PetManager.canCurrAvatarUsePet(_avatar.enviroTypeFlag,PetManager.getPetDef(param2 & 0xFF),param1))
|
||||
{
|
||||
_pet = new WorldPet(this,param1,param2,param3,param4,param6,param8,param7,param9);
|
||||
_currPetName = LocalizationManager.translatePetName(param5);
|
||||
}
|
||||
if(_shouldShowPetOnly)
|
||||
{
|
||||
@@ -2095,6 +2096,34 @@ package avatar
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Called from the type-13 user communication message. Unlike the
|
||||
// party/quest form this belongs to one avatar, so each view keeps its
|
||||
// own state instead of asking the room-wide GuiManager predicate.
|
||||
public function setPetPlayerMode(param1:Boolean) : void
|
||||
{
|
||||
var _loc2_:Boolean = param1 && _pet != null;
|
||||
_shouldShowPetOnly = _loc2_ || GuiManager.isBeYourPetRoom();
|
||||
_layerAnim.alpha = _shouldShowPetOnly ? 0 : 1;
|
||||
_layerAnim.avatarEnabled = !_shouldShowPetOnly;
|
||||
if(_shouldShowPetOnly && _pet)
|
||||
{
|
||||
if(!isActivePetGroundPet())
|
||||
{
|
||||
_splash.showShadow(false);
|
||||
}
|
||||
_namebar.setAvName(_currPetName);
|
||||
}
|
||||
else
|
||||
{
|
||||
_splash.showShadow(true);
|
||||
_namebar.setAvName(_avatar.avName);
|
||||
}
|
||||
if(userId == AvatarManager.playerSfsUserId)
|
||||
{
|
||||
GuiManager.setPersonalPetMode(_loc2_);
|
||||
}
|
||||
}
|
||||
|
||||
public function getActivePet() : WorldPet
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user