Commit graph

296 commits

Author SHA1 Message Date
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
Alistair Riddoch
44ccb16760 Expost account id to the python API as an attribute 2010-12-01 11:11:01 +00:00
Alistair Riddoch
c08b70bc74 Add accessor for account ID. 2010-12-01 11:10:45 +00:00
Alistair Riddoch
c2a1eef7c3 Add method to allow sending on non-ig ops 2010-12-01 10:43:05 +00:00
Alistair Riddoch
c1791e392a Merge branch 'master' into teleport 2010-11-17 11:29:45 +00:00
Alistair Riddoch
1cce86ade5 Used char array instead of pointer for initialised string. 2010-08-17 19:05:16 +01:00
Alistair Riddoch
f57c957cd2 Use char array instead of pointer to avoid warning. 2010-08-17 19:00:28 +01:00
Manohar Vanga
0ce6ff0be9 Fixed warning in Py_CreatorClient.cpp 2010-08-17 11:58:19 +05:30
Manohar Vanga
b620e8cb7f Fixed issues based on feedback 2010-08-17 11:56:10 +05:30
Manohar Vanga
569e879b92 Fixed issues based on code review feedback 2010-08-17 11:56:10 +05:30
Alistair Riddoch
bd6b68b0b0 Clean up includes. 2010-07-27 23:31:28 +01:00