| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-08-02 16:43:12 +0200 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-08-02 16:43:12 +0200 | 
| commit | f7a8ecca1d40fc008149a9762bf7dd11a033323b (patch) | |
| tree | e2e47ce0b32e2941977249baf4b9ca1670ec8883 /tile/global.m4.conf | |
| parent | ee4ef26138b53eb445d8257f1d33cb52b135e731 (diff) | |
Moves to the new tile format.
Diffstat (limited to 'tile/global.m4.conf')
| -rw-r--r-- | tile/global.m4.conf | 12 | 
1 files changed, 3 insertions, 9 deletions
| diff --git a/tile/global.m4.conf b/tile/global.m4.conf index 727c111..9224b6e 100644 --- a/tile/global.m4.conf +++ b/tile/global.m4.conf @@ -1,24 +1,18 @@  m4_define(`__TILE_CHOOSE_STYLE', `m4_define(`__TILE_CLASS',m4_defn(`$1'))m4_undefine(`$1')')m4_dnl  m4_define(`__TILE_COST_WHEN_OCCUPIED', 201)m4_dnl  m4_define(`__TILE_COST_WHEN_OOB', 255)m4_dnl -m4_define(`__TILE_CLASS_MAX_ID', 44)m4_dnl -m4_define(`__TILE_CLASS_ERLANG_STYLE',`from_id (`$1') -> +m4_define(`__TILE_CLASS_ERLANG_STYLE',`from_class_id (`$1') ->     #tile     {        id = $1,        name = <<"[__TILE_CATEGORY_NAME] $2">>, -      cost = $3, -      class_range_min = $4, -      class_range_max = $5 +      cost = $3     };')m4_dnl -m4_define(`__TILE_CLASS_ERLANG_SELECT_STYLE',`      N when ((N >= $4) and (N =< $5)) -> $1;')m4_dnl  m4_define(`__TILE_CLASS_JSON_STYLE',`   {        "msg": "add_tile",        "id": $1,        "nam": "[__TILE_CATEGORY_NAME] $2", -      "ct": $3, -      "rmi": $4, -      "rma": $5 +      "ct": $3     },')m4_dnl  m4_define(`__TILE_CATEGORY',`m4_define(`__TILE_CATEGORY_NAME', `$1')')m4_dnl  m4_define(`__TILE_CLASS_USE_ERLANG_STYLE',`__TILE_CHOOSE_STYLE(`__TILE_CLASS_ERLANG_STYLE')')m4_dnl | 


