Camera view seems to work moderately well.

This commit is contained in:
Bill Currie 2010-09-12 22:40:50 +09:00
parent f8ce05d862
commit b215a5e856
4 changed files with 19 additions and 7 deletions

View File

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

View File

@ -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];

View File

@ -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,9 +271,9 @@ TEX_ForName (char *name)
if (textureList_i)
[textureList_i empty];
else
textureList_i =[[Storage alloc]
initCount: 0 elementSize:sizeof (texpal_t)
description: NULL];
textureList_i = [[Storage alloc] initCount: 0
elementSize: sizeof (texpal_t)
description: NULL];
// Init STORAGE