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:
Snipzil committed 2026-10-19 10:10:11 -04:00
1 parent 5c9b2e0066
commit 8babe9cb39
20 files changed
+742 -11

No files matched your search

+36
View File
@@ -151,6 +151,7 @@ package room
gMainFrame.stage.removeEventListener("deactivate",onDeactivate);
gMainFrame.stage.removeEventListener("keyDown",onKeyDownEvt);
gMainFrame.stage.removeEventListener("keyUp",onKeyUpEvt);
removeAndClearMiniMap();
}
override public function exitRoom(param1:Boolean = false) : void
@@ -380,6 +381,11 @@ package room
public function removeAndClearMiniMap() : void
{
var _loc1_:MovieClip = null;
for each(_loc1_ in _miniMaps)
{
disposeMiniMap(_loc1_);
}
if(_miniMap && _miniMap.parent)
{
_miniMap.parent.removeChild(_miniMap);
@@ -387,6 +393,36 @@ package room
_miniMap = null;
_miniMaps = new Dictionary();
}
// The minimap grid and trail are BitmapData made for this room. Flash
// may keep their native allocations after the display clips are dropped,
// particularly after visiting many rooms, so release only those buffers
// when the cache is intentionally cleared.
private function disposeMiniMap(param1:MovieClip) : void
{
var _loc1_:Bitmap = null;
try
{
if(param1 != null && param1.numChildren > 1)
{
_loc1_ = param1.getChildAt(1) as Bitmap;
if(_loc1_ != null && _loc1_.bitmapData != null)
{
_loc1_.bitmapData.dispose();
_loc1_.bitmapData = null;
}
}
_loc1_ = param1 != null && param1.overlay is Bitmap ? Bitmap(param1.overlay) : null;
if(_loc1_ != null && _loc1_.bitmapData != null)
{
_loc1_.bitmapData.dispose();
_loc1_.bitmapData = null;
}
}
catch(e:Error)
{
}
}
public function removeMiniMap() : void
{