0ad/binaries/data/mods/public/gui/session/developer_overlay/TimeWarp.xml
elexis 96a6a136b6 Rewrite developer overlay to use class syntax, one class per checkbox, a class for the EntityState overlay and TimeWarp debug feature, refs #5387.
Using 22 classes instead of 1 class (refs 2bcf4f678b/D1928) leverages
more benefit of the paradigm.
In particular it means the checkboxes can own the EntityState and
TimeWarp helpers and the DeveloperOverlay itself can remain independent.
Improve performance by 200 microseconds per turn by unsubscribing from
onSimulationUpdate when the developer overlay is not opened, refs
e3f43f6352 / D2378.
Move TimeWarp from input.js from 8ddef2fee0 to independent class using
hotkey release event from 78bc56f33e, refs #3194.

Differential Revision: https://code.wildfiregames.com/D2383
This was SVN commit r23081.
2019-10-19 00:26:34 +00:00

5 lines
200 B
XML

<?xml version="1.0" encoding="utf-8"?>
<object>
<object name="timewarpRewind" hotkey="session.timewarp.rewind"/>
<object name="timewarpFastForward" hotkey="session.timewarp.fastforward"/>
</object>