home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-09-01 | 4.6 KB | [TEXT/MPCC] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: AnimControl.h
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Thu Sep 1 16:16:43 1994, modified Thu Sep 1 16:16:43 1994, creator 'MPCC', type ASCII, 4101 bytes "AnimControl.h" , at 0x1085 382 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPCC] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 41 6e 69 6d 43 6f | 6e 74 72 6f 6c 2e 68 00 |..AnimCo|ntrol.h.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 43 | 43 00 00 00 00 00 00 00 |.TEXTMPC|C.......|
|00000050| 00 00 00 00 00 10 05 00 | 00 01 7e aa 8b e7 2b aa |........|..~...+.|
|00000060| 8b e7 2b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..+.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d8 05 00 00 |........|........|
|00000080| 0d 2f 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |./******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 0d 20 |********|******. |
|000000b0| 2a 2a 2a 2a 20 41 6e 69 | 6d 61 74 69 6f 6e 20 43 |**** Ani|mation C|
|000000c0| 6c 61 73 73 20 4c 69 62 | 72 61 72 79 20 56 31 2e |lass Lib|rary V1.|
|000000d0| 30 20 a9 20 31 39 39 34 | 20 59 76 65 73 20 53 63 |0 . 1994| Yves Sc|
|000000e0| 68 6d 69 64 20 26 20 41 | 6c 69 61 20 44 65 76 65 |hmid & A|lia Deve|
|000000f0| 6c 6f 70 6d 65 6e 74 0d | 20 2a 2a 2a 2a 0d 20 2a |lopment.| ****. *|
|00000100| 2a 2a 2a 20 41 6e 69 6d | 43 6f 6e 74 72 6f 6c 2e |*** Anim|Control.|
|00000110| 68 0d 20 2a 2a 2a 2a 0d | 20 2a 2a 2a 2a 20 43 72 |h. ****.| **** Cr|
|00000120| 65 61 74 65 64 3a 20 20 | 20 20 20 20 31 39 20 4d |eated: | 19 M|
|00000130| 61 79 20 31 39 39 34 0d | 20 2a 2a 2a 2a 20 4d 6f |ay 1994.| **** Mo|
|00000140| 64 69 66 69 65 64 3a 20 | 20 20 20 20 30 31 20 53 |dified: | 01 S|
|00000150| 65 70 74 65 6d 62 72 65 | 20 31 39 39 34 0d 20 2a |eptembre| 1994. *|
|00000160| 2a 2a 2a 20 56 65 72 73 | 69 6f 6e 3a 20 20 20 20 |*** Vers|ion: |
|00000170| 20 20 30 0d 20 2a 2a 2a | 2a 20 43 6f 6d 70 61 74 | 0. ***|* Compat|
|00000180| 69 62 6c 65 3a 20 20 20 | 43 2b 2b 2c 20 4d 61 63 |ible: |C++, Mac|
|00000190| 20 53 79 73 74 65 6d 20 | 37 0d 20 2a 2a 2a 2a 0d | System |7. ****.|
|000001a0| 20 2a 2a 2a 2a 20 44 65 | 73 63 72 69 70 74 69 6f | **** De|scriptio|
|000001b0| 6e 3a 20 20 44 65 66 69 | 6e 69 74 69 6f 6e 73 20 |n: Defi|nitions |
|000001c0| 66 6f 72 20 63 6f 6e 74 | 72 6f 6c 20 63 6f 6d 6d |for cont|rol comm|
|000001d0| 61 6e 64 73 2e 0d 20 2a | 2a 2a 2a 09 09 09 0d 20 |ands.. *|***.... |
|000001e0| 2a 2a 2a 2a 0d 20 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |****. **|********|
|000001f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2f 0d 0d 0d 23 69 66 |********|*/...#if|
|00000200| 6e 64 65 66 20 41 6e 69 | 6d 43 6f 6e 74 72 6f 6c |ndef Ani|mControl|
|00000210| 5f 48 0d 23 64 65 66 69 | 6e 65 20 41 6e 69 6d 43 |_H.#defi|ne AnimC|
|00000220| 6f 6e 74 72 6f 6c 5f 48 | 0d 0d 0d 23 69 6e 63 6c |ontrol_H|...#incl|
|00000230| 75 64 65 20 22 43 6f 72 | 65 48 65 61 64 2e 68 22 |ude "Cor|eHead.h"|
|00000240| 0d 0d 0d 63 6c 61 73 73 | 20 41 6e 69 6d 43 4f 62 |...class| AnimCOb|
|00000250| 6a 65 63 74 3b 0d 0d 2f | 2f 2e 2e 2e 2e 2e 2e 2e |ject;../|/.......|
|00000260| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00000270| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 0d 2f 2f 20 42 75 69 |........|..// Bui|
|00000280| 6c 64 20 61 20 6c 69 6e | 6b 65 64 20 6c 69 73 74 |ld a lin|ked list|
|00000290| 20 77 69 74 68 20 41 6e | 69 6d 43 6f 6e 74 72 6f | with An|imContro|
|000002a0| 6c 20 73 74 72 75 63 74 | 75 72 65 73 20 28 65 6e |l struct|ures (en|
|000002b0| 64 65 64 20 77 69 74 68 | 20 22 6e 65 78 74 22 3d |ded with| "next"=|
|000002c0| 4e 55 4c 4c 29 20 61 6e | 64 0d 2f 2f 20 70 61 73 |NULL) an|d.// pas|
|000002d0| 73 20 69 74 20 74 6f 20 | 61 6e 20 41 6e 69 6d 20 |s it to |an Anim |
|000002e0| 6f 62 6a 65 63 74 2e 0d | 0d 0d 73 74 72 75 63 74 |object..|..struct|
|000002f0| 20 41 6e 69 6d 43 6f 6e | 74 72 6f 6c 0d 7b 0d 09 | AnimCon|trol.{..|
|00000300| 73 68 6f 72 74 09 09 09 | 63 6d 64 3b 09 09 09 2f |short...|cmd;.../|
|00000310| 2f 20 43 6f 6d 6d 61 6e | 64 0d 09 66 6c 6f 61 74 |/ Comman|d..float|
|00000320| 09 09 09 78 2c 79 3b 09 | 09 09 2f 2f 20 43 6f 6f |...x,y;.|..// Coo|
|00000330| 72 64 69 6e 61 74 65 73 | 0d 09 66 6c 6f 61 74 09 |rdinates|..float.|
|00000340| 09 09 63 78 2c 63 79 3b | 09 09 09 2f 2f 20 46 6f |..cx,cy;|...// Fo|
|00000350| 72 20 63 75 72 76 65 73 | 0d 09 66 6c 6f 61 74 09 |r curves|..float.|
|00000360| 09 09 73 70 65 65 64 3b | 09 09 09 2f 2f 20 53 70 |..speed;|...// Sp|
|00000370| 65 65 64 20 69 6e 20 70 | 69 78 65 6c 73 0d 09 66 |eed in p|ixels..f|
|00000380| 6c 6f 61 74 09 09 09 61 | 63 63 65 6c 65 72 61 74 |loat...a|ccelerat|
|00000390| 69 6f 6e 3b 09 2f 2f 20 | 41 63 63 65 6c 65 72 61 |ion;.// |Accelera|
|000003a0| 74 69 6f 6e 20 69 6e 20 | 70 69 78 65 6c 73 0d 09 |tion in |pixels..|
|000003b0| 6c 6f 6e 67 09 09 09 73 | 65 71 75 65 6e 63 65 3b |long...s|equence;|
|000003c0| 09 09 2f 2f 20 41 20 73 | 65 71 75 65 6e 63 65 20 |..// A s|equence |
|000003d0| 6e 75 6d 62 65 72 0d 09 | 6c 6f 6e 67 09 09 09 77 |number..|long...w|
|000003e0| 61 69 74 3b 09 09 09 2f | 2f 20 57 61 69 74 20 76 |ait;.../|/ Wait v|
|000003f0| 61 6c 75 65 0d 09 75 6e | 73 69 67 6e 65 64 20 6c |alue..un|signed l|
|00000400| 6f 6e 67 09 64 61 74 61 | 3b 09 09 09 2f 2f 20 44 |ong.data|;...// D|
|00000410| 61 74 61 0d 09 41 6e 69 | 6d 43 6f 6e 74 72 6f 6c |ata..Ani|mControl|
|00000420| 09 09 2a 6e 65 78 74 3b | 09 09 09 2f 2f 20 41 20 |..*next;|...// A |
|00000430| 70 6f 69 6e 74 65 72 20 | 6f 6e 20 74 68 65 20 6e |pointer |on the n|
|00000440| 65 78 74 20 41 6e 69 6d | 43 6f 6e 74 72 6f 6c 20 |ext Anim|Control |
|00000450| 6f 72 20 4e 55 4c 4c 2e | 0d 09 09 09 09 09 09 09 |or NULL.|........|
|00000460| 09 09 2f 2f 20 59 6f 75 | 20 63 61 6e 20 63 72 65 |..// You| can cre|
|00000470| 61 74 65 20 61 20 6c 6f | 6f 70 20 62 79 20 70 6f |ate a lo|op by po|
|00000480| 69 6e 74 69 6e 67 20 6e | 65 78 74 20 74 6f 20 61 |inting n|ext to a|
|00000490| 0d 09 09 09 09 09 09 09 | 09 09 2f 2f 20 70 72 65 |........|..// pre|
|000004a0| 76 69 6f 75 73 20 63 6f | 6d 6d 61 6e 64 2e 0d 0d |vious co|mmand...|
|000004b0| 09 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 09 75 |.unsigne|d long.u|
|000004c0| 73 65 72 49 44 3b 09 09 | 09 2f 2f 20 55 73 65 20 |serID;..|.// Use |
|000004d0| 74 68 69 73 20 65 6e 74 | 72 79 20 6c 69 6b 65 20 |this ent|ry like |
|000004e0| 79 6f 75 20 77 61 6e 74 | 0d 09 0d 09 76 6f 69 64 |you want|....void|
|000004f0| 09 09 09 28 2a 65 6e 64 | 70 72 6f 63 29 28 41 6e |...(*end|proc)(An|
|00000500| 69 6d 43 4f 62 6a 65 63 | 74 2a 2c 20 41 6e 69 6d |imCObjec|t*, Anim|
|00000510| 43 6f 6e 74 72 6f 6c 2a | 29 3b 20 2f 2f 20 4e 55 |Control*|); // NU|
|00000520| 4c 4c 20 6f 72 20 61 20 | 70 6f 69 6e 74 65 72 20 |LL or a |pointer |
|00000530| 6f 6e 20 61 20 66 75 6e | 63 74 69 6f 6e 0d 09 09 |on a fun|ction...|
|00000540| 09 09 09 09 09 09 09 09 | 09 09 09 09 2f 2f 20 77 |........|....// w|
|00000550| 68 69 63 68 20 69 73 20 | 63 61 6c 6c 65 64 20 61 |hich is |called a|
|00000560| 66 74 65 72 20 74 68 65 | 0d 09 09 09 09 09 09 09 |fter the|........|
|00000570| 09 09 09 09 09 09 09 2f | 2f 20 63 6f 6d 6d 61 6e |......./|/ comman|
|00000580| 64 20 68 61 73 20 62 65 | 65 6e 20 65 78 65 63 75 |d has be|en execu|
|00000590| 74 65 64 2e 0d 09 09 09 | 09 09 09 09 09 09 09 09 |ted.....|........|
|000005a0| 09 09 09 2f 2f 20 59 6f | 75 72 20 66 75 6e 63 74 |...// Yo|ur funct|
|000005b0| 69 6f 6e 20 72 65 63 65 | 69 76 65 73 0d 09 09 09 |ion rece|ives....|
|000005c0| 09 09 09 09 09 09 09 09 | 09 09 09 2f 2f 20 61 20 |........|...// a |
|000005d0| 70 6f 69 6e 74 65 72 20 | 6f 6e 20 74 68 65 20 41 |pointer |on the A|
|000005e0| 6e 69 6d 20 6f 62 6a 65 | 63 74 20 61 6e 64 0d 09 |nim obje|ct and..|
|000005f0| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 2f 2f 20 |........|.....// |
|00000600| 61 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 74 68 65 |a pointe|r to the|
|00000610| 20 41 6e 69 6d 43 6f 6e | 74 72 6f 6c 0d 09 09 09 | AnimCon|trol....|
|00000620| 09 09 09 09 09 09 09 09 | 09 09 09 2f 2f 20 73 74 |........|...// st|
|00000630| 72 75 63 74 75 72 65 2e | 20 59 6f 75 20 63 61 6e |ructure.| You can|
|00000640| 20 6d 6f 64 69 66 79 0d | 09 09 09 09 09 09 09 09 | modify.|........|
|00000650| 09 09 09 09 09 09 2f 2f | 20 74 68 65 20 22 6e 65 |......//| the "ne|
|00000660| 78 74 22 20 66 69 65 6c | 64 20 69 6e 20 79 6f 75 |xt" fiel|d in you|
|00000670| 72 0d 09 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |r.......|........|
|00000680| 2f 2f 20 66 75 6e 63 74 | 69 6f 6e 20 62 65 66 6f |// funct|ion befo|
|00000690| 72 65 20 72 65 74 75 72 | 6e 69 6e 67 2e 20 49 74 |re retur|ning. It|
|000006a0| 0d 09 09 09 09 09 09 09 | 09 09 09 09 09 09 09 2f |........|......./|
|000006b0| 2f 20 61 6c 6c 6f 77 73 | 20 79 6f 75 20 64 6f 20 |/ allows| you do |
|000006c0| 69 6e 74 65 72 61 63 74 | 69 76 65 20 63 6f 6e 74 |interact|ive cont|
|000006d0| 72 6f 6c 2e 09 0d 0d 09 | 42 6f 6f 6c 65 61 6e 09 |rol.....|Boolean.|
|000006e0| 09 09 28 2a 74 65 73 74 | 70 72 6f 63 29 28 41 6e |..(*test|proc)(An|
|000006f0| 69 6d 43 4f 62 6a 65 63 | 74 2a 2c 20 41 6e 69 6d |imCObjec|t*, Anim|
|00000700| 43 6f 6e 74 72 6f 6c 2a | 29 3b 20 2f 2f 20 4e 55 |Control*|); // NU|
|00000710| 4c 4c 20 6f 72 20 61 20 | 70 6f 69 6e 74 65 72 20 |LL or a |pointer |
|00000720| 6f 6e 20 61 20 66 75 6e | 63 74 69 6f 6e 0d 09 09 |on a fun|ction...|
|00000730| 09 09 09 09 09 09 09 09 | 09 09 09 09 2f 2f 20 77 |........|....// w|
|00000740| 68 69 63 68 20 69 73 20 | 63 61 6c 6c 65 64 20 62 |hich is |called b|
|00000750| 65 66 6f 72 65 20 65 78 | 65 63 75 74 69 6e 67 0d |efore ex|ecuting.|
|00000760| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 09 2f 2f |........|......//|
|00000770| 20 63 6f 6e 74 72 6f 6c | 2e 20 49 66 20 79 6f 75 | control|. If you|
|00000780| 72 20 66 75 6e 63 74 69 | 6f 6e 20 72 65 74 75 72 |r functi|on retur|
|00000790| 6e 73 0d 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |ns......|........|
|000007a0| 09 2f 2f 20 46 41 4c 53 | 45 20 74 68 65 20 63 6f |.// FALS|E the co|
|000007b0| 6e 74 72 6f 6c 20 69 73 | 20 6e 6f 74 20 65 78 65 |ntrol is| not exe|
|000007c0| 63 75 74 65 64 2e 0d 7d | 3b 0d 0d 2f 2f 2a 2a 2a |cuted..}|;..//***|
|000007d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000007e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 0d 2f 2f 20 43 6f |********|**.// Co|
|000007f0| 6d 6d 61 6e 64 73 3a 0d | 0d 0d 2f 2f 20 47 65 6e |mmands:.|..// Gen|
|00000800| 65 72 61 6c 0d 0d 63 6f | 6e 73 74 20 73 68 6f 72 |eral..co|nst shor|
|00000810| 74 20 61 63 6d 64 5f 6e | 75 6c 6c 09 3d 20 30 3b |t acmd_n|ull.= 0;|
|00000820| 09 2f 2f 20 4e 55 4c 4c | 20 63 6f 6d 6d 61 6e 64 |.// NULL| command|
|00000830| 20 28 73 79 6e 63 68 72 | 6f 6e 6f 75 73 29 0d 0d | (synchr|onous)..|
|00000840| 63 6f 6e 73 74 20 73 68 | 6f 72 74 20 61 63 6d 64 |const sh|ort acmd|
|00000850| 5f 70 6c 61 63 65 09 3d | 20 31 30 3b 09 2f 2f 20 |_place.=| 10;.// |
|00000860| 50 6c 61 63 65 73 20 74 | 68 65 20 6f 62 6a 65 63 |Places t|he objec|
|00000870| 74 20 74 6f 20 61 20 6e | 65 77 20 70 6f 73 69 74 |t to a n|ew posit|
|00000880| 69 6f 6e 2e 20 53 70 65 | 63 69 66 79 0d 09 09 09 |ion. Spe|cify....|
|00000890| 09 09 09 09 09 2f 2f 20 | 74 68 65 20 70 6f 73 69 |.....// |the posi|
|000008a0| 74 69 6f 6e 20 77 69 74 | 68 20 74 68 65 20 78 2f |tion wit|h the x/|
|000008b0| 79 20 66 69 65 6c 64 20 | 6f 66 20 74 68 65 0d 09 |y field |of the..|
|000008c0| 09 09 09 09 09 09 09 2f | 2f 20 63 6f 6e 74 72 6f |......./|/ contro|
|000008d0| 6c 2e 20 53 61 6d 65 20 | 61 73 20 74 68 65 20 22 |l. Same |as the "|
|000008e0| 70 6c 61 63 65 22 20 6d | 65 74 68 6f 64 2e 20 28 |place" m|ethod. (|
|000008f0| 73 79 6e 63 68 72 6f 6e | 6f 75 73 29 2e 0d 09 09 |synchron|ous)....|
|00000900| 09 09 09 09 09 09 2f 2f | 20 53 65 74 73 20 6f 6c |......//| Sets ol|
|00000910| 64 78 20 61 6e 64 20 6f | 6c 64 79 20 74 6f 20 74 |dx and o|ldy to t|
|00000920| 68 65 20 70 72 65 76 69 | 6f 75 73 20 70 6f 73 69 |he previ|ous posi|
|00000930| 74 69 6f 6e 2e 0d 0d 63 | 6f 6e 73 74 20 73 68 6f |tion...c|onst sho|
|00000940| 72 74 20 61 63 6d 64 5f | 6d 6f 76 65 20 3d 20 31 |rt acmd_|move = 1|
|00000950| 31 3b 09 09 2f 2f 20 50 | 6c 61 63 65 73 20 74 68 |1;..// P|laces th|
|00000960| 65 20 6f 62 6a 65 63 74 | 20 74 6f 20 61 20 6e 65 |e object| to a ne|
|00000970| 77 20 70 6f 73 69 74 69 | 6f 6e 20 75 73 69 6e 67 |w positi|on using|
|00000980| 20 64 65 6c 74 61 73 2e | 20 53 70 65 63 69 66 79 | deltas.| Specify|
|00000990| 0d 09 09 09 09 09 09 09 | 09 2f 2f 20 74 68 65 20 |........|.// the |
|000009a0| 64 65 6c 74 61 73 20 77 | 69 74 68 20 74 68 65 20 |deltas w|ith the |
|000009b0| 78 2f 79 20 66 69 65 6c | 64 20 6f 66 20 74 68 65 |x/y fiel|d of the|
|000009c0| 0d 09 09 09 09 09 09 09 | 09 2f 2f 20 63 6f 6e 74 |........|.// cont|
|000009d0| 72 6f 6c 2e 20 53 61 6d | 65 20 61 73 20 74 68 65 |rol. Sam|e as the|
|000009e0| 20 22 6d 6f 76 65 22 20 | 6d 65 74 68 6f 64 2e 20 | "move" |method. |
|000009f0| 28 73 79 6e 63 68 72 6f | 6e 6f 75 73 29 2e 0d 09 |(synchro|nous)...|
|00000a00| 09 09 09 09 09 09 09 2f | 2f 20 53 65 74 73 20 6f |......./|/ Sets o|
|00000a10| 6c 64 78 20 61 6e 64 20 | 6f 6c 64 79 20 74 6f 20 |ldx and |oldy to |
|00000a20| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 70 6f 73 |the prev|ious pos|
|00000a30| 69 74 69 6f 6e 2e 0d 0d | 63 6f 6e 73 74 20 73 68 |ition...|const sh|
|00000a40| 6f 72 74 20 61 63 6d 64 | 5f 67 6f 74 6f 20 3d 20 |ort acmd|_goto = |
|00000a50| 31 32 3b 09 09 2f 2f 20 | 53 74 61 72 74 73 20 74 |12;..// |Starts t|
|00000a60| 6f 20 6d 6f 76 65 20 74 | 68 65 20 6f 62 6a 65 63 |o move t|he objec|
|00000a70| 74 2e 20 54 68 65 20 6f | 62 6a 65 63 74 20 77 69 |t. The o|bject wi|
|00000a80| 6c 6c 20 67 6f 20 74 6f | 0d 09 09 09 09 09 09 09 |ll go to|........|
|00000a90| 09 2f 2f 20 74 68 65 20 | 70 6f 73 69 74 69 6f 6e |.// the |position|
|00000aa0| 20 73 70 65 63 69 66 69 | 65 64 20 69 6e 20 78 2f | specifi|ed in x/|
|00000ab0| 79 20 75 73 69 6e 67 20 | 74 68 65 20 73 70 65 65 |y using |the spee|
|00000ac0| 64 20 61 6e 64 0d 09 09 | 09 09 09 09 09 09 2f 2f |d and...|......//|
|00000ad0| 20 74 68 65 20 61 63 63 | 65 6c 65 72 61 74 69 6f | the acc|eleratio|
|00000ae0| 6e 2e 20 28 61 73 79 6e | 63 68 72 6f 6e 6f 75 73 |n. (asyn|chronous|
|00000af0| 29 2e 0d 09 09 09 09 09 | 09 09 09 2f 2f 20 4f 6c |).......|...// Ol|
|00000b00| 64 78 20 61 6e 64 20 6f | 6c 64 79 20 63 6f 6e 74 |dx and o|ldy cont|
|00000b10| 61 69 6e 20 61 6c 77 61 | 79 73 20 74 68 65 20 70 |ain alwa|ys the p|
|00000b20| 72 65 76 69 6f 75 73 20 | 70 6f 73 69 74 69 6f 6e |revious |position|
|00000b30| 2e 0d 0d 63 6f 6e 73 74 | 20 73 68 6f 72 74 20 61 |...const| short a|
|00000b40| 63 6d 64 5f 63 75 72 76 | 65 09 3d 20 31 33 3b 09 |cmd_curv|e.= 13;.|
|00000b50| 2f 2f 20 53 61 6d 65 20 | 61 73 20 61 63 6d 64 5f |// Same |as acmd_|
|00000b60| 67 6f 74 6f 20 62 75 74 | 20 64 6f 65 73 20 61 20 |goto but| does a |
|00000b70| 63 75 72 76 65 20 77 68 | 69 63 68 20 70 61 73 73 |curve wh|ich pass|
|00000b80| 65 73 20 62 79 0d 09 09 | 09 09 09 09 09 09 2f 2f |es by...|......//|
|00000b90| 20 63 78 2f 63 79 20 62 | 65 66 6f 72 65 20 67 6f | cx/cy b|efore go|
|00000ba0| 69 6e 67 20 74 6f 20 78 | 2f 79 2e 20 28 61 73 79 |ing to x|/y. (asy|
|00000bb0| 6e 63 68 72 6f 6e 6f 75 | 73 29 2e 0d 09 09 09 09 |nchronou|s)......|
|00000bc0| 09 09 09 09 2f 2f 20 4f | 6c 64 78 20 61 6e 64 20 |....// O|ldx and |
|00000bd0| 6f 6c 64 79 20 63 6f 6e | 74 61 69 6e 20 61 6c 77 |oldy con|tain alw|
|00000be0| 61 79 73 20 74 68 65 20 | 70 72 65 76 69 6f 75 73 |ays the |previous|
|00000bf0| 20 70 6f 73 69 74 69 6f | 6e 2e 0d 0d 63 6f 6e 73 | positio|n...cons|
|00000c00| 74 20 73 68 6f 72 74 20 | 61 63 6d 64 5f 77 61 69 |t short |acmd_wai|
|00000c10| 74 09 3d 20 31 34 3b 09 | 2f 2f 20 57 61 69 74 73 |t.= 14;.|// Waits|
|00000c20| 2e 20 59 6f 75 20 6d 75 | 73 74 20 73 70 65 63 69 |. You mu|st speci|
|00000c30| 66 79 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |fy the n|umber of|
|00000c40| 20 74 69 63 6b 73 20 74 | 6f 20 77 61 69 74 0d 09 | ticks t|o wait..|
|00000c50| 09 09 09 09 09 09 09 2f | 2f 20 69 6e 20 74 68 65 |......./|/ in the|
|00000c60| 20 22 77 61 69 74 22 20 | 76 61 72 69 61 62 6c 65 | "wait" |variable|
|00000c70| 20 6f 66 20 74 68 65 20 | 41 6e 69 6d 43 6f 6e 74 | of the |AnimCont|
|00000c80| 72 6f 6c 2e 20 28 61 73 | 79 6e 63 68 72 6f 6e 6f |rol. (as|ynchrono|
|00000c90| 75 73 29 2e 0d 0d 63 6f | 6e 73 74 20 73 68 6f 72 |us)...co|nst shor|
|00000ca0| 74 20 61 63 6d 64 5f 64 | 65 6c 65 74 65 09 3d 20 |t acmd_d|elete.= |
|00000cb0| 31 35 3b 09 09 2f 2f 20 | 44 65 6c 65 74 65 73 20 |15;..// |Deletes |
|00000cc0| 74 68 65 20 61 6e 69 6d | 61 74 69 6f 6e 20 6f 62 |the anim|ation ob|
|00000cd0| 6a 65 63 74 20 61 74 20 | 6e 65 78 74 20 75 70 64 |ject at |next upd|
|00000ce0| 61 74 65 20 28 73 79 6e | 63 68 72 6f 6e 6f 75 73 |ate (syn|chronous|
|00000cf0| 29 2e 0d 0d 63 6f 6e 73 | 74 20 73 68 6f 72 74 20 |)...cons|t short |
|00000d00| 61 63 6d 64 5f 73 65 74 | 73 6f 72 74 66 6c 61 67 |acmd_set|sortflag|
|00000d10| 73 20 3d 20 31 36 3b 09 | 2f 2f 20 53 65 74 73 20 |s = 16;.|// Sets |
|00000d20| 74 68 65 20 63 75 72 72 | 65 6e 74 20 73 6f 72 74 |the curr|ent sort|
|00000d30| 69 6e 67 20 66 6c 61 67 | 73 20 6f 66 20 74 68 65 |ing flag|s of the|
|00000d40| 20 41 6e 69 6d 42 61 73 | 65 20 77 68 69 63 68 0d | AnimBas|e which.|
|00000d50| 09 09 09 09 09 09 09 09 | 09 2f 2f 20 63 6f 6e 74 |........|.// cont|
|00000d60| 72 6f 6c 73 20 74 68 69 | 73 20 6f 62 6a 65 63 74 |rols thi|s object|
|00000d70| 2e 20 55 73 65 20 74 68 | 65 20 22 64 61 74 61 22 |. Use th|e "data"|
|00000d80| 20 66 69 65 6c 64 20 74 | 6f 0d 09 09 09 09 09 09 | field t|o.......|
|00000d90| 09 09 09 2f 2f 20 73 70 | 65 63 69 66 79 20 66 6c |...// sp|ecify fl|
|00000da0| 61 67 73 2e 20 28 73 79 | 6e 63 68 72 6f 6e 6f 75 |ags. (sy|nchronou|
|00000db0| 73 29 0d 0d 63 6f 6e 73 | 74 20 73 68 6f 72 74 20 |s)..cons|t short |
|00000dc0| 61 63 6d 64 5f 73 65 74 | 70 72 69 6f 72 69 74 79 |acmd_set|priority|
|00000dd0| 20 3d 20 31 37 3b 09 2f | 2f 20 43 68 61 6e 67 65 | = 17;./|/ Change|
|00000de0| 73 20 74 68 65 20 73 6f | 72 74 69 6e 67 20 70 72 |s the so|rting pr|
|00000df0| 69 6f 72 69 74 79 2e 20 | 55 73 65 20 74 68 65 20 |iority. |Use the |
|00000e00| 22 64 61 74 61 22 20 66 | 69 65 6c 64 20 74 6f 0d |"data" f|ield to.|
|00000e10| 09 09 09 09 09 09 09 09 | 09 2f 2f 20 73 70 65 63 |........|.// spec|
|00000e20| 69 66 79 20 66 6c 61 67 | 73 2e 20 28 73 79 6e 63 |ify flag|s. (sync|
|00000e30| 68 72 6f 6e 6f 75 73 29 | 2e 0d 0d 2f 2f 20 41 6e |hronous)|...// An|
|00000e40| 69 6d 20 43 6c 61 73 73 | 20 63 6f 6d 6d 61 6e 64 |im Class| command|
|00000e50| 73 3a 0d 0d 0d 63 6f 6e | 73 74 20 73 68 6f 72 74 |s:...con|st short|
|00000e60| 20 61 63 6d 64 5f 73 65 | 74 61 6e 69 6d 66 6c 61 | acmd_se|tanimfla|
|00000e70| 67 73 20 3d 20 31 38 3b | 09 2f 2f 20 53 65 74 73 |gs = 18;|.// Sets|
|00000e80| 20 74 68 65 20 61 6e 69 | 6d 61 74 69 6f 6e 20 66 | the ani|mation f|
|00000e90| 6c 61 67 73 2e 20 55 73 | 65 20 74 68 65 20 22 64 |lags. Us|e the "d|
|00000ea0| 61 74 61 22 20 66 69 65 | 6c 64 20 74 6f 0d 09 09 |ata" fie|ld to...|
|00000eb0| 09 09 09 09 09 09 09 2f | 2f 20 73 70 65 63 69 66 |......./|/ specif|
|00000ec0| 79 20 66 6c 61 67 73 2e | 28 73 79 6e 63 68 72 6f |y flags.|(synchro|
|00000ed0| 6e 6f 75 73 29 2e 0d 0d | 63 6f 6e 73 74 20 73 68 |nous)...|const sh|
|00000ee0| 6f 72 74 20 61 63 6d 64 | 5f 73 65 74 73 65 71 75 |ort acmd|_setsequ|
|00000ef0| 65 6e 63 65 20 3d 20 31 | 39 3b 09 2f 2f 20 53 65 |ence = 1|9;.// Se|
|00000f00| 74 73 09 61 20 6e 65 77 | 20 73 65 71 75 65 6e 63 |ts.a new| sequenc|
|00000f10| 65 2e 20 55 73 65 20 74 | 68 65 20 22 73 65 71 75 |e. Use t|he "sequ|
|00000f20| 65 6e 63 65 22 20 66 69 | 65 6c 64 20 74 6f 20 0d |ence" fi|eld to .|
|00000f30| 09 09 09 09 09 09 09 09 | 09 2f 2f 20 73 70 65 63 |........|.// spec|
|00000f40| 69 66 79 20 74 68 65 20 | 73 65 71 75 65 6e 63 65 |ify the |sequence|
|00000f50| 2e 20 28 73 79 6e 63 68 | 72 6f 6e 6f 75 73 29 2e |. (synch|ronous).|
|00000f60| 0d 0d 63 6f 6e 73 74 20 | 73 68 6f 72 74 20 61 63 |..const |short ac|
|00000f70| 6d 64 5f 77 61 69 74 66 | 72 61 6d 65 09 3d 20 32 |md_waitf|rame.= 2|
|00000f80| 30 3b 09 2f 2f 20 57 61 | 69 74 73 20 66 6f 72 20 |0;.// Wa|its for |
|00000f90| 61 20 66 72 61 6d 65 2e | 20 59 6f 75 20 73 70 65 |a frame.| You spe|
|00000fa0| 63 69 66 79 20 74 68 65 | 20 66 72 61 6d 65 20 6e |cify the| frame n|
|00000fb0| 75 6d 62 65 72 20 69 6e | 20 74 68 65 0d 09 09 09 |umber in| the....|
|00000fc0| 09 09 09 09 09 09 2f 2f | 20 22 77 61 69 74 22 20 |......//| "wait" |
|00000fd0| 76 61 72 69 61 62 6c 65 | 2e 20 28 61 73 79 6e 63 |variable|. (async|
|00000fe0| 68 72 6f 6e 6f 75 73 29 | 2e 0d 0d 63 6f 6e 73 74 |hronous)|...const|
|00000ff0| 20 73 68 6f 72 74 20 61 | 63 6d 64 5f 77 61 69 74 | short a|cmd_wait|
|00001000| 6e 66 72 61 6d 65 73 20 | 3d 20 32 31 3b 09 2f 2f |nframes |= 21;.//|
|00001010| 20 57 61 69 74 73 20 61 | 20 6e 75 6d 62 65 72 20 | Waits a| number |
|00001020| 6f 66 20 66 72 61 6d 65 | 73 2e 20 59 6f 75 20 73 |of frame|s. You s|
|00001030| 70 65 63 69 66 79 20 74 | 68 65 20 66 72 61 6d 65 |pecify t|he frame|
|00001040| 20 6e 75 6d 62 65 72 20 | 69 6e 20 74 68 65 0d 09 | number |in the..|
|00001050| 09 09 09 09 09 09 09 09 | 2f 2f 20 22 77 61 69 74 |........|// "wait|
|00001060| 22 20 76 61 72 69 61 62 | 6c 65 2e 20 28 61 73 79 |" variab|le. (asy|
|00001070| 6e 63 68 72 6f 6e 6f 75 | 73 29 2e 0d 0d 23 65 6e |nchronou|s)...#en|
|00001080| 64 69 66 0d 0d 00 00 00 | 00 00 00 00 00 00 00 00 |dif.....|........|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00001110| ff 00 ff ff ff 00 7f ff | fe 00 00 00 01 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 0d 41 6e 69 6d 43 6f 6e | 74 72 6f 6c 2e 68 02 00 |.AnimCon|trol.h..|
|00001140| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00001150| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 aa af 16 91 00 00 | 00 00 00 00 01 7e 83 e6 |........|.....~..|
|00001180| 63 00 85 56 63 00 85 56 | 63 00 82 23 c3 00 80 00 |c..Vc..V|c..#....|
|00001190| 63 00 80 00 03 00 bf ff | ff 00 7f ff fe 00 00 00 |c.......|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 7f ff | fe 00 ff ff ff 00 ff ff |........|........|
|000011e0| ff 00 ff ff ff 00 ff ff | ff 00 ff ff ff 00 ff ff |........|........|
|000011f0| ff 00 ff ff ff 00 ff ff | ff 00 ff ff ff 00 ff ff |........|........|
|00001200| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00001210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001220| 00 00 00 00 00 00 00 03 | 00 04 00 54 00 1f 02 6a |........|...T...j|
|00001230| 02 8b 00 54 00 1f 02 6a | 02 8b aa 8b a0 e8 00 00 |...T...j|........|
|00001240| 10 04 00 00 10 04 00 00 | 08 7e 00 00 00 00 01 00 |........|.~......|
|00001250| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 cc 00 40 |...L...L|...2...@|
|00001260| 0b 06 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00001270| 00 0a 03 ed ff ff 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+