Commit Graph

10393 Commits

Author SHA1 Message Date
0c21c24754 Replay menu init performance improvement, reviewed by Imarok.
displayReplayList was called once per filter initialization i.e. 8 times
too often on init.
This can save multiple seconds when opening the menu.

This was SVN commit r18602.
2016-08-14 10:34:23 +00:00
e4000d11cf Display the gamestart time in the lobby. Patch by Imarok, combined with d7d0a7f869 fixes #3476.
XPartaMupp patch reviewed by scythetwirler.

This was SVN commit r18601.
2016-08-14 09:03:30 +00:00
416049e4b4 Remove charge attack from the templates which isn't implemented nor designed yet. Patch by fatherbushido, fixes #4139.
Remove the unused "recharge" attack timer which was introduced in
b21e798243 but should have been removed with 4e5c5e2d8f.

This was SVN commit r18599.
2016-08-11 14:35:50 +00:00
fb46ce578f Give the Carthaginian hero Maharbal a melee attack bonus instead of the not implemented charge bonus. Based on patch by fatherbushido, refs #4139.
This was SVN commit r18598.
2016-08-11 14:20:00 +00:00
7a0703872f Remove a wrong argument from e3b3261a62.
This was SVN commit r18597.
2016-08-11 13:20:31 +00:00
f941744c7b Removes a useless newline in training limit tooltip. Patch by elexis.
This was SVN commit r18596.
2016-08-11 12:34:11 +00:00
66bd4e9da7 Deletes unused technology file forgotten in 94a240737c, removes 2 tooltips duplicated with aura tooltips. Reviewed by elexis.
This was SVN commit r18595.
2016-08-11 12:27:22 +00:00
657070aea6 Moves misplaced desciptions from requirementsTooltips to tooltips in technology json files.
This was SVN commit r18594.
2016-08-11 08:49:53 +00:00
849b79fcec New icon for the Temple of Vesta by Stanislas69 with help from Lion.Kanzen en a little retouching from wowgetoffyourcellphone.
This was SVN commit r18593.
2016-08-10 17:50:41 +00:00
3102424439 Add Open animation to Ptolemian Gate. Made by Stanislas69.
Fix the Ptolemian Gate obstructions on the fly.

This was SVN commit r18592.
2016-08-08 18:32:28 +00:00
04a81620f9 Update translation messages after the removal of the gate conversion tooltip in b2f4b0f494. Reviewed by elexis. Refs #2706.
This was SVN commit r18586.
2016-08-06 16:31:19 +00:00
e3b3261a62 Attack component tests, reviewed by sanderd17.
This was SVN commit r18583.
2016-08-05 18:44:00 +00:00
7ce9e7675f Adds and updates documentation in /components/interfaces/ files. Reviewed by elexis. Fixes #4128
This was SVN commit r18581.
2016-08-03 12:04:49 +00:00
4e87fef3da The old debug API has been removed in SpiderMonkey 38, so remove profiler1 script profiling.
Patch by leper, refs #3708

See also https://bugzilla.mozilla.org/show_bug.cgi?id=1069694

This was SVN commit r18580.
2016-08-02 16:58:30 +00:00
f7ff71e8d5 Hotkeys to repair, ungarrison and focus on the rallypoint. Patch by Imarok, refs #4008.
This was SVN commit r18578.
2016-08-02 15:42:35 +00:00
335b55d49b Add tests to AuraManager component. Fixes #4123
This was SVN commit r18576.
2016-08-02 12:19:40 +00:00
8af205fd71 Fix building of fields + update tests to make sure this doesn't happen again. Refs #4121
This was SVN commit r18575.
2016-08-02 11:54:18 +00:00
69b3c5871b Print warnings when no or the wrong list of mods is passed when starting non-visual replays. Patch by ArnH, fixes #2807.
This was SVN commit r18574.
2016-08-02 11:11:10 +00:00
fba9346947 Fix regicide spawn point preference bug, refs #2160.
On maps with multiple buildings it didn't prioritize the civic center.
This part would require a findLastIndexOf array function to avoid the
loop.

This was SVN commit r18572.
2016-07-31 00:40:26 +00:00
105e1484fb The repair button is expected to work with construction sites.
This was SVN commit r18571.
2016-07-30 23:52:09 +00:00
edd5d20733 Hide unassigned hotkeys. Patch by Imarok, refs #3051.
This was SVN commit r18570.
2016-07-30 16:30:07 +00:00
09ab4fe9d3 Add tests to the Foundation component + fix some minor issues found by implementing the tests. Fixes #4121
This was SVN commit r18567.
2016-07-29 11:48:07 +00:00
c70975b116 Pompeii random map script by _kali.
This was SVN commit r18564.
2016-07-27 11:35:19 +00:00
0fcc1fbce6 Fixes scenario map missing units introduced in previous commit, refs f3d35d8a8a.
This was SVN commit r18563.
2016-07-25 20:31:23 +00:00
f3d35d8a8a Prevents training of unexpected units in buildings introduced in 60a2af2988, lets mace trains 2 mercs in captured stoa or in their own stoa for scenario map, fixes #4011.
This was SVN commit r18562.
2016-07-25 18:54:28 +00:00
20b4e039be Fix fileendings of files with mixed fileendings in the public mod (except art, l10n) and in source/ (except for source/third_party/).
Thus fix lineendings in files that were missed in bcbf25bfbd, as
reported by Imarok.

(SVN throws an error when trying to set the native filending property on
a file with mixed fileendings. However when recursing it hides this
error).

This was SVN commit r18561.
2016-07-25 12:58:47 +00:00
e262e021b0 Fix an off by one error. Reported by fatherbushido, refs #2160.
This was SVN commit r18559.
2016-07-25 11:20:34 +00:00
ba25ffef74 rmlib2 simplifications.
This was SVN commit r18556.
2016-07-24 04:25:45 +00:00
8e1dcbe2fa Mediterranean tree balancing.
Increase minimum distance between forests so as to carve more space for
player buildings. Reported by sentado, based on patch by _kali.
Adapt metal and stone mine numbers to keep the same probability.

This was SVN commit r18555.
2016-07-24 04:24:44 +00:00
c8d7992820 Mediterranean shoreline heightdata fix for easier dock placement (especially in caucasus). Reported by sentado, patch by _kali.
This was SVN commit r18554.
2016-07-24 04:19:56 +00:00
e80f0f9930 Mediterranean bugfix for a rare case where birch trees were placed in north africa
(since the localbiome wasn't set for stronghold bases).
Remove non-existing roads which were not accessed before.

This was SVN commit r18553.
2016-07-24 04:18:10 +00:00
a3da37ffd3 Gaia control improvements.
Don't throw errors when finishing a gaia foundation.
Allow cheats for gaia.

This was SVN commit r18552.
2016-07-24 02:19:34 +00:00
c652e0942a Session cleanup.
Move some code from selectViewPlayer to updateTopPanel.
Inline variable civName.
Move one check out of an if-statement in selectViewPlayer.
Merge duplicate call Engine.GetGUIObjectByName("civIcon") for
consistency with other code.

This was SVN commit r18551.
2016-07-24 02:17:43 +00:00
64624d121c Tree balancing of the red sea map.
Sometimes players didn't have any wood close by while usually all
players have practically limitless wood around. Reported by sentado.
Thus enforce greater distance between big forests and add some tiny
forests in between them.
Keep a big distance between all forests as it is supposed to be a
desert.

This was SVN commit r18550.
2016-07-23 17:30:32 +00:00
6543e78cce Seleucid dock
This was SVN commit r18549.
2016-07-23 10:15:46 +00:00
eaf0f88420 Add missing vertical heightmap scaling to _kali's new random map scripts.
This was SVN commit r18548.
2016-07-22 18:26:53 +00:00
9da74739d4 Gah, refs fb8f360ef0.
This was SVN commit r18547.
2016-07-22 15:12:11 +00:00
9c4344a940 Acoustic notification when someone mentions the name of the player in the lobby or game chat. Patch and soundfile by andy5995.
This was SVN commit r18545.
2016-07-21 15:31:39 +00:00
8dddd369ef Basic regicide gamemode. Based on patch by Sandarac, refs #2160.
Spawn a random hero at gamestart and defeat the player if the hero dies.
Consider nomad maps where units spawn without buildings or start on a
ship.
Correct a comment for TriggerHelper.SpawnUnits.
Make shuffleArray available to GUI and simulation and use it to
randomize heroes.

This was SVN commit r18544.
2016-07-21 15:12:49 +00:00
34c26767ca Add reddish dust to red sea. Actor by Stan, reviewed by _kali.
This was SVN commit r18543.
2016-07-21 11:20:33 +00:00
41474760e2 Remove healers from the idle worker queue as that is typically used to get units back to work or delete the workers if they can't work anymore. Thanks sanderd17 for a quick opinion.
Idle healers still show up when pressing the idle worker selection lasso
filter hotkey (I by default).

This was SVN commit r18542.
2016-07-21 10:46:32 +00:00
26b29e1de7 fix fa7e0c10ba
This was SVN commit r18541.
2016-07-21 07:44:28 +00:00
8e98de87ec Reset Last Man Standing flag when enabling rated games, to avoid the warn, refs #3970.
This was SVN commit r18540.
2016-07-21 01:12:02 +00:00
fb8f360ef0 Fix missing observermode for players who won (and that's why a ternary was used there before 9f796068f8).
Don't start the defeat music when clicking on resign and then restarting
it right on the next turn.

This was SVN commit r18539.
2016-07-21 01:06:35 +00:00
c84d41dc41 Hide walk speed tooltip for unpacked siege engines.
This was SVN commit r18538.
2016-07-21 00:04:42 +00:00
1bb3438450 Add missing round to cf04bad4bc, refs #3841.
This was SVN commit r18537.
2016-07-20 23:55:25 +00:00
ec3200dfee Session and lobby cleanup.
Remove unused variable label and rating.
Remove hardcoded group limit of 10.
Inline pointless constant guiName.

This was SVN commit r18535.
2016-07-20 16:21:42 +00:00
d7d0a7f869 Submit and display more information about matches in the lobby. Patch by Imarok, refs #3476.
Includes team numbers, online/offline- and won/defeated state, AI type
and difficulty for running games and
only the playernames with observer-player distinction in the gamesetup.
Use JSON format inside the XML stanza and minimize traffic by packing
teams.

Use the observer distinction to correctly apply the "full games" trigger
in the lobby, fixes #3143.

XPartaMupp patch applied by scythetwirler.
unescapeText function by sanderd17, refs #3409.

This was SVN commit r18534.
2016-07-20 16:04:23 +00:00
cf04bad4bc Ingame summary screen and allied resource / population tooltips for active players. Patch by Imarok, also reviewed by fatherbushido and discussed with mimo, fixes #3841.
Shows (only) the stats of the current player in the summary screen while
playing.
Also shows those of mutual allies too if the shared vision tech is
researched.
Display the resources and population counts of allies in the tooltips of
the top panel.
Use a sprintf for the pop / limit ratio and remove hardcoded resource
strings in the XML, refs #3934.

This was SVN commit r18533.
2016-07-20 01:22:07 +00:00
fa7e0c10ba fix a call to DeleteEntityAndReturn with undefined arguments, + some cleanup, refs #2706
This was SVN commit r18532.
2016-07-19 18:25:31 +00:00