Commit Graph

19 Commits

Author SHA1 Message Date
1f5f82f375 Fixes invalid civ check in rmgen.
Removes some default data from the Atlas blank map.
Changes default civ in autostart-random mode.

This was SVN commit r11809.
2012-05-09 23:06:03 +00:00
4b3d98ad71 Fixed bug in library.js GetAngle function
This was SVN commit r11370.
2012-03-19 09:32:49 +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
cab65bb932 Added new random maps. Tweaked some existing ones. Added tree actors to randombiome.js. Added new functions.
This was SVN commit r11347.
2012-03-16 14:06:32 +00:00
9edd53a796 Fixed a bug with getTerrainTexture function.
This was SVN commit r11337.
2012-03-14 11:59:44 +00:00
d115561a26 Fixed a crash when less than 8 players were present in some random maps.
This was SVN commit r11265.
2012-03-07 12:36:22 +00:00
f3a52dd440 Fixes incorrect and inconsistent tests for undefined.
Removes unused buggy GUI script.
Corrects some inconsistent formatting.

This was SVN commit r11241.
2012-03-04 22:59:14 +00:00
986bd39ef4 Minor tweaks and fixes.
This was SVN commit r11238.
2012-03-04 13:18:59 +00:00
59ce8b3081 Tweaks player starting positions so that allies are near each other. Adds some useful functions to the game.
This was SVN commit r11220.
2012-03-02 13:17:35 +00:00
5acf38c095 Randomizes player starting positions on random maps.
This was SVN commit r10417.
2011-10-21 01:15:02 +00:00
f0fe1b0b28 Fixes rmgen to use GetCivData and handle invalid/unfinished civs.
This was SVN commit r9909.
2011-07-24 20:04:04 +00:00
fffcdbbf21 Balances random map resources.
Attempts to avoid "invalid argument" errors in typed arrays by forcing
them to integer (see #658).
Removes script preloading from map generator (VFS is thread-safe now)
Removes thread checking from ScriptInterface file loading functions.
Adjusts starting entities in civ data.

This was SVN commit r9435.
2011-05-04 21:24:25 +00:00
c02818ceea Tweaks random map appearance and resource placement.
Cleans up rmgen library.
Fixes bug in bound checking for circular maps.

This was SVN commit r9388.
2011-05-01 22:29:58 +00:00
712eda131d Random map tweaks for better, faster resource placement.
Moves some constants to rmgen library.

This was SVN commit r9291.
2011-04-21 14:13:13 +00:00
b4503bb61e Simplifies random map output, see #782.
Changes random maps to XZ coordinates, matching the engine.
More documentation for rmgen library.

This was SVN commit r9271.
2011-04-16 04:04:06 +00:00
0dfc72bc2c Fixes filter behavior in setup when switching map type.
Fixes broken texture in Latium rms.
Adds demo keyword to rms test.
Fixes default rms lighting with new model.

This was SVN commit r9127.
2011-03-27 22:00:49 +00:00
f618605477 Changes default random map sizes.
Tweaks random map resources.
Adds support for circular maps to rmgen library.
Various fixes in map generator.
On Miletus map, change player 2 civ, as Romans are not fully implemented
(fixes #758)

This was SVN commit r9104.
2011-03-23 08:12:04 +00:00
5565b9e898 Fixes bugs in Latium map script. Changes default environment settings for random maps, adds environment setters
This was SVN commit r9099.
2011-03-22 08:19:19 +00:00
0e0ed94926 Implements random map system, fixes #6.
Includes default library "rmgen" w/ API based on rmgen tool.
Modifies rmgen scripts Cantabrian Highlands, Neareastern Badlands, and
Latium.
Old map support dropped from MapReader.
Fixes a few bugs in existing game setup and initialization scripts.

This was SVN commit r9096.
2011-03-22 01:34:45 +00:00