1
0
forked from mirrors/0ad
Commit Graph

33 Commits

Author SHA1 Message Date
Ykkrosh 3d26549032 Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings)
This was SVN commit r3802.
2006-04-23 23:14:18 +00:00
Matei bc23379066 Fixes to entity death and event handling, plus some updates to RmGen.
This was SVN commit r3226.
2005-12-11 02:09:11 +00:00
Matei e5dea3e5a1 Water source code :|.
This was SVN commit r2746.
2005-09-18 03:47:15 +00:00
Matei 99127e2458 This was SVN commit r2732. 2005-09-15 02:56:24 +00:00
Matei 093e5c2519 Enanced the Cantabrian Highlands map some more, and added a few more comments and utility functions to rmgen and JS API.
This was SVN commit r2714.
2005-09-13 23:00:56 +00:00
Matei 467b14e928 - Added stay-in-tile-class and border-tile-class constraints.
- Made objects snap to terrain (the game does this automatically for
entities but it was a problem with actors)
- Small enhancements to the RMS API
- New version of cantabrian_highlands

This was SVN commit r2688.
2005-09-08 01:20:51 +00:00
Matei 4cc30aeb56 This was SVN commit r2684. 2005-09-07 02:24:13 +00:00
Matei b071585610 Added tile class and "avoid at distance" support to RMGen.
This was SVN commit r2659.
2005-09-03 21:53:07 +00:00
Matei 43fda176cc This was SVN commit r2631. 2005-08-22 03:27:15 +00:00
Matei e46136fe96 This was SVN commit r2630. 2005-08-22 03:26:40 +00:00
dan df536edb67 This was SVN commit r2569. 2005-07-30 21:21:36 +00:00
Matei 5b1d7b8c4b This was SVN commit r2568. 2005-07-30 21:07:02 +00:00
Matei 5cd416d82f This was SVN commit r2567. 2005-07-30 20:57:18 +00:00
Matei af3a188200 This was SVN commit r2564. 2005-07-30 19:22:16 +00:00
Matei 661114e7a1 This was SVN commit r2540. 2005-07-25 01:31:19 +00:00
Matei 61387e95b2 This was SVN commit r2519. 2005-07-23 07:53:21 +00:00
Matei a50b118c6c Added SmoothElevationPainter.
This was SVN commit r2441.
2005-06-26 10:28:39 +00:00
dan 816293ff36 Added iniFromScenario code through a new constructor in Map::
Initial test, doesn't load the .xml yet,

This was SVN commit r2433.
2005-06-24 04:46:13 +00:00
Matei 470d87c489 Added simple elevation painter as well as array syntax for AndConstraint, RandomTerrain and the new MultiPainter.
This was SVN commit r2407.
2005-06-20 03:18:51 +00:00
Matei 2bfad45723 Added initFromScenario function for Dan to work on.
This was SVN commit r2405.
2005-06-20 02:45:11 +00:00
Matei 06b3e512d7 Modified the way objects are converted from JS to C++ to make it easier to use.
This was SVN commit r2404.
2005-06-19 22:43:07 +00:00
Matei 08ef5c2b68 Redesigned part of RMS (removed "CenteredPlacer" concept, made createMulti a JavaScript library function).
This was SVN commit r2379.
2005-06-07 07:21:55 +00:00
Matei bd53b14f58 More work on RMS:
- Created binaries/data/mods/official/maps/random folder to store maps
and also moved rmlibrary.js to maps (though perhaps it should be
somewhere in system?).
- RM generator now uses "logical terrains" that can have units attached
to them in addition to textures, for things like forests.
- Added basic clump placer, avoid constraints, layered painter, and
random terrains (each tile is chosen between several options).
- Misc. infrastructure changes.

This was SVN commit r2378.
2005-06-06 07:46:28 +00:00
Matei 34f599f3d4 Completed the area placement classes (AreaPlacer, AreaPainter and Constraint) and JS equivalents. Now it remains to implement some of the more interesting ones :P.
This was SVN commit r2340.
2005-05-23 03:51:37 +00:00
Matei 56343ae9c8 Updated ScEd to no longer repaint when minimized and repaint at only 20 FPS normally. The result is much friendlier on your other applications and on your fan.
This was SVN commit r2338.
2005-05-23 02:52:37 +00:00
Ykkrosh 600a55b7d7 Boost Random
This was SVN commit r2315.
2005-05-16 15:19:46 +00:00
Matei e41ddc4e77 Added random number functions using Boost as well as a "library.js" file in which the high-level API can be implemented in JS.
This was SVN commit r2313.
2005-05-16 07:30:39 +00:00
Matei 08ada296f8 Replaced tabs with 4 spaces each to be consisent.
This was SVN commit r2301.
2005-05-13 00:54:10 +00:00
Matei b772559fbe Added get/setTerrain and get/setHeight functions to the RMS API which allow control of each individual tile, and base height argument to init().
This was SVN commit r2300.
2005-05-13 00:39:13 +00:00
Matei c8dc599ab8 Un-hardcoded the rmgen output path since it's not useful when you run it out of binaries/system. You should now type
rmgen script.js ../../binaries/data/mods/official/maps/scenarios/map

This was SVN commit r2297.
2005-05-12 21:17:32 +00:00
Matei 2063404672 Removed #pragma once's and .ncb file for rmgen, and added binaries/system/rmgen.exe to version control.Made rmgen use js32d.lib instead of js32.lib.
This was SVN commit r2296.
2005-05-12 21:02:55 +00:00
Matei bad202f4d0 Removed #pragma once's and .ncb file for rmgen, and added binaries/system/rmgen.exe to version control.
This was SVN commit r2295.
2005-05-12 20:59:22 +00:00
Matei 304037164b Initial stub of RM Generator. This will gradually get updated with the algorithms from the ASCII generator.
This was SVN commit r2293.
2005-05-12 05:16:59 +00:00