From 63f40d60b518f935a6632f57df166e4386be7cf1 Mon Sep 17 00:00:00 2001 From: Martin Haye Date: Thu, 10 Jan 2019 09:45:40 -0800 Subject: [PATCH] Basics of storybook packing now operational. --- .../mythos/mythos-editor/html/editor.html | 25 +- .../mythos-editor/js/mythos_uncompressed.js | 16 + .../tools/A2Copy/nbproject/build-impl.xml | 725 +++++++++++++----- .../A2Copy/nbproject/genfiles.properties | 6 +- .../tools/A2Copy/nbproject/project.properties | 12 + .../nbproject/project.properties | 12 + .../src/org/badvision/A2PackPartitions.groovy | 100 ++- Platform/Apple/virtual/src/plasma/gamelib.plh | 3 + .../Apple/virtual/src/plasma/gameloop.pla | 11 + 9 files changed, 704 insertions(+), 206 deletions(-) diff --git a/OutlawEditor/src/main/resources/mythos/mythos-editor/html/editor.html b/OutlawEditor/src/main/resources/mythos/mythos-editor/html/editor.html index b1a4b322..a6f9b7cf 100644 --- a/OutlawEditor/src/main/resources/mythos/mythos-editor/html/editor.html +++ b/OutlawEditor/src/main/resources/mythos/mythos-editor/html/editor.html @@ -87,9 +87,9 @@ - + - + @@ -106,9 +106,26 @@ + + + + + + + + + + + + + + + + + - - + + diff --git a/OutlawEditor/src/main/resources/mythos/mythos-editor/js/mythos_uncompressed.js b/OutlawEditor/src/main/resources/mythos/mythos-editor/js/mythos_uncompressed.js index 4971b259..43208759 100644 --- a/OutlawEditor/src/main/resources/mythos/mythos-editor/js/mythos_uncompressed.js +++ b/OutlawEditor/src/main/resources/mythos/mythos-editor/js/mythos_uncompressed.js @@ -507,6 +507,22 @@ if (typeof Mythos === "undefined") { this.setTooltip('Print text and leave cursor at end of last printed character'); } }; + Blockly.Blocks['text_storybook'] = { + init: function () { + this.setHelpUrl(Mythos.helpUrl); + this.setColour(54); + this.setPreviousStatement(true); + this.setNextStatement(true); + this.appendValueInput("INTRO") + .appendField("Storybook: intro"); + this.appendValueInput("SHORT") + .appendField("short text"); + this.appendValueInput("LONG") + .appendField("long text"); + this.setOutput(false); + this.setTooltip('Show story text (floppy ver = intro+short, else intro+long)'); + } + }; Blockly.Blocks['text_getanykey'] = { init: function () { this.setHelpUrl(Mythos.helpUrl); diff --git a/Platform/Apple/tools/A2Copy/nbproject/build-impl.xml b/Platform/Apple/tools/A2Copy/nbproject/build-impl.xml index bcddb67c..b67d20d8 100644 --- a/Platform/Apple/tools/A2Copy/nbproject/build-impl.xml +++ b/Platform/Apple/tools/A2Copy/nbproject/build-impl.xml @@ -19,7 +19,7 @@ is divided into following sections: - cleanup --> - + @@ -46,14 +46,79 @@ is divided into following sections: - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -76,7 +141,9 @@ is divided into following sections: - + + + @@ -94,6 +161,9 @@ is divided into following sections: + + + @@ -156,6 +226,7 @@ is divided into following sections: + @@ -191,7 +262,12 @@ is divided into following sections: - + + + + + + @@ -217,6 +293,7 @@ is divided into following sections: + @@ -243,11 +320,80 @@ is divided into following sections: - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -284,11 +430,13 @@ is divided into following sections: - + + + @@ -317,7 +465,7 @@ is divided into following sections: - + @@ -372,30 +520,59 @@ is divided into following sections: - - + + - - - + - + + + + + + + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + @@ -403,25 +580,36 @@ is divided into following sections: - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -449,6 +637,10 @@ is divided into following sections: + + + + @@ -503,10 +695,6 @@ is divided into following sections: - - - - @@ -514,74 +702,20 @@ is divided into following sections: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - - + + + + + + @@ -600,14 +734,14 @@ is divided into following sections: - + - + @@ -634,14 +768,10 @@ is divided into following sections: - - - - - + - + @@ -693,7 +823,7 @@ is divided into following sections: - + @@ -721,10 +851,14 @@ is divided into following sections: + + + + @@ -743,18 +877,6 @@ is divided into following sections: - - - - - - - - - - - - @@ -764,38 +886,98 @@ is divided into following sections: + + - + - - - - - - - - - - - - - - - - - + + + + + + - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -813,6 +995,7 @@ is divided into following sections: + @@ -834,7 +1017,7 @@ is divided into following sections: - + @@ -846,7 +1029,7 @@ is divided into following sections: - + @@ -902,7 +1085,9 @@ is divided into following sections: - + + + @@ -943,7 +1128,7 @@ is divided into following sections: Must select some files in the IDE or set javac.includes - + @@ -963,21 +1148,40 @@ is divided into following sections: + + + + + + + + + + + + + + + + + + + - + - + - + @@ -985,7 +1189,7 @@ is divided into following sections: - + @@ -999,11 +1203,37 @@ is divided into following sections: + + + + + + + + - + + + + + + + + + + + + + + + + + + + @@ -1022,8 +1252,73 @@ is divided into following sections: - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + @@ -1261,10 +1611,14 @@ is divided into following sections: - + Must select some files in the IDE or set javac.includes - + + + + + @@ -1282,7 +1636,7 @@ is divided into following sections: - + @@ -1294,14 +1648,14 @@ is divided into following sections: - + Must select some files in the IDE or set test.includes Some tests failed; see details above. - + Must select some files in the IDE or set test.class Must select some method in the IDE or set test.method @@ -1310,7 +1664,7 @@ is divided into following sections: Some tests failed; see details above. - +