home *** CD-ROM | disk | FTP | other *** search
/ Quake++ for Quake / Quake++.iso / quake / edquake / code / mapedit.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-08  |  548 b   |  28 lines

  1. //highly simplified internal code that will
  2. //extract itself to .map code (for ease of making levels)
  3.  
  4. typedef struct
  5. {
  6.    long x, y;
  7. } mapvertex_t;
  8.  
  9. typedef struct
  10. {
  11.    int v1, v2; //pointers to vertices
  12.    int visible; //is it visible?
  13.    int texture;
  14.    int top, bottom;
  15.    int hole;   //hole enabled?
  16. } mapline_t;
  17.  
  18. typedef struct //90
  19. {
  20.    int numsides; //up to 20
  21.    int line[20];
  22.    int ceiling, floor; // heights
  23.    int ctext, ftext;  //textures
  24.    int cvis, fvis;  //visibility
  25. } maproom_t;
  26.  
  27. void mapedit(int e);
  28.