Overview
Comment: | Make use of the new -[OFString intValue] |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
09eb96f3397daee11cfda5cbbbcc5caa |
User & Date: | js on 2025-03-11 01:20:17 |
Other Links: | manifest | tags |
Context
2025-03-12
| ||
00:16 | Be more tolerant of invalid arguments check-in: d2f07d884a user: js tags: trunk | |
2025-03-11
| ||
01:20 | Make use of the new -[OFString intValue] check-in: 09eb96f339 user: js tags: trunk | |
2025-03-10
| ||
20:52 | Fix menu sorting check-in: e1c921ff76 user: js tags: trunk | |
Changes
Modified src/Command.mm from [3d696164e9] to [07fd8b4957].
︙ | |||
34 35 36 37 38 39 40 | 34 35 36 37 38 39 40 41 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 | - + - - + + - - - + + + - - - - + + + + | - (int)callWithArguments:(OFArray<OFString *> *)arguments isDown:(bool)isDown { switch (_argumentsTypes) { case ARG_1INT: if (isDown) { arguments = padArguments(arguments, 2); ((void(__cdecl *)(int))_function)( |
︙ |
Modified src/Cube.mm from [874b037f55] to [980c015cd9].
︙ | |||
45 46 47 48 49 50 51 | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | - + - + - + - + | { '\0', nil, 0, NULL, NULL } }; OFOptionsParser *optionsParser = [OFOptionsParser parserWithOptions:options]; OFUnichar option; while ((option = [optionsParser nextOption]) != '\0') { switch (option) { case 'w': |
︙ |
Modified src/MenuItem.m from [f7a80f995c] to [2e2fceadfe].
︙ | |||
16 17 18 19 20 21 22 | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | - + + - + | MenuItem *otherItem; if (![otherObject isKindOfClass:MenuItem.class]) @throw [OFInvalidArgumentException exception]; int x, y; @try { |
︙ |
Modified src/clientgame.mm from [5f10611541] to [c71213128a].
︙ | |||
234 235 236 237 238 239 240 | 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 | - + | } int sleepwait = 0; static OFString *sleepcmd = nil; void sleepf(OFString *msec, OFString *cmd) { |
︙ |
Modified src/commands.mm from [095c9bcfa3] to [69ee305979].
︙ | |||
229 230 231 232 233 234 235 | 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 | - + | // empty statement if (c.length == 0) continue; __kindof Identifier *identifier = identifiers[c]; if (identifier == nil) { @try { |
︙ | |||
254 255 256 257 258 259 260 | 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | - - + + | // game defined variables if (isDown) { if (w[1].length == 0) [identifier printValue]; else [identifier setValue: |
︙ | |||
435 436 437 438 439 440 441 | 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 | - + | execute((![cond hasPrefix:@"0"] ? thenp : elsep)); } void loopa(OFString *times, OFString *body) { @autoreleasepool { |
︙ | |||
493 494 495 496 497 498 499 | 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 | - + | } } void at(OFString *s_, OFString *pos) { @autoreleasepool { |
︙ |
Modified src/console.mm from [e0a1b6879f] to [1408af0279].
︙ | |||
102 103 104 105 106 107 108 | 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | - - + + | void keymap(OFString *code, OFString *key, OFString *action) { if (keyMappings == nil) keyMappings = [[OFMutableArray alloc] init]; |
︙ |
Modified src/editing.mm from [ecc3874fd1] to [b565167d7b].
︙ | |||
601 602 603 604 605 606 607 | 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 | - + - - - + | void newent(OFString *what, OFString *a1, OFString *a2, OFString *a3, OFString *a4) { EDITSEL; @autoreleasepool { newentity(sel.x, sel.y, (int)player1.o.z, what, |
︙ |
Modified src/rendergl.mm from [6011a74a0d] to [4da3c2483c].
︙ | |||
193 194 195 196 197 198 199 | 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | - + | } COMMAND(texturereset, ARG_NONE) void texture(OFString *aframe, OFString *name) { @autoreleasepool { |
︙ |
Modified src/rendermd2.mm from [21d4efdffc] to [53ddda709f].
︙ | |||
64 65 66 67 68 69 70 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | - - - - + + + + | } void mapmodel( OFString *rad, OFString *h, OFString *zoff, OFString *snap, OFString *name) { MD2 *m = loadmodel(name); |
︙ |
Modified src/weapon.mm from [c57ce4ac4b] to [1d3f50a464].
︙ | |||
59 60 61 62 63 64 65 | 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | - - - + + + | { return guns[gun].attackdelay; } void weapon(OFString *a1, OFString *a2, OFString *a3) { |
︙ |