86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
+
+
+
+
-
|
// == picture ==
extern SDL_Surface*screen;
extern Uint16 picture_size;
extern int left_margin;
void init_palette(void);
void init_screen(void);
void load_pictures(void);
// Use only when screen is unlocked
void draw_picture(int x,int y,Uint16 img);
void draw_cell(int x,int y);
// Use only when screen is locked
void draw_text(int x,int y,const unsigned char*t,int bg,int fg);
void draw_key(int x,int y,int k,int bg,int fg);
const char*screen_prompt(const char*txt);
int screen_message(const char*txt);
void load_pictures(void);
int scrollbar(int*cur,int page,int max,SDL_Event*ev,SDL_Rect*re);
void draw_popup(const unsigned char*txt);
int modal_draw_popup(const unsigned char*txt);
// == class ==
|
265
266
267
268
269
270
271
|
268
269
270
271
272
273
274
275
276
277
278
|
+
+
+
+
|
void locate_me(int x,int y);
// == edit ==
void run_editor(void);
void write_empty_level_set(FILE*);
// == picedit ==
void run_picture_editor(void);
|