quakeforge/tools/Forge/Bundles/MapEdit/Things.h

47 lines
745 B
C
Raw Normal View History

#ifndef Things_h
#define Things_h
#include <AppKit/AppKit.h>
#include "Entity.h"
2010-09-11 10:06:04 +00:00
extern id things_i;
#define ENTITYNAMEKEY "spawn"
2010-09-11 10:06:04 +00:00
@interface Things:NSObject {
id entity_browser_i; // browser
id entity_comment_i; // scrolling text window
id prog_path_i;
int lastSelected; // last row selected in browser
id keyInput_i;
id valueInput_i;
id flags_i;
}
2010-09-11 10:06:04 +00:00
-initEntities;
2010-09-11 10:06:04 +00:00
-newCurrentEntity;
-setSelectedKey:(epair_t *) ep;
2010-09-11 10:06:04 +00:00
-clearInputs;
-(char *) spawnName;
// UI targets
2010-09-11 10:06:04 +00:00
-reloadEntityClasses:sender;
-selectEntity:sender;
-doubleClickEntity:sender;
// Action methods
2010-09-11 10:06:04 +00:00
-addPair:sender;
-delPair:sender;
-setAngle:sender;
-setFlags:sender;
@end
2010-09-11 10:06:04 +00:00
#endif // Things_h