quakeforge/tools/Forge/EntityClass.h
Jeff Teunissen 317d3bddb8 New program (incomplete, and horridly broken): Forge.app. It's going to be
a GNUstep port of the original Quake editor for NeXTstep, QuakeEd.app.
2001-02-09 01:52:44 +00:00

27 lines
517 B
Objective-C

#import <Foundation/Foundation.h>
#import "mathlib.h"
typedef enum {esize_model, esize_fixed} esize_t;
#define MAX_FLAGS 8
@interface EntityClass: NSObject
{
char *name;
esize_t esize;
vec3_t mins, maxs;
vec3_t color;
char *comments;
char flagnames[MAX_FLAGS][32];
}
- initFromText: (char *)text;
- (char *)classname;
- (esize_t)esize;
- (float *)mins; // only for esize_fixed
- (float *)maxs; // only for esize_fixed
- (float *)drawColor;
- (char *)comments;
- (char *)flagName: (unsigned)flagnum;
@end