Commit Graph

16037 Commits

Author SHA1 Message Date
c0f0f6fb53 Fix garrison flags on Ptolemaeic buildings + clean up some actors
This was SVN commit r18319.
2016-06-04 11:31:21 +00:00
6377670543 Simulation cleanup.
Fix previous commit and add missing semicolon.

This was SVN commit r18318.
2016-06-04 02:33:53 +00:00
40e8600a58 Statistics tracker cleanup.
Inline some variables.
Simplify domestic animal check.
Remove trailing whitespace.

This was SVN commit r18317.
2016-06-04 01:58:37 +00:00
a84b9a087c Fix some string issues pointed out by leper.
This was SVN commit r18316.
2016-06-04 00:59:46 +00:00
4110fee44e Session cleanup and bugfix.
Rename "hosts" following 903803ceec in session and join dialog.
Move join/leave code to new functions OnClientJoin and OnClientLeave.

This was SVN commit r18315.
2016-06-03 16:54:00 +00:00
80ea90ec4b Summary screen cleanup.
Use 8b30273a50 to remove hardcoding of the available panels.
Access the summary panels by name instead of numerical index.
Move nested function to global scope.
Add newlines.
Remove unneeded comments.
Use join(" ") to construct the size property.

This was SVN commit r18314.
2016-06-03 16:22:02 +00:00
92f2a21ac5 Summary screen cleanup.
Thou shalt not repeat thyself when formatting numbers.
Renaming of 1-character variables by Imarok.

This was SVN commit r18313.
2016-06-03 16:17:21 +00:00
0bf90da597 Fixes a bug for random maps where Map.validT didn't apply the distance parameter properly on rectangular maps. Fixes #4012
This was SVN commit r18312.
2016-06-03 15:29:28 +00:00
3cf766126b Fix garrison flags on Persian buildings + clean up some actors
This was SVN commit r18311.
2016-06-03 15:12:07 +00:00
4048c0e03c Fix garrison flags on Mauryan buildings + clean up some actors
This was SVN commit r18310.
2016-06-03 14:21:07 +00:00
81eb22d01a Fix garrison flags on Macedonian buildings + clean up some actors
This was SVN commit r18309.
2016-06-03 14:00:59 +00:00
03060c4307 Fix skirmish replacements
This was SVN commit r18308.
2016-06-03 13:49:26 +00:00
81512a5558 Fix garrison flags on iberian buildings + clean up some actors
This was SVN commit r18307.
2016-06-03 13:11:47 +00:00
8e2fb41f92 Rename the not-so-new celtic actors
This was SVN commit r18306.
2016-06-03 11:38:04 +00:00
80ffd7ecb6 Move old celtic actors to a separate directory
This was SVN commit r18305.
2016-06-03 11:26:03 +00:00
1a3ed203b6 Fix previous commit where SVN messed up a bit between copying and moving files
This was SVN commit r18304.
2016-06-03 11:04:41 +00:00
b881c4e327 Move old athenian actors to separate directory + rename the not-so-new actors to regular names
This was SVN commit r18303.
2016-06-03 10:09:03 +00:00
df622b5614 Remove magic number from credits code.
This was SVN commit r18301.
2016-06-03 09:37:58 +00:00
903803ceec Gamesetup ready- and PlayerAssignments-cleanup.
Split logic to onClientJoin onClientLeave.
Remove duplicate, yet slightly different ready button caption.
Rename hosts to newAssignments in the GUI message sent by the NetClient.

This was SVN commit r18299.
2016-06-03 02:28:29 +00:00
0f8b10fc0e Gamesetup cleanup.
Call updateGameAttributes instead of copying the function contents.
Inline numPlayers and remove ternary that returns the same value in both
cases.
Add newlines, change some comments.

This was SVN commit r18298.
2016-06-03 00:21:21 +00:00
c941a2f352 Gamesetup cleanup.
Determine the Seed, AISeed and matchID only once (when starting the
game).
Only specify Seed on random maps.

This was SVN commit r18297.
2016-06-02 23:54:18 +00:00
8b30273a50 GUI engine improvement + gamesetup cleanup.
Grab the list of children of a GUI object directly instead of hardcoding
the names.

This was SVN commit r18296.
2016-06-02 22:49:28 +00:00
31a7181eb8 Hide the continue button from d9caf157e2 once pressed, refs #4031.
This was SVN commit r18295.
2016-06-02 22:39:02 +00:00
53ffe766d8 Fix garrison flags on Gallic and Celtic structures + clean up the Gallic and Celtic structure actors
This was SVN commit r18294.
2016-06-02 20:18:06 +00:00
0fc9a47c85 Fix garrison flags on Carthaginian structures + clean up the Carthaginian structure actors
This was SVN commit r18293.
2016-06-02 19:59:02 +00:00
b0b0495fc9 Fix garrison flags on Briton structures + clean up the Briton structure actors
This was SVN commit r18292.
2016-06-02 19:44:16 +00:00
d4fa905cb1 Fix garrison flags on Athenian structures + clean up the Athenian structure actors
This was SVN commit r18291.
2016-06-02 19:35:59 +00:00
5be948019b ai cleanup
This was SVN commit r18290.
2016-06-02 18:08:14 +00:00
d9caf157e2 Fix a confirmation hotkey bug in the multiplayer dialog. Patch by Imarok, fixes #4031.
Remove a duplicate button and move code from XML to JS.

This was SVN commit r18289.
2016-06-02 16:47:24 +00:00
6df3b0d794 Wall placement cleanup. Somewhat based on patch by bb, refs #3811.
Early return instead of a big if-statement.
Inline r, targetX, targetZ, towerX and towerZ.
Rename s to spacing.
Remove unneeded else keywords.
Eliminate deprecated for-each.
Use let instead of var.
Quote object keys.
++i instead of i++.
Some newlines.

This was SVN commit r18288.
2016-06-02 12:52:54 +00:00
00c3b09008 Patch by Sandarac and bb, fixes #3859.
This was SVN commit r18287.
2016-06-02 12:14:32 +00:00
f15abb066c Allow garrisoning elephants at the elephant stables. Patch by jonbaer.
Also add missing obstruction class to the elephant archer and fix its
walking speed.

This was SVN commit r18286.
2016-06-02 12:05:41 +00:00
74e672d879 Observermode cleanup, fixes #3850.
Recalculate status bars when changing the perspective.

This was SVN commit r18285.
2016-06-02 00:20:02 +00:00
00ea7763f7 GUIInterface / observermode cleanup as recommended by leper, fixes #3999.
Default to the viewed player in the GUIInterface to avoid passing that
separately in some places, refs #3168.
Thus GetEntityState will be called for the viewed player instead of
observer playerID, therefore
fixes a fog-of-war selection relict when changing the perspective, refs
#3850.
Also remove some unused player arguments.

This was SVN commit r18283.
2016-06-02 00:09:21 +00:00
662f8ec620 Template cleanup. Patch by fatherbushido, refs #4021.
Move duplicate military colony template to a new parent template.

This was SVN commit r18282.
2016-06-01 23:33:29 +00:00
4223fad060 Make it easier for mods to add their own credits. Fixes #3986
This was SVN commit r18281.
2016-06-01 19:37:24 +00:00
ab4c656ff6 make healer more proactive, patch by causative, fixes #3932
decrease a bit the increase of heal range with techs, and also decrease
a bit the cost of such techs

This was SVN commit r18280.
2016-06-01 17:59:06 +00:00
ff886b1773 Try to fix issue with probably uninitialised animation frequency, improve error message and clean up code a bit
This was SVN commit r18278.
2016-06-01 07:21:50 +00:00
8a8c0b526d Template Cleanup. Some string fixes for 802d0f0de8 and d238128960 as suggested by leper.
This was SVN commit r18277.
2016-06-01 00:13:57 +00:00
8a4af2e7b5 Template cleanup. Patch by Palaxin, refs #4021.
Move duplicate library template to a new parent template.

This was SVN commit r18276.
2016-05-31 23:49:44 +00:00
1bd82494a3 Template cleanup. Patch by Palaxin, fixes #4022.
Move duplicate rotary mill template to a new parent template.

This was SVN commit r18275.
2016-05-31 23:12:07 +00:00
3eea0df931 ai cleanup
This was SVN commit r18274.
2016-05-31 21:06:53 +00:00
7060ca888c petra: continue splitting of attack function in smaller functions, + some cleanup
This was SVN commit r18273.
2016-05-31 21:04:13 +00:00
246c758085 All wonders should have rallypoints. Patch by Sandarac, fixes #4002.
This was SVN commit r18271.
2016-05-31 09:49:14 +00:00
2bcb5f7d18 Actually delete it, refs #4016.
This was SVN commit r18270.
2016-05-31 02:16:11 +00:00
8f02ae3fd2 Template cleanup. Patch by fatherbushido, fixes #4016.
Removes duplicate theatron templates and use a parent template instead.
Removes unused Theban theatron.
Fixes a buildtime inconsistency.
Also improve the tooltip string as suggested by leper.

This was SVN commit r18269.
2016-05-31 02:13:20 +00:00
ac4533f7df Network cleanup, refs #3752.
Replace a TODO comment asking why something is set with a comment
answering that.

This was SVN commit r18268.
2016-05-30 17:59:02 +00:00
b18c4ac217 Code style improvements to df971c3885
This was SVN commit r18267.
2016-05-30 17:05:39 +00:00
83af69286d Allow simulation to set the actor variant selection, and use it for the garrison flag. Fixes #3952 Refs #2679, #3983
This was SVN commit r18266.
2016-05-30 14:07:48 +00:00
df971c3885 Allow to give a frequency to animations, and allow to sync randomly selected animations on base model and prop. Fixes #2324
This was SVN commit r18265.
2016-05-30 11:53:19 +00:00