83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
extern SDL_Surface*screen;
extern Uint16 picture_size;
extern int left_margin;
void draw_picture(int x,int y,Uint16 img);
void draw_text(int x,int y,const unsigned char*t,int bg,int fg);
void draw_cell(int x,int y);
void load_pictures(void);
// == class ==
#define CF_PLAYER 0x01
#define CF_INPUT 0x02
#define CF_COMPATIBLE 0x04
|
>
|
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
extern SDL_Surface*screen;
extern Uint16 picture_size;
extern int left_margin;
void draw_picture(int x,int y,Uint16 img);
void draw_text(int x,int y,const unsigned char*t,int bg,int fg);
void draw_cell(int x,int y);
const char*screen_prompt(const char*txt);
void load_pictures(void);
// == class ==
#define CF_PLAYER 0x01
#define CF_INPUT 0x02
#define CF_COMPATIBLE 0x04
|
149
150
151
152
153
154
155
156
157
158
159
160
161
162
|
sqlite3_stmt*stmt;
const char*txt;
};
} UserCommand;
void load_key_bindings(void);
const UserCommand*find_key_binding(SDL_Event*ev,int editing);
// == function ==
void init_sql_functions(sqlite3_int64*ptr0,sqlite3_int64*ptr1);
// == exec ==
|
>
|
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
sqlite3_stmt*stmt;
const char*txt;
};
} UserCommand;
void load_key_bindings(void);
const UserCommand*find_key_binding(SDL_Event*ev,int editing);
int exec_key_binding(SDL_Event*ev,int editing,int x,int y,int(*cb)(int prev,int cmd,int number,int argc,sqlite3_stmt*args,void*aux),void*aux);
// == function ==
void init_sql_functions(sqlite3_int64*ptr0,sqlite3_int64*ptr1);
// == exec ==
|