home *** CD-ROM | disk | FTP | other *** search
/ Doom Extras / DExtras.iso / accessor / dos / deu521 / source / levels.h < prev    next >
C/C++ Source or Header  |  1994-05-17  |  2KB  |  58 lines

  1. /*
  2.    Doom Editor Utility, by Brendon Wyber and Raphaël Quinet.
  3.  
  4.    You are allowed to use any parts of this code in another program, as
  5.    long as you give credits to the authors in the documentation and in
  6.    the program itself.  Read the file README.1ST for more information.
  7.  
  8.    This program comes with absolutely no warranty.
  9.  
  10.    LEVELS.H - Level data definitions.
  11. */
  12.  
  13. /* the includes */
  14. #include "wstructs.h"
  15. #include "things.h"
  16.  
  17. /* the external variables from levels.c */
  18. extern MDirPtr Level;        /* master dictionary entry for the level */
  19.  
  20. extern int   NumThings;        /* number of things */
  21. extern TPtr  Things;        /* things data */
  22. extern int   NumLineDefs;    /* number of line defs */
  23. extern LDPtr LineDefs;        /* line defs data */
  24. extern int   NumSideDefs;    /* number of side defs */
  25. extern SDPtr SideDefs;        /* side defs data */
  26. extern int   NumVertexes;    /* number of vertexes */
  27. extern VPtr  Vertexes;        /* vertex data */
  28. extern int   NumSegs;        /* number of segments */
  29. extern SEPtr Segs;        /* list of segments */
  30. extern SEPtr LastSeg;        /* last segment in the list */
  31. extern int   NumSSectors;    /* number of subsectors */
  32. extern SSPtr SSectors;        /* list of subsectors */
  33. extern SSPtr LastSSector;    /* last subsector in the list */
  34. extern int   NumSectors;    /* number of sectors */
  35. extern SPtr  Sectors;        /* sectors data */
  36. extern int   NumWTexture;    /* number of wall textures */
  37. extern char  **WTexture;    /* array of wall texture names */
  38. extern int   NumFTexture;    /* number of floor/ceiling textures */
  39. extern char  **FTexture;    /* array of texture names */
  40.  
  41. extern int   MapMaxX;        /* maximum X value of map */
  42. extern int   MapMaxY;        /* maximum Y value of map */
  43. extern int   MapMinX;        /* minimum X value of map */
  44. extern int   MapMinY;        /* minimum Y value of map */
  45.  
  46. extern Bool  MadeChanges;    /* made changes? */
  47. extern Bool  MadeMapChanges;    /* made changes that need rebuilding? */
  48.  
  49.  
  50. /* from deu.c (config file options) */
  51. extern char *DefaultWallTexture;    /* default normal wall texture */
  52. extern char *DefaultLowerTexture;    /* default lower wall texture */
  53. extern char *DefaultUpperTexture;    /* default upper wall texture */
  54. extern char *DefaultFloorTexture;    /* default floor texture */
  55. extern char *DefaultCeilingTexture;    /* default ceiling texture */
  56. extern int  DefaultFloorHeight;        /* default floor height */
  57. extern int  DefaultCeilingHeight;    /* default ceiling height */
  58.