1
0
forked from mirrors/0ad
Commit Graph

15 Commits

Author SHA1 Message Date
historic_bruno a41432f73b Adds support for Cost/Resources and Cost/BuildTime tech modifications.
This was SVN commit r12165.
2012-07-20 01:54:24 +00:00
historic_bruno 99d04e93bb Implements global tech modification function. Fixes #1358, refs #1520.
Applies tech modifications to template data returned by GuiInterface.
Extends engine to load arbitrary global scripts, separates this from RNG
replacement. Refs #1193.
Loads global scripts for most script contexts for consistency.
Adds simulation tests for global scripts.

This was SVN commit r12056.
2012-07-03 02:16:45 +00:00
historic_bruno 8fba8097ce Reverts bfb7526bcf.
This was SVN commit r11874.
2012-05-17 23:24:12 +00:00
quantumstate 89821855c7 Check that a nearby resource has >0 resources left. Fixes #1395.
Also added a check to TechnologyManager to see if player is defined.

This was SVN commit r11806.
2012-05-09 21:32:21 +00:00
quantumstate 3be4eb44fa fix global from commit c4efc223ed
This was SVN commit r11763.
2012-05-05 21:29:36 +00:00
quantumstate c4efc223ed Don't serialize the technology modifications cache. Fixes #1384.
This was SVN commit r11761.
2012-05-05 21:21:36 +00:00
leper 825e1ec7a3 Allow replace with 0.
This was SVN commit r11726.
2012-05-03 18:03:57 +00:00
quantumstate d68d8cdee1 Added "class": "Foo", "number": 5 technology requirement
This was SVN commit r11724.
2012-05-02 20:31:25 +00:00
historic_bruno fc47098743 Implements TerritoryInfluence/Radius tech modification. Adds C++ interface for TechnologyManager. Renames its message to MT_TechnologyModification defined in TypeList.h. Refs #1357.
This was SVN commit r11711.
2012-05-01 22:44:27 +00:00
historic_bruno bfb7526bcf Fixes bug in tech modifications ("affects" was ignored in some situations).
This was SVN commit r11705.
2012-05-01 05:56:53 +00:00
historic_bruno 21caaa4573 Fixes some bugs in tech modifications relating to data types. Explicitly convert template data to numbers before calling ApplyModifications (using + operator).
This was SVN commit r11685.
2012-04-27 23:06:40 +00:00
quantumstate 5ceea39a59 Added technology pairs.
This was SVN commit r11609.
2012-04-21 21:40:07 +00:00
quantumstate 96549e0418 Modified caching behavior to work similarly to how k776 suggested. Also added modification level affects as also suggested by k776.
This was SVN commit r11604.
2012-04-21 16:37:35 +00:00
quantumstate 3e3a8d5414 Fix error when no items of a class exist and that class is used for techology requirements.
This was SVN commit r11598.
2012-04-21 10:55:02 +00:00
quantumstate 755e407aeb Technologies. Refs #3. Full unlocking technology implementation. Only unit gathering rates can be modified currently because the patch was big enough already.
This was SVN commit r11584.
2012-04-20 17:21:04 +00:00