Overview
Comment: | Fix needing -fpermissive |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
bd82b5a5b17fdeacf6b3133104b958a1 |
User & Date: | js on 2024-07-20 21:49:30 |
Other Links: | manifest | tags |
Context
2024-07-21
| ||
12:02 | Convert to ObjC++ check-in: 7c2704b3d7 user: js tags: trunk | |
2024-07-20
| ||
21:49 | Fix needing -fpermissive check-in: bd82b5a5b1 user: js tags: trunk | |
16:45 | A few minor fixes check-in: 4391eeb535 user: js tags: trunk | |
Changes
Modified src/Makefile from [ffd34fa226] to [0d0753c570].
︙ | |||
38 39 40 41 42 43 44 | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | - | CPPFLAGS += -I../enet/include \ ${SDL_CFLAGS} \ ${GL_CFLAGS} \ ${GLU_CFLAGS} \ ${X11_CFLAGS} \ ${ZLIB_CFLAGS} |
Modified src/clientextras.cxx from [0c7464b91e] to [1f60f5711b].
︙ | |||
14 15 16 17 18 19 20 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | - + - + | void renderclient(dynent *d, bool team, char *mdlname, bool hellpig, float scale) { int n = 3; float speed = 100.0f; float mz = d->o.z - d->eyeheight + 1.55f * scale; |
︙ |
Modified src/clients2c.cxx from [1e2dd62755] to [eb9667cf69].
︙ | |||
269 270 271 272 273 274 275 | 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 | + - + | break; case SV_ITEMSPAWN: { uint i = getint(p); setspawn(i, true); if (i >= (uint)ents.length()) break; vec v = {(float)ents[i].x, (float)ents[i].y, |
︙ |
Modified src/console.cxx from [3bc4bc641c] to [ee8378b098].
︙ | |||
243 244 245 246 247 248 249 | 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 | - + | pasteconsole(); return; }; default: resetcomplete(); if (cooked) { |
︙ |
Modified src/entities.cxx from [7b928c8e1c] to [498a3c6bc3].
︙ | |||
313 314 315 316 317 318 319 | 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 | + - + | entity &e = ents[i]; if (e.type == NOTUSED) continue; if (!ents[i].spawned && e.type != TELEPORT && e.type != JUMPPAD) continue; if (OUTBORD(e.x, e.y)) continue; vec v = {(float)e.x, (float)e.y, |
︙ |
Modified src/monster.cxx from [aab23b54fe] to [c901f05b50].
︙ | |||
374 375 376 377 378 379 380 | 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 | - + | // used { entity &e = ents[i]; if (e.type != TELEPORT) continue; if (OUTBORD(e.x, e.y)) continue; |
︙ |
Modified src/renderextras.cxx from [d70403196e] to [6c33874cb2].
︙ | |||
180 181 182 183 184 185 186 | 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | - + | if (!editmode) return; loopv(ents) { entity &e = ents[i]; if (e.type == NOTUSED) continue; |
︙ |
Modified src/server.cxx from [1a30414c23] to [d64f08d11a].
︙ | |||
456 457 458 459 460 461 462 | 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 | - + - + - - - + + + | : "localhost"); printf("client connected (%s)\n", c.hostname); send_welcome(lastconnect = &c - &clients[0]); break; } case ENET_EVENT_TYPE_RECEIVE: brec += event.packet->dataLength; |
︙ |
Modified src/world.cxx from [293b2c8a10] to [cb52ab13f9].
︙ | |||
252 253 254 255 256 257 258 | 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 | - + | int best; float bdist = 99999; loopv(ents) { entity &e = ents[i]; if (e.type == NOTUSED) continue; |
︙ | |||
312 313 314 315 316 317 318 | 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 | - + + | return NOTUSED; } entity * newentity(int x, int y, int z, char *what, int v1, int v2, int v3, int v4) { int type = findtype(what); |
︙ |
Modified src/worldlight.cxx from [ef13aa2477] to [73836e692f].
︙ | |||
222 223 224 225 226 227 228 | 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 | - - + + | if (b.xs + b.x > ssize - 2) b.xs = ssize - 2 - b.x; if (b.ys + b.y > ssize - 2) b.ys = ssize - 2 - b.y; dlights.add(blockcopy(b)); // backup area before rendering in dynlight |
︙ |
Modified src/worldocull.cxx from [8094d12fd2] to [cfc9b27041].
︙ | |||
150 151 152 153 154 155 156 | 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | - + | l = ma(-(cx + csize - vx), -(cy - vy)) + 4; } // D } else { h = ca(cy + csize - vy, -(cx + csize - vx)) + 2; l = ca(cy - vy, -(cx - vx)) + 2; }; // F |
︙ |