Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

linux-gtk/zonemon.c File Reference

#include <gtk/gtk.h>
#include <zakdef.h>
#include <stdio.h>
#include <globals.h>
#include <ui.h>
#include <zonemon.h>
#include <simulation.h>
#include <zonestrings.h>
#include <uibits.h>

Go to the source code of this file.

Data Structures

struct  tag_things
 contents of the hover window More...


Functions

void hoverUpdate (UInt16 xpos, UInt16 ypos, int force)
 update the hover location


Variables

tag_things ttg
 contents of the hover window


Detailed Description

This file is for displaying tile information as you hover over individual zones.

It's the equivalent of the query form, but operates on hover.

Definition in file zonemon.c.


Function Documentation

void hoverUpdate UInt16    xpos,
UInt16    ypos,
int    force
 

update the hover location

Parameters:
xpos  the xposition we're now over
ypos  the y position we're now over
force  forcibly update the output

Definition at line 41 of file zonemon.c.

References CarryPower(), CarryWater(), tag_things::density, getWorldAndFlag(), LockZone(), lz_world, tag_things::name, tag_things::old_xpos, tag_things::old_ypos, tag_things::painted, PAINTEDBIT, tag_things::power, POWEREDBIT, selem_t, ttg, UInt16, UnlockZone(), tag_things::value, tag_things::water, WATEREDBIT, welem_t, tag_things::win, and WORLDPOS.

Referenced by hoveringDrawing().


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