1
0
forked from 0ad/0ad
Commit Graph

38 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
9fecad12c3 FeXor's updated map stuffs.
This was SVN commit r11793.
2012-05-08 17:45:32 +00:00
e0f670ddfb This was SVN commit r11755. 2012-05-05 00:10:03 +00:00
9c3e94acfd FeXor's Iberian Walls.
This was SVN commit r11754.
2012-05-04 23:50:43 +00:00
4d35f78819 Template and tech tweaks.
This was SVN commit r11720.
2012-05-02 16:22:33 +00:00
1ee8bfe231 Update wall_builder and add wall_demo map. Patch by FeXoR. Closes #1311.
This was SVN commit r11515.
2012-04-15 17:23:05 +00:00
47ea2ef167 Convert rmgen to use anticlockwise angle from the positive x axis for unit placement, patch from FeXoR, fixes #1289.
This was SVN commit r11430.
2012-04-04 20:53:17 +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
208e642089 More random maps and FeXoR's wall system.
This was SVN commit r11361.
2012-03-18 07:53:18 +00:00
41cbe0a315 Tweaked some maps.
This was SVN commit r11351.
2012-03-17 08:13:52 +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
64f0a91efc Adds new metal and stone mines for polar and alpine biomes.
This was SVN commit r11181.
2012-02-27 15:09:56 +00:00
e82182252c Fixed a major bug.
This was SVN commit r11180.
2012-02-27 11:56:53 +00:00
42d60d52c0 Adds "TILE_CENTERED_HEIGHT_MAP" to aegean sea.
This was SVN commit r11158.
2012-02-25 17:50:01 +00:00
bc805bd357 Adds the path placer library by historic_brunno to rmgen. Fixes #892.
Also takes all the duplicated parts of random maps including the new
player start entities and random biome system into rmgen libraries.
Tweaks nile river and snowflake random maps.

This was SVN commit r11152.
2012-02-25 15:53:43 +00:00
cf729d7bb1 Added TILE_CENTERED_HEIGHT_MAP flag to the mapgen scripts. This allows easy height based terrain painting if enabled. This is false by default for backwards compatibility.
This was SVN commit r10878.
2012-01-05 22:09:53 +00:00
5acf38c095 Randomizes player starting positions on random maps.
This was SVN commit r10417.
2011-10-21 01:15:02 +00:00
0e39511b3a Attempts to fix random map OOS errors by avoiding parsing data to floats (uses CFixedVector3D instead). See #977.
Changes to rmgen API for consistency and support of 3D
position/rotation.

This was SVN commit r10326.
2011-09-26 21:36:33 +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
83f7639ac9 Removes hacks for typed array initialization
This was SVN commit r9882.
2011-07-19 08:52:17 +00:00
24f981cb2c Adds hack for random map data saved as typed arrays (see #658)
This was SVN commit r9725.
2011-06-30 23:09:59 +00:00
5bc125a91f Changes terrain data returned by CMapGenerator to typed arrays, instead of an array of objects (this greatly reduces the size of the serialized data)
This was SVN commit r9664.
2011-06-26 02:56:54 +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
942a45372c Random maps generated in their own thread, loading GUI is updated with progress.
Fixes some bugs in game loader error handling.

This was SVN commit r9220.
2011-04-10 05:31:18 +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
c4cd85bb98 Build fixes
This was SVN commit r9100.
2011-03-22 18:46:39 +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