Commit graph

29 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
c8f16e0906 Fix memory leaks in WorldRoutertest 2012-12-29 01:57:28 +00:00
Alistair Riddoch
387751c77e Move WorldRouter test to use framework 2012-12-28 23:06:10 +00:00
Alistair Riddoch
857f12f654 Fix a memory leak in the WorldRouter unit test 2012-12-28 11:31:43 +00:00
Alistair Riddoch
d67e092a0e Separate spawn setup code from the constructor 2012-12-27 23:02:04 +00:00
Alistair Riddoch
55c877dbf8 Fix incorrect map iterator usage 2012-12-24 10:50:44 +00:00
Alistair Riddoch
0ccfcd9700 Remove World_parent typedef 2012-12-04 23:50:34 +00:00
Alistair Riddoch
ec03a3b546 Remove Thing_parent typedef 2012-12-04 23:48:40 +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
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
bc001bfe76 Add Get/Info to the IG op dispatch 2012-06-30 01:06:14 -07:00
Alistair Riddoch
1ab89f1585 Remove constant from function definitions too 2012-01-31 11:06:51 +00:00
Alistair Riddoch
68bd0c6e25 Refactor TaskFactory for more flexible activation matching
We can now match the target based on different critea by configuring the
factory to do different checks
2011-12-06 10:07:25 +00:00
Alistair Riddoch
eb9c58c153 Refactor the task setup interface to use LocatedEntity 2011-12-02 23:42:24 +00:00
Alistair Riddoch
31bfb426af Fix up tests for modified interface 2011-10-31 12:47:56 +01:00
Alistair Riddoch
ac37383d8a Convery all the property get functions 2011-09-29 17:36:26 +01:00
Alistair Riddoch
e0c92ebf39 Remove reference to BaseWorld in EntityBuilder 2011-09-21 12:45:18 +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
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
9955ed4c00 Merge branch 'master' into bullet_physics
Conflicts:
	TODO
	tests/Makefile.am
2010-09-22 04:40:17 +01:00
Alistair Riddoch
45c5e4f151 Initialise Location.loc in all tests 2010-09-16 05:14:35 +01:00
Alistair Riddoch
158ca108e8 Extend Domain stubs to cover additions to interface. 2010-08-16 00:20:36 +01:00
Alistair Riddoch
e6db32ddea Add stubs for ArithmeticBuilder to WorldRoutertest 2010-07-13 18:18:58 +01:00
Alistair Riddoch
d27873513d Make WorldRouter a unit test, move original functionality to integration test. 2010-03-22 16:59:58 +00:00
Alistair Riddoch
0dfca784e5 Cover a bit more of WorldRouter. 2010-01-03 21:38:49 +00:00
Alistair Riddoch
ffdcc8760a Add stub WorldRouter test. 2010-01-03 13:39:39 +00:00