elexis
042c9a9334
Allow hosting matches with 8 players and up to 16 observers, fixes #3254 .
...
The host can change the number of allowed observers in running games.
Make sure that joining observers won't take the "slot" of disconnected
players, fixes #3671 .
Send clients a new disconnect reason "Server full" instead of letting
them timeout.
This was SVN commit r17881.
2016-03-13 16:52:00 +00:00
Itms
c9cecab0be
Remove libjpeg. Fixes #2828 .
...
Based on patch by dalerank, tested on Windows, might need to be amended
for OSX.
This was SVN commit r17870.
2016-03-12 18:15:04 +00:00
Itms
a4a1bcab94
Remove the now useless UnitMotion planning, and cleanup of CCmpUnitMotion.cpp (unused variables, whitespace). Fixes #3790 .
...
This should have a noticeable impact on performance (in the good way!)
Thanks mimo for noticing something was off with the planning system!
This was SVN commit r17866.
2016-03-12 13:44:51 +00:00
elexis
e0a9dfd5a2
Allow changing the late-observer flag in a running game, fixes #3669 .
...
Remove it from the game-attributes, since it is not used in the
simulation, nor are they supposed to change in running games.
This was SVN commit r17861.
2016-03-10 11:35:43 +00:00
elexis
2305218d9f
Optionnames are in lower case, refs #3604 .
...
This was SVN commit r17860.
2016-03-10 11:16:15 +00:00
elexis
2fea95530f
Quit if the user requested that while loading the replay list. Fixes #3446 .
...
This was SVN commit r17852.
2016-03-09 16:06:41 +00:00
elexis
f2ed0098ee
Make the playername-deduplication ("User" -> "User (2)") optional.
...
Have it disabled by default to fix #3604 .
Prevents players from rejoining as late-observers in case they timed-out
on the client-side but not on the server-side.
This was SVN commit r17851.
2016-03-09 15:02:38 +00:00
elexis
b155a28698
Immediately set the fog-of-war instead of waiting for session.js to load, refs #3168 .
...
This was SVN commit r17832.
2016-03-06 13:56:07 +00:00
Itms
bcf2c75513
New in-game Credits page, fixes #3744 .
...
This was SVN commit r17830.
2016-03-05 11:52:08 +00:00
elexis
a32ed75bff
Fix a race-condition when two games have been started simultaneously and attempt to create the same replay directory, refs #3255 .
...
Instead of triggering a debug-breakpoint, print a warning to stdout and
succeed in the N'th retry when having started N processes
simultaneously.
Previously the problem had been addressed by using the processID in the
directory name.
This was SVN commit r17776.
2016-02-19 11:22:32 +00:00
elexis
2e7e1c0b2b
Prevent the local client of the host from becoming disconnected in case of lag, fixes #2854 .
...
This was SVN commit r17772.
2016-02-18 13:10:59 +00:00
elexis
f8b20d181d
Add chat-addressee dropdown, refs #1767 .
...
Add observer-only chat and allow private messages from observer to
observer.
Prevent defeated players from using the team-chat, fixes #3441 .
This was SVN commit r17771.
2016-02-18 01:09:56 +00:00
mimo
6289251b3b
Improve unitMotion in the final step before reaching the target,
...
which decreases the proportion of units going back and forth around the
target
This was SVN commit r17769.
2016-02-17 19:00:34 +00:00
mimo
4584a81656
be less restrictive with fix for #3785
...
This was SVN commit r17768.
2016-02-17 18:31:01 +00:00
mimo
41d7e64271
prevent short pathfinder to go into impassable region, fixes #3785
...
This was SVN commit r17765.
2016-02-15 21:24:27 +00:00
mimo
a9376eeebb
update goal before pathing when moving target refs #3472 and improve unitMotion overlay
...
This was SVN commit r17764.
2016-02-15 19:30:17 +00:00
elexis
c3ac6cf7fc
Save target-nodes (lookAt-coordinates) for cinematic-camera paths. Patch by Vladislav, refs #3301 .
...
This was SVN commit r17763.
2016-02-15 17:18:59 +00:00
elexis
5998d13442
Use date and sequential ID for replay-directorynames, fixes #3255 .
...
Save replays in userdata (screenshots, savegames) and create one
subdirectory for every release.
This was SVN commit r17761.
2016-02-15 15:57:23 +00:00
elexis
3244d91add
Don't render a selection box instead of crashing due to ENSURE when elements are removed from a dropdownlist
...
(while the list is rendered and the last element being selected).
This was SVN commit r17751.
2016-02-12 16:38:25 +00:00
Itms
4ad601a301
Sorry for the surprise fix but that really hurts my eyes :p
...
This was SVN commit r17748.
2016-02-09 16:12:52 +00:00
elexis
cd9106b664
Fix / finish previous commit.
...
This was SVN commit r17747.
2016-02-09 14:34:59 +00:00
elexis
ca9d06d6ad
Correct handling of replays with no turns or only turn 0.
...
Add a comment for 3ec3f0b160 .
Some style fixes.
This was SVN commit r17746.
2016-02-09 12:09:17 +00:00
elexis
4ac89001f4
Fix compile error for gcc 4.6, refs #3168 .
...
This was SVN commit r17745.
2016-02-08 22:44:23 +00:00
mimo
ca19d42a68
fix typos in renderer's initialization, refs #3737
...
This was SVN commit r17744.
2016-02-08 18:27:56 +00:00
mimo
a9de2bf397
cleanup of 971d70fa99
...
This was SVN commit r17741.
2016-02-07 19:06:15 +00:00
mimo
971d70fa99
allows the user to restore the default game options, refs #3737
...
This was SVN commit r17739.
2016-02-07 15:10:44 +00:00
mimo
43f358563c
when saving an option to file, write only that value and not all the content of the user configDB, refs #3737
...
This was SVN commit r17738.
2016-02-07 11:31:23 +00:00
mimo
26f7a3df96
init configDB with renderer initial values, refs #3737
...
This was SVN commit r17737.
2016-02-07 11:24:09 +00:00
elexis
a2f7d4d82a
Show fog of war in observermode, fixes #3168 .
...
This was SVN commit r17735.
2016-02-06 12:56:41 +00:00
elexis
22f5b00fce
Implement network-warnings, fixes #3264 .
...
Shows a notification if the local client or other players connections
timeout or have bad latency.
This was SVN commit r17730.
2016-02-04 17:14:46 +00:00
mimo
bb8ceba632
completes f34dc412b6 for non visual replays, refs #3751
...
This was SVN commit r17711.
2016-01-25 20:37:26 +00:00
elexis
ab16ddb256
Show a more specific disconnect-message in case the host closed the server. Refs #3264 , #3570 .
...
This was SVN commit r17710.
2016-01-25 12:56:30 +00:00
elexis
3ec3f0b160
Stop the animations at the end of visual replays, refs #3581 .
...
This was SVN commit r17709.
2016-01-25 10:23:03 +00:00
elexis
e683751b4f
Delete code which became obsolete with 56bb858802.
...
This was SVN commit r17708.
2016-01-25 09:57:33 +00:00
Yves
199d38dfec
Work around clang bug to fix compiling.
...
This was SVN commit r17703.
2016-01-24 10:34:38 +00:00
historic_bruno
4bff1ef1a9
Disables MSVC build warning C4003 "not enough actual parameters for macro", introduced by changes in Boost 1.57
...
This was SVN commit r17700.
2016-01-24 01:03:39 +00:00
Yves
1a66f510d0
Use const T& for parameters of some types in script-exposed native functions
...
Using references matches the C++ coding style better and should improve
performance a bit in theory. It avoids 2 copies of T in case of the
functions registered with RegisterFunction (mainy used in the GUI). It
should also avoid one or two copies in case of
DEFINE_INTERFACE_METHOD_X, which is used in the simulation, but I
haven't bothered to count it there exactly.
It is now predefined which types have to be passed by const reference
and which are passed by value. Note that references can't be used as
out-parameters (to return multiple values to JS). This hasn't worked
before either and probably never will.
This was SVN commit r17696.
2016-01-23 15:17:56 +00:00
Yves
5f86beea6f
Replace HandleWrapper and avoid repoint function
...
JS::Handle<T>::repoint gets removed with SpiderMonkey 38, so the
existing solution has to be replaced. The new approach should also be a
bit clearer. Named Return Value Optimization (NRVO) should avoid a
superfluous temporary for the return value in the generic template
function implementation of AssignOrFromJSVal.
Refs #3708
This was SVN commit r17695.
2016-01-23 14:42:59 +00:00
historic_bruno
b9f1125010
Fixes memory leak in TestPreprocessor. When using CPreprocessor::Parse "you must free() the result string only if the returned address is not inside the source text"
...
This was SVN commit r17693.
2016-01-23 03:48:00 +00:00
elexis
5747619c39
Don't create replays without commands in case of running non-visual replay or an atlas simulation.
...
Remove trailing whitespace.
This was SVN commit r17689.
2016-01-23 01:02:57 +00:00
elexis
b5cb62ffa2
Remove error messages from the CinemaManager, since not having a GameView is expected in non-visual replay. Patch by Vladislav, refs #3301 .
...
This was SVN commit r17682.
2016-01-21 13:07:52 +00:00
leper
f34dc412b6
Deep freeze simulation commands to prevent accidental updates. Fixes #3647 .
...
This was SVN commit r17673.
2016-01-18 22:24:50 +00:00
elexis
a59833102f
Specify the default column sorting order in XML instead of JS.
...
Ref #2405 , #3473 .
This was SVN commit r17670.
2016-01-18 19:23:14 +00:00
elexis
7c40c67efa
Fix a bug in b8fce56821 which prevented the replaylist from being sorted correclty on init, refs #2405 , #3473 .
...
The default column argument is given in XML and applied in
COList::SetupText() but it hasn't been stored, preventing JS from
knowing the selected column.
This was SVN commit r17665.
2016-01-18 14:45:13 +00:00
elexis
8827db201a
Remove the virtual keyword since this is a helper-function not used by the interface. Refs #3215 .
...
This was SVN commit r17663.
2016-01-18 03:41:00 +00:00
historic_bruno
48ba4d9cb4
Updates precompiled win32 SDL libs to 2.0.4 from libsdl.org.
...
Fixes windows build with SDL 2.0.4, fixes #3138 , #3225
This was SVN commit r17658.
2016-01-17 23:11:37 +00:00
leper
cfb2216b8c
Remove JSDebugger. Closes #2419 , #2973 . Refs #410 , #2348 , #3708 .
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1069694
This was SVN commit r17655.
2016-01-17 00:34:33 +00:00
elexis
327c0d0d00
Remove trailing whitespace. Refs #118 .
...
This was SVN commit r17650.
2016-01-14 00:04:32 +00:00
leper
c33d1e3741
Remove commented out code and comments invalid since 9542ecdd7e.
...
This was SVN commit r17647.
2016-01-13 22:39:09 +00:00
mimo
5c61f68600
Rework the logics of options loading to allow more flexibility (i.e. adding a min or max value for number inputs)
...
Fix some problems when reloading saved options, refs #3511
Add the material quality option, refs #3737
Reload and Save buttons are only enabled when some options have changed.
This was SVN commit r17645.
2016-01-13 22:01:36 +00:00