Results (51 - 60 of 166)
- [20879]: Extract a RandomPathPlacer prototype from Deep Forest (rP11444) and ...
- ... To mimic the per-tile path elevation randomization on Deep Forest, use a SmoothElevationPainter and it's randomization argument from rP20354. Use vector algebra and the mapCenter getter, refs #4845, #4854.
- By Jan 16, 2018, 5:12:23 AM —
- #4952: enhancement: Random map generator by Pyrophorus (new)
- In this thread Pyrophorus has presented a proof of concept of a map generation library. It would be great to put it to use. https://wildfiregames.com/forum/index.php?/topic/22830-yet-another-random-map-generator/
- By Jan 14, 2018, 4:37:04 PM —
- [20815]: Implement random map script playerbase function. Unifies 54 variants ...
- ... Removes 35 unused elevation and 24 unused cliffRadius variables, demonstrating the copy&paste antipattern. Reduce iberian-wall hardcoding to one line, refs #4940.
- By Jan 11, 2018, 1:35:01 AM —
- #4940: defect: Remove rmgen Iberian Wall hardcoding (new)
- rmgen currently hardcodes that Iberians and only Iberians have starting walls. This fact (and if needed some more arguments) should be moved to the civ definition file. This way mods can reuse the feature and it makes the library agn ...
- By Jan 9, 2018, 4:22:34 PM —
- #4933: defect: Remove rmgen Math proxies (closed: fixed)
- We have some proxies in `rmgen/` and they don't really add anything besides giving two ways to call the same function: {{{ function cos(x) { return Math.cos(x); } function sin(x) { return Math.sin(x); } function abs(x) { ...
- By Jan 7, 2018, 7:13:06 PM —
- #4884: defect: Shadows totally displaced (closed: worksforme)
- Sometimes the shadows are totally displaced. The displacement vector depends on the viewing angle. Observed in A22. [[Image(https://i.imgur.com/RTj8iRQ.jpg, 700px)]] [[Image(https://i.imgur.com/RY81Sm1.jpg, 700px)]]
- By Nov 28, 2017, 11:43:55 PM —
- #4854: defect: rmgen MapCenter getter (closed: fixed)
- There are as many references to the map center, variable names and the means of obtaining that location as there are random map scripts. We should have a simple `GetMapCenter()` function to remove the variability.
- By Nov 16, 2017, 12:28:12 PM —
- #4845: defect: Simplify rmgen code with vector algebra (closed: fixed)
- In a number of locations in the rmgen library we have equations that are duplicated for each dimension and equations that are the result of vector algebra, but written in an obfuscated way. By using the Vector2D operations, these functi ...
- By Nov 12, 2017, 2:33:29 AM —
- [20437]: Unify rmgen modifyTilesBasedOnHeight (rP20189) with the HeightPlacer ...
- ... Create global constants for the elevation modes and make that Placer more versatile by adding the mode argument. Improves the performance of these functions by not repeating the mode, createTerrain and getTileClass lookups every tile. Move the functions to library.js, ref ...
- By Nov 10, 2017, 11:29:04 PM —
- #4834: defect: JS Vector2D should use XZ instead of XY (new)
- In the engine we use `Y` for the elevation and `X` and `Z` for the horizonal plane. r9096 introduced the `Vector` JS object which uses `X` and `Y`. This is now in `globalscripts/` and used in not few places. In many if not all places, the `Y` represents `Z`. So it wo ...
- By Oct 31, 2017, 3:03:56 PM —
Note:
See TracSearch
for help on searching.