mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Camera view seems to work moderately well.
This commit is contained in:
parent
27ad18de3d
commit
6ede64c663
4 changed files with 19 additions and 7 deletions
|
@ -74,6 +74,7 @@
|
|||
"setCurrentProject:",
|
||||
"setFlags:",
|
||||
"setModeRadio:",
|
||||
"setParent:",
|
||||
"setXYRegion:",
|
||||
"shortBrush:",
|
||||
"subtractSelection:",
|
||||
|
@ -226,6 +227,15 @@
|
|||
);
|
||||
Super = NSObject;
|
||||
};
|
||||
TextureView = {
|
||||
Actions = (
|
||||
"setParent:"
|
||||
);
|
||||
Outlets = (
|
||||
parent_i
|
||||
);
|
||||
Super = NSView;
|
||||
};
|
||||
Things = {
|
||||
Actions = (
|
||||
"reloadEntityClasses:",
|
||||
|
|
Binary file not shown.
|
@ -306,7 +306,11 @@ App delegate methods
|
|||
postappdefined ();
|
||||
return self;
|
||||
}
|
||||
Sys_Printf ("updating %d %d\n", (int)[map_i count], (int)[[map_i currentEntity] count]);
|
||||
Sys_Printf ("updating %d %d %p %d %p %d\n",
|
||||
(int)[map_i count],
|
||||
(int)[[map_i currentEntity] count],
|
||||
entitycount_i, [entitycount_i intValue],
|
||||
brushcount_i, [brushcount_i intValue]);
|
||||
|
||||
|
||||
[self disableFlushWindow];
|
||||
|
|
|
@ -163,7 +163,6 @@ void
|
|||
TEX_InitFromWad (char *path)
|
||||
{
|
||||
int i;
|
||||
char local[1024];
|
||||
char newpath[1024];
|
||||
float start, stop;
|
||||
wad_t *wad;
|
||||
|
@ -189,7 +188,6 @@ TEX_InitFromWad (char *path)
|
|||
lumpinfo = wad->lumps;
|
||||
|
||||
if (strcmp (lumpinfo->name, "PALETTE")) {
|
||||
unlink (local);
|
||||
Sys_Error ("TEX_InitFromWad: %s doesn't have palette as 0", path);
|
||||
}
|
||||
|
||||
|
@ -207,7 +205,7 @@ TEX_InitFromWad (char *path)
|
|||
|
||||
stop = Sys_DoubleTime ();
|
||||
|
||||
Sys_Printf ("loaded %s (%5.1f)\n", local, stop - start);
|
||||
Sys_Printf ("loaded %s (%5.1f)\n", newpath, stop - start);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -273,8 +271,8 @@ TEX_ForName (char *name)
|
|||
if (textureList_i)
|
||||
[textureList_i empty];
|
||||
else
|
||||
textureList_i =[[Storage alloc]
|
||||
initCount: 0 elementSize:sizeof (texpal_t)
|
||||
textureList_i = [[Storage alloc] initCount: 0
|
||||
elementSize: sizeof (texpal_t)
|
||||
description: NULL];
|
||||
|
||||
// Init STORAGE
|
||||
|
|
Loading…
Reference in a new issue