sanderd17
4bf0dddace
Add javelin to samnite skirmisher projectile attachpoint. Fixes #4005
...
This was SVN commit r18235.
2016-05-26 18:10:22 +00:00
mimo
0856dde011
fix a typo in 58e356babb, plus a missing semicolon
...
This was SVN commit r18234.
2016-05-26 17:58:08 +00:00
sanderd17
1b0fbee2d9
Let auras and techs modify tech cost. Patch by fatherbushido. Fixes #3930
...
This was SVN commit r18233.
2016-05-26 06:28:23 +00:00
mimo
9c67cd6743
transfer the entities angles to the AIs
...
This was SVN commit r18231.
2016-05-25 19:03:41 +00:00
mimo
07007f1963
some cleanup in ai
...
This was SVN commit r18230.
2016-05-25 18:43:48 +00:00
LordGood
3d27d47d54
Seleucid corral
...
This was SVN commit r18229.
2016-05-25 12:39:16 +00:00
Itms
09907351a0
Little update to the musicians list, plus alphabetic order for instrument players.
...
This was SVN commit r18228.
2016-05-24 19:17:07 +00:00
elexis
d7e7a24168
Gamesetup cleanup (game/map-description), refs #3994 .
...
Add linebreaks.
Eliminate unneeded variables mapName and gameDescription.
Remove a check as g_GameAttributes.map is always defined.
Sort the two one-line statements above the helper variable declarations
to make it more more obvious that the statements don't use them.
This was SVN commit r18227.
2016-05-24 12:56:52 +00:00
elexis
b2f3402c50
Network cleanup.
...
Remove unused netmessage type NMT_LAST.
Use CStr instead of the alias CStr8.
Remove unneeded comments.
This was SVN commit r18226.
2016-05-24 12:21:21 +00:00
elexis
a99f314a61
Session cleanup.
...
Use let instead of var.
This was SVN commit r18225.
2016-05-24 12:06:22 +00:00
elexis
6e17a7d2ff
Session / unit-actions cleanup.
...
Eliminate deprecated for-each.
Merge if-conditions.
Add linebreaks to objects, so that each property is declared on a
separate line, refs #252 .
For consistency, use returns in negative instead of positive cases.
Make three functions global, one of which had been defined thrice.
Remove comments stating the same as the code.
This was SVN commit r18224.
2016-05-24 12:03:33 +00:00
elexis
9cc98aaf47
Take new observermode into account in some missing places, refs #3850 , #3168 .
...
This was SVN commit r18223.
2016-05-23 15:26:47 +00:00
sanderd17
33f6713f94
New attempt to get the aura translations included. See 1606d40f68
...
This was SVN commit r18221.
2016-05-23 10:40:26 +00:00
mimo
6171f66d06
AI: fix serialization of template changes, fixes #3993 , refs #3858
...
This was SVN commit r18219.
2016-05-22 20:25:41 +00:00
sanderd17
a951762d6c
Add support to the structure tree for units with technologies in their production queue. Patch by s0600204. Fixes #4001
...
This was SVN commit r18218.
2016-05-22 15:32:47 +00:00
elexis
38de20c989
Add missing init, refs #3991 .
...
This was SVN commit r18217.
2016-05-21 20:24:38 +00:00
mimo
9c9796d8ad
Changes in AI: Decrease a bit the required number of champions in attacks because of the recent increase of their cost,
...
Make more use of corrals when no fields and Cleanups
This was SVN commit r18216.
2016-05-21 17:06:25 +00:00
mimo
682086b7fb
do not let the captureStrength become infinite when capturing a damaged structure, fix #3973 , patch by fatherbushido
...
This was SVN commit r18215.
2016-05-21 16:44:20 +00:00
elexis
4b5f8dfca6
Remove trailing whitespace and simplify some length checks. Refs #252 .
...
This was SVN commit r18214.
2016-05-21 16:20:27 +00:00
sanderd17
a2bd82d171
Complete phase tooltips. Patch by fatherbushido. Fixes #3451
...
This was SVN commit r18213.
2016-05-21 11:18:06 +00:00
sanderd17
1606d40f68
I18n of auras. Based on patch by fatherbushido. Fixes #3982
...
This was SVN commit r18212.
2016-05-21 09:18:05 +00:00
FeXoR
ff342619c7
Fixes a bug in random map schwarzwald.js introduced in 7471a0db63 that prevented the starting positions to be flattened.
...
This was SVN commit r18211.
2016-05-20 20:36:10 +00:00
sanderd17
a84b923380
Fix timing of previous patch
...
This was SVN commit r18210.
2016-05-20 14:05:19 +00:00
sanderd17
804fd4be61
Update 'survival of the fittest' to work with capturing (include siege engines in the attacking units) + add some randomness to the waves + make the timing a bit more challenging
...
This was SVN commit r18209.
2016-05-20 14:02:47 +00:00
elexis
7cd43ba8cf
Fix whitespace and remove duplicate comment, refs #1950 .
...
This was SVN commit r18208.
2016-05-20 12:51:27 +00:00
sanderd17
9368ffe345
Fix tech modifications calculations so we don't bump into stupid mistakes again (f.e. multiplying two positive numbers is now guaranteed to stay positive). See 7f300bbf3d and 0b8845eb4f
...
This was SVN commit r18207.
2016-05-20 11:20:51 +00:00
elexis
ec1696ded3
Send a network message to update the GUI if another player pauses a multiplayer game. Patch by echotangoecho, fixes #1950 .
...
Pause animations then and on disconnect.
Don't unpause unintentionally when closing a message box in
singleplayer.
This was SVN commit r18204.
2016-05-19 22:10:38 +00:00
elexis
856dc1c999
Network cleanup.
...
Send the "client has rejoined" message after the synchronization
finished instead of right after the loading screen.
Patch by echotangoecho, refs #1949 , #1950 .
This was SVN commit r18203.
2016-05-19 21:03:46 +00:00
elexis
6f744aef88
Simulation context cleanup, refs #3991 , #3168 .
...
Save the viewed player in the CGame class.
Add the const keyword back to the SimContext to help find mistakes at
compiletime.
This was SVN commit r18201.
2016-05-19 19:42:07 +00:00
elexis
1b3a12ea92
Also update this file following 1c5a7f6267.
...
This was SVN commit r18200.
2016-05-19 17:51:56 +00:00
sanderd17
09ceb841f3
Add some useful warnings on missing or abnormal template/technology data.
...
This was SVN commit r18199.
2016-05-19 15:12:28 +00:00
FeXoR
1c5a7f6267
Moved BUILDING_ANGlE from the maps to BUILDING_ORIENTATION in a random map lib. Made some arguments optional with the default set to that constant, renamed some arguments and moved "orientation" in placeCivDefaultEntities to kwargs. Removed unneeded comments. Fixes #3988
...
This was SVN commit r18198.
2016-05-19 14:48:21 +00:00
elexis
4921056b9e
Revert de06dc76f7 as it's broken in several ways and revealed a simulation bug. Refs #3288 .
...
This was SVN commit r18197.
2016-05-19 09:33:17 +00:00
mimo
b57a103e81
petra cleanup, mainly unneeded parentheses
...
This was SVN commit r18196.
2016-05-17 19:35:33 +00:00
mimo
329caed9dd
petra: be more inclined to help an ally attacked by several enemies
...
This was SVN commit r18195.
2016-05-17 19:31:03 +00:00
elexis
de06dc76f7
Show researchable techs of all selected entities, not only the first one. Fixes #3288 .
...
This was SVN commit r18194.
2016-05-17 19:05:18 +00:00
elexis
01d41cc8a5
Actually update the sound gain after changing the setting. Patch by dpiquet, fixes #3901 .
...
This was SVN commit r18193.
2016-05-17 16:40:36 +00:00
elexis
67cdbedb24
Fix an option comment.
...
This was SVN commit r18192.
2016-05-17 16:35:48 +00:00
elexis
b49414b03e
Gamesetup cleanup.
...
Use JSdoc comments and use rgbToGuiColor as pointed out by sanderd17.
This was SVN commit r18191.
2016-05-17 16:05:36 +00:00
sanderd17
0501ff9f59
Fix Seleucus aura
...
This was SVN commit r18190.
2016-05-17 11:44:29 +00:00
elexis
23a43cb0f6
Allow more choices for the wonder timeout, refs #3234 .
...
This was SVN commit r18189.
2016-05-16 18:32:24 +00:00
elexis
2de117618b
Fix typo in 46ead523b8. Patch by fatherbushido, refs #3792 .
...
This was SVN commit r18188.
2016-05-16 13:57:45 +00:00
elexis
c34998b85a
Show the playerselection dropdown in front of the "Follow player" observer option in case they overlap.
...
This was SVN commit r18187.
2016-05-16 13:18:26 +00:00
mimo
0b6c7ca1b0
ai: remove some unneeded parentheses
...
This was SVN commit r18186.
2016-05-16 10:48:52 +00:00
mimo
7ddfc89c18
petra: fix buildLimit when it is 0, reported by fatherbushido
...
This was SVN commit r18185.
2016-05-16 10:23:35 +00:00
elexis
f4e69b7c07
Cleanup of #3255 , fixes #3966 .
...
Don't create an empty oos_logs directory when starting the game.
Rename getDateIndexSubdirectory to createDateIndexSubdirectory.
Add a comment for the breakpoint argument of CreateDirectories.
This was SVN commit r18183.
2016-05-16 00:56:07 +00:00
elexis
24b262e4d1
Remove the trigger keyword from these maps as they either use the Tutorial AI for scripting or use a script only to place entities on load, refs #3013 .
...
This was SVN commit r18182.
2016-05-16 00:21:44 +00:00
elexis
9eccf5cd07
Use an actual playername instead of "You" in singleplayer, fixes #3979 .
...
Differentiate between SP and MP name and allow editing it in the
settings.
Defaults to the OS username.
Makes sharing singleplayer replays more effective.
Also fixes a troublesome colorization of "You" in a translated sentence,
refs #3501 .
This was SVN commit r18180.
2016-05-15 17:13:35 +00:00
elexis
6680fe82e2
Add maplist filter for maps that come with triggerscripts. Patch by fabio and Stan, refs #3013 .
...
This was SVN commit r18179.
2016-05-15 04:19:45 +00:00
elexis
4944d9b83c
GUI / messagebox cleanup.
...
Remove pointless "mode" argument from messageBox and add newlines to its
calls.
Remove unused variable codes, trailing whitespace and useless comments.
Remove redundant button init code by using a loop (forEach to avoid a
closure).
Inline many unneeded variables.
Add missing translate to gamesetup_mp.js.
Quote object keys and capitalize globals correctly.
This was SVN commit r18178.
2016-05-15 04:04:31 +00:00