Overview
Comment: | Fix -Wgnu-folding-constant |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e79356d2a66c0537866b4ff23389bc8b |
User & Date: | js on 2025-03-20 23:02:06 |
Other Links: | manifest | tags |
Context
2025-03-22
| ||
21:29 | Use OFColor instead of abusing OFVector3D check-in: e258bfb559 user: js tags: trunk | |
2025-03-20
| ||
23:02 | Fix -Wgnu-folding-constant check-in: e79356d2a6 user: js tags: trunk | |
22:40 | Fix all warnings check-in: 0e7605d101 user: js tags: trunk | |
Changes
Modified src/clientextras.m from [572b41b936] to [ff738c9cd3].
︙ | |||
118 119 120 121 122 123 124 | 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | - + | scoreLines = [[OFMutableArray alloc] init]; [scoreLines addObject:line]; menumanual(0, scoreLines.count - 1, line); } |
︙ |
Modified src/editing.m from [3450764149] to [72ec7780d9].
︙ | |||
525 526 527 528 529 530 531 | 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 | - + | setvdelta(int delta) { EDITSEL; setvdeltaxy(delta, &sel); addmsg(1, 6, SV_EDITD, sel.x, sel.y, sel.xs, sel.ys, delta); } |
︙ |
Modified src/renderextras.m from [866128604e] to [5de4da4840].
︙ | |||
77 78 79 80 81 82 83 | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | - + | glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); xtraverts += 8; glEnable(GL_BLEND); glEnable(GL_TEXTURE_2D); glDepthMask(GL_TRUE); } |
︙ |
Modified src/rendergl.m from [27f04a759e] to [2d15d16f3c].
︙ | |||
157 158 159 160 161 162 163 | 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 | - + - - - + + + + | return true; } // management of texture slots // each texture slot can have multople texture frames, of which currently only // the first is used additional frames can be used for various shaders |
︙ |
Modified src/renderparticles.m from [7f852b8ad3] to [f527e01774].
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | - + | // renderparticles.cpp #include "cube.h" #import "DynamicEntity.h" |
︙ |
Modified src/weapon.m from [2e4de9f255] to [81ddf6dcb5].
1 2 3 4 5 6 7 8 9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | - + | // weapon.cpp: all shooting and effects code #include "cube.h" #import "DynamicEntity.h" #import "OFString+Cube.h" #import "Projectile.h" static const int MONSTERDAMAGEFACTOR = 4; |
︙ | |||
128 129 130 131 132 133 134 | 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | - + | if (intersect(player, &o, &worldpos)) return [player name]; } return nil; } |
︙ |