dd823dd572
ai cleanup
...
This was SVN commit r18352.
2016-06-09 19:25:40 +00:00
41bc367bd1
Messed up 01603708de
...
This was SVN commit r18350.
2016-06-09 17:45:50 +00:00
01603708de
Reuse vectors in the short-range pathfinder, making SplitAAEdges much faster and reducing memory fragmentation substantially. Refs #3588
...
This was SVN commit r18349.
2016-06-09 17:38:59 +00:00
91e4ac58e3
Ensure in the simulation that locked teams and last man standing aren't enabled simultaneously. Suggested by leper, refs #3970 .
...
This was SVN commit r18348.
2016-06-09 15:35:12 +00:00
f92447f88b
Observer mode cleanup, refs #3168 .
...
For consistency remove grayout from unit action commands (unload all,
delete, ...) as suggested by sanderd17 some time ago.
Remove unneeded grayout from unittype specific ungarrison buttons (as
the grayout is added automatically in this case).
Allow focusing on rallypoints for observers (should be added to the
allied commands too).
Add newlines and inline some variables.
This was SVN commit r18347.
2016-06-09 15:32:41 +00:00
4bb9c80001
Continue to allow cheating and some other commands after winning the game. Refs #3168 .
...
This was SVN commit r18346.
2016-06-09 14:47:25 +00:00
fab2e9274a
Lobby cleanup. Based on patch by Imarok, refs #3575 .
...
Fix a typo and use let instead of var.
This was SVN commit r18345.
2016-06-09 13:59:40 +00:00
d1cc3dcb80
Re-use the same vector for the range manager spatial subdivision queries to cut down on allocations and memory fragmentation. Refs #4045
...
This was SVN commit r18344.
2016-06-08 17:06:58 +00:00
2165250316
Clarify translated string, as reported on transifex.
...
This was SVN commit r18343.
2016-06-08 11:12:10 +00:00
cd3c52c53f
Last Man Standing mode. Based on patch by Sandarac, fixes #3970 .
...
Also fix a simulation bug (check for allied victory on game start).
The mode is not a victory condition as it applies to all victoriy
conditions.
This was SVN commit r18342.
2016-06-08 11:03:16 +00:00
70e6be5196
GUI engine cleanup.
...
Remove unneeded parenthesis and few whitespace changes.
This was SVN commit r18341.
2016-06-07 15:57:33 +00:00
ffd1639f05
Implement damage variants with an example for the Iberian fire ship. Fixes #3983
...
This was SVN commit r18340.
2016-06-07 13:21:32 +00:00
a7b310f3bd
GUI engine cleanup.
...
Fix typos, remove unneeded comments.
This was SVN commit r18339.
2016-06-07 12:02:33 +00:00
29a069b6fb
petra cleanup
...
This was SVN commit r18337.
2016-06-05 20:52:21 +00:00
260f925ad9
Some fixes and improvements suggested by leper
...
This was SVN commit r18336.
2016-06-05 20:48:22 +00:00
ee8061d867
fixed market actor and seleucid spec texture
...
This was SVN commit r18335.
2016-06-05 15:31:48 +00:00
d3ffa91fa9
petra cleanup
...
This was SVN commit r18334.
2016-06-05 14:44:17 +00:00
e260fab9a0
petra: first part of adaptation to cost multipliers, ref #4003
...
This was SVN commit r18333.
2016-06-05 14:39:37 +00:00
98f1d02d88
Fix garrison flag on new seleucid blacksmith
...
This was SVN commit r18332.
2016-06-05 08:47:22 +00:00
f064b0566c
Seleucids blacksmith, fixed a few things with the corral and barracks too
...
This was SVN commit r18331.
2016-06-05 05:31:05 +00:00
756d23c987
petra cleanup
...
This was SVN commit r18330.
2016-06-04 17:36:14 +00:00
f6b9cbf280
Remove duplicate temple actors
...
This was SVN commit r18329.
2016-06-04 14:15:52 +00:00
29b6f8273f
Fix garrison flags of hellenistic civs + remove duplication for a number of athen vs hele actors + clean up some actors
...
This was SVN commit r18328.
2016-06-04 14:02:19 +00:00
279a9ed785
Move old Persian building
...
This was SVN commit r18327.
2016-06-04 13:29:08 +00:00
e573ea54a2
Move some old hellenistic actors to the old directory
...
This was SVN commit r18326.
2016-06-04 13:25:30 +00:00
04123e7725
some cleanup, reported by leper
...
This was SVN commit r18325.
2016-06-04 12:43:02 +00:00
c08bde9100
Fix garrison flags on Spartan buildings + clean up some actors
...
This was SVN commit r18323.
2016-06-04 12:18:47 +00:00
248a48d88a
Major network cleanup. Patch by Imarok.
...
Access the server from the client only, not from the GUI (except for
autostarted games).
Thereby lay the foundation for clients to setup the game (refs #3806 )
and dedicated hosting (refs #3556 ).
Doesn't transfer nor remove the SetTurnLength showcase from 0ebe3486b6
.
This was SVN commit r18322.
2016-06-04 12:08:30 +00:00
1871213496
Fix garrison flags on Seleucid buildings + clean up some actors
...
This was SVN commit r18321.
2016-06-04 12:06:48 +00:00
9a38ae6455
Fix garrison flags on Roman buildings + clean up some actors
...
This was SVN commit r18320.
2016-06-04 11:58:10 +00:00
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