X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=d7e186ee4fa683b7c577c7416d611d26e3c2e4a3;hb=5ac0a484d6e3398aa3174e1d1f2be9b3e3561bd0;hp=a860b77a2a3a4336bc883c92f6c902f97356bfd8;hpb=b3ae7bccfb9f4ed16e26631fee072fa011f9847e;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index a860b77..d7e186e 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -100,6 +100,10 @@ typedef struct _ActionTAG U8 tmp[4]; // store small operands here. } ActionTAG; +typedef struct _ActionMarker +{ + ActionTAG* atag; +} ActionMarker; typedef struct _SWF { U8 fileVersion; @@ -425,8 +429,30 @@ int swf_ObjectMove(TAG * t,U16 depth,MATRIX * m,CXFORM * cx); #define BC_PAGEUP 0x2000 #define BC_PAGEDOWN 0x2200 #define BC_TAB 0x2400 +#define BC_ESCAPE 0x3600 #define BC_SPACE 0x4000 +/* these are probably only valid with linux: + Ctrl-A 0x0200 + Ctrl-X 0x3000 + Ctrl-Y 0x3200 + Ctrl-Z 0x3400 + Escape/Ctrl-[ 0x3600 + Ctrl-\ 0x3800 + Ctrl-] 0x3a00 + Ctrl-^ 0x3c00 + Ctrl-/ 0x3e00 + */ + +/* everything above 0x4000 is standard ascii: + 0x4000 ' ' 0x4200 '!' 0x4600 '#' 0x4800 '$' 0x4a00 '%' 0x4c00 '&' ... + 0x6000 '0' ... 0x7200 '9' + 0x8000 '@' + 0x8200 'A' ... 0xb400 'Z' + ... + 0xfc00 '~' + */ + // Button Flag #define BF_TRACKMENU 0x01 @@ -590,5 +616,7 @@ void action_If(U16 branch); void action_Call(); void action_GotoFrame2(U8 method); void swf_ActionEnd(); +ActionMarker action_setMarker(); +void action_fixjump(ActionMarker m1, ActionMarker m2); #endif