Page MenuHomeWildfire Games

PerlinPainter add to rmgen.
Needs ReviewPublic

Authored by nani on Sep 22 2018, 1:35 AM.

Details

Reviewers
FeXoR
Summary

PerlinPainter is the rmgen painter implementation of perlinPainter D1630: Add perlin noise generator.

Test Plan

Used in map Fert: https://code.wildfiregames.com/D1634

Test map:

Diff Detail

Repository
rP 0 A.D. Public Repository
Branch
/ps/trunk
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 10237
Build 17393: arc lint + arc unit

Event Timeline

nani created this revision.Sep 22 2018, 1:35 AM
nani created this object with visibility "nani".
nani edited the test plan for this revision. (Show Details)Sep 22 2018, 5:33 PM
nani changed the visibility from "nani" to "Public (No Login Required)".Sep 22 2018, 5:54 PM
FeXoR added a reviewer: FeXoR.Nov 30 2019, 8:23 PM
FeXoR added a subscriber: FeXoR.

Missing newline at the end of the file.
Otherwise I'm to tired to review this right now. Let's call it a day ;)

FeXoR added a comment.Dec 7 2019, 6:56 PM

And that newline at the end of file. Otherwise it's fine ;)

binaries/data/mods/public/maps/random/rmgen/painter/PerlinPainter.js
4

Specify that the is an array of Vector2D objects representing tiles.

FeXoR requested changes to this revision.Dec 7 2019, 6:58 PM
This revision now requires changes to proceed.Dec 7 2019, 6:58 PM
Stan added a subscriber: Stan.Dec 7 2019, 7:01 PM
Stan added inline comments.
binaries/data/mods/public/maps/random/rmgen/painter/PerlinPainter.js
11

I think there are no caps https://jsdoc.app/tags-returns.html for js doc
also if it's an array, one can write Vector2D[] or object[]

nani updated this revision to Diff 10524.Dec 7 2019, 10:43 PM
nani edited the summary of this revision. (Show Details)
Owners added a subscriber: Restricted Owners Package.Dec 7 2019, 10:43 PM
nani edited the test plan for this revision. (Show Details)Dec 7 2019, 10:46 PM
Krinkle added a subscriber: Krinkle.Dec 8 2019, 3:17 AM
Krinkle added inline comments.
binaries/data/mods/public/maps/random/rmgen/painter/PerlinPainter.js
3

Must*

nani updated this revision to Diff 10525.Dec 8 2019, 3:27 AM

Bust -> Must

nani marked 3 inline comments as done.Dec 8 2019, 3:28 AM
nani added a parent revision: D2454: Add 2d value noise for rmgen..
nani updated this revision to Diff 10536.Dec 8 2019, 6:25 PM

Changed to class notation.

Krinkle removed a subscriber: Krinkle.Apr 5 2020, 5:01 PM