#include "editor.h"Go to the source code of this file.
Defines | |
| #define | GrayIdle() pokeIO(0x600005,0b10111) |
Functions | |
| int | read_char (void) |
| void | clear_screen (void) |
| void | clear_line_range (int top, int bottom) |
| void | draw_sprite (const char *spr, int x, int y) |
| void | draw_sprite_xor (const char *spr, int x, int y) |
| void | draw_line (short x0, short y0, short x1, short y1, short Attr) |
| void | draw_string (const char *str, short x, short y) |
| void | draw_string_font (const char *str, short x, short y, short font) |
| void | clear_rect (int left, int top, int width, int height) |
| void | draw_rect (int left, int top, int width, int height) |
| void | xor_rect (int left, int top, int width, int height) |
| void | debug_print (const char *fmt,...) |
| int | is_in_bounds (int x, int y) |
| char * | freadstr (char *s, int n, FILE *fp) |
| void | fwritestr (const char *s, FILE *fp) |
|
|
|
|
||||||||||||
|
Definition at line 48 of file util.c. Referenced by draw_map_field(), and redraw_status_bar(). |
|
||||||||||||||||||||
|
Definition at line 159 of file util.c. Referenced by draw_level_number(), draw_rect(), and draw_textbox(). |
|
|
|
|
||||||||||||
|
Definition at line 201 of file util.c. References draw_string(). |
|
||||||||||||||||||||||||
|
Definition at line 121 of file util.c. Referenced by draw_current_map(), draw_map_field(), draw_rect(), and enter_properties_state(). |
|
||||||||||||||||||||
|
Definition at line 174 of file util.c. References clear_rect(), and draw_line(). Referenced by dialog_read_string(), draw_open_menu(), draw_resize_dialog(), draw_textbox(), enter_properties_state(), message(), pick_set(), and show_dialog(). |
|
||||||||||||||||
|
draw_sprite Draws a sprite *horizontally aligned on an 8-pixel boundary*. If the x position given is not aligned, it is rounded down to the nearest multiple of 8. Definition at line 63 of file util.c. Referenced by _drawtile(), draw_editor_brush(), and draw_map_tile(). |
|
||||||||||||||||
|
draw_sprite_xor XORs a sprite *horizontally aligned on an 8-pixel boundary*. If the x position given is not aligned, it is rounded down to the nearest multiple of 8. Definition at line 94 of file util.c. Referenced by draw_map_tile(), and xor_tile(). |
|
||||||||||||||||
|
Definition at line 133 of file util.c. Referenced by debug_print(), dialog_read_string(), draw_level_number(), draw_menu_labels(), draw_open_menu(), draw_textbox(), enter_properties_state(), message(), pick_set(), redraw_status_bar(), show_dialog(), show_splash(), and show_title_screen(). |
|
||||||||||||||||||||
|
Definition at line 146 of file util.c. Referenced by draw_resize_dialog(). |
|
||||||||||||||||
|
Definition at line 225 of file util.c. Referenced by load_skye_level(), load_skye_level_r2(), and load_skye_lib_r2(). |
|
||||||||||||
|
Definition at line 239 of file util.c. Referenced by save_skyelib_r2(), and write_skye_level_r2(). |
|
||||||||||||
|
Definition at line 213 of file util.c. References FIELD_HEIGHT, and FIELD_WIDTH. Referenced by can_shove(), detonate(), kye_move(), move_monster(), move_pusher(), move_slider(), and tile_is_wall(). |
|
|
Definition at line 5 of file util.c. References GrayIdle. |
|
||||||||||||||||||||
|
Definition at line 186 of file util.c. Referenced by draw_open_menu(), draw_textbox(), menu_toggle_highlight(), and pick_set(). |
1.3.6