Commit Graph

18723 Commits

Author SHA1 Message Date
temple 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
mimo 55645b8bda petra: fix computation of accessibility for cart super_dock
This was SVN commit r21431.
2018-03-04 13:42:07 +00:00
mimo 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
vladislavbelov 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
mimo 5f92726fe7 petra: fix land attacks targeting ships
This was SVN commit r21428.
2018-03-03 18:46:06 +00:00
mimo fc66a2dec1 update the petra description following 5b314fc0ac, as suggested by imarok
This was SVN commit r21427.
2018-03-03 18:36:54 +00:00
elexis 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
mimo 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
mimo 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
bb 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
elexis 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
elexis 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
elexis 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
temple 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
elexis 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
elexis 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
elexis 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
elexis 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
s0600204 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
vladislavbelov 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
elexis 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
elexis 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
elexis 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
elexis 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
elexis 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
elexis 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
elexis 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
elexis 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
elexis 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
Stan 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
Stan 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
mimo 58f7f47554 petra: additional fixes for accessibility checks during attacks
This was SVN commit r21397.
2018-02-28 19:20:28 +00:00
mimo 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
elexis 7dd14f4512 Fix missing double negation in a1ddf6114a / D1021.
This was SVN commit r21394.
2018-02-27 19:51:53 +00:00
Stan 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
mimo 91299ce79a petra: fixes/cleanups in navalManager
This was SVN commit r21392.
2018-02-27 16:46:49 +00:00
mimo b50589f66e petra: fixes/cleanups in attacks
This was SVN commit r21391.
2018-02-27 16:31:23 +00:00
elexis 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
Itms 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
temple 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
Stan 354408439a Add back texture for the centurio
This was SVN commit r21387.
2018-02-26 21:35:33 +00:00
Stan 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
Stan 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
elexis fc218bb12e Rework passage creation on Lower Nubia and add map description by Sundiata, refs #5040.
Increase passage size so that elephants and siege engines can pass with
higher likelihood.
Use the ElevationBlendingPainter from c1904a725a, so that the mountain
elevation near the river is taken into account.
Smooth the passages even more using the SmoothingPainter, refs #5027.
Add missing SetProgress calls.

This was SVN commit r21384.
2018-02-26 19:48:28 +00:00
bb 56a17c788d Missing double negate throws error from a1ddf6114a
Spotted By: temple
refs D1021, #4791

This was SVN commit r21383.
2018-02-26 17:40:50 +00:00
elexis 99b69098db Pay missing file in the previous commit 9d681ff3e3 with a large pyramid, refs #5040.
This was SVN commit r21380.
2018-02-25 22:35:10 +00:00
bb 3698c134b5 Make sure dropdowns fit in the screen by allowing the list to be above when there is not enough space
Reviewed By: Vladislav
Differential Revision: D1061
fixes #4857

This was SVN commit r21379.
2018-02-25 22:26:31 +00:00
bb a1ddf6114a Allow units to be positioned with freehand placement
Patch By: OptimusShepard
Comments By and Agreed With: elexis
Comments By: Imarok
Differential Revision: D1021
fixes #4791

This was SVN commit r21378.
2018-02-25 22:17:19 +00:00
elexis 9d681ff3e3 Lower Nubia random map, refs #5040.
Composes the NASA heightmap with the NASA composite photography to
reduce the ahistorical Lake Nasser and avoid having huge lakes in the
valleys to the west of the Nile,
as the heightmap does not correlate with water distribution in this arid
climate at all.
I.e. places riverbed elevation where composite and heightmap intersect,
elsewhere uses the elevation model by NASA.

Bounding box chosen by Hannibal Barca
Geographic and biome consulting by Sundiata

This was SVN commit r21377.
2018-02-25 22:08:26 +00:00
elexis 3d54e697e7 Allow using createPassage with out of bounds coordinates when TILE_CENTERED_HEIGHT_MAP mode is enabled.
Update credits.

This was SVN commit r21376.
2018-02-25 21:39:06 +00:00