Alistair Riddoch
8344d5c8b0
Convert TerrainModProperty to delegates
2013-02-14 00:04:58 +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
1bbb936555
Fill in copy methods on remaining properties
2013-01-08 00:19:23 +00: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
3f4036f0f1
Enhance this test to do more verification
2012-01-08 20:37:28 +00:00
Alistair Riddoch
7b027fbe8c
Fix a divergence from Eris
2011-10-03 22:12:45 +01:00
Alistair Riddoch
5cb0ac6ae5
Force asserts on in all tests.
2011-02-15 09:30:46 +00:00
Alistair Riddoch
980c5e1955
Improve test to use real mod objects, and trigger a crash in the code.
2011-01-11 13:07:52 +00:00
Alistair Riddoch
6fa0af07cc
Fix up tests
2011-01-06 20:55:27 +00:00
Alistair Riddoch
7a1c8c9557
Rename InnerTerrainMod to TerrainModTranslator and update docs
2011-01-06 19:01:37 +00:00
Alistair Riddoch
f63866e83e
Replace string type checking with a quick dynamic cast.
2010-11-11 20:28:40 +00:00
Alistair Riddoch
6d3c9e251f
Fix up test stubs
2010-11-11 14:03:23 +00:00
Alistair Riddoch
ec0c98ffac
Remove the obsolete code.
2010-11-10 18:04:28 +00:00
Alistair Riddoch
435420e16e
Re-order parsing to make a bit more sense.
2010-11-10 16:11:21 +00:00
Alistair Riddoch
997be6cd2e
Remove empty destructors
2010-11-05 21:16:39 +00:00
Alistair Riddoch
0ae8cca7b5
Make impl member non-pointer as it is always needed.
2010-11-05 00:10:56 +00:00
Alistair Riddoch
ca44bbecd8
Move some things into the base class.
2010-11-04 10:39:43 +00:00
Alistair Riddoch
7a5338a26d
Simplify InnerTerrainMod_impl classes to a single class with template methods
2010-11-03 23:59:52 +00:00
Alistair Riddoch
458a327eba
Modify the interface of terrain mod helper classses to be independant of cyphesis.
2010-11-03 15:04:17 +00:00
Alistair Riddoch
66c7c7ab4f
Harmonize the crater terrainmod code with the other classes.
2010-11-02 10:52:00 +00:00
Alistair Riddoch
4fc70bfbe1
Re-write how terrain mod data gets parsed to handle reparsing better
2010-10-28 19:21:53 +01:00
Alistair Riddoch
4af56c3ffd
Update test stubs now that TerrainContext is used
2010-09-17 22:17:21 +01:00
Alistair Riddoch
73ecfbdf8d
No need for InnerTerrainMod to have a ref to the property
2010-09-13 16:31:12 +01:00
Alistair Riddoch
e38d1ea7f5
Stub out moved code, and fill coverage data
2010-09-13 02:09:58 +01:00
Alistair Riddoch
0189b57867
Add some test data to improve property coverage
2010-09-12 23:48:38 +01:00
Alistair Riddoch
6f10c9171f
Isolate all the property coverage tests.
2010-04-08 23:57:49 +01:00
Alistair Riddoch
780e4ea7ca
Start covering the TerrainModProperty
2009-05-06 17:47:11 +01:00
Alistair Riddoch
3bc3d0a017
Add partial coverage tests for most properties.
2009-05-06 15:06:33 +01:00