|
ocssw
1.0
|
00001 #ifndef L2MAPGEN_INPUT_H 00002 #define L2MAPGEN_INPUT_H 00003 00004 #include <stdio.h> 00005 #include <clo.h> 00006 00007 typedef struct input_struct { 00008 00009 char ifile [FILENAME_MAX]; 00010 char ofile [FILENAME_MAX]; 00011 char palfile[FILENAME_MAX]; 00012 char palette_dir[FILENAME_MAX]; 00013 char product_table[FILENAME_MAX]; 00014 char flaguse[1024]; 00015 char parms [4096]; 00016 00017 char prod[255]; 00018 int32_t stype; 00019 float datamin; 00020 float datamax; 00021 float west; 00022 float east; 00023 float north; 00024 float south; 00025 int32_t width; 00026 float threshold; 00027 int mask; 00028 int quality; 00029 int apply_pal; 00030 char palette[768]; 00031 int outmode; 00032 } instr; 00033 00034 int l2mapgen_init_options(clo_optionList_t* list); 00035 int l2mapgen_read_options(clo_optionList_t* list, int argc, char* argv[]); 00036 int l2mapgen_input(int argc, char **argv, clo_optionList_t* list, instr *input); 00037 00038 #endif 00039 00040 00041
1.7.6.1