Use rename identifiers

This commit is contained in:
Pyogenics
2025-05-09 18:28:28 +01:00
parent 00c1611d1b
commit c9a017270b
340 changed files with 15000 additions and 15000 deletions

View File

@@ -27,11 +27,11 @@ package tankshudDemo
private static const GAP_BEEWEN_BUTTON:int = 1;
private var §_-d0§:Bitmap;
private var var_60:Bitmap;
private var §_-7U§:Bitmap;
private var var_58:Bitmap;
private var §_-4m§:Bitmap;
private var var_57:Bitmap;
private var fullScreenButtonState1:Bitmap;
@@ -41,11 +41,11 @@ package tankshudDemo
private var nextTankButtonState2:Bitmap;
private var §_-at§:Sprite;
private var var_55:Sprite;
private var §_-I5§:Sprite;
private var var_56:Sprite;
private var §_-kn§:Boolean;
private var var_59:Boolean;
public function TanksHudDemo()
{
@@ -58,102 +58,102 @@ package tankshudDemo
tabEnabled = false;
tabChildren = false;
mouseEnabled = false;
this.§_-d0§ = new topLeftIconClass();
addChild(this.§_-d0§);
this.§_-7U§ = new topRightIconClass();
addChild(this.§_-7U§);
this.§_-4m§ = new bottomLeftIconClass();
addChild(this.§_-4m§);
this.§_-at§ = new Sprite();
this.§_-at§.mouseChildren = false;
addChild(this.§_-at§);
this.var_60 = new topLeftIconClass();
addChild(this.var_60);
this.var_58 = new topRightIconClass();
addChild(this.var_58);
this.var_57 = new bottomLeftIconClass();
addChild(this.var_57);
this.var_55 = new Sprite();
this.var_55.mouseChildren = false;
addChild(this.var_55);
this.fullScreenButtonState1 = new fullScreenState1Class();
this.§_-at§.addChild(this.fullScreenButtonState1);
this.var_55.addChild(this.fullScreenButtonState1);
this.fullScreenButtonState2 = new fullScreenState2Class();
this.§_-at§.addChild(this.fullScreenButtonState2);
this.§_-at§.addEventListener(MouseEvent.ROLL_OVER,this.onOverFullScreenBtn);
this.§_-at§.addEventListener(MouseEvent.ROLL_OUT,this.onOutFullScreenBtn);
this.§_-at§.addEventListener(MouseEvent.CLICK,this.onClickFullScreenBtn);
this.var_55.addChild(this.fullScreenButtonState2);
this.var_55.addEventListener(MouseEvent.ROLL_OVER,this.onOverFullScreenBtn);
this.var_55.addEventListener(MouseEvent.ROLL_OUT,this.onOutFullScreenBtn);
this.var_55.addEventListener(MouseEvent.CLICK,this.onClickFullScreenBtn);
this.isFullScreen = false;
this.§_-I5§ = new Sprite();
this.§_-I5§.mouseChildren = false;
addChild(this.§_-I5§);
this.var_56 = new Sprite();
this.var_56.mouseChildren = false;
addChild(this.var_56);
this.nextTankButtonState1 = new nextTankState1Class();
this.§_-I5§.addChild(this.nextTankButtonState1);
this.var_56.addChild(this.nextTankButtonState1);
this.nextTankButtonState2 = new nextTankState2Class();
this.§_-I5§.addChild(this.nextTankButtonState2);
this.var_56.addChild(this.nextTankButtonState2);
this.nextTankButtonState2.visible = false;
this.§_-I5§.addEventListener(MouseEvent.ROLL_OVER,this.onOverNextTankBtn);
this.§_-I5§.addEventListener(MouseEvent.ROLL_OUT,this.onOutNextTankBtn);
this.§_-I5§.addEventListener(MouseEvent.CLICK,this.onClickNextTankBtn);
this.var_56.addEventListener(MouseEvent.ROLL_OVER,this.onOverNextTankBtn);
this.var_56.addEventListener(MouseEvent.ROLL_OUT,this.onOutNextTankBtn);
this.var_56.addEventListener(MouseEvent.CLICK,this.onClickNextTankBtn);
}
public function destroy() : void
{
if(this.§_-d0§ != null)
if(this.var_60 != null)
{
removeChild(this.§_-d0§);
removeChild(this.var_60);
}
if(this.§_-7U§ != null)
if(this.var_58 != null)
{
removeChild(this.§_-7U§);
removeChild(this.var_58);
}
if(this.§_-4m§ != null)
if(this.var_57 != null)
{
removeChild(this.§_-4m§);
removeChild(this.var_57);
}
if(this.§_-at§ != null)
if(this.var_55 != null)
{
this.§_-at§.removeEventListener(MouseEvent.ROLL_OVER,this.onOverFullScreenBtn);
this.§_-at§.removeEventListener(MouseEvent.ROLL_OUT,this.onOutFullScreenBtn);
this.§_-at§.removeEventListener(MouseEvent.CLICK,this.onClickFullScreenBtn);
removeChild(this.§_-at§);
this.var_55.removeEventListener(MouseEvent.ROLL_OVER,this.onOverFullScreenBtn);
this.var_55.removeEventListener(MouseEvent.ROLL_OUT,this.onOutFullScreenBtn);
this.var_55.removeEventListener(MouseEvent.CLICK,this.onClickFullScreenBtn);
removeChild(this.var_55);
}
if(this.§_-I5§ != null)
if(this.var_56 != null)
{
this.§_-I5§.removeEventListener(MouseEvent.ROLL_OVER,this.onOverNextTankBtn);
this.§_-I5§.removeEventListener(MouseEvent.ROLL_OUT,this.onOutNextTankBtn);
this.§_-I5§.removeEventListener(MouseEvent.CLICK,this.onClickNextTankBtn);
removeChild(this.§_-I5§);
this.var_56.removeEventListener(MouseEvent.ROLL_OVER,this.onOverNextTankBtn);
this.var_56.removeEventListener(MouseEvent.ROLL_OUT,this.onOutNextTankBtn);
this.var_56.removeEventListener(MouseEvent.CLICK,this.onClickNextTankBtn);
removeChild(this.var_56);
}
this.§_-d0§ = null;
this.§_-7U§ = null;
this.§_-4m§ = null;
this.§_-at§ = null;
this.§_-I5§ = null;
this.var_60 = null;
this.var_58 = null;
this.var_57 = null;
this.var_55 = null;
this.var_56 = null;
}
public function resize(param1:Number, param2:Number) : void
{
if(this.§_-7U§ != null)
if(this.var_58 != null)
{
this.§_-7U§.x = param1 - this.§_-7U§.width;
this.var_58.x = param1 - this.var_58.width;
}
if(this.§_-4m§ != null)
if(this.var_57 != null)
{
this.§_-4m§.y = param2 - this.§_-4m§.height;
this.var_57.y = param2 - this.var_57.height;
}
if(this.§_-at§ != null)
if(this.var_55 != null)
{
this.§_-at§.x = param1 - this.§_-at§.width - GAP_RIGHT;
this.§_-at§.y = param2 - this.§_-at§.height - GAP_BOTTOM;
this.var_55.x = param1 - this.var_55.width - GAP_RIGHT;
this.var_55.y = param2 - this.var_55.height - GAP_BOTTOM;
}
if(this.§_-I5§ != null)
if(this.var_56 != null)
{
this.§_-I5§.x = param1 - this.§_-at§.width - this.§_-I5§.width - GAP_BEEWEN_BUTTON - GAP_RIGHT;
this.§_-I5§.y = param2 - this.§_-I5§.height - GAP_BOTTOM;
this.var_56.x = param1 - this.var_55.width - this.var_56.width - GAP_BEEWEN_BUTTON - GAP_RIGHT;
this.var_56.y = param2 - this.var_56.height - GAP_BOTTOM;
}
}
public function get isFullScreen() : Boolean
{
return this.§_-kn§;
return this.var_59;
}
public function set isFullScreen(param1:Boolean) : void
{
this.§_-kn§ = param1;
if(this.§_-kn§ == false)
this.var_59 = param1;
if(this.var_59 == false)
{
this.fullScreenButtonState2.visible = false;
}
@@ -165,7 +165,7 @@ package tankshudDemo
private function onOverFullScreenBtn(param1:MouseEvent) : void
{
if(this.§_-kn§ == false)
if(this.var_59 == false)
{
this.fullScreenButtonState2.visible = true;
}
@@ -173,7 +173,7 @@ package tankshudDemo
private function onOutFullScreenBtn(param1:MouseEvent) : void
{
if(this.§_-kn§ == false)
if(this.var_59 == false)
{
this.fullScreenButtonState2.visible = false;
}
@@ -181,7 +181,7 @@ package tankshudDemo
private function onClickFullScreenBtn(param1:MouseEvent) : void
{
this.isFullScreen = !this.§_-kn§;
this.isFullScreen = !this.var_59;
dispatchEvent(new Event("CLICK_FULL_SCREEN_BUTTON"));
}