Commit graph

26 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
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
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
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
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
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
85cce5e15e Add Actuate to those ops handled by Character 2010-11-23 14:00:38 +00:00
Alistair Riddoch
16ba830c42 Fixes for gcc 4.5, thanks to Alfredo Tupone 2010-10-20 22:51:42 +01:00
Alistair Riddoch
45c5e4f151 Initialise Location.loc in all tests 2010-09-16 05:14:35 +01:00
Alistair Riddoch
75ce9df3b3 Make the setProperty stub functional for test setup 2010-09-13 01:21:41 +01:00
Alistair Riddoch
ed6764c415 Change some member names to be unique and match convention. 2010-09-12 23:55:03 +01:00
Alistair Riddoch
6f10c9171f Isolate all the property coverage tests. 2010-04-08 23:57:49 +01:00
Alexey Torkhov
677d88baf6 Adding function to create character entity to PropertyCoverage. 2009-06-30 18:09:38 +04:00
Alistair Riddoch
1357222aea Clean up the world once the tests are done. 2009-05-15 11:04:40 +01:00
Alistair Riddoch
f64c623fb8 Re-order calling of methods so set is fully tested with and without an owning Entity 2009-05-06 18:25:16 +01:00
Alistair Riddoch
3520d6829d Try getting data before setting it to cover some cases 2009-05-06 18:04:52 +01:00
Alistair Riddoch
b1a54e49d9 Add a test world to property coverage. 2009-05-06 15:16:07 +01:00
Alistair Riddoch
a48a666ca7 Add a class to cover functions in a property. 2009-05-06 13:33:22 +01:00