Commit graph

306 commits

Author SHA1 Message Date
Erik Ogenvik
5b282419be Finalize conversion to Python 3. 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
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
e7fa53214b Use nullptr instead of NULL. 2018-02-06 13:45:11 +01:00
Erik Ogenvik
eb2bb200e5 Clean up and remove unused structs. 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
7aaa9b9ba7 Optimize includes. 2017-03-19 21:36:52 +01:00
Erik Ogenvik
0b01c92a2f Only link to libraries where needed. 2017-03-17 23:47:57 +01:00
Erik Ogenvik
1e6611fd58 Remove autotools. 2016-12-22 14:39:37 +01:00
Erik Ogenvik
98c7eb66c8 Convert to cmake. 2016-12-22 14:39:36 +01:00
Erik Ogenvik
514d0812a0 Added basic awareness for navigation.
"Awareness" refers to an entity's view of the surrounding world with
regards to how the entity could navigate. We use Recast/Detour to build
a navmesh for the entity.

However, since each world can have many NPCs, each one with their own
mind, we don't want to keep a complete navmesh for each single mind.
This will quickly become expensive. Therefore we want to share
awarenesses between multiple entities of the same type. So, for example,
all fishes handled by the same ai client will share one single awareness
of the world.
This to some degree involves some cheating, since AI minds now might get
knowledge of the world they otherwise wouldn't have. We consider this to
not be such a big issue. If this is unacceptable for some worlds these
should then disable awareness sharing and take the resource hit.
2016-03-19 23:05:13 +01:00
Erik Ogenvik
d3b9d1788b Use Atlas 0.7. 2015-06-04 21:41:27 +02:00
Erik Ogenvik
3eedbe366b Prefer nullptr for expressiveness. 2015-05-24 11:25:07 +02:00
Yaroslav Taben
05ae38a6cb Added a separate archive for EntityFilter components in makefiles 2014-07-23 12:46:45 -04:00
Erik Ogenvik
31905f5f93 Removed further references to skstream. 2014-02-02 22:15:39 +01:00
Erik Ogenvik
3b7a3a44a6 Remove references to skstream. 2014-02-02 22:04:10 +01:00
Olek Wojnar
7f9ff2246d Remove CVS $Id tags
The legacy tags are causing build issues in Debian.
2013-07-15 20:31:59 +02:00
Alistair Riddoch
c4c0413b45 Copy unit test to integration test 2013-01-03 12:22:50 +00:00
Alistair Riddoch
21d6485a79 Use friend to get rid of test class. 2013-01-03 12:00:13 +00:00
Alistair Riddoch
23823670a2 Merge branch 'transfercleanup'
Conflicts:
	TODO
2012-07-27 18:32:35 +01:00
Alistair Riddoch
262db1c54c Add Python wrapper for client teardown() 2012-07-27 09:44:08 +01:00
Alistair Riddoch
42edca4334 Add a teardown() counterpart to setup() 2012-07-27 09:39:17 +01:00
Alistair Riddoch
29d38634ae Refector client create code, so it can handle info 2012-07-02 23:02:48 -07:00
Alistair Riddoch
f0475b195d Remove redundant check 2012-05-14 11:55:33 +01:00
Alistair Riddoch
68494ba520 Use the ruleset global less often, making code more isolated 2012-01-19 19:34:20 +00:00
Alistair Riddoch
feca46dc9c Don't force inlining, as it hides the method in some builds 2012-01-05 13:39:49 +00:00
Alistair Riddoch
f26a841c3d Separate name and type check for correct reporting 2012-01-04 14:37:19 +00:00
Alistair Riddoch
c3eca8341b Return an error when wrong type of arg is supplied 2012-01-04 14:31:33 +00:00
Alistair Riddoch
5e743b281f Set an error type when map is set
This resolves a FIXME as without an error set, the interpretter provides
no useful error message.
2012-01-03 19:59:07 +00:00
Alistair Riddoch
1292955f7d This should be a value error, as the attribute is supported 2012-01-03 19:56:09 +00:00
Alistair Riddoch
c104daf337 This should be a value error, as the type is correct 2012-01-03 19:45:10 +00:00
Alistair Riddoch
9b65395b14 Add some FIXMEs 2011-12-29 13:25:04 +01:00
Alistair Riddoch
b4791c8ba2 Allow creation of object for testing 2011-12-29 10:35:22 +01:00
Alistair Riddoch
e0c9435ab4 Move inline method into the body
It only gets used here, and having it not in the header simplifies stubbing
2011-12-28 14:53:34 +01:00
Alistair Riddoch
d78dcd4f1c Update object protocol 2011-12-27 13:17:08 +01:00
Alistair Riddoch
764553dfbd Correctly set an error when no attribute can be set 2011-12-27 13:05:19 +01:00
Alistair Riddoch
7cc139a09f Remove generic dealloc implementation 2011-12-27 11:12:27 +01:00
Alistair Riddoch
016c3df601 Remove dict for custom attributes 2011-12-27 10:01:18 +01:00
Alistair Riddoch
65992b4207 Remove unused code 2011-12-27 08:53:52 +00:00
Alistair Riddoch
b123b7f137 Whitespace fix 2011-12-23 09:32:23 +00:00
Alistair Riddoch
f8dc3e5e76 Restructure avatar creation to make more sense 2011-12-01 10:27:13 +00:00
Alistair Riddoch
07b3573a97 Add wrapper for client.createCharacter 2011-12-01 10:22:10 +00:00
Alistair Riddoch
d51215e76d Start converting over to more flexible wrappers 2011-11-30 23:24:26 +00:00
Alistair Riddoch
84e10aa155 Add flexibility to the client API 2011-11-30 19:26:50 +00:00
Alistair Riddoch
ac37383d8a Convery all the property get functions 2011-09-29 17:36:26 +01:00
Alistair Riddoch
a16af683d3 Update automake variable names 2011-02-17 12:51:25 +00:00
Alistair Riddoch
7fbc3a4ec0 Add two methods for client script to wait for responses 2010-12-01 13:12:13 +00:00
Alistair Riddoch
b2228fb418 Expose some connection methods 2010-12-01 13:10:43 +00:00
Alistair Riddoch
c963790b4d Switch to using connection code for waiting for reply 2010-12-01 12:19:15 +00:00
Alistair Riddoch
594a9b6df3 Add some connection logic for waiting for replies 2010-12-01 12:18:41 +00:00