33 lines
994 B
C
33 lines
994 B
C
/**
|
|
* \file options.h
|
|
* \date 29/07/2022
|
|
* \author JackCarterSmith
|
|
* \copyright GPL-v3.0
|
|
* \brief Shared options structure definition and declaration.
|
|
*/
|
|
|
|
#ifndef OPTIONS_H_
|
|
#define OPTIONS_H_
|
|
|
|
/// Options structure
|
|
typedef union u_prog_options {
|
|
struct {
|
|
unsigned char verbose_mode:1; //!< Output simple details about ID and other "light" things.
|
|
|
|
unsigned char output_dir:1; //!< Export extracted datas to a sub-directory.
|
|
unsigned char export_mtl:1; //!< Export materials datas with object.
|
|
|
|
unsigned char reserved0:5; //!< For future use.
|
|
|
|
unsigned char debug_mode:1; //!< Output all values of faces, indices and vertices and others "heavy" things.
|
|
unsigned char god_mode:1; //!< Dev only. Output experimental values.
|
|
|
|
unsigned char reserved1:6; //!< For future use.
|
|
|
|
unsigned short input_files_cnt; //!< Internal files counters.
|
|
};
|
|
unsigned int raw; //!< Raw options access for bit-masking or memory copy/compare.
|
|
} T_PROG_OPTIONS ;
|
|
|
|
#endif /* OPTIONS_H_ */
|