d86148defc
Create winning teams for relic and wonder victory instead of letting all allies of a player win.
...
Create a getNonGaia function
Reset counters on playerDefeat
MarkPlayersAsWon function
Rename MarkPlayerAsWon to MarkPlayerAndAlliesAsWon
Stop letting winningplayers in relic depend on PlayerID
Comments By and Discussion With: elexis
Reviewed By: temple
Differential Revision: https://code.wildfiregames.com/D972
fixes #4648
This was SVN commit r21441.
2018-03-05 18:02:27 +00:00
9886a4fc15
Fix trees on hills on Survival Of The Fittest following f7a2c3d02c
/ D145.
...
Use the StaticConstraint to reduce map generation time by 50%, refs
#5011 .
This was SVN commit r21440.
2018-03-05 14:38:00 +00:00
1b6407ac7e
Rename some constraint arguments to constraints to reflect that one can pass an array too.
...
This was SVN commit r21439.
2018-03-05 14:35:46 +00:00
ae4bc2c7b1
Add a PassableMapAreaConstraint so that createArea calls can be constrained in advance when the result is going to be used for entity placement.
...
Simplification in the Area prototype.
This was SVN commit r21436.
2018-03-04 22:34:30 +00:00
4bbb5cc8ef
petra: refactor the base management to allow further extensions
...
This was SVN commit r21435.
2018-03-04 22:32:32 +00:00
b5c43fc5f9
Remove some redundant random map logger ellipses.
...
This was SVN commit r21434.
2018-03-04 21:09:16 +00:00
cabc9b4a69
Unify the two copies of the custom dock placement logic on Hellas and Pompeii, refs #4805 .
...
Extend it to only place docks where the according body of water has a
minimum size, fixes #5065 .
Compute the dock angle similar to GetDockAngle from Commands.js (as the
previous angle computation is wrong if the large body of water doesn't
lie in that direction).
This was SVN commit r21433.
2018-03-04 20:06:15 +00:00
b167c5f6ae
Center starting entities
...
Differential Revision: https://code.wildfiregames.com/D1353
Reviewed by: elexis
This was SVN commit r21432.
2018-03-04 17:43:04 +00:00
55645b8bda
petra: fix computation of accessibility for cart super_dock
...
This was SVN commit r21431.
2018-03-04 13:42:07 +00:00
0e8d47cdf7
petra: fix some (rare) cases where the ai would not build a market
...
This was SVN commit r21430.
2018-03-04 13:26:46 +00:00
a1c4c23ce4
Adds axes to the CChart and the summary screen.
...
Comments By: elexis, Imarok
Reviewed By: s0600204
Trac Tickets: #4892
Differential Revision: https://code.wildfiregames.com/D474
This was SVN commit r21429.
2018-03-04 12:42:35 +00:00
5f92726fe7
petra: fix land attacks targeting ships
...
This was SVN commit r21428.
2018-03-03 18:46:06 +00:00
fc66a2dec1
update the petra description following 5b314fc0ac
, as suggested by imarok
...
This was SVN commit r21427.
2018-03-03 18:36:54 +00:00
6eb8a814ce
Improve random map script performance by using squared distance where possible, refs #5011 .
...
RandomPathPlacer.js diff proposed and reviewed by FeXoR
This was SVN commit r21425.
2018-03-03 13:46:57 +00:00
4392d73c5c
petra: fasten late game by not waiting to have a huge army before attacking nearly defeated enemies
...
This was SVN commit r21424.
2018-03-03 10:37:54 +00:00
5b314fc0ac
Add a time multiplier for AI levels
...
Differential Revision: https://code.wildfiregames.com/D1350
This was SVN commit r21423.
2018-03-03 10:05:04 +00:00
a8a29271ce
Add a wrong indentation to avoid "unchanged" lines in D1240, #4014
...
Suggested By: elexis
This was SVN commit r21421.
2018-03-02 21:14:43 +00:00
148dbc2837
Egypt skirmish map by mimesot, refs #5032 .
...
Forum thread:
https://wildfiregames.com/forum/index.php?/topic/23987-skirmish-map-egypt-condensed/
Still needs a map description.
This was SVN commit r21420.
2018-03-02 19:36:38 +00:00
1b743ee36f
Always use the StaticConstraint for createPassage nomad player placement to improve the performance on some random maps slightly, refs #5011 .
...
This was SVN commit r21419.
2018-03-02 18:53:53 +00:00
e3f531384e
Performance improvement for the StaticConstraint by not initializing the cache upon construction but filling it just-in-time, refs #5011 .
...
This was SVN commit r21418.
2018-03-02 18:13:07 +00:00
f72e7bd626
Increase MaxSpawnDistance for ships
...
Differential Revision: https://code.wildfiregames.com/D1345
Reviewed by: elexis
This was SVN commit r21417.
2018-03-02 18:10:54 +00:00
ce65af8dcb
Move Danubius triggerscript function to compose random templates and garrison all entities of a given identity class to TriggerHelper.
...
Delete the copy thereof in Elephantine, refs #4805 , #5040 .
Use absolute paths for template names.
This was SVN commit r21416.
2018-03-02 16:32:10 +00:00
0ff518148e
Forgotton file in previous commit 85a3a889e7
and change pathheight on danubius to be less than landheight.
...
This was SVN commit r21415.
2018-03-02 16:26:55 +00:00
85a3a889e7
Add "has" helper function to TileClass, so that one can find out if the given tile is marked with that class or not without having to fallback to Constraints.
...
Performance improvement for Ambush, refs #5011 .
This was SVN commit r21414.
2018-03-02 16:16:45 +00:00
e9fb0f62ed
Add the avoidance of other Objects within the same Groups from 833ab874a9
to RandomObjects too, refs D189, #4338 .
...
This was SVN commit r21413.
2018-03-02 15:58:02 +00:00
9f47cc2403
Account for upgrade options of parent when determining base template for Template Viewer
...
Reported by: wowgetoffyourcellphone
Report:
https://wildfiregames.com/forum/index.php?/topic/24027-viewer/&do=findComment&comment=349110
Refs: D297, c8fda40b02
This was SVN commit r21410.
2018-03-01 23:50:27 +00:00
5352c0f84e
Disables load/delete buttons for an empty savegames list. Fixes #5057 .
...
Patch By: ztamas
Reviewed By: vladislavbelov
Trac Tickets: #5057
Differential Revision: https://code.wildfiregames.com/D1347
This was SVN commit r21409.
2018-03-01 20:50:41 +00:00
ba1a03f3f8
Beat 24 LayeredPainters with identical neighboring layers for not doing anything but wasting performance and confusing developers, refs #4805 .
...
Remove an unneeded else after break.
This was SVN commit r21408.
2018-03-01 19:50:09 +00:00
50dcddc0eb
On Elephantine, use c214bbd1ec
, c6af8b4e76
to place a path from the temple to the pyramid and replace the city patch workaround.
...
Place the Ptolemian wonder as recommended by Sundiata, refs #5040 .
Use StaticConstraint from 99797313fe
to save some seconds when placing
soldiers.
This was SVN commit r21407.
2018-03-01 19:40:00 +00:00
c214bbd1ec
Return the placed Groups (containing the Objects (containing Entities)) from the createObjectGroups (plural) functions, refs c6af8b4e76
.
...
This way maps can further modify the terrain or place entities at the
resulting position.
Generalizes retryPlacing.
This was SVN commit r21406.
2018-03-01 18:34:48 +00:00
c6af8b4e76
Fix createObjectGroup (singular) and SimpleGroup.prototype.place not returning an array of entities but an array of undefined following the SimpleGroup change in 78ce731fc5
.
...
The bug was never noticeable because the return result was never read
from yet.
This was SVN commit r21405.
2018-03-01 17:48:13 +00:00
38aee6698d
New mappreview images for Ambush and Stronghold, since the ugly circle patterns were removed in 774a626bb9
, refs #4993 .
...
Fix missing word in a map description, reported by Sundiata.
This was SVN commit r21404.
2018-03-01 16:26:26 +00:00
9bd9d16420
Add translateHeightmap function which allows repositioning of an imported heightmap before copying it to the map, refs #3764 , #5018 , #4816 .
...
Inline some variables and return the heightmap in the heightmap library
functions, so that one can apply multiple transformations within the
same statement.
This was SVN commit r21403.
2018-03-01 14:39:17 +00:00
c486ce7efe
Aethiopia random map by (-_-) aka smiley.
...
Map description by Hannibal Barca.
Differential Revision: https://code.wildfiregames.com/D1336
Refs #5040
This was SVN commit r21402.
2018-03-01 13:07:30 +00:00
99797313fe
Implement StaticConstraint, refs #5011 .
...
This allows random map scripts to evaluate a set of slow constraints
once and then only access a cache of the results later,
rather than reevaluating the constraints for every randomized
coordinate.
Remove an unused comment following d35d6cc9f9
.
This was SVN commit r21401.
2018-03-01 12:48:13 +00:00
2be4293dff
Complain if an RMS tries to revert the loading progress.
...
Also increase estimated mapgen time, refs 942a45372c
, 0e0ed94926
.
Differential Revision: https://code.wildfiregames.com/D1341
Proposed By: Vladislav in D1340
This was SVN commit r21400.
2018-03-01 12:06:55 +00:00
5ea7458671
Fixes #5056
...
Remove the offending props. Add EOL properties.
Reported and fix suggested by s0600204
This was SVN commit r21399.
2018-03-01 07:40:31 +00:00
df246b3f5b
Disable trader sounds that were only enabled because their szddles had an event tzg.
...
For the record and the future I guess as much possible try to avoid
dexlaring events in props.
when nearly everything will use variants that wont be much of a
probleme.
Reported in a stzff match by elexis
This was SVN commit r21398.
2018-03-01 07:18:39 +00:00
58f7f47554
petra: additional fixes for accessibility checks during attacks
...
This was SVN commit r21397.
2018-02-28 19:20:28 +00:00
12be2af34c
Fix inconsistent behaviour when deleting a saved game from the load or save panels
...
Patch by ztamas
Reviewed By: mimo
Trac Tickets: #4862
Differential Revision: https://code.wildfiregames.com/D1344
This was SVN commit r21396.
2018-02-28 19:16:27 +00:00
7dd14f4512
Fix missing double negation in a1ddf6114a
/ D1021.
...
This was SVN commit r21394.
2018-02-27 19:51:53 +00:00
5db56fce33
New pers quiver by alexandermb
...
Thread:
https://wildfiregames.com/forum/index.php?/topic/23925-task-weapons-and-armory/&page=2
This was SVN commit r21393.
2018-02-27 19:06:42 +00:00
91299ce79a
petra: fixes/cleanups in navalManager
...
This was SVN commit r21392.
2018-02-27 16:46:49 +00:00
b50589f66e
petra: fixes/cleanups in attacks
...
This was SVN commit r21391.
2018-02-27 16:31:23 +00:00
c166357146
Fix JS type label in the heightmap library, refs #3764 .
...
Remove an unused variable following 3eac3856c6
.
This was SVN commit r21390.
2018-02-27 13:09:48 +00:00
387200f745
Enable multi-processor compilation on Windows with premake5. Patch by Stan, fixes #5035 .
...
Differential Revision: https://code.wildfiregames.com/D1335
This was SVN commit r21389.
2018-02-26 21:49:49 +00:00
2e8ba0ca2c
Fix some map load progress numbers
...
Differential Revision: https://code.wildfiregames.com/D1340
Reviewed by: elexis
This was SVN commit r21388.
2018-02-26 21:36:37 +00:00
354408439a
Add back texture for the centurio
...
This was SVN commit r21387.
2018-02-26 21:35:33 +00:00
12e5910088
Clean up death anims a bit.
...
Fishermen are excluded.
Use a delenda est variant for hoplites.
This was SVN commit r21386.
2018-02-26 20:59:03 +00:00
861411ac29
New variants for elephants.
...
Remove duplication, simplify files
Allow for faster updates
This was SVN commit r21385.
2018-02-26 20:26:23 +00:00