Commit graph

35 commits

Author SHA1 Message Date
Alistair Riddoch
b4cc611176 Update tests to handle PropertyRuleHandler 2013-02-15 23:19:38 +00:00
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
8f5e1f31b7 Fix up return value checks. 2012-12-11 08:20:35 +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
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
c8e62ddb38 Added Shaker.h stub. 2012-10-25 10:41:44 -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
0a816385a7 Check data conversions more fully 2012-09-13 15:14:14 +01:00
Alistair Riddoch
d9dfa278a0 Ensure addToFoo are fully covered 2012-09-13 14:30:22 +01:00
Alistair Riddoch
cf98f9e204 Cover most of LookOp 2012-09-13 00:02:41 +01:00
Alistair Riddoch
61c55135e6 Cover Player 2012-09-12 18:16:26 +01:00
Alistair Riddoch
744922a5ea Replace Player test 2012-09-12 15:10:00 +01: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
a122db8b51 Fix up a bunch of tests to use CommClient template 2012-08-01 19:42:36 +01: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
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
a4197d1816 Fix Player test for the same issue. 2010-11-26 16:10:13 +00:00
Alistair Riddoch
3ac3325850 Fix up tests for new Domain instance semantics 2010-09-01 14:06:37 +01:00
Alistair Riddoch
e9f1189aae Use "thing" rather than "game_entity" so creation succeeds. 2010-08-17 19:20:32 +01:00
Alistair Riddoch
15d61d280f Modify tests to cover the updated Account interface. 2010-01-02 23:58:22 +00:00
Alistair Riddoch
1227c19751 Add full coverage test for Player 2009-11-18 01:28:45 +00:00