The abs caused a compiler error in that environment, because wchar_t is
unsigned on armhf, subtracting signed from unsigned results in unsigned
and std::abs does not define an unsigned variant.
Differential Revision: https://code.wildfiregames.com/D1122
Patch By: Peter Michael Green
Uploaded By: Ludovic
This was SVN commit r20869.
Fine-tune random map scripts if nomad mode is enabled by omitting gaia
attackers and vast voids.
Fix nomad units on the Unknown sometimes being stuck on mountains or
tiny islands, refs #3140.
Discussed with: bb
This was SVN commit r20866.
Should resolve current concern raised with 7aae697bc5.
(Until something better is done wrt default args and/or not having them,
or whatever.)
Refs D900, 7aae697bc5, #2944
This was SVN commit r20865.
Fix collisions of mines with trees and berries on Schwarzwald.
It can't achieve anything that a createArea or createObjectGroups call
with a HeightConstraint (6278f75a1f) or HeightPlacer (49194819f6,
24f02d97eb) can't achieve too,
while it can't perform many crucial tasks like testing for arbitrary
Constraints, using custom shapes determined by a Placer or limiting the
amount of entities,
thus the unconventional code is redundant, refs #4805, #3764.
This was SVN commit r20864.
Have some workarounds to mark tileclasses get rekt by this Placer.
Fix Hyrcanian Shores clHighlands class being painted on the entire
landarea rather than only the bottom 25% following 7d0cc59136.
This was SVN commit r20863.
Use a separate tileclass for the oasis.
Use the mapCenter getter, refs #4854 and move important height and
radius constants to the top.
This was SVN commit r20859.
Use constants instead of convoluting magic numbers
Use vector algebra and distributePointsOnCircle to determine the
locations of animals in the oasis, refs #4845.
This was SVN commit r20858.
i.e. tileclasses that are never painted, thus always avoided.
Equally remove some checks for tileclasses before they are painted and
placement code that always failed on Flood.
This was SVN commit r20854.
The mechanism should work for all random map script log entries, if the
timestamps are not added to the CLogger directly, refs #4950.
This was SVN commit r20853.
Fix heroes and pikemen attacking when on elephants
They will only display the capturing and death animations
Fix various indent issues.
This was SVN commit r20850.
Also move the textures to a new folder as they are not helmets
and remove some of the duplication by creating variants.
Reviewed by: Stan
Tweaks by: Stan
Advices by: Sundiata
This was SVN commit r20849.
Adding/removing distanceLess/heardBy/omnipresent tags to/from the
actors.
Not adding missing sounds (lots of animals miss sounds), not renaming
files to something consistent, not making the files itself consistent.
Patch By: temple
Differential Revision: https://code.wildfiregames.com/D944
This was SVN commit r20842.
Slightly tweaked alpha by me,
Source files,
Update the credits.json using the files provided in the license
and the respective WikiCommons accounts of the people, for legal
issues.
Add leyto to the credits.
This was SVN commit r20840.
Was partially fixed by 2d0e996725 but never disclosed.
Fixes#2292
Move the helmet to the new helmets folder,
Update the actors using this, apparently none used the other two
variants.
This was SVN commit r20839.
Update Theatron and Stonehenge foundations making them with more props
Make Stonehenge foundation slightly bigger allowing one to select it
without having to place the cursor in the middle.
This was SVN commit r20836.
Use the hele_flag for the hele_siege_tower, as it's now used only by
macedonians
and they do not have their own.
Update the template to use the new actor
This was SVN commit r20835.
It will be easier for modders to find them and make templates for those
if they want.
Add the other textures that now exist, fix the actors, reindent them,
add svn eol properties.
This was SVN commit r20833.