Merge branch 'development' into imageAsset_refactor_rev3

This commit is contained in:
marauder2k7 2025-03-24 20:07:06 +00:00 committed by GitHub
commit 0da0903599
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4189 changed files with 29881 additions and 635347 deletions

View file

@ -37,12 +37,18 @@ function PlayGui::onWake(%this)
if(isObject(moveMap))
moveMap.push();
callOnModules("Playgui_onWake");
%modulesIDList = getModulesAndGameModesList(true, "Game");
%numModsNeedingLoaded = getNumCanCallOnObjectList("Playgui_onWake", %modulesIDList);
if (%numModsNeedingLoaded)
callOnObjectList("Playgui_onWake", %modulesIdList);
}
function PlayGui::onSleep(%this)
{
callOnModules("Playgui_onSleep");
%modulesIDList = getModulesAndGameModesList(true, "Game");
%numModsNeedingLoaded = getNumCanCallOnObjectList("Playgui_onSleep", %modulesIDList);
if (%numModsNeedingLoaded)
callOnObjectList("Playgui_onSleep", %modulesIdList);
// pop the keymaps
if(isObject(moveMap))
@ -51,7 +57,11 @@ function PlayGui::onSleep(%this)
function PlayGui::clearHud( %this )
{
callOnModules("Playgui_clearHud");
%modulesIDList = getModulesAndGameModesList(true, "Game");
%numModsNeedingLoaded = getNumCanCallOnObjectList("Playgui_clearHud", %modulesIDList);
if (%numModsNeedingLoaded)
callOnObjectList("Playgui_clearHud", %modulesIdList);
Canvas.popDialog( MainChatHud );
while ( %this.getCount() > 0 )