Differences From Artifact [9c9daca4d1]:
- File edit.c — part of check-in [8119f365c2] at 2020-11-16 04:51:13 on branch trunk — Implement properly (hopefully) the mouse button down event in edit.c and game.c (user: user, size: 10774) [annotate] [blame] [check-ins using]
To Artifact [3d6313a0b5]:
- File edit.c — part of check-in [5b7677692b] at 2020-11-17 00:51:29 on branch trunk — Add possibility to select levels. (user: user, size: 10847) [annotate] [blame] [check-ins using]
| ︙ | |||
312 313 314 315 316 317 318 319 320 321 322 323 324 325 | 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;
}
|
| ︙ |