Differences From Artifact [ef18048f8b]:
- File src/clients2c.mm — part of check-in [d2b3ff790f] at 2025-03-09 18:57:42 on branch trunk — Convert dynent to a class (user: js, size: 8897) [annotate] [blame] [check-ins using]
To Artifact [1561f54e4a]:
- File
src/clients2c.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: 8787) [annotate] [blame] [check-ins using]
︙ | |||
91 92 93 94 95 96 97 | 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | - - - - + + + - - - - + + + - | toservermap = @""; clientnum = cn; // we are now fully connected if (!getint(p)) // we are the first client on this server, set // map toservermap = getclientmap(); sgetstr(); |
︙ | |||
146 147 148 149 150 151 152 | 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | - - + - | case SV_TEXT: sgetstr(); conoutf(@"%@:\f %s", d.name, text); break; case SV_MAPCHANGE: sgetstr(); |
︙ | |||
374 375 376 377 378 379 380 | 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 | - - - - - + + + + - | break; case SV_RECVMAP: { sgetstr(); conoutf(@"received map \"%s\" from server, reloading..", text); int mapsize = getint(p); |
︙ |