~stk/stk/+git/STK-helper:RandomItem

Last commit made on 2018-06-21
Get this branch:
git clone -b RandomItem https://git.launchpad.net/~stk/stk/+git/STK-helper

Branch merges

Branch information

Name:
RandomItem
Repository:
lp:~stk/stk/+git/STK-helper

Recent commits

92b2bc4... by Alayan-stk-2 <email address hidden>

Fix limitations/bugs of random item weights computation

ed659b2... by Alayan-stk-2 <email address hidden>

Simple PRNG for synchable pseudo-random item collection

54fb116... by Alayan-stk-2 <email address hidden>

Scale the weights to have 1000 as sum rather than 200

The previous 200 was meant to also limit the size of the list of item to pick among. This is not a concern anymore.

However, the interpolation for rare items (typically : switch, basketball, parachute with many karts) was quite poor as there is no good way to average 2 and 3 or 3 and 4 with integers. The very values used for the rare items were also limited because of it, though they are not fine-tuned here, under the assumption that larger testing will better help to narrow down further improvements.

And for all items, it had bigger rounding errors than now.

1000 of sum remains quite readable in the powerup.xml ; as say 235 means 23,5%.

be98a6c... by Alayan-stk-2 <email address hidden>

Add vertical tabs (#3314)

* Add vertical tabs to ribbon widget types

* Update GUI engine for vertical tabs

* Add the ability to get a ribbon's active children number

* Add full looping for vertical tabs

750320f... by Alayan-stk-2 <email address hidden>

Fix the previous number of points being 0 after relaunching STK (#3320)

* On launch, also update the number of previous points so it is not 0

* Do the first call after the loading of the challenges status

* Remove prints

5d34488... by QwertyChouskie <email address hidden>

Donate and reset password buttons (#3252)

* First version of donation link and password reset buttons
The register screen still needs to be tweaked, though the GUI engine seems to be limted here.
Maybe dynamicly delete/re-create the widget?

* Fix mingw compilation

* Remove dead code

* minor cleanup

* Error handling, tweaks

* Fix ifdef for macOS

* Disable donate button on Android

* Use stk-config

* Implement LinkHelper::isSupported, fixes

205d4b5... by Alayan-stk-2 <email address hidden>

Fix start/exit buttons not working in networking lobby (#3318)

c889503... by Dawid Gan

Fixed wrong comment

e7f3f2b... by Alayan-stk-2 <email address hidden>

Fix #3316 (#3317)

b430a0e... by Dawid Gan

Huge improvement of apk file size thanks to Alayan.

The apk is now 20 MB smaller.

It may need some testing to see if there are no artifacts, but as far as I see there is no difference in quality.