Page 1 of 1

Remember "Enable split screen or player handicaps" setting

PostPosted: 30 May 2020, 06:51
by forum
Hello,

Is it possible to remember the "Enable split screen or player handicaps" setting on the Online" screen?
Currently, when the game is started new, the setting is always back to unckecked.

If somebody could please point me to the area in GitHub for the code, I could try my first steps (with your kind help). Thanks! :)

Re: Remember "Enable split screen or player handicaps" setti

PostPosted: 30 May 2020, 18:56
by QwertyChouskie
Probably you'd want to add a userconfigparam like https://github.com/supertuxkart/stk-cod ... g.hpp#L971, set the checkbox to that param's state when loading the screen, and change that param whenever the checkbox is toggled. That checkbox code should probably go in https://github.com/supertuxkart/stk-cod ... screen.cpp.

Re: Remember "Enable split screen or player handicaps" setti

PostPosted: 01 Jun 2020, 07:56
by forum
Thanks! I'm not sure if I completely understand this, but will try and report back. :)

Re: Remember "Enable split screen or player handicaps" setti

PostPosted: 16 Jun 2020, 03:09
by benau

Re: Remember "Enable split screen or player handicaps" setti

PostPosted: 16 Jun 2020, 06:19
by forum
Wow, great - thank you! :)
Is my understanding correct I have to replace the files in my source path and then compile STK with these changes?
I know that this is quite a newbee question, but that's what I am regarding source code, compiling, etc. ;)

Re: Remember "Enable split screen or player handicaps" setti

PostPosted: 16 Jun 2020, 08:16
by benau
if you clone stk with git you can just run "git pull" in command prompt, otherwise yes (assume you download the .zip from github)

search git in the internet for details