Crossfire Client, Trunk
magicmap.c File Reference
#include <gtk/gtk.h>
#include "client.h"
#include "main.h"
+ Include dependency graph for magicmap.c:

Go to the source code of this file.

Functions

void draw_magic_map ()
 
void magic_map_flash_pos ()
 
gboolean on_drawingarea_magic_map_expose_event ()
 

Detailed Description

Covers drawing the magic map.

Definition in file magicmap.c.

Function Documentation

◆ draw_magic_map()

void draw_magic_map ( )

◆ magic_map_flash_pos()

void magic_map_flash_pos ( )

Flash the player's position on the magic map.

Definition at line 77 of file magicmap.c.

References cpl, magic_map, Player_Struct::mapxres, Player_Struct::mapyres, Player_Struct::pmapx, Player_Struct::pmapy, root_color, and Player_Struct::showmagic.

Referenced by client_tick().

+ Here is the caller graph for this function:

◆ on_drawingarea_magic_map_expose_event()

gboolean on_drawingarea_magic_map_expose_event ( )

Definition at line 87 of file magicmap.c.

References draw_magic_map().

+ Here is the call graph for this function: