Commit Graph

18162 Commits

Author SHA1 Message Date
Stan e75a71cc94 Use death and run variants for ptolemy horses.
Add eol properties

This was SVN commit r20826.
2018-01-11 09:59:19 +00:00
Stan e004b1070b Use death and run variants for persian horses.
Add eol properties

This was SVN commit r20825.
2018-01-11 09:58:39 +00:00
Stan 028b7f3542 Use death and run variants for mauryans horses.
Add eol properties

This was SVN commit r20824.
2018-01-11 09:58:03 +00:00
Stan d8542d4264 Use death and run variants for macedonians horses.
Add eol properties

This was SVN commit r20823.
2018-01-11 09:57:18 +00:00
Stan 6abd53a36a Use death and run variants for macedonian horses.
Add eol properties

This was SVN commit r20822.
2018-01-11 09:56:42 +00:00
Stan 09ff2819f9 Use death and run variants for hellenes horses.
Add eol properties

This was SVN commit r20821.
2018-01-11 09:55:50 +00:00
Stan 5652d66894 Use death and run variants for celts horses.
Add eol properties

This was SVN commit r20820.
2018-01-11 09:54:32 +00:00
Stan 418eeb8098 Use death and run variants for carthaginian horses.
Add eol properties
Fix indent bug
Fix missing line end

This was SVN commit r20819.
2018-01-11 09:53:52 +00:00
Stan 4e925919b6 Use death and run variants for athenians horses.
Add eol properties

This was SVN commit r20818.
2018-01-11 09:51:55 +00:00
Stan d93af8042e Add an variant file for death and run variants of horses.
Add svn eol properties.
Fix the zebra and pegasus

This was SVN commit r20817.
2018-01-11 09:50:59 +00:00
elexis 08f561c02d Remove Math.sin, cos and PI proxy functions from rmgen. Fixes #4933.
This was SVN commit r20816.
2018-01-11 03:16:31 +00:00
elexis 921850cdef Implement random map script playerbase function.
Unifies 54 variants of the rmgen playerbase code, fixes #4805.

Add retry loops to prevent collisions of starting resources, fixes #4600
and
resources placed outside of the map area, fixes #4796.

Lays the foundation to test for collisions with Iberian walls, refs
#2192 and
allows to rearrange the starting resources on all random maps without
being confronted with code.

Delete remains of misc.js, leaving the rmgen files sorted by logic,
fixes #4804.
Concludes what was started in 5f1736cbd4, f98100bdaf, specifically the
82 rmgen commits starting f2550705d3, 376d8b3d1e.
Uses vector algebra, refs #4845.
Removes many Math proxy calls, refs #4933.
Removes 35 unused elevation and 24 unused cliffRadius variables,
demonstrating the copy&paste antipattern.
Reduce iberian-wall hardcoding to one line, refs #4940.

This was SVN commit r20815.
2018-01-11 00:35:01 +00:00
Stan 8d01af48ad Fix Shiny Ptolemies horses and some errors/warnings with helmets
This was SVN commit r20813.
2018-01-10 01:08:28 +00:00
Stan d651ece301 New bubble icons
refs : D817
Reviewed by elexis, fpre, Imarok

This was SVN commit r20812.
2018-01-09 23:06:13 +00:00
elexis 2d187ba735 Fix unintented newline in 435081f916.
Display the tech filename in the structure tree warning rather than the
english label to ease mod debugging.

This was SVN commit r20811.
2018-01-09 21:38:17 +00:00
mimo 9fd718186d fix leftover in 29f2b19727
This was SVN commit r20810.
2018-01-09 21:22:19 +00:00
Gallaecio 435081f916 Remove Unicode ellipsis from map files
Summary: I have replaced Unicode ellipsis characters in files of the
maps/ folder of the public mod by ASCII characters (periods and commas).

Test Plan: I have successfully generated a random map on Atlas from the
Unknown map template on x86_64 Linux.

Reviewed By: elexis
Differential Revision: https://code.wildfiregames.com/D1210
This was SVN commit r20809.
2018-01-09 18:18:19 +00:00
elexis 531f548b4a Fix summary screen not printing "You have been defeated..." following 8da8d28102 since GetPlayerID returns -1 after EndGame.
This was SVN commit r20808.
2018-01-09 14:06:43 +00:00
Stan 7166d28268 Change slightly the catafalque to adapt to new horses meshes.
Reported by bb_ on IRC

This was SVN commit r20807.
2018-01-08 22:47:15 +00:00
elexis af698a16f0 Use createPassage from 0c70fb3036 to connect islands on Snowflake Searocks to remove weird math, just like ae2e045df5 and fc733d0b22, refs #4805.
Use vector algebra to simplify and mapCenter getter, refs #4845, #4854.

This was SVN commit r20806.
2018-01-08 21:33:27 +00:00
mimo e300fc6c53 petra: complete 67b76e6705 for the cc distance reduction when defensive and various cleanup
This was SVN commit r20805.
2018-01-08 18:40:24 +00:00
mimo 29f2b19727 Move Pack Time to parent template
Patch by Angen

Reviewed By: mimo
Differential Revision: https://code.wildfiregames.com/D1204
This was SVN commit r20804.
2018-01-08 18:04:29 +00:00
elexis 01bf52d70b Add missing Math.sqrt in 0aa875b3f2 and apply some trivial rmgen cleanup.
This was SVN commit r20803.
2018-01-08 17:08:21 +00:00
elexis 5368271d70 Fix a resource collision in 6d52a71d4a in the Lions Den and in 7f8adcf8cb/25682da568/0d0bc32736 in the Unknown maps, refs #4902.
This was SVN commit r20802.
2018-01-08 17:01:10 +00:00
elexis d448d9313b Fix missing coordinate conversion in e596ef6011 (and rearrange if-statement to be more readable).
This was SVN commit r20801.
2018-01-08 16:55:08 +00:00
elexis 2414e4946e Replace TWO_PI with 2 * Math.PI, refs #4933.
This was SVN commit r20798.
2018-01-07 20:32:43 +00:00
bb 891870a554 Stop serializing minimap playercolors
Patch By: temple
Comments By: elexis
Differential Revision: https://code.wildfiregames.com/D1124
This was SVN commit r20797.
2018-01-07 20:23:04 +00:00
elexis 4bc8dc9ed4 Remove rmgen Math.round proxy, refs #4933.
This was SVN commit r20796.
2018-01-07 20:18:31 +00:00
elexis a554a7c1ed Remove rmgen Math.abs proxy, refs #4933.
This was SVN commit r20795.
2018-01-07 19:57:30 +00:00
elexis 92fe7445e4 Remove rmgen Math.floor proxy, refs #4933.
This was SVN commit r20794.
2018-01-07 19:45:48 +00:00
elexis 0aa875b3f2 Remove rmgen sqrt proxy, refs #4933.
This was SVN commit r20793.
2018-01-07 18:42:22 +00:00
elexis ab1bfb83f7 Remove unneeded rmgen min and max proxies, refs #4933.
This was SVN commit r20792.
2018-01-07 18:26:04 +00:00
mimo 67b76e6705 petra: reduce a bit the distance between ccs for defensive ai + some cleanup
This was SVN commit r20791.
2018-01-07 17:44:01 +00:00
mimo e50beaedc0 Fix trigger difficulty level (9daa7520ef) for translation
Discussed with elexis

Trac Tickets: #4931

Differential Revision: https://code.wildfiregames.com/D1207
This was SVN commit r20790.
2018-01-07 17:37:17 +00:00
elexis a2e93de942 Remove rmgen Math.ceil proxy and unused lerp function from 0e0ed94926.
This was SVN commit r20789.
2018-01-07 16:19:24 +00:00
elexis 6b6c6ef8d3 Refactor Alpine Valley mountainrange code, refs 992a8ee0b8, 70e67af87f.
Describe the algorithm using graph theory vocabulary.
Split code into small functions, making it easier to digest and remove
duplication, refs #4805.
Use a prototype to avoid any possible naming conflicts.
Add helper variables to reduce array lookup nesting.
Remove non-functional unneeded max-distance check, refs c438a1eb82.
Use mapCenter getter, refs #4854.

This was SVN commit r20788.
2018-01-07 16:02:37 +00:00
elexis 0b1b7d19cf Return an array of Vector2D instead of an array of X coordinates and an array of Z coordinates from distributePointsOnCircle, so that one can iterate over the result, refs #4845.
Use map center getter for Rivers and the Unknown maps, refs #4854.

This was SVN commit r20787.
2018-01-07 15:25:53 +00:00
elexis 2d5196cd19 Fix wrong mapSize comparison in efd9b3e212.
This was SVN commit r20786.
2018-01-07 14:41:40 +00:00
bb 917056f4e3 Fix few style issues in 8ae67ed15f/9ae7c4d810
Spotted By: elexis
This was SVN commit r20785.
2018-01-07 13:44:50 +00:00
vladislavbelov a49a1f3746 Escapes slashes in the report help
Reviewed By: elexis
Differential Revision: https://code.wildfiregames.com/D976
This was SVN commit r20784.
2018-01-07 10:56:15 +00:00
elexis e1a5a50bdf Display the summary screen as a dialog if it was opened during a running game or replay.
This makes it consistent (all stacked pages are dialogs) and
the player is kept aware of the game being still active in the
background for the time the page is open.

Differential Revision: https://code.wildfiregames.com/D1058
Patch By: fpre / ffffffff
This was SVN commit r20782.
2018-01-07 01:12:27 +00:00
Gallaecio 11bcc7c0e7 Solve some issues reported on Transifex, and update translation files
This was SVN commit r20781.
2018-01-07 00:10:14 +00:00
elexis ae2e045df5 Delete createShallowsPassage / passageMaker from bc805bd357 and use the unified createPassage function from 0c70fb3036 (9016b8d866, a796800bb1) to achieve the same shallows generation, refs #4805.
Place shallows at every tributary river rather than leaving out the last
35 percent of the mapsize.
Use vector algebra to do the horizontal/vertical rotation, refs #4845.

This was SVN commit r20780.
2018-01-06 22:59:56 +00:00
Gallaecio d9d76d450b Fix the Tributes entry in the Value drop-down of the Charts tab of the game summary
Trac Tickets: #4613

Differential Revision: https://code.wildfiregames.com/D1203
This was SVN commit r20779.
2018-01-06 21:42:20 +00:00
elexis de4e51c447 Replace the hardcoded keynames of the Introductory Tutorial strings with the sprintf solution from 4055c564e9 / D1184.
Remove hardcoded default batch training size and GUI row count hint
(which could have become invalidated too easily).

Differential Revision: https://code.wildfiregames.com/D1199
Reviewed By: mimo
This was SVN commit r20778.
2018-01-06 16:25:45 +00:00
elexis 0350bee2e6 Remove workaround from 4055c564e9 / D1184 and display hotkey strings too if the hotkey is unassigned.
Differential Revision: https://code.wildfiregames.com/D1200
Reviewed By: mimo
This was SVN commit r20777.
2018-01-06 16:20:59 +00:00
elexis f352d20e17 Support both DateTime formats of XEP-0082 in the lobby, refs #3156, f2c76cc75d, 6141c5c4fa, f27efac053.
Patch By: Dunedan
Fixes #4920.
Differential Revision: https://code.wildfiregames.com/D1197
This was SVN commit r20776.
2018-01-06 16:09:10 +00:00
elexis 015aa4adee Rename getTIPIADBON (The Intended Point In A Direction Based On Height) from 1fd00b5e3f to findLocationInDirectionBasedOnHeight.
Use vector algebra to simplify it and the according maps, refs #4845.
Remove stepSize parameter as long as the non-interpolated heightmap grid
is tested.

This was SVN commit r20775.
2018-01-06 15:48:38 +00:00
mimo 4925b8d21a fix 4842b2158b
This was SVN commit r20774.
2018-01-05 17:34:21 +00:00
elexis a8e63c72a8 Fix gamesetup when compiled --without-lobby following 61261d14fc / D364.
Differential Revision: https://code.wildfiregames.com/D1196
Patch By: nwtour
This was SVN commit r20773.
2018-01-05 16:47:05 +00:00