HomeWildfire Games

Remove counterproductive lowercasing of GUI ScriptEvent names, refs #127.

Description

Remove counterproductive lowercasing of GUI ScriptEvent names, refs #127.

r665 introduced XeroXMB lowercasing of element and attribute names as a feature.
r706, r2511, r3586 added bugfixes and TODOs because of that.
r4185, r4186 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