T2RPG: Initial commit of ironsphererpg directory

Taking everything obtained from http://ironsphererpg2.webs.com/ and dumping it in a git repo
This commit is contained in:
Jusctsch5 2015-01-18 21:06:06 -06:00
parent fe9e2d05d1
commit a5143b67f7
1730 changed files with 186051 additions and 0 deletions

24
scripts/RPGEscapeMenu.cs Normal file
View file

@ -0,0 +1,24 @@
function RPGEscapeMenu::onWake(%this)
{
if (!isObject(EscMM))
{
new ActionMap(EscMM);
EscMM.bindCmd(keyboard, "escape", "", "RPGReturnToGame();");
}
MoveMap.pop();
EscMM.push();
}
function RPGEscapeMenu::onSleep(%this)
{
EscMM.pop();
MoveMap.push();
}
function escapeFromGame()
{
canvas.pushDialog(RPGEscapeMenu);
}
function RPGReturnToGame()
{
canvas.popDialog(RPGEscapeMenu);
}
loadgui("RPGEscapeMenu");