HomeWildfire Games

Survival Of The Fittest cleanup:

Description

Survival Of The Fittest cleanup:
Replace complicated starting unit code with a call to placeStartingEntities equal to rP20415.
Use distributePointsOnCircle to remove sin/cos/distance computations.
Add map center getter for rmgen code, refs #4854.

Details

Committed
elexisNov 16 2017, 2:11 PM
Parents
rP20462: Allow loot to be modified by technologies and auras
Branches
Unknown
Tags
Unknown
Build Status
Buildable 3724
Build 6465: Post-Commit BuildJenkins

Event Timeline

elexis added inline comments.Nov 16 2017, 2:13 PM
/ps/trunk/binaries/data/mods/public/maps/random/survivalofthefittest.js
81

If someone has an idea how to filter the starting units more friendly to mods and future changes, let me know (fortress.js has the same issue).
We could use Identity classes, but that has the same issue just on a different property.