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
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
f27f4e509e
Simplify the Task interface to take any op
2012-07-02 23:19:59 -07:00
Alistair Riddoch
bc001bfe76
Add Get/Info to the IG op dispatch
2012-06-30 01:06:14 -07:00
Alistair Riddoch
06cfd5b292
Add checks to ensure task factories init correctly
2012-01-11 10:03:01 +00:00
Alistair Riddoch
8cbe82b65e
Move the abstract Task factory into common
...
This makes it easier to make code re-usable and get rid of cross
dependencies inside server
2011-12-20 15:10:06 +00:00
Alistair Riddoch
7a4f8be1e9
Cover new checkTarget matches in TaskFactory
2011-12-20 09:40:21 +00:00
Alistair Riddoch
f81bdde2db
Replace specitic task script factory with template
2011-12-15 01:53:52 +00:00
Alistair Riddoch
0e8f9ccc95
Replace abstract script factories with common template
2011-12-14 14:26:01 +00:00
Alistair Riddoch
c1d260d141
Check task activation target more cheaply
2011-12-09 15:54:16 +00:00
Alistair Riddoch
4cdf922e14
Move TaskFactory to do type checks on TypeNode directly
2011-12-09 13:07:24 +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
d13e48d49d
Task can now be attached to any Entity
2011-12-02 23:10:41 +00: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
a8fb1c8c89
Fix up some tests
2011-11-08 20:32:35 +00:00
Alistair Riddoch
a516f55197
Remove TaskScript subclass
...
This class really wasn't used. Task had pure virtual methods, and TaskScript
was the only subclass
2011-11-03 22:57:46 +00:00
Alistair Riddoch
848f1f7973
Move remaining task script code into base class
2011-11-03 21:42:12 +00:00
Alistair Riddoch
035cdad470
Move script member into base class
2011-11-03 21:31:09 +00:00
Alistair Riddoch
24a6936499
Remove TaskScript irrelevant
...
It just called the method it overloaded
2011-11-03 20:40:32 +00:00
Alistair Riddoch
ac37383d8a
Convery all the property get functions
2011-09-29 17:36:26 +01:00
Alistair Riddoch
83cfa95abc
Check return values
2011-04-22 00:21:17 +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
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
8348ef1a62
Remove test stubs for Task::addToEntity
2010-07-15 14:15:24 +01:00
Alistair Riddoch
121af3420d
Isolate TaskFactory unit test.
2010-03-23 01:56:13 +00:00
Alistair Riddoch
6589df8c1e
Add full coverage test for TaskFactory
2009-11-19 15:45:59 +00:00