elexis
8d9255eaee
Lobby cleanup.
...
Remove duplicate assignments in updateGameSelection.
Add function senderFont to remove duplication.
Add newlines to reduce line length and have properties of different
objects start on the same level of indentation.
Use logical OR instead of ternary in two occurances (mapTypeIdx).
This was SVN commit r18377.
2016-06-14 13:28:54 +00:00
elexis
b65594832d
Lobby cleanup.
...
Use let instead of var.
Merge redundant assignment in updateSubject.
This was SVN commit r18376.
2016-06-14 12:34:46 +00:00
elexis
fb5e738920
Lobby cleanup. Patch by scythetwirler, refs #3865 .
...
Replace an ugly workaround of ccb534259d with a proper check.
This was SVN commit r18375.
2016-06-14 12:17:37 +00:00
elexis
949f22b67d
Victory check cleanup.
...
Use let instead of var.
Add newlines and a missing semicolon.
Remove an excess semicolon.
This was SVN commit r18374.
2016-06-14 11:18:28 +00:00
elexis
62061557db
Host on arbitrary UDP ports. Patch in cooperation with Imarok, fixes #3575 .
...
This was SVN commit r18372.
2016-06-13 16:56:14 +00:00
elexis
7b655b7ea6
Implement multiplayer dialog retries, fixes #4035 , refs #3575 .
...
Cleanup:
Move all code to hide elements to switchSetupPage.
Remove nasty second argument from switchSetupPage by just hiding every
page.
To avoid another state variable, immediately set g_IsConnecting to true
by calling startConnectionStatus when trying to host.
Use .some instead of a loop.
This was SVN commit r18371.
2016-06-13 14:29:52 +00:00
elexis
320798f901
Don't select "everyone" but the previously selected chat addressee when someone connected or disconnected. Fixes #3956 .
...
This was SVN commit r18369.
2016-06-12 21:11:01 +00:00
elexis
31decd6274
Messed up variable name in 9dc66a27d8.
...
This was SVN commit r18368.
2016-06-12 15:29:43 +00:00
sanderd17
929711febb
Fix skirmish entities to use Hellenic actors after removing the Athenian duplicates.
...
This was SVN commit r18367.
2016-06-12 15:13:09 +00:00
elexis
9dc66a27d8
Pass pointer by ref.
...
This was SVN commit r18366.
2016-06-12 14:37:13 +00:00
elexis
6e2106edd8
Fix whitespace, refs #3000 .
...
This was SVN commit r18365.
2016-06-12 13:54:00 +00:00
elexis
38c7d7224a
Elephants are not expected to capture buildings.
...
This was SVN commit r18363.
2016-06-11 16:07:28 +00:00
elexis
a0960f4f89
Show the player color and name of units from other players garrisoned in allied buildings. Fixes #4052 .
...
This was SVN commit r18362.
2016-06-11 15:02:34 +00:00
elexis
d7d1d8ccb5
Implement buttons for up to 10 heroes. Patch by Clockwork-Muse, fixes #3000 .
...
This was SVN commit r18361.
2016-06-11 13:46:04 +00:00
FeXoR
759aaa2264
Fixes a bug introduced in 0bf90da597 that prevents entity placement on some rectangular maps e.g. Phoenician Levant and Corsica vs Sardinia. Also fixes a typo in the Phoenician Levant .js and .json files. Fixes #4012
...
This was SVN commit r18360.
2016-06-11 11:16:07 +00:00
elexis
ab9cef172b
Savegame cleanup.
...
Implement loading of multiplayer savegames that were created by
observers.
This was SVN commit r18359.
2016-06-11 00:30:11 +00:00
wraitii
001c411cc2
Remove a division by a fixed equal to one in NearestNavcell in the short-range pathfinder which was from profiling on VC2013/windows 7 responsible for about 10% of ComputeShortPath.
...
This was SVN commit r18358.
2016-06-10 22:57:28 +00:00
elexis
c94cd66a57
Savegame cleanup.
...
Remove the player assignments altogether (506350d6fa ) as the C++ part
already saves the playerID.
Grab the playerID directly from the game instead of passing it around
needlessly.
This was SVN commit r18357.
2016-06-10 19:04:57 +00:00
elexis
6ba90a2555
Session cleanup.
...
Move message polling code from onTick to messages.js and blend it in.
This was SVN commit r18356.
2016-06-10 13:17:47 +00:00
elexis
506350d6fa
Savegame, session and gamesetup cleanup.
...
Don't save the player assignments to savegames as
the GUIDs are outdated and the GUI data only applies to the player that
saved the game.
Remove unneeded argument from getPlayerData.
Remove invalid (ready should be status) and unneeded playerAssignment
data when selecting a map in singleplayer mode.
Show filenames of saved games in the debug log.
This was SVN commit r18355.
2016-06-10 13:03:13 +00:00
mimo
a792503cab
completes the ai adaptation to cost multipliers, fixes #4003
...
This was SVN commit r18353.
2016-06-09 19:28:54 +00:00
mimo
dd823dd572
ai cleanup
...
This was SVN commit r18352.
2016-06-09 19:25:40 +00:00
wraitii
41bc367bd1
Messed up 01603708de
...
This was SVN commit r18350.
2016-06-09 17:45:50 +00:00
wraitii
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
elexis
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
elexis
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
elexis
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
elexis
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
wraitii
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
elexis
2165250316
Clarify translated string, as reported on transifex.
...
This was SVN commit r18343.
2016-06-08 11:12:10 +00:00
elexis
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
elexis
70e6be5196
GUI engine cleanup.
...
Remove unneeded parenthesis and few whitespace changes.
This was SVN commit r18341.
2016-06-07 15:57:33 +00:00
sanderd17
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
elexis
a7b310f3bd
GUI engine cleanup.
...
Fix typos, remove unneeded comments.
This was SVN commit r18339.
2016-06-07 12:02:33 +00:00
mimo
29a069b6fb
petra cleanup
...
This was SVN commit r18337.
2016-06-05 20:52:21 +00:00
Itms
260f925ad9
Some fixes and improvements suggested by leper
...
This was SVN commit r18336.
2016-06-05 20:48:22 +00:00
LordGood
ee8061d867
fixed market actor and seleucid spec texture
...
This was SVN commit r18335.
2016-06-05 15:31:48 +00:00
mimo
d3ffa91fa9
petra cleanup
...
This was SVN commit r18334.
2016-06-05 14:44:17 +00:00
mimo
e260fab9a0
petra: first part of adaptation to cost multipliers, ref #4003
...
This was SVN commit r18333.
2016-06-05 14:39:37 +00:00
sanderd17
98f1d02d88
Fix garrison flag on new seleucid blacksmith
...
This was SVN commit r18332.
2016-06-05 08:47:22 +00:00
LordGood
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
mimo
756d23c987
petra cleanup
...
This was SVN commit r18330.
2016-06-04 17:36:14 +00:00
sanderd17
f6b9cbf280
Remove duplicate temple actors
...
This was SVN commit r18329.
2016-06-04 14:15:52 +00:00
sanderd17
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
sanderd17
279a9ed785
Move old Persian building
...
This was SVN commit r18327.
2016-06-04 13:29:08 +00:00
sanderd17
e573ea54a2
Move some old hellenistic actors to the old directory
...
This was SVN commit r18326.
2016-06-04 13:25:30 +00:00
mimo
04123e7725
some cleanup, reported by leper
...
This was SVN commit r18325.
2016-06-04 12:43:02 +00:00
sanderd17
c08bde9100
Fix garrison flags on Spartan buildings + clean up some actors
...
This was SVN commit r18323.
2016-06-04 12:18:47 +00:00
elexis
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
sanderd17
1871213496
Fix garrison flags on Seleucid buildings + clean up some actors
...
This was SVN commit r18321.
2016-06-04 12:06:48 +00:00