summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-06-08 13:16:31 +0000
committerAlex Xu <alex_y_xu@yahoo.ca>2013-06-08 13:16:31 +0000
commit18a8514997b9ff68cefeb1bb1ffe4eeb75d1de7c (patch)
tree240891f6cf7888e545f4cfe08770dbc47fc9a262 /api.txt
parentb08abbc6b196c055b26163c58c795bf09b2bb2c1 (diff)
downloadhtml5ks-18a8514997b9ff68cefeb1bb1ffe4eeb75d1de7c.tar.xz
html5ks-18a8514997b9ff68cefeb1bb1ffe4eeb75d1de7c.zip
start on api
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/api.txt b/api.txt
index 17d3213..eff997e 100644
--- a/api.txt
+++ b/api.txt
@@ -1,18 +1,20 @@
== imachine{,_replay} api ==
label * -> function
-jump_out -> save & register & call
-call -> ''
+jump_out -> seen_scenes & call
+call -> call
seen_scene(scene) -> return label in seen_scenes
int attraction_*
path_end(chr, is_good)
-iscene(name, is_h, is_end)
-act_op(movie)
-imenu(choice)
+iscene(name, is_h, is_end) -> promise
+✓ act_op(movie) -> promise
+imenu(choice) -> promise
== script api ==
chars: in ui_settings.rpy
e.g. his(text) -> promise
with(transition, action) -> promise
+play(stream, name, fade)
+stream: sound,music,ambient
== prefs ==
h-scenes (tied to shrinkwrap)