Differences From Artifact [20e5b19402]:
- File
src/worldlight.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: 6329) [annotate] [blame] [check-ins using]
To Artifact [78382b218b]:
- File src/worldlight.m — part of check-in [b5bfe2af86] at 2025-03-23 02:59:37 on branch trunk — Remove u{char,short,int} (user: js, size: 6337) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
104 105 106 107 108 109 110 | } else // the old (white) light code, here for the few people with old // video cards that don't support overbright { for (int i = 0; i < steps; i++) { struct sqr *s = S(x >> PRECBITS, y >> PRECBITS); int light = l >> PRECBITS; if (light > s->r) | | | 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | } else // the old (white) light code, here for the few people with old // video cards that don't support overbright { for (int i = 0; i < steps; i++) { struct sqr *s = S(x >> PRECBITS, y >> PRECBITS); int light = l >> PRECBITS; if (light > s->r) s->r = s->g = s->b = (unsigned char)light; if (SOLID(s)) return; x += stepx; y += stepy; l -= stepl; } } |
︙ | ︙ |