312
313
314
315
316
317
318
319
320
321
322
323
324
325
|
}
static int editor_command(int prev,int cmd,int number,int argc,sqlite3_stmt*args,void*aux) {
switch(cmd) {
case '^c': // Select class/image
class_image_select();
return 0;
case '^P': // Play
return -2;
case '^Q': // Quit
return -1;
default:
return prev;
}
|
>
>
>
|
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
|
}
static int editor_command(int prev,int cmd,int number,int argc,sqlite3_stmt*args,void*aux) {
switch(cmd) {
case '^c': // Select class/image
class_image_select();
return 0;
case '^L': // Select level
load_level(number);
return 1;
case '^P': // Play
return -2;
case '^Q': // Quit
return -1;
default:
return prev;
}
|