mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
A little more progress: loading a map does not seg.
This commit is contained in:
parent
eba4402d8e
commit
7b03cd49dc
3 changed files with 83 additions and 2 deletions
|
@ -28,21 +28,74 @@
|
|||
"changeInspector:",
|
||||
"changeXYLookUp:",
|
||||
"clear:",
|
||||
"clearTexinfo:",
|
||||
"cloneSelection:",
|
||||
"decRotate:",
|
||||
"decXScale:",
|
||||
"decXShift:",
|
||||
"decYScale:",
|
||||
"decYShift:",
|
||||
"downFloor:",
|
||||
"drawMode:",
|
||||
"flip_x:",
|
||||
"flip_y:",
|
||||
"flip_z:",
|
||||
"homeView:",
|
||||
"incRotate:",
|
||||
"incXScale:",
|
||||
"incXShift:",
|
||||
"incYScale:",
|
||||
"incYShift:",
|
||||
"makeEntity:",
|
||||
"onlyShowMapTextures:",
|
||||
"openProject:",
|
||||
"rotate_x:",
|
||||
"rotate_y:",
|
||||
"rotate_z:",
|
||||
"save:",
|
||||
"saveAs:",
|
||||
"searchForTexture:",
|
||||
"selectCompleteEntity:",
|
||||
"selectCompletelyInside:",
|
||||
"selectPartiallyInside:",
|
||||
"setBrushRegion:",
|
||||
"setCurrentEntity:",
|
||||
"setModeRadio:",
|
||||
"setXYRegion:",
|
||||
"shortBrush:",
|
||||
"subtractSelection:",
|
||||
"tallBrush:",
|
||||
"textCommand:",
|
||||
"texturedefChanged:",
|
||||
"upFloor:",
|
||||
"updateAll:"
|
||||
);
|
||||
Super = NSObject;
|
||||
};
|
||||
Map = {
|
||||
Actions = (
|
||||
"setCurrentEntity:",
|
||||
"cloneSelection:",
|
||||
"makeEntity:",
|
||||
"subtractSelection:",
|
||||
"selectCompletelyInside:",
|
||||
"selectPartiallyInside:",
|
||||
"tallBrush:",
|
||||
"shortBrush:",
|
||||
"rotate_x:",
|
||||
"rotate_y:",
|
||||
"rotate_z:",
|
||||
"flip_x:",
|
||||
"flip_y:",
|
||||
"flip_z:",
|
||||
"selectCompleteEntity:"
|
||||
);
|
||||
Outlets = (
|
||||
currentEntity,
|
||||
oldselection
|
||||
);
|
||||
Super = NSMutableArray;
|
||||
};
|
||||
QuakeEd = {
|
||||
Actions = (
|
||||
"updateAll:",
|
||||
|
@ -85,6 +138,36 @@
|
|||
);
|
||||
Super = NSWindow;
|
||||
};
|
||||
TexturePalette = {
|
||||
Actions = (
|
||||
"searchForTexture:",
|
||||
"clearTexinfo:",
|
||||
"incXShift:",
|
||||
"decXShift:",
|
||||
"incYShift:",
|
||||
"decYShift:",
|
||||
"incRotate:",
|
||||
"decRotate:",
|
||||
"incXScale:",
|
||||
"decXScale:",
|
||||
"incYScale:",
|
||||
"decYScale:",
|
||||
"texturedefChanged:",
|
||||
"onlyShowMapTextures:"
|
||||
);
|
||||
Outlets = (
|
||||
textureList_i,
|
||||
textureView_i,
|
||||
searchField_i,
|
||||
sizeField_i,
|
||||
field_Xshift_i,
|
||||
field_Yshift_i,
|
||||
field_Xscale_i,
|
||||
field_Yscale_i,
|
||||
field_Rotate_i
|
||||
);
|
||||
Super = NSObject;
|
||||
};
|
||||
XYView = {
|
||||
Actions = (
|
||||
"setModeRadio:",
|
||||
|
|
Binary file not shown.
|
@ -348,8 +348,6 @@ App delegate methods
|
|||
userInfo: nil repeats:YES];
|
||||
|
||||
path =[NSBezierPath new];
|
||||
|
||||
[[Map alloc] init];
|
||||
}
|
||||
|
||||
-(void)applicationDidFinishLaunching:(NSNotification *) notification
|
||||
|
|
Loading…
Reference in a new issue