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 [adfd260a0a]:

To Artifact [7106f2aed5]:


69
70
71
72
73
74
75



76
77
78
79
80
81
82

static int game_command(int prev,int cmd,int number,int argc,sqlite3_stmt*args,void*aux) {
  switch(cmd) {
    case '\' ': // Play a move
      return number;
    case '^E': // Edit
      return -2;



    case '^Q': // Quit
      return -1;
    default:
      return prev;
  }
}








>
>
>







69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85

static int game_command(int prev,int cmd,int number,int argc,sqlite3_stmt*args,void*aux) {
  switch(cmd) {
    case '\' ': // Play a move
      return number;
    case '^E': // Edit
      return -2;
    case '^L': // Select level
      load_level(number);
      return 1;
    case '^Q': // Quit
      return -1;
    default:
      return prev;
  }
}