232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
|
continue;
__kindof Identifier *identifier = identifiers[c];
if (identifier == nil) {
@try {
val = (int)[c longLongValueWithBase:0];
} @catch (OFInvalidFormatException *e) {
conoutf(@"unknown command: %s", c);
}
} else {
if ([identifier
isKindOfClass:[Command class]]) {
// game defined commands use very
// ad-hoc function signature, and just
// call it
|
|
|
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
|
continue;
__kindof Identifier *identifier = identifiers[c];
if (identifier == nil) {
@try {
val = (int)[c longLongValueWithBase:0];
} @catch (OFInvalidFormatException *e) {
conoutf(@"unknown command: %@", c);
}
} else {
if ([identifier
isKindOfClass:[Command class]]) {
// game defined commands use very
// ad-hoc function signature, and just
// call it
|