|
Crossfire Client, Branch
R11627
|
Covers drawing the magic map. More...

Go to the source code of this file.
Functions | |
| void | draw_magic_map (void) |
| Draws the magic map - basically, it is just a simple encoding of space X is color C. | |
| void | magic_map_flash_pos (void) |
| Flash the player position on the magic map. | |
| gboolean | on_drawingarea_magic_map_expose_event (GtkWidget *widget, GdkEventExpose *event, gpointer user_data) |
Variables | |
| GtkWidget * | magic_map |
| main.c - drawing area for the magic map | |
| static GdkGC * | magic_map_gc = NULL |
| GtkWidget * | map_notebook |
| main.c - drawing areas for the maps | |
| const char *const | rcsid_gtk2_magicmap_c = "$Id: magicmap.c 9193 2008-06-01 14:26:32Z anmaster $" |
| GdkColor | root_color [NUM_COLORS] |
Covers drawing the magic map.
Definition in file magicmap.c.
| void draw_magic_map | ( | void | ) |
Draws the magic map - basically, it is just a simple encoding of space X is color C.
Definition at line 51 of file magicmap.c.
References cpl, FACE_COLOR_MASK, LOG(), LOG_WARNING, magic_map, magic_map_gc, MAGIC_MAP_PAGE, Player_Struct::magicmap, map_notebook, Player_Struct::mapxres, Player_Struct::mapyres, Player_Struct::mmapx, Player_Struct::mmapy, root_color, and TRUE.

| void magic_map_flash_pos | ( | void | ) |
Flash the player position on the magic map.
Definition at line 120 of file magicmap.c.
References cpl, magic_map, magic_map_gc, MAGIC_MAP_PAGE, map_notebook, Player_Struct::mapxres, Player_Struct::mapyres, Player_Struct::pmapx, Player_Struct::pmapy, root_color, Player_Struct::showmagic, and TRUE.
| gboolean on_drawingarea_magic_map_expose_event | ( | GtkWidget * | widget, |
| GdkEventExpose * | event, | ||
| gpointer | user_data | ||
| ) |
| widget | |
| event | |
| user_data |
Definition at line 154 of file magicmap.c.
References draw_magic_map(), and FALSE.
Referenced by main().


| GtkWidget* magic_map |
main.c - drawing area for the magic map
Definition at line 56 of file main.c.
Referenced by draw_magic_map(), magic_map_flash_pos(), and main().
GdkGC* magic_map_gc = NULL [static] |
Definition at line 45 of file magicmap.c.
Referenced by draw_magic_map(), and magic_map_flash_pos().
| GtkWidget* map_notebook |
main.c - drawing areas for the maps
Definition at line 68 of file map.c.
Referenced by draw_magic_map(), magic_map_flash_pos(), and map_init().
| const char* const rcsid_gtk2_magicmap_c = "$Id: magicmap.c 9193 2008-06-01 14:26:32Z anmaster $" |
Definition at line 1 of file magicmap.c.
| GdkColor root_color[NUM_COLORS] |
1.7.6.1