/*! * \file * \ingroup init * \brief Initialization related functions. */ #ifndef __INIT_H__ #define __INIT_H__ #ifdef __cplusplus extern "C" { #endif /*! * Binary configuration data */ typedef struct { int cfg_version_num; /*!< version number of the configuration */ /*! * \name Inventory window position */ /*! @{ */ int items_menu_x; int items_menu_y; /*! @} */ /*! * \name Ground items menu position */ /*! @{ */ int ground_items_menu_x; int ground_items_menu_y; /*! @} */ /*! * \name Manufacture window position */ /*! @{ */ int manufacture_menu_x; int manufacture_menu_y; /*! @} */ /*! * \name Trade window position */ /*! @{ */ int trade_menu_x; int trade_menu_y; /*! @} */ /*! * \name Options window position */ /*! @{ */ int elconfig_menu_x; int elconfig_menu_y; /*! @} */ /*! * \name Stats window position */ /*! @{ */ int tab_stats_x; int tab_stats_y; /*! @} */ /*! * \name Sigils window position */ /*! @{ */ int sigil_menu_x; int sigil_menu_y; /*! @} */ /*! * \name Dialogues window position */ /*! @{ */ int dialogue_menu_x; int dialogue_menu_y; /*! @} */ /*! * \name Help window position */ /*! @{ */ int tab_help_x; int tab_help_y; /*! @} */ /*! * \name Quickbar location and flags */ /*! @{ */ int quickbar_x; int quickbar_y; int quickbar_flags; /*! @} */ int watch_this_stat; int has_accepted_rules; int quantity[6]; int storage_win_x; int storage_win_y; int buddy_menu_x; int buddy_menu_y; int quantity_selected; int view_health_bar; int view_names; int view_hp; #ifdef MINIMAP /*! * \name minimap window position */ /*! @{ */ int minimap_win_x; int minimap_win_y; /*! @} */ //!!!!!!!If you add any new INT option, decrement the reserved thingy accordingly!!!!!! int reserved[4]; #else //!MINIMAP //!!!!!!!If you add any new INT option, decrement the reserved thingy accordingly!!!!!! int reserved[6]; #endif //MINIMAP /*! * \name Camera position and attributes */ /*! @{ */ float camera_x; float camera_y; float camera_z; float zoom_level; /*! @} */ //!!!!!!!If you add any new FLOAT option, decrement the reserved thingy accordingly!!!!!! float freserved[21]; }bin_cfg; #ifdef AUTO_UPDATE extern int auto_update; /*!