Erik Ogenvik
8da335d14b
Use reference when possible instead of pointers.
2021-05-31 00:05:25 +02:00
Erik Ogenvik
4c61b85808
Use emplace when entering into map.
2021-04-27 15:07:45 +02:00
Erik Ogenvik
69d9aa152c
Initial work on making properties templated to entities.
...
The idea is to provide props which are templated to either LocatedEntity or Entity
depending on their usage.
2020-07-15 00:20:56 +02:00
Erik Ogenvik
c04ffe2f98
Allow for modifiable properties.
...
By appending the "!" character it's possible to modify a value. The possible modifications
are "append", "prepend", "subtract", "add-fraction" and "default". If nothing is specified "default"
is used.
An example would be "foo!append".
2020-03-07 20:27:58 +01:00
Erik Ogenvik
1d4873de79
Relax property naming rules.
...
Allow alphanumerical characters as well as '_', '-' and '$'.
2020-03-07 14:51:18 +01:00
Erik Ogenvik
74bf344237
Added restrictions to property names.
...
They can max be 32 characters, and must start with either an ASCII character or an underscore.
2020-03-03 22:48:13 +01:00
Erik Ogenvik
7534fee4e3
Arrange tests better and remove obsolete and unused stuff.
2020-01-20 23:17:55 +01:00