mirror of
https://github.com/fallout2-ce/fallout2-ce.git
synced 2026-07-27 16:47:11 -07:00
Implements get_ini_section, needed for Et Tu, and get_ini_sections. Fixes buggy set_ini_setting. Also includes tests for existing ini functions, and moves them all to sfall_init.cc. (opcodes and metarules files were getting long, and this matches sfall's structure)
17 lines
338 B
INI
17 lines
338 B
INI
[ValidSection]
|
|
Key1=Value1
|
|
Key2=2
|
|
|
|
[SectionWithSpaces]
|
|
LeadingSpaceKey = LeadingSpaceValue
|
|
TrailingSpaceKey = TrailingSpaceValue
|
|
Both Sides Space Key = Both Sides Space Value
|
|
SimpleKey=SimpleValue
|
|
|
|
[EmptySection]
|
|
|
|
; This is TestMisc, it's not empty but won't be directly tested for content here.
|
|
[TestMisc]
|
|
Alpha=Beta
|
|
Gamma=Delta
|