* Linting
* Move OneTimeGlobalAlert from PolicyManager to actual trigger
* Doc-Description for OneTimeGlobalAlert
* Adopt #13606 changes
* Minor improvements - efficiency and notification newline
* basic chat ui
* improve chat infustructure
* implement websockets
* fix TODO crash
* delkt fixes & minor refactoring
* refactor civColor lookup
* set `ChatPopup` `Scrollability` to `None`
* refactor `chatLabel`
* move `ChatButton` update actions to its own file and refactor `WorldScreen`
* refactor `ChatPopup` - make it simple
* add `ChatPopup` layout explaination
* make `CloseButton` an `ImageButton`
* update .gitignore, try to ensure correct civName, close previous session on reconnect
* better `Message.Join()` usage
* update .gitignore entry for lasterror.txt
* improve chat message handling and color visibility
* refactor chat auth header handling and event filtering
* connection reliability improvements
* global messages for System and Server messages
* set `chatTable` cell defaults
* make flow work. remove internal keywords. fix chain job cancellation bug. extensively tested.
Made flow work, SomeHow.
Remove `internal` keywords, problematic.
One reconnect cancels another. This cancellation triggers another reconnect. Thus we get stuck in an infinite reconnect loop.
This was fixed by the force flag.
* added `Color.coerceLightnessAtLeast` and many comments
* faster `Color.coerceLightnessAtLeast`
* wait for `session` in `ChatWebSocketManager.requestMessageSend()`
* refactor some imports and simplify `ChatButton.updatePosition`
* move `Color.coerceLightnessAtLeast` with other `Color` extension functions
* remove `Event` suffix from event names and move events and files to better locations
* refactor multiplayer event handling and move event classes
Moved ServerUrlChanged, UserIdChanged, and PasswordChanged event classes from multiplayer/storage to models/metadata. Updated event dispatch logic for userId, server URL, and password changes to be handled within GameSettingsMultiplayer. Introduced ServerFeatureSetChanged event for feature set updates. Refactored usages and imports across chat, UI, and multiplayer modules to reflect these changes and removed redundant event dispatches.
* move `ServerFeatureSetChanged` to `ServerFeatureSet.kt`
* add chat and send icons, update atlas and chat ui elements
* make `Enter` key press work
* remove `yield()` calls
* refactor `WebSocket` error handling conditional branches
* remove unnecessary `ChatMessageSendRequested` event
* remove flow and reintroduce `yeild()`
* add translatable lines to `English.properties` and call `tr()`
* increase first session waiting time to `RECONNECT_TIME_MS * 2`
* add dynamically translatable global messages
* handle errors on `GlobalScope.launch`
* refactor `chatUrl` to `getChatUrl()` and remove the `yeild()` call after `delay()`
* add `ChatRestartException`
* implemented exponential backoff
* refactor chat error logging in `handleWebSocketThrowables`
* refactor `globalMessages` and revert unnecessary changes
* mark global messages as one time
* mark global messages that I forgot about as one time
* remove unnecessary event usage
* some necessary refactorings
1. start / stop chat based on `ChatButton` visibilty
2. fix `restart()` calls with `force = true` where needed
3. remove `try-catch` block from `restart()`
* fix websocket reconnection issues
* fix missing `}`
* fix problems for real
* fix import
* use `maxOf()`
* minor refactorings
* add support for `UncivServer.jar`
* get rid of `EventBus`
* rename and increase value to `60%` for `CIVNAME_COLOR_MIN_LIGHTNESS`
* get rid of setters
* fix 1
* fix `checkServerStatus()` not calling `setServer()`
* fix some issues
* fix crashes and remove redundant `ChatMessageReceived` data class
* fix some reviews
* remove `re-established` notification
* set type for `globalMessages` to `Queue`
* improve stability of `UncivServer.jar`
* fix automated ranged units not heading to enemy city
* fix distance from city typo
* Address points made in PR
* priotirize tiles without retaliation
* remove dangerous tiles logic
* resolve review with alternative approach
* faster exit if no sight
* automated units auto upgrade if enabled
* simplified condition
* fix incorrect building stats
* update stats for policies and buildings
* update wonder stats
* palace cost is 0
* aqueduct cost is 100 in vanilla
* update bank and stock exchange for vanilla
* Bump version and create initial changelog entry
* Update Brazilian_Portuguese.properties (#13666)
Translation of some words in the context of Civ V, spelling correction of accentuation and correction for word aesthetics (for example: Nuclear physics --> Nuclear Physics).
* Vietnamese patch #4 (#13650)
* Update Vietnamese.properties
- done the few first part of the translation ( I can't continue for now due to the tight schedule, will do it later )
* Update Vietnamese.properties
- I guess I did overlook that [amount] part ( it was not have the ( ] ) in it so my bad ).
- Done more translatation.
* Update Vietnamese.properties
* Update Vietnamese.properties
- I decided to go and check my eyes on the next week...
* Update Vietnamese.properties
* Update Vietnamese.properties
* Update Vietnamese.properties
* Update Vietnamese.properties
* Update #4 Vietnamese.properties
- I need the translation checked before I continue.
+ I don't know what to do with Chinese city names for now. Most of the names for now are OK, though.
+ Hellenic League and Greek in Vietnamese have the same meaning. The same thing goes to Armory and Arsenal.
+ Founder, Believer and Enhancer: I genuinely have no idea how to translate these. Sorry.
+ Mud Pyramid Mosque: the same as above, but I decided to put it with a generic translation for now.
+ And some other stuffs too
* Update Vietnamese.properties
* Update Vietnamese.properties
* Update Vietnamese.properties
* Update Russian.properties (#13647)
* Update Japanese.properties (#13644)
* Update Indonesian.properties (#13642)
Just a few corrections.
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: ace9999 <106280936+4C39999@users.noreply.github.com>
Co-authored-by: perfectoast <duynamdo000@gmail.com>
Co-authored-by: LevPM <98984098+LevPM@users.noreply.github.com>
Co-authored-by: cknight828 <128895471+cknight828@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
* Initial improvement of AI road planning
* fix tile caching of road plans
* fix worker not connecting city due to lower priority
* remove unnecessary code
* cleanup RoadBetweenCitiesAutomation.kt and enable harbor connection loging
* fix invalid logic in road construction
* apply reviewed changes
* sort plan list by closer cities
* apply reviewed changes and removed loging
* Fix AI civilian unit not escaping enemy
* Fix for AI civilian unit suicide
* resolve unit test errors
* remove enemy civilian unit counting as threat
* put cheaper logic check back
* fix automated ranged units not heading to enemy city
* fix distance from city typo
* Address points made in PR
* priotirize tiles without retaliation
* remove dangerous tiles logic
* resolve review with alternative approach
* faster exit if no sight
* automated units auto upgrade if enabled
* simplified condition
* fix incorrect building stats
* update stats for policies and buildings
* update wonder stats
* palace cost is 0
* Initial improvement of AI road planning
* fix tile caching of road plans
* fix worker not connecting city due to lower priority
* remove unnecessary code
* cleanup RoadBetweenCitiesAutomation.kt and enable harbor connection loging
* fix invalid logic in road construction
* apply reviewed changes
* sort plan list by closer cities
* apply reviewed changes and removed loging
* Fix AI civilian unit not escaping enemy
* can nuke in range without visibility
* can not nuke unexplored tiles
* remove redundant check
* getTilesInDistance instead of aerialDistanceTo
* revert suggested change
* notification for when religion is founded
* fix typo with space
* notification for pantheon and enhancement
* actions and notifications don't reveal info
* fix typo with space again
* shorten code
* an unknown civilization!
* add city defense column in city overview
* apply reviewed changes
* fix totals row
* totals for garisson
* WLTK shows count of WLTK's
* test and apply reviewed change