mirror of
https://github.com/id-Software/Quake-Tools.git
synced 2026-03-20 00:49:35 +01:00
Source release of QuakeEd, the map editing application on NEXTSTEP for Quake.
This commit is contained in:
42
QuakeEd/Things.h
Normal file
42
QuakeEd/Things.h
Normal file
@@ -0,0 +1,42 @@
|
||||
|
||||
#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
|
||||
Reference in New Issue
Block a user