first commit

This commit is contained in:
2026-06-14 01:40:04 +02:00
commit 5511354783
4787 changed files with 103543 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 89 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 B

@@ -0,0 +1,4 @@
on(press){
gotoAndStop("_down");
play();
}
@@ -0,0 +1,5 @@
on(release){
gotoAndStop("_over");
play();
OnClicked(this);
}
@@ -0,0 +1,4 @@
on(rollOut){
gotoAndStop("_up");
play();
}
@@ -0,0 +1,4 @@
on(rollOver){
gotoAndStop("_over");
play();
}
@@ -0,0 +1,3 @@
onClipEvent(load){
gotoAndStop("_" + qualifyName(_parent._parent,"NumAvailablePoints"));
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!factionSkinned)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
factionSkinned = true;
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!factionSkinned)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
factionSkinned = true;
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!factionSkinned)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
factionSkinned = true;
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!factionSkinned)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
factionSkinned = true;
}
@@ -0,0 +1,3 @@
onClipEvent(load){
text = "$" + qualifyName(_parent._parent._parent,_parent.label + "ButtonLabel");
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!factionSkinned)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
factionSkinned = true;
}
@@ -0,0 +1,5 @@
on(construct){
_type = "RenderImage";
_imageMap = "";
_mode = "";
}
@@ -0,0 +1,3 @@
onClipEvent(load){
_imageMap = qualifyName(_parent._parent,"Image");
}
@@ -0,0 +1,3 @@
onClipEvent(load){
_visible = _parent._parent.selected;
}
@@ -0,0 +1,4 @@
on(construct){
_type = "RenderImageDisabled";
_imageMap = "";
}
@@ -0,0 +1,3 @@
onClipEvent(load){
_imageMap = qualifyName(_parent._parent,"Image");
}
@@ -0,0 +1,5 @@
on(construct){
_type = "RenderImage";
_imageMap = "";
_mode = "";
}
@@ -0,0 +1,3 @@
onClipEvent(load){
_imageMap = qualifyName(_parent._parent,"Image");
}
@@ -0,0 +1,60 @@
function SetVisibility(vis)
{
_visible = vis != 0;
}
function SetAvailability(availability)
{
gotoAndPlay(availability);
}
function SetSelected(selArg)
{
selected = selArg != 0;
content.selectedOverlay._visible = selected;
}
function SetDependenceUponPriorRow(dependenceArg)
{
arrow._visible = dependenceArg != 0;
}
function OnPress()
{
}
function OnRelease()
{
// Forbidden
getURL("FSCommand:" add qualifyName(this,"OnClicked"),"");
}
function OnRollOver()
{
// Forbidden
getURL("FSCommand:" add qualifyName(this,"OnRollOver"),"");
}
function OnRollOut()
{
// Forbidden
getURL("FSCommand:" add qualifyName(this,"OnRollOut"),"");
}
function GetHelpSite()
{
return Pointer.encode(_parent.helpSite);
}
function onUnload()
{
delete SetVisibility;
delete SetAvailability;
delete SetSelected;
delete SetDependenceUponPriorRow;
delete OnPress;
delete OnRelease;
delete OnRollOver;
delete OnRollOut;
delete GetHelpSite;
delete onUnload;
}
if(!initialized)
{
arrow._visible = false;
selected = false;
initialized = true;
// Forbidden
getURL("FSCommand:" add qualifyName(this,"OnInitialized"),"");
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!factionSkinned)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
factionSkinned = true;
}
@@ -0,0 +1,4 @@
on(construct){
vertAlignment = "top";
horzAlignment = "left";
}
@@ -0,0 +1,89 @@
function BindFunction(fn, obj)
{
return function(buttonClip)
{
fn.call(obj,buttonClip);
};
}
function Close()
{
if(!closing)
{
gotoAndStop("_close");
play();
closing = true;
}
}
function GetPurchaseButton(row, col)
{
return Pointer.encode(dialog.rows[String(row)][String(col)]);
}
function SetProgressToNextRank(progress)
{
var _loc1_ = Math.round(progress * 25) + 1;
dialog.ProgressMeter.gotoAndStop(_loc1_);
}
function SetNumAvailablePoints(points)
{
dialog.techPoints.gotoAndPlay("_" + String(points));
}
function OnConfirm()
{
// Forbidden
getURL("FSCommand:" add qualifyName(this,"OnConfirmClicked"),"");
if(!extern.InGame)
{
Close();
}
}
function OnCancel()
{
// Forbidden
getURL("FSCommand:" add qualifyName(this,"OnCancelClicked"),"");
if(!extern.InGame)
{
Close();
}
}
function OnClosed()
{
// Forbidden
getURL("FSCommand:" add qualifyName(this,"OnClosed"),"");
}
function GetHelpBox()
{
return Pointer.encode(helpBox);
}
function onUnload()
{
delete BindFunction;
delete Close;
delete GetPurchaseButton;
delete SetProgressToNextRank;
delete SetNumAvailablePoints;
delete OnConfirm;
delete OnCancel;
delete OnClosed;
delete GetHelpBox;
delete dialog.confirmButton.OnClicked;
delete dialog.cancelButton.OnClicked;
delete onUnload;
}
if(!initialized)
{
_parent.OnContentLoaded(this);
helpBox.loadMovie("HelpBox.swf");
dialog.confirmButton.OnClicked = BindFunction(OnConfirm,this);
dialog.cancelButton.OnClicked = BindFunction(OnCancel,this);
initialized = true;
// Forbidden
getURL("FSCommand:" add qualifyName(this,"OnInitialized"),"");
}
dialog._visible = false;
if(!extern.InGame)
{
_global.qualifyName = function(clip, label)
{
return String(clip) + ":" + label;
};
}
@@ -0,0 +1,2 @@
stop();
OnClosed();
@@ -0,0 +1 @@
dialog._visible = true;
@@ -0,0 +1 @@
CONFIRM
@@ -0,0 +1 @@
CONFIRM

Some files were not shown because too many files have changed in this diff Show More