- Change Map.LoadMapTiles and Map.LoadResourceTiles to read the whole stream into memory before processing individual bytes. This removes the cost of significant overhead from repeated calls to ReadUInt8/16.
- Remove significant UI jank caused by the map chooser by not including the placeholder widget. The maps render fast enough that it is no longer worthwhile and it was causing a lot of flushes which were the source of the jank.
- Trigger async generation for all maps when the chooser is loaded. This means in practice all previews will be ready by the time the user begins to scroll the selection. Since generation is fast, there is no issue with scrolling straight to the bottom and having to wait for the backlog to clear.
Make color of "Ready" text alternate between red and white.
Made the code cleaner.
Whitespace correction.
Whitespace correction again.
Change color from red to green and make it moddable
Use enum for ReadyTextStyle
Use enum for cnc
Made variables public and simplified if statements
fix enum
fix enum and )
ReadyText settings in ra yaml
ReadyText settings in cnc yaml
Move values from code to ra yaml
Move values from code to cnc yaml
revert code changes cnc
revert code changes ra
move around a bit in ra yaml
move around a bit in cnc yaml
Add values to d2k yaml
Updated settings file for TD to expose the new 'Lock mouse to window' display configuration option
A text label notes that modifying the 'Lock mouse' check box requires a restart
List of changes:
* Better and more filters with new layout, for both mods.
* Rename/Delete/Detele all functionality.
* Simplified ReplayMetadata class considerably by introducing a new
GameInformation data object. The new GameInformation class contains
more information than previously available so the new solution is not
compatible with old replays, meaning it can't read old replays.
* Better and cleaner game information gathering in order to be written
at the end of the replay file.
* Revert changes to ReplayConnection, no longer necessary.
* Better exception message on missing sprites and fonts.
* New "SpawnOccupant" class that holds all the information needed by the
MapPreviewWidget to visualize a spawn point. It was using Session.Client
before and it was necessary to separate it to be able to show information
not available at lobby time.
* Fix keyboard focus UI bug when closing a window would not remove focus.