Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

linux-gtk/main.h File Reference

externally exposed symbols from the main form More...

#include <zakdef.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>

Go to the source code of this file.

Functions

void UIDrawMapZone (Int16 xpos, Int16 ypos, welem_t nGraphic, GdkDrawable *drawable)
 draw a field for the map

void UIDrawMapSpecialObject (Int16 xpos, Int16 ypos, Int16 i, GdkDrawable *drawable)
 draw a special object for the map

void UIDrawMapSpecialUnit (Int16 xpos, Int16 ypos, Int16 i, GdkDrawable *drawable)
 draw a special unit on the map


Detailed Description

externally exposed symbols from the main form

Definition in file main.h.


Function Documentation

void UIDrawMapSpecialObject Int16    xpos,
Int16    ypos,
Int16    i,
GdkDrawable *    drawable
 

draw a special object for the map

Parameters:
i  the item to draw
xpos  the horizontal position
ypos  the vertical position
drawable  the drawable to paint on

Definition at line 1089 of file main.c.

References Int16, mw, and main_window::p_mapspecials.

void UIDrawMapSpecialUnit Int16    xpos,
Int16    ypos,
Int16    i,
GdkDrawable *    drawable
 

draw a special unit on the map

Parameters:
i  the unit do draw
xpos  the horizontal location on screen
ypos  the vertical location on screen
drawable  the drawable to paint on

Definition at line 1107 of file main.c.

References Int16, mw, and main_window::p_units.

void UIDrawMapZone Int16    xpos,
Int16    ypos,
welem_t    nGraphic,
GdkDrawable *    drawable
 

draw a field for the map

Parameters:
xpos  the horizontal position
ypos  the vertical position
nGraphic  the item to paint
drawable  the drawable surface to paint on

Definition at line 1072 of file main.c.

References HORIZONTAL_TILESIZE, Int16, mw, main_window::p_mapzones, and welem_t.

Referenced by UIPaintMapField().


Generated on Mon Aug 30 19:44:17 2004 for pocketcity by doxygen1.2.18