/ Garbo
/ Garbo.cdr / mac / util / raytracr.sit / g_bal.c.bin ![]() | < prev | next > |
MacBinary | 1989-09-14 | 1.0 KB | [TEXT/KAHL] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
66% | dexvert | AMOS Picture Packer (image/amosPicturePacker) | ext | 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:01:29 1988, modified Sun Nov 13 09:26:25 1988, creator Think C, type ASCII, 772 bytes "g_bal.c" | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | 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 07 67 5f 62 61 6c 2e | 63 00 00 00 00 00 00 00 |..g_bal.|c.......|
|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 03 04 00 | 00 00 00 9f a3 0d f9 9f |........|........|
|00000060| a3 4c 11 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.L......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 3c 73 74 64 69 6f 2e |#include| <stdio.|
|00000090| 68 3e 0d 23 69 6e 63 6c | 75 64 65 20 22 72 74 64 |h>.#incl|ude "rtd|
|000000a0| 2e 68 22 0d 23 69 6e 63 | 6c 75 64 65 20 22 65 78 |.h".#inc|lude "ex|
|000000b0| 74 65 72 6e 2e 68 22 0d | 0d 63 68 61 72 20 2a 20 |tern.h".|.char * |
|000000c0| 6d 6c 61 6c 6c 6f 63 28 | 29 3b 0d 0d 67 5f 62 61 |mlalloc(|);..g_ba|
|000000d0| 6c 20 28 64 66 29 0d 46 | 49 4c 45 20 2a 20 64 66 |l (df).F|ILE * df|
|000000e0| 3b 0d 7b 0d 20 20 20 20 | 69 6e 74 20 20 20 20 20 |;.{. |int |
|000000f0| 69 3b 0d 20 20 20 20 64 | 6f 75 62 6c 65 20 20 78 |i;. d|ouble x|
|00000100| 2c 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 79 2c |,. | y,|
|00000110| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 7a 2c 0d |. | z,.|
|00000120| 20 20 20 20 20 20 20 20 | 20 20 20 20 72 2c 0d 20 | | r,. |
|00000130| 20 20 20 20 20 20 20 20 | 20 20 20 69 6f 72 2c 0d | | ior,.|
|00000140| 20 20 20 20 20 20 20 20 | 20 20 20 20 72 66 72 2c | | rfr,|
|00000150| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 72 66 6c |. | rfl|
|00000160| 2c 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 64 69 |,. | di|
|00000170| 66 2c 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 61 |f,. | a|
|00000180| 6d 62 3b 0d 20 20 20 20 | 20 73 74 72 75 63 74 20 |mb;. | struct |
|00000190| 62 61 6c 6c 20 2a 62 70 | 3b 0d 20 20 20 20 20 0d |ball *bp|;. .|
|000001a0| 20 20 20 20 66 6f 72 20 | 28 69 20 3d 20 30 3b 0d | for |(i = 0;.|
|000001b0| 09 20 20 20 20 66 73 63 | 61 6e 66 20 28 64 66 2c |. fsc|anf (df,|
|000001c0| 20 22 25 6c 66 20 25 6c | 66 20 25 6c 66 20 25 6c | "%lf %l|f %lf %l|
|000001d0| 66 20 25 6c 66 20 25 6c | 66 20 25 6c 66 20 25 6c |f %lf %l|f %lf %l|
|000001e0| 66 20 25 6c 66 22 2c 0d | 09 09 26 78 2c 20 26 79 |f %lf",.|..&x, &y|
|000001f0| 2c 20 26 7a 2c 20 26 72 | 2c 20 26 69 6f 72 2c 20 |, &z, &r|, &ior, |
|00000200| 26 72 66 72 2c 20 26 72 | 66 6c 2c 20 26 64 69 66 |&rfr, &r|fl, &dif|
|00000210| 2c 20 26 61 6d 62 29 20 | 21 3d 20 45 4f 46 3b 0d |, &amb) |!= EOF;.|
|00000220| 09 20 20 20 20 69 2b 2b | 29 20 7b 0d 09 62 6c 5b |. i++|) {..bl[|
|00000230| 69 5d 20 3d 20 28 73 74 | 72 75 63 74 20 62 61 6c |i] = (st|ruct bal|
|00000240| 6c 20 20 20 2a 29 20 6d | 6c 61 6c 6c 6f 63 20 28 |l *) m|lalloc (|
|00000250| 28 6c 6f 6e 67 29 20 73 | 69 7a 65 6f 66 20 28 73 |(long) s|izeof (s|
|00000260| 74 72 75 63 74 20 62 61 | 6c 6c 29 29 3b 0d 09 69 |truct ba|ll));..i|
|00000270| 66 20 28 62 6c 5b 69 5d | 20 3d 3d 20 4e 55 4c 4c |f (bl[i]| == NULL|
|00000280| 29 20 62 6f 6f 62 6f 6f | 28 22 4f 75 74 20 6f 66 |) booboo|("Out of|
|00000290| 20 6d 65 6d 6f 72 79 2e | 22 29 3b 0d 09 62 70 20 | memory.|");..bp |
|000002a0| 3d 20 62 6c 5b 69 5d 3b | 0d 09 62 70 20 2d 3e 20 |= bl[i];|..bp -> |
|000002b0| 73 2e 63 65 6e 74 2e 78 | 20 3d 20 78 3b 0d 09 62 |s.cent.x| = x;..b|
|000002c0| 6c 5b 69 5d 20 2d 3e 20 | 73 2e 63 65 6e 74 2e 79 |l[i] -> |s.cent.y|
|000002d0| 20 3d 20 79 3b 0d 09 62 | 6c 5b 69 5d 20 2d 3e 20 | = y;..b|l[i] -> |
|000002e0| 73 2e 63 65 6e 74 2e 7a | 20 3d 20 7a 3b 0d 09 62 |s.cent.z| = z;..b|
|000002f0| 6c 5b 69 5d 20 2d 3e 20 | 73 2e 72 61 64 20 3d 20 |l[i] -> |s.rad = |
|00000300| 72 3b 0d 09 62 6c 5b 69 | 5d 20 2d 3e 20 69 6f 72 |r;..bl[i|] -> ior|
|00000310| 20 3d 20 69 6f 72 3b 0d | 09 62 6c 5b 69 5d 20 2d | = ior;.|.bl[i] -|
|00000320| 3e 20 72 66 72 20 3d 20 | 72 66 72 3b 0d 09 62 6c |> rfr = |rfr;..bl|
|00000330| 5b 69 5d 20 2d 3e 20 72 | 66 6c 20 3d 20 72 66 6c |[i] -> r|fl = rfl|
|00000340| 3b 0d 09 62 6c 5b 69 5d | 20 2d 3e 20 64 69 66 20 |;..bl[i]| -> dif |
|00000350| 3d 20 64 69 66 3b 0d 09 | 62 6c 5b 69 5d 20 2d 3e |= dif;..|bl[i] ->|
|00000360| 20 61 6d 62 20 3d 20 61 | 6d 62 3b 0d 20 20 20 20 | amb = a|mb;. |
|00000370| 7d 0d 20 20 20 20 72 65 | 74 75 72 6e 20 28 69 29 |}. re|turn (i)|
|00000380| 3b 0d 7d 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |;.}.....|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+