Commit Graph

15989 Commits

Author SHA1 Message Date
hiker
8ebb0b2e9a For now rename 'official' servers to 'trusted' (#3745)
* For now rename 'official' servers to 'truster', to make it more
obvious what the STK team does not operate those servers.

* Removed left-over-unfinished-duplicated comment :)
2019-02-09 14:50:42 +08:00
Deve
548a946de8 Clear message that chat is disabled when user enabled it in options 2019-02-09 01:38:23 +01:00
hiker
94d6a6f785 Fixed incorrect message about where to find internet option. 2019-02-09 01:05:08 +01:00
hiker
968e0be3e4 Make sure that HW reports stays disabled when internet is being
enabled in the options (GDPR compliance - opt-in required from
user to send data). Made chat-message visible/invisible same
as hw-statistics.
2019-02-09 01:05:08 +01:00
hiker
507d5d89e9 Fix display of 'hw stats' when internet gets enabled in the option:
it was actually showing the state of the 'chat', not 'hw-stats'.
2019-02-09 01:05:08 +01:00
hiker
f387d95627 Don't default to 'opt-in' for hardware statistics (GDPR requirement).
This means atm that even connection to internet is disabled as default :(
2019-02-09 01:05:08 +01:00
Deve
f974c9200c Always use current window size.
It's used by irrlicht and in some other places in STK anyway. And if window size was changed for some reason, then ugly but functional window is better than non-functional at all.
2019-02-09 00:27:57 +01:00
Benau
6cb64a558e Fix #3531
Which missed update new instance data size for transformation as
changed in 4464d4cd55
2019-02-07 13:22:36 +08:00
Benau
60c9d97d27 Fix #3744 2019-02-06 15:50:40 +08:00
Benau
37f622ac0e Fix #3650 2019-02-06 01:04:09 +08:00
Benau
0bc4201bf9 Fix message queue progress bar for floating point changed 2019-02-05 16:01:51 +08:00
Deve
f86b2657c1 Don't use margins for screen keyboard, because it's easy to misclick space 2019-02-04 23:42:48 +01:00
Deve
388594270f Use common function for changing spectator target 2019-02-04 23:01:20 +01:00
Benau
5bc8002caa Close debug menu whenever screen is changed 2019-02-04 16:13:14 +08:00
QwertyChouskie
538911b25f Fix versioning for master branch (#3738) 2019-02-03 12:02:55 +01:00
Benau
7b186c2b04 Allow left right switch for CTF which has position rank 2019-02-03 16:10:57 +08:00
Benau
2eed6254f4 Don't show chosen team color for spectator 2019-02-03 15:39:48 +08:00
Benau
f048e19bb1 Make spectator helper message to show when server is ready 2019-02-03 15:27:01 +08:00
Benau
9757209da6 Hide lap messages when live-joining happening 2019-02-03 15:19:02 +08:00
Benau
2bd2dc19ca Remove spectate helper message if finishing the race last 2019-02-03 13:45:51 +08:00
Benau
11dafe470c Update possible invalid camera again 2019-02-03 11:21:33 +08:00
Benau
18c9ef6adc Use kart position for left right switching 2019-02-03 01:46:27 +08:00
Benau
52cddf6208 Hightlight current spectating kart in race gui 2019-02-02 16:06:41 +08:00
Benau
0cb12ea124 Allow changing spectate target with analog input 2019-02-02 01:20:52 +08:00
Benau
75bc25d2ff Fix spectator if network splitscreen is enabled 2019-02-01 22:12:53 +08:00
Benau
df2731bc2c Fix possible crash 2019-02-01 19:02:50 +08:00
Benau
6ac98c0324 Only synchronize one kart each time for check line
This remove the duplicated new lap message
2019-02-01 17:50:09 +08:00
Benau
52ad702d13 Add fast forward in rewind to avoid android hangs 2019-02-01 17:22:41 +08:00
Deve
ae92d63492 Add 2px margin to screen keyboard buttons to fix navigation with gamepad 2019-01-31 22:16:06 +01:00
Deve
575f44a043 Fixed a crash after closing screen keyboard when dialog window is active.
Also fixed using screen keyboard with gamepad when it's used in dialog window.
2019-01-31 22:00:39 +01:00
Benau
a05889fa6a Show spectator icon for player list 2019-01-31 11:05:44 +08:00
Benau
1669368176 Fix 00:00:00 finished time in network caused by disconnection 2019-01-29 14:08:57 +08:00
Benau
552179180e Show disconnected message when result screen is showing 2019-01-29 13:06:17 +08:00
Deve
16fb7cefb4 Document some environment variables 2019-01-28 22:46:35 +01:00
Alayan
0a40861be7 Improve spectating info message 2019-01-27 19:11:41 +01:00
Benau
efb6b9e2cf Allow changing camera target after finishing network race 2019-01-28 01:17:26 +08:00
Benau
a0c6bc41a2 Add spectate helper message 2019-01-27 15:28:02 +08:00
Benau
8545d47d1e Move change spectate target to client lobby 2019-01-27 14:42:48 +08:00
Benau
b491ab0e82 Reset smooth network body when moving kart 2019-01-27 13:13:02 +08:00
Benau
e869fbfd9e Merge remote-tracking branch 'origin/for_alayan' 2019-01-26 16:18:47 +08:00
Benau
4e830d7df7 Reset server manager when entering the selection screen
So any previous servers (lan / wan) are fully cleared
2019-01-26 16:16:11 +08:00
Benau
2e08fe3b15 Add current date and time to log for server 2019-01-26 14:56:08 +08:00
Benau
4f25b709a7 Kick high ping peer when it's not in game 2019-01-26 14:16:12 +08:00
Deve
b68f6c1382 Better line wrap for non-breakable characters 2019-01-25 22:20:41 +01:00
Benau
66fa81c6c9 Synchronize check lines and lap status from server 2019-01-26 02:05:03 +08:00
Benau
664129e448 Handle copying ItemState to Item properly (esp in live join) 2019-01-24 14:01:04 +08:00
Benau
6ecd606e3f Don't focus if clicking on an empty part of the list 2019-01-22 01:56:36 +08:00
Benau
bf05035904 Add 1st user name to kick log 2019-01-22 00:22:56 +08:00
hiker
040725ae87 Merge branch 'master' of github.com:supertuxkart/stk-code 2019-01-21 22:40:48 +11:00
Daniel Butum
edd1280dbc Update config to use the new online servers & remove hardcoded certificate (#3703)
* Update config to use the new online servers. Remove hardcoded certificate as we will use Let's encrypt from now on

* Fix new server SSL curl certificate by shipping CA bundle from https://curl.haxx.se/docs/caextract.html

* Remove debug log for curl host

* Move server config to stk_config.xml and Update news.xml redirects
2019-01-19 17:49:11 -05:00
hiker
7d688b241c Merge branch 'fix-wiiuse-uninstallation' 2019-01-20 01:45:31 +11:00
Deve
2d219f29cc Improve screen keyboard layout 2019-01-17 00:15:12 +01:00
Benau
9078438b23 Save players and live join info in ClientLobby 2019-01-16 16:45:27 +08:00
Benau
4e2b843f71 Allow going back to lobby in selecting karts or tracks phase
It allows player to be spectator later
2019-01-16 13:43:26 +08:00
Deve
0355922116 Make more visible difference between skid1 and skid2.
Adjust particle size, because textures had large unused transparent space before.
2019-01-15 22:34:13 +01:00
Benau
f9cd0256ad Fix hit limit game progress 2019-01-16 02:10:48 +08:00
Benau
b0d1bf6cce Use fixed value of battle hit, capture and time limit 2019-01-16 01:54:25 +08:00
Benau
8951ef0cbf Make live-players default on if not written in default server_config.xml 2019-01-16 00:59:50 +08:00
Deve
d1fc7732c3 Don't open debug menu if there is dialog window.
The modal dialog eats gui close event, which is quite annoying.
Also return event block as long as debug menu is opened.
2019-01-14 23:27:36 +01:00
Deve
7bb8cc2706 Close screen keyboard when clicked outside of it 2019-01-14 22:00:43 +01:00
Benau
fd32b530df Focus on chat default if not android 2019-01-15 02:10:27 +08:00
Benau
639071f959 Update last activity so that the peer is not kicked for chat 2019-01-15 01:53:32 +08:00
Benau
6f823f9c9b Dismiss screen keyboard if opened 2019-01-15 01:31:48 +08:00
Benau
16d7f7e398 Fix possible getifaddrs crash 2019-01-14 02:26:30 +08:00
Benau
60da1fa6c7 Allow using AI with ffa 2019-01-14 00:49:10 +08:00
Benau
2bfa0f54dc Add network ingame dialog with chat function 2019-01-13 16:59:26 +08:00
Deve
9d42b70dda Show powerups and nitro in spectator mode on android 2019-01-12 21:51:02 +01:00
Deve
43885eacf2 Center icon in cell only if there is no text 2019-01-11 22:51:24 +01:00
Benau
e1e0b43f88 Remove previous entries to avoid reserved kart in network being displayed 2019-01-12 00:45:56 +08:00
hiker
5cf79f66fe Revert "Fix #3697", since this was not included in any
of the binaries built. It is already on master.

This reverts commit eecfc5d797.
2019-01-10 23:11:25 +11:00
Benau
58e0dce2d0 Fix #3697 2019-01-10 10:11:35 +08:00
Benau
eecfc5d797 Fix #3697 2019-01-10 10:08:58 +08:00
Deve
737e4b3d99 Merge branch 'wayland_multitouch' 2019-01-10 00:01:47 +01:00
Deve
a40b6e3758 Turn off multitouch race gui on non-android devices 2019-01-09 22:29:37 +01:00
Deve
15ffc98369 Detect if there is touch device available 2019-01-09 22:04:50 +01:00
Alayan
47cc127902 Fix error message 2019-01-09 04:09:06 +01:00
Alayan
4e340ebe92 Update version and profile folder for the beta 2019-01-09 04:01:41 +01:00
hiker
7fec380398 Fixed unit test (accessing world which does not exist during
unit tests, when delaying cakes at start of race).
2019-01-09 12:55:06 +11:00
hiker
20882b9e29 Addresses issues raised by Auria's review - thanks! Mostly
renaming of variables, though I also simplified code a bit.
2019-01-09 12:52:38 +11:00
Deve
b611b0dd80 Make touch device always enabled for testing 2019-01-08 22:44:17 +01:00
Deve
8257d9eeee Handle touch events on wayland device 2019-01-08 22:31:37 +01:00
hiker
55cf0b66c6 Support more version numbers: -alphaX, -betaX, and -rcX
now all work, and result in properly sorted integer
version numbers. Added tests.
2019-01-09 00:28:26 +11:00
auria.mg
e4168e7a28 Revert "Update config to use the new online servers. Remove hardcoded certificate as we will use Let's encrypt from now on (#3690)"
This reverts commit b2c11c120b.
2019-01-07 20:01:00 -05:00
Daniel Butum
b2c11c120b Update config to use the new online servers. Remove hardcoded certificate as we will use Let's encrypt from now on (#3690) 2019-01-07 19:42:30 -05:00
Kevin Zheng
f40ac02242 Implement getCurrentExecutableLocation() on FreeBSD (#3688) 2019-01-07 19:31:15 -05:00
Alayan
bec1c319f6 Add light scattering to the graphical options and disable it on graphics 3 2019-01-08 01:18:46 +01:00
Deve
d95a1ab27e Use the same size for back arrow in pause dialog as for other icons 2019-01-07 23:42:40 +01:00
Deve
df0377b0fc Use higher sensitivity only on tablets 2019-01-07 22:37:02 +01:00
Deve
8d92fa2394 Use look back instead of top view in spectator mode on android 2019-01-07 21:32:26 +01:00
Benau
dbe5c22622 Try to restore CheckStructure status for spectating 2019-01-08 04:12:10 +08:00
Benau
10dbac9149 Handle m_last_confirmed_item_ticks live in a thread safe way 2019-01-08 02:17:35 +08:00
Benau
f6fefba343 Allow look back in spectating 2019-01-07 15:25:35 +08:00
Benau
307194e482 Update network documentation 2019-01-07 14:46:34 +08:00
Benau
9d612455b3 Add kart name to disconnected linear race player 2019-01-07 14:07:08 +08:00
Benau
918d762893 Fix ranked server going back to lobby 2019-01-07 14:04:44 +08:00
Benau
4ce5678fd6 Allow team choosing in ownerless server if live players is true 2019-01-07 12:41:00 +08:00
Benau
07c973f35a Fix initial on road saving 2019-01-07 11:44:22 +08:00
Alayan
b67c70bad7 Add hypen to breakable characters 2019-01-06 18:46:57 +01:00
Alayan
7715c1c505 Take handicap into account for rankings 2019-01-06 18:15:20 +01:00
Benau
b555851f57 Don't use getActiveCamera which is not initialized yet 2019-01-07 00:37:45 +08:00
Mrxx99
e57f9ad6dd Fix #3685 (#3686)
* Fix #3685

* use is_soccer from race_manager
2019-01-06 17:32:12 +01:00
Benau
b46bd60a53 Use setXYZ so front xyz of kart is updated too 2019-01-07 00:19:22 +08:00
Mrxx99
6a361db994 fix comparison (#3684) 2019-01-06 16:25:20 +01:00
Mrxx99
9fb90d0c31 Show the name of who made the fastest lap (#3683)
* implemented showing the name who made the fastest lap in race result screen (only for offline play yet)

* also support online races, using english and added translation note

* added comment

* Fix typo
2019-01-06 15:17:48 +01:00
Benau
cbb26b73d9 Always reset server with back to lobby function added 2019-01-06 14:18:21 +08:00
Benau
d049ffa1d5 Adjust addWaitingPlayersToGame for live joining or spectate 2019-01-06 13:58:04 +08:00
Benau
961c3957e2 Allow spectating linear race 2019-01-06 13:43:19 +08:00
Alayan
aeeb4afd63 Several improvements to the ranking formula 2019-01-06 02:35:01 +01:00
Benau
bb31d6b226 Allow player going back to lobby without disconnecting the server 2019-01-06 00:21:51 +08:00
Benau
641b16e1c7 Add a thread safe way to clear game protocols when deleting world 2019-01-05 14:20:30 +08:00
Benau
37e5ea6806 Don't count spectator as players in game for testing reset 2019-01-05 14:10:56 +08:00
Benau
9747f59e00 Update lobby button with pre-translated string 2019-01-05 11:40:27 +08:00
Deve
7f3d895f70 Allow to switch karts in spectator mode on android 2019-01-05 00:53:17 +01:00
Benau
a59898c4ba Fix compiler warning 2019-01-05 03:21:06 +08:00
Benau
c7449d0a7f Use better english by alayan 2019-01-05 02:39:51 +08:00
Alayan
94a0988a71 Simplify code 2019-01-04 19:20:33 +01:00
Alayan
4d6be5934e Skip eliminated karts when switching camera target in spectating mode 2019-01-04 19:19:26 +01:00
Benau
f4a932271f Remove addons karts in server if live players is on 2019-01-05 01:31:04 +08:00
Benau
6a7ec37462 Merge remote-tracking branch 'origin/master' into live_join 2019-01-05 01:24:06 +08:00
Benau
6a1a1740c0 Make live join or spectate a server option 2019-01-05 01:20:25 +08:00
Benau
214272468d Add left or right player action to change spectating target 2019-01-05 00:42:00 +08:00
Benau
66794781fe Handle reserved player ranking correctly in ffa 2019-01-05 00:10:02 +08:00
Benau
ca34b64ba4 Only hover the kart during active race phase or complete live join world 2019-01-05 00:02:20 +08:00
Benau
2950238d2b Add live join and spectate button to lobby 2019-01-04 23:56:50 +08:00
Benau
582ec771c0 Fix splitscreen kart id checking 2019-01-04 22:10:21 +08:00
Benau
c16727302a Add arena ai to test live join 2019-01-04 22:07:15 +08:00
Benau
7c34818c04 Send go back to lobby message to all peers in server 2019-01-04 21:16:10 +08:00
Benau
e3a006c151 Move startListening to main thread to avoid race condition for accessing lobby 2019-01-04 21:01:53 +08:00
Benau
72db382c76 Add current track info to server screen 2019-01-04 18:53:45 +08:00
Benau
4b22465836 Add current playing info to lobby 2019-01-04 17:40:25 +08:00
Benau
38043de27c Don't start engine sound for reserved karts 2019-01-04 15:25:32 +08:00
Benau
7a112ee6ef Draw music description properly in network 2019-01-04 14:54:00 +08:00
Benau
62ce61d980 Add save and restore complete state for soccer world 2019-01-04 14:01:31 +08:00
Deve
d46f0aeddb Some tweaks in soccer setup screen 2019-01-03 21:44:15 +01:00
Mrxx99
fbb44a7a34 fix in setCollapsed (#3676) 2019-01-03 20:41:09 +01:00
Benau
78b4799b82 Fix #3675 which tracks screen is used in ghost race 2019-01-04 01:24:23 +08:00
Benau
17ecbe69af Don't show disconnected players in result screen for ffa and ctf 2019-01-03 16:35:16 +08:00
Benau
ab353dd632 Save and restore complete world status for ffa and ctf 2019-01-03 16:27:16 +08:00
Benau
b2ac7489d9 Change the definition of reserved network profile
So player name doesn't go away if disconnection happens
2019-01-03 16:00:11 +08:00
hiker
c37aebff94 Fixed compiler warnings. 2019-01-03 17:30:00 +11:00
Benau
c680181c9c Fix compiler warning 2019-01-03 14:20:22 +08:00
Benau
40e3ec1e56 Show server days since starting 2019-01-03 14:19:15 +08:00
Benau
27f08661b2 Don't update cursor if no graphics
It hangs when reseting screen in windows with server creation in gui
2019-01-03 13:08:47 +08:00
Mrxx99
c959836e34 Move soccer options to track info screen (#3638)
* 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
2019-01-02 20:29:53 -05:00
hiker
696a0c778c Merge branch 'master' of git://github.com/Partmedia/stk-code into Partmedia-master 2019-01-03 09:17:10 +11:00
Benau
1483b2b703 Use unicode check mark and ballot x for Y/N 2019-01-03 01:37:57 +08:00
Benau
aa49f4ae8c Reset all smooth network body of rewinders during firstly live join 2019-01-02 16:16:59 +08:00
Benau
eb342b2707 Always update current physical object if there was live join 2019-01-02 15:30:56 +08:00
Benau
314c37ce0b Don't check for successful animation creation for eliminated karts 2019-01-02 14:57:39 +08:00
Benau
8332e0471e Save and restore NetworkItemManager completely for live join 2019-01-02 14:02:51 +08:00
Benau
0e4424b3ea Show message for back to lobby if needed 2019-01-02 12:44:18 +08:00
Benau
55430a31a2 Add invulnerability depends on kart for live join 2019-01-02 11:37:28 +08:00
Benau
52a4bbeac7 Add player name and team arrows for live join kart 2019-01-02 10:34:23 +08:00
Benau
a849229f27 Hide live joining karts util finish live join 2019-01-02 01:50:47 +08:00
Benau
ec123df108 Remove player list when leaving the lobby screen to avoid crash 2019-01-02 01:19:35 +08:00
Mrxx99
f64a1e19b2 Using a default music if specified music of track was not found (#3667)
* added default music to stk_config and using it for not found music files

* only using default music if no music was found for a track
2019-01-01 09:54:15 -05:00
Benau
81776cb4df Let other players know the newly joined player 2019-01-01 16:32:37 +08:00
Benau
2f8da236e3 Add initial live join handling for the one who does it 2019-01-01 15:46:45 +08:00
Benau
0431344886 Add copyFrom for RemoteKartInfo 2019-01-01 13:12:28 +08:00
Benau
564ed41ed3 Add live join world and kart handling 2019-01-01 01:01:49 +08:00
Mrxx99
8cba880ef9 small improvements regarding widget collapsing (#3666)
* small improvements regarding widget collapsing

* moved variables initialization to widget.cpp constructor
2018-12-31 12:12:08 +01:00
Benau
220a628f47 Add atomic for team and handicap in NetworkPlayerProfile 2018-12-31 14:56:28 +08:00
Benau
5410a34f9e Make kart selection screen usable with live join 2018-12-31 14:40:00 +08:00
Benau
2ceeabf882 Split kart assignment for live join 2018-12-31 14:05:21 +08:00
Benau
a4a60ae6f6 Separate load world message creation 2018-12-31 13:15:08 +08:00
Benau
7a60c4a35a Add shouldSaveSate with ticks for checking 2018-12-31 10:41:44 +08:00
Deve
17b83ac321 Don't crash when calling popMenu() with empty stack.
Maybe quit button in main menu gets two click events while it's waiting for app destroy event.
2018-12-31 00:06:42 +01:00
Benau
5458fcea4e Simplify waiting players joining 2018-12-31 01:21:17 +08:00
Benau
d9f1d18d9b Use placeholder tux for reserved players 2018-12-30 16:37:13 +08:00
Benau
414380e85a Fix memory leak of server only build network console exit 2018-12-30 13:03:57 +08:00
Benau
bd6264b3b0 Remove old method in GameSetup 2018-12-30 11:53:28 +08:00
Benau
50aa334912 Use new method to start game 2018-12-30 11:13:18 +08:00
Benau
b7da5b243d Fix compilation error 2018-12-30 10:56:08 +08:00
Mrxx99
2546c1280a Collapsing widget function (#3664)
* added function to collapse a widget more easily

* improved setCollapsed and added overload to specify the uncollapsed height

* used new collapse functions in online track_screen
2018-12-29 18:24:58 -05:00
Benau
9a4013843e Kick idling peers in server with new method 2018-12-29 16:10:41 +08:00
Benau
346f763cef Save grand prix scores in server with new method 2018-12-29 15:53:12 +08:00
Benau
c6b3fba304 Use player name from RemoteKartInfo 2018-12-29 14:05:28 +08:00
Benau
9068483d56 Implement live change kart model of kart 2018-12-29 13:14:07 +08:00
Benau
43761e4d9e Use ServerConfig::m_max_ping for delaying server if supports live join
So any players having ping below that value can play the game smooth
2018-12-26 16:22:15 +08:00
Deve
4a546f6802 Tweak touch device sensitivity after recent smooth turning 2018-12-26 01:20:10 +01:00
Deve
a78602a2b5 Restore selected track when changing tracks group in voting screen 2018-12-26 00:48:10 +01:00
Deve
92cf59f63d Keep information about item badge when scrolling ribbon widget 2018-12-26 00:29:39 +01:00
Benau
7306d9e650 Fix max speed increase duration handling 2018-12-26 01:34:40 +08:00
Benau
e7ef80720a Don't draw more laps than max laps in network race 2018-12-25 13:31:08 +08:00
Benau
b08dd1c410 Use 16bit signed integer for ticks in MaxSpeed 2018-12-25 13:13:37 +08:00
Benau
be089ae9bd Save only the minimum for basketball rewind 2018-12-25 12:08:28 +08:00
Benau
ddeab51917 Send new scores as a whole and optimize 2018-12-25 11:31:20 +08:00
Benau
bff2a5f9f2 Use Y/N for voting screen 2018-12-25 10:50:44 +08:00
Benau
c98c20e6a5 Disable smoothing body for network when animation is playing 2018-12-25 10:02:19 +08:00
Deve
dba4d05852 Use shorter name for unnamed player 2018-12-25 01:18:17 +01:00
Benau
b69216f242 Add document for uid of rewinder 2018-12-25 01:24:14 +08:00
Benau
f8f571e40e Remove the unneeded disconnected elimination event
It can be implictly told by server state if Kx rewinder is missing
2018-12-25 00:51:31 +08:00
Benau
d6946198c5 Make flag a rewinder
It remove the capturing delay and allow ctf in local splitscreen
2018-12-24 16:01:21 +08:00
Kevin Zheng
9cec9c5cea Add option to disable light scattering (#3662)
* Fix typo

* Match name in irr_driver

* Add option to disable light scattering
2018-12-23 21:26:22 +01:00
Kevin Zheng
85fc39c356 Use floating trigonometric functions 2018-12-22 22:43:06 -06:00
Benau
2bc01f5f98 Fix no plunger replay with local state 2018-12-23 12:04:31 +08:00
Benau
c42c5b7d82 Fix android compilation 2018-12-22 11:28:32 +08:00
Benau
44ce4f1f37 Update translation source 2018-12-22 11:20:26 +08:00
Benau
12a67d6e6b Merge remote-tracking branch 'origin/network' into voting_gui 2018-12-22 10:48:12 +08:00
Benau
86198881f4 Merge remote-tracking branch 'origin/master' into voting_gui 2018-12-22 10:35:09 +08:00
Benau
31e14b14c6 Make explosive items timeout configurable in stk_config 2018-12-22 10:33:01 +08:00
Benau
3292c8f0c3 Merge remote-tracking branch 'fouks/prevent-early-explosive-items' into voting_gui 2018-12-22 10:06:47 +08:00
Benau
64acb295a8 Change default voting timeout 2018-12-22 09:56:59 +08:00
Benau
f3bb19125c Add network debugging info with speed stats 2018-12-22 09:12:24 +08:00
Benau
e38edaae2c Move state frequency to ServerConfig which clients can adapt 2018-12-22 01:03:15 +08:00
Benau
c46a5eafdb Use a fixed 10 packets per second for ping packet 2018-12-21 22:53:28 +08:00
Benau
86957c9d5e Rewrite the remaining documentation in STKHost 2018-12-21 22:11:18 +08:00
Benau
a85dbcc0f7 Add the possibility to correct invalid reverse at server side 2018-12-21 21:55:55 +08:00
Benau
2eba8c179f Disable highlight until render gui during loading is bug free 2018-12-21 19:52:27 +08:00
Benau
e4e03e6209 Highlight selected vote by player
Animation is disabled atm because not working very well
2018-12-21 19:40:52 +08:00
Benau
9029621b59 Use majority agreement for voting 2018-12-21 18:12:58 +08:00
Benau
0e17839136 Show remaining time in progress bar 2018-12-21 12:52:51 +08:00
Benau
1799fe834f Remove auto voting with auto connect
This is not needed anymore with current setup
2018-12-20 16:16:03 +08:00
Benau
7954b118a8 Use only official tracks for default vote
So network AI won't have trouble finishing some bad wip / addons tracks
2018-12-20 15:42:10 +08:00
Benau
57765c98bf Fix possible crash when unloaded 2018-12-20 14:55:06 +08:00
Benau
6342e04fea Remove or adjust more invalid vote settings 2018-12-20 12:45:27 +08:00
Deve
f3ef25d525 Always smooth turning.
It fixes turning for non-analog gamepads and gives more consistency for online gaming, because you can't turn fully left/rigtht immediately with analog controllers. Should be better for android too, because it's kinda less sensitive.
2018-12-19 22:49:15 +01:00
Benau
d54a5028d2 Allow voting to agree with someone by selection id of list 2018-12-19 16:47:44 +08:00
Benau
e91c9aa95a Add plop sound effect for 1st vote if this screen is on 2018-12-19 14:07:10 +08:00
Benau
cfdd66f770 Center icon for ffa / ctf 2018-12-19 13:43:17 +08:00
Deve
95e2aec95a There is 3 pixels margin which is not wanted when icon is centered.
Minor thing, but it matters for very low resolutions with very short column width.
2018-12-19 00:05:40 +01:00
Deve
9a304b8483 Some minor improvements in online tracks screen 2018-12-18 23:05:36 +01:00
Deve
6543bdd932 Allow to draw centered icons in list box 2018-12-18 22:38:52 +01:00
Deve
2acc4ce966 Some fixes when computing cells width in list box 2018-12-18 22:34:30 +01:00
Deve
028c999a3e Take target icon size into account when computing positions in sprite bank 2018-12-18 22:15:31 +01:00
Benau
13f0276aac Update player votes with icon 2018-12-18 01:57:04 +08:00
Benau
f53060e0df Add icon header to the list 2018-12-17 16:38:38 +08:00
Benau
4eff620ee6 Allow progress bar widget to be set invisible 2018-12-17 15:52:28 +08:00
Benau
a3a36e33a6 Clean up tracks screen and lobbies 2018-12-17 15:23:19 +08:00
Benau
a98baf847f Allow using icon in list header 2018-12-17 13:00:15 +08:00
Deve
efd502c808 Use larger list for android in two more places 2018-12-17 00:36:12 +01:00
Deve
3dffb6c480 Avoid skidding in wrong direction.
It was possible when kart speed was near getSkidMinSpeed() when you left up left/right key, because skidding key was autorepeating.
2018-12-16 22:05:09 +01:00
Deve
3fa4fa0e54 Revert "Fix #3168"
This reverts commit 59f29ca975.
2018-12-16 22:04:57 +01:00
Deve
093f815d2c Restore larger row height for android 2018-12-16 21:57:19 +01:00
Deve
1a12f65c87 Revert "Avoid skidding in wrong direction."
This reverts commit 24926bcb1d.
2018-12-15 23:57:49 +01:00
Deve
19c853949c Revert "Revert "Fix #3168""
This reverts commit 769d40e3c5.
2018-12-15 23:57:37 +01:00
Deve
24926bcb1d Avoid skidding in wrong direction.
It was possible when kart speed was near getSkidMinSpeed() when you left up left/right key, because skidding key was autorepeating.
2018-12-15 23:04:08 +01:00
Deve
769d40e3c5 Revert "Fix #3168"
This reverts commit 59f29ca975.
2018-12-15 22:50:00 +01:00
hiker
0eca431627 Tried to fix compilation problems due to merging. 2018-12-16 02:36:16 +11:00
hiker
4269ac6294 Merge remote-tracking branch 'origin/master' into voting_gui 2018-12-16 02:06:50 +11:00
hiker
8ae6942442 Work around: all GUIs are being removed when the race starts, but
the TracksScreen should stay (to show the random vote result animation
later). For now the screen is re-added, long term should have a better
solution.
2018-12-16 01:37:42 +11:00
hiker
10bca0f334 End of voting now only is triggered when the voting time ends,
not when all votes have been received.
2018-12-16 01:36:52 +11:00
hiker
ca0cc215db Fixed compiler warning. 2018-12-16 01:36:33 +11:00
hiker
4bd57b9f67 Remved VoteOverview screen, and migrated voting related code
to TracksScreen. No display of votes yet.
2018-12-16 01:34:51 +11:00
Alayan
8f55f24984 Make the addons list slightly more compact 2018-12-15 10:24:23 +01:00
Alayan
19b0c1a465 Several improvements to the server selection screen 2018-12-15 08:05:37 +01:00
Alayan
830c85a262 Make list line height and alternate darkness .stkgui options 2018-12-15 08:04:08 +01:00
Benau
e34e08253e Fix server only build 2018-12-15 11:30:51 +08:00
Benau
81efd3fce4 Fix #3646 2018-12-15 11:27:48 +08:00
Deve
ac809f429c Use a context for column names translations in server selection screen.
It allows to use shorter text while not breaking translations in other places.
2018-12-14 21:53:34 +01:00
Alayan-stk-2
b0055f2089
Improve english 2018-12-14 15:30:42 +01:00
Benau
aa27958675 Fix #3647 2018-12-14 22:06:59 +08:00
Benau
176af22c8d Add the framework for displaying estimated game started info 2018-12-14 19:22:59 +08:00
Benau
8f5ee309a8 Add live changing handicap 2018-12-13 16:36:16 +08:00
Benau
d1d4ba4422 Don't assume STKPeer exists with NetworkPlayerProfile
This is not true when disconnect happens at the same time
2018-12-13 14:14:33 +08:00
hiker
c4e5a24059 Made the window responsive. 2018-12-13 09:40:45 +11:00
hiker
89ad9fe602 Increased protocol version number. 2018-12-13 09:22:03 +11:00
hiker
a041832f36 Commented out more debug output. 2018-12-13 09:16:57 +11:00
Benau
2b4bd417c9 Catch possible thrown xml creation found by google play console 2018-12-13 01:26:37 +08:00
Benau
7e7c07a116 Move reset active players to main thread 2018-12-12 16:41:40 +08:00
Benau
faeaed1117 Use graphical type directly for mesh handling 2018-12-12 15:23:13 +08:00
Benau
6a8305edab Don't set previous owner when collected an item
This is used for bubble gum and nolok detection only
2018-12-12 15:11:57 +08:00
Alayan
4b459b6988 Fix #3642 2018-12-12 05:02:54 +01:00
hiker
92754e09fd Removed debug output, applied work-around for minimap, and reduce
rendernig frequency.
2018-12-11 11:39:32 +11:00
hiker
89cc549ebc Support floating point values for the progress bar. 2018-12-10 22:13:13 +11:00
hiker
386dc279fd Make all unused boxes in the voting GUI invisible. 2018-12-10 18:26:18 +11:00
hiker
4b74c673fe Fix crash for player with last vote (which means VoteOverview
is articially pushed).
2018-12-10 11:07:14 +11:00
hiker
f6398f3661 Fixed compiler warnings. 2018-12-10 10:51:54 +11:00
hiker
282e178468 Fix compilation problem (apparently forgot to save when I comitted
the file).
2018-12-10 10:51:01 +11:00
hiker
8b387241ad Avoid crash if a player selects 'submit' before selecting a track. 2018-12-10 10:23:22 +11:00
hiker
f01465fc93 Re-enable end of voting as soon as s vote from each player is received. 2018-12-10 09:14:52 +11:00
hiker
b413cc7328 Only sent vote when submit is clicked (otherwise voting could ended
by a player clicking on a track, without the opportunity to select
2018-12-10 08:26:30 +11:00
hiker
c37b735bb9 Reset 'left over' highlights from previous voting screen. 2018-12-10 08:24:57 +11:00
hiker
ed29c280b3 Added initial voting animation while loading the track. 2018-12-10 00:29:14 +11:00
Deve
f85f345bdf Fixed a crash when opening user screen after changing advanced lighting 2018-12-08 21:33:39 +01:00
Benau
76406db939 Update documentation 2018-12-07 01:37:16 +08:00
Benau
7df81bcb7c Set m_server_configurable flag in correct place for GUI server 2018-12-07 01:23:42 +08:00
Benau
083e1180fb Add the GUI to update server config in lobby 2018-12-07 00:54:48 +08:00
Benau
66f7aea3bb Add online request to live update server config 2018-12-07 00:52:44 +08:00
Benau
7fa92366ed Make possible to remove disconnected player vote 2018-12-07 00:28:49 +08:00
hiker
c0816995ac Code cleanup. 2018-12-06 18:39:59 +11:00
Benau
a69db65c71 Reset extra server info each game for live changing 2018-12-06 14:52:28 +08:00
hiker
f6e758a9d6 Added a phase and optional iteration index/max-iteration to
renderGUI to allow for smooth display of progress bar.
2018-12-06 09:58:29 +11:00
Benau
6be39f7ef8 Enable kick-idle-player-seconds only for WAN server 2018-12-06 01:14:01 +08:00
Benau
3d64340137 Add the framework in server lobby for live update config 2018-12-05 14:19:01 +08:00
Benau
b341ec8e8c Don't resend enet event if for a disconnected peer 2018-12-05 13:17:19 +08:00
Benau
72f1dc66cc Kick idle player which has no network activity to server 2018-12-05 11:12:44 +08:00
hiker
0582c4018d Fixed crash when using higher graphical details. 2018-12-05 12:52:49 +11:00
Benau
a7311238cf Warn high ping user earlier 2018-12-05 08:35:11 +08:00
hiker
edad214001 Allow the gui to be updates while loading a track, and use this
to show a simple (and still stuttering) animation while loading
a track,
2018-12-05 09:51:41 +11:00
hiker
62e029a523 Fixed compiler warnings. 2018-12-05 09:40:16 +11:00
hiker
7dd86da55c Added 'select' state for skins, which will be used in the voting overview gui. 2018-12-05 08:36:59 +11:00
Deve
a85746ca83 Make sure that we don't use screen widget when dialog window is opened.
It fixes #3639
2018-12-03 22:02:20 +01:00
hiker
b0cc2eb441 Added an 'ok' badge to the selected track. 2018-12-04 00:27:12 +11:00
Benau
68a837607e Fix non-reset ignore height for flyable 2018-12-03 15:26:04 +08:00
Benau
9ae13052cc Use full path for default SP material if possible 2018-12-01 15:15:44 +08:00
Benau
546cd94f39 Use a separate max texture size for SP 2018-12-01 14:21:05 +08:00
Deve
ddbe42680d Add experimental support for system screen keyboard on android.
Disabled by default, needs screen_keyboard = 3 in config.xml
2018-12-01 00:43:17 +01:00
hiker
da7a77963e And another compiler fix. 2018-12-01 10:16:07 +11:00
hiker
585e346b75 More compiler fixes - gee, why is VS accepting all of this?? 2018-12-01 10:11:36 +11:00
hiker
31f55f14ae Another compiler fix. 2018-12-01 10:08:18 +11:00
hiker
890107da71 More compiler error fixes. 2018-12-01 10:05:03 +11:00
hiker
094aef0ccd Try to fix compilation with older compilers. 2018-12-01 09:54:54 +11:00
hiker
d6d879d2ed Show votes in vote overview screen. This is NOT fully working,
and contains debug output.
2018-12-01 09:32:21 +11:00
Benau
b3e41db14b Add EMT_STK_GRASS for GLES2 to draw grass material without vertex color
Now EMT_TRANSPARENT_ALPHA_CHANNEL_REF in GLES2 can be used with vertex
color
2018-11-30 23:33:30 +08:00
Benau
874895ba11 Use STKTextBillboard for legacy pipeline for correct glyph metrics 2018-11-30 23:01:43 +08:00
Benau
a906e607df Fix rectangle face culling 2018-11-30 19:00:05 +08:00
Benau
8b825bf7df Fix meter missing in race gui for GLES 2 2018-11-30 18:47:15 +08:00
Benau
8bf4f36259 Fix missing bubblegum dropping before state 2018-11-29 14:57:24 +08:00
Deve
443919b6b7 Update chat and counter even if there is dialog window opened 2018-11-28 23:55:29 +01:00
Alayan
7d67137420 Fix #3634 2018-11-28 08:06:57 +01:00
Fouks0
1a1775e5cc Fix a bug that allowed to fire powerups before start, don't penalize anymore if honking before start (#3632)
Signed-off-by: Fouks <42526046+Fouks0@users.noreply.github.com>
2018-11-27 19:45:39 -05:00
Fouks
dc9513ec8d Prevents cakes and rubber balls to appear early by replacing them by bowling balls
Signed-off-by: Fouks <42526046+Fouks0@users.noreply.github.com>
2018-11-27 23:57:34 +01:00
hiker
e20d6a437a Removed debug code. 2018-11-28 08:17:21 +11:00
hiker
bd0641f12a Store voting data in lobby protocol so it is available on client
and server. Voting behaviour is now to start the race as soon as
all votes are in.
2018-11-28 08:13:59 +11:00
Benau
7d1e7df010 Merge remote-tracking branch 'origin/master' 2018-11-27 15:17:48 +08:00
Benau
e5c601b35e Fix #3619 2018-11-27 14:45:23 +08:00
Benau
9e066706aa Prevent clients removing too many official assets 2018-11-26 16:38:11 +08:00
Benau
9ed9787b6f Fix compiler warning 2018-11-26 11:56:04 +08:00
Benau
dba713f72e Fix #3589 2018-11-26 11:55:43 +08:00
Deve
a59cbdffe5 Fixed spinner widgets focus in kart selection 2018-11-25 22:21:48 +01:00
Benau
950695769c std::shuffle players list for randomized starting position 2018-11-25 16:12:39 +08:00
Benau
4c534dc28c Handle first-team assignment better when joining in the middle of game 2018-11-25 15:49:04 +08:00
Benau
1f1734e5a7 Fix #3621 2018-11-25 15:10:03 +08:00
Benau
940170cf61 Fix #3617 2018-11-25 13:20:17 +08:00
Alayan
073708c97e Implement dynamic basket ball speed, fix #2783 2018-11-25 02:29:19 +01:00
Alayan-stk-2
26b660531a
Fix outdated information about the location of the internet option 2018-11-24 19:21:46 +01:00
Benau
6f50c234a3 Fix #3452 2018-11-25 02:00:33 +08:00
auria.mg
8998f095f3 Merge branch 'DisableInternetConnection' 2018-11-23 19:26:46 -05:00
auria.mg
2781f5e8a5 Amend previous fix 2018-11-23 19:12:05 -05:00
auria.mg
562fe8a4c8 Fix STK hanging on shutdown when networking disabled 2018-11-23 19:07:58 -05:00
auria.mg
9d51713300 Fix logout when disabling internet 2018-11-23 18:52:17 -05:00
Deve
88906c7530 Don't show change resolution button on android 2018-11-23 22:37:44 +01:00
Alayan
3ce1867e74 Coding style improvements 2018-11-23 22:08:51 +01:00
Benau
313ca1d902 Fix #3595 2018-11-24 02:39:32 +08:00
Benau
6886e1952e Fix isBattleMode for easter mode 2018-11-24 02:28:51 +08:00
Benau
689376dd0f Make FFA and CTF minor mode 2018-11-24 01:41:36 +08:00
Benau
17075082e6 Update documentation on STKHost 2018-11-24 00:26:29 +08:00
Alayan
1e178cdcf9 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2018-11-23 17:20:33 +01:00
Alayan
0eb1a916d3 Make some minor modes misc, fix #3564 2018-11-23 17:19:37 +01:00
Alayan
5ea5b69200 Fix the possibility to get 1 lap/race achievements in battle/soccer/egg hunt 2018-11-23 16:57:19 +01:00
Benau
4313fad196 Update translation 2018-11-23 23:48:06 +08:00
Benau
e47a7b26a0 Add variation for tie vote instead of always from "less" one 2018-11-23 22:17:21 +08:00
auria.mg
3ff0724cb4 Fix cases where stk connects to the internet while the user forbid it, see #3319 2018-11-22 20:32:38 -05:00
Alayan
8995027d42 Fix typos 2018-11-23 00:44:24 +01:00
Alayan
05e27df214 Fix #3513 2018-11-23 00:42:09 +01:00
Deve
503dc25106 Fixed a crash when loading localized names 2018-11-22 23:24:38 +01:00
Deve
8f90b5f9ab Make sure that files are flushed before exit 2018-11-22 22:34:10 +01:00
Deve
7a2ae14d7c Always restore assign mode when closing the screen 2018-11-22 20:16:49 +01:00
Alayan
329918f7aa Replace rubber ball by basket ball in log messages 2018-11-22 04:51:10 +01:00
Alayan
f2a9ddaa75 Fix #3604 2018-11-22 04:29:29 +01:00
auria.mg
faf5c440c2 Reduce kart name tags in multiplayer when using shaders, since they were too large 2018-11-21 21:30:59 -05:00
hiker
fa7d3eef73 Added 'voting result' screen, though it does not have any functionality atm. 2018-11-22 09:17:58 +11:00
Deve
8771f0b9d7 Fixed possible crash when using splitscreen with network multiplayer 2018-11-21 22:12:02 +01:00
Deve
3a3953f38c Fix for system glew 2018-11-21 21:07:55 +01:00
Benau
d73e0d9413 Fix compiler warning 2018-11-22 02:46:42 +08:00
Benau
c0e8924c0f Clean up ConnectToServer 2018-11-22 02:43:11 +08:00
Benau
f14daeca26 Push to lobby for enter server ip address dialog too 2018-11-22 02:42:37 +08:00
Benau
cd1b401cc8 Push to lobby for --connect-now 2018-11-22 02:41:37 +08:00
Ryan
271b032ef3 Achievement sorting (#3533)
The comparison for goals and progress still has to be changed from alphanumerical to a progress status.
2018-11-21 15:33:26 +01:00
hiker
772e2fb3f5 Fixed ghost-recording, which uses the network track screen. 2018-11-20 09:46:35 +11:00
hiker
0e2beceb9d Added progress bar (showing remaining time) to kart selection screen. 2018-11-20 09:32:31 +11:00
Deve
95ecd55ce8 Remove early return that causes wrong spinner widget behavior. 2018-11-19 21:57:55 +01:00
Deve
70e82142d1 Get default widget from modal dialog when it's active 2018-11-19 21:57:55 +01:00
Benau
d80691fb7b Allow network ai to auto go back lobby quickly 2018-11-19 12:22:23 +08:00
Deve
337e577d6f Assume that there are always 2 text lines in touch gui.
It fixes overlapping text in CTF/Soccer.
2018-11-18 21:42:42 +01:00
Benau
45a1190374 Optimize plunger state saving 2018-11-19 01:38:13 +08:00
Benau
f1c164ca6e Merge remote-tracking branch 'origin/master' into dev 2018-11-19 00:38:18 +08:00
Alayan-stk-2
cc1f2f63b9
Fix behavior when no acceleration/braking above the "stop" speed limit
The kart accelerating when going backwards was a sign issue (missing fabsf) and was already fixed in bb1aac3857

Setting the engine force to 0 in all cases causes issues when not accelerating/braking at higher speeds.
2018-11-18 03:40:46 +01:00
Alayan-stk-2
853a08d398
Don't save highscores for eliminated karts, fix #3560 2018-11-18 03:25:38 +01:00
Alayan-stk-2
3363782407
Fix #3586 2018-11-18 01:10:16 +01:00
Deve
9ca7e2b424 Fixed spinner widgets in modal dialogs 2018-11-18 00:29:49 +01:00
Deve
0c57d55a9d Allow to change player name in kart selection with keyboard or gamepad.
Currently spinner widgets use select button instead of left/right buttons to change values, so that we can't handle player confirmation when spinner is hovered.
2018-11-18 00:03:08 +01:00
hiker
65dc27a3c8 Removed earlier end of voting when majority agrees, but instead
start immediately when all votes are in.
2018-11-17 23:26:22 +11:00
hiker
f4b02c096a Merge branch 'dev' of github.com:supertuxkart/stk-code into dev 2018-11-17 22:55:28 +11:00
hiker
0787d7c8e3 Fixed kart accelerating when rolling (without acceleration) backwards,
and karts not being able to stop properly.
2018-11-17 22:54:46 +11:00
Benau
9c3bae5a87 Use actualy screen size instead of frame size for font scaling 2018-11-17 13:50:50 +08:00
Benau
e6dadeb980 Use a larger radius for CTF 2018-11-17 12:43:03 +08:00
Benau
7f6c479a80 Merge remote-tracking branch 'origin/dev_item_normal' into dev 2018-11-17 11:52:57 +08:00
Alayan-stk-2
93ae275927
Fix #3542 2018-11-17 02:07:06 +01:00
Alayan-stk-2
bb1aac3857
Fix the kart accelerating instead of slowing down when going backwards 2018-11-16 20:56:43 +01:00
Benau
22999c1e2b Fix #3581 2018-11-17 01:40:51 +08:00
Benau
99eefa3797 Add missing isNetworking 2018-11-17 01:07:06 +08:00
Benau
e77eb2ccf6 Allow server owner to force soccer time / goal limits 2018-11-17 00:48:48 +08:00
Benau
eb6b930b6a Show kart name next to icon after finishing a race 2018-11-16 23:34:05 +08:00
Benau
eb0000f8e0 Move arena / soccer scores (limit) to have their own place 2018-11-16 22:58:27 +08:00
Benau
f94e226e22 Add ready status to player icon 2018-11-16 20:56:21 +08:00
hiker
0221e2f6d1 Merge branch 'master' of github.com:supertuxkart/stk-code 2018-11-16 23:48:47 +11:00
Benau
eb8b68dcb6 Allow text box widget to process left / right events 2018-11-16 19:46:48 +08:00
hiker
0da03e14ca Use a central timeout controller (in LobbyProtocol) to be used by
both client and server. Voting time now starts from the moment the
kart screen is shown (not on first player having finished voting).
Improved coding style.
2018-11-16 16:57:23 +11:00
Benau
264b79ef0d Replace exit button with server configuration for future usage 2018-11-16 12:48:53 +08:00
Alayan
d8c9fd7fb6 Split UI options into general options (new default tab) and UI options 2018-11-16 03:20:39 +01:00
hiker
cf52ff16b7 Fixed compiler warnings. 2018-11-16 09:36:26 +11:00
Benau
2da8808592 Remove unneeded mask 2018-11-16 01:38:46 +08:00
Benau
ec7216361d Merge remote-tracking branch 'origin/dev_item_normal' into dev 2018-11-15 12:43:09 +08:00
hiker
c2481ba68c Fixed compilatione error. 2018-11-15 11:59:06 +11:00
hiker
b215bf4d22 Fixed compiler warnings. 2018-11-15 09:39:48 +11:00
hiker
12c3a30385 Also transfer the normal for an item from server to client. 2018-11-15 09:06:41 +11:00
Benau
b91e018a18 Use only y-axis for timed rotation 2018-11-14 16:07:02 +08:00
Benau
7b4a4e3727 Fix connect to server message overshoot in text box 2018-11-14 16:02:12 +08:00
Benau
5e711088bf Use better english as alayan suggested 2018-11-14 16:01:36 +08:00
Benau
721270c5a9 Fix #3566 2018-11-14 15:03:33 +08:00
Alayan
acd749d75f Fix #3518 2018-11-13 22:21:44 +01:00
Deve
814916a2a6 Try to fix some crashes when closing android activity 2018-11-13 21:53:55 +01:00
Alayan
cef9d81e9a Make default sound level less loud, fix #3553 2018-11-13 21:37:07 +01:00
Alayan
e56a9bdf58 Fix #3549 2018-11-13 16:11:28 +01:00
Alayan
5db7358921 Fix #3559 2018-11-13 15:50:24 +01:00
hiker
4a4bc7248c Merge remote-tracking branch 'origin/lossless_compression' into dev 2018-11-13 23:04:38 +11:00
hiker
f1b97cdd44 Merge branch 'Characteristics' of git://github.com/STK-helper/stk-code into dev 2018-11-13 22:52:44 +11:00
hiker
81d706191a Merge branch 'fix_cushioning' into dev 2018-11-13 22:24:00 +11:00
hiker
463301091b Merge branch 'master' of github.com:supertuxkart/stk-code 2018-11-13 22:22:20 +11:00
Benau
dff63b87db Fix broken logic 2018-11-13 16:04:31 +08:00
hiker
266dc02a44 Removed support for cushioning falls, instead increase max suspensiom
force and damping compression to allow karts to fall without colliding
with the terrain. Needs an increase in network protocol version.
2018-11-13 18:35:41 +11:00
hiker
5c14ce86d7 Merge branch 'master' of github.com:supertuxkart/stk-code 2018-11-13 17:55:56 +11:00
Benau
1cb1923239 Fix #3554 2018-11-13 14:15:34 +08:00
Benau
9de7376b0a Make a lossless compression for btKart state saving 2018-11-13 12:56:40 +08:00
Alayan
b4df116661 Fix #3556 2018-11-13 02:14:23 +01:00
Alayan-stk-2
978b3b59a2
Merge pull request #41 from supertuxkart/master
Sync branches
2018-11-13 00:58:24 +01:00
QwertyChouskie
23cf84590d Fix message (#3552)
* Fix message

* Tweak
2018-11-12 18:39:59 -05:00
Benau
ac02df76aa Reverse addons date sort order for the arrow 2018-11-13 00:33:51 +08:00
Benau
967c61a361 Reverse the arrow as tester reported 2018-11-13 00:26:32 +08:00
Benau
022e0777bd Move smoothing variable to stk_config 2018-11-12 15:58:23 +08:00
Benau
ff71592d49 Make adjust length threshold configurable 2018-11-12 15:39:01 +08:00
Benau
fe805abc09 Fix #3546 2018-11-12 12:11:08 +08:00
Benau
7b3540e4ee Fix #3545 2018-11-12 11:37:34 +08:00
Deve
0128a729a0 Don't tell about unlocked karts/tracks when they are unlocked globally 2018-11-12 00:44:05 +01:00
Benau
a38c447b60 Set position first for correct end kart animation 2018-11-12 00:25:19 +08:00
Deve
90fb3f2c55 Make sure that achievements depth is never greater than 2.
Current GUI doesn't allow it and it has no sense anyway.
2018-11-11 01:41:49 +01:00
Deve
bf26e4add3 Some fixes for achievements screen.
Give a bit more space for text, use separate table for main goal, avoid overlapped text in main goal table etc.
2018-11-11 01:38:27 +01:00
Benau
87ce3931e5 Add maximum number of moveable objects in networking games 2018-11-09 21:17:38 +08:00
Benau
9061d527df Fix #3543 2018-11-09 09:51:05 +08:00
Benau
19c06ebed6 Remove an unneeded if 2018-11-09 01:06:23 +08:00
Benau
84840cfab9 Make translation thread safe 2018-11-08 16:36:00 +08:00
Benau
0f2bf9e899 Fix compiler warning 2018-11-08 15:41:08 +08:00
Alayan-stk-2
c724585bfc
Fix #3536
The more accurate finish time stored as a variable wasn't reset between races.
2018-11-07 19:01:27 +01:00
Benau
189b90b2c5 Convert more getRealTime to getRealTimeMs 2018-11-08 01:37:21 +08:00
Benau
866df61527 Make isPlaying of music thread safe 2018-11-08 01:00:17 +08:00
Alayan-stk-2
01c79c746f
Simplify getTexture calls 2018-11-07 15:12:39 +01:00
Mrxx99
998d27dc5f added lap icon to the the kart icons in RaceUI that have finished the race already (#3538)
* added lap icon to the the kart icons in RaceUI that have finished the race already

* fixed identation

* implemented Aurias feedback
2018-11-05 18:22:59 -05:00
Deve
6ae89331c0 Fixed word wrap in achievements description and make close button slightly bigger. 2018-11-03 23:25:50 +01:00
Benau
1c8f2afd28 Don't show thunderbird when waiting for others 2018-11-03 16:31:51 +08:00
Benau
8507a08c5c Move skidding particles to updateGraphics to avoid rewinding issue 2018-11-03 16:19:52 +08:00
Deve
b7856d4991 Make sensitivity independent of deadzone for touch device 2018-11-03 00:06:17 +01:00
Deve
f05172b93f Use higher sensitivity for y axis on touch device 2018-11-02 22:10:41 +01:00
Benau
a7bbe54ea6 Fix stuttering of item rotation for big nitro switched by bubblegum 2018-11-02 15:59:32 +08:00
Benau
a13af6bfc8 Fix dropping big nitro with switch on 2018-11-02 01:41:43 +08:00
Benau
90daf4ce87 Fix item model no update if missing the switch event 2018-11-01 15:48:27 +08:00
Deve
e4eb1513fc Some fixes for tracks screen.
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.
2018-10-31 23:21:56 +01:00
hiker
724a5d94ba Merge branch 'master' of github.com:supertuxkart/stk-code 2018-10-31 23:20:53 +11:00
Benau
0b2a691b24 Fix compiler warning 2018-10-31 12:47:26 +08:00