home *** CD-ROM | disk | FTP | other *** search
/ D!Zone (Collector's Edition) / D_ZONE_CD.ISO / programs / editors / iwaddu / structs.c < prev   
Text File  |  1994-12-06  |  1KB  |  60 lines

  1. These are the structures im currently useing.
  2. I you figure out anything about them Please e-mail me at
  3.  
  4.     chrisp@halcyon.com
  5.  
  6.  
  7. typedef struct{
  8.     long offset;
  9.     long size;
  10.     char name[8];
  11.     }IWAD_ENTRY;
  12.  
  13. typedef struct{
  14.     int x,y;
  15.     int angle,type,options;
  16.     }THING;
  17. typedef struct{
  18.     int a,b;
  19.     int flags,special,tag,psdb,psdt;  /*u3 seems to be linked to u2(button)*/
  20.     }LINEDEF;          /*hmmmm u4 seem to be sequn unless u5 is -1*/
  21.  
  22. typedef struct{
  23.     int flags,tint;
  24.     char n1[8];
  25.     char n2[8];
  26.     char n3[8];
  27.     int sec_ptr;
  28.     }SIDEDEF;
  29.  
  30. typedef struct{
  31.     int x,y;
  32.     }VERTEX;
  33. typedef struct{
  34.     int a,b;
  35.     int f,lptr;  /*f always big somtimes neg*/
  36.     int flip,w;  /*flip a,b one linedef w:when !0 line def ab doesnt match*/
  37.     }SEG;
  38. typedef struct{
  39.     int n,o;    /*should be more to this*/
  40.     }SSECTOR;
  41.  
  42. typedef struct{
  43.     int x,y;  /*how big is this????*/
  44.     int a,b;
  45.     int p[8];
  46.     int l,n;
  47.     }NODE;
  48. typedef struct{
  49.     int fh,ch;   /*floor -n- ceiling*/
  50.     char n1[8],n2[8];  /*names for tex*/
  51.     int light,special,tag;        /**/
  52.     }SECTOR;
  53. typedef struct{
  54.     int a,b,c,d;       /**/
  55.     }REJECT;
  56. typedef struct{
  57.     int a,b,c,d;       /*something to do with texture maping(and colision??)*/
  58.     }BLOCKM;
  59.  
  60.