-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathAN_CODES.H
50 lines (42 loc) · 1.56 KB
/
AN_CODES.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef _AN_CODES_H_
#define _AN_CODES_H_
//--------------------------------------------------------------------------
//
// ANIM CODES - DOCS
//
//--------------------------------------------------------------------------
//
// FI - Fade In the current frame (Last Frame grabbed)
// FO - Fade Out the current frame (Last Frame grabbed)
// FB - Fade In with rate (a numeral value should follow in the script)
// ** MUST be a divisor of 64
// FE - Fade Out with rate (a numeral value should follow in the script)
// ** MUST be a divisor of 64
// SD - Play sounds (a numeral value should follow in the script)
// GR - Graphic Page (full screen)
//
// PA - Pause/Delay 'xxxxxx' number of VBLs
//
//
//
//
//
//--------------------------------------------------------------------------
//
// MACROS
//
//--------------------------------------------------------------------------
#define MV_CNVT_CODE(c1,c2) ((unsigned)((c1)|(c2<<8)))
#define AN_PAUSE MV_CNVT_CODE('P','A')
#define AN_SOUND MV_CNVT_CODE('S','D')
#define AN_MUSIC MV_CNVT_CODE('M','U')
#define AN_PAGE MV_CNVT_CODE('G','R')
#define AN_FADE_IN_FRAME MV_CNVT_CODE('F','I')
#define AN_FADE_OUT_FRAME MV_CNVT_CODE('F','O')
#define AN_FADE_IN MV_CNVT_CODE('F','B')
#define AN_FADE_OUT MV_CNVT_CODE('F','E')
#define AN_PALETTE MV_CNVT_CODE('P','L')
#define AN_PRELOAD_BEGIN MV_CNVT_CODE('L','B')
#define AN_PRELOAD_END MV_CNVT_CODE('L','E')
#define AN_END_OF_ANIM MV_CNVT_CODE('X','X')
#endif