Differences From Artifact [81b3ccc9f0]:
- File src/renderextras.m — part of check-in [b787ad5a04] at 2025-03-22 23:10:13 on branch trunk — Clean up DynamicEntity (user: js, size: 9910) [annotate] [blame] [check-ins using]
To Artifact [2902b001e4]:
- File
src/renderextras.m
— part of check-in
[6b85eefc85]
at
2025-03-23 02:47:40
on branch trunk
— Remove loop[ijkl]
They confused clang-format a lot. (user: js, size: 9945) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
91 92 93 94 95 96 97 | static struct sphere spheres[MAXSPHERES], *slist = NULL, *sempty = NULL; bool sinit = false; void newsphere(const OFVector3D *o, float max, int type) { if (!sinit) { | | < | 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | static struct sphere spheres[MAXSPHERES], *slist = NULL, *sempty = NULL; bool sinit = false; void newsphere(const OFVector3D *o, float max, int type) { if (!sinit) { for (int i = 0; i < MAXSPHERES; i++) { spheres[i].next = sempty; sempty = &spheres[i]; } sinit = true; } if (sempty) { struct sphere *p = sempty; |
︙ | ︙ | |||
214 215 216 217 218 219 220 | if ([lastsky isEqual:basename]) return; static const OFString *side[] = { @"ft", @"bk", @"lf", @"rt", @"dn", @"up" }; int texnum = 14; | | < | 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 | if ([lastsky isEqual:basename]) return; static const OFString *side[] = { @"ft", @"bk", @"lf", @"rt", @"dn", @"up" }; int texnum = 14; for (int i = 0; i < 6; i++) { OFString *path = [OFString stringWithFormat:@"packages/%@_%@.jpg", basename, side[i]]; int xs, ys; if (!installtex(texnum + i, [Cube.sharedInstance.gameDataIRI IRIByAppendingPathComponent:path], |
︙ | ︙ |