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
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