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

47 lines
798 B
C
Raw Normal View History

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