0ad/source/ps/GameSetup
elexis eafd44cfc5 Remove counterproductive lowercasing of GUI ScriptEvent names, refs #127.
a8f48ff7e0 introduced XeroXMB lowercasing of element and attribute names
as a feature.
cf9d8b9797, 4d390f501c, dda6268466 added bugfixes and TODOs because of
that.
f76d0ffdc6, 44fe226dd2 removed the XeroXMB lowercase feature.
This patch removes the lowercasing GUI bugfixes that don't fix any bug
anymore while increasing code complexity and lowering performance
(string copies).

Do not send mouse coordinates objects for events that do not relate to
the mouse.

Store event names in static const members to:
(1) improve performance, ensuring that the CStr is not reconstructed
every call,
(2) obtain compile errors when misspelling event names,
(3) allow reuse of the strings in inherited and friend classes.

Differential Revision: https://code.wildfiregames.com/D2445
Comments by Matei, Philip on 2006-03-11-QuakeNet-#wfg-Meeting-0126.log
and 2006-06-24-QuakeNet-#wfg-Meeting-0139.log

This was SVN commit r23403.
2020-01-15 16:00:37 +00:00
..
tests Add a mod installer, fixes #4027. 2018-04-15 01:46:28 +00:00
Atlas.cpp Add the ability to specify a log level when using dlopen and change it to normal for Atlas. 2014-06-05 17:07:04 +00:00
Atlas.h Add basic help page into the main menu. 2010-07-07 21:47:31 +00:00
CmdLineArgs.cpp Add a mod installer, fixes #4027. 2018-04-15 01:46:28 +00:00
CmdLineArgs.h Add a mod installer, fixes #4027. 2018-04-15 01:46:28 +00:00
Config.cpp Refactor renderer options. 2019-08-04 08:28:30 +00:00
Config.h Refactor renderer options. 2019-08-04 08:28:30 +00:00
GameSetup.cpp Remove counterproductive lowercasing of GUI ScriptEvent names, refs #127. 2020-01-15 16:00:37 +00:00
GameSetup.h Fix hotkey events synching with hotkey state. 2019-09-15 12:16:28 +00:00
HWDetect.cpp Use ScriptInterface::CreateObject for ToJSVal<CColor>, and for ToJSVal<Grid<u8> >, ToJSVal<Grid<u16> > used by the AIManager obtaining the pathfinder grid. 2019-09-13 00:56:51 +00:00
HWDetect.h Add script-based system for doing messy stuff based on system configuration. 2010-11-20 19:46:49 +00:00
Paths.cpp Actually remove trailing whitespace for non-header files as well. 2016-11-23 13:02:58 +00:00
Paths.h Updates data paths on OS X and Windows. On OS X only write to locations inside ~/Library. On Windows make the distinction between local and roaming appdata, and use folder inside My Documents for user-created data. Fixes #1145. 2012-03-22 00:23:31 +00:00