/* * config.h * * Created on: 31.01.2018 * Author: Superleo1810 */ #ifndef CONFIG_H_ #define CONFIG_H_ typedef struct config_cpu { u8 threads; } config_cpu_t; typedef struct config_opencl { u8 fpu; u8 fma; u8 set_func; // id, not pointer! } config_opencl_t; typedef struct config { config_cpu_t config_cpu; config_opencl_t config_opencl; u8 mode; u8 zoomSpecific; u8 video; u8 filetype; u16 width; u16 height; u8 videoFPS; u32 bitrate; u8 renderFPS; d64 to_x; d64 to_y; d64 speed; d64 (*zoom_func)(d64, d64); u32 (*set_func)(d64, d64, u32); GLuint tex; u32 *arr; u32 iterations; u32 colorFrom; u32 colorTo; const char *path; } config_t; #endif /* CONFIG_H_ */