Better Report Screen (UI)

Better Report Screen (UI) 7.0

Version 7.0

Major technical redesign
- Each tab is now a separate script with its own set of data and visuals. Helps with mod maintenance and code readability.
- Data is fetched only when a tab is displayed. This results in much better performance, especially late-game with many cities and units at play.
- Implemented precise tick-based timers to measure performance of each key function.
- Implemented many performance tweaks like reading data directly from SQLite engine instead iterating GameInfo objects.

New features
- Deals page has been redesigned; now it groups deals by opponent civ and each deal is displayed in one row (#6).
- General: Linux compatibility (#9).
- CityStatus: Preserve and Diplomatic Quarter are shown in the Status column (there is no more space in the districs section).
- University of Sankore modifiers (#15).
- RMA: Shipyard, Madrasa and Coal PP affect yield calculations, e.g. Economic Union (#13).
- RMA: Johannesburg suzerain effect implemented (#10).
- RMA: Support for (rare) multi-arguments in modifiers, e.g. Tokugawa, Ana Nzinga, Joao, Petra, Halicarnassus (#3).

Fixes and improvements
- CityStatus & RMA: Garrison unit is now correctly recognized i.e. naval, air, Encampment and alike districts are also taken into account (#17).
- Yields: Fixed the incorrect calculation of Worked Tiles.
- Yields: Gains from incoming routes are properly recognized (#14).
- Resources: Resources from City-States previously listed as "gameplay bonuses" are now properly recognized and listed (#11).
- Deals: Some deals were omitted due to "invalid" flag put in specific situations; now all deals should be listed (#8).
- Gossip: LeaderIcon instance is replaced with a normal leader icon leading to a huge performance improvements.
- Units: Abilities tooltip now validates unit class and displays only valid abilities (#7).
- Units: No more duplicated abilities.
- RMA: Wisselbanken now also works for suzerained city-states (#1).
  • Like
Reactions: raen
Version 6.1.2
- Fixed an issue with the base game - the mod now works with the base game.
- Workaround for an issue with the building maintenance showing as 0 always due to a bug in the game core. The mod shows the building maintenance now correctly.
Version 6.1.1
- Fixed an issue with division by 0.
- Added a mark showing "only 1 resource to get a monopoly"
- Added a corporation effect for a toolip in the Resources Tab
Version 6.1
- Added support for mods that introduce new yield types e.g. JNR's DE:E.
- Fixed an issue with luxuries with no industry around them like ones granted by GPs and City-States bonuses.
[2nd upload, there was a glitch in the 1st]
Version 6.0
Support for Monopolies and Corporations Mode!
- Resources Tab shows M&C info for a specific resource (check tooltips also!)
- City2 Tab shows M&C info for a specific city (check tooltips also!)
- The Mode is only supported for GS games. Sorry.
Real Modifier Analysis module.
- Support for Maritime Industries from PolicyRework2.
- Fixed errors appearing in the log when analyzing Johannesburg.
- Fixed Public Transport policy - it calculates correctly now and errors are gone from the log.
Version 5.9
- July 2020 Patch update - fix for Vampires breaking Units tab.
- Fixed: Tourism yield calculation in the Yields tab - now does NOT count improvements further than 3 tiles from the center, which is consistent with the engine behavior (however, most likely a bug).
Version 5.8
- Added: Support for Maya yield bonus/malus. It is coded differently than usually and was causing errors in the Yields tab when showing yields' details.
Version 5.7
- Added: Support for Maya extra housing from Farms (tab Cities, column Population).
Version 5.6.1
- Fixed: Few issues with the Unit Promotion tooltip.
Version 5.6
- Updated for June 2019 Patch - the Gossip tab is a bit streamlined.
- Added: Support for multiple-yields-in-one modifiers (e.g. Petra).
- Fixed: Wrapped Strategic resources.
Version 5.5
- Applied changes from the April Patch.
- Changed: German localization updated courtesy of swinghead.
- Added: Several requirements and effects to support new pantheon definitions from Real Balanced Pantheons mod.
- Added: Support for the Hydro Dam Upgrade (from RBU mod).
- Added: Tooltip for Dam and Barrier shows also the resources.
- Fixed: Tourism in Yields tab is properly shown.
- Fixed: RiverAdjacent requirement.
- Fixed: Plot Resource Visible requirement.
- Fixed: Player Districts collection.
  • Like
Reactions: geen
Version 5.4
- Technical update needed for compatibility with my newest mod Real Era Tracker.
Version 5.3
- Added: Canals built in a city (Cities GS page).
- Added: A true icon for the Aerodrome district (Cities page).
- Added: Colored tooltip for the city status (Cities page).
Version 5.2.1
- Fixed: "GS with no RF" situation.
- Added: Support for modifiers for Resolutions in RMA.
- Changed: LoadOrder for compatibility with CQUI in the future.
  • Like
Reactions: japanesesamurai
Version 5.2
- Added: Rock Band info (level, promotions, albums sold) in Units tab.
- Added: District Flag (green exclamation mark after the city name) if population allows to build a district (Cities tab).
- Added: Stats tooltip when hovering over Cities label in the top-right corner. Shows total population, districts, units, etc.
Version 5.1.1
- Fixed: Missing LOC_ tag for Polish localization (no need to download if you don't use Polish version).
Version 5.1
- Added: CO2 footprint for a city (CitiesGS tab).
- Changed: Power Generated tooltip and calculations to account for shared load (CitiesGS tab).
- Added: Option to turn on/off modifiers in BetterReportScreen_Database.sql. Please note that by default they are OFF.
- Updated: Polish and Italian localization.
- Fixed: Canal and Dam icons in Units tab.
- Fixed: Wrong enum in Unit Upgrade function.
Version 5.0
- Added: New tab with city information specific for Gathering Storm.
- Power consumption and poduction.
- Nuclear Reactor info.
- Dam and Flood Barrier info inc. number of endangered tiles.
- Number of tiles with railroads.
- Added: Italian localization courtesy of @Sun Ce of Wu.
Version 4.1
- Fixed: Policies that modify building yields now should calculate properly even if the policy is slotted atm. In other words - corrected Rationalism, Free Market, Grand Opera and the like.
- Fixed: Modifiers that add bonus yields based on adjacent terrains or features now properly calculate the number of adjacent tiles. In other words - fixed Desert Folklore, Dance of the Aurora and Sacred Path.
- Added: You can use BRS with ConciseUI.
Version 4.0
- Updated for Gathering Storm.
- Fixed: Description for F8 key is shown in Options.

Gathering Storm changes.
- Resources tab shows new info for strategic resources: stockpile, maximum, net gain.
- Unit Maintenance table in Yields tab shows Resource Maintenance cost.
- Units tab shows the type of resource consumed by a unit (last column).
- Reports List shows 7 buttons for all 7 tabs in the main window.
- Reports List is closed when the buttton is clicked (so you don't have to close it separately after closing the main window, which was sooo annoying).
Disclaimer.
- Due to the changes in the production queue, the Yields tab doesn't show the item being produced any more. The original code also stopped working. I will fix it later.
- I haven't updated anything about modifiers (policies, etc.) All seems to be working. However, due to extensive changes in GS, it needs more testing. I will fix any issues found here later.
Top Bottom