Erik Ogenvik
705b691ff5
Make "Account::operation" send directly to link.
2018-04-25 21:05:59 +02:00
Erik Ogenvik
7ae19d5038
Use Singleton base class.
...
I.e. make sure that all objects have a defined life time. This requires
that we actually set up and tear down the singletons.
2018-04-25 20:15:29 +02:00
Erik Ogenvik
f09675cec6
Use "planted" for floating entities.
...
Entities that are "planted" on bodies of water are floating.
This does away with the "floating" mode.
To mark that entities should by default be floating when placed in
water the boolean property "floats" has been added.
2018-03-24 17:06:02 +01:00
Erik Ogenvik
a674b0cf31
Updated docs.
2018-02-21 14:37:47 +01:00
Erik Ogenvik
a3560c817f
Use "propel" property for movement.
...
Clients shouldn't set the "velocity", instead setting the "propel"
property.
2018-02-11 21:15:35 +01:00
Erik Ogenvik
1e95d956b9
Player characters should never be AI controlled.
2018-02-08 21:47:22 +01:00
Erik Ogenvik
e7fa53214b
Use nullptr instead of NULL.
2018-02-06 13:45:11 +01:00
Erik Ogenvik
67549fc362
Added geometry file property.
...
The mesh specified in the property will be read and a "geometry" mesh
property installed on the type onto which the property is installed.
2018-02-06 13:45:11 +01:00
Erik Ogenvik
3a16efe860
Added script to generate stubs.
...
The script is copied from the GoogleMock project and adapted
to instead generate stubs.
Two stub files are generated, one being named *_custom.h.
Any custom behaviour can be added to the latter, since it won't be
regenerated when the stub is recreated.
2017-07-25 23:40:39 +02:00
Erik Ogenvik
4d530e25e4
Move domain property Entity.
...
And rename and fixup smaller things.
2017-07-25 23:40:39 +02:00
Erik Ogenvik
0286bcd47d
Replace "parents" with "parent".
2017-07-24 15:05:18 +02:00
Erik Ogenvik
6e6fe3b9b6
Handle (dis)appear ops when moving between locs.
2017-06-27 21:06:07 +02:00
Erik Ogenvik
0db8323325
Fixed tests.
2016-12-19 22:01:23 +01:00
Erik Ogenvik
1105483b1d
Fixed up tests.
2016-12-15 18:27:42 +01:00
Erik Ogenvik
1c69b3aae6
Use camel casing for tests.
...
This makes it much easier to find them in various editors.
2016-06-26 20:17:18 +02:00