home *** CD-ROM | disk | FTP | other *** search
- //highly simplified internal code that will
- //extract itself to .map code (for ease of making levels)
-
- typedef struct
- {
- long x, y;
- } mapvertex_t;
-
- typedef struct
- {
- int v1, v2; //pointers to vertices
- int visible; //is it visible?
- int texture;
- int top, bottom;
- int hole; //hole enabled?
- } mapline_t;
-
- typedef struct //90
- {
- int numsides; //up to 20
- int line[20];
- int ceiling, floor; // heights
- int ctext, ftext; //textures
- int cvis, fvis; //visibility
- } maproom_t;
-
- void mapedit(int e);
-