Commit Graph

4 Commits

Author SHA1 Message Date
evilchili
b03f4c1193 Source data is now in toml format
The input text is now expected to be a toml file with a leading comment
section defining the battle map, according to the following rules:

1. Blank lines are ignored
2. Lines at the top of the file beginning with '#', optionally with
   leading spaces, is treated as map data
3. Map data continues until the first line not starting with a #.
4. Any subsequent lines are treated as metadata in toml format.
5. The metadata must contain the [map] section.
6. The [map] section must contain the "name" attribute.

The metadata is available as BattleMap.metadata; the map source is
available as BattleMap.map_string.

New convenience properties ahve been added to the BattleMap class for
accessing portions of the text-only output. This includes the header and
footer attributes.
2025-08-17 17:56:14 -07:00
evilchili
ee8c2af2d8 Add coordinate axes to string rendering 2025-08-17 16:58:17 -07:00
evilchili
60528926ee Refactor tilesets 2025-08-11 17:06:16 -07:00
evilchili
a566423e8a Initial import 2025-08-08 15:45:09 -07:00