home *** CD-ROM | disk | FTP | other *** search
/ Dream 42 / Amiga_Dream_42.iso / RiscPC / Jeux / merc.spk / !Mercenary_Objects_Files_ObjFormat < prev    next >
Encoding:
Text File  |  1993-12-08  |  577 b   |  14 lines

  1. format of the object files:
  2.  
  3. first line: number of colour parameters:
  4.     1 a entry from the normal palette
  5.     2 a 16 bit colour, given as 2 entries from the normal palette
  6.     3 a 24 bit colour, given as red,green and blue components
  7.  
  8. second line: number of points in the object, should be smaller than 257,
  9. followed by the coordinates of the points. One unit is one meter/1024.
  10.  
  11. after that, the number of polygons, followed by the list of polygons. Each
  12. polygon consist of 4 references to points, followed by 1, 2 or 3 colour entries.
  13.  
  14. There is no room for any errors in this format.