Documentation ¶
Overview ¶
parse universe.ini
Index ¶
Constants ¶
View Source
const ( FILENAME = "universe.ini" KEY_BASE_TAG = "[Base]" KEY_NICKNAME = "nickname" KEY_STRIDNAME = "strid_name" KEY_SYSTEM = "system" KEY_FILE = "file" KEY_BASE_BGCS = "BGCS_base_run_by" KEY_SYSTEM_TAG = "[system]" KEY_SYSTEM_MSG_ID_PREFIX = "msg_id_prefix" KEY_SYSTEM_VISIT = "visit" KEY_SYSTEM_IDS_INFO = "ids_info" KEY_SYSTEM_NAVMAPSCALE = "NavMapScale" KEY_SYSTEM_POS = "pos" KEY_TIME_TAG = "[Time]" KEY_TIME_SECONDS = "seconds_per_day" )
Variables ¶
View Source
var KEY_BASE_TERRAINS = [...]string{"terrain_tiny", "terrain_sml", "terrain_mdm", "terrain_lrg", "terrain_dyna_01", "terrain_dyna_02"}
Functions ¶
This section is empty.
Types ¶
type BaseNickname ¶
type BaseNickname string
type Config ¶
type Config struct { semantic.ConfigModel Bases []*Base BasesMap *lower_map.KeyLoweredMap[BaseNickname, *Base] Systems []*System SystemMap *lower_map.KeyLoweredMap[SystemNickname, *System] TimeSeconds *semantic.Int }
type SystemNickname ¶
type SystemNickname string
Click to show internal directories.
Click to hide internal directories.