Erik Ogenvik
6e62796876
Reload rules in a better manner.
2018-05-10 00:21:30 +02:00
Erik Ogenvik
7895d1b0aa
Reload minds when python code changes.
...
All thoughts are first persisted and then restored.
2018-05-01 22:23:31 +02:00
Erik Ogenvik
e80d07560c
Reload entity scripts when python code changes.
...
For now we reload all scripts. We should be smarter and only reload
those scripts which are affected though.
2018-04-30 23:34:58 +02:00
Erik Ogenvik
d4604d034d
Correctly handled updated type properties.
...
When a type is updated we now property re-apply modified properties on
affected entities.
2018-04-29 17:21:44 +02:00
Erik Ogenvik
0f1559ba16
Reload types when they change.
2018-04-29 11:59:33 +02:00
Erik Ogenvik
664988645e
Make all properties define type and optional name.
2018-04-27 23:12:15 +02:00
Erik Ogenvik
f7e7a8a968
Fixed tests.
2018-04-27 23:12:15 +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
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
70084e0279
Added calls for when property is installed on Type
2018-02-06 13:45:11 +01:00
Erik Ogenvik
7fb146eb36
Standardize installation of standard types.
...
This way the base types are exposed to clients.
2018-02-06 13:45:10 +01:00
Erik Ogenvik
07d886aab4
Instantiate template after definition.
2017-08-02 10:17:34 +02:00
Erik Ogenvik
e2513e5c3a
Fixed issues with stub property.
2017-08-02 10:03:58 +02:00
Erik Ogenvik
dbea647c06
Set flags in constructor.
2017-07-30 15:12:13 +02:00
Erik Ogenvik
6275555b20
Improved stub generation and create all stubs.
2017-07-25 23:40:40 +02:00
Erik Ogenvik
a0097a82e8
Added integration test for Physical Domain.
2017-01-29 17:13:01 +01: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
74bb437540
Fixed tests.
2015-05-24 11:25:08 +02:00
Erik Ogenvik
8b5249fea8
Added missing stubs.
2015-04-15 23:07:27 +02:00
Erik Ogenvik
ea62550af4
Added integration test for suspended property.
2014-12-30 13:10:50 +01:00
Erik Ogenvik
d88adb64e8
Updated tests.
...
These tests are truly horrible. You change one thing and then spend
three days just updating stubs in tests. The only possible solution is
to move more and more into stub classes.
2014-09-30 23:15:29 +02:00
Erik Ogenvik
3b295ca0a1
Added concept of a default entity.
...
Instead of the root entity always being the default one (for new
entities being created etc.) we now can specify another entity which is
the default one.
2014-08-27 22:17:09 +02:00
Erik Ogenvik
7d5742b2fe
Updated tests.
...
Started initial work on providing stubs, so that we finally can start to
reduce the amount of code needed for the tests. Some tests are using the
new stubs, but the plan is to continously move more and more code from
the tests over to the stub as they are updated.
2014-08-26 21:13:18 +02:00