#3988 closed enhancement (fixed)
[PATCH] Move building angle from maps to libs
Reported by: | FeXoR | Owned by: | FeXoR |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 21 |
Component: | Maps | Keywords: | patch |
Cc: | Patch: |
Description
This patch removes the constant BUILDING_ANGlE
from all random maps.
Some of the maps need that angle though so a variable buildingAngle
is added to library.js in rmgen.
Also the parameters that usually are given that angle are made optional (and a few others e.g. so that all after an optional argument are also optional).
The "Map initialization" comments where also removed when adjacent to a changed line for there is also a logged message stating the same.
Attachments (2)
Change History (5)
by , 8 years ago
Attachment: | remove_BUILD_ANGlE.diff added |
---|
by , 8 years ago
Attachment: | remove_BUILD_ANGlE2.diff added |
---|
comment:3 by , 8 years ago
Keywords: | review removed |
---|---|
Milestone: | Backlog → Alpha 21 |
Note:
See TracTickets
for help on using tickets.
Changed to const BUILDING_ORIENTATION, renamed attribute angle to orientation, moved orientation to kwargs