diff options
Diffstat (limited to 'kon/konfx.h')
| -rw-r--r-- | kon/konfx.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kon/konfx.h b/kon/konfx.h index 0a7a913..cab36f2 100644 --- a/kon/konfx.h +++ b/kon/konfx.h @@ -76,6 +76,11 @@ void kon_screenfxApplyScene(const kon_screenfx_t *fx, kon_framebuffer_t *fb); void kon_screenfxApplyOverlay(const kon_screenfx_t *fx, kon_framebuffer_t *fb); void kon_screenfxApply(const kon_screenfx_t *fx, kon_framebuffer_t *fb); +/* the RPG Maker screen commands the way mzscript writes them: 221 fadeout, 222 fadein, 223 tint, 224 flash, 225 shake. + returns -1 when the code is not one of those, 0 when it is done, 1 when the script is meant to wait. that wait is over + when kon_screenfxBusy says 0, so the host function returns 1 and you call kon_scriptResume then */ +int kon_screenfxHost(kon_screenfx_t *fx, int code, int b, int c, int d, const char *text); + #ifdef __cplusplus } |
