Daily Developer Logs 2022/09/13–19

FruitGuru
CityStates: Devlogs
3 min readSep 27, 2022

13/09/2022

Client:
• Added: CityActor — Direction to storages PoI
• Added: Troops — Confirmation for removing troop from the army.
• Changed: BattleResultManager — Changed the logic by which free units are replenished automatically.
• Changed: Desync — Log ingormation in a warning level.
• Changed: MarketController — Market controller now use CurrencyController instead of disapthching PurchaseOffer signlas to locally simulate currency changes.
• Changed: Trainigs — Pay training price in network command.
• Changed: UI — Remove button in the inventory item menu.
• Changed: Workers — Workers can be removed with slider.
• Fixed: CityActor — Bug with deleted PoI
• Fixed: CityActor — Put animation time
• Fixed: CityActor — Storage sort order
• Fixed: CityActor — Storages animations
• Fixed: CurrencyUI — Calculate total city consumption in tooltip.
• Fixed: Project — Compilation.
• Changed: UI — army menu tweaks

Server:
• Changed: BattleResultManager — Changed the logic by which free units are replenished automatically.
• Changed: RemoveWorkersCommand — Number of workers that will be removed can be specified.

14/09/2022

Client:
• Changed: CostOverviewMenu — Added overall consumption panel.

Server:
• Fixed: Commands — Don’t pop commands after receiving new command.

15/09/2022

Client:
• Changed: Buildings — Building name displayed on building destroy confirmation popup.
• Changed: BuilingMode — Displays the name of the building to be built.
• Changed: TrainingBuildings — Training cards size changed.
• Fixed: Buildings — Improved buildings Id randomization.
• Changed: TrainingBuilding — Lock produce button if there is no place in queue.

16/09/2022

Client:
• Changed: BuildginMode — Displays name of the building to be moved.
• Changed: BuildingsUI — Changed crafter and conversion buildings icons for producable resources.
• Changed: CostOverviewMenu — Added scrollbar to units consumption panel.
• Changed: HappinessPopup — Maintainance cost in happiness popup now calculated without soldiers.
• Changed: NetworkCommon — Update submodule.
• Changed: UI — overview panel tweaks
• Fixed: ManageBattleRewards — Items are not returned to the inventory twice after the squad is removed.
• Fixed: CityActor — Composition error

17/09/2022

Server:
• Changed: GameState — Update available to train units.
• Changed: Profile — Save profile changes after each processed command.

19/09/2022

Client:
• Added: CityActor — Supplies at Gatherer Production
• Added: Codebase — Missing files.
• Changed: Camera — Return edge pan processor.
• Changed: Camera — Return keyboard movement processor.
• Changed: Camera — Return movement to the tile.
• Changed: Camera — Separate classes and make code cleanup.
• Changed: Camera — Set default zoom value 1 if it is possible.
• Changed: Camera — Zoom configuration.
• Changed: CityActor — Spawn supplies as a function of percentage
• Chnaged: Camera — Tweak camera configuration.
• Removed: Camera — Old camera system.
• Changed: CityCurrencyController — Code refactoring.
• Changed: HappinesInfoPopup — Displaying consumption only as base villagers values.

Client:
• Changed: UI — overview panel tweaks
• Changed: Battle — Battles are available only when client is fully synced with Server.

--

--