Skip to main content

Module tables

Module tables 

Source
Expand description

Database tables used to build a startpos, accessed by column name.

The startpos build reads the start_pos_* tables of the campaign pack plus many game tables (units, factions, buildings…). This module collects them from decoded DB files, merging the fragments of each table, and keeps the decoded values so numbers keep their exact binary value (the game copies some f32 values as is).

Structs§

Row
A row of a table.
StartposTables
The tables available to the startpos build, by table name (without the _tables suffix).
Table
A table: its columns and the rows of every fragment.