Commit graph

55 commits

Author SHA1 Message Date
Alistair Riddoch
5eceba40cf Remove unused handler mechanism 2013-02-14 10:01:20 +00:00
Alistair Riddoch
3d6f39cdee Modify Property install method to take name
This change also switches DecaysProperty to using delegates as a proof of
concept.
2013-02-13 00:45:36 +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
508a98bb49 Add an operation method to Property interface 2013-01-03 23:17:51 +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
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
bcc27f255e Fill out Connection unit test
disconnectAccount turned out to be complicated, and I needed these tests to
make sure I fully understand it.
2012-11-25 13:22:44 +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
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
17eba342dd Added Shaker.h stub. 2012-10-25 10:40:41 -04:00
Alistair Riddoch
63330b34d4 Initialise Inheritance::noClass properly
Code that ends up with a reference to this object
need to check with isValid, so it's vital that it
is initialised to a null ptr.
2012-09-18 08:49:50 +01:00
Alistair Riddoch
240cf86324 Rename method for disambiguation 2012-08-14 10:32:06 +01:00
Alistair Riddoch
928e48a2e7 Weaken the coupling between ExternalMind and Connection 2012-08-13 22:08:22 +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
dc1d0213c4 Simplify calling disconnectObject 2012-05-19 00:57:34 +01:00
Alistair Riddoch
f37d875f25 Remove unused return value 2012-05-18 22:23:14 +01:00
Alistair Riddoch
1de6c468dc Move account disconnection into general object 2012-05-18 22:15:34 +01:00
Alistair Riddoch
1777fb363c rename removeAccount to disconnectObject
This more accurately reflects its function
2012-05-18 21:39:16 +01: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
e944b6c999 Update tests for modified interface 2011-10-31 13:04:55 +00:00
Alistair Riddoch
31bfb426af Fix up tests for modified interface 2011-10-31 12:47:56 +01:00
Alistair Riddoch
8a4fcc6ff6 Fix up the tests 2011-10-30 01:04:54 +02:00
Alistair Riddoch
ac37383d8a Convery all the property get functions 2011-09-29 17:36:26 +01:00
Alistair Riddoch
72ea3c70e1 Fix up tests 2011-02-28 00:28:25 +00:00
Alistair Riddoch
5cb0ac6ae5 Force asserts on in all tests. 2011-02-15 09:30:46 +00:00
Alistair Riddoch
a999d695a1 Fix up test stubs and linking 2010-12-13 14:16:09 +00:00
Alistair Riddoch
79f3af8bf1 Fix up stubs for refactored Accounts 2010-12-06 00:11:18 +00:00
Alistair Riddoch
004678592b Fix tests for modified characterError signature 2010-12-03 22:01:22 +00:00
Alistair Riddoch
01c3d1860c Remove unused forceIntegerId stubs 2010-11-30 09:19:15 +00:00
Alistair Riddoch
b2eb8326bc Fix Connection test for changes to Connection 2010-11-26 16:11:02 +00:00
Alistair Riddoch
85cce5e15e Add Actuate to those ops handled by Character 2010-11-23 14:00:38 +00:00
Alistair Riddoch
45c5e4f151 Initialise Location.loc in all tests 2010-09-16 05:14:35 +01:00
Alistair Riddoch
678eab1c4c Isolate Connection unit test. 2010-03-23 00:06:54 +00:00