Overview
Comment: | Migrate more strings |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
142095b08fd68abd1fbe2f7849fc6add |
User & Date: | js on 2025-03-06 01:56:11 |
Other Links: | manifest | tags |
Context
2025-03-07
| ||
19:55 | Migrate more strings check-in: 5ef6284dcf user: js tags: trunk | |
2025-03-06
| ||
01:56 | Migrate more strings check-in: 142095b08f user: js tags: trunk | |
01:42 | Some cleanups in clientextras.mm check-in: 62d6602900 user: js tags: trunk | |
Changes
Modified src/clientgame.mm from [810509b4e7] to [33b9c3010f].
1 2 3 4 5 6 7 8 9 10 11 12 13 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | - + | // clientgame.cpp: core game related stuff #include "cube.h" #include <memory> int nextmode = 0; // nextmode becomes gamemode after next map load VAR(gamemode, 1, 0, 0); void mode(int n) { addmsg(1, 2, SV_GAMEMODE, nextmode = n); |
︙ | |||
489 490 491 492 493 494 495 | 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 | - + - - + - | initclient() { clientmap = @""; initclientnet(); } void |
Modified src/clients2c.mm from [8a230870d2] to [e48be73a93].
︙ | |||
14 15 16 17 18 19 20 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | + - + + | disconnect(); } void changemapserv(char *name, int mode) // forced map change from the server { gamemode = mode; @autoreleasepool { |
︙ | |||
360 361 362 363 364 365 366 | 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 | + - + + | break; case SV_RECVMAP: { sgetstr(); conoutf(@"received map \"%s\" from server, reloading..", text); int mapsize = getint(p); @autoreleasepool { |
︙ |
Modified src/protos.h from [9515834784] to [bd326cd759].
︙ | |||
84 85 86 87 88 89 90 | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | - + | extern int getclientnum(); extern void changemapserv(char *name, int mode); extern void writeclientinfo(OFStream *stream); // clientgame extern void mousemove(int dx, int dy); extern void updateworld(int millis); |
︙ | |||
179 180 181 182 183 184 185 | 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | - - + + | extern void particle_splash(int type, int num, int fade, OFVector3D &p); extern void particle_trail( int type, int fade, OFVector3D &from, OFVector3D &to); extern void render_particles(int time); // worldio extern void save_world(OFString *fname); |
︙ |
Modified src/world.mm from [dc3bab95c0] to [67fd387b5f].
︙ | |||
465 466 467 468 469 470 471 | 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 | - + - + - + - - + + - + - - + + + - + - + | s->ctex = DEFAULT_CEIL; s->wtex = s->utex = DEFAULT_WALL; s->type = SOLID; s->floor = 0; s->ceil = 16; s->vdelta = 0; s->defer = 0; |
Modified src/worldio.mm from [96d53bd5cb] to [fcad2200c2].
︙ | |||
116 117 118 119 120 121 122 | 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | - + + - + + + - + | } } } // these two are used by getmap/sendmap.. transfers compressed maps directly void |
︙ | |||
237 238 239 240 241 242 243 | 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 | - - + + + - + + | conoutf(@"wrote map file %s", cgzname); settagareas(); } } COMMANDN(savemap, save_world, ARG_1STR) void |
︙ |