Skip to content

Commit

Permalink
Address a few TODO notes
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Mar 6, 2018
1 parent 520ee2d commit 67fd5d7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/schema/core/config.cfg
Expand Up @@ -46,7 +46,7 @@
name="server"
max=infinite
{SIMPLE_KEY name t_string}
{SIMPLE_KEY address string} # TODO: Validate as hostname:port
{SIMPLE_KEY address server_address}
[/tag]
[tag]
name="colors"
Expand Down
14 changes: 14 additions & 0 deletions data/schema/game_config.cfg
Expand Up @@ -55,6 +55,16 @@
name="defeat_condition"
value="no_leader_left|no_units_left|never|always"
[/type]
[type]
name=point
[list]
min=1
max=2
[element]
link="int"
[/element]
[/list]
[/type]
[type]
name=range
[list]
Expand Down Expand Up @@ -157,6 +167,10 @@
[/element]
[/list]
[/type]
[type]
name="server_address"
value="[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)+:\d+"
[/type]
[tag]
name="root"
min=1
Expand Down
4 changes: 2 additions & 2 deletions data/schema/terrain/graphics.cfg
Expand Up @@ -32,7 +32,7 @@
{SIMPLE_KEY name string}
{DEFAULT_KEY random_start bool,int yes}
{SIMPLE_KEY position string} # Not documented
{SIMPLE_KEY base range_list} # TODO: This is really a point x,y
{SIMPLE_KEY base point}
{SIMPLE_KEY variations string} # Not documented
{SIMPLE_KEY is_water bool} # Not documented
[tag]
Expand All @@ -50,6 +50,6 @@
name="image"
max=infinite
super="terrain_graphics/tile/image"
{SIMPLE_KEY center range_list} # TODO: This is really a point x,y
{SIMPLE_KEY center point}
[/tag]
[/tag]

0 comments on commit 67fd5d7

Please sign in to comment.