Files
openttd-cmclient/src
Peter Nelson dfd9fbf873 Codechange: Defer refreshing company finance windows. (#14111)
During each game tick every cargo payment will issue an Invalidate of the status bar and company finance window. While this doesn't paint the window yet, it does need to search for open windows, and then mark a area of dirty blocks, which is done for every Invalidate.

Instead, set a bit in a CompanyMask, and test these bits once after the game tick is complete.

This reduces the amount of dirtying, and allows more specific widgets to be dirtied instead of the whole window.
2025-04-26 10:50:51 +00:00
..
2025-04-21 17:25:09 +02:00
2025-04-21 17:25:09 +02:00
2025-04-26 04:44:12 +00:00
2025-04-21 17:25:09 +02:00
2025-04-21 17:25:09 +02:00
2025-02-09 16:52:21 +01:00
2025-02-15 21:06:28 +01:00
2025-04-21 17:25:09 +02:00
2025-04-20 12:50:45 +02:00
2025-02-16 22:24:25 +00:00
2025-04-21 17:25:09 +02:00
2025-04-21 17:25:09 +02:00
2025-02-12 22:44:51 +01:00
2025-02-16 14:02:18 +01:00
2025-04-21 17:25:09 +02:00
2025-02-09 16:52:21 +01:00