Commit graph

58 commits

Author SHA1 Message Date
Alistair Riddoch
5eceba40cf Remove unused handler mechanism 2013-02-14 10:01:20 +00:00
Alistair Riddoch
4a9c7078f7 Refactor to use LocatedEntity as base class
All IG code should use the interface of LocatedEntity when dealing
with any entity, rather than sometimes requiring Entity. Add virtual
functions to the interface where required, and modify all other interfaces
to stop them using Entity. This makes the code way cleaner, and much better
de-coupled.
2013-01-17 10:17:07 +00:00
Alistair Riddoch
4e66987bad Consolidate flags into one place 2013-01-14 09:59:54 +00:00
Alistair Riddoch
0f627d4e71 Rename methods to be more generic. 2012-12-05 09:45:16 +00:00
Alistair Riddoch
ec03a3b546 Remove Thing_parent typedef 2012-12-04 23:48:40 +00:00
Alistair Riddoch
73b81a6ff7 Remove Character_parent typedef 2012-12-04 23:39:22 +00:00
Alistair Riddoch
71cbcdcfc1 Modify externalOperation to include Link
The Link reference provided is the object allowing direct communication
back to the external source of the operation. This allows us to handle
things more cleanly in some cases.
2012-12-04 20:39:35 +00:00
Alistair Riddoch
fdeab1eda6 Complete remove unused, obolste connectAvatar() 2012-11-27 18:31:03 +00:00
Alistair Riddoch
6057d60ff7 Add a return code to (un)linkExternalMind calls 2012-11-27 10:15:45 +00:00
Alistair Riddoch
d463b861af Replace connectAvatar entirely with linkExternalMind 2012-11-26 00:35:55 +00:00
Alistair Riddoch
1eea99fdf2 Move CommSocket and Link classes into common 2012-11-23 11:05:59 +00:00
Alistair Riddoch
9d0852f47f Move virtual functions out of the headers 2012-11-19 13:42:02 +00:00
Alistair Riddoch
23ebd9d6f5 Add externalOperation to the Router interface 2012-11-19 13:42:02 +00:00
Alistair Riddoch
6d8bb9ccd8 Merge pull request #12 from anthonypesce/salt_shaker
Salt shaker
2012-11-15 15:33:15 -08:00
Alistair Riddoch
6998d59ecd Rename ConnectedRouter to ConnectableRouter
Objects using this base class are all long lived, so while they are
often associated with a connection, they most commonly will outlive
that connection, and be unconnected.
2012-11-13 00:09:05 +00:00
anthonypesce
cc8404ee8a Added ; at end. 2012-10-25 10:55:39 -04:00
anthonypesce
d95dc3d797 Added Shaker.h stub. 2012-10-25 10:39:16 -04:00
Alistair Riddoch
0b3d74154b Cover TalkOp 2012-09-13 19:03:05 +01:00
Alistair Riddoch
0f75b6edf5 Properly check the characters list 2012-09-13 15:27:39 +01:00
Alistair Riddoch
e024499643 Cover teleport poessession 2012-09-13 15:16:57 +01:00
Alistair Riddoch
cf98f9e204 Cover most of LookOp 2012-09-13 00:02:41 +01:00
Alistair Riddoch
d9fb87d2e0 Cover SetOperation 2012-09-11 22:53:15 +01:00
Alistair Riddoch
67e2d4b62b Cover ImaginaryOperation 2012-09-09 18:15:37 +01:00
Alistair Riddoch
eaababd0d4 Check Get does nothing 2012-09-09 01:35:44 +01:00
Alistair Riddoch
910a32bb60 Cover Create operations 2012-09-09 01:33:45 +01:00
Alistair Riddoch
a0ebabd0cf Cover filterTasks 2012-09-08 17:50:29 +01:00
Alistair Riddoch
917c74afa2 Cover createObject 2012-09-08 17:34:48 +01:00
Alistair Riddoch
3345e4c725 Cover most of the rest of the class 2012-09-08 14:15:13 +01:00
Alistair Riddoch
c6e809849e Test addNewCharacter 2012-09-07 13:59:52 +01:00
Alistair Riddoch
6537e5da79 Break out the TestWorld::addNewEntity method
This allows tests to cover the case where an Entity is created by this
function if necessary
2012-09-06 13:48:40 +01:00
Alistair Riddoch
322771855b Remove unnecessary check 2012-09-06 12:34:27 +01:00
Alistair Riddoch
a259596595 Make some more thorough checks 2012-09-05 23:54:05 +01:00
Alistair Riddoch
dc69f05aec Test Account::addCharacter 2012-09-05 22:39:07 +01:00
Alistair Riddoch
2278c65613 Make the Account unit test a friend 2012-09-05 22:21:21 +01:00
Alistair Riddoch
56542fb0ed Account needs to be deleted, as server stub doesn't 2012-09-05 13:45:36 +01:00
Alistair Riddoch
bd27443e8f Use better macros 2012-09-04 22:34:35 +01:00
Alistair Riddoch
fd611fe125 Start test using new base 2012-08-31 20:00:41 +01:00
Alistair Riddoch
95b078249a Rename database variable for disambiguation 2012-08-13 20:01:27 +01:00
Alistair Riddoch
a122db8b51 Fix up a bunch of tests to use CommClient template 2012-08-01 19:42:36 +01:00
Alistair Riddoch
558301a836 Add an Info handler to Character 2012-07-02 20:05:18 -07:00
Alistair Riddoch
bc001bfe76 Add Get/Info to the IG op dispatch 2012-06-30 01:06:14 -07:00
Alistair Riddoch
111581e56a Remove obsolete m_task in Character
This pointer is made obsolete now that TasksProperty holds it
2011-12-02 02:37:42 +00:00
Alistair Riddoch
ac37383d8a Convery all the property get functions 2011-09-29 17:36:26 +01:00
Alistair Riddoch
0a5c999371 Link and fully stub out Account unit test 2011-09-27 18:57:57 +01:00
Alistair Riddoch
06ea7939ba Add stub of unit test for Account 2011-09-27 07:40:51 +01:00
Alistair Riddoch
cc46402697 Move Account test to an integration test 2011-09-27 07:38:44 +01:00
Alistair Riddoch
5f785e79c8 Merge branch 'master' into bullet_physics
Conflicts:
	TODO
	configure.ac
2011-05-03 17:13:04 +01:00
Alistair Riddoch
5cb0ac6ae5 Force asserts on in all tests. 2011-02-15 09:30:46 +00:00
Alistair Riddoch
004678592b Fix tests for modified characterError signature 2010-12-03 22:01:22 +00:00
Alistair Riddoch
b83fc6d269 Cover connectCharacter 2010-11-26 22:22:36 +00:00