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
@@ -92,7 +92,8 @@ set -- \
|
||||
gui.SitForwardAction SitForwardAction.as \
|
||||
avatar.AvatarUtility AvatarUtility.as \
|
||||
item.Item Item.as \
|
||||
loader.DenItemHelper DenItemHelper.as
|
||||
loader.DenItemHelper DenItemHelper.as \
|
||||
room.DenItemHolder ../tools/decompiled/room/DenItemHolder.as
|
||||
# not in the game: added before the replace (game.ArtStudioKit is Strawberry
|
||||
# Jam's, shared by its two art studio painters; gui.SitForwardAction is the
|
||||
# action of sitting facing forward)
|
||||
|
||||
@@ -148,6 +148,40 @@ package room
|
||||
{
|
||||
return _dragItem != null;
|
||||
}
|
||||
|
||||
// The original editor only sorted furniture from its y position. These
|
||||
// helpers give the replacement editor an explicit, persisted choice.
|
||||
// Bits 2-3 of `flipped` are unused by the game's flip code, so the
|
||||
// normal horizontal/vertical flip bits remain intact in bits 0-1.
|
||||
public function sendSelectedBehind() : Boolean
|
||||
{
|
||||
return setSelectedStacking(1);
|
||||
}
|
||||
|
||||
public function bringSelectedToFront() : Boolean
|
||||
{
|
||||
return setSelectedStacking(2);
|
||||
}
|
||||
|
||||
public function resetSelectedStacking() : Boolean
|
||||
{
|
||||
return setSelectedStacking(0);
|
||||
}
|
||||
|
||||
private function setSelectedStacking(param1:int) : Boolean
|
||||
{
|
||||
if(_dragItem == null || _dragItem.layerId == 1 || isTheme(_dragItem.sortCatId) || _dragItem.sortCatId == 4)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
_dragItem.flipped = _dragItem.flipped & -13 | param1 << 2;
|
||||
if(_dragItem.denItemHelper && _dragItem.denItemHelper.displayObject)
|
||||
{
|
||||
_dragItem.denItemHelper.displayObject.name = String(_dragItem.denItemHelper.sortOffset);
|
||||
}
|
||||
saveState(_dragItem.invIdx);
|
||||
return true;
|
||||
}
|
||||
|
||||
public function get lastSelectedItem() : DenStateItem
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user