home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Zone / VRZONE.ISO / mac / PC / REND386 / JIREND / PLG.H < prev    next >
C/C++ Source or Header  |  1993-04-11  |  947b  |  24 lines

  1. /* Header file for plg file routines */
  2.   
  3. /* Written by Bernie Roehl, March 1992 */
  4.   
  5. /* Copyright 1992 by Dave Stampe and Bernie Roehl.
  6.    May be freely used to write software for release into the public domain;
  7.    all commercial endeavours MUST contact Bernie Roehl and Dave Stampe
  8.    for permission to incorporate any part of this software into their
  9.    products!
  10.  */
  11.   
  12. extern int load_err;  /* set if an error was encountered during loading */
  13. extern void set_loadplg_offset(long x, long y, long z);
  14. extern void set_loadplg_scale(float x, float y, float z);
  15. extern void set_loadplg_depthsort(int type);
  16. extern OBJECT *load_plg(FILE *in);
  17. extern OBJECT *load_multi_plg(FILE *in);
  18. extern save_plg(OBJECT *obj, FILE *out);
  19. extern void set_loadplg_colormap(unsigned *map, int msize);
  20. extern void strip_comment(char *buff);  /* also trim newline character(s) */
  21.   
  22. extern void Dump_Object(OBJECT *obj);
  23. /* End of plg.h */
  24.