Erik Ogenvik
e85f0831b2
Restructure rule classes.
...
Classes under "rulesets" have been moved to "rules", and split up into
futher subdirectories matching their library. As a result we can now
better separate the python bindings, so that things that belongs to the
simulation are separeted from things that belongs to the ai.
2018-10-31 21:38:35 +01:00
Erik Ogenvik
800d6f3d2c
Put operations in separate directory.
2018-10-30 20:12:45 +01:00
Erik Ogenvik
6a3ec31b7e
Remove Character class.
...
This is crucial since it now means that any entity can be controlled by
a mind. This makes the world much more versatile.
2018-08-14 22:25:56 +02:00
Erik Ogenvik
ddab8046de
Work on removing Character.
2018-08-09 21:30:10 +02:00
Erik Ogenvik
04fe84821e
Use proper singletons everywhere.
...
I.e. ones where the lifespan is fully controlled.
The only exception is Options, since it's accessed during static
initialization.
2018-08-04 18:01:20 +02: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
Olek Wojnar
446d115dc9
Fix typos
2018-01-30 17:43:24 -05:00
Erik Ogenvik
7aaa9b9ba7
Optimize includes.
2017-03-19 21:36:52 +01:00
Erik Ogenvik
140d124028
Removed excessive logging.
2015-05-24 12:52:37 +02:00
Erik Ogenvik
079b751bfc
Don't request possession if no mind prop data.
2015-05-24 11:25:07 +02:00
Erik Ogenvik
d67ec8ac44
Make sure minds are repossessed correctly.
2015-05-24 11:25:07 +02:00
Erik Ogenvik
945a2dd3fe
Improve external minds management.
...
We now register a an external mind with the ExternalMindsManager and
then let the manager make sure that there's an external mind connected.
When the external client is disconnected the manager will try to find a
new client to handle the mind.
2015-05-24 11:25:07 +02:00
Erik Ogenvik
c4f44bb277
Deregister possessive clients correctly.
2015-05-24 11:25:07 +02:00
Erik Ogenvik
af5c4df216
Send possession requests to the connected account.
2015-05-24 11:25:07 +02:00
Erik Ogenvik
2c3a4cd0bd
Provide all requried data for possession.
2015-05-24 11:25:06 +02:00
Erik Ogenvik
5d11e1cbb8
Store Link instances rather than Router.
...
Note that I'm still not sure how this is done in a canonical way; I'm
learning as I go along.
2015-05-24 11:25:06 +02:00
Erik Ogenvik
4fad524f6c
Added initial classes for handling ai clients.
2015-05-24 11:25:06 +02:00