aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2021-09-25 18:11:30 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2021-09-25 18:11:30 +0200
commit2c055b0972215a29cf0012a60749c3cf8227d53a (patch)
treec0fa0bef1dff4258b5db7d9c0e73760e5f874aa4 /src/entity.cpp
parentbfc92d0aaf4e04b8378266e2ab25a8e381e34874 (diff)
Allow `-define:name=string`.
Slightly rewrote `build_param_to_exact_value` parsing logic. First, try to parse as a bool, then as an integer or float. If both fail, treat the value as a string. To force a string define for e.g. `true`, use `-define:name='true'`.
Diffstat (limited to 'src/entity.cpp')
0 files changed, 0 insertions, 0 deletions