Free Hero Mesh

Diff
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.

Differences From Artifact [59f741fea8]:

To Artifact [07a6400988]:


334
335
336
337
338
339
340
341
342
343
344
345
346
347



348
349
350
351
352
353
354
334
335
336
337
338
339
340



341
342
343
344
345
346
347
348
349
350
351
352
353
354







-
-
-




+
+
+







}

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;
    case 'go': // Select level
      load_level(number);
      return 1;
    default:
      return prev;
  }
}

void run_editor(void) {
  SDL_Event ev;