mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-05 00:18:13 +07:00
e4e2696160
* created files for friends list screen * redone #3 * fixed some crashes and more additions * changelog in the comment below * Update .gitignore included the FriendsList.json file * changelog in the comment below, again * optimized imports to hopefully fix the error in github build check * replaced imports with the ones from master since OnlineMultiplayer.kt no longer exists * imported ViewFriendsList * used the right package for all friendsList related files and a little bit of cleanup * check if friends list is empty before adding the select friend button * check if the ID is correct when adding a new friend * don't set null as playerID if no friend is selected * added messageTexts for the input TextFields * don't show already selected friends * fixed checkmark not updating after selecting a friend * you can't be your own friend! and other checks for edit button * fix error * replaced error type with enum, replaced nested ifs with when loop, added additional checks when editing friends * fixed error, can't really tell how I managed to do this * reorganized checks for adding and created settings variable to hopefully fix the github build error * actually fixed github error * it now removes selected friends from the list of selectable friends * fixed not being able to change only the id of a friend * made it look half decent * cleanup + improved help button * updated template.properties * renamed variable * some tweaks * moved friends list to GameSettings * tested every feature and fixed what didn't work * removed redundant variables and final cleanup * little improvements * string improvements * removed rightSideButton from ViewFriendsListScreen * removed unnecesary uniformX and decreased padding to allow seeing more friends in ViewFriendsListScreen |
||
---|---|---|
.. | ||
src/com/unciv | ||
build.gradle.kts |