Erik Ogenvik
|
0572fd6d4a
|
Use "props" to get properties.
Also unify LocatedEntity Python bindings.
|
2018-05-14 17:35:19 +02:00 |
|
Erik Ogenvik
|
f1785bd9b9
|
Reload python modules all at once.
To prevent inconsistencies when multiple file changes.
|
2018-05-10 01:15:35 +02:00 |
|
Erik Ogenvik
|
6e62796876
|
Reload rules in a better manner.
|
2018-05-10 00:21:30 +02:00 |
|
Erik Ogenvik
|
d7960b3100
|
Improve on how updated types are handled.
By installing and changing some types, other types might update. This is
now handled.
|
2018-05-08 14:32:02 +02:00 |
|
Erik Ogenvik
|
b72aa95c94
|
Removed obsolete files.
We want to control behaviour through properties and move away from using
hierarchical structure.
|
2018-05-08 14:31:48 +02:00 |
|
Erik Ogenvik
|
e2426e8b74
|
Removed unused functions.
|
2018-05-07 11:15:26 +02:00 |
|
Erik Ogenvik
|
dd94c1f08e
|
Remove GCC warning.
|
2018-05-07 11:15:26 +02:00 |
|
Erik Ogenvik
|
cd1bc36eae
|
Commented out unused code giving warnings.
|
2018-05-07 11:15:26 +02:00 |
|
Erik Ogenvik
|
c61a273f92
|
Expose properties through "props".
If we expose dynamic properties directly on the located
entity there's a risk that there will be collisions.
|
2018-05-07 11:15:26 +02:00 |
|
Erik Ogenvik
|
5b282419be
|
Finalize conversion to Python 3.
|
2018-05-07 11:15:26 +02:00 |
|
Erik Ogenvik
|
97a09ae6b0
|
Conversion to Python 3 through 2to3.
|
2018-05-07 11:15:26 +02:00 |
|
Erik Ogenvik
|
701d1a7208
|
Initial work on porting to Python 3.
|
2018-05-07 11:15:26 +02:00 |
|
Erik Ogenvik
|
346624c703
|
Support older compilers.
|
2018-05-07 11:15:12 +02:00 |
|
Erik Ogenvik
|
c99af50dbe
|
Provide template specialization for LocatedEntity.
|
2018-05-07 10:48:59 +02:00 |
|
Erik Ogenvik
|
699f686303
|
Catch exceptions.
|
2018-05-02 21:55:52 +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
|
002e1ca728
|
Expose const fields.
Thus no need to redefine private and protected.
|
2018-05-01 22:15:29 +02:00 |
|
Erik Ogenvik
|
12cf9827e0
|
Nicer debug output.
|
2018-05-01 19:51:48 +02:00 |
|
Erik Ogenvik
|
2f1bb4aee0
|
Insert correct op name.
|
2018-05-01 17:27:45 +02:00 |
|
Erik Ogenvik
|
5cd440cfd3
|
Support older boost versions.
|
2018-05-01 17:12:14 +02:00 |
|
Erik Ogenvik
|
3a41f8fc62
|
Reload all python tasks scripts too.
|
2018-05-01 14:42:02 +02:00 |
|
Erik Ogenvik
|
49b0209b3f
|
Fixed some issues with logging.
|
2018-05-01 14:39:46 +02:00 |
|
Erik Ogenvik
|
9ae1fc2fc3
|
Only mod property if really needed.
|
2018-05-01 14:39:46 +02:00 |
|
Erik Ogenvik
|
cad9733413
|
Make trees not roll as much.
|
2018-05-01 14:21:35 +02:00 |
|
Erik Ogenvik
|
2cc6ce43ee
|
No error when entity has disappeared.
|
2018-05-01 13:19:53 +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
|
1029803200
|
Fixed incorrect entity init.
|
2018-04-30 23:33:24 +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
|
a6195c1ac6
|
Made all game entities definable through xml.
This makes it easier to alter properties in real time.
|
2018-04-29 11:58:35 +02:00 |
|
Erik Ogenvik
|
6eeace3d1d
|
Added missing symbols.
|
2018-04-28 14:44:55 +02:00 |
|
Erik Ogenvik
|
5b719253a2
|
Include header needed by older boost versions.
|
2018-04-28 13:42:16 +02:00 |
|
Erik Ogenvik
|
daebcd09fa
|
Fixed keyboard slip.
|
2018-04-28 13:02:42 +02:00 |
|
Erik Ogenvik
|
90001d1a2c
|
Use correct masks.
|
2018-04-27 23:12:15 +02:00 |
|
Erik Ogenvik
|
664988645e
|
Make all properties define type and optional name.
|
2018-04-27 23:12:15 +02:00 |
|
Erik Ogenvik
|
cecee29236
|
Fixed issue with bbox scaling.
We can't use setLocalScaling since it doesn't seem to work well with
some shapes (such as mesh). We should use uniform scaling anyway.
|
2018-04-27 23:12:15 +02:00 |
|
Erik Ogenvik
|
f7e7a8a968
|
Fixed tests.
|
2018-04-27 23:12:15 +02:00 |
|
Erik Ogenvik
|
d3d84bc675
|
Don't send bbox to clients by default.
It should be sent as any other property. Additionally we want to use
uniform scaling through a property instead.
|
2018-04-27 23:12:15 +02:00 |
|
Erik Ogenvik
|
6114bad0df
|
Update geometry when mesh files change.
|
2018-04-27 23:12:15 +02:00 |
|
Erik Ogenvik
|
09090a6446
|
Emit Change op when a type changes.
|
2018-04-27 23:12:15 +02:00 |
|
Erik Ogenvik
|
0d26f7e24e
|
Wait a little when emitting change events.
To batch up multiple events for the same file.
|
2018-04-27 23:12:15 +02:00 |
|
Erik Ogenvik
|
7b0849d224
|
Enable assets manager.
|
2018-04-27 23:12:15 +02:00 |
|
Erik Ogenvik
|
0ac9f30792
|
Added a "change" op for when stuff change.
This is used to emit signals about types being changed. It's up to the
clients then to request updates if they need.
|
2018-04-27 23:12:01 +02:00 |
|
Erik Ogenvik
|
4dffa79f50
|
Check if updated property is same as old.
|
2018-04-26 18:56:58 +02:00 |
|
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
|
f283ffbafb
|
Communicate type changes to all clients.
|
2018-04-25 20:15:29 +02:00 |
|
Erik Ogenvik
|
283733225f
|
Added assets manager with file observation.
Initial code for a manager which automatically reload assets, rules and
scripts.
|
2018-04-25 20:15:29 +02:00 |
|
Erik Ogenvik
|
cdec868f13
|
Added simple singleton base class.
|
2018-04-25 20:15:29 +02:00 |
|
Erik Ogenvik
|
41acf87d34
|
Added directory monitoring for asio.
This is meant to be used for detecting file system changes of rules and
scripts and automatically reload them.
|
2018-04-25 20:15:29 +02:00 |
|