0ad/source
elexis ccb534259d Major lobby cleanup.
Create an object holding the handling of all netmessage types.
Display private messages sent by moderators.

Details:
 Switch back the second and third argument of CreateSimpleMessage, so it
relates again to the switch/object.
 Reduce the dimension/nesting of the object/switch from three to two.
 Hence remove the useless "standard" and "internal" value send in the
text field.
 Rename CreateSimpleMessage to CreateGUIMessage
 Use the property "level" instead of "text" for "connect" and
"disconnect".
 Remove the handling of the "connect" event in lobby.js, since it is
never called.
 Translate the disconnect event.
 Add comments and explicit checks to handleMessage and handleMUCMessage
to make obvious where they differ.
 Remove the "message" property from those GUI messages, since it should
just use "text".
 Move the login-fail handling to JS.
 Remove useless sprintf calls from warning messages.
 Inline some variables.
 Add missing semicolons.

This was SVN commit r17581.
2015-12-31 17:08:23 +00:00
..
collada Removes use of 'register' storage class, deprecated in C++11. Fixes -Wdeprecated-register build warnings in clang, fixes #3068. 2015-06-02 03:20:04 +00:00
graphics Indentation corrections and other code style fixes in preparation for the cinematic camera patch. 2015-12-31 13:40:56 +00:00
gui Remove disabled by default SDL1 support. 2015-12-14 10:52:21 +00:00
i18n L10n code cleanup. 2015-07-29 23:44:05 +00:00
lib Remove disabled by default SDL1 support. 2015-12-14 10:52:21 +00:00
lobby Major lobby cleanup. 2015-12-31 17:08:23 +00:00
maths Indentation corrections and other code style fixes in preparation for the cinematic camera patch. 2015-12-31 13:40:56 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Strip trailing whitespace from network code. 2015-12-21 13:58:32 +00:00
pch Switch to std::shared_ptr and std::weak_ptr. 2015-01-25 03:10:58 +00:00
ps Reorganize code in different files in prepartion for the cinematic camera patch (by Vladislav Belov). 2015-12-30 21:16:35 +00:00
renderer Optimization of isBoxVisible + cleanup, fixes #3712 2015-12-28 16:27:31 +00:00
scriptinterface Test non-ASCII string conversions. 2015-12-22 17:30:05 +00:00
simulation2 optimizes range queries, fixes #3717 2015-12-30 13:44:51 +00:00
soundmanager Remove trailing whitespace. Based on patch by otero, refs #3268. 2015-12-31 11:45:13 +00:00
third_party Update tinygettext. 2015-12-08 18:05:11 +00:00
tools Reorganize code in different files in prepartion for the cinematic camera patch (by Vladislav Belov). 2015-12-30 21:16:35 +00:00
main.cpp Graceful exit in case of trying to replay a directory. Fixes #3427. 2015-12-18 21:16:08 +00:00
test_setup.cpp CLogger: Use cppformat instead of sys_vswprintf. 2015-01-22 20:30:05 +00:00