auria.mg
1d5e4de91d
Revert "GP Editor Word Wrap ( #3519 )"
...
This reverts commit abd522d937
.
2018-10-18 19:20:35 -04:00
hiker
dff64f5878
Try to fix network item crash, caused by one item being collected
...
at the same time by two different karts.
2018-10-19 00:28:43 +11:00
hiker
036f00b55a
Added --network-item-debugging option to log item related events.
2018-10-19 00:27:53 +11:00
Benau
10956a9517
Use dialog for login reminder
2018-10-18 09:06:17 +08:00
Ryan
abd522d937
GP Editor Word Wrap ( #3519 )
...
* Always call buildInternalStructure when updating items to prevent font size issues
* Added word wrap for DynamicRibbonWidgets and enabled on the GP editor.
2018-10-17 20:14:33 -04:00
Deve
d9abe219ef
Use less aggressive touch device scale on small devices.
...
After some tests both 4.3" phone and 6.4" phone return the same screen size, so we can't really base that much on it.
2018-10-17 21:13:43 +02:00
Benau
22f1111dbe
Fix rare end race in network crash reported
2018-10-18 00:51:51 +08:00
Benau
c1f10d79cb
Use resetMaxSpeed now that the material and physics update order are correct
2018-10-17 16:24:03 +08:00
Benau
76602ac65a
Move updatePhysics after material raycast updated
2018-10-17 14:26:22 +08:00
Benau
d87cd364db
Fix clang warning
2018-10-17 11:39:47 +08:00
Deve
2dd8c0f55b
Always update remember-user checkbox when user was selected
2018-10-16 21:41:26 +02:00
Ryan
614d4ac2f7
Fix close inputs being throttled, and speed up scrolling when a key is held ( #3515 )
...
* Fix close inputs being throttled, and speed up scrolling when a key is held.
* Fix tabs
2018-10-16 18:13:01 +02:00
Alayan
bf7f734b69
Fix list cell update regression
2018-10-16 17:17:00 +02:00
Deve
1d8bcf02d8
Improve sorting friends by status.
...
Sort in order New Request -> Pending -> Online -> Offline
2018-10-15 23:34:49 +02:00
Alayan
7dbd64e48d
Add a fast but hard way to unlock the SuperTux difficulty
2018-10-15 18:17:41 +02:00
Deve
90f30a6ce0
Don't use virtualbox devices as gamepads
2018-10-14 22:25:07 +02:00
Alayan
04c9ab2290
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-10-14 18:49:35 +02:00
Alayan
b0dd73552e
Compute the correct width to fit the broken text in the list cell
2018-10-14 18:18:20 +02:00
Alayan
fec0216492
Add RTL support to breakText
2018-10-14 18:14:05 +02:00
Alayan
de2d24a571
Handle gracefully break requests of an empty string
2018-10-14 17:44:37 +02:00
Alayan
893ac9d994
Vertically center multi-lines list cell text
2018-10-14 17:24:07 +02:00
Alayan
df5ccc2472
Fix missing last char in a line
2018-10-14 17:17:45 +02:00
Alayan
ec657a16e3
Only break text once rather than on each frame
2018-10-14 17:14:45 +02:00
Alayan
8ec4da69f0
Fix a typo which caused an infinite loop
2018-10-14 04:56:37 +02:00
Alayan
ec7386a27e
Fix linker error
2018-10-14 04:25:45 +02:00
Benau
8f6ed10a8e
Fix ctf time limit formula
2018-10-14 10:07:09 +08:00
Alayan
bf7354a7d8
Add most of the logic to word wrap list items
2018-10-14 04:04:37 +02:00
Alayan
f33a9c1a18
Remove more code duplication
2018-10-13 23:14:44 +02:00
Alayan
4722ca680d
Reduce code duplication
2018-10-13 23:05:32 +02:00
Alayan
f32b6059e6
Display different message when the player win a grand prix
2018-10-13 20:59:14 +02:00
Alayan
78b1d5c672
Fix #3449
2018-10-13 20:28:35 +02:00
Benau
f813fbe562
Fix #3511
2018-10-14 01:08:13 +08:00
hiker
51acb8f822
Made item handling simpler, removed isPredicted state from items.
2018-10-14 01:15:06 +11:00
auria.mg
457594379c
Merge branch 'Fix3462'
2018-10-12 19:24:24 -04:00
Deve
14b04ebc18
Update friends list only when it's already fetched
2018-10-12 21:43:27 +02:00
Alayan
6ef5f66ef2
Fix windows compilation
2018-10-12 20:48:54 +02:00
Alayan
c84db6a571
Add skin-specific color emphasis for list items
2018-10-12 20:44:38 +02:00
Alayan
1f1d87e838
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-10-12 19:11:37 +02:00
Alayan
4734e50a68
Also increase the FTL countdown when the leader is rescued
2018-10-12 19:10:46 +02:00
Alayan
a4142c13c1
Make the FTL countdown addition work for all type of explosion affecting the leader
2018-10-12 19:05:07 +02:00
Benau
724ca795f0
Add the required code for advanced meta library animation handling
2018-10-13 00:43:59 +08:00
Alayan
089f6d108e
Add 5s to the FTL countdown when the leader is hit by a flyable
2018-10-12 18:18:23 +02:00
Alayan
2e6b7fd8ac
Fix #3435 with a warning for too small resolutions
2018-10-12 15:17:34 +02:00
Alayan
52c0ddd718
Add comment to clarify why the checkline check is done that way
2018-10-12 05:01:53 +02:00
Alayan
5db620eb0f
Fix #3313
2018-10-12 04:30:15 +02:00
Alayan
4af04b0123
Make multiplayer selection focus colored by the theme
2018-10-12 03:12:44 +02:00
Deve
ad144c6fb7
Fixed missing music in cutscenes.
...
Fixes #3503
2018-10-11 23:03:05 +02:00
hiker
eb5045987e
Fixed crash in networking when driving over a bananas when a
...
shield is active.
2018-10-12 07:32:22 +11:00
Deve
53e232144f
Add missing header
2018-10-11 21:48:28 +02:00
Deve
35f6e465bc
Don't flood with wrong way message.
...
It fixes #3427 .
2018-10-11 21:36:09 +02:00
Benau
3725013135
Discard ThreeDAnimation with no IPO
2018-10-12 01:20:57 +08:00
Benau
359c468604
Split track animation with physical or graphical objects
2018-10-12 00:55:37 +08:00
hiker
17ab076858
Fixed various compiler warnings for 64-bit windows compilation.
2018-10-11 23:27:08 +11:00
Benau
510d221fbc
Add updateGraphics for track object presentation
2018-10-11 16:23:20 +08:00
Alayan
19e2baed74
Fix #3085
2018-10-11 04:53:26 +02:00
Alayan
d4363f3604
Use black outlines and the special digit font for trophies/points numbers in the overworld UI
2018-10-11 04:18:34 +02:00
Alayan
2461e8a032
Reduce code duplication
2018-10-11 03:49:39 +02:00
Alayan
cc36aa9e7f
Make the lap N message more legible, minor tweaks
2018-10-11 02:48:41 +02:00
auria.mg
98503a7ff6
Lapline fix, tweak values and add explanations
2018-10-10 20:06:07 -04:00
auria.mg
d8f85267ad
Another attempt to fix #3462 , this one works much better
2018-10-10 19:53:07 -04:00
Alayan
21af25ef9b
Partial fix to distances frozen in cannons
2018-10-10 19:41:02 -04:00
Alayan
02859b673e
Fix distances when off-road, keep rescue to last on-road node
2018-10-10 19:41:02 -04:00
Alayan
fb38f1f389
Fix inconsistency in the achievement dialog
2018-10-10 23:30:55 +02:00
Alayan
ed1ba448a8
Fix #3502
2018-10-10 23:00:34 +02:00
Alayan
7471d215db
Check and remember if a challenge's supertux requirement (esp. time) have been met at a lower difficulty
2018-10-10 22:50:27 +02:00
Alayan
ef62e48e89
Fix #3500
2018-10-10 02:27:53 +02:00
Alayan-stk-2
15132c9ef6
Fix a spelling error
2018-10-10 02:11:27 +02:00
Deve
b5cde81b48
Some fixes for player icons in touch gui
2018-10-10 00:26:40 +02:00
Deve
b70bd83d9c
Fixed compiler warnings
2018-10-09 22:27:39 +02:00
Deve
ba1da58f0b
Don't change current working directory.
...
It causes issues with multithreading.
Fixes #3498
2018-10-09 21:42:16 +02:00
auria.mg
8cf997d9cf
WIP fix for #3462 . Not merged yet since this has side-effects, can cause issues on tracks like lighthouse where you can drive around the lapline
2018-10-08 20:55:17 -04:00
Alayan
b4cb7321d6
Add a thin outline for lap time/battle lives
2018-10-08 16:18:13 +02:00
Alayan
027705f9b1
Avoid important messages blocking view
2018-10-08 15:20:36 +02:00
Alayan
57d225dd68
Make final lap message more legible
2018-10-08 15:06:30 +02:00
auria.mg
0cb89e1a4f
Fix crash in karts sorting caused by inconsistent comparison predicate
2018-10-07 20:48:18 -04:00
Deve
2888f6ee2d
Get correct track groups for soccer/battle mode
2018-10-07 21:45:48 +02:00
Alayan
0766df61f2
Block the final challenge being accessed earlier than intended
2018-10-07 19:12:13 +02:00
Alayan
9b6156279c
Fix potential segfault
2018-10-07 16:29:18 +02:00
Alayan
767b613389
Fix an achievement's progress being displayed as -1
2018-10-07 16:09:47 +02:00
Alayan
18c2aa207f
Fix an achievement save issue
2018-10-07 15:56:16 +02:00
Alayan
2dfecdb85f
Fix #3488
2018-10-07 15:36:25 +02:00
Benau
aec3fb9e17
Update string
2018-10-07 13:14:59 +08:00
Benau
15c41ceaaf
Fix clang warning
2018-10-07 12:14:22 +08:00
Benau
38d13adc07
Use a custom dialog to show the details of an achievement's progress
2018-10-07 11:33:38 +08:00
Benau
a8b1c54092
Don't assume socket creation is always succeed (not when using torsocks)
2018-10-07 10:15:58 +08:00
Alayan
cd3bf122e6
Display the number of goals fullfiled, and if only one goal, its value progress
2018-10-06 18:26:57 -04:00
Alayan
ff5bb8792e
Minor fixes
2018-10-06 18:26:57 -04:00
Alayan
9e6bc5d5ba
Set achievements progress on load based on data counters
2018-10-06 18:26:57 -04:00
Alayan
a4d81beda4
Store achievements in a goal tree ; update achievements progress entirely depending on config
2018-10-06 18:26:57 -04:00
Alayan
3eab9b11b6
Remove unused code, prepare transition to dynamic progress update
2018-10-06 18:26:57 -04:00
Alayan
b3b9f20592
Add game mode counters, document existing counters, and some fixes
2018-10-06 18:26:57 -04:00
Alayan
358c15b7f9
Make Arch Enemy use a generic counter, fix some wrong enum names
2018-10-06 18:26:57 -04:00
Alayan
2b49f0da20
Simplify achievement data enum names
2018-10-06 18:26:57 -04:00
Alayan
a90890d0b3
Move end-race achievement counter updates to a dedicated function
2018-10-06 18:26:57 -04:00
Alayan
43dd2f2f82
Make Marathoner use generic counters. Fix #3176
2018-10-06 18:26:57 -04:00
Alayan
bdbd66dbb7
Make Mosquito Hunter use a generic counter
2018-10-06 18:26:57 -04:00
Alayan
5144984fd5
Remove leftover include
2018-10-06 18:26:57 -04:00
Alayan
05df0d6297
Make Strike use a generic counter
2018-10-06 18:26:57 -04:00
Alayan
d008da5548
Keep track of how many time each difficulty is used in linear races
2018-10-06 18:26:57 -04:00
Alayan
edc683f720
Use a parametrizable function instead of multiple functions ; track more values
2018-10-06 18:26:57 -04:00
Alayan
19d594b465
Make Christoffel Columbus use per-track generic counters
2018-10-06 18:26:57 -04:00
Alayan
5405933e2e
Make Skid-Row use a generic counter
2018-10-06 18:26:57 -04:00
Alayan
09f5376312
Make Banana Lover use a generic counter
2018-10-06 18:26:57 -04:00
Alayan
3427d21939
Fix #3483
2018-10-06 18:26:57 -04:00
Alayan
a32834e518
Make Powerup Love use a generic counter
2018-10-06 18:26:57 -04:00
Alayan
69ee99c495
Add a new Beyond Luck achievement ; make Unstoppable more challenging.
2018-10-06 18:26:57 -04:00
Alayan
70eb11de4f
Reimplement Gold Driver and Unstoppable by gathering data in general counters. Also fix #3487
2018-10-06 18:26:57 -04:00
Deve
41ea4b1997
Draw local players icons above AI/remote players on the minimap.
2018-10-06 22:31:37 +02:00
Alayan
3c98c35439
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-10-06 15:58:38 +02:00
Alayan
bf4dd67562
Improve a formulation
2018-10-06 15:58:02 +02:00
hiker
0b3d343585
Removed unnecessary code.
2018-10-06 12:30:35 +10:00
hiker
796ff5b361
Fixed item collection in networking.
2018-10-06 12:26:55 +10:00
hiker
df4ad4ab63
Added missing 'virtual'.
2018-10-06 12:26:10 +10:00
Deve
055a14bbaf
Use team color to highlight karts on minimap in soccer/ctf
2018-10-05 23:42:26 +02:00
Alayan
b7b2a60eff
Allow to set custom colored border through ScalableFonts
2018-10-05 20:21:57 +02:00
Alayan
1b17879313
Add functions and variables to allow custom-colored text outlines
2018-10-05 20:08:47 +02:00
Alayan
1202a34a59
Add black borders to most text in the race UI
2018-10-05 19:47:44 +02:00
Benau
697af6b08c
Fix server only build
2018-10-06 01:12:39 +08:00
Alayan
68916b0adf
Add the possibility to exclude owned projectiles from the nearby projectiles count
2018-10-05 17:50:43 +02:00
Alayan
6445fb059d
Split DrawGlobalPlayerIcons
2018-10-05 17:42:54 +02:00
Deve
0c5b1a3999
Always show current reolution in options
2018-10-04 21:55:00 +02:00
Benau
1bb0be6a8c
Fix crash for deve's soccer arena without navmesh
2018-10-05 00:58:46 +08:00
Deve
fedf93c928
Tweak range of touch device gui scale
2018-10-03 21:13:01 +02:00
Benau
693a3bc954
Allow flag to be placed on driveable object (for ctf temple)
2018-10-04 01:06:58 +08:00
hiker
d98419a5f8
Oops - forgot to update server version number as well.
2018-10-03 17:55:58 +10:00
hiker
44706a5066
Re-enable bubble gum and switch in network games.
2018-10-03 12:20:11 +10:00
hiker
438a2dd6a3
Fixed release build.
2018-10-03 12:07:21 +10:00
hiker
35deb3970b
Merge remote-tracking branch 'origin/master' into network-item-debugging
2018-10-03 10:54:14 +10:00
hiker
465df8dcac
Merge branch 'network-item-debugging' of github.com:supertuxkart/stk-code into network-item-debugging
2018-10-03 10:43:40 +10:00
hiker
5143ae97ea
Fixed crash in AI caused by missing virtual declarations.
2018-10-03 09:10:08 +10:00
hiker
76dc8c8763
Hopefully fixed switch in networking mode.
2018-10-03 08:51:19 +10:00
Deve
b26d8f3454
Avoid a crash when using close button in kart selection screen
2018-10-02 22:28:12 +02:00
Deve
da4f6cf8cf
Fixed memory leak
2018-10-02 22:16:37 +02:00
hiker
c2d0ac4a61
Converted ItemManager to use a vector of *ItemState (instead of
...
*Item) for its item handling. This allows us later to use
the switch functions to work on either the current items
or on the confirmed item state (i.e. code reusage for rewind).
2018-10-02 09:05:32 +10:00
Benau
a2d4763201
Hide minimap when hide all for artist debug mode
2018-09-30 16:30:27 +08:00
Benau
c8db9e2490
Restore swatter discard now in arena or soccer in network properly
2018-09-30 16:10:58 +08:00
Benau
ab94fdfceb
Allow more than 1 player winning in FFA if a tie
2018-09-30 14:38:18 +08:00
Benau
6478a0714d
Fix multiplayer sound keep playing
2018-09-30 14:06:40 +08:00
Benau
cb9a17563e
Don't call SP::SPTextureManager::get() if not GLSL to avoid leaking
2018-09-30 13:00:24 +08:00
Benau
05e1d629ee
Fix exit STK requests leak
2018-09-30 12:42:17 +08:00
Benau
6809984928
Fix #2813
2018-09-30 11:08:54 +08:00
Benau
767651124a
Always specify --server-password so that empty password can disable private server
2018-09-30 01:08:46 +08:00
Deve
93298023b4
Don't display powerup count indicator after finish online race
2018-09-29 08:14:55 +02:00
Benau
a4c9a8826c
Don't crash if user opened paused dialog in network when ending race
2018-09-29 14:00:54 +08:00
Deve
51c67aa1e4
Add a fallback lib path for server creation
2018-09-28 23:15:16 +02:00
Benau
e5a66cf5af
Fix mingw build
2018-09-29 01:03:54 +08:00
Benau
e55ee508f8
Disable switch and bubblegum for now in network again
2018-09-29 00:24:54 +08:00
Benau
5041c6585d
Allow recreation of kart animation from state if the required creation event missed
2018-09-29 00:21:25 +08:00
Benau
addcb84802
Undo to before kart animation position for item collection
2018-09-29 00:15:35 +08:00
Benau
2fafe495dd
Make it consistent with attachment rewind when eating banana with bomb
2018-09-29 00:11:26 +08:00