This is the result of my previous work, with a port of the timer version that was developed for a 1.0 mod. It has been used by several players so no major issue should exist, though UI and other elements may require adjustment to smooth some rough edges.
It features both a casual story mode timer storing the total time to complete the story mode (on by default) and a "speedrun" timer (off by default). The casual timer is paused whenever the player exits story mode, and supports play over multiple sessions. It is only displayed in the overworld and during challenges ; while the speedrun timer is permanently displayed.
Fix#2907
* Add options to control the number of red/blue AI in soccer mode (offline)
* fix a bug related to the upper bound when AI num=0 and trying to lower the number
* forgot to fix this
* remove the Balanced/Custom spinner
* improve the AI number spinner's behavior at lower bound
* Hide blue ai number setting if not soccer
* move getting red/blue players number to function TrackInfoScreen::getRedBluePlayerNumber()
* Tab to Space
* rename local variable m_xxx to num_xxx
* bug fix
* improve the default AI number: try the previously used one, if cannot use the previous, recalculate the AI number using balanced
* Replace fonts size into font size
* replace fonts size to font size
* Replace fonts size into font size
* #3923 && replace fonts size to font size
* delete min & max
* add font size spinner in loadedfromfile
* Delete wrap around
* Fix a bug
* Wider range in artist debug mode
* Better word
* Smarter size
* Better size
* Smarter row size
* Smarter size
* Fix#3792
* Bigger title && use 4 spaces
* Fix#3792
* Better credits
* Smarter size
* Less lines to preserve space
* Smarter icon size
* Better size
* Completely fix#3792
Using buttonbar in every line can avoid scaling problems
* Completely fix#3792
* Completely fix#3792
* Add space under the screen
* Make space smaller
* Smarter ratingbar size
* Better size
* More reasonable size for powerup texts
* Better spacer under the screen
* Sparter space under buttons
* Smarter space under buttons
* Smarter space
* Smaeter space under icons
* Smarter space under buttons
* Smarter space
* Smarter space under butons
* Smarter space
* Smarter space under buttons
* Smarter space
* Smarter space under buttons
* Smarter space
* Smarter stars size
* Fix an extra line
* change buttonbar back into ribbon
* dont declare the width of the buttons
It may cause some characters partly showed or hidden in some lang
* Use font height
* Smarter space
* Smarter space
* Better space to avoid bad looking ui
* Smarter space
* Use font height
* Better height
* Better skill bar look
* Better skill bars look
* Use foont height
* Use font height
* Bigger size
* Use font height
* Use font height
* Use font height
* Use font height
* Better height
* Use font height
* Use font height
* Bigger size
* Fix scaling issues
* Fonts size adjustion support
* Add fonts size support && Fix scaling issue
* Use fonts height
* Fix scaling issues
* Add my name onto CREDITS
* Fix scaling issues
* Fix scaling issues
* Use space instead of tab
* Use space instead of tab
* Fix bad scale
* Use font height
* added widget to track info screen to select between Free-For-All and Three Strikes Battle
* setting AI to zero and setting time target to 2 minutes for testing
* setting also hitcapture limit to prevent immediate race end
* setting m_count_down_reached_zero to false in ffa reset to allow starting a new race after the previous ended through time limit
* integrated necessary adjustments and made possible to set time target
* removed unused spinner variable
* use translations
* centralized is_soccer and show_ffa_spinner variables
* setting target value spinner visible/invisible depending on ffa game type
* using no hittarget and fix for this in free for all mode
* set use_highscores to false for FFA
* disabling AI for FFA
* disable hit limit icon for FFA if no hit limit is set ( = 0 )
* changed icon and name of three strikes battle to only battle in race setup screen
* set AI to Battle AI if mode is FFA
* added config parameters for FFA
* added define which can be used to enable FFA AI
* resolved merge conflict
* moved ffa options higher
* fix for setting ai karts
* improved m_show_ffa_spinner and m_is_soccer
* removed code for disabling widgets for FFA AI
* implemented requested changes
* moved soccer race options to track info screen
* using one spinner for both target mode values
* merged pointamount-spinner with lap-spinner and renamed it to target-value-spinner
* fixed identation
* small fix in track_info screen
* storing target value when value was changed
* making sure tartet spinners are invisible when not needed; small adjustments
* some test with solving space issues on small resolutions
* Revert "some test with solving space issues on small resolutions"
This reverts commit f6b6526681.
* test with collapsing widgets
* removed deleting childs of widgets in track_info_screen
* readded deleted spacer
* collapsing target type widgets is now working
* made target type spinner wider to have enough space for text in it on small resolutions
* re-added setting target value to invisible/visible
* using new collapsing widget function in track info screen for target type widgets
Now it works better with very big resolutions. Previously label height was used as a kind of margin for columns. But in extreme case it could be even bigger than child height.
* Always call buildInternalStructure when updating items to prevent font size issues
* Added word wrap for DynamicRibbonWidgets and enabled on the GP editor.
* Add a flag icon next to the lap counter
* Fix flag icon scaling across resolutions
* Add an option controlling minimap display
* Allow to display all the karts in the icon list if the minimap is hidden/on the right
* Remove useless scaling
* Fix minimap issues in splitscreen
* Align the spinners in the UI options
* Check for touch settings instead of a compile-time Android check
* Fix server-only compilation
* Make UI options checkboxes have the same size than checkboxes elsewhere
* Add translation cues for minimap options
* Don't look up icon paths every frame