mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-25 04:00:58 +00:00
25f8a50ef4
writing makefiles by hand. Add a makefile preamble to set up our flags. Compartmentalize all the headers into a Headers/ dir.
27 lines
517 B
Objective-C
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
|