| # | Line 18 | Line 18 | static char SCCSid[] = "$SunId$ LBL"; | |
|---|---|---|
| 18 | ||
| 19 | #include "otypes.h" | |
| 20 | ||
| 21 | + | static int putint(), putstr(), puttree(), putobj(); |
| 22 | ||
| 23 | + | |
| 24 | writeoct(store, scene, ofn) /* write octree structures to stdout */ | |
| 25 | int store; | |
| 26 | CUBE *scene; | |
| # | Line 27 | Line 29 | char *ofn[]; | |
| 29 | char sbuf[64]; | |
| 30 | register int i; | |
| 31 | /* write format number */ | |
| 32 | < | putint((long)OCTMAGIC, 2); |
| 32 | > | putint((long)(OCTMAGIC+sizeof(OBJECT)), 2); |
| 33 | ||
| 34 | if (!(store & IO_BOUNDS)) | |
| 35 | return; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |