mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 21:02:50 +00:00
25f8a50ef4
writing makefiles by hand. Add a makefile preamble to set up our flags. Compartmentalize all the headers into a Headers/ dir.
42 lines
615 B
Objective-C
42 lines
615 B
Objective-C
|
|
#import <AppKit/AppKit.h>
|
|
|
|
extern id things_i;
|
|
|
|
#define ENTITYNAMEKEY "spawn"
|
|
|
|
@interface Things:Object
|
|
{
|
|
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;
|
|
}
|
|
|
|
- initEntities;
|
|
|
|
- newCurrentEntity;
|
|
- setSelectedKey:(epair_t *)ep;
|
|
|
|
- clearInputs;
|
|
- (char *)spawnName;
|
|
|
|
// UI targets
|
|
- reloadEntityClasses: sender;
|
|
- selectEntity: sender;
|
|
- doubleClickEntity: sender;
|
|
|
|
// Action methods
|
|
- addPair:sender;
|
|
- delPair:sender;
|
|
- setAngle:sender;
|
|
- setFlags:sender;
|
|
|
|
|
|
@end
|