Commit graph

26 commits

Author SHA1 Message Date
Alistair Riddoch
124d62caf7 Add to property factory to allow scripting 2013-03-09 19:23:26 +00:00
Alistair Riddoch
52ba15e9ad Fix test error, making installFactory work 2013-02-22 15:51:32 +00:00
Alistair Riddoch
9ebfefbea4 Modify interface to installFactory is available 2013-02-22 09:57:10 +00:00
Alistair Riddoch
6966ae3c1c Support data driven properties more fully
This commit adds Atlas data_type definitions which property types
inherit from. It also adds methods used to install stuff that inherits from
them.
2013-02-22 00:37:39 +00:00
Alistair Riddoch
f3ba56f9b3 Add method for duplicating factories 2013-02-18 10:16:28 +00:00
Alistair Riddoch
25f37aa2cd Add copy to DecaysProperty and check 2013-02-14 19:32:24 +00:00
Alistair Riddoch
3643266581 Add copy method to BiomassProperty and check 2013-02-14 19:16:29 +00:00
Alistair Riddoch
9fe81568e1 Add required copy method to BurnSpeedProperty 2013-02-14 19:03:08 +00:00
Alistair Riddoch
5eceba40cf Remove unused handler mechanism 2013-02-14 10:01:20 +00:00
Alistair Riddoch
d6164c9b0f Remove obsolete HandlerProperty include 2013-02-14 00:15:42 +00:00
Alistair Riddoch
e7073a8b45 Remove unused HandlerProperty 2013-02-14 00:09:33 +00:00
Alistair Riddoch
8344d5c8b0 Convert TerrainModProperty to delegates 2013-02-14 00:04:58 +00:00
Alistair Riddoch
5413ea5573 Update BurnSpeed and Teleport properties to use delegate 2013-02-13 21:24:18 +00:00
Alistair Riddoch
14661a9710 Update the BiomassProperty as a delegate 2013-02-13 20:57:22 +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
09547422d6 Fix a memory leak in MindProperty 2013-01-28 13:17:23 +00:00
Alistair Riddoch
fb4b698866 Convert Motion to use entity base class 2013-01-18 19:27:37 +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
51b5c50215 Move DecaysProperty handler into class 2013-01-10 10:07:44 +00:00
Alistair Riddoch
7e43da878d Move the telport property handler into class 2013-01-10 09:33:25 +00:00
Alistair Riddoch
7ec8b51d62 Move TerrainMod property handlers into class 2013-01-10 00:19:31 +00:00
Alistair Riddoch
a640a15b1b Move burn_handler into a class of its own 2013-01-09 22:48:40 +00:00
Alistair Riddoch
b5f235d023 Move eat_handler into its own class 2013-01-09 22:26:12 +00:00
Alistair Riddoch
7d358f8e3b Fully cover CorePropertyManager 2013-01-08 22:55:00 +00:00
Alistair Riddoch
24ac14e1ec Add a stub unit test for CorePropertyManager 2013-01-08 19:23:50 +00:00