Overview
Comment: | Migrate strings for all commands |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
11889bf242c1346514823c710dcf369b |
User & Date: | js on 2025-03-07 22:30:15 |
Other Links: | manifest | tags |
Context
2025-03-07
| ||
22:44 | Make execute() take an OFString check-in: acc50da079 user: js tags: trunk | |
22:30 | Migrate strings for all commands check-in: 11889bf242 user: js tags: trunk | |
21:16 | Clean up variables check-in: 5e43ae9916 user: js tags: trunk | |
Changes
Modified src/Command.mm from [5f4325b0d6] to [91c3da5caf].
︙ | |||
42 43 44 45 46 47 48 | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | - + - - - + + - - - + - - - - + + - - - + - - - - + + + - - - + - - - + + - - - + + - - - - + + - - + + - - + + + - + | ATOI(arguments[3]), ATOI(arguments[4])); break; case ARG_NONE: if (isDown) ((void(__cdecl *)())_function)(); break; case ARG_1STR: |
Modified src/client.mm from [434fc9c95a] to [e93d114d64].
︙ | |||
162 163 164 165 166 167 168 | 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | - + + - - + + + - + - + | } conoutf(@"attempting to disconnect..."); disconnect(0, !disconnecting); } string ctext; void |
︙ |
Modified src/clientextras.mm from [bd809a3634] to [55a0200404].
︙ | |||
200 201 202 203 204 205 206 | 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 | - - - + + + + | } memcpy(p, mapdata.items, mapdata.count); p += mapdata.count; *(ushort *)start = ENET_HOST_TO_NET_16(p - start); enet_packet_resize(packet, p - start); sendpackettoserv(packet); conoutf(@"sending map %@ to server...", mapname); |
︙ |
Modified src/commands.mm from [645f04d656] to [f53c401a17].
︙ | |||
459 460 461 462 463 464 465 | 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 | - + - - - - + + + + + + - + - + - + + - - - + + + - + + + + - - - - - - - + + + + + + + + + + - + | while (execute(cond.get())) execute(body.get()); } } void |
︙ | |||
575 576 577 578 579 580 581 | 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 | - + - + | gt(int a, int b) { return (int)(a > b); } COMMANDN(>, gt, ARG_2EXP) int |
︙ |
Modified src/console.mm from [635cf832c8] to [86266db4fd].
︙ | |||
124 125 126 127 128 129 130 | 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | - + - + - - + + - + | } conoutf(@"unknown key \"%@\"", key); } COMMANDN(bind, bindkey, ARG_2STR) void |
︙ | |||
251 252 253 254 255 256 257 | 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 | - + | histpos = vhistory.count; if ([commandbuf hasPrefix:@"/"]) { std::unique_ptr<char> copy( strdup( commandbuf.UTF8String)); execute(copy.get(), true); } else |
︙ |
Modified src/protos.h from [6d021108a0] to [0b98b4aee6].
︙ | |||
67 68 69 70 71 72 73 | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | - + | extern void finishstrips(); extern void setarraypointers(); // client extern void localservertoclient(uchar *buf, int len); extern void connects(OFString *servername); extern void disconnect(int onlyclean = 0, int async = 0); |
︙ |
Modified src/sound.mm from [34f20331ba] to [2ceb58ac38].
︙ | |||
127 128 129 130 131 132 133 | 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | - + - - - - - - - + + + + - - + + - - + + - - + + - - + + | #else vector<FSOUND_SAMPLE *> samples; #endif static OFMutableArray<OFString *> *snames; int |
︙ |