home *** CD-ROM | disk | FTP | other *** search
Unknown | 1996-02-22 | 5.8 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
| |
100%
| xdgMime
| image/x-tga
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0d 00 0a 0f f4 20 3e 20 | 53 70 72 69 74 65 2b 0d |..... > |Sprite+.|
|00000010| 00 14 04 0d 00 1e 13 ee | 20 85 20 f6 20 3a 20 f1 |........| . . : .|
|00000020| 20 9e 20 3a 20 e0 0d 00 | 28 04 0d 00 32 39 f4 20 | . : ...|(...29. |
|00000030| 41 6e 20 65 78 61 6d 70 | 6c 65 20 6f 66 20 75 73 |An examp|le of us|
|00000040| 69 6e 67 20 73 70 72 69 | 74 65 73 20 61 6e 64 20 |ing spri|tes and |
|00000050| 44 46 5f 54 72 61 6e 73 | 66 6f 72 6d 4f 62 6a 65 |DF_Trans|formObje|
|00000060| 63 74 2e 0d 00 3c 04 0d | 00 46 37 f4 20 54 68 69 |ct...<..|.F7. Thi|
|00000070| 73 20 65 78 61 6d 70 6c | 65 20 63 72 65 61 74 65 |s exampl|e create|
|00000080| 73 20 61 20 67 72 6f 75 | 70 20 63 6f 6e 74 61 69 |s a grou|p contai|
|00000090| 6e 69 6e 67 20 61 20 73 | 70 72 69 74 65 2c 0d 00 |ning a s|prite,..|
|000000a0| 50 33 f4 20 61 20 70 61 | 74 68 20 6f 62 6a 65 63 |P3. a pa|th objec|
|000000b0| 74 20 61 6e 64 20 61 20 | 74 65 78 74 20 6f 62 6a |t and a |text obj|
|000000c0| 65 63 74 20 61 6e 64 20 | 74 68 65 6e 20 75 73 65 |ect and |then use|
|000000d0| 73 0d 00 5a 35 f4 20 44 | 46 5f 54 72 61 6e 73 66 |s..Z5. D|F_Transf|
|000000e0| 6f 72 6d 4f 62 6a 65 63 | 74 20 74 6f 20 61 70 70 |ormObjec|t to app|
|000000f0| 6c 79 20 61 20 74 72 61 | 6e 73 66 6f 72 6d 61 74 |ly a tra|nsformat|
|00000100| 69 6f 6e 20 74 6f 0d 00 | 64 3a f4 20 74 68 65 20 |ion to..|d:. the |
|00000110| 67 72 6f 75 70 20 28 74 | 68 69 73 20 63 6f 6e 76 |group (t|his conv|
|00000120| 65 72 74 73 20 74 68 65 | 20 74 65 78 74 20 61 6e |erts the| text an|
|00000130| 64 20 73 70 72 69 74 65 | 20 6f 62 6a 65 63 74 73 |d sprite| objects|
|00000140| 0d 00 6e 28 f4 20 74 6f | 20 74 68 65 69 72 20 74 |..n(. to| their t|
|00000150| 72 61 6e 73 66 6f 72 6d | 65 64 20 65 71 75 69 76 |ransform|ed equiv|
|00000160| 61 6c 65 6e 74 73 29 2e | 0d 00 78 04 0d 00 82 37 |alents).|..x....7|
|00000170| f4 20 54 68 65 20 27 74 | 72 75 65 27 20 73 69 7a |. The 't|rue' siz|
|00000180| 65 20 6f 66 20 74 68 65 | 20 73 70 72 69 74 65 20 |e of the| sprite |
|00000190| 69 73 20 61 62 6f 75 74 | 20 39 30 20 78 20 37 31 |is about| 90 x 71|
|000001a0| 20 6d 6d 0d 00 8c 37 f4 | 20 28 64 72 61 67 20 69 | mm...7.| (drag i|
|000001b0| 74 20 69 6e 74 6f 20 61 | 20 62 6c 61 6e 6b 20 21 |t into a| blank !|
|000001c0| 44 72 61 77 20 77 69 6e | 64 6f 77 20 61 6e 64 20 |Draw win|dow and |
|000001d0| 6d 65 61 73 75 72 65 20 | 69 74 0d 00 96 35 f4 20 |measure |it...5. |
|000001e0| 77 69 74 68 20 74 68 65 | 20 67 72 69 64 20 6f 72 |with the| grid or|
|000001f0| 20 73 65 65 20 74 68 65 | 20 65 6e 64 20 6f 66 20 | see the| end of |
|00000200| 74 68 69 73 20 66 69 6c | 65 20 66 6f 72 20 61 0d |this fil|e for a.|
|00000210| 00 a0 39 f4 20 6d 6f 72 | 65 20 61 63 63 75 72 61 |..9. mor|e accura|
|00000220| 74 65 20 6d 65 74 68 6f | 64 29 2e 20 54 68 65 20 |te metho|d). The |
|00000230| 73 70 72 69 74 65 20 6f | 62 6a 65 63 74 20 69 73 |sprite o|bject is|
|00000240| 20 63 72 65 61 74 65 64 | 0d 00 aa 3b f4 20 77 69 | created|...;. wi|
|00000250| 74 68 20 61 20 62 6f 75 | 6e 64 69 6e 67 20 62 6f |th a bou|nding bo|
|00000260| 78 20 6d 65 61 73 75 72 | 69 6e 67 20 31 30 30 20 |x measur|ing 100 |
|00000270| 78 20 38 30 20 6d 6d 20 | 28 74 68 65 20 73 70 72 |x 80 mm |(the spr|
|00000280| 69 74 65 0d 00 b4 3c f4 | 20 69 73 20 73 63 61 6c |ite...<.| is scal|
|00000290| 65 64 20 74 6f 20 74 68 | 69 73 20 73 69 7a 65 20 |ed to th|is size |
|000002a0| 77 68 65 6e 20 74 68 65 | 20 64 72 61 77 66 69 6c |when the| drawfil|
|000002b0| 65 20 69 73 20 72 65 6e | 64 65 72 65 64 29 2c 0d |e is ren|dered),.|
|000002c0| 00 be 22 f4 20 77 69 74 | 68 20 69 74 73 20 63 65 |..". wit|h its ce|
|000002d0| 6e 74 72 65 20 61 74 20 | 39 30 2c 38 30 20 6d 6d |ntre at |90,80 mm|
|000002e0| 2e 0d 00 c8 04 0d 00 d2 | 3b f4 20 54 68 65 20 74 |........|;. The t|
|000002f0| 72 61 6e 73 66 6f 72 6d | 61 74 69 6f 6e 20 69 73 |ransform|ation is|
|00000300| 20 61 70 70 6c 69 65 64 | 20 61 62 6f 75 74 20 74 | applied| about t|
|00000310| 68 65 20 63 65 6e 74 72 | 65 20 6f 66 20 74 68 65 |he centr|e of the|
|00000320| 0d 00 dc 37 f4 20 73 70 | 72 69 74 65 20 77 68 69 |...7. sp|rite whi|
|00000330| 63 68 20 77 69 6c 6c 20 | 72 65 6d 61 69 6e 20 69 |ch will |remain i|
|00000340| 6e 20 69 74 73 20 6f 72 | 69 67 69 6e 61 6c 20 6c |n its or|iginal l|
|00000350| 6f 63 61 74 69 6f 6e 0d | 00 e6 37 f4 20 28 75 6e |ocation.|..7. (un|
|00000360| 6c 65 73 73 20 74 68 65 | 20 74 72 61 6e 73 66 6f |less the| transfo|
|00000370| 72 6d 61 74 69 6f 6e 20 | 69 6e 63 6c 75 64 65 73 |rmation |includes|
|00000380| 20 74 72 61 6e 73 6c 61 | 74 69 6f 6e 29 2e 0d 00 | transla|tion)...|
|00000390| f0 04 0d 00 fa 1c 64 66 | 5f 62 75 66 66 5f 73 69 |......df|_buff_si|
|000003a0| 7a 65 25 20 3d 20 28 36 | 34 3c 3c 31 30 29 0d 01 |ze% = (6|4<<10)..|
|000003b0| 04 2d de 20 64 66 5f 62 | 75 66 66 25 20 28 64 66 |.-. df_b|uff% (df|
|000003c0| 5f 62 75 66 66 5f 73 69 | 7a 65 25 29 2c 20 74 72 |_buff_si|ze%), tr|
|000003d0| 61 6e 73 66 6f 72 6d 25 | 20 32 34 0d 01 0e 0c 66 |ansform%| 24....f|
|000003e0| 70 6f 25 20 3d 20 30 0d | 01 18 0c 66 74 78 25 20 |po% = 0.|...ftx% |
|000003f0| 3d 20 30 0d 01 22 04 0d | 01 2c 34 73 78 6d 69 6e |= 0.."..|.,4sxmin|
|00000400| 25 20 3d 20 20 34 30 20 | 3a 20 f4 20 53 70 72 69 |% = 40 |: . Spri|
|00000410| 74 65 20 62 6f 75 6e 64 | 69 6e 67 20 62 6f 78 20 |te bound|ing box |
|00000420| 63 6f 6f 72 64 69 6e 61 | 74 65 73 0d 01 36 33 73 |coordina|tes..63s|
|00000430| 78 6d 61 78 25 20 3d 20 | 31 34 30 20 3a 20 f4 20 |xmax% = |140 : . |
|00000440| 28 69 6e 20 6d 6d 29 2e | 20 54 68 65 73 65 20 63 |(in mm).| These c|
|00000450| 61 6e 20 62 65 20 63 68 | 61 6e 67 65 64 3b 0d 01 |an be ch|anged;..|
|00000460| 40 34 73 79 6d 69 6e 25 | 20 3d 20 20 34 30 20 3a |@4symin%| = 40 :|
|00000470| 20 f4 20 74 68 65 20 6f | 76 65 72 61 6c 6c 20 6c | . the o|verall l|
|00000480| 61 79 6f 75 74 20 6f 66 | 20 74 68 65 20 69 6d 61 |ayout of| the ima|
|00000490| 67 65 0d 01 4a 26 73 79 | 6d 61 78 25 20 3d 20 31 |ge..J&sy|max% = 1|
|000004a0| 32 30 20 3a 20 f4 20 77 | 69 6c 6c 20 62 65 20 74 |20 : . w|ill be t|
|000004b0| 68 65 20 73 61 6d 65 2e | 0d 01 54 04 0d 01 5e 56 |he same.|..T...^V|
|000004c0| c8 99 20 22 44 46 5f 49 | 6e 69 74 69 61 6c 69 73 |.. "DF_I|nitialis|
|000004d0| 65 46 69 6c 65 22 2c 20 | 31 2c 20 64 66 5f 62 75 |eFile", |1, df_bu|
|000004e0| 66 66 25 2c 2c 64 66 5f | 62 75 66 66 5f 73 69 7a |ff%,,df_|buff_siz|
|000004f0| 65 25 2c 20 22 44 55 42 | 5f 44 65 6d 6f 22 2c 20 |e%, "DUB|_Demo", |
|00000500| 26 35 30 31 2c 20 30 2c | 20 34 20 b8 2c 2c 66 70 |&501, 0,| 4 .,,fp|
|00000510| 6f 25 0d 01 68 04 0d 01 | 72 2f f4 20 72 65 63 6f |o%..h...|r/. reco|
|00000520| 72 64 20 70 6f 73 69 74 | 69 6f 6e 20 6f 66 20 73 |rd posit|ion of s|
|00000530| 74 61 72 74 20 6f 66 20 | 67 72 6f 75 70 20 6f 62 |tart of |group ob|
|00000540| 6a 65 63 74 2e 0d 01 7c | 19 67 72 6f 75 70 5f 6f |ject...||.group_o|
|00000550| 62 6a 5f 70 6f 73 25 20 | 3d 20 66 70 6f 25 0d 01 |bj_pos% |= fpo%..|
|00000560| 86 34 c8 99 20 22 44 46 | 5f 53 74 61 72 74 47 72 |.4.. "DF|_StartGr|
|00000570| 6f 75 70 22 2c 20 31 2c | 20 64 66 5f 62 75 66 66 |oup", 1,| df_buff|
|00000580| 25 2c 20 66 70 6f 25 2c | 20 30 20 b8 2c 2c 66 70 |%, fpo%,| 0 .,,fp|
|00000590| 6f 25 0d 01 90 04 0d 01 | 9a 2f f4 20 69 6e 63 6f |o%......|./. inco|
|000005a0| 72 70 6f 72 61 74 65 20 | 74 68 65 20 73 70 72 69 |rporate |the spri|
|000005b0| 74 65 20 69 6e 74 6f 20 | 74 68 65 20 64 72 61 77 |te into |the draw|
|000005c0| 66 69 6c 65 2e 0d 01 a4 | 57 c8 99 20 22 44 46 5f |file....|W.. "DF_|
|000005d0| 50 72 65 4c 6f 61 64 53 | 70 72 69 74 65 22 2c 20 |PreLoadS|prite", |
|000005e0| 31 2c 20 64 66 5f 62 75 | 66 66 25 2c 20 66 70 6f |1, df_bu|ff%, fpo|
|000005f0| 25 2c 2c 73 78 6d 69 6e | 25 2c 20 73 79 6d 69 6e |%,,sxmin|%, symin|
|00000600| 25 2c 20 73 78 6d 61 78 | 25 2c 20 73 79 6d 61 78 |%, sxmax|%, symax|
|00000610| 25 2c 20 30 20 b8 2c 2c | 66 70 6f 25 0d 01 ae 1e |%, 0 .,,|fpo%....|
|00000620| 61 64 64 72 65 73 73 25 | 20 3d 20 64 66 5f 62 75 |address%| = df_bu|
|00000630| 66 66 25 20 2b 20 66 70 | 6f 25 0d 01 b8 4a c8 99 |ff% + fp|o%...J..|
|00000640| 20 22 4f 53 5f 53 70 72 | 69 74 65 4f 70 22 2c 20 | "OS_Spr|iteOp", |
|00000650| 28 31 30 2b 32 35 36 29 | 2c 20 61 64 64 72 65 73 |(10+256)|, addres|
|00000660| 73 25 2c 20 22 3c 44 55 | 42 64 65 6d 6f 24 44 69 |s%, "<DU|Bdemo$Di|
|00000670| 72 3e 2e 44 65 6d 6f 73 | 2e 53 70 72 69 74 65 46 |r>.Demos|.SpriteF|
|00000680| 69 6c 65 22 0d 01 c2 33 | c8 99 20 22 44 46 5f 53 |ile"...3|.. "DF_S|
|00000690| 70 72 69 74 65 4c 6f 61 | 64 65 64 22 2c 20 31 2c |priteLoa|ded", 1,|
|000006a0| 20 64 66 5f 62 75 66 66 | 25 2c 20 66 70 6f 25 20 | df_buff|%, fpo% |
|000006b0| b8 2c 2c 66 70 6f 25 0d | 01 cc 04 0d 01 d6 40 f4 |.,,fpo%.|......@.|
|000006c0| 20 61 64 64 20 61 20 70 | 61 74 68 20 6f 62 6a 65 | add a p|ath obje|
|000006d0| 63 74 20 28 73 68 6f 77 | 73 20 73 69 7a 65 20 61 |ct (show|s size a|
|000006e0| 6e 64 20 65 78 61 63 74 | 20 63 65 6e 74 72 65 20 |nd exact| centre |
|000006f0| 6f 66 20 73 70 72 69 74 | 65 29 2e 0d 01 e0 4c c8 |of sprit|e)....L.|
|00000700| 99 20 22 44 46 5f 50 61 | 74 68 53 74 61 72 74 22 |. "DF_Pa|thStart"|
|00000710| 2c 31 2c 20 64 66 5f 62 | 75 66 66 25 2c 20 66 70 |,1, df_b|uff%, fp|
|00000720| 6f 25 2c 20 26 30 30 46 | 46 30 30 30 30 2c 20 2d |o%, &00F|F0000, -|
|00000730| 31 2c 20 33 32 30 2c 20 | 30 2c 20 30 2c 20 30 20 |1, 320, |0, 0, 0 |
|00000740| b8 2c 2c 66 70 6f 25 0d | 01 ea 3f c8 99 20 22 44 |.,,fpo%.|..?.. "D|
|00000750| 46 5f 50 61 74 68 4d 6f | 76 65 22 2c 20 31 2c 20 |F_PathMo|ve", 1, |
|00000760| 64 66 5f 62 75 66 66 25 | 2c 20 66 70 6f 25 2c 2c |df_buff%|, fpo%,,|
|00000770| 73 78 6d 69 6e 25 2c 20 | 73 79 6d 69 6e 25 20 b8 |sxmin%, |symin% .|
|00000780| 2c 2c 66 70 6f 25 0d 01 | f4 3f c8 99 20 22 44 46 |,,fpo%..|.?.. "DF|
|00000790| 5f 50 61 74 68 44 72 61 | 77 22 2c 20 31 2c 20 64 |_PathDra|w", 1, d|
|000007a0| 66 5f 62 75 66 66 25 2c | 20 66 70 6f 25 2c 2c 73 |f_buff%,| fpo%,,s|
|000007b0| 78 6d 61 78 25 2c 20 73 | 79 6d 69 6e 25 20 b8 2c |xmax%, s|ymin% .,|
|000007c0| 2c 66 70 6f 25 0d 01 fe | 3f c8 99 20 22 44 46 5f |,fpo%...|?.. "DF_|
|000007d0| 50 61 74 68 44 72 61 77 | 22 2c 20 31 2c 20 64 66 |PathDraw|", 1, df|
|000007e0| 5f 62 75 66 66 25 2c 20 | 66 70 6f 25 2c 2c 73 78 |_buff%, |fpo%,,sx|
|000007f0| 6d 61 78 25 2c 20 73 79 | 6d 61 78 25 20 b8 2c 2c |max%, sy|max% .,,|
|00000800| 66 70 6f 25 0d 02 08 3f | c8 99 20 22 44 46 5f 50 |fpo%...?|.. "DF_P|
|00000810| 61 74 68 44 72 61 77 22 | 2c 20 31 2c 20 64 66 5f |athDraw"|, 1, df_|
|00000820| 62 75 66 66 25 2c 20 66 | 70 6f 25 2c 2c 73 78 6d |buff%, f|po%,,sxm|
|00000830| 69 6e 25 2c 20 73 79 6d | 61 78 25 20 b8 2c 2c 66 |in%, sym|ax% .,,f|
|00000840| 70 6f 25 0d 02 12 3f c8 | 99 20 22 44 46 5f 50 61 |po%...?.|. "DF_Pa|
|00000850| 74 68 44 72 61 77 22 2c | 20 31 2c 20 64 66 5f 62 |thDraw",| 1, df_b|
|00000860| 75 66 66 25 2c 20 66 70 | 6f 25 2c 2c 73 78 6d 69 |uff%, fp|o%,,sxmi|
|00000870| 6e 25 2c 20 73 79 6d 69 | 6e 25 20 b8 2c 2c 66 70 |n%, symi|n% .,,fp|
|00000880| 6f 25 0d 02 1c 2f c8 99 | 20 22 44 46 5f 50 61 74 |o%.../..| "DF_Pat|
|00000890| 68 43 6c 6f 73 65 22 2c | 31 2c 20 64 66 5f 62 75 |hClose",|1, df_bu|
|000008a0| 66 66 25 2c 20 66 70 6f | 25 20 b8 2c 2c 66 70 6f |ff%, fpo|% .,,fpo|
|000008b0| 25 0d 02 26 3f c8 99 20 | 22 44 46 5f 50 61 74 68 |%..&?.. |"DF_Path|
|000008c0| 4d 6f 76 65 22 2c 20 31 | 2c 20 64 66 5f 62 75 66 |Move", 1|, df_buf|
|000008d0| 66 25 2c 20 66 70 6f 25 | 2c 2c 73 78 6d 69 6e 25 |f%, fpo%|,,sxmin%|
|000008e0| 2c 20 73 79 6d 69 6e 25 | 20 b8 2c 2c 66 70 6f 25 |, symin%| .,,fpo%|
|000008f0| 0d 02 30 3f c8 99 20 22 | 44 46 5f 50 61 74 68 44 |..0?.. "|DF_PathD|
|00000900| 72 61 77 22 2c 20 31 2c | 20 64 66 5f 62 75 66 66 |raw", 1,| df_buff|
|00000910| 25 2c 20 66 70 6f 25 2c | 2c 73 78 6d 61 78 25 2c |%, fpo%,|,sxmax%,|
|00000920| 20 73 79 6d 61 78 25 20 | b8 2c 2c 66 70 6f 25 0d | symax% |.,,fpo%.|
|00000930| 02 3a 3f c8 99 20 22 44 | 46 5f 50 61 74 68 4d 6f |.:?.. "D|F_PathMo|
|00000940| 76 65 22 2c 20 31 2c 20 | 64 66 5f 62 75 66 66 25 |ve", 1, |df_buff%|
|00000950| 2c 20 66 70 6f 25 2c 2c | 73 78 6d 69 6e 25 2c 20 |, fpo%,,|sxmin%, |
|00000960| 73 79 6d 61 78 25 20 b8 | 2c 2c 66 70 6f 25 0d 02 |symax% .|,,fpo%..|
|00000970| 44 3f c8 99 20 22 44 46 | 5f 50 61 74 68 44 72 61 |D?.. "DF|_PathDra|
|00000980| 77 22 2c 20 31 2c 20 64 | 66 5f 62 75 66 66 25 2c |w", 1, d|f_buff%,|
|00000990| 20 66 70 6f 25 2c 2c 73 | 78 6d 61 78 25 2c 20 73 | fpo%,,s|xmax%, s|
|000009a0| 79 6d 69 6e 25 20 b8 2c | 2c 66 70 6f 25 0d 02 4e |ymin% .,|,fpo%..N|
|000009b0| 2f c8 99 20 22 44 46 5f | 50 61 74 68 45 6e 64 22 |/.. "DF_|PathEnd"|
|000009c0| 2c 20 20 31 2c 20 64 66 | 5f 62 75 66 66 25 2c 20 |, 1, df|_buff%, |
|000009d0| 66 70 6f 25 20 b8 2c 2c | 66 70 6f 25 0d 02 58 04 |fpo% .,,|fpo%..X.|
|000009e0| 0d 02 62 26 f4 20 67 65 | 74 20 62 6f 75 6e 64 69 |..b&. ge|t boundi|
|000009f0| 6e 67 20 62 6f 78 20 6f | 66 20 70 61 74 68 20 6f |ng box o|f path o|
|00000a00| 62 6a 65 63 74 2e 0d 02 | 6c 3f c8 99 20 22 44 46 |bject...|l?.. "DF|
|00000a10| 5f 50 72 65 76 4f 62 6a | 42 42 6f 78 22 2c 20 31 |_PrevObj|BBox", 1|
|00000a20| 2c 20 64 66 5f 62 75 66 | 66 25 20 b8 2c 2c 2c 70 |, df_buf|f% .,,,p|
|00000a30| 78 6d 69 6e 25 2c 2c 70 | 78 6d 61 78 25 2c 20 70 |xmin%,,p|xmax%, p|
|00000a40| 79 6d 61 78 25 0d 02 76 | 04 0d 02 80 18 f4 20 61 |ymax%..v|...... a|
|00000a50| 64 64 20 61 20 74 65 78 | 74 20 6f 62 6a 65 63 74 |dd a tex|t object|
|00000a60| 2e 0d 02 8a 18 74 65 78 | 74 5f 6f 62 6a 5f 70 6f |.....tex|t_obj_po|
|00000a70| 73 25 20 3d 20 66 70 6f | 25 0d 02 94 55 c8 99 20 |s% = fpo|%...U.. |
|00000a80| 22 44 46 5f 53 65 6c 65 | 63 74 46 6f 6e 74 22 2c |"DF_Sele|ctFont",|
|00000a90| 20 31 2c 20 64 66 5f 62 | 75 66 66 25 2c 2c 22 54 | 1, df_b|uff%,,"T|
|00000aa0| 72 69 6e 69 74 79 2e 4d | 65 64 69 75 6d 22 2c 20 |rinity.M|edium", |
|00000ab0| 28 33 30 3c 3c 38 29 2c | 20 28 33 30 3c 3c 38 29 |(30<<8),| (30<<8)|
|00000ac0| 2c 20 30 2c 20 26 46 46 | 46 46 46 46 30 30 0d 02 |, 0, &FF|FFFF00..|
|00000ad0| 9e 4e c8 99 20 22 44 46 | 5f 57 72 69 74 65 54 65 |.N.. "DF|_WriteTe|
|00000ae0| 78 74 22 2c 20 31 2c 20 | 64 66 5f 62 75 66 66 25 |xt", 1, |df_buff%|
|00000af0| 2c 20 66 70 6f 25 2c 20 | 22 41 20 73 70 72 69 74 |, fpo%, |"A sprit|
|00000b00| 65 22 2c 20 30 2c 20 30 | 2c 20 30 20 b8 2c 2c 66 |e", 0, 0|, 0 .,,f|
|00000b10| 70 6f 25 2c 2c 2c 2c 2c | 66 74 78 25 0d 02 a8 04 |po%,,,,,|ftx%....|
|00000b20| 0d 02 b2 26 f4 20 67 65 | 74 20 62 6f 75 6e 64 69 |...&. ge|t boundi|
|00000b30| 6e 67 20 62 6f 78 20 6f | 66 20 74 65 78 74 20 6f |ng box o|f text o|
|00000b40| 62 6a 65 63 74 2e 0d 02 | bc 3f c8 99 20 22 44 46 |bject...|.?.. "DF|
|00000b50| 5f 50 72 65 76 4f 62 6a | 42 42 6f 78 22 2c 20 31 |_PrevObj|BBox", 1|
|00000b60| 2c 20 64 66 5f 62 75 66 | 66 25 20 b8 2c 2c 2c 74 |, df_buf|f% .,,,t|
|00000b70| 78 6d 69 6e 25 2c 20 74 | 79 6d 69 6e 25 2c 20 74 |xmin%, t|ymin%, t|
|00000b80| 78 6d 61 78 25 0d 02 c6 | 04 0d 02 d0 30 f4 20 61 |xmax%...|....0. a|
|00000b90| 64 64 69 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 66 |ddition |of the f|
|00000ba0| 6f 6e 74 20 74 61 62 6c | 65 20 68 61 73 20 6d 6f |ont tabl|e has mo|
|00000bb0| 76 65 64 20 6f 74 68 65 | 72 0d 02 da 37 f4 20 6f |ved othe|r...7. o|
|00000bc0| 62 6a 65 63 74 73 20 75 | 70 77 61 72 64 73 20 69 |bjects u|pwards i|
|00000bd0| 6e 20 6d 65 6d 6f 72 79 | 20 62 79 20 66 74 78 25 |n memory| by ftx%|
|00000be0| 20 62 79 74 65 73 20 28 | 74 68 69 73 20 62 69 74 | bytes (|this bit|
|00000bf0| 0d 02 e4 37 f4 20 77 6f | 75 6c 64 20 6e 6f 74 20 |...7. wo|uld not |
|00000c00| 62 65 20 6e 65 63 65 73 | 73 61 72 79 20 69 66 20 |be neces|sary if |
|00000c10| 74 68 65 20 66 6f 6e 74 | 20 74 61 62 6c 65 20 68 |the font| table h|
|00000c20| 61 64 20 62 65 65 6e 0d | 02 ee 26 f4 20 63 72 65 |ad been.|..&. cre|
|00000c30| 61 74 65 64 20 77 69 74 | 68 20 44 46 5f 49 6e 69 |ated wit|h DF_Ini|
|00000c40| 74 69 61 6c 69 73 65 46 | 69 6c 65 29 2e 0d 02 f8 |tialiseF|ile)....|
|00000c50| 1a 67 72 6f 75 70 5f 6f | 62 6a 5f 70 6f 73 25 20 |.group_o|bj_pos% |
|00000c60| 2b 3d 20 66 74 78 25 0d | 03 02 19 74 65 78 74 5f |+= ftx%.|...text_|
|00000c70| 6f 62 6a 5f 70 6f 73 25 | 20 2b 3d 20 66 74 78 25 |obj_pos%| += ftx%|
|00000c80| 0d 03 0c 04 0d 03 16 38 | f4 20 61 64 6a 75 73 74 |.......8|. adjust|
|00000c90| 20 70 6f 73 69 74 69 6f | 6e 20 6f 66 20 74 65 78 | positio|n of tex|
|00000ca0| 74 20 6f 62 6a 65 63 74 | 20 74 6f 20 61 62 6f 76 |t object| to abov|
|00000cb0| 65 20 74 68 65 20 73 70 | 72 69 74 65 0d 03 20 37 |e the sp|rite.. 7|
|00000cc0| f4 20 61 6e 64 20 63 65 | 6e 74 72 65 64 20 62 65 |. and ce|ntred be|
|00000cd0| 74 77 65 65 6e 20 6c 65 | 66 74 20 26 20 72 69 67 |tween le|ft & rig|
|00000ce0| 68 74 20 65 64 67 65 73 | 20 75 73 69 6e 67 20 70 |ht edges| using p|
|00000cf0| 61 74 68 0d 03 2a 37 f4 | 20 6f 62 6a 65 63 74 20 |ath..*7.| object |
|00000d00| 61 6e 64 20 74 65 78 74 | 20 6f 62 6a 65 63 74 20 |and text| object |
|00000d10| 62 6f 75 6e 64 69 6e 67 | 20 62 6f 78 65 73 20 28 |bounding| boxes (|
|00000d20| 63 6f 75 6c 64 20 6a 75 | 73 74 0d 03 34 38 f4 20 |could ju|st..48. |
|00000d30| 75 73 65 20 73 78 6d 69 | 6e 25 2e 2e 2e 73 79 6d |use sxmi|n%...sym|
|00000d40| 61 78 25 20 69 6e 73 74 | 65 61 64 20 6f 66 20 70 |ax% inst|ead of p|
|00000d50| 61 74 68 20 62 6f 75 6e | 64 69 6e 67 20 62 6f 78 |ath boun|ding box|
|00000d60| 29 2e 0d 03 3e 3e 78 20 | 3d 20 70 78 6d 69 6e 25 |)...>>x |= pxmin%|
|00000d70| 20 2b 20 28 70 78 6d 61 | 78 25 20 2d 20 70 78 6d | + (pxma|x% - pxm|
|00000d80| 69 6e 25 29 20 2f 20 32 | 20 2d 20 28 74 78 6d 61 |in%) / 2| - (txma|
|00000d90| 78 25 20 2d 20 74 78 6d | 69 6e 25 29 20 2f 20 32 |x% - txm|in%) / 2|
|00000da0| 0d 03 48 23 79 20 3d 20 | 70 79 6d 61 78 25 20 2b |..H#y = |pymax% +|
|00000db0| 20 a4 6d 6d 32 64 75 28 | 32 29 20 2d 20 74 79 6d | .mm2du(|2) - tym|
|00000dc0| 69 6e 25 0d 03 52 47 c8 | 99 20 22 44 46 5f 53 68 |in%..RG.|. "DF_Sh|
|00000dd0| 69 66 74 4f 62 6a 65 63 | 74 22 2c 20 31 2c 20 64 |iftObjec|t", 1, d|
|00000de0| 66 5f 62 75 66 66 25 2c | 20 66 70 6f 25 2c 2c 74 |f_buff%,| fpo%,,t|
|00000df0| 65 78 74 5f 6f 62 6a 5f | 70 6f 73 25 2c 2c 78 2c |ext_obj_|pos%,,x,|
|00000e00| 20 79 20 b8 2c 2c 66 70 | 6f 25 0d 03 5c 04 0d 03 | y .,,fp|o%..\...|
|00000e10| 66 20 f4 20 63 6f 6d 70 | 6c 65 74 65 20 74 68 65 |f . comp|lete the|
|00000e20| 20 67 72 6f 75 70 20 6f | 62 6a 65 63 74 2e 0d 03 | group o|bject...|
|00000e30| 70 2f c8 99 20 22 44 46 | 5f 45 6e 64 47 72 6f 75 |p/.. "DF|_EndGrou|
|00000e40| 70 22 2c 20 31 2c 20 64 | 66 5f 62 75 66 66 25 2c |p", 1, d|f_buff%,|
|00000e50| 20 66 70 6f 25 20 b8 2c | 2c 66 70 6f 25 0d 03 7a | fpo% .,|,fpo%..z|
|00000e60| 04 0d 03 84 21 f4 20 73 | 70 65 63 69 66 79 20 74 |....!. s|pecify t|
|00000e70| 68 65 20 74 72 61 6e 73 | 66 6f 72 6d 61 74 69 6f |he trans|formatio|
|00000e80| 6e 2e 0d 03 8e 2a 74 72 | 61 6e 73 66 6f 72 6d 25 |n....*tr|ansform%|
|00000e90| 21 30 20 20 3d 20 31 2e | 30 20 2a 20 36 35 35 33 |!0 = 1.|0 * 6553|
|00000ea0| 36 20 2a 20 9b 28 b2 28 | 33 30 29 29 0d 03 98 2a |6 * .(.(|30))...*|
|00000eb0| 74 72 61 6e 73 66 6f 72 | 6d 25 21 34 20 20 3d 20 |transfor|m%!4 = |
|00000ec0| 31 2e 30 20 2a 20 36 35 | 35 33 36 20 2a 20 b5 28 |1.0 * 65|536 * .(|
|00000ed0| b2 28 33 30 29 29 0d 03 | a2 2a 74 72 61 6e 73 66 |.(30))..|.*transf|
|00000ee0| 6f 72 6d 25 21 38 20 20 | 3d 20 31 2e 30 20 2a 20 |orm%!8 |= 1.0 * |
|00000ef0| 36 35 35 33 36 20 2a 2d | b5 28 b2 28 33 30 29 29 |65536 *-|.(.(30))|
|00000f00| 0d 03 ac 2a 74 72 61 6e | 73 66 6f 72 6d 25 21 31 |...*tran|sform%!1|
|00000f10| 32 20 3d 20 31 2e 30 20 | 2a 20 36 35 35 33 36 20 |2 = 1.0 |* 65536 |
|00000f20| 2a 20 9b 28 b2 28 33 30 | 29 29 0d 03 b6 15 74 72 |* .(.(30|))....tr|
|00000f30| 61 6e 73 66 6f 72 6d 25 | 21 31 36 20 3d 20 30 0d |ansform%|!16 = 0.|
|00000f40| 03 c0 15 74 72 61 6e 73 | 66 6f 72 6d 25 21 32 30 |...trans|form%!20|
|00000f50| 20 3d 20 30 0d 03 ca 04 | 0d 03 d4 30 f4 20 73 70 | = 0....|...0. sp|
|00000f60| 65 63 69 66 79 20 74 68 | 65 20 6f 72 69 67 69 6e |ecify th|e origin|
|00000f70| 20 66 6f 72 20 74 68 65 | 20 74 72 61 6e 73 66 6f | for the| transfo|
|00000f80| 72 6d 61 74 69 6f 6e 3b | 0d 03 de 31 f4 20 74 68 |rmation;|...1. th|
|00000f90| 69 73 20 69 73 20 74 68 | 65 20 63 65 6e 74 72 65 |is is th|e centre|
|00000fa0| 20 6f 66 20 74 68 65 20 | 73 70 72 69 74 65 20 77 | of the |sprite w|
|00000fb0| 68 69 63 68 20 77 69 6c | 6c 0d 03 e8 33 f4 20 72 |hich wil|l...3. r|
|00000fc0| 65 6d 61 69 6e 20 69 6e | 20 69 74 73 20 6f 72 69 |emain in| its ori|
|00000fd0| 67 69 6e 61 6c 20 6c 6f | 63 61 74 69 6f 6e 20 61 |ginal lo|cation a|
|00000fe0| 66 74 65 72 20 73 63 61 | 6c 69 6e 67 0d 03 f2 16 |fter sca|ling....|
|00000ff0| f4 20 61 6e 64 2f 6f 72 | 20 72 6f 74 61 74 69 6f |. and/or| rotatio|
|00001000| 6e 2e 0d 03 fc 2e 78 20 | 3d 20 a4 6d 6d 32 64 75 |n.....x |= .mm2du|
|00001010| 28 73 78 6d 69 6e 25 20 | 2b 20 28 73 78 6d 61 78 |(sxmin% |+ (sxmax|
|00001020| 25 20 2d 20 73 78 6d 69 | 6e 25 29 20 2f 20 32 29 |% - sxmi|n%) / 2)|
|00001030| 0d 04 06 2e 79 20 3d 20 | a4 6d 6d 32 64 75 28 73 |....y = |.mm2du(s|
|00001040| 79 6d 69 6e 25 20 2b 20 | 28 73 79 6d 61 78 25 20 |ymin% + |(symax% |
|00001050| 2d 20 73 79 6d 69 6e 25 | 29 20 2f 20 32 29 0d 04 |- symin%|) / 2)..|
|00001060| 10 04 0d 04 1a 2f f4 20 | 61 70 70 6c 79 20 74 72 |...../. |apply tr|
|00001070| 61 6e 73 66 6f 72 6d 61 | 74 69 6f 6e 20 74 6f 20 |ansforma|tion to |
|00001080| 74 68 65 20 67 72 6f 75 | 70 20 6f 62 6a 65 63 74 |the grou|p object|
|00001090| 2e 0d 04 24 58 c8 99 20 | 22 44 46 5f 54 72 61 6e |...$X.. |"DF_Tran|
|000010a0| 73 66 6f 72 6d 4f 62 6a | 65 63 74 22 2c 20 31 2c |sformObj|ect", 1,|
|000010b0| 20 64 66 5f 62 75 66 66 | 25 2c 20 66 70 6f 25 2c | df_buff|%, fpo%,|
|000010c0| 2c 67 72 6f 75 70 5f 6f | 62 6a 5f 70 6f 73 25 2c |,group_o|bj_pos%,|
|000010d0| 20 74 72 61 6e 73 66 6f | 72 6d 25 2c 20 78 2c 20 | transfo|rm%, x, |
|000010e0| 79 20 b8 2c 2c 66 70 6f | 25 0d 04 2e 04 0d 04 38 |y .,,fpo|%......8|
|000010f0| 33 c8 99 20 22 44 46 5f | 43 6f 6d 70 6c 65 74 65 |3.. "DF_|Complete|
|00001100| 46 69 6c 65 22 2c 20 31 | 2c 20 64 66 5f 62 75 66 |File", 1|, df_buf|
|00001110| 66 25 2c 20 66 70 6f 25 | 20 b8 2c 2c 66 70 6f 25 |f%, fpo%| .,,fpo%|
|00001120| 0d 04 42 04 0d 04 4c 58 | c8 99 20 22 4f 53 5f 46 |..B...LX|.. "OS_F|
|00001130| 69 6c 65 22 2c 31 30 2c | 22 3c 44 55 42 64 65 6d |ile",10,|"<DUBdem|
|00001140| 6f 24 44 69 72 3e 2e 44 | 65 6d 6f 73 2e 44 72 61 |o$Dir>.D|emos.Dra|
|00001150| 77 46 69 6c 65 22 2c 26 | 41 46 46 2c 2c 28 64 66 |wFile",&|AFF,,(df|
|00001160| 5f 62 75 66 66 25 2b 31 | 30 32 34 29 2c 28 64 66 |_buff%+1|024),(df|
|00001170| 5f 62 75 66 66 25 2b 66 | 70 6f 25 29 0d 04 56 2d |_buff%+f|po%)..V-|
|00001180| 2a 46 69 6c 65 72 5f 52 | 75 6e 20 22 3c 44 55 42 |*Filer_R|un "<DUB|
|00001190| 64 65 6d 6f 24 44 69 72 | 3e 2e 44 65 6d 6f 73 2e |demo$Dir|>.Demos.|
|000011a0| 44 72 61 77 46 69 6c 65 | 22 0d 04 60 04 0d 04 6a |DrawFile|"..`...j|
|000011b0| 05 e0 0d 04 74 04 0d 04 | 7e 1f f4 20 63 6f 6e 76 |....t...|~.. conv|
|000011c0| 65 72 74 20 6d 6d 20 74 | 6f 20 64 72 61 77 20 75 |ert mm t|o draw u|
|000011d0| 6e 69 74 73 2e 0d 04 88 | 04 0d 04 92 0f dd 20 a4 |nits....|...... .|
|000011e0| 6d 6d 32 64 75 28 78 29 | 0d 04 9c 0a 20 20 ea 20 |mm2du(x)|.... . |
|000011f0| 77 25 0d 04 a6 1e 20 20 | 77 25 20 3d 20 36 34 30 |w%.... |w% = 640|
|00001200| 20 2a 20 37 32 20 2f 20 | 32 35 2e 34 20 2a 20 78 | * 72 / |25.4 * x|
|00001210| 0d 04 b0 08 3d 20 77 25 | 0d 04 ba 04 0d 04 c4 05 |....= w%|........|
|00001220| e0 0d 04 ce 04 0d 04 d8 | 32 f4 20 54 6f 20 66 69 |........|2. To fi|
|00001230| 6e 64 20 74 68 65 20 75 | 6e 2d 73 63 61 6c 65 64 |nd the u|n-scaled|
|00001240| 20 64 69 6d 65 6e 73 69 | 6f 6e 73 20 6f 66 20 61 | dimensi|ons of a|
|00001250| 20 73 70 72 69 74 65 0d | 04 e2 31 f4 20 79 6f 75 | sprite.|..1. you|
|00001260| 20 63 6f 75 6c 64 20 75 | 73 65 20 74 68 65 20 66 | could u|se the f|
|00001270| 6f 6c 6c 6f 77 69 6e 67 | 20 77 68 69 63 68 20 67 |ollowing| which g|
|00001280| 69 76 65 73 20 74 68 65 | 0d 04 ec 2f f4 20 77 69 |ives the|.../. wi|
|00001290| 64 74 68 20 61 6e 64 20 | 68 65 69 67 68 74 20 69 |dth and |height i|
|000012a0| 6e 20 6f 73 20 75 6e 69 | 74 73 20 28 31 20 6f 73 |n os uni|ts (1 os|
|000012b0| 20 75 6e 69 74 20 3d 0d | 04 f6 16 f4 20 32 35 36 | unit =.|.... 256|
|000012c0| 20 64 72 61 77 20 75 6e | 69 74 73 29 3a 0d 05 00 | draw un|its):...|
|000012d0| 04 0d 05 0a 56 c8 99 20 | 22 44 46 5f 50 72 65 4c |....V.. |"DF_PreL|
|000012e0| 6f 61 64 53 70 72 69 74 | 65 22 2c 20 31 2c 20 64 |oadSprit|e", 1, d|
|000012f0| 66 5f 62 75 66 66 25 2c | 20 66 70 6f 25 2c 2c 3c |f_buff%,| fpo%,,<|
|00001300| 73 69 7a 65 2f 74 72 61 | 6e 73 66 6f 72 6d 61 74 |size/tra|nsformat|
|00001310| 69 6f 6e 20 70 61 72 61 | 6d 65 74 65 72 73 3e 20 |ion para|meters> |
|00001320| b8 2c 2c 66 70 6f 25 0d | 05 14 1e 61 64 64 72 65 |.,,fpo%.|...addre|
|00001330| 73 73 25 20 3d 20 64 66 | 5f 62 75 66 66 25 20 2b |ss% = df|_buff% +|
|00001340| 20 66 70 6f 25 0d 05 1e | 4a c8 99 20 22 4f 53 5f | fpo%...|J.. "OS_|
|00001350| 53 70 72 69 74 65 4f 70 | 22 2c 20 28 31 30 2b 32 |SpriteOp|", (10+2|
|00001360| 35 36 29 2c 20 61 64 64 | 72 65 73 73 25 2c 20 22 |56), add|ress%, "|
|00001370| 3c 66 75 6c 6c 20 70 61 | 74 68 6e 61 6d 65 20 6f |<full pa|thname o|
|00001380| 66 20 73 70 72 69 74 65 | 20 66 69 6c 65 3e 22 0d |f sprite| file>".|
|00001390| 05 28 1c 77 69 64 74 68 | 25 20 3d 20 30 20 3a 20 |.(.width|% = 0 : |
|000013a0| 68 65 69 67 68 74 25 20 | 3d 20 30 0d 05 32 2f f2 |height% |= 0..2/.|
|000013b0| 67 65 74 5f 73 70 72 69 | 74 65 5f 73 69 7a 65 28 |get_spri|te_size(|
|000013c0| 61 64 64 72 65 73 73 25 | 2c 20 77 69 64 74 68 25 |address%|, width%|
|000013d0| 2c 20 68 65 69 67 68 74 | 25 29 0d 05 3c 33 c8 99 |, height|%)..<3..|
|000013e0| 20 22 44 46 5f 53 70 72 | 69 74 65 4c 6f 61 64 65 | "DF_Spr|iteLoade|
|000013f0| 64 22 2c 20 31 2c 20 64 | 66 5f 62 75 66 66 25 2c |d", 1, d|f_buff%,|
|00001400| 20 66 70 6f 25 20 b8 2c | 2c 66 70 6f 25 0d 05 46 | fpo% .,|,fpo%..F|
|00001410| 04 0d 05 50 39 f4 20 59 | 6f 75 20 63 6f 75 6c 64 |...P9. Y|ou could|
|00001420| 20 28 65 2e 67 2e 29 20 | 63 72 65 61 74 65 20 74 | (e.g.) |create t|
|00001430| 68 65 20 73 70 72 69 74 | 65 20 69 6e 69 74 69 61 |he sprit|e initia|
|00001440| 6c 6c 79 20 77 69 74 68 | 20 61 0d 05 5a 39 f4 20 |lly with| a..Z9. |
|00001450| 75 6e 69 74 20 74 72 61 | 6e 73 66 6f 72 6d 61 74 |unit tra|nsformat|
|00001460| 69 6f 6e 20 6d 61 74 72 | 69 78 20 28 78 73 63 61 |ion matr|ix (xsca|
|00001470| 6c 65 20 3d 20 79 73 63 | 61 6c 65 20 3d 20 31 20 |le = ysc|ale = 1 |
|00001480| 61 6e 64 0d 05 64 37 f4 | 20 72 6f 74 61 74 69 6f |and..d7.| rotatio|
|00001490| 6e 20 3d 20 30 29 2c 20 | 67 65 74 20 74 68 65 20 |n = 0), |get the |
|000014a0| 64 69 6d 65 6e 73 69 6f | 6e 73 20 61 73 20 73 68 |dimensio|ns as sh|
|000014b0| 6f 77 6e 20 61 62 6f 76 | 65 2c 0d 05 6e 2d f4 20 |own abov|e,..n-. |
|000014c0| 63 6f 6d 70 6c 65 74 65 | 20 74 68 65 20 73 70 72 |complete| the spr|
|000014d0| 69 74 65 20 6f 62 6a 65 | 63 74 20 61 6e 64 20 74 |ite obje|ct and t|
|000014e0| 68 65 6e 20 75 73 65 0d | 05 78 36 f4 20 44 46 5f |hen use.|.x6. DF_|
|000014f0| 54 72 61 6e 73 66 6f 72 | 6d 4f 62 6a 65 63 74 20 |Transfor|mObject |
|00001500| 77 69 74 68 20 73 63 61 | 6c 65 20 66 61 63 74 6f |with sca|le facto|
|00001510| 72 73 20 64 65 74 65 72 | 6d 69 6e 65 64 0d 05 82 |rs deter|mined...|
|00001520| 36 f4 20 66 72 6f 6d 20 | 74 68 65 20 64 69 6d 65 |6. from |the dime|
|00001530| 6e 73 69 6f 6e 73 20 74 | 6f 20 73 65 74 20 74 68 |nsions t|o set th|
|00001540| 65 20 66 69 6e 61 6c 20 | 73 69 7a 65 20 6f 66 20 |e final |size of |
|00001550| 74 68 65 0d 05 8c 0d f4 | 20 73 70 72 69 74 65 2e |the.....| sprite.|
|00001560| 0d 05 96 04 0d 05 a0 3a | f4 20 73 70 72 5f 70 74 |.......:|. spr_pt|
|00001570| 72 25 20 69 73 20 61 20 | 70 6f 69 6e 74 65 72 20 |r% is a |pointer |
|00001580| 74 6f 20 61 20 73 70 72 | 69 74 65 20 61 72 65 61 |to a spr|ite area|
|00001590| 20 63 6f 6e 74 72 6f 6c | 20 62 6c 6f 63 6b 0d 05 | control| block..|
|000015a0| aa 37 f4 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 61 |.7. cont|aining a|
|000015b0| 74 20 6c 6f 63 61 74 69 | 6f 6e 20 2b 38 20 74 68 |t locati|on +8 th|
|000015c0| 65 20 6f 66 66 73 65 74 | 20 74 6f 20 74 68 65 20 |e offset| to the |
|000015d0| 66 69 72 73 74 0d 05 b4 | 36 f4 20 73 70 72 69 74 |first...|6. sprit|
|000015e0| 65 20 69 6e 20 74 68 65 | 20 61 72 65 61 20 28 66 |e in the| area (f|
|000015f0| 6f 72 20 77 68 69 63 68 | 20 74 68 65 20 64 69 6d |or which| the dim|
|00001600| 65 6e 73 69 6f 6e 73 20 | 61 72 65 0d 05 be 10 f4 |ensions |are.....|
|00001610| 20 72 65 74 75 72 6e 65 | 64 29 2e 0d 05 c8 04 0d | returne|d)......|
|00001620| 05 d2 2c dd 20 f2 67 65 | 74 5f 73 70 72 69 74 65 |..,. .ge|t_sprite|
|00001630| 5f 73 69 7a 65 28 73 70 | 72 5f 70 74 72 25 2c 20 |_size(sp|r_ptr%, |
|00001640| f8 20 77 25 2c 20 f8 20 | 68 25 29 0d 05 dc 19 20 |. w%, . |h%).... |
|00001650| 20 ea 20 6d 6f 64 65 25 | 2c 20 78 25 2c 20 79 25 | . mode%|, x%, y%|
|00001660| 2c 20 70 25 0d 05 e6 20 | 20 20 70 25 20 3d 20 73 |, p%... | p% = s|
|00001670| 70 72 5f 70 74 72 25 20 | 2b 20 73 70 72 5f 70 74 |pr_ptr% |+ spr_pt|
|00001680| 72 25 21 38 0d 05 f0 40 | 20 20 c8 99 20 22 4f 53 |r%!8...@| .. "OS|
|00001690| 5f 53 70 72 69 74 65 4f | 70 22 2c 20 28 34 30 2b |_SpriteO|p", (40+|
|000016a0| 35 31 32 29 2c 20 73 70 | 72 5f 70 74 72 25 2c 20 |512), sp|r_ptr%, |
|000016b0| 70 25 20 b8 2c 2c 2c 77 | 25 2c 20 68 25 2c 2c 6d |p% .,,,w|%, h%,,m|
|000016c0| 6f 64 65 25 0d 05 fa 2e | 20 20 c8 99 20 22 4f 53 |ode%....| .. "OS|
|000016d0| 5f 52 65 61 64 4d 6f 64 | 65 56 61 72 69 61 62 6c |_ReadMod|eVariabl|
|000016e0| 65 22 2c 20 6d 6f 64 65 | 25 2c 20 34 20 b8 2c 2c |e", mode|%, 4 .,,|
|000016f0| 78 25 0d 06 04 2e 20 20 | c8 99 20 22 4f 53 5f 52 |x%.... |.. "OS_R|
|00001700| 65 61 64 4d 6f 64 65 56 | 61 72 69 61 62 6c 65 22 |eadModeV|ariable"|
|00001710| 2c 20 6d 6f 64 65 25 2c | 20 35 20 b8 2c 2c 79 25 |, mode%,| 5 .,,y%|
|00001720| 0d 06 0e 19 20 20 77 25 | 20 3d 20 77 25 20 2a 20 |.... w%| = w% * |
|00001730| 28 31 20 3c 3c 20 78 25 | 29 0d 06 18 19 20 20 68 |(1 << x%|).... h|
|00001740| 25 20 3d 20 68 25 20 2a | 20 28 31 20 3c 3c 20 79 |% = h% *| (1 << y|
|00001750| 25 29 0d 06 22 05 e1 0d | 06 2c 04 0d ff |%).."...|.,... |
+--------+-------------------------+-------------------------+--------+--------+