Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerlya02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:8e80217e59
[formerly3360eb6c5f
] Former-commit-id:377dcd10b9
71 lines
1.5 KiB
C
71 lines
1.5 KiB
C
/*=========================================================================*/
|
|
/* FILE NAME: save_gif.h */
|
|
/* */
|
|
/* HEADER FILE */
|
|
/* */
|
|
/*=========================================================================*/
|
|
|
|
typedef struct HRAP {
|
|
float x,y;
|
|
} HRAP;
|
|
|
|
|
|
/*-----------------------------------------*/
|
|
/* structures used by mpefield_save_gif */
|
|
/*-----------------------------------------*/
|
|
|
|
typedef struct _town
|
|
{
|
|
char name[25];
|
|
HRAP location;
|
|
} town_struct;
|
|
|
|
typedef struct _state
|
|
{
|
|
char name[25];
|
|
HRAP *hrap;
|
|
int npts;
|
|
} state_struct;
|
|
|
|
typedef struct _rfc
|
|
{
|
|
char id[9];
|
|
HRAP *hrap;
|
|
int npts;
|
|
} rfc_struct;
|
|
|
|
typedef struct _overlay
|
|
{
|
|
town_struct town[50];
|
|
state_struct state[180];
|
|
rfc_struct rfc;
|
|
int ntowns,nstates;
|
|
|
|
} overlay_struct;
|
|
|
|
overlay_struct gdata;
|
|
overlay_struct overlays;
|
|
|
|
typedef struct _gui
|
|
{
|
|
float orig_x;
|
|
float orig_y;
|
|
float scalex, scaley;
|
|
int offset;
|
|
int zoom_factor;
|
|
int zoom_on;
|
|
int XOR;
|
|
int YOR;
|
|
int HRAPX;
|
|
int HRAPY;
|
|
int WIDTH;
|
|
int HEIGHT;
|
|
|
|
} gui_struct;
|
|
|
|
|
|
gui_struct gui;
|
|
|
|
/*-----------------------------------------------*/
|
|
|
|
int get_apps_defaults();
|