home *** CD-ROM | disk | FTP | other *** search
Unknown | 1995-04-02 | 2.1 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
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0d 00 01 04 0d 00 02 48 | 2a 57 54 49 66 4e 6f 74 |.......H|*WTIfNot|
|00000010| 46 6f 75 6e 64 44 20 57 | 54 65 78 61 6d 70 6c 65 |FoundD W|Texample|
|00000020| 73 3a 6f 76 65 72 6c 61 | 79 73 2e 77 74 6d 64 73 |s:overla|ys.wtmds|
|00000030| 20 2f 57 54 65 78 61 6d | 70 6c 65 73 3a 6f 76 65 | /WTexam|ples:ove|
|00000040| 72 6c 61 79 73 2e 77 74 | 6d 64 73 21 0d 00 03 04 |rlays.wt|mds!....|
|00000050| 0d 00 04 26 ee 20 85 20 | c8 99 22 58 57 54 5f 46 |...&. . |.."XWT_F|
|00000060| 6f 72 67 65 74 22 2c 22 | 4c 65 76 65 6c 2e 22 3a |orget","|Level.":|
|00000070| f6 3a f1 9e 3a e0 0d 00 | 05 11 eb 30 3a fb 31 2c |.:..:...|...0:.1,|
|00000080| 30 2c 32 35 35 2c 30 0d | 00 06 26 70 61 74 68 24 |0,255,0.|..&path$|
|00000090| 3d 22 57 54 65 78 61 6d | 70 6c 65 73 3a 6f 76 65 |="WTexam|ples:ove|
|000000a0| 72 6c 61 79 73 2e 77 74 | 6d 64 73 2e 22 0d 00 07 |rlays.wt|mds."...|
|000000b0| 08 6c 25 3d 30 0d 00 08 | 04 0d 00 09 09 5b 6f 70 |.l%=0...|.....[op|
|000000c0| 74 32 0d 00 0a 43 3b 20 | 57 54 20 6d 6f 64 75 6c |t2...C; |WT modul|
|000000d0| 65 73 20 61 72 65 20 64 | 65 73 69 67 6e 65 64 20 |es are d|esigned |
|000000e0| 69 6e 20 61 20 77 61 79 | 20 74 68 61 74 20 63 61 |in a way| that ca|
|000000f0| 6e 20 68 61 76 65 20 6d | 65 6d 6f 72 79 20 73 74 |n have m|emory st|
|00000100| 61 74 75 73 2c 0d 00 0b | 40 3b 20 74 68 69 73 20 |atus,...|@; this |
|00000110| 73 69 6d 70 6c 65 20 74 | 65 63 68 6e 69 71 75 65 |simple t|echnique|
|00000120| 20 6d 61 6b 65 73 20 74 | 68 65 6d 20 74 6f 20 65 | makes t|hem to e|
|00000130| 78 69 73 74 20 65 61 73 | 79 20 61 73 20 6f 76 65 |xist eas|y as ove|
|00000140| 72 6c 61 79 73 0d 00 0c | 42 3b 20 6e 6f 74 20 74 |rlays...|B; not t|
|00000150| 68 65 20 62 65 73 74 20 | 6f 66 20 74 68 65 20 6b |he best |of the k|
|00000160| 69 6e 64 20 62 75 74 20 | 61 6e 20 65 66 66 69 63 |ind but |an effic|
|00000170| 69 65 6e 74 20 72 6f 75 | 74 69 6e 65 20 69 6e 73 |ient rou|tine ins|
|00000180| 69 64 65 20 74 68 65 0d | 00 0d 40 3b 20 6d 61 6e |ide the.|..@; man|
|00000190| 61 67 65 72 20 61 6c 6c | 6f 77 73 20 74 68 65 20 |ager all|ows the |
|000001a0| 6d 61 78 69 6d 75 6d 20 | 73 69 7a 65 20 6f 66 20 |maximum |size of |
|000001b0| 6d 6f 64 75 6c 65 73 20 | 74 6f 20 62 65 20 69 6e |modules |to be in|
|000001c0| 20 6d 65 6d 6f 72 79 0d | 00 0e 31 3b 20 77 69 74 | memory.|..1; wit|
|000001d0| 68 6f 75 74 20 61 6e 79 | 20 62 61 64 20 65 66 66 |hout any| bad eff|
|000001e0| 65 63 74 20 6f 66 20 74 | 68 65 20 6d 69 73 73 69 |ect of t|he missi|
|000001f0| 6e 67 20 6f 6e 65 73 2e | 0d 00 0f 4a 3b 20 41 20 |ng ones.|...J; A |
|00000200| 74 68 69 6e 67 20 74 6f | 20 6d 65 6e 74 69 6f 6e |thing to| mention|
|00000210| 20 69 73 20 74 68 61 74 | 20 79 6f 75 20 63 61 6e | is that| you can|
|00000220| 20 68 61 76 65 20 74 77 | 6f 2c 20 6f 72 20 6d 6f | have tw|o, or mo|
|00000230| 72 65 2c 20 20 72 6f 75 | 74 69 6e 65 73 20 77 69 |re, rou|tines wi|
|00000240| 74 68 0d 00 10 4b 3b 20 | 74 68 65 20 73 61 6d 65 |th...K; |the same|
|00000250| 20 6e 61 6d 65 20 6c 6f | 61 64 65 64 20 61 6e 64 | name lo|aded and|
|00000260| 20 2a 61 75 74 6f 6d 61 | 74 69 63 2a 20 63 68 6f | *automa|tic* cho|
|00000270| 6f 73 65 20 77 68 69 63 | 68 20 6f 6e 65 20 77 69 |ose whic|h one wi|
|00000280| 6c 6c 20 62 65 20 63 61 | 6c 6c 65 64 2c 0d 00 11 |ll be ca|lled,...|
|00000290| 1d 3b 20 69 73 20 74 68 | 69 73 20 70 6f 73 73 69 |.; is th|is possi|
|000002a0| 62 6c 65 20 69 6e 20 43 | 20 3f 0d 00 12 46 3b 20 |ble in C| ?...F; |
|000002b0| 54 68 69 73 20 69 73 20 | 61 20 77 6f 72 73 74 20 |This is |a worst |
|000002c0| 63 61 73 65 20 6f 76 65 | 72 6c 61 79 20 64 65 6d |case ove|rlay dem|
|000002d0| 6f 20 62 65 63 61 75 73 | 65 20 63 61 6c 6c 73 20 |o becaus|e calls |
|000002e0| 74 68 65 20 72 6f 75 74 | 69 6e 65 73 20 6f 6e 65 |the rout|ines one|
|000002f0| 0d 00 13 2b 3b 20 61 66 | 74 65 72 20 74 68 65 20 |...+; af|ter the |
|00000300| 6f 74 68 65 72 20 77 69 | 74 68 20 61 20 63 6f 6d |other wi|th a com|
|00000310| 70 6c 65 74 65 20 6c 6f | 6f 70 2e 0d 00 14 05 5d |plete lo|op.....]|
|00000320| 0d 00 15 04 0d 00 16 04 | 0d 00 17 05 f5 0d 00 18 |........|........|
|00000330| 20 20 20 6c 25 3d 6c 25 | 83 31 32 2b 31 3a 77 74 | l%=l%|.12+1:wt|
|00000340| 24 3d 22 4c 65 76 65 6c | 22 2b c3 6c 25 0d 00 19 |$="Level|"+.l%...|
|00000350| 04 0d 00 1a 43 20 20 20 | 20 20 20 f4 20 54 68 69 |....C | . Thi|
|00000360| 73 20 6e 65 78 74 20 53 | 57 49 20 77 69 6c 6c 20 |s next S|WI will |
|00000370| 6d 61 6b 65 20 61 20 57 | 54 20 6d 6f 64 75 6c 65 |make a W|T module|
|00000380| 20 27 62 65 73 74 20 6f | 66 20 61 6c 6c 27 20 77 | 'best o|f all' w|
|00000390| 68 69 63 68 0d 00 1b 40 | 20 20 20 20 20 20 f4 20 |hich...@| . |
|000003a0| 6d 65 61 6e 73 20 74 68 | 61 74 20 69 66 20 74 68 |means th|at if th|
|000003b0| 65 72 65 20 61 72 65 20 | 6d 6f 72 65 20 74 68 61 |ere are |more tha|
|000003c0| 6e 20 6f 6e 65 20 6d 6f | 64 75 6c 65 73 20 6c 6f |n one mo|dules lo|
|000003d0| 61 64 65 64 0d 00 1c 46 | 20 20 20 20 20 20 f4 20 |aded...F| . |
|000003e0| 77 69 74 68 20 74 68 65 | 20 73 61 6d 65 20 63 68 |with the| same ch|
|000003f0| 75 6e 6b 73 20 74 68 65 | 20 62 65 73 74 20 6f 66 |unks the| best of|
|00000400| 20 61 6c 6c 20 77 69 6c | 6c 20 62 65 65 6e 20 73 | all wil|l been s|
|00000410| 65 65 6e 20 62 79 20 74 | 68 65 0d 00 1d 1a 20 20 |een by t|he.... |
|00000420| 20 20 20 20 f4 20 6d 61 | 6e 61 67 65 72 20 66 69 | . ma|nager fi|
|00000430| 72 73 74 2e 0d 00 1e 41 | 20 20 20 20 20 20 f4 20 |rst....A| . |
|00000440| 49 66 20 74 68 65 20 6d | 6f 64 75 6c 65 20 69 73 |If the m|odule is|
|00000450| 6e 27 74 20 69 6e 20 6d | 65 6d 6f 72 79 2c 20 69 |n't in m|emory, i|
|00000460| 74 20 77 69 6c 6c 20 62 | 65 20 6c 6f 61 64 65 64 |t will b|e loaded|
|00000470| 20 6e 6f 77 2e 0d 00 1f | 42 20 20 20 20 20 20 f4 | now....|B .|
|00000480| 20 54 68 69 73 20 53 57 | 49 20 61 6c 73 6f 20 73 | This SW|I also s|
|00000490| 61 79 73 20 64 6f 6e 27 | 74 20 67 69 76 65 20 74 |ays don'|t give t|
|000004a0| 68 65 20 73 70 61 63 65 | 20 6f 66 20 74 68 69 73 |he space| of this|
|000004b0| 20 6d 6f 64 75 6c 65 0d | 00 20 2e 20 20 20 20 20 | module.|. . |
|000004c0| 20 f4 20 74 6f 20 73 6f | 6d 65 6f 6e 65 20 74 68 | . to so|meone th|
|000004d0| 61 74 20 6d 61 79 20 6e | 65 65 64 20 6d 65 6d 6f |at may n|eed memo|
|000004e0| 72 79 2e 2e 2e 0d 00 21 | 2f 20 20 c8 99 22 57 54 |ry.....!|/ .."WT|
|000004f0| 5f 4d 6f 64 75 6c 65 53 | 74 61 74 65 22 2c 77 74 |_ModuleS|tate",wt|
|00000500| 24 2c 70 61 74 68 24 2b | 77 74 24 2c 31 2c 37 20 |$,path$+|wt$,1,7 |
|00000510| b8 3b 66 25 0d 00 22 04 | 0d 00 23 4e 20 20 20 20 |.;f%..".|..#N |
|00000520| 20 20 f4 20 49 66 20 74 | 68 65 20 6e 65 65 64 65 | . If t|he neede|
|00000530| 64 20 57 54 20 6d 6f 64 | 75 6c 65 20 63 6f 75 6c |d WT mod|ule coul|
|00000540| 64 20 6e 6f 74 20 62 65 | 20 6c 6f 61 64 65 64 3b |d not be| loaded;|
|00000550| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 20 6d 65 6d | there i|s no mem|
|00000560| 6f 72 79 2e 2e 2e 0d 00 | 24 0d 20 20 e7 66 25 80 |ory.....|$. .f%.|
|00000570| 32 20 8c 0d 00 25 48 20 | 20 20 20 e7 66 25 80 32 |2 ...%H | .f%.2|
|00000580| 20 85 20 30 2c 22 59 6f | 75 20 77 69 6c 6c 20 68 | . 0,"Yo|u will h|
|00000590| 61 76 65 20 74 6f 20 69 | 6e 63 72 65 61 73 65 20 |ave to i|ncrease |
|000005a0| 52 4d 41 20 6f 72 20 46 | 72 65 65 20 73 6c 6f 74 |RMA or F|ree slot|
|000005b0| 73 20 61 20 62 69 74 2e | 2e 2e 22 0d 00 26 07 20 |s a bit.|.."..&. |
|000005c0| 20 cd 0d 00 27 04 0d 00 | 28 45 20 20 20 20 20 20 | ...'...|(E |
|000005d0| f4 20 4e 6f 77 20 49 20 | 77 69 6c 6c 20 63 61 6c |. Now I |will cal|
|000005e0| 6c 20 74 68 65 20 6d 61 | 69 6e 20 67 61 6d 65 20 |l the ma|in game |
|000005f0| 72 6f 75 74 69 6e 65 2c | 20 77 68 69 63 68 20 69 |routine,| which i|
|00000600| 6e 20 74 68 69 73 20 64 | 65 6d 6f 0d 00 29 4b 20 |n this d|emo..)K |
|00000610| 20 20 20 20 20 f4 20 69 | 73 20 64 69 66 66 65 72 | . i|s differ|
|00000620| 65 6e 74 20 66 6f 72 20 | 65 61 63 68 20 6c 65 76 |ent for |each lev|
|00000630| 65 6c 2c 20 62 75 74 20 | 61 73 20 79 6f 75 20 63 |el, but |as you c|
|00000640| 61 6e 20 73 65 65 20 49 | 20 6a 75 73 74 20 63 61 |an see I| just ca|
|00000650| 6c 6c 20 6f 6e 65 0d 00 | 2a 43 20 20 20 20 20 20 |ll one..|*C |
|00000660| f4 20 72 6f 75 74 69 6e | 65 20 66 6f 72 20 61 6c |. routin|e for al|
|00000670| 6c 20 74 68 65 20 6c 65 | 76 65 6c 73 2e 20 49 20 |l the le|vels. I |
|00000680| 64 6f 6e 27 74 20 68 61 | 76 65 20 74 6f 20 63 68 |don't ha|ve to ch|
|00000690| 65 63 6b 20 77 68 69 63 | 68 0d 00 2b 47 20 20 20 |eck whic|h..+G |
|000006a0| 20 20 20 f4 20 6c 65 76 | 65 6c 27 73 20 72 6f 75 | . lev|el's rou|
|000006b0| 74 69 6e 65 20 69 73 20 | 74 68 69 73 2c 20 61 6c |tine is |this, al|
|000006c0| 74 68 6f 75 67 68 20 74 | 77 6f 20 6f 72 20 6d 6f |though t|wo or mo|
|000006d0| 72 65 20 6c 65 76 65 6c | 73 20 63 61 6e 20 62 65 |re level|s can be|
|000006e0| 0d 00 2c 29 20 20 20 20 | 20 20 f4 20 69 6e 74 6f |..,) | . into|
|000006f0| 20 6d 65 6d 6f 72 79 20 | 61 74 20 74 68 65 20 73 | memory |at the s|
|00000700| 61 6d 65 20 74 69 6d 65 | 2e 0d 00 2d 22 20 20 c8 |ame time|...-" .|
|00000710| 99 22 57 54 5f 43 61 6c | 6c 44 4c 52 44 22 2c 2c |."WT_Cal|lDLRD",,|
|00000720| 22 47 61 6d 65 5f 50 6c | 61 79 22 0d 00 2e 04 0d |"Game_Pl|ay".....|
|00000730| 00 2f 2b 20 20 20 20 20 | 20 f4 20 4c 69 73 74 20 |./+ | . List |
|00000740| 74 68 65 20 27 6c 65 76 | 65 6c 2e 27 20 57 54 20 |the 'lev|el.' WT |
|00000750| 6d 6f 64 75 6c 65 73 2e | 2e 2e 0d 00 30 18 20 20 |modules.|....0. |
|00000760| 2a 3e 57 54 4d 6f 64 75 | 6c 65 73 20 4c 65 76 65 |*>WTModu|les Leve|
|00000770| 6c 2e 0d 00 31 04 0d 00 | 32 44 20 20 20 20 20 20 |l...1...|2D |
|00000780| f4 20 54 68 69 73 20 69 | 73 20 74 68 65 20 66 69 |. This i|s the fi|
|00000790| 6e 61 6c 20 53 57 49 20 | 69 6e 74 6f 20 6c 6f 6f |nal SWI |into loo|
|000007a0| 70 2c 20 61 6c 6c 6f 77 | 73 20 74 68 65 20 6d 6f |p, allow|s the mo|
|000007b0| 64 75 6c 65 20 74 6f 20 | 62 65 0d 00 33 2a 20 20 |dule to |be..3* |
|000007c0| 20 20 20 20 f4 20 6b 69 | 6c 6c 65 64 20 77 68 65 | . ki|lled whe|
|000007d0| 6e 20 69 74 73 20 6d 65 | 6d 6f 72 79 20 6e 65 65 |n its me|mory nee|
|000007e0| 64 65 64 2e 0d 00 34 21 | 20 20 c8 99 22 57 54 5f |ded...4!| .."WT_|
|000007f0| 4d 6f 64 75 6c 65 53 74 | 61 74 65 22 2c 77 74 24 |ModuleSt|ate",wt$|
|00000800| 2c 2c 32 2c 32 0d 00 35 | 04 0d 00 36 1c 20 20 f5 |,,2,2..5|...6. .|
|00000810| c8 97 78 25 2c 79 25 2c | 6d 25 3a fd 6d 25 3d 30 |..x%,y%,|m%:.m%=0|
|00000820| 84 6d 25 3d 32 0d 00 37 | 15 20 20 f5 c8 97 78 25 |.m%=2..7|. ...x%|
|00000830| 2c 79 25 2c 6d 25 3a fd | 6d 25 0d 00 38 09 fd 6d |,y%,m%:.|m%..8..m|
|00000840| 25 3d 31 0d 00 39 04 0d | 00 3a 0b 2a 57 54 46 72 |%=1..9..|.:.*WTFr|
|00000850| 65 65 0d ff | |ee.. | |
+--------+-------------------------+-------------------------+--------+--------+