From 18a8514997b9ff68cefeb1bb1ffe4eeb75d1de7c Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Sat, 8 Jun 2013 13:16:31 +0000 Subject: start on api --- api.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'api.txt') 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) -- cgit v1.2.3-54-g00ecf