mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 16:51:08 +00:00
Entity loading from maps seems to work.
This commit is contained in:
parent
f6ebcd45ac
commit
f8ce05d862
1 changed files with 4 additions and 2 deletions
|
@ -100,6 +100,7 @@ vec3_t bad_maxs = { 8, 8, 8 };
|
||||||
free (e->value);
|
free (e->value);
|
||||||
free (e);
|
free (e);
|
||||||
}
|
}
|
||||||
|
[array release];
|
||||||
[super dealloc];
|
[super dealloc];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -298,7 +299,8 @@ int nument;
|
||||||
int i, c;
|
int i, c;
|
||||||
float *color;
|
float *color;
|
||||||
|
|
||||||
self = [self init];
|
self = [super init];
|
||||||
|
array = [[NSMutableArray alloc] init];
|
||||||
|
|
||||||
if (!Script_GetToken (script, true)) {
|
if (!Script_GetToken (script, true)) {
|
||||||
[self dealloc];
|
[self dealloc];
|
||||||
|
@ -342,7 +344,7 @@ int nument;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (![self count] && esize == esize_model) {
|
if (![self count] && esize == esize_model) {
|
||||||
printf ("WARNING:Entity with no brushes and esize_model\n");
|
printf ("WARNING:Entity with no brushes and esize_model: %s\n", [self valueForQKey:"classname"]);
|
||||||
[texturepalette_i getTextureDef:&td];
|
[texturepalette_i getTextureDef:&td];
|
||||||
for (i = 0; i < 3; i++) {
|
for (i = 0; i < 3; i++) {
|
||||||
emins[i] = org[i] - 8;
|
emins[i] = org[i] - 8;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue