Commit Graph

10 Commits

Author SHA1 Message Date
WolfGaming
00698cefff Added in code for Tech Levels using prereqs
and fixed up some kinks of the old system
2014-05-19 03:29:25 +00:00
Squiggles211
ce69ea2237 Fix sold tech bug on build limited structures
Fixes where if a structure with a build limit was sold, it was not
properly removed from the buildables prerequisite list until next
update.
2014-05-12 08:42:44 -05:00
Squiggles211
a495d9d552 Rewrite for better efficiency
uses a single, more concise statement rather than an if statement, and
checks buildLimit before attempting to check if the buildables cache
contains the key.
2014-05-02 08:26:36 -05:00
Squiggles211
11c9bd7bc8 Fix TechTree prerequisite bug for buildings with a build limit.
Fixes where a building/unit whose prereq is a build limited structure
was always available to be built even when the prereq was not satisfied.
2014-05-01 18:28:21 -05:00
Paul Chote
4935266945 Merge FileFormats dll into Game and reorganise namespaces. 2014-04-17 01:20:47 +12:00
Paul Chote
bbc19df512 Fix StyleCop issues in TechTree. 2013-12-08 21:40:59 +13:00
Paul Chote
e76dbcd4bf Silently ignore bogus prerequisites instead of crashing. Fixes #4225. 2013-12-08 21:34:49 +13:00
Carko
a51c5fd9ca Added Buildable->BuildLimit option to limit the number of actors a player can build of the type 2013-01-09 07:54:01 +13:00
Chris Forbes
3cf09e656f Add support for negative prerequisites (#1323) 2012-02-13 09:10:01 +13:00
Chris Forbes
cd155b21c9 tidy up some bizarre namespacing 2011-11-04 20:13:41 +13:00