Commit graph

43 commits

Author SHA1 Message Date
Alistair Riddoch
5eceba40cf Remove unused handler mechanism 2013-02-14 10:01:20 +00:00
Alistair Riddoch
f15e945b62 Convert ExternalMind to use the base class 2013-01-18 19:21:46 +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
72c956d4b4 First pass at copy method for all property classes 2013-01-07 23:03:25 +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
6f03a09cc6 Remove Creator_parent typedef 2012-12-04 23:40:54 +00:00
Alistair Riddoch
73b81a6ff7 Remove Character_parent typedef 2012-12-04 23:39:22 +00:00
Alistair Riddoch
cd11f63f12 Re-structure test to use framework 2012-12-04 21:04:33 +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
6057d60ff7 Add a return code to (un)linkExternalMind calls 2012-11-27 10:15:45 +00:00
Alistair Riddoch
ef9210c222 Switch to using the new method 2012-11-26 21:27:25 +00:00
Alistair Riddoch
17afad911d Switch connectAvatar to new method
Character::linkExternalMind aims to replace Connection::connectAvatar.
This causes the former to simple call the latter.
2012-11-26 00:30:07 +00:00
Alistair Riddoch
bf1881b211 Update test stubs 2012-11-24 16:51:49 +00:00
Alistair Riddoch
4c1b0c9c3a Move ExternalProperty class into rulesets 2012-11-23 23:58:56 +00:00
Alistair Riddoch
e7d238e91f Move ExternalMind into rulesets 2012-11-23 16:11:21 +00:00
Alistair Riddoch
2c5a4f71e0 Fix up the tests 2012-11-21 21:43:38 +00:00
Alistair Riddoch
12171712e4 Update test to detect replies correctly 2012-11-19 13:42:03 +00:00
Alistair Riddoch
bbaa8c3f2a Route Connectable ops through externalOperation 2012-11-19 13:42:03 +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
ce33f69a39 Added Shaker.h stub. 2012-10-25 10:37:45 -04:00
Alistair Riddoch
d9fb87d2e0 Cover SetOperation 2012-09-11 22:53:15 +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
928e48a2e7 Weaken the coupling between ExternalMind and Connection 2012-08-13 22:08:22 +01:00
Alistair Riddoch
95b078249a Rename database variable for disambiguation 2012-08-13 20:01:27 +01:00
Alistair Riddoch
1decf884a1 Add explicit destructor
Allowing the compiler to create a default destructor confuses gprof, and
causes it to report bad coverage data.
2012-08-06 18:32:01 +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
23823670a2 Merge branch 'transfercleanup'
Conflicts:
	TODO
2012-07-27 18:32:35 +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
c84d33d948 Fix up test stubs 2012-06-08 14:14:42 -07:00
Alistair Riddoch
68494ba520 Use the ruleset global less often, making code more isolated 2012-01-19 19:34:20 +00:00
Alistair Riddoch
aa3994918b Add cases for character creation 2012-01-16 17:15:55 +00:00
Alistair Riddoch
913a0870ea Check the login failure op 2012-01-16 11:37:59 +00:00
Alistair Riddoch
cd4cc3c430 Add test for repeat account creation 2012-01-12 20:45:31 +00:00
Alistair Riddoch
1c4e325ec1 Add a test case for normal player login 2012-01-12 19:59:00 +00:00
Alistair Riddoch
1f29650786 Clean up the order of things a bit. 2012-01-12 18:55:59 +00:00
Alistair Riddoch
934be39324 Add a class to encapsulate test context, and stubs 2012-01-12 18:25:39 +00:00
Alistair Riddoch
f668ac15aa Finish stubbing the non-focus classes in this test 2012-01-12 13:06:48 +00:00
Alistair Riddoch
8bd2e3f196 Add stubbing for all the accounts 2012-01-12 00:37:43 +00:00