Commit Graph

15989 Commits

Author SHA1 Message Date
Benau
f54af02b45 Use sqlite3_open_v2 with SQLITE_OPEN_SHAREDCACHE 2019-05-10 16:16:09 +08:00
Benau
66c34c7443 Always call sqlite3_finalize to avoid deadlock 2019-05-10 15:35:02 +08:00
Benau
21a23dc9e6 Add optional ip geolocation table support 2019-05-10 11:35:04 +08:00
Benau
005418d611 Use sqlite3_bind_text to allow special characters in text 2019-05-10 09:30:02 +08:00
Benau
ef9b80e5af Add server uid to player reports table 2019-05-10 01:31:38 +08:00
Benau
44618c2a52 Rename to country code for a better name 2019-05-10 00:43:21 +08:00
Benau
a569d1f823 Clear expired player reports if necessary 2019-05-09 16:23:07 +08:00
Benau
bf3466d4d1 Write report info to table 2019-05-09 15:45:02 +08:00
Benau
65e53f19e5 Add framework for reporting player 2019-05-09 14:36:47 +08:00
Benau
fce5827c7d Allow using empty ban table name to disable its functionality 2019-05-09 13:09:50 +08:00
Benau
c90d32e35d Add easySQLQuery for simple sql query 2019-05-09 12:29:29 +08:00
Benau
c38278fbc1 Add report_player network capabilities 2019-05-09 11:22:19 +08:00
Benau
bb3566ac81 Add report player function in dialog 2019-05-09 10:04:19 +08:00
Benau
e97e84f194 Fix #3907 2019-05-08 14:19:49 +08:00
Benau
7113c4bcec Fix typo 2019-05-08 13:04:12 +08:00
Benau
a2b951d769 Add per minute database cleanup 2019-05-08 12:51:50 +08:00
Benau
569042afa4 Fix powerup zipper fire missing in remote karts 2019-05-07 16:17:28 +08:00
Alayan
83d5c07046 Cleaner sorting code for 3SB kart rank 2019-05-06 20:56:19 +02:00
Benau
6f8d0892a2 Fix sign of time with mono clock 2019-05-06 16:41:29 +08:00
Benau
ebf95ee958 Use monotonic clock to avoid system time changes 2019-05-06 15:17:19 +08:00
Benau
2bfa7dd5f8 Add first and last played time to player stats view 2019-05-06 14:45:11 +08:00
Benau
ab9e8b7dcf Add some useful default view from stats table 2019-05-06 12:52:29 +08:00
Benau
f34e0e9dc0 Hide rewind queue warnings if not connection debug 2019-05-06 12:26:11 +08:00
Benau
9e06fe9b6f Add current query to error log message 2019-05-06 01:16:27 +08:00
Benau
932b17a7e5 Don't show verbose player info in log if database management 2019-05-06 00:52:11 +08:00
Benau
f6e8ff2936 Add server stats table and writing handling 2019-05-06 00:46:29 +08:00
Benau
f397064850 Remove old ban list 2019-05-06 00:20:30 +08:00
Benau
bcc3aef4c8 Add sqlite3 for ip / online id ban table 2019-05-06 00:19:58 +08:00
Benau
7d19ccaad8 Make controller events conditional wait to avoid being stalled 2019-05-05 15:46:59 +08:00
Alayan
fb7c82786a Simplify selection of the most appropriate set of egg in egg hunts 2019-05-05 00:15:07 +02:00
Alayan
f27a51f680 Fix #3904 (less harsh finish times in networked races, because of auto-end) 2019-05-04 22:30:31 +02:00
Alayan
78b07e5c54 Simplify number of AI in teams computations 2019-05-04 21:24:38 +02:00
Alayan
4e1d91bcaf Fix #3459 2019-05-04 19:27:22 +02:00
Alayan
bc17caa3d0 Add special text for nitro challenges 2019-05-04 18:44:29 +02:00
Alayan
fbb0f48101 Replace lap number indicator by challenge type indicator 2019-05-04 18:24:31 +02:00
Benau
a9d9d1a121 Ignore player finished result screen event during reset 2019-05-04 15:08:54 +08:00
Benau
626309d027 Move resetServer to async thread to avoid mutex locking 2019-05-04 00:52:21 +08:00
Alayan
141f870ad8 Fix #3899 2019-05-03 00:04:05 +02:00
Alayan
d6c0847b66 Remove some useless code 2019-05-02 23:53:52 +02:00
Alayan
5206f22a9c Remove useless code from the overworld UI 2019-04-29 23:40:30 +02:00
Alayan
e60cf7fcc3 Fix #3856 2019-04-29 21:52:24 +02:00
Alayan-stk-2
b4a3214c46
Improve the english for some networking log messages 2019-04-29 21:32:18 +02:00
Benau
d88522768e Add basic checking to prevent fake ranked servers 2019-04-29 16:22:56 +08:00
Alayan
03b7ca4ae4 Fix #3883 2019-04-28 03:37:03 +02:00
Alayan
82d6d220d4 Replace hardcoded ticks value by time2ticks calls 2019-04-28 03:32:09 +02:00
Daniel Butum
647c4bad6c Fix #3842 by always using https links (#3854) 2019-04-19 19:31:26 +02:00
Alayan
321404db9e Fix #3852, several other improvements to the server info dialog 2019-04-18 19:40:55 +02:00
Alayan
5ec783db3d Fix #3491 2019-04-18 18:04:34 +02:00
Deve
ab18b6cba8 Fixed server only build 2019-04-18 06:57:08 +02:00
Deve
a6635ecad7 Don't recreate device for legacy pipeline when video options are changed 2019-04-17 23:30:20 +02:00
Deve
f7e25b14b1 Avoid a crash when exception is thrown during changing resolution or turning advanced lighting on/off.
It will close STK anyway, but at least won't delete already deleted object.
2019-04-17 22:37:20 +02:00
Alayan
b05911fdbd Quick fix for kart being shown unlocked again when completing a challenge at higher difficulty 2019-04-17 18:46:22 +02:00
Alayan
81c4d3ed6f Add comment 2019-04-17 17:33:51 +02:00
Alayan
eba9dfcb25 Fix regression 2019-04-17 17:25:18 +02:00
Alayan
201db403f9 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2019-04-17 17:09:46 +02:00
Alayan
a8217eb334 Shrink some challenge management code 2019-04-17 17:05:34 +02:00
Benau
892b9b3f39 Re-enable server config file version checking 2019-04-17 11:13:19 +08:00
Alayan
67775fc1ea Remove useless story mode unlock code 2019-04-16 17:25:11 +02:00
Alayan
e7a9219f1f Add replay file name next to replay error messages 2019-04-16 16:42:24 +02:00
Benau
e2b694f47f Prevent hangs in networking game if system clock running backwards 2019-04-16 19:16:55 +08:00
Benau
62e3f3fdbe Fix kart color copying 2019-04-16 15:40:02 +08:00
Benau
4db16ce701 Allow resynchronize players list for battle mode before starting 2019-04-16 14:32:32 +08:00
Benau
54375ab682 Split decode and encode players list for later usage 2019-04-16 10:29:46 +08:00
Alayan
78eb83b989 Fix #3831 2019-04-15 23:00:06 +02:00
Alayan
2779487d0b Fix #3823 2019-04-15 17:55:48 +02:00
Benau
aecee4c781 Fix possible division by zero 2019-04-15 11:20:25 +08:00
Benau
49e6bda418 Make collision shape more like a circle if it's large 2019-04-14 12:12:53 +08:00
Benau
dc11040312 Use a special variable to save confirmed finish ticks 2019-04-13 13:12:02 +08:00
Benau
ce03cca29c Disable music phase in no graphics mode
So players can go back to lobby eariler
2019-04-13 01:14:42 +08:00
Benau
5f1ef72014 Add thread safe checking when resetting server 2019-04-13 01:14:30 +08:00
Deve
61cb274313 Don't recreate device when legacy context is already created 2019-04-11 18:22:05 +02:00
Benau
0cbb8e4385 Use a prettier tag for recommended servers 2019-04-11 14:09:14 +08:00
David CARLIER
c905447a4b Enable a bit more stats for BSD systems. (#3833) 2019-04-10 19:01:35 -04:00
Benau
3c8c5eb3c4 Don't set count up ticks for setTime/Ticks
This fix follow the leader broken kart animation
2019-04-10 15:47:13 +08:00
Benau
9f122e0277 Take server distance into account for quick play 2019-04-10 15:21:42 +08:00
Benau
cc1b0806c9 Handle if server has different graph node list 2019-04-10 10:16:23 +08:00
Deve
19b0bc7fa9 Restore selection after votes list update.
It allows to choose vote from list even if someone is spamming with random track button.
2019-04-09 21:18:38 +02:00
Benau
a0b3bdd4c2 Use a better check for lobby ready so server info won't be erased 2019-04-09 16:29:12 +08:00
Benau
744ce6bc1a Fix #3820 2019-04-09 15:16:05 +08:00
Benau
34f262b05b Use the old method to create graphical attachment effects
See #3820
2019-04-09 14:23:39 +08:00
Benau
de1cd8e982 Don't replay goo sound during rewind 2019-04-09 09:14:23 +08:00
Deve
9ba4f023a1 Avoid incorrect kart positions in gpwin cutscene for very high dt 2019-04-08 21:09:44 +02:00
Benau
44fdd1ec85 Try to fix cutscene timing issues 2019-04-09 02:06:59 +08:00
Benau
398b173eec Use special message for kicking high ping and starting game 2019-04-07 10:22:02 +08:00
Benau
230d8f56fa Don't update setText each frame 2019-04-05 17:48:45 +08:00
Benau
fb03b74285 Fix compiler warning 2019-04-05 17:35:59 +08:00
Deve
d9550fbb28 Stop accepting events when we are waiting for destroy event on android.
This is to make sure that there is no eg. multiple events in single loop, so that user could open another screen before window is actually closed.
2019-04-04 22:24:14 +02:00
Benau
b03af63ab7 Fix android exit crash 2019-04-04 07:59:32 +08:00
Deve
f25bdc5653 Revert "Always use current window size."
This reverts commit f974c9200c.
2019-04-03 23:06:13 +02:00
Benau
091e9e0f1e Add the possibility to disable track voting in server 2019-04-03 14:30:46 +08:00
Benau
e0de1318d2 Allow disable chat in server side 2019-04-03 12:38:40 +08:00
Benau
05fad217e3 Make a better class for kart animation creation exception 2019-04-03 10:25:38 +08:00
Benau
d990bcb2a1 Remove hacks for lod completely which breaks legacy pipeline
We will do the proper lod optimization after this release
2019-04-02 08:50:07 +08:00
Benau
625a192cda Add the possibility to disable texture compression for material 2019-04-02 01:59:22 +08:00
Benau
ecc0007b29 Fix crash if top screen is networking lobby --connect-now 2019-03-29 14:38:38 +08:00
hiker
1994fba62b Implemented the work around for #3671 (GP aborted if an unlock screen
is shown between races).
2019-03-29 08:23:05 +11:00
Benau
9148c5f768 Rename config directory name to config-0.10 2019-03-26 15:28:53 +08:00
Benau
0fe162a54a Update server version 2019-03-26 02:51:45 +08:00
Benau
7aa025e13c Merge remote-tracking branch 'origin/master' into network 2019-03-26 02:48:14 +08:00
Benau
d8edde34da Add document for compressed network values 2019-03-26 02:44:52 +08:00
Benau
194d7d6419 Update document for check trigger 2019-03-26 01:55:43 +08:00
Benau
66d6785dda Add document for joinToMainTrack 2019-03-26 01:38:15 +08:00
Benau
7719cd1d81 Don't reset spectate camera in network
So look back camera won't be reset when explosion animation ends
2019-03-26 01:25:10 +08:00
Benau
420ac45ba1 Remove unneeded static_cast 2019-03-26 00:25:06 +08:00
Benau
220f5e6e4c Use hex values for 24bit compression 2019-03-25 23:46:18 +08:00
Benau
4670c9a5e9 Avoid sqrt of length() 2019-03-25 21:13:48 +08:00
Benau
8a00d1e1ab Move referee frame setting to its own class 2019-03-25 16:37:44 +08:00
Benau
3a90e828a4 Remove kart animation when goal phase
This will make sure all karts will be back to own goal at the same
time without animation playing
2019-03-25 16:19:29 +08:00
Benau
16507510a3 Compress current rotation in cannon animation 2019-03-25 12:17:40 +08:00
Benau
84a2b8af84 Reserve code for extra spectators 2019-03-25 11:22:45 +08:00
Benau
042af60417 Clean up icon handling, split spectate icon out of waiting 2019-03-25 01:53:48 +08:00
Benau
366ee5caad Determine live join by server 2019-03-24 16:44:03 +08:00
Benau
6e97c976f5 Undo lean angle applied by parent using matrix instead of setting height
This fixes adiumy rear wheel leaving ground when turning
2019-03-23 11:47:15 +08:00
Benau
2aede6fa25 Make check cannon rewind-friendly without using previous position 2019-03-17 12:35:42 +08:00
Benau
5b4ae2a59f Reset m_state after timeout is reset in setup 2019-03-17 01:27:07 +08:00
Deve
4e7526a712 Replace dot/comma position in screen keyboard 2019-03-14 21:18:30 +01:00
Benau
92ffcb22bc Fix compiler warnings 2019-03-14 14:03:41 +08:00
Benau
96d4ffb1f3 Handle server owner status in player list update 2019-03-14 11:48:47 +08:00
Benau
324d72cc6f Make the iv send in network order 2019-03-14 11:38:58 +08:00
Benau
8446ce9a5c Reserve 1 channel for game replay transfer 2019-03-14 10:39:01 +08:00
Benau
b3ca809da4 Remove unneeded objs at once after the for loop 2019-03-13 16:40:21 +08:00
Benau
9cbd2abe5d Make flag deactivated time configurable 2019-03-13 15:42:59 +08:00
Alayan
0085151bc4 Fix #3750 2019-03-13 03:35:42 +01:00
Deve
bd51bb1633 Fixed compiler warnings 2019-03-12 21:40:17 +01:00
samuncle
2619162ba9 remove stupid code 2019-03-12 00:47:04 +01:00
samuncle
73149481ef disable lod smooth. Need to be fixed for multiplayer, after release 2019-03-12 00:43:15 +01:00
Benau
92460d8823 Clear old events in server 2019-03-11 09:27:43 +08:00
QwertyChouskie
2f1151edbe Disable internet-dependent checkboxes rather than hiding them (#3798)
This feels much more natural.
2019-03-09 20:58:13 +01:00
Benau
809e15031c Allow telling client the banned reason for the future 2019-03-09 15:56:34 +08:00
Benau
4c2fe75cb4 Add network capabilities to handle same server version changes 2019-03-09 15:14:13 +08:00
Benau
cb8525492a Preload more particles xml to avoid ingame hang 2019-03-08 20:46:31 +08:00
Benau
b04a00b9d1 Clamp m_fraction_of_line -1 and 1 correctly 2019-03-08 15:23:17 +08:00
Benau
e848835d19 Fix stutter bomb animation 2019-03-07 16:07:09 +08:00
Benau
4821b66520 Save 1 less digit for compressed origin from btTransform 2019-03-07 15:53:56 +08:00
Benau
ffca0c0d36 Improve goal when live join is happening 2019-03-07 15:40:25 +08:00
Benau
09a62747f6 Further improve kart state saving 2019-03-06 14:03:39 +08:00
Deve
0a4211af82 Fixed compilation 2019-03-06 06:26:18 +01:00
Benau
0af220538a Remove physics only invisible objects after joining 2019-03-06 06:26:18 +01:00
Benau
7fb3aa7570 Combine static physical objects with irrlicht GeometryCreator 2019-03-06 06:26:18 +01:00
samuncle
c543c02b21 Smooth the transition to avoid a gap 2019-03-05 22:24:37 +01:00
Deve
b193592ccf Better font height on very high resolutions 2019-03-05 22:00:00 +01:00
Deve
c1f49c3d07 Fixed rank number on high resolutions 2019-03-05 22:00:00 +01:00
samuncle
bb42d72bc5 Remove commented code + disable autolodcompute for RC 2019-03-05 20:59:39 +01:00
Benau
2e007d7883 Fix #3737 2019-03-05 15:38:35 +08:00
samuncle
187b28613b Decrease the amount of time we compute the culling distance for lod + add the complexity factor of the map into account 2019-03-05 00:23:55 +01:00
samuncle
cb2719e1fb Rename volume to area (to reflect the change in the algo 2019-03-04 21:29:54 +01:00
Benau
38568484fb Restore physical object moved by 3d animation even the first rewind ticks 2019-03-04 09:54:22 +08:00
samuncle
37475e8d2f Cosmetic update to the debug view 2019-03-04 00:36:18 +01:00
samuncle
a5ec4f5026 Add complexity option 2019-03-04 00:25:02 +01:00
samuncle
00042ac82e Update to add scale into account to compute the LoD level 2019-03-03 17:43:59 +01:00
Benau
475cfa4cdb Try to use CompressNetworkBody for karts 2019-03-04 00:03:43 +08:00
Benau
891abf6360 Fix swatter crash 2019-03-03 16:38:02 +08:00
Benau
45a55a4c9b Reserve code for country from players 2019-03-03 16:37:35 +08:00
Benau
bb84677e35 Use utf32 for unicode emoji later 2019-03-03 15:10:34 +08:00
Benau
e01393bff7 Reserve code for future auto checkline correction 2019-03-03 14:11:29 +08:00
Benau
3cee39aff7 Remove physics only invisible objects after joining 2019-03-03 01:54:43 +08:00
Benau
1193c588b4 Try to fix parachute flicking by saving initial speed in state 2019-03-03 01:38:50 +08:00
Benau
9b8b0b7c1e Redo swatter for network 2019-03-02 16:41:32 +08:00
samuncle
eead6f6005 Experimental changes 2019-03-01 21:39:55 +01:00
Benau
17fd68e662 Handle graphical models of attachment in updateGraphics 2019-03-01 18:46:46 +08:00
samuncle
837a9ee3ea Fun test with size 2019-02-28 23:25:41 +01:00
samuncle
99901516e9 Update the LoD with a small offset to try to minimize the impact of popping. The solution would be a fade in/out but it will come in the future 2019-02-28 22:24:47 +01:00
Benau
c57af03b62 Handle graphical effects if different attachment is set in updateGraphics 2019-02-28 16:19:15 +08:00
Benau
a9ac35e1d5 Update xyz of basketball before calling getXYZ 2019-02-28 13:56:25 +08:00
Benau
22fd9a18a3 Allow restoring gravity for bowling 2019-02-28 12:28:42 +08:00
samuncle
171ccf2adc remove useless print 2019-02-28 01:35:14 +01:00
samuncle
d284b52368 Update the auto lod level generator 2019-02-28 01:01:44 +01:00
samuncle
bf6e81b97d Add base to compute lod level automatically 2019-02-28 00:23:27 +01:00
Benau
f57572ea15 Set gravity from newly updated material first 2019-02-28 01:18:54 +08:00
Benau
eb8544b785 Use rewinder with binary uid 2019-02-27 11:31:49 +08:00
Benau
9b4b283c4c Add check trigger to replace item trigger 2019-02-27 11:31:19 +08:00
Benau
fe4a9c5406 Allow clients to get list of initial items from server 2019-02-27 11:07:08 +08:00
Benau
224c694dfd Combine static physical objects with irrlicht GeometryCreator 2019-02-27 11:06:18 +08:00
Benau
813934bdba Improve kart state saving 2019-02-27 11:05:47 +08:00
Benau
c00cf66b26 Add compression for max speed 2019-02-27 11:05:22 +08:00
Benau
cb1769acea Use btTransform and normal compression if possible 2019-02-27 11:04:49 +08:00
Benau
733794bb3e Clean up compressing for network body 2019-02-27 10:43:42 +08:00
Deve
0b6e153111 Avoid a crash in ribbon widget 2019-02-26 22:25:37 +01:00
Deve
cdff36f840 Update active widgets on resolutions list when ribbon widget is scrolled 2019-02-26 22:10:20 +01:00
Deve
ebde419566 Avoid using invalid resolutions in fullscreen mode 2019-02-26 16:56:07 +01:00
Alayan
48c1cf880d Fix inconsistency between comment and code 2019-02-26 16:09:52 +01:00
Alayan
bf1d8241e3 Improve AI nitro usage 2019-02-26 16:05:08 +01:00
Benau
d00472f868 Add cannon for flyable in network 2019-02-26 16:07:22 +08:00
Benau
cfbbc7c6dd Clean up the firing of flyables in network 2019-02-26 15:55:24 +08:00
Deve
88c2ce7ee5 Use system LD_LIBRARY_PATH when opening web browser 2019-02-25 22:07:38 +01:00
QwertyChouskie
1892b827d9 Improve warning (#3770)
* Improve warning

It's more clear now that this is non-fatal.

* Update main.cpp
2019-02-24 21:25:15 -05:00
Benau
eaddd9c1a3 Fix #3718 2019-02-21 10:11:34 +08:00
Mrxx99
b55ec5cfb8 FFA for offline play (#3708)
* 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
2019-02-20 19:18:02 -05:00
Benau
1ac4a5b93d Redo all kart animation classes for network
Disable cannon for flyable for now
2019-02-15 17:29:19 +08:00
Benau
64442e5ac9 Allow place item and rescue on driveable objects 2019-02-14 13:19:53 +08:00
Deve
69cea1eabf Minor fix for previous commit 2019-02-13 21:46:46 +01:00
Deve
415bfb491e Allow to change cursor position in text box when screen keyboard is active 2019-02-13 21:34:31 +01:00
Deve
71c5c3988c Show cursor in edit box when screen keyboard is opened 2019-02-13 21:00:17 +01:00
Benau
05b1dcb803 Use utf-8 server name in create request after stk-addons change 2019-02-12 11:54:03 +08:00
Benau
6fb8dd512b Add translation comments for trusted word 2019-02-12 11:52:25 +08:00
Benau
1855d4262b Revert "Use xmlEncode for proper unicode handling"
This reverts commit c5cf87071c.

We can remove utf8_encode in stk_addons api so it will handle
utf8 characters in db correctly, as utf8_encode is only needed for
a string encoded in ISO-8859-1.

Fix #3670
2019-02-12 11:26:20 +08:00
hiker
ca23678ac9 Fixed comment. 2019-02-11 17:08:22 +11:00
Alayan
a9d81d2aa5 Fix #3740 and #3172 2019-02-10 17:28:28 +01:00
Benau
9ad2823f4d Don't crash if login without --init-user 2019-02-10 14:20:42 +08:00
Benau
061d4becc5 Don't load world twice when clicking spectate button quick 2019-02-10 11:06:12 +08:00
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