1
0
forked from 0ad/0ad
Commit Graph

6 Commits

Author SHA1 Message Date
7d0e660fbb Added Player/MaxPopulation for technologies.
This was SVN commit r12739.
2012-10-07 22:19:03 +00:00
7064e0673c Adds TechnologyModification message for newly created entities, so they are notified of previously researched techs (this will streamline implementation of certain techs). Fixes #1410
This was SVN commit r12698.
2012-09-23 19:19:57 +00:00
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
7c51e743fa Modified rmgen GetAngle function to use atan2 and the standard mathematical angle convention (WARNING this changes return values so will break scripts using the old version) and changed getGradient so it returns Infinity for infinite gradient lines. Added errors if people try and use unsafe javascript maths functions.
This was SVN commit r11363.
2012-03-18 18:40:27 +00:00
291a9e797b Added atan and atan2. Refs #1193
This was SVN commit r11231.
2012-03-03 23:37:47 +00:00
cc955af3b1 Added javascript file for previous commit.
This was SVN commit r11227.
2012-03-03 00:07:11 +00:00