home *** CD-ROM | disk | FTP | other *** search
- /***
- **** QuBE --- "Thing" manipulation routines.
- ***/
-
- /* These are the parts of a thing. Note that "origin" and the coords
- are redundant, but I haven't had the chance to take them out yet. */
-
- typedef struct {
- char *classname;
- char *origin;
- char *angle;
- char *style;
- char *spawnflags;
- char *wad;
- char *light;
- char *model;
- long int x, y, z;
- } thing;
-
- /* Thing data. Needed by gfx.c */
-
- extern thing *thingarray[1024];
- extern int nextthing;
- extern int curthing;
- extern int putback;
- extern long int maxlen;
-
- /* Thing parse routines. Needed by gfx.c */
-
- void skipspace(FILE *fp);
- int nextchar(FILE *fp);
- int fileend(void);
- char *getstring(FILE *fp);
- int getopenbrace(FILE *fp);
- int getclosebrace(FILE *fp);
- void ThingList(void);
- void ThingXtract(int argnum, char **argv);
- void ThingReplace(int argnum, char **argv);
-
-