Back to Evolution Project page


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Header Files   Sources   Compound Members   File Members  

auxiliar.h File Reference


Defines

#define DEFAULT_MAP_WIDTH
#define DEFAULT_MAP_HEIGHT
#define GRID_LINE_WIDTH
#define FILE_OPERATION_NONE
#define FILE_OPERATION_OPEN
#define FILE_OPERATION_SAVE

Functions

void create_my_frmNew (void)
void create_new_level (void)
void draw_grid (void)
void clear_pixmap (GdkPixmap *pixmap, GdkGC *gc)
void hide_old (GdkDrawable *drawable)
void show_current (GdkDrawable *drawable)
void toggle_view_grid (void)
void resize_map (void)
void new_map (int sizex, int sizey)
void refresh_all (void)
void refresh_local (int x, int y, int x2, int y2)
void draw_grid_local (int x, int y, int x2, int y2)
void draw_units_local (int x, int y, int x2, int y2)
void draw_units_all (void)
void event_on_unit (sprite *sp, int x, int y)
void toggle_view_sprites (void)
void exit_program (void)
void show_on_statusbar (gchar *text)
void set_pixmaps_from_filenames (GList *sp_lst)
void delete_sprite_on_unit_le (unit *unitmap, int x, int y)
void add_sprite_on_unit_le (sprite *sp, int x, int y)
int open_level (gchar *fn)
int save_level (gchar *fn)

Variables

GtkWidget* frmNew
GtkWidget* Main
GtkWidget* frmSplash
int level_changed
GtkWidget* dlg_areyousure
GdkPixmap* back_pixmap
spritesp_sel
int view_grid
int view_sprites
GdkGC* GcXOR
GdkGC* defgc
int old_x
int old_y
int current_x
int current_y
int grid_left
int grid_top
int clicked
gchar current_filename [1000]
int current_fileoperation
gchar op_filename [1000]


Define Documentation

#define DEFAULT_MAP_WIDTH ()

Definition at line 10 of file auxiliar.h.

#define DEFAULT_MAP_HEIGHT ()

Definition at line 11 of file auxiliar.h.

#define GRID_LINE_WIDTH ()

Definition at line 13 of file auxiliar.h.

#define FILE_OPERATION_NONE ()

Definition at line 15 of file auxiliar.h.

#define FILE_OPERATION_OPEN ()

Definition at line 16 of file auxiliar.h.

#define FILE_OPERATION_SAVE ()

Definition at line 17 of file auxiliar.h.


Function Documentation

void create_my_frmNew (void)

Definition at line 50 of file auxiliar.c.

void create_new_level (void)

Definition at line 45 of file auxiliar.c.

void draw_grid (void)

Definition at line 41 of file auxiliar.c.

void clear_pixmap (GdkPixmap * pixmap, GdkGC * gc)

Definition at line 34 of file auxiliar.c.

void hide_old (GdkDrawable * drawable)

Definition at line 10 of file auxiliar.c.

void show_current (GdkDrawable * drawable)

Definition at line 24 of file auxiliar.c.

void toggle_view_grid (void)

Definition at line 5 of file auxiliar.c.

void resize_map (void)

Definition at line 61 of file auxiliar.c.

void new_map (int sizex, int sizey)

Definition at line 88 of file auxiliar.c.

void refresh_all (void)

Definition at line 95 of file auxiliar.c.

void refresh_local (int x, int y, int x2, int y2)

Definition at line 99 of file auxiliar.c.

void draw_grid_local (int x, int y, int x2, int y2)

Definition at line 123 of file auxiliar.c.

void draw_units_local (int x, int y, int x2, int y2)

Definition at line 159 of file auxiliar.c.

void draw_units_all (void)

Definition at line 193 of file auxiliar.c.

void event_on_unit (sprite * sp, int x, int y)

Definition at line 198 of file auxiliar.c.

void toggle_view_sprites (void)

Definition at line 211 of file auxiliar.c.

void exit_program (void)

Definition at line 216 of file auxiliar.c.

void show_on_statusbar (gchar * text)

Definition at line 220 of file auxiliar.c.

void set_pixmaps_from_filenames (GList * sp_lst)

Definition at line 227 of file auxiliar.c.

void delete_sprite_on_unit_le (unit * unitmap, int x, int y)

Definition at line 259 of file auxiliar.c.

void add_sprite_on_unit_le (sprite * sp, int x, int y)

Definition at line 265 of file auxiliar.c.

int open_level (gchar * fn)

Definition at line 272 of file auxiliar.c.

int save_level (gchar * fn)

Definition at line 299 of file auxiliar.c.


Variable Documentation

GtkWidget* frmNew

Definition at line 19 of file auxiliar.h.

GtkWidget* Main

Definition at line 20 of file auxiliar.h.

GtkWidget* frmSplash

Definition at line 21 of file auxiliar.h.

int level_changed

Definition at line 25 of file auxiliar.h.

GtkWidget* dlg_areyousure

Definition at line 26 of file auxiliar.h.

GdkPixmap* back_pixmap

Definition at line 29 of file auxiliar.h.

sprite* sp_sel

Definition at line 30 of file auxiliar.h.

int view_grid

Definition at line 31 of file auxiliar.h.

int view_sprites

Definition at line 32 of file auxiliar.h.

GdkGC* GcXOR

Definition at line 34 of file auxiliar.h.

GdkGC* defgc

Definition at line 35 of file auxiliar.h.

int old_x

Definition at line 36 of file auxiliar.h.

int old_y

Definition at line 36 of file auxiliar.h.

int current_x

Definition at line 37 of file auxiliar.h.

int current_y

Definition at line 37 of file auxiliar.h.

int grid_left

Definition at line 39 of file auxiliar.h.

int grid_top

Definition at line 39 of file auxiliar.h.

int clicked

Definition at line 40 of file auxiliar.h.

gchar current_filename[1000]

Definition at line 42 of file auxiliar.h.

int current_fileoperation

Definition at line 43 of file auxiliar.h.

gchar op_filename[1000]

Definition at line 44 of file auxiliar.h.


Generated at Mon Nov 6 22:46:57 2000 for TheGameofEvolution by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999