Differences From Artifact [87f5ac882b]:
- File
src/renderextras.mm
— part of check-in
[489124a92f]
at
2025-03-16 10:11:39
on branch trunk
— Use one autorelease pool per frame
This way, nowhere else autorelease pools need to be managed. (user: js, size: 9799) [annotate] [blame] [check-ins using]
To Artifact [0275a674d6]:
- File src/renderextras.mm — part of check-in [89fbd7a152] at 2025-03-20 13:21:56 on branch trunk — Make more use of convenience methods (user: js, size: 9825) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
188 189 190 191 192 193 194 | continue; OFVector3D v = OFMakeVector3D(e.x, e.y, e.z); particle_splash(2, 2, 40, v); } int e = closestent(); if (e >= 0) { entity &c = ents[e]; | | | | | | | 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 | continue; OFVector3D v = OFMakeVector3D(e.x, e.y, e.z); particle_splash(2, 2, 40, v); } int e = closestent(); if (e >= 0) { entity &c = ents[e]; closeent = [OFString stringWithFormat:@"closest entity = %@ (%d, %d, " @"%d, %d), selection = (%d, %d)", entnames[c.type], c.attr1, c.attr2, c.attr3, c.attr4, getvar(@"selxs"), getvar(@"selys")]; } } void loadsky(OFString *basename) { static OFString *lastsky = @""; |
︙ | ︙ |