A little more progress: loading a map does not seg.

This commit is contained in:
Bill Currie 2010-09-12 16:40:32 +09:00
parent eba4402d8e
commit 7b03cd49dc
3 changed files with 83 additions and 2 deletions

View file

@ -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:",

View file

@ -348,8 +348,6 @@ App delegate methods
userInfo: nil repeats:YES];
path =[NSBezierPath new];
[[Map alloc] init];
}
-(void)applicationDidFinishLaunching:(NSNotification *) notification