/ Garbo
/ Garbo.cdr / mac / util / raytracr.sit / README.bin ![]() | < prev | next > |
MacBinary | 1989-09-14 | 2.3 KB | [TEXT/KAHL] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
66% | dexvert | AMOS Picture Packer (image/amosPicturePacker) | ext | Supported |
10% | dexvert | Jesper Olsen Module (music/jesperOlsen) | magic | Supported |
1% | dexvert | Debian floppy split (archive/debianFloppySplit) | ext | Unsupported |
1% | dexvert | Sound Images sound sample (audio/soundImagesSoundSample) | ext | Unsupported |
1% | dexvert | DESI-III drawing (image/desiIIIDrawing) | ext | Unsupported |
1% | dexvert | MS-DOS PMODE extender executable (executable/msdosPMODEExtenderExecutable) | ext | Unsupported |
1% | dexvert | Alien Trilogytextures (other/alienTrilogyTextures) | ext | Unsupported |
1% | dexvert | APT cache data (other/aptCacheData) | ext | Unsupported |
1% | dexvert | CorelTRACE configuration (other/corelTRACEConfiguration) | ext | Unsupported |
1% | dexvert | Dreamcast Disc (other/dreamcastDisc) | ext | Unsupported |
1% | dexvert | EST flat binary (other/estFlatBinary) | ext | Unsupported |
1% | dexvert | Finale Enigma Binary Format (other/finaleEnigmaBinaryFormat) | ext | Unsupported |
1% | dexvert | Sega Genesis/Megadrive/32x ROM (other/genesisROM) | ext | Unsupported |
1% | dexvert | Myth: The Fallen Lords game archive (other/mythTheFallenLordsGameArchive) | ext | Unsupported |
1% | dexvert | Sound Images Sound Driver (other/soundImagesSoundDriver) | ext | Unsupported |
1% | dexvert | Symantec/Norton Config (other/symantecNortonConfig) | ext | Unsupported |
1% | dexvert | Vectrex ROM (other/vectrexROM) | ext | Unsupported |
1% | dexvert | BIS raP encoded format (other/bisraPEncoded) | ext | Unsupported |
1% | dexvert | Pascal Script binary (other/pascalScriptBinary) | ext | Unsupported |
1% | dexvert | 7th Level game data archive (other/seventhLevelGameDataArchive) | ext | Unsupported |
1% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary, Sun Nov 13 05:03:44 1988, modified Fri Apr 28 17:39:04 1989, creator Think C, type ASCII, 2085 bytes "README" | default (weak) | |
99% | file | data | default | |
49% | TrID | Macintosh plain text (MacBinary) | default | |
33% | TrID | TTComp archive compressed (bin-4K) | default (weak) | |
17% | TrID | MacBinary 1 | default (weak) | |
100% | lsar | MacBinary | default | |
100% | gt2 | MAC Bilddatei | default (weak) |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [KAHL] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 52 45 41 44 4d 45 | 00 00 00 00 00 00 00 00 |..README|........|
|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 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 08 25 00 | 00 00 00 9f a3 0e 80 a0 |......%.|........|
|00000060| 7e 8a 78 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |~.x.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 2a 2a 2a 2a 2a 20 41 20 | 48 61 63 6b 65 72 73 20 |***** A |Hackers |
|00000090| 47 75 69 64 65 20 74 6f | 20 54 72 61 63 65 72 20 |Guide to| Tracer |
|000000a0| 2a 2a 2a 2a 2a 0d 74 72 | 61 63 65 72 20 63 6f 6e |*****.tr|acer con|
|000000b0| 73 69 73 74 73 20 6f 66 | 20 61 20 62 75 6e 63 68 |sists of| a bunch|
|000000c0| 20 6f 66 20 66 69 6c 65 | 73 20 63 6f 6e 74 61 69 | of file|s contai|
|000000d0| 6e 69 6e 67 20 61 20 70 | 72 6f 67 72 61 6d 20 74 |ning a p|rogram t|
|000000e0| 68 61 74 20 64 6f 65 73 | 20 0d 72 61 79 20 74 72 |hat does| .ray tr|
|000000f0| 61 63 69 6e 67 20 28 4e | 6f 20 73 68 69 74 20 73 |acing (N|o shit s|
|00000100| 68 65 72 6c 6f 63 6b 29 | 2e 0d 54 68 65 73 20 66 |herlock)|..Thes f|
|00000110| 69 6c 65 73 20 61 72 65 | 20 61 73 20 66 6f 6c 6c |iles are| as foll|
|00000120| 6f 77 73 3a 0d 74 72 61 | 63 65 72 2e 63 3a 09 6d |ows:.tra|cer.c:.m|
|00000130| 61 69 6e 28 29 20 73 65 | 74 73 20 75 70 20 74 68 |ain() se|ts up th|
|00000140| 65 20 69 6e 69 74 69 61 | 6c 20 72 61 79 73 20 61 |e initia|l rays a|
|00000150| 6e 64 20 73 74 6f 72 65 | 73 20 76 61 6c 75 65 73 |nd store|s values|
|00000160| 0d 09 09 69 6e 20 61 20 | 66 69 6c 65 2e 20 62 6f |...in a |file. bo|
|00000170| 6f 62 6f 6f 20 70 72 69 | 6e 74 73 20 61 6e 20 65 |oboo pri|nts an e|
|00000180| 72 72 6f 72 20 6d 65 73 | 73 61 67 65 20 61 6e 64 |rror mes|sage and|
|00000190| 20 71 75 69 74 73 2e 0d | 73 68 61 64 65 2e 63 3a | quits..|shade.c:|
|000001a0| 09 73 68 61 64 65 28 29 | 20 63 61 6c 63 75 6c 61 |.shade()| calcula|
|000001b0| 74 65 73 20 74 68 65 20 | 69 6e 74 65 6e 73 69 74 |tes the |intensit|
|000001c0| 79 20 72 65 74 75 72 6e | 65 64 20 62 79 20 61 20 |y return|ed by a |
|000001d0| 72 61 79 2e 20 49 74 20 | 69 73 0d 09 20 09 72 65 |ray. It |is.. .re|
|000001e0| 63 75 72 73 69 76 65 2c | 20 61 6e 64 20 61 6c 73 |cursive,| and als|
|000001f0| 6f 20 6d 61 6b 65 73 20 | 61 20 63 61 6c 6c 20 74 |o makes |a call t|
|00000200| 6f 20 72 65 66 72 61 63 | 74 28 29 2e 0d 72 65 66 |o refrac|t()..ref|
|00000210| 72 61 63 74 2e 63 3a 09 | 54 68 65 20 6d 6f 73 74 |ract.c:.|The most|
|00000220| 20 64 69 66 66 69 63 75 | 6c 74 20 70 61 72 74 20 | difficu|lt part |
|00000230| 6f 66 20 74 68 65 20 70 | 72 6f 67 72 61 6d 2e 20 |of the p|rogram. |
|00000240| 54 68 69 73 20 66 69 6c | 65 20 63 6f 6e 74 61 69 |This fil|e contai|
|00000250| 6e 73 0d 09 09 72 65 66 | 72 61 63 74 28 29 2c 20 |ns...ref|ract(), |
|00000260| 69 6e 73 69 64 65 28 29 | 2c 20 72 65 66 6b 28 29 |inside()|, refk()|
|00000270| 20 61 6e 64 20 67 65 74 | 63 61 70 74 28 29 2e 0d | and get|capt()..|
|00000280| 09 09 61 6e 64 20 74 68 | 65 73 65 20 64 6f 20 61 |..and th|ese do a|
|00000290| 6c 6c 20 74 68 65 20 72 | 65 66 72 61 63 74 69 6f |ll the r|efractio|
|000002a0| 6e 20 63 61 6c 63 75 6c | 61 74 69 6f 6e 73 2e 0d |n calcul|ations..|
|000002b0| 66 69 6e 64 2e 63 3a 09 | 09 63 6f 6e 74 61 69 6e |find.c:.|.contain|
|000002c0| 73 20 66 69 6e 64 28 29 | 2c 66 69 6e 64 6f 28 29 |s find()|,findo()|
|000002d0| 20 28 66 6f 72 20 77 68 | 65 6e 20 61 20 72 61 79 | (for wh|en a ray|
|000002e0| 20 69 73 20 69 6e 73 69 | 64 65 20 61 20 62 61 6c | is insi|de a bal|
|000002f0| 6c 29 0d 09 09 61 6e 64 | 20 73 68 61 64 6f 77 28 |l)...and| shadow(|
|00000300| 29 20 61 6e 64 20 66 69 | 6e 64 73 28 29 20 66 6f |) and fi|nds() fo|
|00000310| 72 20 73 68 61 64 6f 77 | 73 2e 0d 73 75 70 70 6f |r shadow|s..suppo|
|00000320| 72 74 2e 63 3a 09 73 75 | 70 70 6f 72 74 69 76 65 |rt.c:.su|pportive|
|00000330| 20 73 75 62 72 6f 75 74 | 69 6e 65 73 2e 20 72 69 | subrout|ines. ri|
|00000340| 67 68 74 20 6e 6f 77 20 | 6f 6e 6c 79 20 63 6f 6e |ght now |only con|
|00000350| 74 61 69 6e 73 20 6d 74 | 5f 76 65 63 0d 09 09 61 |tains mt|_vec...a|
|00000360| 73 20 61 6c 6c 20 74 68 | 65 20 6f 74 68 65 72 73 |s all th|e others|
|00000370| 20 77 65 72 65 20 65 69 | 74 68 65 72 20 64 69 73 | were ei|ther dis|
|00000380| 63 61 72 64 65 64 20 6f | 72 20 63 6f 6e 76 65 72 |carded o|r conver|
|00000390| 74 65 64 20 74 6f 20 0d | 09 09 6d 61 63 72 6f 73 |ted to .|..macros|
|000003a0| 2e 0d 67 5f 62 61 6c 2e | 63 09 09 67 5f 62 61 6c |..g_bal.|c..g_bal|
|000003b0| 28 29 20 67 65 74 73 20 | 74 68 65 20 62 61 6c 6c |() gets |the ball|
|000003c0| 20 64 61 74 61 20 61 6e | 64 20 70 6f 69 6e 74 73 | data an|d points|
|000003d0| 20 62 6c 5b 5d 20 61 74 | 20 74 68 65 6d 2e 0d 67 | bl[] at| them..g|
|000003e0| 5f 62 6f 64 2e 63 09 09 | 67 5f 62 6f 64 28 29 20 |_bod.c..|g_bod() |
|000003f0| 6c 6f 61 64 73 20 74 68 | 65 20 66 6c 6f 6f 72 20 |loads th|e floor |
|00000400| 70 61 74 74 65 72 6e 20 | 69 6e 74 6f 20 73 75 7a |pattern |into suz|
|00000410| 69 65 2e 0d 0d 6d 61 63 | 72 6f 73 2e 68 09 63 6f |ie...mac|ros.h.co|
|00000420| 6e 74 61 69 6e 73 20 61 | 6c 6c 20 74 68 65 20 6d |ntains a|ll the m|
|00000430| 61 63 72 6f 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 |acro def|initions|
|00000440| 2e 20 44 65 66 69 6e 69 | 74 65 6c 79 20 74 6f 20 |. Defini|tely to |
|00000450| 62 65 20 6c 6f 6f 6b 65 | 64 20 61 74 2e 0d 72 74 |be looke|d at..rt|
|00000460| 64 2e 68 09 09 68 65 61 | 64 65 72 20 66 69 6c 65 |d.h..hea|der file|
|00000470| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 61 6c 6c 20 | contain|ing all |
|00000480| 74 68 65 20 73 74 72 75 | 63 74 75 72 65 20 64 65 |the stru|cture de|
|00000490| 66 69 6e 69 74 69 6f 6e | 73 2e 0d 65 78 74 65 72 |finition|s..exter|
|000004a0| 6e 2e 68 09 6b 65 65 70 | 73 20 74 72 61 63 6b 20 |n.h.keep|s track |
|000004b0| 6f 66 20 61 6c 6c 20 67 | 6c 6f 62 61 6c 20 76 61 |of all g|lobal va|
|000004c0| 72 69 61 62 6c 65 73 20 | 75 73 65 64 20 74 68 72 |riables |used thr|
|000004d0| 6f 75 67 68 20 74 68 65 | 20 70 72 6f 67 72 61 6d |ough the| program|
|000004e0| 2e 0d 0d 62 64 61 74 61 | 2e 69 09 09 73 61 6d 70 |...bdata|.i..samp|
|000004f0| 6c 65 20 62 61 6c 6c 20 | 64 61 74 61 20 66 69 6c |le ball |data fil|
|00000500| 65 2e 0d 0d 70 61 74 2e | 64 65 66 20 5c 0d 63 68 |e...pat.|def \.ch|
|00000510| 65 63 6b 2e 70 61 74 5c | 0d 73 75 73 69 65 2e 70 |eck.pat\|.susie.p|
|00000520| 61 74 20 3e 2d 20 20 20 | 20 73 61 6d 70 6c 65 20 |at >- | sample |
|00000530| 70 61 74 74 65 72 6e 20 | 66 69 6c 65 73 2e 20 28 |pattern |files. (|
|00000540| 73 75 73 69 65 20 69 73 | 20 6e 6f 74 20 66 6f 72 |susie is| not for|
|00000550| 20 74 68 65 20 70 75 72 | 69 65 6e 74 29 2e 0d 73 | the pur|ient)..s|
|00000560| 68 69 70 2e 70 61 74 20 | 2f 0d 0d 2a 2a 2a 2a 2a |hip.pat |/..*****|
|00000570| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000580| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000590| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000005a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 0d 0d 32 |********|*****..2|
|000005b0| 38 2f 34 2f 38 39 0d 2d | 2d 2d 2d 2d 2d 2d 0d 43 |8/4/89.-|------.C|
|000005c0| 6f 64 65 20 70 6f 73 74 | 65 64 20 74 6f 20 63 6f |ode post|ed to co|
|000005d0| 6d 70 2e 73 6f 75 72 63 | 65 73 2e 6d 69 73 63 20 |mp.sourc|es.misc |
|000005e0| 6f 72 20 75 6e 69 78 20 | 6c 61 74 65 20 6c 61 73 |or unix |late las|
|000005f0| 74 20 79 65 61 72 2e 20 | 41 75 74 68 6f 72 20 75 |t year. |Author u|
|00000600| 6e 6b 6e 6f 77 6e 2e 0d | 50 6f 72 74 20 74 6f 20 |nknown..|Port to |
|00000610| 74 68 65 20 4d 61 63 20 | 62 79 20 4a 6f 68 6e 20 |the Mac |by John |
|00000620| 4c 69 6d 20 28 6a 6b 6a | 6c 40 6d 75 6e 6e 61 72 |Lim (jkj|l@munnar|
|00000630| 69 2e 6f 7a 29 20 2c 20 | 70 69 63 74 75 72 65 20 |i.oz) , |picture |
|00000640| 64 72 61 77 69 6e 67 20 | 63 6f 64 65 0d 62 79 20 |drawing |code.by |
|00000650| 4a 61 73 6f 6e 20 43 61 | 73 74 61 6e 20 28 63 61 |Jason Ca|stan (ca|
|00000660| 73 74 61 6e 40 6d 75 6e | 6e 61 72 69 2e 6f 7a 29 |stan@mun|nari.oz)|
|00000670| 2e 20 50 72 6f 67 72 61 | 6d 73 20 72 65 71 75 69 |. Progra|ms requi|
|00000680| 72 65 20 4d 36 38 38 38 | 31 20 61 6e 64 20 43 6f |re M6888|1 and Co|
|00000690| 6c 6f 72 0d 51 75 69 63 | 6b 44 72 61 77 20 74 6f |lor.Quic|kDraw to|
|000006a0| 20 72 75 6e 2e 20 53 6f | 75 72 63 65 20 72 65 71 | run. So|urce req|
|000006b0| 75 69 72 65 73 20 4c 53 | 43 20 33 2e 30 20 74 6f |uires LS|C 3.0 to|
|000006c0| 20 63 6f 6d 70 69 6c 65 | 2e 0d 0d 4e 65 77 20 46 | compile|...New F|
|000006d0| 69 6c 65 73 0d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 64 |iles.---|------.d|
|000006e0| 72 61 77 69 74 2e 63 09 | 44 72 61 77 73 20 64 61 |rawit.c.|Draws da|
|000006f0| 74 61 20 66 6f 75 6e 64 | 20 69 6e 20 64 61 74 61 |ta found| in data|
|00000700| 2e 64 69 73 20 6f 6e 20 | 61 20 4d 61 63 20 77 69 |.dis on |a Mac wi|
|00000710| 74 68 20 63 6f 6c 6f 75 | 72 20 51 44 2e 0d 0d 43 |th colou|r QD...C|
|00000720| 68 61 6e 67 65 73 20 74 | 6f 20 63 6f 64 65 0d 2d |hanges t|o code.-|
|00000730| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 31 |--------|------.1|
|00000740| 2e 09 4c 53 43 20 33 2e | 30 20 22 75 6e 69 78 20 |..LSC 3.|0 "unix |
|00000750| 6d 61 69 6e 2e 63 22 20 | 66 69 6c 65 20 75 73 65 |main.c" |file use|
|00000760| 64 2e 20 53 6f 72 72 79 | 20 77 65 20 63 61 6e 6e |d. Sorry| we cann|
|00000770| 6f 74 20 64 69 73 74 72 | 69 62 75 74 65 20 69 74 |ot distr|ibute it|
|00000780| 0d 09 66 6f 72 20 63 6f | 70 79 72 69 67 68 74 20 |..for co|pyright |
|00000790| 72 65 61 73 6f 6e 73 2e | 0d 32 2e 09 41 64 64 65 |reasons.|.2..Adde|
|000007a0| 64 20 73 75 70 70 6f 72 | 74 20 66 6f 72 20 62 61 |d suppor|t for ba|
|000007b0| 63 6b 67 72 6f 75 6e 64 | 20 70 72 6f 63 65 73 73 |ckground| process|
|000007c0| 69 6e 67 20 75 6e 64 65 | 72 20 4d 46 2e 0d 33 2e |ing unde|r MF..3.|
|000007d0| 09 43 68 61 6e 67 65 64 | 20 61 6c 6c 20 6d 61 6c |.Changed| all mal|
|000007e0| 6c 6f 63 28 69 6e 74 29 | 20 63 61 6c 6c 73 20 74 |loc(int)| calls t|
|000007f0| 6f 20 6d 61 6c 6c 6f 63 | 28 6c 6f 6e 67 29 20 63 |o malloc|(long) c|
|00000800| 61 6c 6c 73 2e 0d 34 2e | 09 41 64 64 65 64 20 4d |alls..4.|.Added M|
|00000810| 36 38 38 38 31 20 73 75 | 70 70 6f 72 74 20 28 63 |68881 su|pport (c|
|00000820| 61 73 74 61 6e 29 2e 0d | 35 2e 09 52 65 77 72 6f |astan)..|5..Rewro|
|00000830| 74 65 20 73 6f 6d 65 20 | 6f 66 20 74 68 65 20 65 |te some |of the e|
|00000840| 78 70 72 65 73 73 69 6f | 6e 73 20 74 6f 20 67 65 |xpressio|ns to ge|
|00000850| 6e 65 72 61 74 65 20 28 | 73 6c 69 67 68 74 6c 79 |nerate (|slightly|
|00000860| 29 20 66 61 73 74 65 72 | 20 63 6f 64 65 0d 09 6f |) faster| code..o|
|00000870| 6e 20 74 68 65 20 4c 53 | 43 20 4e 4f 4e 2d 4f 50 |n the LS|C NON-OP|
|00000880| 54 49 4d 49 5a 49 4e 47 | 20 63 6f 6d 70 69 6c 65 |TIMIZING| compile|
|00000890| 72 20 28 68 69 6e 74 2d | 68 69 6e 74 20 54 48 49 |r (hint-|hint THI|
|000008a0| 4e 4b 29 20 21 00 00 00 | 00 00 00 00 00 00 00 00 |NK) !...|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+