OpenTTD Source 20260621-master-g720d10536d
ini_type.h File Reference

Types related to reading/writing '*.ini' files. More...

#include "fileio_type.h"

Go to the source code of this file.

Data Structures

struct  IniItem
 A single "line" in an ini file. More...
struct  IniGroup
 A group within an ini file. More...
struct  IniLoadFile
 Ini file that only supports loading. More...
struct  IniFile
 Ini file that supports both loading and saving. More...

Enumerations

enum class  IniGroupType : uint8_t { Variables , List , Sequence }
 Types of groups. More...

Detailed Description

Types related to reading/writing '*.ini' files.

Definition in file ini_type.h.

Enumeration Type Documentation

◆ IniGroupType

enum class IniGroupType : uint8_t
strong

Types of groups.

Enumerator
Variables 

Values of the form "landscape = hilly".

List 

A list of values, separated by
and terminated by the next group block.

Sequence 

A list of uninterpreted lines, terminated by the next group block.

Definition at line 16 of file ini_type.h.