Alayan
fc969982da
Merge with latest master
2018-10-05 17:55:02 +02: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
Deve
dc428b94cf
Add a script that allows to build all android packages with single command
2018-10-04 20:48:42 +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
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
Deve
be1fab75b8
Add a margin for screenshot in better way
2018-10-01 23:27:03 +02:00
Deve
2084121405
Give more space for translations in ghost replay screen
2018-10-01 22:04:49 +02:00
Deve
53b6c0c80b
Fixed checkbox in ghost replay dialog and other minor tweaks
2018-10-01 20:52:53 +02:00
Alayan
3e6d7afb14
Move rank indicator to the top-right and adda rank icon
2018-09-30 20:55:04 +02:00
Alayan
87725b4415
Make alert indicator more discrete, restrict kart icon display
2018-09-30 17:00:46 +02: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
Alayan
61df9c4b35
Don't show an alert when the player uses an offensive powerup
2018-09-29 16:41:43 +02:00
Alayan
7b62947e08
Add an alert icon when a dangerous projectile is nerby
2018-09-29 16:28:34 +02:00
Alayan
dcec81c7d5
Add an alert icon when another kart is nearby
2018-09-29 15:42:50 +02:00
Alayan
799f6d98c1
Optimize new icons
2018-09-29 14:26:43 +02:00
Alayan
fa98a30543
Icons for danger warnings
2018-09-29 14:22:51 +02: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
Benau
51f8884881
Fix missing no graphics option for lan server
2018-09-29 00:03:32 +08:00
Benau
abd3a79526
Merge remote-tracking branch 'origin/network-item-debugging'
2018-09-28 23:39:04 +08:00
Benau
e7aa03f1bf
Try an up-to-date current frame bone-child attachment in legacy pipeline
2018-09-28 23:33:51 +08:00
Benau
d61b74fdd4
Fix parachute rewind
2018-09-28 22:52:18 +08:00
Benau
97e5e63e7c
Split plunger drawing in race GUI to update graphics
...
Avoid overwriting the values by rewind
2018-09-28 19:27:05 +08:00
Benau
759a1d5a33
Fix missing lookback firing for network ai
2018-09-28 18:07:54 +08:00
Benau
8efd422125
Update server version
...
At the moment ignore server config before final release
2018-09-28 17:41:45 +08:00
Benau
ae4ed9e2e7
Restore rubber band with hit kart and reserve mode included
2018-09-28 17:05:17 +08:00
Benau
689fab6bc8
Default lobby chat on
2018-09-28 16:04:18 +08:00
Benau
dd9bb640d1
Use the same item index for server and client
...
TrackObjectPresentationSound will create item trigger, when network
split screen is used it will be diverged.
2018-09-28 16:01:08 +08:00
Benau
8950354e62
Avoid using deleted end controller when rewind
2018-09-28 14:40:37 +08:00
Benau
136b649716
Fix error log encoding
2018-09-28 09:59:40 +08:00
hiker
7720ab45f5
Merge pull request #3467 from supertuxkart/ConstantTurnRadius
...
Fix the turn radius bug
2018-09-28 01:35:38 +10:00
auria.mg
1fe8e36c97
Improve questionable text
2018-09-26 18:57:38 -04:00
Deve
c360209676
Avoid memory leaks when window is closed during the race
2018-09-26 22:34:23 +02:00
Alayan
7386465931
Remove outdated comment
2018-09-26 18:57:36 +02:00
Alayan
f5abd2c798
Move the rank indicator to the top-left and clarify it
2018-09-26 18:57:13 +02:00
Benau
e16aa9f1ed
Update string
2018-09-26 14:52:19 +08:00
Alayan
871ee40053
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-09-25 23:50:10 +02:00
Alayan
f0d862f472
Fix lap time difference being displayed for only a few ticks
2018-09-25 23:49:58 +02:00
Alayan
091d9bf130
Fix display overlap between live difference and lap indicator at some resolutions
2018-09-25 23:10:31 +02:00
Deve
4c6af1d381
Fixed more memory leaks when closing stk server
2018-09-25 22:39:02 +02:00
Alayan
8d40a69842
Remove call to removed function
2018-09-25 20:02:23 +02:00
Alayan
69ee902327
Make hiker happy
2018-09-25 19:46:28 +02:00
Alayan
4a39813f07
Make the Cocoa Temple challenge a ghost replay challenge available from the start
2018-09-24 21:39:57 +02:00
Alayan
aa3afa7048
Add replays for a story mode replay challenge
2018-09-24 20:42:47 +02:00
Alayan
6196782420
Remove debug prints
2018-09-24 19:33:14 +02:00
Alayan
a08866f96d
Fix #3271 : a kart's turn radius is independent of its length
2018-09-24 19:31:52 +02:00
Alayan
791a490e58
Fix display of very long track author names
2018-09-24 13:28:26 +02:00
Alayan
50f87e3f0f
Fix even more incorrect flying
2018-09-24 13:08:55 +02:00
Alayan-stk-2
1c6890f77e
Race UI improvements ( #3465 )
...
* Add a flag icon next to the lap counter
* Fix flag icon scaling across resolutions
* Add an option controlling minimap display
* Allow to display all the karts in the icon list if the minimap is hidden/on the right
* Remove useless scaling
* Fix minimap issues in splitscreen
* Align the spinners in the UI options
* Check for touch settings instead of a compile-time Android check
* Fix server-only compilation
* Make UI options checkboxes have the same size than checkboxes elsewhere
* Add translation cues for minimap options
* Don't look up icon paths every frame
2018-09-23 21:15:51 -04:00
Benau
0c3691cf18
Fix alayan crash
2018-09-24 08:38:25 +08:00
Deve
2ac0e5fd07
Avoid a crash when path is empty.
...
Happened for me few times, but reason unknown.
2018-09-23 22:53:11 +02:00
Deve
36d1376567
Probably fixed broken music and some crashes after server close on android
2018-09-23 22:53:11 +02:00
Benau
56e9be326e
Fix #3463
2018-09-23 15:26:24 +08:00
Alayan
896768ebbe
Make boosted AI karts be less hindered by rubber-banding
2018-09-22 23:22:37 +02:00
Alayan
5bd37e1e2e
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-09-22 23:14:53 +02:00
Deve
0dca414e02
Fixed some memory leaks when a server is closed
2018-09-22 22:06:27 +02:00
Alayan
46c2c88461
Give a boosted AI to some AI karts in races and GP
2018-09-22 22:02:11 +02:00
Deve
c8305012f8
Make sure that m_flying is initialized when reset function is called first time during initialization.
2018-09-22 20:54:43 +02:00
Deve
8bdc45f7a3
Increase hiscore file version.
...
Hiscores with more than 3 entries are incompatible with older STK versions and cause a crash on startup.
2018-09-22 20:50:05 +02:00
Deve
eed9d200d3
Revert "Revert "Fixed android compilation""
...
This reverts commit 8f6daefc73 .
2018-09-22 20:43:05 +02:00
Alayan
f60dc3ce4c
Fix #3399
2018-09-22 19:15:33 +02:00
Alayan
0b7e2d35fb
Fix another instance of kart flying incorrectly
2018-09-22 16:28:51 +02:00
Alayan
63a377cf0b
Tell the AI to not gift free nitro cans when a switch is active
2018-09-22 16:22:52 +02:00
Alayan
c7ea40df6c
Correctly wait before using a gum shield against a bomb for best AI
2018-09-22 16:06:11 +02:00
Alayan
e11f327519
Fix a crash with ghost replays
2018-09-22 15:50:05 +02:00
Alayan
4a18ac2725
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-09-22 03:31:51 +02:00
Alayan
902e64c7f5
Redesign track info screen to work with 5 highscores, battle mode and hi-dpi
2018-09-22 03:31:07 +02:00
Alayan
82408aab2f
Restore 5 highscores
2018-09-22 01:55:28 +02:00
Benau
553747237e
Check for possible null m_confirmed_state
2018-09-22 00:54:37 +08:00
Benau
5f463f7f80
Enable auto server recovery for wan servers only
2018-09-21 20:37:45 +08:00
Benau
b1a535b21f
Save ticks till return for eating banana with bomb
2018-09-21 20:06:47 +08:00
Benau
aa2d944813
Use setTicksForRewind for count down game timer
2018-09-21 16:13:19 +08:00
Benau
2f2a128e06
Fix missing initialized values
2018-09-21 16:12:04 +08:00
Alayan
13b3b3c2bd
Remove redundancy between kart constructor and reset, reset a few more variables
2018-09-21 02:44:51 +02:00
Alayan
6dedbff1a8
Fix all known instances of kart flying due to cushioning
2018-09-20 23:56:53 +02:00
Alayan
0da04805b4
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-09-20 22:22:56 +02:00
Alayan
961c4af662
Fix cushioning when landing on a slope, reduce needed data size
2018-09-20 22:22:23 +02:00
hiker
7cabefc8e9
Fixed incorrect bubble gum rotation prediction (because wrong time
...
was used when rewinding).
2018-09-20 19:30:52 +10:00
Benau
6232140689
Implement auto server recovery if connection to stk-addons is lost
2018-09-20 16:43:34 +08:00
Benau
f975e37dea
Use a uniform material loading for non-glsl (for server)
2018-09-20 14:20:38 +08:00
Deve
bc675ffd81
Revert "Disconnect android player from wan race when the window is not active anymore"
...
This reverts commit e80e0555e1 .
2018-09-19 22:06:41 +02:00
Deve
2c79b02088
Make pause button working when watching ghost replay
2018-09-19 22:06:24 +02:00
Alayan
9f3bc471d8
Specify reverse status for existing challenges
2018-09-19 18:17:36 +02:00
Alayan
6af8f70b48
Add support for challenges in reverse mode
2018-09-19 18:13:42 +02:00
Deve
63ba99457e
Add a check for null when unset squash
2018-09-19 07:07:40 +02:00
Benau
951c48292a
Fix #3446
2018-09-19 09:19:34 +08:00
auria.mg
afe2b6f2f4
Fix crash when searching for users fails. Does not fix the search, only fixes STK crashing when errors occur
2018-09-18 19:20:19 -04:00
Alayan
52f5562be8
Fix crash with ghost replays
2018-09-19 01:04:19 +02:00
hiker
23a82aab54
Merge remote-tracking branch 'origin/master' into network-item-debugging
2018-09-19 08:33:42 +10:00
Deve
402cbea3d6
Restore wheels size when game is restarted.
...
Fixes #3455
2018-09-19 00:14:53 +02:00
Deve
e80e0555e1
Disconnect android player from wan race when the window is not active anymore
2018-09-18 23:05:54 +02:00
Deve
18c108c99a
Add some commandline params
2018-09-18 23:05:54 +02:00
Alayan
eb274e01d4
Adjust value to cushion most small jumps
2018-09-18 20:32:13 +02:00
Alayan
6145aff895
Use height data to cushion only close to the ground and adjust impulse strength
2018-09-18 20:01:59 +02:00
Alayan
6af07fac77
Don't assume number of physics ticks per second
2018-09-18 15:56:09 +02:00
Alayan-stk-2
6b4ebc2148
Minor style fixes
2018-09-18 13:52:08 +02:00
Alayan
d39b2a0620
Move special bomb steering in handleSteering
2018-09-18 13:19:14 +02:00
Alayan
ab1e86d796
Move handleNitroAndZipper in handleAcceleration
2018-09-18 12:40:29 +02:00
Alayan
1f514727d5
Change handleAcceleration into handleAccelerationAndBraking
2018-09-18 12:00:02 +02:00
Benau
07ad8977dd
Use separate nettle aes context for encryption and decryption
...
So it can be used and validated by different threads at the same time
2018-09-18 14:25:55 +08:00
Benau
0cd8c03bcd
Fix uninitialized value
2018-09-18 10:03:46 +08:00
Alayan
f0807f9c0e
Move handleBraking next to handleAcceleration for easier maintenance
2018-09-18 03:40:08 +02:00
Alayan
488e53d669
Remove hardcoded number assuming tick duration
2018-09-18 03:30:31 +02:00
Alayan
c032bfe941
Remove unused findNonCrashingPointFixed
2018-09-18 03:13:55 +02:00
Deve
c2b2a57c87
Minor fix for run_server script.
...
Restart if known error happened and also update datetime to avoid overwriting log files.
2018-09-17 22:15:14 +02:00
Alayan
fb95e9736b
Disable rubber-banding for FTL leader
2018-09-17 21:25:27 +02:00
Alayan
8271213756
Fix incorrect braking before starting line
2018-09-17 21:17:19 +02:00
Alayan
2486e72c25
Tell the FTL AI to not build up a nitro reserve for use in lap 99999
2018-09-17 20:38:48 +02:00
Alayan
1e9f175f43
Fix some identation
2018-09-17 20:26:28 +02:00
Alayan
3aa2a04197
Make the FTL leader use a boosted AI
2018-09-17 20:19:21 +02:00
Alayan
21e88698d2
Make AI kart slowdown before having finished overtaking the leader in FTL
2018-09-17 20:09:58 +02:00
Alayan-stk-2
0c353f4b49
Increase difficulty for the SuperTux challenge
2018-09-17 17:36:20 +02:00
Alayan-stk-2
7bda2d097d
Clear last overworld position when switching profile
2018-09-17 17:01:59 +02:00
Alayan-stk-2
2e559aa391
Improve scotland challenge balance in expert/supertux
2018-09-17 15:48:22 +02:00
Alayan
025c60033d
Reset min nitro time when no nitro and fix #3180
2018-09-17 14:40:23 +02:00
Alayan
75127fc044
Merge branch 'LockSTG'
2018-09-17 12:42:50 +02:00
Alayan
4d9407653a
Fix #3383
2018-09-17 12:40:51 +02:00
hiker
23acbf5260
Fixed shaking after collecting bubble gum (caused by restoring item state
...
after restorint kart state - during item state restoration items can
be 'collected', which overwrites kart states values that just had been
restored).
2018-09-17 18:19:23 +10:00
Benau
dc059aa8f7
Fix attachment with swatter removing bomb animation rewind
2018-09-17 16:15:15 +08:00
Alayan
02a3de4dd8
Fix #3439
2018-09-17 03:46:20 +02:00
Alayan-stk-2
e269c5a72d
Fix #3442
2018-09-17 02:32:46 +02:00
Alayan
b98024f11e
Use skin-specific credit color. Fix #3433
2018-09-17 01:53:07 +02:00
Alayan
96c5293021
Add credits color to the skins
2018-09-17 01:46:22 +02:00
Alayan
137a7e671f
Move online screns to their own folders to reduce clutter
2018-09-16 23:55:40 +02:00
Alayan
4d68d324a2
Move options screns to their own folder to reduce clutter
2018-09-16 23:35:40 +02:00
Deve
2cb9f1e714
Fixed compilation
2018-09-16 23:11:20 +02:00
Deve
fc04eeade7
Merge remote-tracking branch 'Alayan/DisableKeyboardConfig'
2018-09-16 23:06:54 +02:00
Alayan-stk-2
073f337415
Allow word wrap for ghost replay dialog buttons
2018-09-16 17:29:55 +02:00
Benau
7c53a5556c
Single CPU core usage as shown in top
2018-09-16 23:23:23 +08:00
Alayan
152c695a37
Remove unused GUI files
2018-09-16 17:02:38 +02:00
Alayan
085e3f8eae
Merge branch 'master' of https://github.com/supertuxkart/stk-code into GUI_Folders
2018-09-16 16:44:31 +02:00
Alayan
03839b7cfe
Move GUI files to categorized folders and update all references
2018-09-16 16:37:42 +02:00
Benau
d663bb2caf
Update german translation by Wuzzy
2018-09-16 22:01:08 +08:00
Benau
68d6326348
Update NETWORKING.md for network AI tester
2018-09-16 20:48:51 +08:00
Benau
f1057726ad
Log peer address who formed bad message
2018-09-16 19:48:27 +08:00
Benau
8cb5e43bad
Allow using --auto-connect with network ai tester
2018-09-16 19:19:42 +08:00
Benau
b3bffacb40
Add network ai tester for linear race
2018-09-16 17:58:00 +08:00
Benau
2c35b0f03c
Allow using --connect-now with wan server with server-id
2018-09-16 12:26:34 +08:00
Alayan-stk-2
07e681e927
Minor improvement to the help text
2018-09-16 05:42:39 +02:00
Alayan-stk-2
21857327d4
Improvement for #3441
2018-09-16 04:53:39 +02:00
Alayan-stk-2
1fc58ef445
Fix #3434
2018-09-16 03:37:26 +02:00
Alayan-stk-2
4bbc494de4
Fix #3445
2018-09-16 01:50:39 +02:00
Alayan-stk-2
c22403f080
Fix #3448
2018-09-16 01:36:43 +02:00
Alayan-stk-2
ccdf0098a6
Fix #3447
2018-09-16 00:41:11 +02:00
Deve
35cc6930ab
Make button labels in user screen a bit shorter
2018-09-15 23:50:27 +02:00
Deve
2026eb6a69
Ghost replay tables are quite complex, so give them a context for more flexible translations
2018-09-15 23:45:27 +02:00
Deve
e84ac0da7c
Avoid a crash when node is null
2018-09-15 23:31:22 +02:00
Alayan-stk-2
02732e78be
Make minigolf expert/supertux challenge easier
...
The grass texture slowdown working again makes this challenge several seconds slower than in 0.9.3 ; and the previous balancing change for supertux ended up overshooting.
The additional AI karts also make it more challenging than in 0.9.3, as it's frequent to be hit by something in the 1st lap.
2018-09-15 21:09:14 +02:00
Alayan-stk-2
9a82e168de
Make sure there is always one enabled keyboard config
2018-09-15 19:33:29 +02:00
Alayan-stk-2
15bc188aa3
Add getActiveKeyboardAmount function
2018-09-15 19:31:56 +02:00
Benau
32d192460e
Update translation from transifex
2018-09-16 01:24:22 +08:00
Alayan-stk-2
3c89e20733
Add support for disabled keyboard config icon
2018-09-15 18:58:22 +02:00
Alayan-stk-2
d6fd2df8f5
Add new icon for disabled keyboard configs
2018-09-15 18:57:29 +02:00
Alayan-stk-2
88d0313230
Fix comment
2018-09-15 18:30:01 +02:00
Benau
b400d56585
Don't use static in unicode conversion due to multiple threads usage now
2018-09-16 00:29:59 +08:00
Alayan-stk-2
19ba899afd
Allow to disable a keyboard configuration without deleting it
2018-09-15 18:28:31 +02:00
Alayan-stk-2
78e592bfbf
Add disable button
2018-09-15 18:27:49 +02:00
Benau
0c7475c6cf
Handle linebreaking from motd if needed
2018-09-15 23:06:28 +08:00
Benau
28511c597e
Remove compiler warning
2018-09-15 22:43:35 +08:00
Benau
211def77a6
Make sure no IV is duplicated and allow using 32bit counter completely
2018-09-15 16:36:01 +08:00
Benau
bbb618fe6b
Write to a dummy blocks instead of out of bounds pointer for AES
2018-09-15 16:09:49 +08:00
Benau
4cf9542be1
Add user version in string to connection request
2018-09-15 15:57:27 +08:00
Benau
57d4017cc6
Fix documentation
2018-09-15 15:23:06 +08:00
Benau
e5f5a1c04d
Use a more server owner friendly value instead of threshold
2018-09-15 15:10:03 +08:00
Benau
4c6d535f00
Compress kart control action
2018-09-15 14:25:38 +08:00
Benau
01b95d873e
Header clean up
2018-09-15 11:18:30 +08:00
Benau
f547753aaa
Add seamless endcontroller transition in network
2018-09-15 09:43:37 +08:00
Alayan-stk-2
505a67a372
More improvements for #3430
...
Now that the list is wider, time and version can fit with a smaller place, leaving more for the rest.
2018-09-15 03:32:51 +02:00
Alayan-stk-2
4c8d1b6b67
Move the track screenshot down to help with #3430
2018-09-15 03:04:35 +02:00
Benau
c10b40fb7d
Use a special detail map shader for normal map (later)
2018-09-14 22:51:44 +08:00
Benau
b613c2c989
Make new startup boost and penalty working in network
2018-09-14 22:23:37 +08:00
Benau
641998be69
Move startup boost and penalty handling to set phase for local games
2018-09-14 22:03:02 +08:00
Benau
83a456e835
Add kart id checking so that only peer with correct kart can control
2018-09-14 21:42:35 +08:00
Benau
a53307cc14
Reset only physical objects in onGo
2018-09-14 13:43:44 +08:00
Benau
ea3215aad6
Use "and" search for server
2018-09-14 09:06:03 +08:00
Deve
99a4fac85e
Fixed a crash when server was created in GUI.
...
Regression since 7d561de3fb
2018-09-13 21:07:19 +02:00
Alayan-stk-2
0fd62c1ca7
Add Super Tux time requirements for challenges lacking it
...
The AI is not yet good enough to be the sole factor ; the time requirement is necessary to not have these Super Tux challenges much easier than others.
2018-09-13 16:27:17 +02:00
Alayan-stk-2
d7b6e4c339
More consistent balance in time requirements
...
Time-trial records give a good idea of the relative length of different tracks. I tried to keep a similar balance to the one reached in Cornfield Crossing's challenge.
2018-09-13 16:17:35 +02:00
Alayan-stk-2
0b5d390c48
Switch to position requirements for intermediate/novice difficulties
...
Finishing first should always result in challenge success in low difficulties, and the AI balancing should be more effective than per-challenge tweaking in achieving consistent difficulty across challenges.
2018-09-13 16:03:20 +02:00
Alayan-stk-2
3616e93201
Switch to position requirement for low difficulties
...
The AI is slower than the required times in this challenge, so it makes it easier.
The previous times were, without nitro/skidding, as hard if not harder than the expert challenge.
2018-09-13 15:51:33 +02:00
Alayan-stk-2
3d14ae5bf1
Move repeated code to a function
2018-09-13 15:14:56 +02:00
Alayan-stk-2
b413d9ef24
Remove useless time requirements
...
Even with max rubberbanding effect (staying purposefully way behind), the first AI kart finishes around or under the required time.
2018-09-13 15:06:07 +02:00
Benau
803fae5320
Use a correct way to decrypt GCM with openssl
...
From http://patches.opendataplane.org/patch/7237/ , use the correct
order (set tag, than update, and than final)
2018-09-13 16:36:35 +08:00
Benau
c8d56cc2b9
Use absolute path of cert location
2018-09-13 16:29:50 +08:00
Benau
f0a4b707ef
Print incorrect packet
2018-09-13 10:46:54 +08:00
Benau
3b070cdaad
Fix ranked server player reconnection handling
2018-09-13 10:46:37 +08:00
hiker
1291d2c0d3
Fix crash in case of multiple item collection and different
...
item ids on client and server.
2018-09-13 11:29:40 +10:00
Alayan-stk-2
323af45fbd
Change profile folder to avoid compatibilities issues
...
As discussed on IRC with Auria.
This removes the several issues already noticed when switching between 0.9.3 and git versions (forgotten challenges and settings ; and more recently a crash with highscores).
Reminder for git users : you can migrate your data by copying it from the previous folder to the new one, so you won't have to redo your settings/profiles.
2018-09-13 02:19:00 +02:00
QwertyChouskie
6dab3b4e03
Fix centering in race paused dialog ( #3429 )
2018-09-13 01:31:30 +02:00
Deve
0ff4d3d286
Update pot file to fix a typo
2018-09-12 22:58:06 +02:00
Deve
127c91d825
Minor fix for update_pot.
...
The "supertuxkart-assets" is supported everywhere else.
2018-09-12 22:53:58 +02:00
Deve
b911a31bf2
Quick fix for run_server script
2018-09-12 22:08:38 +02:00
Benau
60157a33c4
Avoid allocating large memory for m_gpu_times in no graphics
2018-09-13 01:33:29 +08:00
Benau
7d561de3fb
Disable freetype in no graphics
2018-09-13 01:11:17 +08:00
Benau
930115a449
Disable addons and news manager in no graphics
2018-09-13 00:58:45 +08:00
Benau
e5aa172d00
Clear player chosen kart each race if not grand prix
2018-09-13 00:40:55 +08:00
Benau
114dca1733
Fix typo
2018-09-13 00:12:32 +08:00
Benau
1b0f5be495
Pre-upload powerup spm to prevent hangs when using item
2018-09-12 16:34:38 +08:00
Benau
f39946347f
Try to free vertex buffer memory if possible
2018-09-12 16:29:41 +08:00
Benau
37cf5ac459
Add delete vertex buffer to save memory for no graphics
2018-09-12 15:30:57 +08:00
Benau
930c2c004d
Always disable network console in child process server
2018-09-12 10:28:02 +08:00
Benau
f5ba14fc54
Fix typo
2018-09-12 10:07:15 +08:00
Benau
a51c88febe
Update translation which is completed
2018-09-12 09:42:42 +08:00
Benau
e64fd7a47d
Show help in lobby only if connection accepted
2018-09-12 09:30:43 +08:00
Deve
31d425795c
Bubblegum may be used up only if switch was not used
2018-09-11 22:29:55 +02:00
Deve
3ebc68ff10
Fixed glow when switch is used
2018-09-11 22:02:06 +02:00
Benau
29a7be5531
Add server hosting documentation
2018-09-12 02:07:34 +08:00
Benau
6203b415e2
Set log filename with server config without .xml suffix + .log
2018-09-12 00:55:34 +08:00
Benau
8f8d5f8814
Use time-played from database
2018-09-11 23:15:08 +08:00
Benau
8ad3cbdff9
Save server config when exit server lobby
2018-09-11 21:08:18 +08:00
Benau
c778a22a3a
Use a correct xml syntax for map config
2018-09-11 20:57:19 +08:00
Benau
300cdff07f
Disable showing dialog in server for news
2018-09-11 16:04:10 +08:00
Benau
3337f41529
Fix ServerConfig and STKConfig dependencies
2018-09-11 15:35:24 +08:00
Benau
1c94cd6880
Avoid spamming with connect to peer message with localhost
2018-09-11 15:23:45 +08:00
Benau
ade3551c16
Disable message queue in no graphics too
2018-09-11 14:35:07 +08:00
Benau
8bb2eeb629
Always disable online user polling for wan server
...
With d6955f03fcbc21cb4cd9332d0d528063ad9a0f60 in stk-addons it is no
longer necessary
2018-09-11 14:31:43 +08:00
Benau
612e8bdaf6
Keep http header of curl_slist* until the exit of stk to prevent memory leak
2018-09-11 14:24:59 +08:00
Benau
dd15947aa1
Use ServerConfig for setup server
2018-09-11 14:06:30 +08:00
Benau
0d93fe427e
Initial work on server_config.xml
2018-09-11 10:13:33 +08:00
Deve
4262418532
Don't report stats for server_only/no-graphics.
...
It may cause a crash on some devices eg. when glGetString returns NULL.
2018-09-09 23:58:26 +02:00
Benau
ba37513f7a
Fix detail map on normal map with skinned mesh shader
2018-09-09 00:52:00 +08:00
samuncle
ed47b78d26
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-09-08 08:50:22 +02:00
Benau
81f2a9e99d
Implement CIDR banning with online id split
2018-09-07 23:55:01 +08:00
Benau
3729f27de0
Update stun servers list with not working one removed
2018-09-07 11:39:16 +08:00
Deve
9cf42302a6
Fixed compilation with older nettle versions
2018-09-07 00:26:18 +02:00
Deve
8e29c189c4
Don't segfault if null device creation failed
2018-09-06 22:56:55 +02:00
Deve
e3b3a369d0
Allow to choose monitor with environment variable
2018-09-06 22:06:40 +02:00
Benau
88e1733d50
Simplify STUN and LAN connection
...
Using enet intercept directly
2018-09-07 01:40:32 +08:00
Benau
3cdc1b6ddd
Fix crash if server lobby is NULL
2018-09-06 08:41:13 +08:00
Benau
a5c9bbd3ef
Get private port and server id from file
2018-09-06 08:33:11 +08:00
Deve
a60a84b05a
Make sure that dialog window and screen keyboard are deleted before changing screen in lobby
2018-09-05 23:06:29 +02:00
Benau
d0b24487eb
Allow search with unicode characters and space
2018-09-05 13:37:30 +08:00
Benau
30028cc330
Implement text searcher in server selection
2018-09-05 12:19:11 +08:00
Benau
1577c1e61b
Update strings
2018-09-05 08:24:38 +08:00
Deve
4ec7f45e56
Avoid a crash when hiscore has too many entries
2018-09-04 23:48:49 +02:00
Deve
bcb7e48fb1
Some tweaks in track info screen.
...
Use the same layout for gp info screen.
2018-09-04 23:24:47 +02:00
Deve
0f1f876874
Revert "Change highscore limit from 3 to 5 ( #3417 )"
...
This reverts commit 84359ad7da .
It broke "Max players supported" text in arena info screen. It also doesn't work well for hidpi_enabled property that is used on android. Additionally it causes incompatibility with older STK versions (STK 0.9.3 crashes when there is more than 3 entries in hiscore.xml).
Fixes #3424
Fixes #3425
2018-09-04 21:31:27 +02:00
Deve
8f6daefc73
Revert "Fixed android compilation"
...
This reverts commit 399b89730d .
2018-09-04 21:31:27 +02:00
Benau
c59a11c85c
Skip waiting players in network item manager
2018-09-05 01:59:40 +08:00
Benau
0b19ee77fa
Use xmlDecode for server name
2018-09-05 01:52:51 +08:00
Benau
bb61c3425a
Show current players on server in server info dialog
2018-09-05 01:32:44 +08:00
hiker
9211b26251
Fixed bubble gum collection in networking (at least the problem
...
that you would on the client collect the gum you just dropped).
2018-09-04 18:32:10 +10:00
Benau
24b3e09429
Disable message queue in server only
2018-09-04 14:45:39 +08:00
Benau
c8a42fd355
Show friends currently joined servers when polling user profile
2018-09-04 14:36:48 +08:00
Benau
83d49389d6
Use new syntax for server xml
2018-09-04 07:37:21 +08:00
Benau
a9ecebfbc8
Merge remote-tracking branch 'origin/master' into network_next
2018-09-04 07:26:02 +08:00
Deve
cdeb70dbf4
Some fixes for soccer setup screen
2018-09-04 00:33:34 +02:00
Deve
674397e648
Minor fixes for low resolutions
2018-09-04 00:33:34 +02:00
Deve
6bd5b5276a
Make GP editor GUI working better on different resolutions
2018-09-04 00:33:34 +02:00
hiker
5955166931
Try to fix that a client collects its own bubble gum in case of
...
a rewind.
2018-09-03 18:21:03 +10:00
Benau
65d2c0fc28
Fix memory leak
2018-09-03 14:21:44 +08:00
hiker
3d34c2893b
Merge branch 'master' of github.com:supertuxkart/stk-code
2018-09-03 10:13:01 +10:00
hiker
03c003b68d
First fix for bubble bum support in networking (and some documentation
...
updates).
2018-09-03 10:08:33 +10:00
Deve
5a82c6b537
Slightly increase a size of some gui elements.
2018-09-02 22:53:06 +02:00
Benau
e2eed9de88
Allow to keep the server connection for clients when polling
2018-09-03 00:48:00 +08:00
Deve
a9793a10a0
Better fix for legacy pipeline
2018-09-01 23:15:05 +02:00
Benau
0878e59794
Fix #3421 with settings in user config (default off)
2018-09-01 14:57:38 +08:00
Benau
45e20e5a9a
Fix compiler warning
2018-09-01 09:39:30 +08:00
Benau
823b2a6f05
Update string
2018-09-01 09:39:16 +08:00
Benau
478f9a42a9
Use better english
2018-09-01 09:32:33 +08:00
Deve
26d9de4262
Fixed legacy pipeline
2018-08-31 22:33:55 +02:00
Deve
3a6cc08596
Make items in server selection list slightly bigger
2018-08-31 21:47:03 +02:00
Benau
b4d9b43a52
Use Nettle in linux if found
2018-09-01 01:05:22 +08:00
Benau
8873013911
Move base/decode64 to crypto class
2018-08-31 19:30:25 +08:00
Benau
7fe6023e4f
Use current team info to determine next player team
2018-08-31 19:00:14 +08:00
Benau
15853c4e32
Fix #3418
2018-08-31 17:40:26 +08:00
Benau
2199679ac2
Add support for joining server with ongoing game
2018-08-31 16:27:32 +08:00
Deve
8a579d9542
Ignore mouse clicks that were made directly on ribbon toolbar instead of child elements
2018-08-31 01:29:17 +02:00
Deve
399b89730d
Fixed android compilation
2018-08-31 00:50:44 +02:00
Alayan-stk-2
46064d5c52
Give more space for button labels
2018-08-30 19:54:43 +02:00
Liam Middlebrook
0c4852b05c
Add CLI option for setting random seed ( #3419 )
...
This will allow for deterministic runs with the profiling options.
2018-08-30 14:04:21 +02:00
Alayan-stk-2
ad68f5c5ac
Fix #3415
2018-08-30 05:37:07 +02:00
Alayan-stk-2
84359ad7da
Change highscore limit from 3 to 5 ( #3417 )
...
* Update to support 5 highscores
* Support 5 highscores in the UI
* Save up to 5 highscores instead of 3
2018-08-29 20:32:24 -04:00
Alayan-stk-2
fb43b173d6
Don't count ghost karts for highscores ( #3416 )
...
* Add function to get the number of non-ghost karts
* remove print
* Update function call to not count ghosts
* Don't count ghost karts for highscores
2018-08-29 19:50:38 -04:00
Alayan-stk-2
8249266338
Don't remove a level 2 skid bonus when getting a level 1 ( #3410 )
2018-08-29 18:33:37 -04:00
Alayan-stk-2
80555f4905
Display soccer timer after a goal ( #3411 )
...
* Use shouldDrawTimer overrides for tutorial and soccer worlds
* Add isActiveRacePhase
* Update shouldDrawTimer
* Remove duplicate check
It also allows displaying time in soccer after a goal
2018-08-29 18:33:01 -04:00
Benau
279e15f894
Fix attachment for ghost karts
2018-08-30 01:42:19 +08:00
Alayan-stk-2
fe4c918f3a
Fix #3403
2018-08-29 18:26:41 +02:00
Benau
4a29e46817
Remove warning for skinned mesh shader fallback
...
The shader will be unused anyway if there is no armature
2018-08-29 09:32:34 +08:00
Alayan-stk-2
03700acd53
Improve option text
2018-08-29 02:37:08 +02:00
Benau
809cce0c26
Fallback to default shader in case any shader is missing
2018-08-29 08:04:36 +08:00
Benau
8fc2bdcc3f
Show game started info in server screen with icon
2018-08-28 14:43:48 +08:00
Benau
ca9f66a8a8
Add explanation for smooth network body class
2018-08-28 10:17:59 +08:00
Alayan-stk-2
ea25d6b7d4
Fix #3404
2018-08-28 03:18:49 +02:00
Alayan-stk-2
740786c3f4
Multiple AI levels when view is hidden by a plunger ( #3407 )
...
* Disable AI item avoidance when blocked by a plunger
* Differentiate steering under plunger by item AI level
* Variable AI slowdown under plunger
2018-08-27 20:50:47 -04:00
Alayan-stk-2
8e17965465
Add default 1280x720 resolution in case irrlicht don't report it ( #3405 )
2018-08-27 19:31:21 -04:00
Alayan-stk-2
ed8b1fc185
Fix egg hunt finish time ( #3402 )
...
* Fix #3264
* Fix the fix
2018-08-27 18:44:40 -04:00
scootergrisen
d94383e307
Change multiplayer race to multiplayer ( #3401 )
...
I think its called multiplayer in the main menu without race.
2018-08-27 18:42:07 -04:00
Alayan-stk-2
658e091ea3
Fix list headers not being aligned with cells ( #3400 )
2018-08-27 18:41:36 -04:00
Benau
54bac1bf83
Fix compiler warnings
2018-08-28 01:54:25 +08:00
Benau
61e37bc60f
Use zero for unused values in vote for FFA and CTF
2018-08-27 15:41:15 +08:00
Benau
cbaa06d952
Discard resend packet due to packet loss and adjust tolerance
2018-08-27 14:32:05 +08:00
Benau
732fd7a4c9
Don't show timer warning if voting timeout is not default
2018-08-27 13:49:52 +08:00
Benau
0f39add432
Convert time-related code in network to 64bit to avoid overflow
2018-08-27 13:49:11 +08:00
Benau
e5925a53b7
Use the network timer synchronizer to start game
2018-08-27 09:16:35 +08:00
auria.mg
817b576399
Fix crash when leaving ghost replay screen
2018-08-26 21:07:56 -04:00
auria.mg
418901b0de
Fix List widget rendering glitch
2018-08-26 21:07:02 -04:00
hiker
b3af6a0473
Fixed compiler warnings.
2018-08-27 08:53:58 +10:00
Deve
94400b12d6
Set multitouch device scale depending on actual screen size
2018-08-25 23:42:05 +02:00
Alayan-stk-2
4484bd961a
Add kart icons to the ghost replay list ( #3392 )
...
* Add a hide multiplayer replays checkbox
* Hide player number column ; add kart icon column
Enabling the icon display creates issues in the list widget layout, however.
* Fix formatting issue when an icon is displayed in only some cells
* Display "?" icon when kart model is unknown
This can happen with uninstalled addons, old replays with removed official karts, etc
* Add helper functions for icons in replay info dialog
* Add kart icons to replay info dialog
* Delete m_icon_bank in tearDown
2018-08-24 19:34:42 -04:00
Deve
38ed061d71
Fixed up/down button for inverted buttons
2018-08-25 00:45:37 +02:00
Deve
2beca69f25
Use slightly bigger buttons for multitouch gui by default
2018-08-25 00:21:46 +02:00
Deve
9d3c9f8f0d
Use smaller margin for up/down button
2018-08-25 00:11:05 +02:00
Deve
19ad3df8fa
Revert a workaround for 32bit angelscript compilation.
...
It's unclear which gcc versions are affected.
2018-08-24 23:25:59 +02:00
Deve
7738eb7899
Fixed compilation with older gcc
2018-08-24 22:59:46 +02:00
Deve
8b2a40e914
Fixed compilation
2018-08-24 03:27:13 +02:00
Deve
ad8b30b5d3
Recreate libchildprocess after apk upgrade also when device has non-typical internal data dir
2018-08-23 23:08:27 +02:00
Benau
35b167a824
Add network timer synchronizer
2018-08-23 16:11:05 +08:00
Benau
7b646dd2cb
Add timer synchronization to config and adjust for CTF
2018-08-23 15:07:40 +08:00
Benau
1992177205
Add network timer in main loop
2018-08-23 14:40:17 +08:00
Benau
9e500751a1
Add 64bit unsigned integer handling in network string
2018-08-23 14:35:18 +08:00
Benau
abc93beedf
Add c++11 chrono timer handling
2018-08-23 14:34:56 +08:00
Deve
7e7a23854f
Use standard data dir location if possible
2018-08-23 07:16:16 +02:00
Benau
8363dd42d3
Fix server owner name sorting
2018-08-23 09:01:11 +08:00
Benau
fc68532f38
Update supertuxkart.pot
2018-08-23 07:50:39 +08:00
Benau
bc83e181ff
Remove more space before ?
2018-08-23 07:48:45 +08:00
Alayan-stk-2
024e17aa97
Display time-trial and egg hunt times up to the ms ( #3391 )
...
* Add function to get time display precision for current race mode
* Display time-trials times and highscores up to the ms
* Add comment
2018-08-22 19:36:21 -04:00
Deve
2ac8387761
Read data path from ApplicationInfo structure instead of hardcoded /data/data/...
2018-08-23 00:21:20 +02:00
Deve
9908b83f05
Fixed random kart in overworld
2018-08-22 21:10:28 +02:00
Deve
4515038302
Fixed compilation.
...
Now it's added as IRR_KEY_OEM_*
2018-08-21 22:27:20 +02:00
Deve
66548d68a9
Add some missing key names
2018-08-21 22:01:17 +02:00
Deve
54c9fb97fa
Use higher values as a fallback for unknown keycodes on android
2018-08-21 21:36:39 +02:00
Deve
ba6bbd4133
More key codes for keyboard on android
2018-08-21 21:18:35 +02:00
Benau
c67290a262
Sort code files too according to name, fix some spaces before !
2018-08-21 13:34:27 +08:00
Benau
70e393c93a
Update supertuxkart.pot
2018-08-21 09:53:32 +08:00
Benau
d984409c6b
Remove --online and clarify global networking
2018-08-21 09:52:54 +08:00
Benau
1610158405
Use sort -n to maintain a constant file order
2018-08-21 09:50:28 +08:00
Alayan-stk-2
dc43e3d5b2
Assign kart type to karts not having a valid one ( #3385 )
...
* Fix #3375
* Remove debug print
* Don't clear the list of kart types when changing resolution
2018-08-20 20:52:10 -04:00
Alayan-stk-2
8039a18aec
Fix #2776 ( #3386 )
2018-08-20 20:51:04 -04:00
Deve
07fd42ee3c
Add support for unicode characters for hardware keyboard on android
2018-08-20 23:34:51 +02:00
Benau
11bb2f3b0a
Always call kartHit
...
CTF map can be used without arena, and linear race mode will
override kartHit to do nothing anyway
2018-08-21 01:49:59 +08:00
Benau
73ac4f165b
Add indication for collected flags in GUI and map
2018-08-21 01:31:49 +08:00
Benau
1becb50cf8
Use reset function from powerup
2018-08-21 00:17:30 +08:00
Benau
7ad349a7ed
Implement auto flag returning after some timeout
2018-08-20 16:19:32 +08:00
Benau
f48491c279
Make sure all karts has the same position before go phase
2018-08-20 15:40:29 +08:00
Benau
2fa233179c
Remember num laps only in race mode
2018-08-20 15:14:08 +08:00
Benau
58c55a3b30
Don't recreate animation if exists already
2018-08-20 14:34:17 +08:00
Benau
552028e791
Put the kart back to its own flag base like rescue if direct hit in CTF
2018-08-20 14:33:17 +08:00
Benau
d885a87600
Remove unused code
2018-08-20 13:17:04 +08:00
Benau
124324a133
Clear powerups when rescue or direct hit in CTF
2018-08-20 13:03:20 +08:00
Benau
eca9ffb508
Scale the timer according to m_end_ticks told by server if necessary
2018-08-20 11:39:31 +08:00
Deve
1e0a4dc1aa
Delete old libchildprocess after apk upgrade
2018-08-19 21:51:15 +02:00
Magne Djupvik
9cf59a4dd0
Removed IRC announcements for AppVeyor and Travis since we now have our own bot to do the announcements.
2018-08-19 14:40:21 +02:00
Benau
2307005159
Add end ticks handling to kart animation
2018-08-19 16:27:42 +08:00
Benau
7970d138e5
Fix flag returning
2018-08-19 14:30:00 +08:00
Alayan-stk-2
da2294d8ac
Fix #3306 ( #3384 )
2018-08-18 21:32:05 -04:00
Alayan-stk-2
926ad522ce
Don't trigger eventCallback when moving to the other arrow of a spinner ( #3380 )
2018-08-18 18:48:23 -04:00
Alayan-stk-2
dac94fad57
Changelog additions ( #3377 )
...
* Remove a duplicate mention of deveee ; add Fantasmos and QwertyChouskie
Fantasmos has contributed :
- Illimited splitscreen multiplayer (involves also race UI improvements in local multiplayer)
- Flashing bubble gum before expriation
- Crash sounds changing depending on speed/direction
- Better rescue
- Misc fixes
QwertyChouskie has contributed :
- New skidding particles
- Misc. fixes and improvements
* Add most of the significant changes (for finished features) since 0.9.3 to the changelog
* Include two more changes for the 0.9.3 version
* Add a few items, clearly separate track/modelling changes
Also, each new track get one line of changelog. Putting two on the same line vastly underestimate the importance of such a change. This also make it easier to mention removed/replaced tracks.
The changelog should not be shortened at all costs ; rather, it should be reasonably complete and not shy from using more lines as a visual cue when appropriate.
* Add kart and tracks subsection, improve changelog organization for 0.7.x versions
* More sorting for 0.6.x releases
* Improve info on track changes in 0.4/0.5
* Add android input improvements to the changelog
* Fix typo
* Remove incomplete name change info
2018-08-18 18:47:30 -04:00
Deve
dd7380f569
Fixed server_only compilation
2018-08-19 00:19:31 +02:00
Deve
3fe2340628
Use --no-sound for created server
2018-08-18 23:34:54 +02:00
Deve
9b9785e8ec
Add a possibility to disable sound in commandline
2018-08-18 23:34:54 +02:00
Benau
db36ee6df6
Handle controller the last to avoid slow PC sending actions too late
2018-08-18 12:49:31 +08:00
Benau
8b3772470a
End CTF early if no red / blue players connected
2018-08-18 12:08:12 +08:00
Deve
15a3be2dc1
Avoid invalid memory access in child process on Android
2018-08-17 23:40:39 +02:00
Deve
474a243890
Enable server creation on Android
2018-08-17 22:36:56 +02:00
Deve
d04ff88a5e
Fixed one more bug with SeparateProcess on Android
2018-08-17 22:36:39 +02:00
Benau
df69e7f6b6
Implement capture and return of flags
2018-08-18 01:05:00 +08:00
Benau
f54c1eb2b6
Merge remote-tracking branch 'origin/network-debugging'
2018-08-17 18:19:44 +08:00
Benau
8e9d42baf1
Fix end controller crash if using CTF with DriveGraph
2018-08-17 17:10:27 +08:00
Benau
afe5bc2a16
Fix isRaceOver in CTF
2018-08-17 16:46:56 +08:00
hiker
942718a442
Fixed physics differences based on setting the restitution in
...
case of a rewind based on the wrong (old) speed.
2018-08-17 17:46:27 +10:00
Benau
5104ffe0eb
Remove unneeded . for fetching ranking message
2018-08-17 14:08:42 +08:00
Benau
4831caac77
Tell user that player name is clickable in lobby
2018-08-17 13:45:38 +08:00
Benau
9905ebe09d
Add the required GUI code for CTF
2018-08-17 12:54:38 +08:00
Deve
acce57cf31
Add a script for easier managing STK servers
2018-08-16 22:30:15 +02:00
Deve
d2a28f18f7
Fixed a crash with --no-graphics
2018-08-16 22:30:15 +02:00
Deve
80fd62c7d8
More fixes for global_android_app
2018-08-16 22:30:15 +02:00
Benau
a2af7127e7
Reset the font scale after drawing with it
2018-08-16 15:25:58 +08:00
Benau
1d87f9a104
Add red and blue flag svg icon in gui
2018-08-16 14:55:41 +08:00
Deve
ecc5aaf869
Fixed some crashes
2018-08-15 23:53:14 +02:00
Deve
b5e4275f87
Don't crash if separate process creation failed
2018-08-15 22:11:59 +02:00
Deve
c43975c03a
Don't kill everything if fork failed
2018-08-15 22:10:00 +02:00
Benau
73c264df94
Add support for CTF map
2018-08-16 02:09:44 +08:00
Benau
03728708cd
Rename soccer team to kart team for CTF
2018-08-15 15:13:55 +08:00
Deve
19038b4600
Make SeparateProcess working on Android
2018-08-14 00:14:34 +02:00
samuncle
b8ce2da3f3
Add more utilities to default shader function + make the road shader more optimized
2018-08-13 18:46:00 +02:00
Benau
2efe3afa9f
Don't undo swatter destruction which is not necessary with local event
2018-08-13 13:05:29 +08:00
hiker
da11c0266d
Round the kart sizes to work around a bug that client and
...
server get (slightly) different kart sizes (which then affects
the physics).
2018-08-13 12:22:58 +10:00
hiker
543993a614
Merge remote-tracking branch 'origin/master'
2018-08-13 12:22:43 +10:00
hiker
514a169f5b
Round the kart sizes to work around a bug that client and
...
server get (slightly) different kart sizes (which then affects
the physics).
2018-08-13 12:19:19 +10:00
Benau
8aab1c0a69
Use Free-For-All for name instead
2018-08-13 09:00:37 +08:00
Alayan-stk-2
41a3a1056e
Improved spinner ( #3374 )
...
* Add spinner arrow focus with keyboard
* Improve keyboard navigation for spinners
* Only display active arrow if spinner is focused
2018-08-12 18:00:42 -04:00
Benau
64595a7b18
Initial work on FFA in network
2018-08-13 00:59:20 +08:00
Benau
c8c0e599db
Try to remember server creation option
2018-08-12 12:46:45 +08:00
Benau
6bdec3d01a
Add initial framework for FFA and CTF in network
2018-08-12 10:57:37 +08:00
Benau
b755d4d00b
Replay slipstream speed increase event locally in network
2018-08-10 18:26:13 +08:00
Benau
0b0a3641f2
Update some translation for testing
2018-08-10 16:39:29 +08:00
Benau
3e95feeb0b
Translate network message in main thread
2018-08-10 16:38:38 +08:00
Benau
95f3dfc01a
End network game early if there is no red or blue team player
2018-08-10 15:08:19 +08:00
Alayan-stk-2
00c0fecb27
Clearer spinner arrows ( #3373 )
...
* Clearer focus on coal spinner
* Clearer focus on ocean spinner
* Clearer focus on ruby spinner
2018-08-09 19:47:55 -04:00
Benau
b4d16799e8
Fix bubblegum torque rewind in network
2018-08-08 13:20:37 +08:00
Benau
e9945a5d16
Improve undo destruction for flyable
2018-08-08 11:50:45 +08:00
Alayan-stk-2
83ff426c53
Fix default sorting
2018-08-08 03:15:47 +02:00
Deve
3211403276
Don't use progress bar for server-only on android
2018-08-07 23:36:05 +02:00
Benau
7d17601f8a
Fix 32bit random number overflow
2018-08-07 10:56:23 +08:00
Alayan-stk-2
61b56e7352
Improvements to kart selection stats bars ( #3371 )
...
* Compute acceleration efficiency instead of raw engine power
* Improve kart stats display
* Fix conflict resolution error
* Fix conflict resolution error
2018-08-06 20:50:07 -04:00
auria.mg
f1bd14c5b5
Add tooltip support on IconButtonWidget
2018-08-06 20:03:22 -04:00
Arthur-D
ae64d563e0
Update INSTALL.md ( #3358 )
...
* Update INSTALL.md
* Update INSTALL.md
Moved Git and SVN installation instructions to the wiki, and a few other small changes.
2018-08-06 19:43:52 -04:00
Deve
0f4023a39c
Add a path to zlib when building curl for android
2018-08-06 23:04:40 +02:00
Benau
eef888d2b7
Fix falling effect of rescue animation in network
2018-08-07 02:36:38 +08:00
Benau
8ab2368e2d
Add confirmation of kart animation for network
2018-08-07 02:26:34 +08:00
Benau
b4783d82f6
Redo the same physicial properties in server
2018-08-06 15:49:01 +08:00
Benau
93aeeda12b
Fix rewind issue of rubber ball
2018-08-06 14:37:55 +08:00
Alayan-stk-2
f5a308f94b
Fix list sorting ( #3368 )
...
* Manage if the sort should be default, ascending or descending from the base widget
* Update all list sorting to be in sync with the list widget sort buttons
2018-08-05 18:03:37 -04:00
Benau
c58ac1b111
Use hardcoded values for m_max_frames
...
Some compiler fails to load default values of UserConfigParams
during static initialization
2018-08-05 13:14:22 +08:00
Alayan-stk-2
e711f20edb
Fix #3234 ( #3367 )
2018-08-04 21:17:38 -04:00
Alayan-stk-2
3b3990a196
Use a stable sort for replay list sorting ( #3364 )
...
* Use a stable sort for replay list sorting
* Add default multi-criteria sorting for ghost replays list
2018-08-04 20:37:29 -04:00
Benau
37f1dea312
Invert the order of saving to keep state small
2018-08-05 01:29:43 +08:00
Benau
79d1178626
Improve kart animation handling in network
2018-08-04 16:29:49 +08:00
Benau
a892988b00
Clarify password in create server screen
2018-08-04 00:32:40 +08:00
Benau
9e6ebe6097
Try to fix speedy end controller in network race
2018-08-04 00:02:52 +08:00
Benau
ce58014cab
Fix compiler warning
2018-08-03 20:26:16 +08:00
Benau
4d2e79da4c
Implement auto-kick high ping player (default off)
2018-08-03 19:50:49 +08:00
Benau
14475762b8
Flush all command before delete world
2018-08-03 18:36:35 +08:00
Benau
9d78173ec6
Use 32bit for server version
2018-08-03 14:01:36 +08:00
auria.mg
90073bc954
Fix karts spawning over the start line, esp. in reverse
2018-08-02 21:02:52 -04:00
Benau
8b07ec755a
Disable switch and bubblegum for now in network
2018-08-03 01:28:20 +08:00
Benau
0a95900283
Clean all pending rewind event functions when exit
2018-08-03 01:26:42 +08:00
Benau
9a8d5fc667
Improve swatter in network by locally add a swat event
2018-08-02 16:37:56 +08:00
hiker
fc151bb262
Added Alayans scaled weight factors (sums now 1000 instead of 200),
...
which makes it easier to visualise the values.
2018-08-02 18:06:45 +10:00
hiker
b164a35d91
Fixed item distribution (signed numbers made the random number
...
negative, causing incorrect distribution of items).
2018-08-02 18:03:42 +10:00
hiker
0fa25db181
Removed runbber ball's time-between-ticks setting, which is not
...
necessary anymore after alayan's changes to item distribution.
2018-08-02 09:34:03 +10:00
hiker
46706fb109
Applied a simpler version of Alayan's change to selecting the
...
a random item: the computed 'random' number is now sent through
a PRNG once to avoid long sequences of picking the same item.
2018-08-01 09:55:08 +10:00
hiker
9b7f63b4ca
Applied alayan's bugfix - thanks!
2018-08-01 09:55:00 +10:00
hiker
8ea8562ee6
Fixed profile mode.
2018-08-01 09:54:43 +10:00
Benau
2bb52df3c8
Split random ports (default off for server) configuration
2018-07-31 10:46:41 +08:00
Alayan-stk-2
8acd13542e
Fix #3351 ( #3354 )
2018-07-30 20:29:31 -04:00
Benau
d203239aa2
Improve kart kart collision in network
2018-07-31 01:14:02 +08:00
Benau
4ec8a33f8c
Use a correct queue to save network state
2018-07-30 19:38:10 +08:00
Benau
f49a092603
Optimize network state saving
2018-07-30 16:26:28 +08:00
Benau
a8434624a1
Optimize saving of max speed state in network
2018-07-30 15:36:16 +08:00
Benau
782e966fa5
Optimize saving of skidding state in network
2018-07-30 15:35:59 +08:00
Benau
59ebc48fe1
Don't recreate locally destroyed projectile
2018-07-30 01:56:14 +08:00
Benau
982220daf8
Fix rubber ball in network
2018-07-29 15:59:34 +08:00
Benau
3f27a04bd1
Fix plunger in network
2018-07-28 16:02:46 +08:00
Deve
fa4c640dae
Merge branch 'hide-navbar'
2018-07-27 20:56:36 +02:00
Deve
52d6e93bdc
Hide navbar only for android >= 4.4.
2018-07-27 20:55:31 +02:00
Deve
bd5d2f1c2a
Use theme that works better with hidden navbar
2018-07-27 20:43:32 +02:00
Benau
5f90a61c3d
Improve item firing sound in network
2018-07-28 01:00:41 +08:00
Benau
b0f20ca5a5
Add the remaining unreliable fragment flags
2018-07-27 22:40:28 +08:00
Benau
5d3304b1c0
Fix compiler warnings
2018-07-27 22:40:03 +08:00
Benau
d9cebc3991
Try unreliable state in network
2018-07-27 21:47:07 +08:00
hiker
4e35fe8fb8
Merge branch 'physics-tweaks'
2018-07-27 21:24:28 +10:00
Benau
f0b46d08b2
Fix swatter in network
2018-07-27 13:32:19 +08:00
Deve
ef27fdaba8
Fixed a crash on exit
2018-07-27 00:05:39 +02:00
Deve
b7a11e68ad
Hide navigation bar for more comfortable playing and more screen space
2018-07-26 22:34:56 +02:00
Deve
5d9614295e
Allow to handle window state events directly in main thread
2018-07-26 22:21:41 +02:00
Deve
a08cccceaa
Use our copy of native app glue
2018-07-26 22:20:53 +02:00
hiker
f8acc1ad49
Added the cushioning time to the network state (to be decided later
...
if local state might be good enough).
2018-07-26 21:47:05 +10:00
hiker
b12205332c
Changed default value of m_network_steering_reduction to -1 to make
...
sure we test if this value is specified in stk_config.xml.
2018-07-26 17:52:29 +10:00
hiker
84c21c4af2
Merge remote-tracking branch 'origin/master' into physics-tweaks
2018-07-26 17:47:25 +10:00
Benau
05f5663888
Save the uncompressed physics values to objects in server
2018-07-26 13:32:41 +08:00
Benau
7538f36bed
Remove compiler warnings
2018-07-26 08:54:38 +08:00
hiker
007f611c10
Bugfix - NetworkPlayerController are also created on the server.
2018-07-26 10:48:06 +10:00
hiker
7ff7e049ea
Merge branch 'master' of github.com:supertuxkart/stk-code
2018-07-26 10:18:30 +10:00
Benau
c69bf2b96f
Split squashed timer and squashed status
2018-07-26 01:47:49 +08:00
Benau
f88ad497e9
Fix ticks time mixed up
2018-07-26 01:02:41 +08:00
Benau
c261735c2b
Try to fix osx build
2018-07-25 21:42:36 +08:00
Benau
d4ca53b34e
Detect incompatible binary during restore state
2018-07-25 16:15:26 +08:00
hiker
7cca534273
Added option to reduce steering of remote karts automatically each frame.
...
This can help in case of high latency connections and quick steering changes:
because of the high latency the steering is applied too long locally,
reducing in the other kart driving left/right way too much.
It's disabled for now (i.e. steering is multiplied by 1.0), but can be
enabled in stk_config.
2018-07-25 18:09:05 +10:00
hiker
deb6d76504
Fixed compiler warning.
2018-07-25 17:52:38 +10:00
Benau
1e53349f52
Rewind bowling and cake in network game
2018-07-25 15:33:49 +08:00
Benau
c8a50d2f49
Temporarily fix rewind queue for undo
2018-07-24 15:44:31 +08:00
Benau
4a9a0fba0f
Make flyable to work with shared_ptr
2018-07-24 15:43:31 +08:00
Benau
60bfc1840b
Port rewinders to use shared_ptr
2018-07-24 14:22:20 +08:00
Benau
bbf5c54f87
Use rewinder with shared_ptr for easier item destroy handling
2018-07-24 14:21:42 +08:00
Benau
6369256022
Reset rewinding manager at each online or offline game
2018-07-24 14:18:43 +08:00
Marianne Gagnon
973b29980d
Fix #3347
2018-07-23 19:58:15 -04:00
hiker
1a9f0163e0
Try to fix odd behaviour of soccer ball.
2018-07-23 17:52:12 +10:00
hiker
a1ba27bc45
Try again to fix our build environment in server only mode.
2018-07-23 15:40:25 +10:00
Benau
b6c893b03e
Try to fix server only build in linux
2018-07-23 13:27:14 +08:00
hiker
bda6c546d0
Merge branch 'fix-serveronly-build'
2018-07-23 13:53:10 +10:00
hiker
d18e963ea6
Added Benau's new version.
2018-07-23 12:51:59 +10:00
Benau
56b71e97ad
Remove unused class
2018-07-23 08:41:59 +08:00
Benau
00a22a727a
Check minimap invert for all players (required in network)
2018-07-23 08:29:37 +08:00
hiker
39e218b2dc
Try to fix server-only build ... now non-server build is broken :(
2018-07-23 09:28:12 +10:00
Deve
ea13d97f6b
Allow to specify minimum number of players in command line
2018-07-22 22:48:45 +02:00
Benau
a22fde85ec
Correct ghost kart starting position before start
2018-07-20 19:49:06 +08:00
Benau
82b23b6c26
Fix ghost replay crashes
2018-07-20 19:23:18 +08:00
Benau
d4f7d6baaa
Don't show the polling log if currently server
2018-07-20 15:46:07 +08:00
Benau
0e1a5ea285
Properly check for soccer team of players
2018-07-20 14:44:53 +08:00
Benau
2b4d062911
Try to fix the remaining ipo issues
2018-07-20 14:09:27 +08:00
auria.mg
a3a5befe63
Keep working on #3345 , not there yet
2018-07-19 21:09:33 -04:00
auria.mg
f4dced8172
A few steps forward for issue #3345 , more issues remain
2018-07-19 20:56:46 -04:00
Benau
c4ae3dff69
Set the min max values for each mode properly
2018-07-20 01:42:31 +08:00
Benau
1f7f64f3b5
Prevent rescuing in soccer mode to go back to self goal immediately
2018-07-20 01:36:02 +08:00
Benau
487227630f
Invert x-z of position for soccer blue team player
2018-07-20 01:06:11 +08:00
hiker
b4a4de74bb
Merge remote-tracking branch 'origin/master' into physics-tweaks
2018-07-19 18:39:55 +10:00
Benau
f124bd9df3
Don't allow the game to start if all players joined red or blue team
2018-07-19 15:50:01 +08:00
Benau
639883ca48
Display the number of players required to start a game for owner-less server
2018-07-19 15:26:15 +08:00
Benau
4ccb405cd1
Add exception handling in handlePendingConnection
2018-07-19 14:48:50 +08:00
Benau
7ebd1fabd9
Add exception handling to prevent player hacking network string
2018-07-19 14:23:35 +08:00
Benau
00712c5c6d
Fallback to goal target if not specified in command line
2018-07-19 09:24:13 +08:00
hiker
6bf1a59579
Fixed compiler warning.
2018-07-19 09:56:15 +10:00
hiker
53d2bc3b8e
Made restitution configurable (depending on speed of kart).
2018-07-19 09:55:24 +10:00
Deve
285b4701d6
Revert "Revert "Fixed multitouch device after some modifications in player controller""
...
This reverts commit d14916dec2 .
2018-07-18 21:32:36 +02:00
Benau
1ba361ae23
Reset track objects during onGo when race start for network
2018-07-19 01:55:05 +08:00
Benau
1d7a9e9465
Prevent negative time in network soccer when finishing
2018-07-19 01:17:52 +08:00
Benau
6423925718
Hide the low-level extra server info from command line
2018-07-19 01:08:26 +08:00
Benau
b7569635a0
Load LOD models required by phyiscal moveable objects for server only
2018-07-19 00:51:04 +08:00
Benau
5e7ec89002
Fix more override warnings
2018-07-19 00:35:56 +08:00
Benau
d14916dec2
Revert "Fixed multitouch device after some modifications in player controller"
...
This reverts commit b359a3387f .
The original controller handling is brought back
2018-07-19 00:26:29 +08:00
Benau
252505a59f
Merge remote-tracking branch 'origin/master' into local_state
2018-07-19 00:25:00 +08:00
Benau
1be9e4fdc4
Remove unsuitable tracks for each game mode during setup
2018-07-19 00:03:09 +08:00
Benau
c5cdfcebfe
Finish soccer mode in network
2018-07-18 16:37:09 +08:00
Benau
d5168691e1
Dont't send item event confirmation if empty state
2018-07-18 13:33:37 +08:00
Benau
59f1fdf250
Take controller event into account for connection debug
2018-07-18 13:31:38 +08:00
Benau
f5230e30aa
Use the original way to save controller event
...
And save more locally for network state
2018-07-18 13:10:44 +08:00
hiker
fcc1ab3abe
Test to change restitution based on speed, to avoid huge push-into-air
...
after certain high speed collisions.
2018-07-18 09:39:19 +10:00
hiker
c01622a5d7
Avoid cushioning a kart more than once per second. This helps
...
avoiding the hovering effect (a kart is cushioned, moves forwards
on a downward slope, cushioned again, ...).
2018-07-17 09:31:14 +10:00
Benau
5c6de6d0fa
Increase quaternion compressed precision
...
After dropping the largest value, the rest 3 are guaranteed not
larger than 1 / sqrtf(2), given normalized quaternion
2018-07-16 12:13:31 +08:00
Benau
fc563cc678
Add useLocalEvent in rewind manager
2018-07-16 01:00:13 +08:00
Benau
511d8dd7a8
Port kart animation rewind to RewindInfoEventFunction
2018-07-16 00:35:33 +08:00
Benau
f2d5b32fa6
Add RewindInfoEventFunction for functional rewind
2018-07-16 00:32:58 +08:00
Benau
e0ada8d6d1
Fix soccer ai stats
2018-07-15 15:20:55 +08:00
Benau
30ceb7dd4a
Make smoothing variable configurable
2018-07-15 12:49:07 +08:00
Benau
b979d0db71
Fix change team icon path
2018-07-14 15:55:03 +08:00
Benau
06bcb13590
Allow changing soccer team in lan or private servers
2018-07-14 15:16:54 +08:00
Benau
c72db7099d
Synchronized random arena item in network game
2018-07-14 08:11:35 +08:00
Deve
a1168d49db
Minor fix for more consistency in android make script
2018-07-14 00:03:09 +02:00
Deve
b359a3387f
Fixed multitouch device after some modifications in player controller
2018-07-13 23:50:40 +02:00
Benau
9fbfe0588f
Make network tracks screen usable for all game modes
2018-07-14 00:40:53 +08:00
Benau
49d7a2fbbc
Use count up ticks on rewinding for time limit in soccer game
2018-07-13 23:34:50 +08:00
Benau
724828b031
Don't adjust vertical offset for phyiscial objects
2018-07-13 22:06:13 +08:00
Benau
23e5dace40
Allow starting soccer mode in network with goals limit
2018-07-13 21:29:26 +08:00
Benau
0cee131b9f
Add positional smoothing for physical objects in network
2018-07-13 20:27:37 +08:00
Benau
1333fe2d19
Use minimum size for uid of rewinder
2018-07-13 15:05:07 +08:00
Benau
ef65d70f77
Compress physical object state
2018-07-13 13:46:15 +08:00
Benau
5330951842
Improve compress quaternion by only dropping the largest value out of 4
2018-07-13 12:56:55 +08:00
Benau
565dfcef96
Only send state for moving track object
2018-07-13 10:47:30 +08:00
Benau
ab528e2840
Add a unique identity to each rewinder
2018-07-12 12:41:06 +08:00
Benau
99659e8021
Initial work on dynamic physics object rewind
2018-07-12 09:05:26 +08:00
Benau
7e2d25d4a9
Disable in game menu to avoid timer desync if not racing in network game
2018-07-12 07:16:37 +08:00
Benau
11d9090039
Add initial kart local state saving with correct attachment rewind
2018-07-12 07:08:02 +08:00
Deve
ec25a9d368
Enable screen keyboard on android even if there is no touch device.
...
It may be still useful for gamepad.
2018-07-11 22:41:22 +02:00
Deve
30b1799b6e
Fixed minor bug in android build script
2018-07-11 21:35:40 +02:00
Deve
e0d262bfdd
Allow to use screen keyboard even if hardware keyboard is available
2018-07-11 21:02:24 +02:00
Benau
8515805d52
Add initial framework for local state saving
2018-07-11 15:40:36 +08:00
Benau
a8959f604c
Fix crash when in-game menu opened when going to result screen in network game
2018-07-11 15:37:55 +08:00
Benau
db8a92a2d6
Fix getifaddrs leaking
2018-07-11 13:49:01 +08:00
Benau
908735b1b1
Remove local state saving at t = 0
...
A proper same frequency local state saving for client will come later
2018-07-11 13:29:30 +08:00
Benau
b537df54fc
Move scripting update to updateGraphics
2018-07-11 11:08:53 +08:00
Benau
3b2acf01eb
Add m_disable_sending_log to request to hide logging for server polling
2018-07-11 10:56:28 +08:00
Benau
bce888ec26
Always highest geometry level in network game
2018-07-11 09:06:49 +08:00
Deve
ed8b5e9f76
Allow to set different path for log files
2018-07-11 00:31:30 +02:00
Deve
b531858ddb
Fixed sound on android
2018-07-10 22:23:22 +02:00
Deve
b5c3910fe8
Fixed android x86 compilation.
...
Ugly, but there is no better solution atm.
2018-07-10 21:22:14 +02:00
Deve
9190847aa3
Close screen keyboard before race is started
2018-07-10 21:22:14 +02:00
Benau
621a718d27
Switch to assign mode in case a player hasn't chosen any karts
2018-07-11 01:41:43 +08:00
Benau
2d6c45f65e
Fix attachment rewind with passing bomb
2018-07-11 01:36:20 +08:00
Deve
c76f48c701
Require enet >= 1.3.4.
...
It's needed for enet_peer_ping_interval()
2018-07-09 22:33:14 +02:00
Deve
68d43734cd
Fixed compilation with older compilers
2018-07-09 21:40:52 +02:00
Deve
8885119974
Don't crash if some textures are missing
2018-07-08 23:00:16 +02:00
Benau
8a25edf2cc
Use has_animation_before to avoid immediately rescue from previous material
2018-07-08 16:23:39 +08:00
Benau
35e2916981
Add the missing calculation for ipo constructor
2018-07-08 15:29:15 +08:00
Benau
3347cac92d
Make track object with ipo animation depend on world up ticks
2018-07-08 14:08:33 +08:00
Benau
e67f0db7c1
Reset all actions in suitable function for local game restart
2018-07-08 13:58:19 +08:00
Benau
17d1bddf0d
Don't re-update scripting engine during rewind
2018-07-08 12:58:57 +08:00
Benau
0fa444fbbf
Add isNetworking scripting function to disable some track object
2018-07-08 11:57:37 +08:00
Benau
f0c376a41d
Always push a screen in server only build to fix getCurrentScreen crash
2018-07-08 09:26:22 +08:00
Deve
aa0a51c31a
Fixed angelscript compilation with 32bit gcc
2018-07-07 23:36:02 +02:00
Benau
b6edc0d93f
Add --disable-polling for hosting multiple servers on 1 machine
...
Only 1 instance of STK server needs keep polling the addon server,
the rest can be run with the above option
2018-07-07 12:50:04 +08:00
Benau
efd20966e4
Fix #3066 by make sure cert location is handled in main thread
2018-07-07 12:33:30 +08:00
Benau
21ccf587c3
Add --init-user for server owner to save player profile without gui
2018-07-07 12:32:06 +08:00
Benau
21842f78d8
Fix leaking dummy sfx buffer
2018-07-07 10:56:11 +08:00
Benau
622f46d95a
Properly use the ENABLE_SOUND flag
2018-07-07 10:43:05 +08:00
Benau
02fea1ee43
Disable sound code in server only build and rename the flag
2018-07-07 09:48:43 +08:00
Benau
4099afb25f
Remove image related code and library dependencies in server only build
2018-07-07 09:27:39 +08:00
Benau
a60b2d3761
Remove freetype in server only build
2018-07-07 02:06:49 +08:00
Benau
00db1f8405
Turn wii cmake flag into a dependent option
2018-07-07 01:58:19 +08:00
Benau
9c3aae554e
Remove fribidi and tinygettext in server only build
2018-07-07 01:22:26 +08:00
Benau
106d4c3c08
Fix #3340
2018-07-07 00:25:08 +08:00
Benau
8e449750c8
Correct help for networking
2018-07-07 00:02:32 +08:00
Benau
d184c82daa
Fix #3341
2018-07-06 23:50:16 +08:00
Benau
8931d90813
Merge remote-tracking branch 'origin/master' into curved
2018-07-06 23:49:04 +08:00
Benau
80178ba695
Fix camera offset
2018-07-06 23:43:30 +08:00
Benau
7a1355d415
Use smoothed transformation in minimap
2018-07-06 22:40:57 +08:00
Benau
1efce9ae29
Fix penalty in networking
2018-07-06 22:24:32 +08:00
Benau
c437fcc513
Split jump time update to graphical for skidding
2018-07-06 21:40:41 +08:00
Benau
3f47c650e8
Allow smoothing for skidmarks
2018-07-06 19:01:13 +08:00
Benau
d6c3c825aa
Add an up offset on skidmarks for uneven terrain
2018-07-06 18:30:22 +08:00
Benau
8071865a07
Use a separate smoothing timer for steering
2018-07-06 17:44:50 +08:00
Benau
a76a6e3508
Use smoothed transform to raycast the skidmark quads
2018-07-05 14:22:37 +08:00
Benau
e50029b707
Use smoothed transform directly for shadow
2018-07-05 11:21:41 +08:00
Benau
0a020210e5
Fix quaternion slerp
2018-07-05 11:16:45 +08:00
Deve
4f2b538399
Fixed pause dialog on touch device when end controller is used
2018-07-04 21:52:08 +02:00
Benau
d6672b64c5
Don't use 0 host id for starting
2018-07-05 01:37:50 +08:00
Benau
7caad2905e
Add smoothing for steering percent
2018-07-04 16:22:09 +08:00
Benau
ad773089a5
Fix the rotation smoothing
2018-07-04 15:14:20 +08:00
QwertyChouskie
c4f0a71ef0
Add macOS to travis builds, fix server-only builds on macOS, msc. fixes ( #3339 )
...
* Use thread number from Travis docs
The other number is probably incorrect.
See https://github.com/travis-ci/travis-ci/issues/4696
* Add macOS to travis builds
* Remove unnecessary libraries
Not sure why these were added in the first place.
First commit that added them: 6aecb42e42
* Fix server-only build on macOS
2018-07-03 19:37:57 -04:00
Benau
e1dfe2e7e0
Show ping of remote players in lobby
2018-07-04 00:54:40 +08:00
Benau
a44ce60991
Send our own reliable packet for a more accurate ping
2018-07-03 14:20:35 +08:00
Benau
de8730dbfc
Preload some textures to avoid game hangs
2018-07-03 09:23:58 +08:00
Deve
872f214c41
Fixed a crash when using rubber band in legacy pipeline.
...
Fixes #3338
2018-07-02 21:41:48 +02:00
Benau
7174e4070c
Use 8 maximum players in network games
2018-07-03 00:47:31 +08:00
Benau
8c53296290
Disable the unneeded time adjust
2018-07-02 16:38:11 +08:00
Benau
674faad226
Fix #3259
2018-07-02 15:40:27 +08:00
Benau
211b107955
Make sure we don't send controller event if updateRace is too slow
2018-07-02 11:20:46 +08:00
Deve
0518d422c6
Fixed compilation
2018-07-01 22:57:48 +02:00
Benau
172a86192f
Remove debug output
2018-07-01 14:34:02 +08:00
Benau
d3f7cb7999
Move ticks adjustment to main_loop
2018-07-01 14:31:42 +08:00
QwertyChouskie
b4ef263cc9
Update macOS instructions ( #3335 )
...
* Update macOS instructions
Thanks @OzoneOne for testing this.
* Fix issues
Also remove 0.9.3-and-below-only Xcode build instructions, was "much less well tested" anyways.
* Revert unnecessary change, more tweaks
* Remove extra newline
2018-06-30 19:30:33 -04:00
Benau
75c8864e8f
Fix nitro in network
2018-06-29 12:17:24 +08:00
Benau
16cebffa3a
Move more kart g/sfx handling to updateGraphics
2018-06-27 16:41:15 +08:00
Benau
9752d4849b
Don't update slipstream and jump animation in rewind
2018-06-27 15:30:00 +08:00
Deve
22124ae11f
Don't display English twice on the languages list
2018-06-26 22:50:05 +02:00
Deve
34c335b05e
Handle wrong line endings in localized_name file.
...
Fixes #2795
2018-06-26 21:26:43 +02:00
hiker
cdfdab7db3
Added documentation, and properly #ifdef'ed cushioning debug output.
2018-06-26 17:21:22 +10:00
hiker
12095d6fcd
Try different way of cushioning - documentation is still msissing,
...
only for testing.
2018-06-26 10:36:38 +10:00
Deve
ddd63771be
Avoid empty header in edit gp screen.
...
Fixes #3329
2018-06-25 23:38:30 +02:00
Benau
295568560b
Make m_num_wheels_on_ground update after rewind
2018-06-25 16:34:46 +08:00
Benau
bd5381dad7
Buffer all inputs until last frame ticks
2018-06-25 11:57:18 +08:00
Deve
e7d07f4537
One more check for tbo
2018-06-24 01:31:02 +02:00
Deve
096a5b2420
Fixed server-only compilation
2018-06-23 00:20:31 +02:00
Deve
5549229310
Add a graphics restriction for nouveau.
...
Fixes #3058
2018-06-22 23:59:44 +02:00
Deve
9ad3ba1fe2
Allow to use skinning without tbo
2018-06-22 23:48:00 +02:00
hiker
01adee6fb4
Merge remote-tracking branch 'origin/master' into physics-tweaks
2018-06-22 21:56:47 +10:00
Benau
d68111af51
Pass timeout to enet other than unconditional sleep
2018-06-22 13:27:37 +08:00
Alayan-stk-2
fee6866c6d
Navigation improvements ( #3325 )
...
* Don't focus empty lists and ribbons
* Don't navigate to deactivated children of a ribbon
* Clarify log message
2018-06-21 20:44:35 -04:00
Alayan-stk-2
ebc7940985
New options menu ( #3323 )
...
* Updated options UI file, new icon for language tab
Also updates the license file.
* Update the options screens to support the new layout
And add a language change screen.
* Don't overwrite the updates which happened in master.
* Add missing (new) password reset button
* Focus the list of actions binding rather than the tabbar in device options
2018-06-21 19:50:16 -04:00
hiker
991dc00049
Moved hsitory replay handling into physics loop to make sure we
...
get identical replay independent of frame rate (otherwise input
might get delayed by a few frames).
2018-06-21 19:33:20 +10:00
hiker
526482bab4
Removed unused variable.
2018-06-21 19:32:09 +10:00
hiker
a40da718b8
Try different physics setting to improve collision handling.
2018-06-21 12:38:13 +10:00
Alayan-stk-2
1025bfe298
New help menu ( #3322 )
...
* Add vertical tabs to ribbon widget types
* Update GUI engine for vertical tabs
* New icons for the help menu
The slipstream icon is not great, it's here to have something now. It should be replaced by something better looking and more in STK's visual style.
* Updated help GUI
The git changelog is a bit misleading here, because the order of the items in the help menu has been revised too.
1)General (same)
2)Game modes (before : 3)
3)Powerups (before : 2)
4)Bananas (before : 5)
5)Story Mode
6)Kart classes
7)Multiplayer
* Update help screen code to handle the additional tabs
The hugely repetitive structure of one cpp/hpp per tab is kept here.
* Optimized version of new icons
Except for the slipstreaming one, as it should be replaced by a better one anyway.
2018-06-20 20:57:40 -04:00
hiker
bca11b98fb
Decode the solver-mode only once instead of at every race start.
2018-06-21 10:20:22 +10:00
hiker
2399946301
Fixed line ending style.
2018-06-21 09:18:41 +10:00
Alayan-stk-2
e6a0f821a9
Reduce dark background artifacts ( #3324 )
...
* Improve quality following Benau's observation
* Improve darker background quality
2018-06-20 22:16:28 +02:00
Benau
72fdfe1ac3
Merge remote-tracking branch 'origin/master' into curved
2018-06-21 01:14:38 +08:00
Benau
4d680c27f4
Fix kart animation in networking
2018-06-21 01:14:26 +08:00
hiker
326ef82e90
Fixed line ending style.
2018-06-21 00:34:46 +10:00
hiker
ec6b611a94
Merge remote-tracking branch 'origin/master' into physics-tweaks
2018-06-21 00:33:29 +10:00
hiker
4903252931
Merge branch 'master' of github.com:supertuxkart/stk-code
2018-06-21 00:32:28 +10:00
hiker
2c0d47e511
Made some solver parameters configurable in stk-config.
2018-06-21 00:31:51 +10:00
Alayan-stk-2
be98a6c4c3
Add vertical tabs ( #3314 )
...
* Add vertical tabs to ribbon widget types
* Update GUI engine for vertical tabs
* Add the ability to get a ribbon's active children number
* Add full looping for vertical tabs
2018-06-19 21:00:10 -04:00
Alayan-stk-2
750320fbeb
Fix the previous number of points being 0 after relaunching STK ( #3320 )
...
* On launch, also update the number of previous points so it is not 0
* Do the first call after the loading of the challenges status
* Remove prints
2018-06-19 20:20:21 -04:00
QwertyChouskie
5d34488adc
Donate and reset password buttons ( #3252 )
...
* First version of donation link and password reset buttons
The register screen still needs to be tweaked, though the GUI engine seems to be limted here.
Maybe dynamicly delete/re-create the widget?
* Fix mingw compilation
* Remove dead code
* minor cleanup
* Error handling, tweaks
* Fix ifdef for macOS
* Disable donate button on Android
* Use stk-config
* Implement LinkHelper::isSupported, fixes
2018-06-19 19:59:54 -04:00
hiker
5a74ed92e6
Fixed compiler warnings, and many coding style issues.
2018-06-20 08:22:23 +10:00
Alayan-stk-2
205d4b5626
Fix start/exit buttons not working in networking lobby ( #3318 )
2018-06-19 22:54:16 +02:00
Deve
c889503d7b
Fixed wrong comment
2018-06-19 21:59:09 +02:00
Alayan-stk-2
e7f3f2b969
Fix #3316 ( #3317 )
2018-06-19 21:50:20 +02:00
Deve
b430a0e5bf
Huge improvement of apk file size thanks to Alayan.
...
The apk is now 20 MB smaller.
It may need some testing to see if there are no artifacts, but as far as I see there is no difference in quality.
2018-06-19 21:40:26 +02:00
Alayan-stk-2
4cb6ea4871
Optimize image size in the GUI folder ( #3315 )
...
* Optimize image size in GUI, save 1.2 MB
* Optimize android GUI images
* Optimize networking menu images
2018-06-19 19:19:24 +02:00
hiker
8428603150
Removed exec permission (I need to get that #*$*#$* issue fixed).
2018-06-19 18:38:52 +10:00
hiker
e6417bcf03
Merge remote-tracking branch 'origin/master' into STK-helper-ItemWeights
2018-06-19 18:30:19 +10:00
hiker
60c9994e29
Fixed documentation and typo, thanks to Alayan.
2018-06-19 18:27:33 +10:00
hiker
714665f444
Improved 'randomness' of item selection while keeping exploitability
...
very low. Added documentation, moved item-distribution logging to
get more detailed information.
2018-06-19 10:19:10 +10:00
hiker
46b62de07e
Fixed compiler warning.
2018-06-19 09:19:32 +10:00
Alayan-stk-2
3450984c3e
Multi directional GUI navigation ( #3307 )
...
* Allow full up/down/left/right navigation
* Update list and ribbon widgets to work well with the new navigation
* Fix windows compilation
* Improve navigation algorithm to fix the observed limitations
* Make windows compilator happy
* Fix keyboard navigation issues in networking lobby
And make some parts more proportional to screen size
2018-06-18 19:08:34 -04:00
Alayan-stk-2
bd16045525
New dark skin (coal) ( #3293 )
...
* License for new coal skin
* Coal skin elements
* New coal skin
* Better contrast for coal skin select
* Lighter white text.
* Improved contrasts for actionable UI elements
* Make the theme back to a darker background while improving contrast again
* Ranking formula refinements (#3288 )
* Reduce the maximum scaling time from 600s to 500s
8m20s is already much longer than nearly all ranked races will be, so it matters most for eliminated players. It would be too punishing if kept to 600 with the new time scaling method.
* New helper function for ranking computations
* Make short races less important for ranking points
And long races more important
* Use double for calculation
* Fix as alayan suggested
* Fix possible empty race event manager instance
* Show remote player in the past
* Allow to set commandline arguments on android
* Fix #3242
* More on #3242
* FIx #2912
* Better checkboxes (#3291 )
* Better checkboxes for forest skin
* Better checkboxes for ocean skin
* Better checkboxes for peach skin
* Better checkboxes for ruby skin
* Try to create external/internal directory if it's not available.
Typically it always exists on new phones, but I didn't find any information if it's guaranteed to exist and it's missing on my old phone.
* Always set blend func in GLES 2.0.
It's often changed in STK engine and the value stored in irrlicht variable may be invalid.
Fixes #3296
* Avoid a crash when user name is empty
* Unlock cutscene improvements (#3298 )
* Don't display unlocked features out of screen when there are 4 to 6-7
And more regular spacing between them
* Remove outdated workaround
* Store the previous number of story mode point
* Allow to get the previous points from player profile
* Fix points estimation for finding unlocked tracks
- Updated to reflect that the player's points are now updated before this function
- Use the real previous number of points rather than trying to estimate the point change (otherwise, the points computation method would have to be duplicated here to not have a bug with GPs who give more points than single race challenges).
* Fix #3100 (#3299 )
* Fix #3100
* Fix server only compilation
* Fix stupidly long line full of whitespace (#3303 )
* Don't use pkg-config on macOS
Fixes #3305
* Fix #3309
* Great improvements to skin data (#3312 )
* Add vertical tab support and get common files from a common folder
* License file for the common folder
* UI images shared by all 4 colored themes
* Delete redundant pictures
* Delete background.jpg
* Delete dialog.png
* Delete glassbutton_deactivated.png
* Delete glasscheckbox_checked_deactivated.png
* Delete glasscheckbox_deactivated.png
* Delete glass_rsection.png
* Delete glass_section.png
* Delete glassspinner.png
* Delete glassspinner_deactivated.png
* Delete glass_square_focused_bw.png
* Delete left_arrow.png
* Delete list_sort_down.png
* Delete list_sort_up.png
* Delete rating_star.png
* Delete right_arrow.png
* Delete scrollbar_bg.png
* Delete scrollbar_btn.png
* Delete table_header.png
* Delete tooltip.png
* Optimize image size and add vertical tabs
* Optimize image size and add vertical tabs for ocean skin
* The multiplayer colored squares are also shared
* Use the multiplayer colored squares from common
* Remove more redundant skin images
* Delete glass_square1.png
* Delete glass_square2.png
* Delete glass_square3.png
* Delete glass_square4.png
* Delete glass_square_focused.png
* Delete glass_square_focused2.png
* Delete glass_square_focused3.png
* Delete glass_square_focused4.png
* Optimize image size and add vertical tabs for peach skin
* Optimize image size and add vertical tabs for forest skin
* Special focus halo for ruby skin
Currently, the halo used in single player is shared with the one used for the first player in local multiplayer, despite the color of the top spinner widget not matching in this situation.
Better having this mismatch that a not-so-great halo in single-player.
I put it in common as it may be reused for multiplayer focus by other skins.
* Use pink selection halo
* Put the bottom bar among skinnable UI images
* Make the bottom bar part of the skins
* Coding style fix
* Delete bar.png
* Load bottom bar texture from skin rather than gui folder
Also rename bg_image to m_bg_image
* Move black focus halo to the common folder
* Remove duplicate image, use common folder
* Delete glass_square1.png
* Delete glass_square2.png
* Delete glass_square3.png
* Delete glass_square4.png
* Delete glass_square_focused.png
* Delete glass_square_focused2.png
* Delete glass_square_focused3.png
* Delete glass_square_focused4.png
* Delete glass_square_focused_bw.png
* Delete left_arrow.png
* Delete rating_star.png
* Delete right_arrow.png
* Delete list_sort_down.png
* Delete list_sort_up.png
* Delete glassbutton_deactivated.png
* Delete glasscheckbox_deactivated.png
* Delete glassspinner.png
* Delete glassspinner_deactivated.png
* Delete scrollbar_bg.png
* Delete scrollbar_btn.png
* Delete tooltip.png
* Delete glasscheckbox_checked_deactivated.png
* Use common folder, support vertical tabs, and small tweaks
* Optimize image size, add vertical tabs, add custom bottom bar
2018-06-18 19:02:35 -04:00
Deve
2e3ae1c3f8
Allow to set min and max drivers version in graphics restrictions
2018-06-18 22:32:41 +02:00
hiker
2859265545
Applied Alayan's fix for properly handling weight 0, some minor
...
other fixes, added two unit tests.
2018-06-18 22:24:52 +10:00
hiker
7c6d3c9e42
Fixed compiler warnings.
2018-06-18 18:19:29 +10:00
Benau
cfbdc30c6b
Normalize the rotation before slerping
2018-06-18 13:59:35 +08:00
Benau
6eb7bf6bba
Move camera update to update graphics
2018-06-18 13:36:56 +08:00
hiker
296bd89129
Replaced tabs with white-spaces
2018-06-18 15:13:36 +10:00
hiker
41ed9fc332
Removed execute permission.
2018-06-18 13:55:55 +10:00
Alayan-stk-2
2fbcd73c93
Great improvements to skin data ( #3312 )
...
* Add vertical tab support and get common files from a common folder
* License file for the common folder
* UI images shared by all 4 colored themes
* Delete redundant pictures
* Delete background.jpg
* Delete dialog.png
* Delete glassbutton_deactivated.png
* Delete glasscheckbox_checked_deactivated.png
* Delete glasscheckbox_deactivated.png
* Delete glass_rsection.png
* Delete glass_section.png
* Delete glassspinner.png
* Delete glassspinner_deactivated.png
* Delete glass_square_focused_bw.png
* Delete left_arrow.png
* Delete list_sort_down.png
* Delete list_sort_up.png
* Delete rating_star.png
* Delete right_arrow.png
* Delete scrollbar_bg.png
* Delete scrollbar_btn.png
* Delete table_header.png
* Delete tooltip.png
* Optimize image size and add vertical tabs
* Optimize image size and add vertical tabs for ocean skin
* The multiplayer colored squares are also shared
* Use the multiplayer colored squares from common
* Remove more redundant skin images
* Delete glass_square1.png
* Delete glass_square2.png
* Delete glass_square3.png
* Delete glass_square4.png
* Delete glass_square_focused.png
* Delete glass_square_focused2.png
* Delete glass_square_focused3.png
* Delete glass_square_focused4.png
* Optimize image size and add vertical tabs for peach skin
* Optimize image size and add vertical tabs for forest skin
* Special focus halo for ruby skin
Currently, the halo used in single player is shared with the one used for the first player in local multiplayer, despite the color of the top spinner widget not matching in this situation.
Better having this mismatch that a not-so-great halo in single-player.
I put it in common as it may be reused for multiplayer focus by other skins.
* Use pink selection halo
* Put the bottom bar among skinnable UI images
* Make the bottom bar part of the skins
* Coding style fix
* Delete bar.png
* Load bottom bar texture from skin rather than gui folder
Also rename bg_image to m_bg_image
2018-06-17 21:40:01 -04:00
hiker
8d12c5aa07
Updated changelog and credits.
2018-06-18 08:54:11 +10:00
hiker
34bfb2d868
Simplified loop structure, fixed other minox code issues.
2018-06-18 08:47:31 +10:00
hiker
de44b2aaf9
Made configuration files with missing or too many entries abort STK.
2018-06-18 08:14:30 +10:00
Benau
c58119be87
Smooth shadow and skidmarks for remote players
2018-06-18 00:10:49 +08:00
Benau
3b4353a2c9
Add curved smoothing for moveable in network
2018-06-18 00:06:32 +08:00
hiker
48aca2f70f
Started to address comments from the reviewer.
2018-06-17 23:48:47 +10:00
hiker
8cf52b4c7c
Updated documentation.
2018-06-17 11:43:35 +10:00
hiker
6bcd1b4c58
Merge remote-tracking branch 'origin/master' into STK-helper-ItemWeights
2018-06-17 01:05:07 +10:00
hiker
5207e9a38b
Improved implementation of powerup collection weight.
2018-06-17 01:03:37 +10:00
hiker
87da438bf3
Fixed comment.
2018-06-17 01:01:44 +10:00
Benau
e8c4f74a20
Revert "Show remote player in the past"
...
Use a proper smoothing for all players later
2018-06-16 14:08:02 +08:00
Benau
bd6492f5cf
Fix #3309
2018-06-16 13:55:20 +08:00
Deve
e14ea99acd
Don't use pkg-config on macOS
...
Fixes #3305
2018-06-15 21:06:29 +02:00
Alayan-stk-2
96a07be6bc
Fix stupidly long line full of whitespace ( #3303 )
2018-06-13 19:46:20 -04:00
Alayan-stk-2
e4b131fc78
Fix #3100 ( #3299 )
...
* Fix #3100
* Fix server only compilation
2018-06-13 19:43:18 -04:00
Alayan-stk-2
aee9e7ffa1
Unlock cutscene improvements ( #3298 )
...
* Don't display unlocked features out of screen when there are 4 to 6-7
And more regular spacing between them
* Remove outdated workaround
* Store the previous number of story mode point
* Allow to get the previous points from player profile
* Fix points estimation for finding unlocked tracks
- Updated to reflect that the player's points are now updated before this function
- Use the real previous number of points rather than trying to estimate the point change (otherwise, the points computation method would have to be duplicated here to not have a bug with GPs who give more points than single race challenges).
2018-06-12 20:36:33 -04:00
Deve
7d9adf5b93
Avoid a crash when user name is empty
2018-06-12 23:01:13 +02:00
Deve
e44266b526
Always set blend func in GLES 2.0.
...
It's often changed in STK engine and the value stored in irrlicht variable may be invalid.
Fixes #3296
2018-06-12 22:25:46 +02:00
Deve
19736c2a51
Try to create external/internal directory if it's not available.
...
Typically it always exists on new phones, but I didn't find any information if it's guaranteed to exist and it's missing on my old phone.
2018-06-11 22:23:48 +02:00
Alayan-stk-2
be5b389d94
Better checkboxes ( #3291 )
...
* Better checkboxes for forest skin
* Better checkboxes for ocean skin
* Better checkboxes for peach skin
* Better checkboxes for ruby skin
2018-06-11 22:02:46 +02:00
auria.mg
81aedd6582
FIx #2912
2018-06-10 19:09:36 -04:00
auria.mg
e9becd283b
More on #3242
2018-06-10 18:57:25 -04:00
auria.mg
fc89a1c244
Fix #3242
2018-06-10 18:45:37 -04:00
Deve
90f3a2389e
Allow to set commandline arguments on android
2018-06-10 23:25:51 +02:00
Benau
e823babb90
Show remote player in the past
2018-06-09 20:16:56 +08:00
Benau
f329314bf6
Fix possible empty race event manager instance
2018-06-09 19:04:15 +08:00
Benau
6433e1eae0
Fix as alayan suggested
2018-06-09 18:57:26 +08:00
Benau
9133275677
Use double for calculation
2018-06-09 18:53:44 +08:00
Alayan-stk-2
7c14fd28ba
Ranking formula refinements ( #3288 )
...
* Reduce the maximum scaling time from 600s to 500s
8m20s is already much longer than nearly all ranked races will be, so it matters most for eliminated players. It would be too punishing if kept to 600 with the new time scaling method.
* New helper function for ranking computations
* Make short races less important for ranking points
And long races more important
2018-06-09 08:43:19 +00:00
Deve
05572b0084
Disable addons manager for server-only build.
...
No need to spam with downloading icons for add-ons.
2018-06-09 00:38:10 +02:00
Deve
68f8d524df
Update ubuntu dependencies.
...
Fixed "ibogg" typo.
2018-06-08 23:08:25 +02:00
Deve
fe322d1209
Move building instructions to separate file
2018-06-08 22:54:22 +02:00
jpenguin
1e85e74219
Fedora deepedency installation ( #3282 )
...
* Update README.md
Fedoraa dependency instructions
* Update README.md
* Update README.md
changed fedora dependencies to match *buntu ones
2018-06-08 22:50:01 +02:00
Benau
d9ede4f213
Add state to avoid deadlock when finishing the race
2018-06-08 22:59:07 +08:00
Benau
9af27d93c4
Remove unneeded header
2018-06-08 14:56:49 +08:00
Benau
01dc948247
Fix #3286
...
In the future move trigger to check structure
2018-06-08 14:31:55 +08:00
Benau
b9bf3fa125
Use map to store peer and ticks in network item manager
2018-06-08 14:24:21 +08:00
hiker
8a534bb795
Fixed missing collisions.
2018-06-08 15:28:44 +10:00
hiker
6496289707
Added missing virtual destructor.
2018-06-08 15:28:38 +10:00
hiker
ea229b4e5e
Merge branch 'ItemWeights' of git://github.com/STK-helper/stk-code into STK-helper-ItemWeights
...
A very rough merge to solve conflicts, not expected to even work.
2018-06-08 15:03:27 +10:00
Benau
843ecfcbc0
Add --connection-debug for verbose packet logging
2018-06-08 12:12:59 +08:00
Benau
e674f2d091
Make sure no weak ptr expires when calculating ranking
2018-06-08 11:04:58 +08:00
auria.mg
1dcb8d3db6
Tweak message queue fix
2018-06-07 21:52:42 -04:00
auria.mg
aa64f40f26
Fix text overlapping icon in message queue
2018-06-07 21:48:31 -04:00
hiker
9c6b17aeba
Merge branch 'master' of github.com:supertuxkart/stk-code
2018-06-08 11:00:14 +10:00
hiker
cd80101bdf
Removed execute permission (for unknown reasons VS makes source files
...
executable when it saves them).
2018-06-08 10:59:13 +10:00
hiker
e05990bc1c
Fixed compilation problem.
2018-06-08 10:55:45 +10:00
hiker
b0da0f640a
Merge remote-tracking branch 'origin/master' into network-items,
...
fixed conflicts.
2018-06-08 10:55:14 +10:00
hiker
d966962ca3
Avoid crash (that likely only happens when debugging).
2018-06-08 09:27:02 +10:00
auria.mg
729d7c9b3e
Fix pot, another attempt
2018-06-07 19:19:04 -04:00
auria.mg
3cfe0e41c6
Update pot
2018-06-07 18:59:20 -04:00
Deve
4db01b3c24
Avoid skipping soccer setup screen when using gamepad
2018-06-07 23:17:47 +02:00
Deve
4efafe5b2f
Set focus when opening addons loading dialog
2018-06-07 22:55:00 +02:00
Deve
d2806161bb
Allow to exit soccer setup screen with cancel button
2018-06-07 22:04:23 +02:00
Alayan-stk-2
0b5d68d1d1
Fix #3280 ( #3284 )
2018-06-07 20:43:09 +02:00
Benau
495b80fb04
Remove newline from translation
2018-06-08 01:29:06 +08:00
Benau
9a32c075eb
Use ngettext as translator suggests
2018-06-08 01:26:56 +08:00
Benau
5b62d03323
Fix wrong formula
...
Alayan said: +25% and +15s
2018-06-08 01:15:28 +08:00
Benau
304787f106
Remove unneeded translation in server lobby
2018-06-07 16:09:48 +08:00
Benau
9f6c87a636
Fix cornfield crossing network play
2018-06-07 15:31:13 +08:00
Benau
785aaf7647
Add auto end network game (implicitly on for ranked server)
2018-06-07 14:28:06 +08:00
auria.mg
53156a3a07
Update pot
2018-06-06 20:49:16 -04:00
Benau
5a5bdbe851
Remove duplicated id
2018-06-07 08:43:26 +08:00
Benau
96b27e427c
Use a simpler english
2018-06-07 08:32:47 +08:00
Deve
6effdeced4
Avoid a crash in debug menu
2018-06-06 22:19:14 +02:00
Deve
a39c934d2b
Fade background when general text field dialog is opened.
...
Fixes #3240
2018-06-06 22:11:10 +02:00
Benau
5e3a482588
Let player connecting in the middle of count down know
2018-06-07 01:34:25 +08:00
hiker
78133114ca
Try to fix shaking in network mode when skidding.
2018-06-07 01:12:45 +10:00
Benau
644d1b1521
Allow specify motd with .txt file
2018-06-06 16:14:49 +08:00
Benau
d87cf6fba6
Don't allow starting a ranked race with only 1 player left
2018-06-06 15:04:27 +08:00
Benau
ca039b13ff
Add observeExistence for request until porting request to shared_ptr
2018-06-06 13:23:48 +08:00
auria.mg
cbe5aad3d9
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-06-05 20:07:25 -04:00
auriamg
939e5d7057
Update build instructions for new OSX build system
2018-06-05 20:06:55 -04:00
Marianne Gagnon
cb8f519bd9
Change OSX build system to be homebrew-based
2018-06-05 19:56:15 -04:00
hiker
80ab0b6cda
Moved the 'visual' raycasts (for skidmarks) out of the update loop
...
into the updateGraphics call tree.
2018-06-06 08:24:34 +10:00
Deve
5e798ad6d4
Restore max texture size when reloading skin.
...
Fixes #3111
2018-06-05 23:55:31 +02:00
Benau
5da5a1972f
Add auto start with timeout and player threshold for owner less server
2018-06-06 01:06:44 +08:00
Benau
7093cc2196
Don't show error for findAndTerminate if no such protocol
2018-06-06 00:54:04 +08:00
Benau
148677598b
Terminate connect to peer after kart selection start
2018-06-05 11:21:21 +08:00
Benau
47455a71f3
Use KeyData instead of tuple
2018-06-05 10:23:14 +08:00
Benau
402e447ba1
Merge remote-tracking branch 'origin/master' into aes
2018-06-05 10:21:55 +08:00
auria.mg
3f1bd6b25e
Merge branch 'UTF8_Config'
2018-06-04 19:34:07 -04:00
Deve
6e7b2a2ecd
Remove write media storage permission from android manifest.
...
This permission is not officially available in documentation and it was a hack for some devices that have access to sdcard only on system applications.
2018-06-04 22:24:26 +02:00
Deve
ffee5d266d
Prefer /sdcard/Android/data/ for extracting assets.
...
Fixes #3266 , #3281
2018-06-04 22:24:26 +02:00
Deve
4275dbdac6
Fixed android build
2018-06-04 22:24:26 +02:00
hiker
9ea8dae693
Further improved braking in networking.
2018-06-05 00:46:36 +10:00
hiker
5092f0326c
Removed unnecessary update (it's done in max_speed.cpp as well).
2018-06-05 00:04:49 +10:00
Benau
5baaf83401
Adjust for stk-addons
2018-06-04 16:35:45 +08:00
Benau
2f00196420
Clarify voting phase
2018-06-04 14:23:29 +08:00
Benau
4014e8f0e4
Remove unused protocol
2018-06-04 13:52:31 +08:00
Benau
a08e46f279
Remove the keys too after selection
2018-06-04 13:47:37 +08:00
Benau
4ef0c4e03c
Add option for official server to disable stun at all
2018-06-04 13:36:24 +08:00
Benau
d89c65b0c9
Remove token in network string
2018-06-04 13:25:10 +08:00
Benau
ec51a2dfbb
Fix memory leak
2018-06-04 11:12:11 +08:00
Benau
e326d7bcfd
Fix valgrind uninitialized
2018-06-04 11:12:03 +08:00
auria.mg
c599195eeb
XML fixes
2018-06-03 21:48:34 -04:00
Benau
aa1bb720e3
No joinning of password-proected server if no password is given
2018-06-04 09:41:50 +08:00
Benau
2fbf0ab49f
Avoid unnecessary slow down and mutex locking in server lobby
2018-06-04 09:28:38 +08:00
auria.mg
42d98f8ff1
Start on UTF-8 config conversion
2018-06-03 21:04:46 -04:00
Alayan-stk-2
79e3d298ce
Correct finish time for GPs when skipping a race ( #3276 )
...
* Make human players have a correct finish time when skipping a GP race
* Don't compute the estimated finish time twice
2018-06-03 19:50:24 -04:00
hiker
c751db865f
Always include terrain-based slowdown fraction in a state update
...
(otherwise the client would reset this value to 1.0 in each rewind).
2018-06-04 08:54:49 +10:00
hiker
b15de8c3dc
Update m_hardPointWS after a rewind to make sure the current
...
terrain is computed based on the new (rewound) kart position.
2018-06-04 08:53:21 +10:00
Benau
4653089d95
Add ranked server for validated player
2018-06-04 01:19:27 +08:00
Benau
a9696792c2
Merge remote-tracking branch 'STK-helper/RankingFormula' into aes
2018-06-03 15:39:01 +08:00
Benau
2fe50ba0c4
Make connect to server message stay longer if needed in lobby
2018-06-03 15:24:36 +08:00
Benau
490b865ddd
Allow using %f with translated message
2018-06-03 15:15:25 +08:00
Benau
e122d045cc
Allow showing player ranking in network user dialog
2018-06-03 15:08:52 +08:00
Benau
7e5263168e
Add minimum required OpenSSL version
2018-06-03 14:44:53 +08:00
hiker
91f472e1c7
Fixed braking in network games (hopefully).
2018-06-03 01:09:05 +10:00
Benau
b43a5e4d18
Add AES encryption and validation for wan player
2018-06-02 12:28:29 +08:00
QwertyChouskie
7cb0ffe844
Fix segfault in cutscene when pressing CTL+Shift and when using FPV cam ( #3279 )
...
Fixes https://github.com/supertuxkart/stk-code/issues/2876
2018-06-01 21:25:56 -04:00
Deve
a39007d48e
Fixed invisible spare tire kart.
...
Fixes #3277
2018-06-01 22:12:51 +02:00
hiker
5ec22d17f4
Fixed EndController (base functions in AIBasecontroller need to
...
use same state size as PlayerController.
2018-06-02 00:48:48 +10:00
hiker
e0d7717c46
Added previous brake and steer value (necessary for full state).
2018-06-02 00:08:08 +10:00
hiker
c3ec9bf6eb
Fixed comment.
2018-06-01 21:43:40 +10:00
hiker
da14ffc4de
Added brake_tick counter to the state (the longer you brake the
...
stronger you brake).
2018-06-01 21:40:00 +10:00
hiker
eebd5f2534
Removed unnecessary #include.
2018-06-01 09:42:36 +10:00
hiker
a9279a05d0
Made --check-debug to work with --no-graphics; print also the
...
race time at which a check-structure is crossed.
2018-06-01 00:24:27 +10:00
hiker
dc36f743ab
Fixed compiler warnings.
2018-06-01 00:21:25 +10:00
hiker
8cca845dde
Hopefully fixed item collection prediction.
2018-05-31 09:48:33 +10:00
hiker
70039f7d92
Removed unnecessary #include.
2018-05-31 09:29:01 +10:00
hiker
e6d5e194d3
Don't save the terrain slowdown as part of the state, it will get
...
updated on each client automatically.
2018-05-29 19:25:24 +10:00
hiker
50425ef59f
Moved item position into ItemState.
2018-05-29 19:21:34 +10:00
Alayan-stk-2
c4768b72ae
Add support for hours display to timeToString ( #3270 )
...
* Add hours support to timeToString
* Update timeToString declaration
2018-05-28 20:17:52 -04:00
Alayan-stk-2
670a40cb05
Improvements to finish time accuracy ( #3273 )
...
* Add time info for recent positions
* More accurate finish time
* Rebase changes on the version with overrides
2018-05-27 18:04:57 -04:00
Deve
6444405479
Avoid using incorrect action in debug menu
2018-05-27 21:35:44 +02:00
hiker
755cd8095b
Use ItemState instead of Item as paramter for kart's collectedItem.
2018-05-28 00:26:02 +10:00
hiker
d0e95d0d63
Removed debug code (always get bubble gum as powerup).
2018-05-27 23:44:51 +10:00
hiker
ab3a3e1155
Combined event handler and emitter in item into one object (since
...
they are the same anyway).
2018-05-27 23:42:38 +10:00
Alayan-stk-2
30c1e0ca6d
Make rubber-banding distances different between AI karts ( #3256 )
...
* Don't generate IRC alerts
* Differentiated rubber-banding
* Fix #3222
* Small simplification
* Use master's version
* Fix typo
* Use std::sort
* Remove useless function call
test_ai is only used for profiling without human players
2018-05-26 19:09:18 -04:00
hiker
079b5abe2a
Started to use ItemState instead of Item in the attachment and
...
powerup callbacks on item collection.
2018-05-27 00:42:21 +10:00
QwertyChouskie
c4cb0201df
Let user know when STK is compiled without libopenglrecorder ( #3267 )
...
* Let user know when STK is compiled without libopenglrecorder
* More work
2018-05-26 05:30:55 +00:00
Deve
12fc3fd063
Enable gles for arm architecture on linux.
...
It should be more useful than opengl renderer.
2018-05-25 21:16:22 +02:00
Deve
ed2d57996d
Fixed libsquish compilation on arm
2018-05-25 21:08:00 +02:00
Deve
056ee641d1
Allow to use openglrecorder with gles
2018-05-24 22:07:33 +02:00
hiker
89ded35c21
Fixed bugs in MaxSpeed state saving and restoring.
2018-05-24 10:19:54 +10:00
Deve
2958435f7c
More work on gles + texture compression.
...
Now it's usable with mesa, nvidia blob and in theory nvidia tegra too.
2018-05-23 21:21:14 +02:00
Deve
b98aede1e1
Fix for old headers
2018-05-22 22:31:38 +02:00
Deve
765d4019b7
Allow to use texture compression with GLES when extension is available
2018-05-22 22:31:38 +02:00
Alistair Findlay
fab05a54e8
Minor Update to GP Titles ( #3265 )
...
* Update 2_offthebeatentrack.grandprix
* GP Titles
2018-05-22 14:17:41 +02:00
Benau
5482c028ca
Add wee sound when starting kart / track selection
2018-05-22 15:51:37 +08:00
Benau
ff08a2ba16
Don't send events if it trigger a rewind in server
2018-05-22 14:21:05 +08:00
Alayan-stk-2
175b932b13
Correct finish time for egg hunt ghosts ( #3263 )
...
* Use replay data for ghost karts finish time
* Compute correct finish time for egg hunts replays
2018-05-21 18:12:16 -04:00
Deve
04170f5855
Avoid a crash on exit.
...
Still NetworkingLobby::unloaded() probably shouldn't be executed if networking screen is never opened, but initialize variables doesn't hurt anyway
2018-05-21 21:51:04 +02:00
Deve
5d840f6bf7
Move android stkgui files to its own directory
2018-05-21 21:30:24 +02:00
Deve
bcd856d7b2
Avoid not needed enet modification.
...
Link needed libraries in cmake file in the same way as mingw build.
2018-05-21 21:23:45 +02:00
Benau
056e596d5a
Fix debug build and clean up
2018-05-22 02:06:16 +08:00
Benau
1a975f9ef4
Offer a way to know accurate ping to server within 3 seconds
2018-05-22 01:31:08 +08:00
hiker
227572809a
Synch attachments of bananas between client and server, some
...
code cleanup.
2018-05-22 00:00:38 +10:00
Benau
34b8a07d80
Add proper line breaking
2018-05-21 11:19:18 +08:00
hiker
9108934c18
Added handling of predicted item drops.
2018-05-21 10:09:10 +10:00
Alayan-stk-2
4fdd3eee38
Ghost finish times based on replay data ( #3262 )
...
* New ghost kart function to compute finish time
* Don't estimate the finish time for ghosts, use replay data
2018-05-19 19:23:44 -04:00
Alayan-stk-2
b8d2dc9034
Fix #3182 ( #3260 )
...
Checklines validation is for karts only, so having it true for the basket ball made the ball_distance always equal to zero. Setting it to false make the basket ball work again.
2018-05-19 18:23:58 -04:00
Benau
fdc299e073
Add player rankings in achievements
2018-05-20 01:15:39 +08:00
auria.mg
06d0dafcbf
Change default keyboard key for "back" in the UI, backspace can be accidentally triggered when trying to erase texte
2018-05-18 21:23:31 -04:00
auria.mg
6291fada36
Fix more clang warnings
2018-05-18 20:09:13 -04:00
auria.mg
19fab0a4c1
Fix clang warnings
2018-05-18 19:58:51 -04:00
Deve
f2325e9140
Grab mouse on linux when panning is enabled
2018-05-18 22:35:54 +02:00
Deve
ad9a314bcf
Fixed android compilation
2018-05-17 23:35:05 +02:00
Alayan-stk-2
bac516aa40
Update comment
2018-05-17 17:45:49 +02:00
Alayan-stk-2
6d6520ab89
Make the formula different between normal and time-trial modes
2018-05-17 17:37:16 +02:00
Benau
fa61059ad2
Add double for xml node
2018-05-17 10:28:46 +08:00
Alayan-stk-2
9902e7c767
Use double for max_ranking too, remove first half base-points distribution (done elsewhere)
2018-05-17 03:16:12 +02:00
Benau
d2bf17e71a
Show owner name as Official if official server hoster account is used
2018-05-16 16:07:08 +08:00
Alayan-stk-2
f5245a679e
Fix #3236 ( #3253 )
...
* Don't generate IRC alerts
* Fix #3236
* Update .appveyor.yml
2018-05-15 19:16:56 -04:00
hiker
cdea16f81d
Fixed kart id being received as unsigned int (needs to be signed since
...
the sign indicates the event type).
2018-05-16 08:55:18 +10:00
Alayan-stk-2
b026b24e4a
Fix/update ranking computation
2018-05-15 18:47:59 +02:00
Alayan-stk-2
8da8390773
Merge pull request #14 from supertuxkart/master
...
Update branch
2018-05-15 15:25:21 +02:00
Benau
d4b3f75b22
Add code for alayan
2018-05-15 16:08:07 +08:00
hiker
ad82dca6cc
Created separate file for ItemEventInfo.
2018-05-15 18:05:46 +10:00
Benau
b8982200b6
Fix track objects in network
2018-05-15 15:23:39 +08:00
Alayan-stk-2
9f18c0e2c1
(Broken) ranking computation
2018-05-15 04:22:23 +02:00
Alayan-stk-2
1fc3e0916e
Ranking related changes
2018-05-15 04:20:44 +02:00
Alayan-stk-2
5ab277bd68
Resolve conflict with master
2018-05-15 03:46:00 +02:00
hiker
0d850201fb
Renamed and split the two newItem () functions into three functions:
...
placeItem(), placeTrigger(), dropNewItem(). Started to add support
for networked bubble gum (though that's not working, i.e. will crash
atm ;) ).
2018-05-15 10:40:25 +10:00
Alayan-stk-2
7f84dd39a6
Numerous improvements related to ghost replays ( #3244 )
...
* Update GUI files for replay improvements
* Updated replay capabilities
* Improve timer formatting possibilities
Mainly, the ability to choose to display or not minutes, and to choose how many digits are shown after seconds (from 0 : second as smallest timestep - to 3 : ms as smallest timestep)
Also displays "mm:ss.ms" rather than "mm:ss:ms".
* Some new list widget possibilities
Like the ability to update the header while the list is displayed (useful to add or remove columns)
* Update ghost kart for the new replay data
* Also update the ghost controller
* Live differences with ghost replays in linear worlds
* Replay-related UI changes
Big changes to the replay selection screen, and small change to the race UI (add the live timer in ghost races) and the race result UI (add the option to directly race against a newly saved ghost).
* Improves the replay action modal dialog
* Fix time-to-ticks regression
* Several requested improvements
* Improved ghost icon
Also updates the license
* GUI changes and improvements to accomodate multi-mode support
* Additional recorded data
* More functions to get the current race state
* Update replay variables to match what is used
* Updated replay-related config values
* Add ghost kart support to easter egg hunt mode
* Transparent attachments for ghost karts
* Use new stored data (color, item type)
Also :
- Interpolate speed for smoother display in watch-only mode
- Coding style improvements
* Fix coding style issues and add UI support for modes
* Fix coding style issues & support for easter egg mode
* Remove leftover prints
* Use getDifficultyName to remove hardcoded values
* Fix attach_ticks and coding style fixes
* Make the position of the timers fully relative
Otherwise, they would tend to touch each other in some resolutions
Also add a comment about the 59.9995f
* Make the list filling code clearer
Also use getDifficultyName
Most of the line changes shown by git correspond to moving around some bits or adjusting indentation.
* Remove a TODO as requested
* Fix dialog being dismissed too soon
* Remove a fixme
* Small clean up
* Fix logging
* Partial #3249 fix
2018-05-13 20:51:52 -04:00
Alayan-stk-2
322f0e77f8
Don't generate IRC alerts
2018-05-14 00:53:10 +02:00
hiker
8c4158c139
Removed option to set item etc type via additional parameter for
...
networking. Now networking relies on deterministically determined
'random' item types and state updates.
2018-05-14 08:46:50 +10:00
Deve
0b79d9c1d1
Remove a line that is not needed anymore.
...
Now spinner widget is drawn correctly and min value >= 1 restriction exists in xml file anyway. In this way it shows correct value when particles effects are manually set to 0 in config.xml.
2018-05-13 22:03:15 +02:00
Deve
14cb6a89fd
Fix for current angelscript version.
...
Now AS_MAX_PORTABILITY behaves the same as native calling convention.
2018-05-13 22:03:15 +02:00
Alayan-stk-2
1bba398c09
Merge pull request #13 from supertuxkart/master
...
Update fork
2018-05-13 20:36:43 +02:00
hiker
d2dc99f859
Added --disable-item-collection command line flag, which is useful
...
for evaluating client/server 'disagreements'.
2018-05-13 23:43:29 +10:00
Alistair Findlay
290eb354c7
Update custom_video_settings.stkgui ( #3224 )
...
* Update custom_video_settings.stkgui
Change label titles to conform to title case typographical convention.
* Update custom_video_settings.stkgui
Sentence case for everything.
2018-05-12 19:00:07 -04:00
hiker
af0495848a
Use client prediction for item collection.
2018-05-13 01:04:45 +10:00
Benau
5fb0113362
Don't enable texture matrix if no vbo or ibo
2018-05-11 19:27:41 +08:00
Benau
34f416506e
Remove infinitive loop if image failed to load
2018-05-11 19:27:25 +08:00
Benau
02ecb9f914
Shuffle player list for the 1st track in grand prix
2018-05-11 13:44:46 +08:00
Benau
52e2a64893
Add ring for local player controller in minimap
2018-05-11 13:26:30 +08:00
Benau
4a4c99baf2
Send to all broadcast addresses for connecting to wan server in lan
2018-05-11 11:13:42 +08:00
Benau
7926ad9ba0
Progressively adjust time with slow down functionality
2018-05-11 10:43:22 +08:00
Benau
e28fbdd019
Increase vote timeout to 20 second, and offer a way to end vote early
...
After half voting time and all entries in voting table has > 50%
agreement out of current connected peers, go on
2018-05-11 10:37:31 +08:00
hiker
d88ce3b3b6
Removed unused code, coding style fixes.
2018-05-11 09:41:46 +10:00
hiker
b77a76dd8c
The ItemManager must be updated even if no event is received (to
...
rewind item states to the rewind time).
2018-05-10 23:25:04 +10:00
hiker
5f8dc7b641
Added debug comment to let the server not connect any items
...
(--> client predictions wrong, useful for debugging).
2018-05-10 23:24:07 +10:00
hiker
ff6d5119b4
CLients now predict item (predictions are not synched with server,
...
so the item will chance once the server update is received atm).
2018-05-10 23:23:23 +10:00
hiker
8f2b991e6a
Code cleanup.
2018-05-10 09:31:21 +10:00
Deve
15f79b0f95
Add key binding for azerty layout
2018-05-09 21:11:24 +02:00
hiker
4e37c1388b
Item collection on a client now works, though it is not predicted yet.
...
Other things (dropping bubble gum, switch, synchronised banana collection)
still do be done.
2018-05-10 01:09:23 +10:00
hiker
031eb461a3
Removed debug output.
2018-05-10 01:07:41 +10:00
hiker
c98df155a6
Change item visibility always in Item::updateGraphics, which (except
...
for listener) makes it unnecessary to call collect for Item (only
for ItemState).
2018-05-10 01:05:38 +10:00
hiker
85eb59c6af
Merge pull request #3232 from STK-helper/MiniMap
...
Increase minimap size and reduce its aliasing
2018-05-09 15:39:19 +10:00
Deve
fe42da5b04
Avoid conflicts with key codes when fallback keycode is used
2018-05-08 21:59:11 +02:00
Deve
78d9f2065c
Add some key names for azerty layout
2018-05-08 21:22:46 +02:00
hiker
e1530267f3
Fixed compilation error and some warnings.
2018-05-09 00:48:20 +10:00
hiker
3f96ba2b93
Added nitro amount to state.
2018-05-08 20:51:35 +10:00
hiker
9d60112e65
Started to implement proper item handling: the server now sends
...
updates of all collected items to the clients as part of a state.
A client confirms the received states. Once all clients have
confirmed a certain event, that event is deleted on the server
and not sent anymore. WIP, item collection kind of works, but only
because of kart state updates which include attachment (but not
e.g. nitro).
2018-05-08 19:12:06 +10:00
hiker
356680b182
Removed debug prints.
2018-05-08 18:41:37 +10:00
Alayan-stk-2
473732b952
Add comment to clarify a if/else
2018-05-07 02:34:52 +02:00
Deve
20507424ee
Don't draw spinner widget gauge for negative values
2018-05-06 23:06:27 +02:00
Alayan-stk-2
20d36b6f1b
Fix #3175 ( #3243 )
2018-05-06 22:26:21 +02:00
Alayan-stk-2
11c31bf205
Merge pull request #11 from supertuxkart/master
...
Update fork
2018-05-06 03:48:12 +02:00
Alayan-stk-2
267dfde46f
Fix #3197 ( #3238 )
...
* Add parameters for negative sound in nitro challenge
* Fix #3197
2018-05-05 20:33:12 -04:00
Alayan-stk-2
7ee3d6576e
Use the new config options for display
2018-05-05 22:18:02 +02:00
Alayan-stk-2
086cc024e4
Add AI and player icon sizes as configurable
2018-05-05 22:12:05 +02:00
Alayan-stk-2
6ec7799a1d
Read minimap parameters
2018-05-05 22:06:21 +02:00
Alayan-stk-2
206bd0170a
New minimap stk_config parameters
2018-05-05 22:05:29 +02:00
Alayan-stk-2
bdf4c62abc
Add config option for minimap size
2018-05-05 21:25:31 +02:00
Alayan-stk-2
bc569b9e04
Display the minimap during the start countdown
...
So the players (especially those not familiar with the tracks) can take a look at it before starting to race.
2018-05-05 21:09:33 +02:00
auria.mg
f44fbbfdfb
Fix code style
2018-05-04 18:50:47 -04:00
hiker
eb647124e8
Split the item update into update and updateGraphics() parts.
2018-05-04 16:41:03 +10:00
hiker
c7c061c7c1
Bugfix: all items were counted as easter eggs :)
2018-05-04 16:36:56 +10:00
hiker
3e518968b3
Added a generic collectedItem() virtual function to world
...
instead of a special case of easter eggs only.
2018-05-04 10:29:44 +10:00
hiker
10ce48b86f
Moved notification of easter egg collectoin from Item to ItemManager.
2018-05-04 09:48:54 +10:00
hiker
5ba79bddd7
Removed m_confirmed, renamed m_disappear_counter to m_used_up_counter.
2018-05-04 09:31:50 +10:00
hiker
9392354663
Split Item into two classes: ItemState which contains the non-graphical
...
and changing properties (e.g. collected,item type etc), and Item (using
ItemState as base class) which contains graphical and constant values.
2018-05-04 01:01:15 +10:00
Qwerty Chouskie
b5067a935e
Final?
2018-05-02 22:35:36 -07:00
Qwerty Chouskie
173702cca1
"skid0" effect
2018-05-02 22:23:16 -07:00
Qwerty Chouskie
ded672ea0d
Remove no-longer-needed code
...
It doesn't compile with this anymore, and the issue it fixed seems gone anyways.
2018-05-02 18:39:47 -07:00
Qwerty Chouskie
b0c061290f
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-05-02 18:09:13 -07:00
hiker
7e9e258b17
Merge remote-tracking branch 'origin/move-handleMaterialSFX'
2018-05-03 10:23:51 +10:00
auria.mg
c6c005ded4
Revert "jgh"
...
This reverts commit e1a1196a9f .
2018-05-02 19:35:41 -04:00
auria.mg
e1a1196a9f
jgh
2018-05-02 19:35:04 -04:00
Alayan-stk-2
74a77ed5ef
Cast width and height as floats before checking the ratio
2018-05-02 20:33:08 +02:00
Alayan-stk-2
d6c2cccccd
Reduce minimap size in splitscreen multiplayer
...
It won't work very well with 8 players, but still slightly better than when it was always 100.
2018-05-02 20:07:10 +02:00
Alayan-stk-2
bed03b2a43
Make minimap size 1.8 higher
...
This factor has been chosen because :
1) It allows the toplist to be able to still display 10 karts (maximum number reached in story mode or in networking (currently 12 but will be 8-10 for release according to Benau))
2) This size should fit nicely in the android GUI.
Otherwise, there is still some margin before it hinders view in 4:3 resolutions.
2018-05-02 19:40:00 +02:00
Alayan-stk-2
3d17e68c4e
Get a larger minimap texture to significantly reduce aliasing
2018-05-02 19:13:09 +02:00
Benau
a5b234ceef
Reset player action in pause menu for network, fix #3230
2018-05-02 15:37:47 +08:00
Benau
f5035a00ea
Allow showing paused dialog in network now it doesn't pause timer
2018-05-02 13:17:23 +08:00
Alayan-stk-2
022dd3e302
Fix handicap values ( #3231 )
...
* Fix handicap values for slipstreaming
* Change bugged handicap value and double-effect values
* Add skidding to handicap, remove explosions
2018-05-01 21:14:53 -04:00
Alayan-stk-2
179e825e60
Merge pull request #10 from supertuxkart/master
...
Update fork
2018-05-01 23:56:10 +02:00
Benau
ac54ee8888
Remove max 80 words limit now we use uint16_t for wide char
2018-05-01 12:42:59 +08:00
Benau
eb9f5b3fb3
Add speed and acceleration handicap to make it more visible
2018-05-01 01:13:09 +08:00
Benau
d17fddcac8
Fix handicap in splitscreen and network
2018-05-01 01:10:12 +08:00
hiker
0d1e799b4b
Removed unused function.
2018-04-30 08:56:28 +10:00
hiker
28eb0112e0
Moved handleMaterialSFX to updateGraphics(), which removes the need
...
for a isLastSubstep() function in main(). Fix potential bug when
a new material sfx is triggered when a previous sfx still exists.
2018-04-30 08:49:57 +10:00
Alayan-stk-2
6a25384ed9
SuperTux in Story Mode (and other improvements) ( #3207 )
...
* Add SuperTux difficulty & update number of karts
Also make the expert challenge slightly easier to match more the difficulty of other challenges.
* Add SuperTux difficulty & update number of karts & points required
Also give some more time margin in easier difficulties, as it is a hard challenge compared to most.
* Add SuperTux difficulty & update number of karts & points required
Also change the lap count to 4 as it is a very short track (sub 30s)
* Add SuperTux difficulty
Also tweak the expert challenge to have a more appropriate difficulty
* Add SuperTux difficulty & update number of karts
* Add SuperTux difficulty & update number of karts & points required
* Add SuperTux difficulty & update number of karts & points required
Also correct the requirement position, since this is not a FTL race anymore.
* Add SuperTux difficulty & update number of karts & points required
Also slight balancing improvements for the usual difficulties.
* Add SuperTux difficulty & update number of karts & points required
Also adds a position requirement in expert
* Add SuperTux difficulty & update number of karts & points required
* Add SuperTux difficulty & update number of karts & points required
* Add SuperTux difficulty & update number of karts & points required
Also change the number of laps to 5, as this is a very short track. The time requirements for easier difficulties have been kept proportionally similar to before.
* Add SuperTux difficulty & update number of karts & points required
Also change the number of laps to 4.
* Add SuperTux difficulty & update number of karts & points required
Also add a position requirement to expert and intermediate.
* Add SuperTux difficulty & update number of karts & points required
Also change the number of laps to 4, as a lap often is 30s or less in expert/supertux
* Add SuperTux difficulty & update number of karts & points required
* Add SuperTux difficulty & update number of karts & points required
* Rename islandtrack.challenge to gran_paradiso.challenge
* Rename challenge file
* Add SuperTux difficulty & update number of karts & points required
Also makes the time limit in expert less easy and tweak position requirement.
* Add SuperTux difficulty & update number of karts
* Add SuperTux difficulty & update number of karts & points required
* Add SuperTux difficulty & update number of karts & points required
* Add SuperTux difficulty & update number of karts & points required
* Add SuperTux difficulty & update number of karts & points required
Doesn't unlock the SuperTux difficulty anymore - it's managed elsewhere.
* Add SuperTux difficulty & update number of karts & points required
* Add SuperTux difficulty & update number of karts & points required
* Add new unlock challenges, for difficulty and karts
* Add a lap to oliver's math class
* Replace Northern Resort by Volcano Island
* Replace Volcano Island by Candela City
Candela City was in no (official) GP before this.
Also sets Green Valley to 3 laps.
* Add Northern Resort and remove Fort Magma
In 0.9.3, this GP has only 4 races in Story Mode (5 for the other GPs) because Fort Magma is locked.
Of all the tracks outside this GP before, Northern Resort is one of the hardest, the AI being rather good there.
* Temporary cup for SuperTux challenges
Recolored version of the gold cup
* Update challenge selection UI for the SuperTux challenges
* GUI used before SuperTux difficulty unlocking
This is the old select_challenge.stkgui
* Swap the two sara
* Replace Kiki by another kart to unlock on Benau's demand
* Update for improved Story Mode
* Update for improved Story Mode
* Add support for SuperTux challenges
* Add support for SuperTux challenges
* Add support for SuperTux challenges
* Add support for SuperTux challenges
* Update for SuperTux ; also adds the ability to unlock a challenge by points
* Update for unlocking by points
* Add support for SuperTux challenges
* Add support for SuperTux challenges
* Add support for SuperTux challenges
* Minor changes to function calls
* Update for SuperTux challenges
* Add support for SuperTux challenges
* Update for Story Mode GP changes
* Allows to display the correct number of points for GP challenges
* Set the unlock of the 1st bonus kart to correct non-test value
* Add support for SuperTux challenges
Including a bigger challenge selection diaolg
* Add default value
* Icon to indicate that there is an unlockable
The number of points needed to unlock it are displayed next to it.
* Changed format : the point requirements is now specified in the file
* Changed format : the point requirements is now specified in the file
* Changed format : the point requirements is now specified in the file
* Function for unlock by points UI
* Add default for unlock list node and use requirements node for all
* Make unlockByPoints simpler and more flexible
Now the code will iterate in StoryModeStatus and send the unlock_list challenges for treatment here. The question of getting the right challenge statuses beings solved, it allows for a great simplification and much more flexibility
* Update unlockByPoints declaration
* Adds support for next unlockable UI
* Improve call of unlockByPoints
Also calculations for displaying in the UI how many point the next unlockable by points requires.
* Add icon for next unlockable
* Displays icon/number to make the player aware of the next unlockable
Also displays the number below the icon rather than on the side, for more clarity.
* Changes to display karts in the unlock scene
* Update unlock functions declarations
* New function to clarify code and more logical recently unlocked list management
In the previous version, everything was added to the recently unlocked list at some point, necessitating a clearing at the end of computeActive, which also removed from the list the non-race challenges. Checking if the feature is newly unlocked to add it to the list remove the need of that clearing.
* Declaration for unlockFeatureByList
* Display newly unlocked karts
* Display newly unlocked karts
* Clear the list of recently unlocked features at the end
* Update testing code
* Update unlocks finding function call
* Improve UI scaling
* Fixes indentation
* Update the number of points before checking for unlock by points
* Add const to declarations
* Remove const_cast
* Remove a const_cast
There are other const_cast in the menu debug items (but they are unrelated to this PR)
* Fix menu being bolder
2018-04-29 18:27:03 -04:00
Alayan-stk-2
a1e19f3692
Fixes weight computation at reference points
2018-04-29 07:23:33 +02:00
Alayan-stk-2
49ff8ecd25
Reload powerup models on graphics options restart
2018-04-28 23:06:25 +02:00
Alayan-stk-2
e1f585a916
Add powerup model loading on start
2018-04-28 23:03:39 +02:00
Alayan-stk-2
1545c10328
Split loadAllPowerups in two functions
2018-04-28 23:00:23 +02:00
Alayan-stk-2
5e749901f3
New loadPowerupsModels function
2018-04-28 22:58:03 +02:00
Alayan-stk-2
c785a45e93
Fixes ordering error
2018-04-27 23:46:13 +02:00
Alayan-stk-2
5f994204ab
Use only one random number for item selection
2018-04-27 23:25:08 +02:00
deve
a2659f479c
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-04-27 06:52:58 +02:00
deve
b90a9fbf0d
Don't allow totally disable particles in GUI.
...
Now we don't use tfb shader to compute particles, so it seems to not have a sense anymore.
And it's still possible to set particles_effects=0 in config.xml if someone will need it.
2018-04-27 06:50:39 +02:00
deve
bf1392cadc
Keep important particles enabled on lowest settings
2018-04-27 06:44:56 +02:00
Deve
bc9660a81c
Use known working java version for building apk if possible.
...
It fails to build with newer versions, so that on different systems you may need to set JAVA_HOME manually.
2018-04-26 21:48:59 +02:00
hiker
a737f9e3d5
Fixed typos.
2018-04-27 00:34:58 +10:00
Alayan-stk-2
33c60ddc1c
Remove obsolete powerup loading
...
Powerup data is loaded before each race when the number of karts (and type of race) is known.
2018-04-26 12:45:49 +02:00
Alayan-stk-2
af106fcd7d
Remove obsolete powerup loading
2018-04-26 12:41:15 +02:00
Alayan-stk-2
c2ae2bfce6
Improve comments
2018-04-26 05:52:41 +02:00
Alayan-stk-2
acf9ed1eab
Remove unused default value
...
Also corrects a comment typo
2018-04-26 05:35:12 +02:00
Alayan-stk-2
ae21cfe8d7
Fix log reporting
2018-04-25 23:18:02 +02:00
Deve
b770fa19fb
Auto refresh for lan server detection
2018-04-25 20:26:23 +02:00
Alayan-stk-2
e10e56a962
Various improvements requested in review
2018-04-25 11:43:46 +02:00
hiker
8a8b954bf9
Fixed more ticks vs time issues.
2018-04-24 17:44:39 +10:00
hiker
c8befd7505
Fixed compiler warning.
2018-04-24 17:30:15 +10:00
hiker
6f38a56dfa
Merge branch 'lan-broadcast'
2018-04-24 17:28:19 +10:00
hiker
88abad8dc7
Moved handleMaterialGFX() and updateEngineSFX() from update()
...
to updateGraphics() - i.e. only one per rendered frame.
2018-04-24 17:19:13 +10:00
hiker
f2f15ac4e0
Removed duplicated entries.
2018-04-24 09:22:52 +10:00
hiker
2a89e7e0d1
Merge remote-tracking branch 'origin/lan-broadcast' into lan-broadcast
2018-04-24 09:18:41 +10:00
hiker
0809f3e286
Added 192.168.1.255 as default broadcast address.
2018-04-24 09:16:55 +10:00
Benau
62ea07ecc8
Try to synchronize timer independent of music
2018-04-24 01:01:47 +08:00
Benau
b919c82da5
Merge remote-tracking branch 'origin/master'
2018-04-23 23:47:30 +08:00
hiker
866eba936d
Try to fix linux - compiles. but untested.
2018-04-24 00:37:53 +10:00
hiker
59b796a7f5
Since broadcasting to 255.255.255.255 does not work in all cases,
...
add code to create a set of potential broadcast addresses and
use them all. Duplicated will be filtered out (since likely a server
will replace more than all).
2018-04-23 23:30:48 +10:00
Alayan-stk-2
4d4fff690d
Support for multiple reference weight lists
2018-04-23 03:51:39 +02:00
Alayan-stk-2
d79e4a1509
Use referenc
2018-04-23 03:49:48 +02:00
Alayan-stk-2
7f5565cbc4
New item weight lists
2018-04-23 02:29:40 +02:00
Alayan-stk-2
d3659232e0
Fix time-to-ticks build issue ( #3215 )
2018-04-22 20:18:46 -04:00
Alayan-stk-2
2ca9189f32
Add isFollowMode function
2018-04-23 02:03:35 +02:00
Alayan-stk-2
4844b415b6
Merge pull request #9 from supertuxkart/master
...
Update fork
2018-04-23 01:59:15 +02:00
auria.mg
c08093d732
Merge branch 'More-AI-improvem'
...
# Conflicts:
# src/karts/controller/skidding_ai.cpp
2018-04-22 19:36:37 -04:00
Alayan-stk-2
fa85460bc2
Merge pull request #7 from supertuxkart/master
...
Update fork
2018-04-22 21:31:44 +02:00
hiker
8e1f046b86
Fix the handling of messages that arrive before the last saved state
...
(which currently causes a crash).
2018-04-22 22:07:21 +10:00
Benau
bc8539ae10
Add some sound effect for lobby
2018-04-22 15:07:08 +08:00
Benau
d4eaec6667
Fix crashed sound repeating
2018-04-22 14:44:43 +08:00
Benau
7ddd498156
Add a separator as auria suggested when reentering the lobby
2018-04-22 14:32:41 +08:00
Benau
96797e9325
Fix wrong code to make it the same as comment
2018-04-22 14:01:11 +08:00
auria.mg
ad7555d8ea
Fix race GUI glitch kart icons to line horizontally at the start of a race
2018-04-21 21:04:21 -04:00
auria.mg
bb88ffc460
Merge branch 'game_protocol'
2018-04-21 19:53:56 -04:00
auria.mg
cbfcc55ebc
Fix cutscenes sychronisation, fixes #3213
2018-04-21 19:12:25 -04:00
auria.mg
edb3cc4f0b
Fix material slowdown not working, fixes #3212
2018-04-21 19:05:45 -04:00
auria.mg
c9d1d1c579
Fix issue with ticks vs time elapsed in scripting engine
2018-04-21 18:46:21 -04:00
Deve
8d767f0c8f
Fixed flooding with wrong way messages.
...
Fixes #3214
2018-04-21 22:51:21 +02:00
Benau
a4198536a0
Reset server if no player in lobby between a grand prix
2018-04-22 01:03:25 +08:00
Benau
e1797f0572
Don't use NetworkConfig which got deleted already
2018-04-21 16:41:25 +08:00
Benau
448ad5abcf
Clean up network local player handling
2018-04-21 16:32:43 +08:00
Benau
82a396ed56
Fix kart headlight in network
2018-04-21 16:30:38 +08:00
Benau
ba681a7cf8
Initial GP in network
2018-04-21 16:00:14 +08:00
Benau
6728951985
Fix incorrect camera index for GP
2018-04-21 12:55:55 +08:00
Benau
708d558528
Fix #3191
2018-04-21 10:25:05 +08:00
Deve
e0a5bd1027
Restore dropping bubblegum after shield explosion
2018-04-20 22:04:29 +02:00
hiker
78f96d4818
Temporary 'fixed' banana handling.
2018-04-21 01:32:03 +10:00
Benau
d55d5d0f3f
Get local player id from server for GP sorting later
2018-04-20 19:10:40 +08:00
Benau
75a63f6bae
Remove unused protocol type
2018-04-20 17:33:07 +08:00
Benau
afa647ac90
Remove unneeded rewind test in skidmarks
2018-04-20 17:22:33 +08:00
Benau
3772045f99
Fix GLES
2018-04-20 17:01:59 +08:00
hiker
359cb4770a
Merge branch 'master' of github.com:supertuxkart/stk-code
2018-04-20 18:26:48 +10:00
Benau
611def3c04
Fix sp shader debug handling
2018-04-20 16:25:12 +08:00
hiker
42d21ba9f9
Merge branch 'master' of github.com:supertuxkart/stk-code
2018-04-20 17:59:59 +10:00
hiker
4a0444987a
Fixed skidding in network mode. Only the jump duration is part of
...
the state, the current height of the kart in case of a jump is
then computed (without keeping track of speed etc). Jumping is
now only done during updateGraphics().
2018-04-20 17:31:31 +10:00
Benau
91e1bd3fd1
Try to fix invalid string by store a copied of translation
2018-04-20 14:36:19 +08:00
Benau
a071e022a5
Do the same for race event manager for non-stop network
2018-04-20 14:18:26 +08:00
Benau
32c1255c10
Make sure no dialog exists when going back to lobby
2018-04-20 14:18:05 +08:00
Benau
0c33803159
Let the network game keep going even race paused dialog shown
2018-04-20 13:30:17 +08:00
Benau
e5c991e3d2
Merge remote-tracking branch 'origin/master' into kobato
2018-04-20 13:03:34 +08:00
Benau
2dada03bae
Save available karts and tracks from clients in STKPeer
...
So if this peer disconnects later in lobby it won't affect current players
2018-04-20 12:19:58 +08:00
Benau
bd13f40584
Reset server to accepting client state if no more connected players
2018-04-20 12:19:58 +08:00
Benau
99a25bb837
Implement a proper end and restart race in network
2018-04-20 12:19:58 +08:00
Benau
6eaa88a3f5
Remove the unknown 255 attachment which caused by Endcontroller replacement
2018-04-20 12:19:58 +08:00
Benau
b6caf00bfc
Stop race event manager if exiting lobby
2018-04-20 12:19:58 +08:00
Benau
9a32bdcbe1
Fix #1636
2018-04-20 12:19:58 +08:00
Benau
d4fb888ffa
Eliminate disconnected kart
2018-04-20 12:19:58 +08:00
Benau
6f30fd0cb0
Clean up ConnectToPeer
2018-04-20 12:19:58 +08:00
Benau
0ecc6e34b9
Add deve request for auto-server port detection
2018-04-20 12:19:58 +08:00
Benau
12e4ba0f18
Check server version again in connection request (for connect-now)
2018-04-20 12:19:58 +08:00
Deve
a7deff5c3e
Avoid a crash in general text field dialog.
...
onEnterPressed can be executed twice - in event handler and in input manager.
2018-04-20 12:19:58 +08:00
Benau
789d75bf26
Remember last sucessfully connected server address
2018-04-20 12:19:58 +08:00
Benau
bd5fc33816
Add billboard text of online player name to non-local player
2018-04-20 12:19:58 +08:00
Benau
d30faece9c
Show (online) player name in race GUI
2018-04-20 12:19:58 +08:00
Benau
d6af63da67
Fix possible android crash
2018-04-20 12:19:58 +08:00
Benau
0c688c7df7
Use music phase instead of race phase
2018-04-20 12:19:58 +08:00
Benau
2c6883842e
Add connect-now equivalent to online screen
...
Specify port to allow to connect to one of multiple servers in same machine
2018-04-20 12:19:58 +08:00
Benau
8c72ce66e3
Copy server address to avoid using STKHost in shutdown
2018-04-20 12:19:58 +08:00
Benau
266898ca28
Display server port in log for connect-now GUI later
2018-04-20 12:19:58 +08:00
Benau
88728b074c
Fix lobby crash in graphics server
2018-04-20 12:19:58 +08:00
Benau
ba98e7dde9
Remove invalid warning about logging packets
2018-04-20 12:19:58 +08:00
Benau
f37ca7ada5
Don't update skidmark if rewinding
2018-04-20 12:19:58 +08:00
Benau
c3354923db
Avoid skipping of vertex buffer update if called more than once per frame
2018-04-20 12:19:58 +08:00
Benau
22f8095cb0
Remove compiler warnings
2018-04-20 12:19:58 +08:00
Benau
beaafb3d79
Fix clang discarding the translated stringw
2018-04-20 12:19:58 +08:00
Benau
2a3d57706a
Reset timer after finished loading world
...
It avoid some clients with slower loading time than anybody else hanging
when rewinding
2018-04-20 12:19:58 +08:00
Benau
969b56844b
Don't pause timer in thunderbird phase when in offline game
...
And don't show the dialog at all in network game when thunderbird phase
2018-04-20 12:19:58 +08:00
Benau
93d1b9136d
Clean all previous AI if exists in offline game
2018-04-20 12:19:58 +08:00
Benau
2dd9174b3a
Remove unused code in game events protocol
2018-04-20 12:19:58 +08:00
Benau
660ccd1f43
Don't crash if user opened a dialog when server shutting down
2018-04-20 12:19:58 +08:00
Benau
66c05bbdbf
Avoid crash if pressing close window button when networking
2018-04-20 12:19:58 +08:00
Benau
eca5a78075
Fix starting race now network string leaking
2018-04-20 12:19:58 +08:00
hiker
a727f524f2
Modified file to automatically trigger cmake on compilation.
2018-04-20 12:19:58 +08:00
hiker
4f94615c49
Moved wrong-way timer from kart into linear world.
2018-04-20 12:19:58 +08:00
hiker
da039bf6a9
Renamed member variable and method to better describe them.
2018-04-20 12:19:57 +08:00
auria.mg
92edfe5121
Attempt for #3164
2018-04-20 12:19:57 +08:00
auria.mg
ca7aac04c7
Fix leak
2018-04-20 12:19:57 +08:00
Deve
6d435a3dcf
Fixed mingw compilation
2018-04-20 12:19:57 +08:00
Deve
7e553356ea
Fixed windows compilation
2018-04-20 12:19:57 +08:00
Deve
0773e03246
Avoid some code duplication
2018-04-20 12:19:57 +08:00
Deve
fc3b428360
Allow to use scripting on arm64
2018-04-20 12:19:57 +08:00
auria.mg
6d306e64a7
More UI scaling improvements, see #3146
2018-04-20 12:19:57 +08:00
hiker
99d8ad8ac1
Properly fix #3159 (Wrong direction text is displayed twice).
...
When this is merged with master, the current work around
in #3159 can be reverted.
2018-04-20 12:19:57 +08:00
hiker
da7780a9e1
Removed the storing of DT (which is not necessary when using ticks
...
now). Removed TimeStep information class etc.
2018-04-20 12:19:57 +08:00
hiker
ac3c99a3ca
Removed support for position-based history files, now only
...
physics history files are supported.
2018-04-20 12:19:57 +08:00
Benau
c2b5e566c0
Merge branch 'game_protocol'
2018-04-20 10:34:19 +08:00
Benau
c926d37bb9
Remove online menu again
2018-04-20 10:31:50 +08:00
Deve
fdea04f34c
Simplify setting android project version
2018-04-19 21:05:27 +02:00
Deve
b07a345b1c
Merge branch 'version_number_android'
2018-04-19 20:46:20 +02:00
hiker
78bd331cae
Fix #3206 (crash in gui-less server).
2018-04-20 00:01:45 +10:00
hiker
5990e172b6
Cleanup unnecessary states and events (i.e. everything up to
...
the last confirmed state).
2018-04-19 23:54:36 +10:00
hiker
8c420d68d7
Fixed shaky tires ( #3051 ), which was re-introduced by moving the
...
kart model update the updateGraphics().
2018-04-19 19:33:19 +10:00
hiker
d565ce904d
Fixed incorrect comment.
2018-04-19 19:32:31 +10:00
hiker
203c511fab
Fixed compiler warnings.
2018-04-19 18:08:48 +10:00
hiker
969f938dce
Avoid an assertion error if previously a local race with AI
...
was done (then #ai karts + player karts != num_karts in
race manager).
2018-04-19 17:44:38 +10:00
Benau
9897a497f5
Fix slipstream crashed in server
2018-04-19 14:48:44 +08:00
Benau
4464d4cd55
Fix quaternion in dynamic draw call
2018-04-19 14:28:26 +08:00
Benau
7fb276e976
Don't update the physical object if it's static
2018-04-19 14:14:37 +08:00
Benau
f8323b9ad1
Remove unneeded skinned mesh shader for road blending shader
2018-04-19 11:49:38 +08:00
Benau
63bb6a467b
Fix total_uniforms uninitialized if missing shader program
2018-04-19 11:48:27 +08:00
Benau
c3f2d144b2
Fix m_current_transform uninitialized
2018-04-19 11:46:49 +08:00
Alayan-stk-2
dd13fbd977
Merge pull request #6 from supertuxkart/master
...
Update fork
2018-04-19 03:40:56 +02:00
hiker
98555a8f35
Merge remote-tracking branch 'origin/master' into game_protocol
2018-04-19 10:57:37 +10:00
auria.mg
c199ba7c63
Bugfix
2018-04-18 20:05:32 -04:00
Qwerty Chouskie
ffe9dad241
Update again
2018-04-18 16:26:58 -07:00
Deve
26d15e9d8b
Update android project after recent modifications related to STK project version
2018-04-19 00:25:22 +02:00
hiker
95bba525c5
Refacotring: instead of Moveable::update calling updateGraphics,
...
this is now called separately once per rendered frame from
the main loop. Started to split other objects to have separate
updateGraphics functions (e.g. to fix skid marks issues caused
by previously updating skidmarks even in rewind).
2018-04-18 22:27:06 +10:00
Alayan-stk-2
be8ae4dca6
Various slipstreaming refinements ( #3202 )
...
* New getRecentPreviousXYZ function
* New getRecentPreviousXYZ function
* New getRecentPreviousXYZ function
* General slipstreaming refinements
* Increase the minimum time to get the slipstream bonus
The obsolete parameter is not yet removed as several other files would have to be changed to not trigger an error.
* Slipstreaming characteristics update
* Changed slipstreaming characteristics
* Update slipstreaming characteristics
* Update slipstreaming characteristics
* Update slipstreaming characteristics
* Update slipstreaming characteristics
* Update slipstreaming characteristics
* Remove slipstreaming power engine bonus per kart type
Power engine bonus is already balanced by the different weights : a heavier kart needs more engine power to achieve/maintain the same speed.
* Remove an unused function
* Various slipstreaming refinements
* Pull the XYZ history size from config
* Pull the XYZ history size from config
* Remove unnecessary logs
* Fix a frenchism with fix
2018-04-17 21:09:49 -04:00
hiker
acdba401a9
Merge pull request #3090 from qwertychouskie/simplify-version-number-change
...
Reduce number of places version number needs to be changed on release
2018-04-18 09:44:13 +10:00
Alayan-stk-2
539ab45b08
Keep the camera looking to the same kart when changing view type ( #3205 )
...
Except for first-person view which keeps resetting to the player kart (the FP view itself is linked to it)
2018-04-17 18:49:43 -04:00
Deve
c23f1bbc5b
Fixed a bug in generate_assets script
2018-04-17 23:57:10 +02:00
hiker
b17b45d8c5
Fix non-networked races.
2018-04-17 18:48:32 +10:00
hiker
a9a73e643b
Save an initial state at t=0 on the client, to make sure they
...
can always rewind (e.g. in case that an event from another client
arrives before a state from the server).
2018-04-17 18:42:16 +10:00
Alayan-stk-2
c72cf74138
Fixes server_only build issue ( #3199 )
2018-04-16 20:16:51 -04:00
hiker
70e7625282
Don't split a game state upon receiving into separate chunks (one
...
for each rewinder), instead save only one state with all rewind
buffers.
2018-04-17 09:17:02 +10:00
Alayan-stk-2
131011d01e
Better GP points distribution ( #3178 )
2018-04-16 18:32:25 -04:00
auria.mg
54d3476c13
Merge branch 'FixGaugeI'
2018-04-16 18:29:00 -04:00
Alayan-stk-2
e39735934b
Merge pull request #5 from supertuxkart/master
...
Update fork
2018-04-16 23:09:50 +02:00
hiker
292243ddad
Merge branch 'STK-helper-SStreaming'
2018-04-16 23:04:03 +10:00
hiker
0637dd0fa1
Merge branch 'SStreaming' of https://github.com/STK-helper/stk-code into STK-helper-SStreaming
2018-04-16 22:37:49 +10:00
Alayan-stk-2
ba2df185e2
Fixes speedometer saturation
2018-04-16 14:34:02 +02:00
Alayan-stk-2
15ff516b53
New helper function for drawing meters
2018-04-16 14:28:15 +02:00
Alayan-stk-2
746d862e84
Various improvements
...
1)Use a new helper function for the drawing as the code was nearly identical at three different places
2)Fixes the coloring of transparent points : full color as intended, rather than black
3)Additional drawing points to properly manage the gauge_goal going outside of the gauge_full space
2018-04-16 14:27:27 +02:00
Alayan-stk-2
63127f553f
Better gauge goal
2018-04-16 14:08:28 +02:00
Alayan-stk-2
8bd6cafddf
Attempt to fix #3195
2018-04-16 12:46:23 +02:00
hiker
3167180d7f
Refactored state saving into a separate function to later allow
...
saving of an initial local state.
2018-04-16 17:25:50 +10:00
auria.mg
40372319f6
At general request, remove follow-the-lreader from story mode
2018-04-15 18:31:13 -04:00
auria.mg
264fac392e
Ajust forgotten texture
2018-04-15 18:08:08 -04:00
auria.mg
655faa81a0
Reduce speedometer images to a more reasonable size
2018-04-15 18:03:02 -04:00
Deve
868dbf792c
Avoid a crash in general text field dialog.
...
onEnterPressed can be executed twice - in event handler and in input manager.
2018-04-15 21:14:43 +02:00
Deve
32acae7507
Merge pull request #3194 from psypherium/patch-2
...
minor Update README.md
2018-04-15 20:17:15 +02:00
Psypherium
8341c3657e
minor Update README.md
...
Refine syntax to match protocol
moved one line back into code fence.
2018-04-16 02:59:56 +10:00
samuncle
50e433afca
Add shader specialized for roads, still some stuff to be tuned
2018-04-15 09:37:55 +02:00
Alayan-stk-2
080cecd400
Fix member variable name
2018-04-15 06:54:38 +02:00
Alayan-stk-2
8797f5b1fe
Fix member variable name
2018-04-15 06:53:09 +02:00
Alayan-stk-2
8f2c118e33
Improved AI testing ( #3184 )
...
* New command line option for testing
* Fix command line option
* Allow races from command line without player kart
* Use the new command line option for testing
Also increase the default number of karts for testing from 9 (including player kart) to 15 (no player kart) for reduced randomness.
And set the default test difficulty to SuperTux
2018-04-14 21:07:12 -04:00
Alayan-stk-2
ff55703457
Nitro fixes ( #3190 )
...
* Nitro fixes
* Remove the attachment of a kart on elimination
2018-04-14 20:56:16 -04:00
Psypherium
45e5612985
Update README.md ( #3181 )
...
* Update README.md
- Add recompilation instructions
- Add build threading instructions
- Rearranged 1 sentence with passive voice to match the rest of the readme
* Update README.md
* Update README.md
Clarification
* Update README.md
Rephrasing, reformatting
2018-04-14 20:42:17 -04:00
Alayan-stk-2
f16ed91bd5
Go back to the overworld in losing challenges ( #3192 )
2018-04-14 20:38:23 -04:00
Deve
45aa9c2e3a
Minor tweak for init android dialog
2018-04-14 22:39:51 +02:00
hiker
896b631f97
Removed unused skidding code.
2018-04-15 00:40:41 +10:00
hiker
b4107bfc25
Added a new constructor taking a string and port number (including
...
test cases) - mostly useful for debugging.
2018-04-15 00:32:30 +10:00
Alayan-stk-2
9d1abed0cd
Remove erroneous chars at EOF
2018-04-14 04:37:55 +02:00
Alayan-stk-2
39d6178f64
Checks to avoid undefined operations on moving textures
2018-04-14 04:09:27 +02:00
Alayan-stk-2
79fd0f12a5
Fixes a too small index
2018-04-13 23:32:37 +02:00
Alayan-stk-2
607ee6ed75
Merge pull request #3 from supertuxkart/master
...
Update fork
2018-04-13 21:57:35 +02:00
Alayan-stk-2
0c4c5fbe80
Slipstreaming characteristics completely reworked
2018-04-13 08:50:10 +02:00
Alayan-stk-2
bffebe32fc
Update header for slipstreaming improvements
2018-04-13 08:41:57 +02:00
Alayan-stk-2
f41b537477
Completely revamps slipstreaming
2018-04-13 08:40:03 +02:00
Alayan-stk-2
b2bdd49931
Allow instantSpeedIncrease use from Kart
2018-04-13 04:36:35 +02:00
Alayan-stk-2
885eaa516c
Allow instantSpeedIncrease use from Kart
2018-04-13 04:35:48 +02:00
Alayan-stk-2
7e0bb71d64
Allow instantSpeedIncrease use from Kart
2018-04-13 04:34:45 +02:00
Alayan-stk-2
c490db927b
Remember previous positions
2018-04-12 21:45:53 +02:00
Alayan-stk-2
3425fb3c70
Remember previous positions
...
Use an array of 30 Vec3 to remember the previous kart positions 0,25s before. Each one is updated with the previous one, starting from the oldest.
time_previous_counter is used to keep the time of the oldest as close as possible to 0,25s ; in case the physics ticks proceed faster or slower than 1/120th of second.
2018-04-12 21:41:09 +02:00
Alayan-stk-2
8d1fc02b0d
Remember previous positions
2018-04-12 21:35:54 +02:00
Alayan-stk-2
64168c2f67
New setQuad function
2018-04-12 21:33:59 +02:00
Alayan-stk-2
df2714ae71
New setQuad function
...
Allows to easily update the coordinates of a quad (used for dynamic slipstreaming quad)
2018-04-12 21:33:33 +02:00
Alayan-stk-2
26d4cf4795
Update for new sstreaming characteristics
2018-04-12 21:30:49 +02:00
Alayan-stk-2
85efc2d535
Update for new sstreaming characteristics
2018-04-12 21:18:03 +02:00
Alayan-stk-2
f9669c2d09
Update for new sstreaming characteristics
2018-04-12 21:17:37 +02:00
Alayan-stk-2
0342f89133
Update for new sstreaming characteristics
2018-04-12 21:17:03 +02:00
Alayan-stk-2
31a58c1b23
Update for new sstreaming characteristics
2018-04-12 21:16:48 +02:00
Alayan-stk-2
27ab829f59
Update tool for new sstreaming characteristics
2018-04-12 21:14:41 +02:00
hiker
6490551533
Uodate physics max speed after a rewind to make sure
...
the physics have the right max and min speed defined.
2018-04-13 01:07:08 +10:00
hiker
0328d05631
Updated and disabled debug output.
2018-04-13 00:53:59 +10:00
hiker
7bbaebe594
Fixed skidding rewind by adding all necessary variable to skidding
...
state and adding timed impulse to physics state of kart.
2018-04-13 00:44:53 +10:00
Benau
2fdc6b0de8
Fix billboard text
2018-04-12 16:41:13 +08:00
Benau
ef2f12f568
Remove unneeded skinned mesh version for tilling and vertical mapping shader
2018-04-12 16:35:25 +08:00
Benau
3742adf5ee
Use 2 digits for shader order
2018-04-12 16:31:01 +08:00
Benau
295c793f91
Use 4 32bit floats for quaternion for sam's wall
2018-04-12 16:27:48 +08:00
Deve
4abdb14a4c
Allow to use bigger fonts on desktop version for easier debugging
2018-04-11 21:39:34 +02:00
Deve
c8c390cdaa
Tweak nitro meter in android race gui
2018-04-11 21:09:40 +02:00
Alayan-stk-2
8f7502e204
Fix incorrect item utilisation in zipper path
...
Also remove the code logic which tells to use a zipper instead of nitro (not always useful, and should be managed inside handleNitroAndZipper anyway) ; and fixes the code disabling the use of zipper at start in time-trial (the previous code made the AI use it at random, when it's sometimes better to not use it at all at this moment and to wait later).
2018-04-11 19:00:46 +02:00
Alayan-stk-2
5b4a938165
Bubblegum and Cake improvements
2018-04-11 16:27:49 +02:00
Alayan-stk-2
3f5ab23e50
Make code more compact
2018-04-11 05:35:50 +02:00
Alayan-stk-2
dfb2ff282a
Remove anvil handling in arena AI
2018-04-11 04:16:50 +02:00
Alayan-stk-2
074065f274
Remove anvil handling (obsolete)
2018-04-11 04:16:13 +02:00
Alayan-stk-2
22b69e10f4
Check that there is a kart behind/ahead before testing properties
2018-04-11 04:08:21 +02:00
Alayan-stk-2
4496caeadf
Move the shield check for the swatter
...
Reduce unnecessary computation and fix compilation
2018-04-11 03:26:31 +02:00
Alayan-stk-2
8f4744b061
Improved speedometer and nitrometer ( #3177 )
...
* New speedometer and nitrometer gui
* Update Speedometer and Nitrometer
* Improve nitro background
* Improve nitro bar drawing
* Improved meters
* Improve meter and rank drawing
* Agressive smoothing and higher visibility
* Helper function for meter drawing
* Helper function for meter drawing
* Improved meters
* New nitro bar, slight 3D effects and hopefully fix compilation
* Update license
2018-04-10 21:14:50 -04:00
Alayan-stk-2
0025ef6305
New item handling functions
2018-04-11 02:54:24 +02:00
Alayan-stk-2
6e7f0051e0
New item handling functions
2018-04-11 02:52:48 +02:00
Alayan-stk-2
ee0b64eb69
Merge pull request #2 from supertuxkart/master
...
Update fork
2018-04-11 02:06:19 +02:00
Deve
1ee5f3aa8a
Keep acceleration sensitivity for up/down button when accelerometer is enabled
2018-04-10 21:09:05 +02:00
auria.mg
a4159a9b1a
Update translations
2018-04-09 20:33:36 -04:00
auria.mg
ca771f6218
Cleanup input.xml file (remove unused properties in some cases), add a little inline doc to make it a little easier to customize
2018-04-09 19:28:22 -04:00
Deve
4ef196d086
Fixed minor bug in touch settings dialog
2018-04-10 00:25:38 +02:00
Deve
3f69fd37ed
Some improvements for touch device
2018-04-10 00:22:09 +02:00
hiker
bfc832d5de
Removed debug output.
2018-04-10 00:45:40 +10:00
hiker
9eb59522c6
Added remaining jump time to skidding state (since the jump time
...
is used to determine if a kart can skid again or not).
2018-04-10 00:36:29 +10:00
hiker
cca7563bec
Avoid issue that when rewinding the latest state is skipped (so
...
it rewinds from an even earlier state).
2018-04-10 00:32:12 +10:00
hiker
8841200a1c
Fixed compilation in debug mode.
2018-04-09 21:57:10 +10:00
auria.mg
7543240db0
Merge branch 'Fix_3167_attempt'
2018-04-08 20:51:54 -04:00
auria.mg
61469a6806
Mitigate AI-related edge cases of original fx
2018-04-08 20:47:24 -04:00
hiker
9eadd2e64d
Fixed handling of events that happen at the same time when
...
m_current points to one of the events.
2018-04-09 08:27:48 +10:00
hiker
1e388c434f
Update comment.
2018-04-08 22:12:28 +10:00
hiker
364733882f
Code simplification.
2018-04-08 22:12:04 +10:00
samuncle
434f74b4ac
Add vertical / horizontal mapping for snow, sand, moss, etc (everything going on top of something)
2018-04-07 22:16:43 +02:00
samuncle
daf4721fa9
Add a mitigation for tilling textures. Very usefull for terrains, etc
2018-04-07 04:11:11 +02:00
samuncle
32016f0118
Add tilling mitigation shader
2018-04-06 16:25:39 +02:00
Deve
4b5c3a37fd
Increase target sdk version
2018-04-05 22:18:11 +02:00
Deve
4b972b73c7
Ignore paths that are not writable in assets manager
2018-04-05 22:18:11 +02:00
Arthur-D
9fb88b3eb7
Update README.md
...
Changed link to point to https://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/ instead of a specific version (which already was outdated and pointed to 0.9.2).
2018-04-03 14:40:46 +02:00
Benau
edbc7233d2
Allow to use space in command line with "" quoting the parameter
2018-04-01 12:34:32 +08:00
Benau
1b6e8f11b8
Make sure lobby display the quick play server name
2018-04-01 11:08:02 +08:00
Benau
47c679e398
Disable wan buttons in init in case of connect-now going back
2018-04-01 10:24:10 +08:00
Benau
6b5a01755c
Clean added player if going to login screen
2018-04-01 09:56:03 +08:00
auria.mg
c488c63d38
Rollback part of the recently merged PR that did not belong with AI changes
2018-03-31 21:16:25 -04:00
Alayan-stk-2
8fae521a94
AI item handling improvements ( #3143 )
...
* Prepares for advanced item and nitro usage strategy
Replace the bool determining if usage is random or not by an int allowing several levels of AI item usage.
Add NITRO_ADVANCED mode for nitro usage.
* Adapt for more item and nitro levels
The XML files have to be changed. The logic for the item_skill still has to be done.
* Preparation for the preferred kart in GP
* Preparation for the preferred kart in GP
* Preparation for the preferred kart in GP
* Prepares for advanced item and nitro usage strategy
* Prepares for advanced item usage strategy
* Preparation for the preferred kart in GP
* Parametrized AI_skill level
* Fix typo
* Fix typo
* Fix typo
* Fire items with a shield on in unrestricted mode
* New function allowing AI to know what flyable is incoming
* New function allowing AI to know what flyable is incoming
* Fix typo
* Update bubble gum AI to new system
In addition of making some functionality depends on AI levels, there are a few overall improvements for the better AIs :
1)Remove the "drop the gum in the last lap" logic. Bad strategy since ever the shield has been added to the gum
2)The protection against flyable is not used if the user holds a swatter and the flyable is a plunger
3)Holding a swatter no longer blocks the AI from using the shield against a flyable nor from using the gum behind
4)The shield is used to remove bad attachments (bomb, parachute, anvil)
5)Reduce the distance with the kart behind when dropping the gum to reduce misses
* Update swatter AI to new system
The swatter could benefit from several kind of usage improvement. This patch introduce only one, but probably the more important : the better AIs now use it to remove bad attachments
* Fixing #3139
* Fix compile error
* Fix
* Fix compilation
* Fix compilation
* Fix compilation
* Update variable
* Update variable
* Fix non-breaking space issue
* Fix typos
* Revert for compilation
* Revert for compilation
* Update cake AI to new system
* Redefine HandleItems to be position aware
* Redefine HandleItems to be position aware
Also changes bowling ball for the new system.
* Activate shield before hitting box or bad item
Meant for higher AIs.
* Increase lookup distance
Some distance will be needed for the switch
* Temporary fix to avoid a nitro regression
* Fix typo
* Fix typo
* Bubble gum improvements ; explicitely calculate distances to items
* Update Switch to the new system ; use item-distance awareness
Also fix a missing parenthesis
* Change nitro-usage to a numerical parameter
* Change nitro-usage to a numerical parameter
Also update comments to explain the new item-skill
* Change nitro-usage to a numerical parameter
* Change nitro-usage to a numerical parameter
* Change nitro-usage to a numerical parameter
* Update handleNitroAndZipper to the new system
Also fix a naming error, remove the 95% speed limitation on nitro usage
* Adds a small engine boost to nitro
Currently, nitro is very counter-intuitive as it only affects max_speed. This change corrects it. The effect remains small to not upset balance. It is mostly felt when below max_speed, so the can of nitro potential power doesn't change much.
* Improve AI nitro handling
Summary :
1)Makes the AI use nitro by bursts, greatly improving its efficiency
2)Makes the AI use nitro when close to max speed (to unlock the max speed increase)
3)Remove the overtaking logic as the AI will now use its nitro anyway
4)The AI tries to keep a reserve of nitro for use towards the end of the race.
* Allows estimated finish time to be checked at any lap, fix a crash
* Makes the AI use its nitro reserves
* Better tuning for nitro reserve usage to reduce the probability of unused nitro
* Remember last used powerup for AI
* Remember last used powerup for AI
* Remember last used powerup for AI
* Remember last used powerup for AI
* Remember last used powerup for AI
* Remember last used powerup for AI
* Fix compilation
* AI don't wait between usage of items of different types
* Use floats for Parachute duration
* Revert
* Nitro use when trying to pass a bomb improved
* Fix broken time check
* Take into account the kart-specific fadeout to calculate time between bursts
* Improvements to bursts and to use of the reserve at the end
* Improve comments explaining item_usage_skill and nitro_usage
* Make LastUsedPowerup a PowerupType
* Make LastUsedPowerup a PowerupType
* Make LastUsedPowerup a PowerupType
* Make LastUsedPowerup a PowerupType
* Make last_used_powerup a PowerupType
* Make last_used_powerup a PowerupType
* Fix compilation
* Fix compilation
* Revert
* Revert
* Finally fix compilation
* Finally fix compilation
* Change shield radius per difficulty
A reduced non-null shield radius reduces false positives as long as it is big enough to get a few frames during which the object is inside the radius.
* Improve Projectile closeness management
* Improve projectileCloseType
* Improve projectileCloseType
* Fixes indentation
* Fix lastUsedPowerup initialization
* Fix the last used powerup type
* Rename projectileCloseType
* Rename projectilCloseType
* Clarify comment and update projectileCloseType to new name
* Reuse a member RandomGenerator
* Fixes getLastUsedPowerup type
* Fixes comparison
* Fixes type
2018-03-31 21:09:57 -04:00
auria.mg
9250e66ff2
Improve 3167 patch
2018-03-31 21:03:56 -04:00
Benau
5920ac5406
Improve server-only run, hide all sp shader debug message
2018-04-01 08:51:12 +08:00
auria.mg
9fe4e2c30e
Improve 3167 patch
2018-03-31 20:49:45 -04:00
auria.mg
19338482a8
Improve 3167 patch
2018-03-31 20:38:09 -04:00
auria.mg
04b6f67573
FIx #3167 attempt
2018-03-31 19:42:08 -04:00
Benau
852c78729f
Adjust connect-now for new lobby
2018-03-31 16:14:22 +08:00
Benau
7f17d7ab25
Rebuild the network screen stacks up to wan / lan screen
2018-03-31 15:23:20 +08:00
Benau
1a6c219d3f
Fix voting timeout in case of time zone difference
...
Also allow voting when pressing the spinner or reverse checkbox
2018-03-31 14:35:55 +08:00
Benau
47a86cc36f
Add initial support for GP and soccer info in lobby
2018-03-31 01:19:23 +08:00
Benau
6c56939f49
Allow to reuse same stkgui for different screen instance
2018-03-31 00:11:39 +08:00
hiker
1b72d88593
Merge remote-tracking branch 'origin/kobato' into game_protocol
2018-03-31 01:12:22 +11:00
hiker
6474fbf73e
Modified file to automatically trigger cmake on compilation.
2018-03-31 00:39:49 +11:00
hiker
b1013f6030
Merge remote-tracking branch 'origin/network_improvements' into game_protocol
2018-03-31 00:38:57 +11:00
hiker
7e3fc660f1
Moved wrong-way timer from kart into linear world.
2018-03-31 00:16:47 +11:00
hiker
a3f68f621f
Renamed member variable and method to better describe them.
2018-03-30 23:22:00 +11:00
hiker
17200d7809
Merge remote-tracking branch 'origin/master' into game_protocol
2018-03-30 22:47:30 +11:00
hiker
10a2ae0e2a
Properly fix #3159 (Wrong direction text is displayed twice).
...
When this is merged with master, the current work around
in #3159 can be reverted.
2018-03-30 22:46:32 +11:00
hiker
2192d1383f
Removed the storing of DT (which is not necessary when using ticks
...
now). Removed TimeStep information class etc.
2018-03-30 18:32:48 +11:00
auria.mg
a384866e6a
Attempt for #3164
2018-03-29 19:23:51 -04:00
Benau
b1ad185d50
Only trying to connect without aloha for WAN only
...
So the checking of lan direct socket handling in stk host will have
effect
2018-03-29 12:56:01 +08:00
auria.mg
e2645c1060
Fix leak
2018-03-28 19:45:24 -04:00
Benau
1b0bf98766
Fix typo
2018-03-28 13:32:38 +08:00
Deve
0093a8eaab
Fixed mingw compilation
2018-03-27 23:03:47 +02:00
Deve
756ec632ae
Fixed windows compilation
2018-03-27 23:02:39 +02:00
Deve
eb28126f56
Avoid some code duplication
2018-03-27 23:02:09 +02:00
Deve
3666d1a2ec
Allow to use scripting on arm64
2018-03-27 23:01:46 +02:00
Benau
01c1287900
Always remove kart selection screen to avoid setRootID -1 assertion
2018-03-27 16:19:30 +08:00
Benau
c6fa384d94
Fix uninitialized values and broken local kart selection if reenter
2018-03-27 15:44:19 +08:00
Benau
b75428e4e5
Use distance with km
2018-03-27 11:56:36 +08:00
auria.mg
b778b91b5e
More UI scaling improvements, see #3146
2018-03-26 21:24:48 -04:00
Benau
ce8a15d90c
Add online id with player name for easier banning
2018-03-27 01:23:54 +08:00
Benau
5eb436384f
Remove commented out code
2018-03-27 01:15:12 +08:00
Benau
70def13ca2
Use a more sophiscated server-client token validation
2018-03-27 01:02:31 +08:00
Benau
c8dadf76f1
Remove LatencyProtocol now we have server distance and ping in lobby
2018-03-26 14:19:33 +08:00
Benau
a685d5c212
Adjust direct and formal connection timeout
2018-03-26 14:15:05 +08:00
Benau
b5ff84bd46
Further clean up create server screen
2018-03-26 12:37:06 +08:00
Benau
8db959a755
Fix server selection column proportion
2018-03-26 12:27:40 +08:00
auria.mg
ee57bbd6b4
As suggested by deveee, make the server creation screen more scalable. Also cleanup/simplify a bit
2018-03-25 18:10:44 -04:00
Benau
0e2112d7f0
Add server distance calculation
2018-03-26 02:11:04 +08:00
Benau
42e1873458
Fix possible null pointer dereference
2018-03-26 00:32:26 +08:00
Benau
946a902f98
Adjust server creation screen for 1280x720
...
And add some more game modes
2018-03-24 15:44:15 +08:00
Benau
85895074aa
Merge branch 'origin/master'
2018-03-24 09:31:06 +08:00
auria.mg
75c1739ff2
GUI tweaks
2018-03-23 20:38:16 -04:00
Benau
c3ea7f1088
Ignore the first 15 seconds for ping result
2018-03-24 08:20:27 +08:00
Benau
076fb3273f
Add 1500ms timeout for direct connection to wan server
...
This way player can instantly connect to firewall-less server
without waiting for polling in stk addons server
2018-03-24 00:53:42 +08:00
Benau
025ca63df0
Display ping to server in lobby
2018-03-23 22:19:44 +08:00
Benau
1e2cb2dc4a
Fix clang screen.hpp warning
2018-03-23 20:20:09 +08:00
Benau
3ee3d8d5bd
Randomly use stun servers of the low ping from top-half of the list
2018-03-23 18:51:26 +08:00
Benau
52dc38d03b
Use human readable ip for ban list
...
And update MapUserConfigParam to use initializer_list default value
2018-03-23 17:22:03 +08:00
Benau
e5c66d541b
Hide friend request button if already made friend
2018-03-23 15:00:19 +08:00
Benau
dac7158ce0
Show WAN server owner if it's localhost or friends'
2018-03-23 13:41:07 +08:00
Benau
61b6389764
Use crown icon for server owner
2018-03-23 10:08:48 +08:00
Benau
ef15a1881c
Better default focus for network dialog
2018-03-23 10:06:04 +08:00
auria.mg
2cabf3594f
GUI bugfix
2018-03-22 20:55:23 -04:00
Benau
449365b5b6
Let server take splitscreen players into account for max players
2018-03-22 15:09:52 +08:00
Benau
0599e8c0d7
Fix broken network kart selection for some keyboard configuration
2018-03-22 14:53:29 +08:00
Benau
d8b68a2cbc
Remove guest account in network splitscreen
2018-03-22 14:43:16 +08:00
Benau
ebadc84945
Fix assertion when going back fron network to normal kart selection screen
2018-03-22 13:26:44 +08:00
Benau
c026261e0f
Improve splitscreen dialog for easier adding
2018-03-22 12:52:37 +08:00
Benau
1b4caa36af
Use a better wording
2018-03-22 11:43:09 +08:00
Benau
e9c956b357
Fix possible crash in network splitscreen lobby
2018-03-22 11:42:40 +08:00
Deve
be037781b8
Tweak screen keyboard layout
2018-03-21 23:06:15 +01:00
Benau
152dfe7c55
Add toggling of network splitscreen in online menu
2018-03-22 01:38:29 +08:00
Benau
6fca802c8e
Add network split screen kart selection
2018-03-21 15:41:44 +08:00
Benau
e63124ea3e
Rename stun list to avoid conflicts with old config
2018-03-21 10:48:37 +08:00
auria.mg
41cd33ce55
Fix Wrong Way message, fixes #3159
2018-03-20 20:05:34 -04:00
Alayan-stk-2
a27dd674a0
Change camera view in debug to the previous/next kart ( #3158 )
...
* Change camera view from one kart to the previous/next with F5-6 keys or with menu buttons
* Simplify code
The kart_num/real_num distinction was part of the base code Benau did ; but it is completely redundant after the changes I did to the way kart_num is calculated (it was previously a static int, it's now an unsigned int).
2018-03-20 19:39:18 -04:00
Deve
db3399500f
Better scaling initial android dialog
2018-03-20 21:38:06 +01:00
Deve
0471202c9c
Fixed stupid isAccelerometerActive condition
2018-03-20 20:55:26 +01:00
hiker
17b3a79997
Removed support for position-based history files, now only
...
physics history files are supported.
2018-03-20 23:52:02 +11:00
Benau
4379244f3e
Adjust based on auria's feedback
2018-03-20 14:56:17 +08:00
Benau
dd3a544834
Use std atomic for timeout
2018-03-20 09:59:14 +08:00
Alayan-stk-2
1dedd915ad
Update the track list and reorder it to alphabetic order ( #3154 )
2018-03-19 20:50:31 -04:00
Benau
e58d86d4d5
Merge branch 'origin/game_protocol'
2018-03-20 08:32:45 +08:00
hiker
e1a2f68073
Fixed warning.
2018-03-20 10:25:06 +11:00
Deve
193ba6909f
Represet special keys on screen keyboard by symbols
2018-03-20 00:10:13 +01:00
hiker
4fd205773e
Moved graphical weather update into separate update function that
...
is only called once per rendered frame.
2018-03-20 09:58:34 +11:00
hiker
950fc7a14f
Fixed ticks vs time mix up.
2018-03-20 09:51:39 +11:00
hiker
78b120a04f
Moved wiimote handling into input manager.
2018-03-20 09:42:26 +11:00
hiker
c456edd9f2
Convert more time handling to handling ticks.
2018-03-20 09:25:39 +11:00
Deve
f559627951
Allow to repeat backspace key on screen keyboard
2018-03-19 23:06:20 +01:00
Benau
d436446de2
Add no-kart-selection network splitscreen
2018-03-20 02:54:10 +08:00
Benau
cfd1de43bb
Display all votes in the RHS of tracks screen
2018-03-19 15:08:38 +08:00
auria.mg
ee64a22349
GUI bugfix
2018-03-18 20:22:50 -04:00
Deve
900beae4b2
Allow to create x86_64 android package.
...
64-bit packages will be required by google.
2018-03-18 21:56:36 +01:00
Deve
203d045485
More improvements for gui on android
2018-03-17 22:28:45 +01:00
Benau
6a963ffcc9
Add POSIX equivalent for detecting parent termination
2018-03-17 12:26:37 +08:00
Benau
e66c4eed35
Properly hide the rectangle box in ghost track screen
2018-03-17 11:12:21 +08:00
Deve
26419e5ee0
Better gui scaling on android
2018-03-16 23:00:58 +01:00
Benau
f9d2d539ff
Server never has local player at the moment
2018-03-16 23:09:21 +08:00
Benau
bb7c3c0de3
Move voting timeout to user config
2018-03-16 21:49:14 +08:00
Benau
1a852b7f22
configRemoteKart needs to include the random kart
2018-03-16 21:32:12 +08:00
Benau
8c702a376e
Move assign mode to exit callback
2018-03-16 21:31:46 +08:00
Benau
78ac3a922d
Fix compiler warnings
2018-03-16 19:06:20 +08:00
Benau
0fef316313
Use lock and push_back
2018-03-16 17:42:21 +08:00
Benau
362b74a77c
For server-only there can be no player profile
2018-03-16 17:38:23 +08:00
Benau
758581d13c
Merge branch 'origin/game_protocol'
2018-03-16 17:11:40 +08:00
Benau
82be7572a1
Use the new method to connect / start game
2018-03-16 17:11:23 +08:00
Benau
a5c1dbb446
Move voting to server lobby
2018-03-16 14:36:11 +08:00
Benau
d6936c5746
Add remaining time to vote message
2018-03-16 12:45:38 +08:00
Benau
cf898c2795
Remove waiting for other screen now that you can instantly know votes
2018-03-16 11:35:16 +08:00
auria.mg
f8f77edc47
Fix GUI skin issue
2018-03-15 21:29:45 -04:00
Deve
98a7b5a03e
Send text message when pressing enter on android keyboard
2018-03-15 21:35:29 +01:00
Deve
3d787f4134
Send text message when pressing enter on android keyboard
2018-03-15 21:35:12 +01:00
Benau
2cedd6729a
Try to connect anyway even without aloha message
...
This should allow clients with strong firewall to connect to
server not behind any firewall
2018-03-16 01:14:43 +08:00
Benau
f78276a930
Show player vote in message queue for immediate effect
2018-03-16 00:54:02 +08:00
Benau
bc56c07c51
Hide the chatbox when disable chatting
2018-03-15 14:02:29 +08:00
Benau
e715140835
Change for new server code in stk-addons
2018-03-15 12:37:02 +08:00
Benau
f7b3950cd4
Fix cursor stop working after pressing enter
2018-03-15 10:39:02 +08:00
auria.mg
2e981b33e7
Patch textbox crash
2018-03-14 21:26:44 -04:00
Deve
38a4e06a6c
Avoid window size to be larger than available space.
...
When window size is equal to screen resolution and user selected windowed mode, we can assume that he wants maximized window.
2018-03-14 22:47:31 +01:00
Deve
9c3998be0e
Fixed server_only compilation
2018-03-14 21:43:28 +01:00
Deve
4f51c9c915
One more valgrind fix
2018-03-14 21:02:25 +01:00
Deve
a3c0254f81
Better fix for login screen
2018-03-14 20:49:05 +01:00
Benau
532bd88062
Avoid possible packet loss
...
The connect to peer done by server will auto terminate if same peer
from same port has connected already
2018-03-15 00:41:01 +08:00
Benau
60d822da50
Only broadcast aloha to self if address is really localhost
2018-03-15 00:34:59 +08:00
Benau
1b8d4c80dc
Initial work to port network profile to use weak_ptr
2018-03-14 15:48:02 +08:00
Benau
ea8ba470d6
Use (s) for server
2018-03-14 10:07:54 +08:00
Benau
2e0558323b
Merge branch 'origin/network_improvements'
2018-03-14 10:05:07 +08:00
auria.mg
f3d1995033
Change assert into warning, it's definitely not fatal
2018-03-13 21:39:27 -04:00
Deve
6621196266
Don't close STK after login screen
2018-03-13 21:22:21 +01:00
Benau
5699a86586
Allow toggling the display of only private server
2018-03-14 00:50:19 +08:00
Benau
901c5eabec
Allow specifying server password in dialog
2018-03-13 16:04:59 +08:00
hiker
d3a60356c9
Merge remote-tracking branch 'origin/fix-timestep' into game_protocol.
...
Started to use ticks instead of time floating point values in networking.
2018-03-13 18:37:12 +11:00
Benau
c73536263f
Add password protected and version info to server
2018-03-13 14:39:20 +08:00
Benau
fe0adadd16
Simplify linebreak
2018-03-13 12:52:04 +08:00
Benau
a33a9a040b
Allow text box widget to listen enter event
2018-03-13 09:00:44 +08:00
Deve
952b973b89
Valgrind complains about changing variable after closeScreen
2018-03-12 23:03:15 +01:00
Deve
fd14c7fa91
Update android tv banner.
...
Thanks to Mr.XX99 for his work.
2018-03-12 21:49:09 +01:00
Benau
b72cf4f406
Don't assert peer size for client as the listening thread is delayed-start
2018-03-13 01:03:02 +08:00
Benau
8330919a3a
Add missing stkgui for lobby chat
2018-03-13 00:51:08 +08:00
Benau
0f6dbbb4a0
Add default-disabled lobby chatting
2018-03-12 16:51:30 +08:00
Benau
25da48634d
Add kick ban in network console configurable in config.xml
2018-03-12 13:59:38 +08:00
Benau
bb3bcdca3e
Change int to int map to uint32_t for server ban list
2018-03-12 12:39:16 +08:00
Benau
93c910f18b
Use a uniform translated timed out string
2018-03-12 11:38:37 +08:00
Benau
d527c0eee2
Use icon to identify server owner, online and offline players
...
Also hide the friend request button for offline players
2018-03-12 11:28:13 +08:00
Benau
ffd6e84759
Stop threads of texture loading before destroying shader manager
2018-03-12 09:21:30 +08:00
auria.mg
48f2aa3da4
Fix bubblegum flashing, fixes #3133
2018-03-11 19:35:59 -04:00
auria.mg
361e03c375
Fix more keyboard issues, fixes #3131
2018-03-11 19:06:48 -04:00
auria.mg
2087a72cf3
Improve keyboard-only navgation. See #3131
2018-03-11 18:50:55 -04:00
Benau
95208967cf
Add kicking player for server owner
2018-03-12 02:05:38 +08:00
Benau
3bbec8aa27
Initial work on lobby redesign
2018-03-12 00:18:53 +08:00
Benau
4dea283965
Only run enet command in listening thread
...
And use sleep instead of timeout for new code
2018-03-10 14:56:32 +08:00
Benau
c50cdd9d68
Only start listening after trying connect to a server
2018-03-10 13:20:18 +08:00
Benau
98e3d82921
Add kicking players and properly recieve disconnect events
2018-03-10 12:34:33 +08:00
Benau
22ca1cb751
Avoid sending to wrong peer in case of disconnection
2018-03-10 01:07:23 +08:00
Benau
8e1cc2b0c8
Make latency protocol work with weak pointer of STKPeer
2018-03-10 01:00:10 +08:00
Benau
5600d01b2c
Use shared_ptr of STKPeer if needed
2018-03-09 23:54:13 +08:00
Benau
e439e68b60
Move protocol start after creation of STKHost
2018-03-09 23:01:20 +08:00
Benau
5756fd5f48
Use a mutex to make only 1 enet_peer_send happening
...
In reality we need mutex to protect enet_host_service, but it leads
to seriously increased locked time
2018-03-09 23:00:47 +08:00
Benau
d538dfc7e6
Header cleanup
2018-03-09 21:17:31 +08:00
Benau
9c46b70042
Use peerExists to check for establishment of connection
2018-03-09 19:05:25 +08:00
Benau
dd2e32a953
Implement a thread-safe list of STKPeer
...
Block re-connect from the same ip and port and clean up add or
remove of peers
2018-03-09 18:33:19 +08:00
Benau
db68756fd6
Use mutex to prevent joining of players when start selection
2018-03-09 09:22:13 +08:00
Deve
d271e27590
Show progress bar before new data is extracting. It will at least show that the game is not hanged and is doing something.
2018-03-08 21:45:20 +01:00
Benau
2d86adce3c
Fix quitting the server
2018-03-08 13:19:24 +08:00
Benau
0b00640760
Let stk host clean up server id file
2018-03-08 12:00:36 +08:00
hiker
8cf885652f
Merge remote-tracking branch 'origin/master' into game_protocol
2018-03-08 09:51:00 +11:00
hiker
fa624c90e1
Merge remote-tracking branch 'origin/master' into fix-timestep
2018-03-08 09:50:14 +11:00
hiker
e4ea3291b1
Fixed world time differences between client and server.
2018-03-08 09:47:42 +11:00
Benau
cd713f6c99
Move hiding icons for android to beforeAddingWidget
2018-03-07 11:04:00 +08:00
Deve
022dd68a17
Some fixes for gamepad on android
2018-03-06 23:23:15 +01:00
Benau
aa06d3f4e2
Always use lan connection for connect-now
2018-03-07 00:56:43 +08:00
Benau
269c9318e5
Send a broadcast in case of lan connection for wan server
2018-03-07 00:51:59 +08:00
Benau
177c7b147c
Fix connect to wan server in lan network
2018-03-06 16:18:57 +08:00
Benau
1dc7f3aa4e
Move port configuration to user and stk config
2018-03-06 15:38:51 +08:00
Benau
88e9d6a34c
Fix server selection screen loading dots
2018-03-06 14:40:29 +08:00
Benau
821a00c039
Fix some corruption in server only stk
2018-03-06 13:11:05 +08:00
Benau
66626e4ea8
Fix uninitialized value
2018-03-06 11:59:08 +08:00
Deve
e00074cb14
Some work on gamepad support on android.
...
Still it works only for single gamepad, but at least it's preconfigured and google shouldn't complain about stupid button names.
2018-03-06 00:19:01 +01:00
Benau
03285a33a3
Move ModalDialog::dismiss() after setJoinedServer
2018-03-06 01:38:09 +08:00
hiker
ae111d3cfb
Fixed item rotation in network mode.
2018-03-05 22:42:01 +11:00
Benau
d5c1ac30ab
Fix signin leaking
2018-03-05 16:34:15 +08:00
hiker
4f9353e03f
Reduce camera shaking (caused by camera being updated during rewind).
2018-03-05 17:52:06 +11:00
Benau
eec166c90d
Always clean up server id file in case client failed to connect
2018-03-05 13:55:35 +08:00
Benau
4ab04bc546
Don't overwrite user id and token if using client-server
2018-03-05 13:52:04 +08:00
Benau
ebcaa2c1ad
Fix auto connect
2018-03-05 13:04:17 +08:00
auria.mg
aa027bd09c
Fix GUI bug
2018-03-04 18:38:58 -05:00
Benau
2b56a97b08
Clean up Server, ServersManager and quick play
...
For now we choose the server with the least player for quick play
2018-03-05 01:54:44 +08:00
Deve
8f78d4e891
Add a popup on first run on android, so that user can choose if accelerometer should be enabled
2018-03-04 00:08:24 +01:00
Deve
975fc8f84a
Don't show screen keyboard when hardware keyboard is available
2018-03-03 21:06:59 +01:00
Benau
58757c2927
Hide create server buttons for android
2018-03-03 14:31:38 +08:00
Benau
594780a758
Don't use setVisible for IconButtonWidget in beforeAddingWidget
2018-03-03 14:22:44 +08:00
auria.mg
89596af654
UI bugfix
2018-03-02 20:44:00 -05:00
auria.mg
0cd5b5672e
Fix assert failure
2018-03-02 19:46:43 -05:00
Deve
41ba4395d9
Don't spam with old drivers popup on android
2018-03-02 22:34:20 +01:00
Deve
729e508027
Disable accelerometer in options if it's not available
2018-03-02 22:30:22 +01:00
Deve
4157eef894
Get device orientation only if accelerometer is used
2018-03-02 21:38:15 +01:00
Deve
402b2ffb7a
Fixed compilation
2018-03-02 20:29:25 +01:00
Benau
4e2863294d
Use stun servers that return XOR mapped address
2018-03-02 22:38:04 +08:00
Benau
4f9af9d438
Don't use getifaddrs as it crashes android
2018-03-02 20:03:04 +08:00
Benau
43cf29af86
Merge remote-tracking branch 'origin/network_improvements'
2018-03-02 17:39:16 +08:00
Benau
efa294d4f4
Clean up lan and wan server code
2018-03-02 15:21:27 +08:00
Benau
80a9cc5c48
Auto shutdown the child STK server in windows
2018-03-02 13:25:14 +08:00
Benau
a27512f515
Use ostringstream to add server option
2018-03-01 12:50:51 +08:00
Benau
d76bd49eee
Fix one more non-exist GL call in no graphics
2018-03-01 12:19:25 +08:00
Benau
9d93e0112c
Try to fix OSX no-graphics STK
2018-03-01 10:10:08 +08:00
Deve
a00c1cadc8
Simplify accelerometer selection in settings
2018-02-28 22:01:30 +01:00
Deve
0ee00ad1e5
Make accelerometer values relative to device orientation
2018-02-28 22:01:30 +01:00
Benau
3141b67f89
Use a signal handler to partially clean up STK when terminating
2018-03-01 02:19:26 +08:00
Benau
13d4cc50cf
Use server id file to determine the status of no-graphics server
2018-02-28 16:09:53 +08:00
Benau
e760642842
Use NetworkConfig to set user id and token
2018-02-28 15:29:40 +08:00
Benau
18eb0a613a
Allow non-saved password user to create wan server
2018-02-28 15:05:34 +08:00
samuncle
0c23e6063d
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-02-27 23:39:28 +01:00
samuncle
7db4ef8056
Add a shader to use the day/night cycle for lamps, etc
2018-02-27 23:38:28 +01:00
Deve
6b4fb50876
Convert tabs to spaces
2018-02-27 23:24:29 +01:00
Deve
36c6ea52ae
Allow to detect device rotation for better accelerometer support
2018-02-27 23:24:29 +01:00
samuncle
39c50c838f
Make access to the time of the track in the shader to react to day/night cycle
2018-02-27 23:20:49 +01:00
Benau
cd5cb5ef6d
Use STKHost to determine graphics-client-server
2018-02-27 14:10:44 +08:00
Benau
6536a311b3
Allow logging save only to a file
2018-02-27 13:22:58 +08:00
Benau
4ac34fac76
Don't register LAN server
2018-02-27 12:56:22 +08:00
Deve
4cc56aec1b
Detect system language on android
2018-02-26 21:25:08 +01:00
Benau
0e2d5ab460
Allow server and client together in graphics
2018-02-27 02:40:50 +08:00
Benau
92b5f69220
Move hiker's SSM to a SeparateProcess class for graphics + client server
2018-02-27 01:40:36 +08:00
Benau
d8007c4518
Update server for new xml code
...
And initial work for starting a complete stk server
2018-02-26 14:23:34 +08:00
Deve
78bb9e78ac
Fixed version number for nvidia gles.
...
It uses gl version string: OpenGL ES 3.2 NVIDIA 384.111
2018-02-25 22:40:15 +01:00
Deve
34f0f8c239
Fixed a bug with red light in thunderbird model on android
2018-02-25 22:17:53 +01:00
Benau
6c18664967
Make sure protocol manager exists when requesting
2018-02-25 15:24:46 +08:00
Benau
c5cf87071c
Use xmlEncode for proper unicode handling
2018-02-25 14:32:38 +08:00
Benau
2fcaeabf1c
Increase timeout in case of busy network
2018-02-25 13:45:43 +08:00
Benau
571a524f59
Update lobby for new gui engine code
2018-02-25 13:31:45 +08:00
auria.mg
7b903a09ba
Add text_valign="top" support to GUI engine
2018-02-24 21:49:49 -05:00
auria.mg
8d565fba11
Unicode fix
2018-02-24 21:38:31 -05:00
Benau
34caab24fe
Update networking lobbdy for better display info
2018-02-25 02:09:07 +08:00
Benau
2a117d8e44
Don't lock in async update in protocol manager
...
It allows GUI interacts with protocol more actively
Also don't handle lan connection request if we are not waiting for
players
2018-02-25 02:07:24 +08:00
Benau
b26b784b6a
Various improvements to WAN and LAN connection
2018-02-24 15:48:30 +08:00
Ethan Uzarowski
b782af2949
Remove "Final lap!" message in one-lap races ( #3127 )
...
* Fix "Final lap!" message on one-lap races
When starting a one-lap race, the game gives the message "Final lap!". This should only be given when there is more than one lap in the race. This commit changes linear_world.cpp so that this message is only given when the number of laps in the race is greater than 1.
* Fix spacing
I accidentally changed the spacing when making my last commit. This commit fixes that accident.
2018-02-23 20:43:46 -05:00
hiker
95f0bf9e3b
Used functions in stk_config to convert between ticks and times.
2018-02-23 23:22:49 +11:00
Benau
d586ab9011
Allow auto-fallback to another unused port if needed
2018-02-23 16:16:43 +08:00
Benau
a93182740e
Reset NetworkConfig when exiting WAN game screen
2018-02-23 15:46:03 +08:00
Benau
7d14954012
Simpify network console
2018-02-23 14:57:59 +08:00
Benau
1023e6580e
Unregister STK server when exiting
2018-02-23 14:01:20 +08:00
hiker
cb712411e0
Converte some pararchute values to use ticks.
2018-02-23 10:01:22 +11:00
Benau
005454ba7b
Use the recieved port to connect, also fix a possible crash
2018-02-22 16:38:53 +08:00
hiker
81342ddd00
Fixed several mixups of ticks and time.
2018-02-22 19:25:11 +11:00
hiker
7a53cf16fe
Fixed compiler warnings.
2018-02-22 19:19:04 +11:00
Benau
33435de026
Fix lan game in localhost, also improve timer behaviour
2018-02-22 16:03:54 +08:00
Benau
4559fd6a2c
Remove unused protocol
2018-02-22 15:14:15 +08:00
Benau
1458f3ef8e
Fix wan connection, move get public address from stun to stk host
2018-02-22 15:11:07 +08:00
hiker
797e35c674
Bugfix, forgot to change the type from float to int.
2018-02-22 09:23:45 +11:00
hiker
1c3da88e77
Replaced more time with ticks.
2018-02-22 09:22:57 +11:00
hiker
09e7a5cc13
Converted more times to using ticks; fixed bug that in case of
...
a race restart the fastest lap was not reset.
2018-02-21 22:46:35 +11:00
hiker
27b5409487
Use ticks (at the physics frame rate) for time measurement, which
...
avoids potential floating point errors (in networking).
2018-02-21 22:18:45 +11:00
hiker
208c5eb6d8
Merge remote-tracking branch 'origin/master' into fix-timestep
2018-02-21 08:35:58 +11:00
Benau
8daebe06e1
Allow creating wan server in command line
...
It can only be used with a saved online player, also fix a weird
crash if server failed to create (wan is NULL)
2018-02-20 15:11:58 +08:00
Benau
22c755a328
Show protocol name when it is terminated (easier for debugging)
2018-02-20 13:33:43 +08:00
Benau
14b401b54e
Use std atomic for server state
2018-02-20 11:14:57 +08:00
Benau
04a6f6d08b
Warn user about multiple instance of STK server
2018-02-20 10:11:09 +08:00
Benau
3223d05c6c
Merge remote-tracking branch 'origin/master' into network_improvements
2018-02-20 00:14:29 +08:00
Benau
4ab823cfbc
Move lan network socket to thread main loop, fixed leaking of it too
...
Also call enet_deinitialize when destroy STKHost
2018-02-19 11:36:32 +08:00
Benau
e393e3d4f0
With shared_ptr protocol is not leakable
2018-02-18 14:50:06 +08:00
Benau
e52ab5888c
Don't crash when close STK window directly
2018-02-18 14:13:24 +08:00
Benau
c5b986e874
Allow going back to online menu if server connection is lost
2018-02-18 14:06:17 +08:00
Benau
6fd7fb0e0e
Allow reconnecting to lan servers as many time as possible
2018-02-18 13:24:29 +08:00
Benau
0a5c1a69c7
Use shared_ptr for protocol to avoid leaking
...
With weak_ptr it's also possible to auto clear LobbyProtocol when
STKHost is shutdown
2018-02-18 12:39:05 +08:00
Benau
bcf8e4e5fe
Allow shutdown STKHost from dialog
2018-02-17 16:25:53 +08:00
Benau
4c1cc50955
Don't pause timer in network as it breaks rewind
...
Also remove the unneed protocol manager checking
2018-02-17 15:38:56 +08:00
Benau
372753f505
Use atomic flag to start / stop listening thread
2018-02-17 11:40:48 +08:00
Benau
cfeadf335c
Move some code to header
2018-02-17 10:51:33 +08:00
Benau
c5788a2c90
Move the cleaning of events to destructor of protocol manager
...
So that the last one who deletes it can clear all the remaining data
properly (ie if it's STKHost listening thread)
Remove the assert in async update thread as it may not be true for
the first thread creation
2018-02-16 00:48:27 +08:00
Benau
05f7c014dd
Create a prototype for thread-safe protocol manager
...
Using weak and shared_ptr, if !lock(), than it was atomtically
destroyed
2018-02-15 16:47:04 +08:00
Benau
3d8efcdfa1
Use >= for counter in case of some peer disconnect in between for completing race end
2018-02-15 15:33:18 +08:00
Benau
fa2a8bccd3
Reset available karts and tracks each selection
2018-02-15 14:07:58 +08:00
Benau
20a2bc3bbb
Terminate controller and game event protocols when exit result screen
2018-02-15 13:28:28 +08:00
Benau
e7d3658a53
Merge remote-tracking branch 'origin/network_improvements' into game_protocol
2018-02-15 10:36:14 +08:00
hiker
c0333fe0f7
Bugfix: TimeInfo objects were missing for substeps, resulting in
...
very stuttering game play.
2018-02-15 10:06:13 +11:00
Deve
bfb862645d
Print some debug info
2018-02-14 22:28:55 +01:00
Deve
959f33223e
Enable multitouch gui only if touchscreen is available
2018-02-14 22:28:55 +01:00
Benau
469f7d2fc5
Drop player if he has incompatible karts / tracks
2018-02-14 12:23:05 +08:00
auria.mg
e26239e364
Improve the input sensing text to be a bit clearer
2018-02-13 20:35:07 -05:00
hiker
4bd7848431
Removed duplicated update of the ProtocolManager, and only
...
update it when STKHost exists (otherwise STK will crash since
ProtocolManager can get called when it does not exist).
2018-02-14 09:27:13 +11:00
hiker
2a30f75b78
Avoid crash that can happen if the first DT is large and event
...
happens during that time.
2018-02-14 09:20:45 +11:00
hiker
df5adbc320
Fixed comment.
2018-02-14 09:20:27 +11:00
Benau
8a1ef31f4a
Allow remove unusable karts or tracks in network game
2018-02-14 01:57:05 +08:00
Benau
46416781fa
Make it possible to restart race after going back to lobby
...
At the moment the token is reset by client after each restart
2018-02-13 15:20:55 +08:00
auria.mg
196b5a2bbe
Minor ajustments to kart color screen, make kart slightly bigger, make XML cleaner
2018-02-12 20:22:35 -05:00
auria.mg
ceeb79f3a4
Restore accidentally removed resolution ajustment in kart color selection screen
2018-02-12 20:16:31 -05:00
auria.mg
2830dabfc1
Improve kart color selection screen, fixes #3122
2018-02-12 20:08:51 -05:00
hiker
26401972d2
Merge branch 'fix-timestep' into game_protocol
2018-02-13 08:41:49 +11:00
Deve
4cc57dd754
Fixed a crash when logging long messages
2018-02-12 21:31:32 +01:00
hiker
000b613b8b
Fixed compiler warnings.
2018-02-12 18:10:52 +11:00
hiker
4ce66e754b
Fixed compiler warnings.
2018-02-12 18:07:51 +11:00
hiker
fa20e4f866
Only issue sfx commands once per rendered frame (during the last
...
substep).
2018-02-12 18:01:05 +11:00
Qwerty Chouskie
8a51cae73d
Final(?) tweak
2018-02-11 19:16:23 -08:00
Qwerty Chouskie
835d4ccc63
Update skidding effect
...
Also fix nitro when skiddding
2018-02-11 19:01:42 -08:00
hiker
c7bc47f2e3
Fixed world update to be fixed at the physics frame rate.
2018-02-12 09:54:46 +11:00
hiker
4d03fbd1fb
Made the physics time step size configurable in the config file.
2018-02-12 08:23:06 +11:00
Benau
971db902a8
Fix queries stop working after changing resolution
2018-02-11 15:06:35 +08:00
Benau
0e3398a46b
Use eglGetProcAddress for debug function
2018-02-11 14:56:43 +08:00
Benau
7ebc33bcaa
Fix server only build
2018-02-11 02:03:09 +08:00
Benau
b42c540eed
Allow to save current GPU query string to apitrace
2018-02-11 01:53:30 +08:00
hiker
37d81be033
Made the physics time step size configurable in the config file.
2018-02-10 17:55:45 +11:00
hiker
4f54fb7898
Avoid crash in history replay (dirty workaround),
2018-02-10 17:51:12 +11:00
hiker
52e9330212
Removed debug output.
2018-02-10 17:34:10 +11:00
Benau
3290321c5d
PlayerController can become EndController anytime
2018-02-09 18:00:19 +08:00
Benau
366313d29d
Avoid an unknown value from attachment rewind
2018-02-09 17:59:48 +08:00
hiker
434a9c5dcc
Fixed compiler warnings.
2018-02-09 16:14:38 +11:00
hiker
4d75042f3b
Fixed compiler warnings.
2018-02-09 16:12:44 +11:00
hiker
113e3c0c09
Merge branch 'game_protocol' of github.com:supertuxkart/stk-code into game_protocol
2018-02-09 16:09:39 +11:00
hiker
8eddff3e34
Merge branch 'speed-cap-to-physics' into game_protocol
2018-02-09 16:03:58 +11:00
hiker
b3243a3589
Merge branch 'speed-cap-to-physics'
2018-02-09 09:38:34 +11:00
hiker
6c0f97261a
Fixed missing startup boost, improved maths to only use
...
velocity in the current plane for boosting.
2018-02-09 09:15:23 +11:00
Deve
a18351c052
Some fixes for gamepad buttons
2018-02-08 22:34:53 +01:00
Benau
9a5ce54c4f
Merge remote-tracking branch 'origin/master' into game_protocol
2018-02-09 00:53:02 +08:00
Benau
7210992e3d
Prevent local player == 0 when in network mode
2018-02-09 00:49:55 +08:00
Benau
19c705f27c
Make wrong way message always centered, fix #3115
2018-02-08 13:15:22 +08:00
Deve
5e8343a068
Add basic gamepad support for android
2018-02-08 01:24:35 +01:00
Ben Krajancic
d96b6b92ce
Split screen regression fixes ( #3116 )
...
* Fix lapcount
* Fix selection box color
* Fix messages on screen
* Fix scaling
* Fix for icons
* Styling fixes
* fix style issue
* Fix calls
* Final call fix
2018-02-07 18:52:53 -05:00
Benau
0e5b7b532c
Further boost stk by writing 1 less framebuffer attachment
...
Now we can get determine the background color by depth, so
the alpha tricks in diffuse color fbo is not necessary
And using rgba8 to pack normal doesn't seem to cause visual glitches.
2018-02-07 12:49:45 +08:00
hiker
777435fb35
Merge branch 'master' of github.com:supertuxkart/stk-code
2018-02-07 09:58:22 +11:00
Deve
f101c9e366
Fixed android compilation
2018-02-06 23:17:34 +01:00
samuncle
704fe3e32a
Fix a bug in the emissive contribution. Now there is a bigger range of value for bloom
2018-02-06 23:15:21 +01:00
hiker
c37f2887c1
Fixed compiler warnings and coding style issues.
2018-02-07 08:54:15 +11:00
hiker
3788a3d90d
Merge remote-tracking branch 'origin/master' into speed-cap-to-physics
2018-02-07 08:36:48 +11:00
Deve
a755dae85f
One more fix for android tv
2018-02-06 22:35:46 +01:00
Deve
8fd52cd8e3
Fixed android compilation with different sdk version
2018-02-06 22:35:46 +01:00
hiker
a72ed7ef30
Merge branch 'master' of github.com:supertuxkart/stk-code
2018-02-07 08:34:51 +11:00
hiker
1f7350822c
Added buffer flushing if a history replay is aborted. Don't print
...
data to stdout when using buffering (since it slows down flushing).
2018-02-07 08:32:22 +11:00
hiker
5a07739786
Prevented a crash when aborting STK (audio thread is not shut down
...
in this case, but is getting deleted - but the audio thread might
still try to insert an update event during that time).
2018-02-07 08:22:19 +11:00
Ben Krajancic
0f3518e71b
Unlimited Split-Screen ( #3104 )
...
* Initial SplitScreen
All are upside down and player 1, 5 player does 6 even...
* Working version of splitscreen
* black screen fix
* te fix
* Update race_gui.cpp
* Change item
* wrong way fix and refactorings
* Fix icon scale, cleaning code for lap count
* Remove tabs
* Add settings option
* Fix FOV
Right now the FOV gradually decreases when going from 1,2,3,4 players. Then after 4 players it wont drop any lower. This behaviour can easily be replaced in the future
* Prevent overflow
* Unlimited splitscreen
* Space out duplicate skins across additional players
* Update stk_config.cpp
* Update irr_driver.cpp
* Update options_screen_ui.cpp
* Update irr_driver.cpp
* Update options_screen_ui.cpp
* Update race_gui.cpp
* Update irr_driver.cpp
* Fix for empty pixels at edges
* Fix referring to template not int
* Fix compile errors
* Progress towards fixing selection screen
* Begin process for selections
* Fix selection screen for >4 people
Important GUI changes included
* Disable changing rows/cols ingame
* fix sp related crash
* Styling fixes
2018-02-05 20:01:32 -05:00
hiker
2e3e594967
Merge remote-tracking branch 'origin/master' into speed-cap-to-physics
2018-02-06 11:27:02 +11:00
Ben Krajancic
0c171bfc8d
Better rescue ( #3106 )
...
* Half of the rescue animation is now placing the kart back down
* Bit of cleaning
* Single Camera Cut
* Update rescue_animation.hpp
* Update rescue_animation.cpp
* progress to fixes
* potential fix
* broken implementation
* Latest attempt
* Instant camera snap when placing the kart down
* style cleanups
* Fix BACKSLASH
HYEH
2018-02-05 19:04:00 -05:00
Deve
8742420c23
Allow to navigate with dpad
2018-02-05 22:54:50 +01:00
hiker
d5938a2447
Replaced old zipper handling in physics with minSpeed setting.
2018-02-06 08:51:17 +11:00
hiker
1c2fdc1c14
Fixed compiler warnings.
2018-02-06 08:29:18 +11:00
Deve
14c7d757ad
More work for android TV.
...
If you want to make better banner, then you are welcome!
2018-02-05 22:11:09 +01:00
hiker
884e966ab9
Added capability to handle setting the maximum speed first to 0, and then
...
later to a higher value (which happens in overworld, which sets max speed
to 0, but the value got later overwritten with the normal supertuxkart max_speed
handling.
2018-02-05 16:11:19 +11:00
hiker
baa0677b1a
Handle max- and min-speed capping in phyiscs (which is frame rate
...
independent).
2018-02-05 15:57:40 +11:00
hiker
55159fbdcd
Prevented a crash when aborting STK (audio thread is not shut down
...
in this case, but is getting deleted - but the audio thread might
still try to insert an update event during that time).
2018-02-05 09:39:40 +11:00
Deve
12723239a7
Use higher target sdk version for android.
...
It should help STK on Android TV and it still works for me on Android 4.4 under emulator.
2018-02-04 22:37:02 +01:00
Deve
ff884852d7
Don't hardcode stk data dir on android
2018-02-03 22:18:42 +01:00
Benau
01c2680f73
Fix runtime typo
2018-02-04 01:07:42 +08:00
Benau
ac8294abdb
Clean up debug visualization
...
Allow toggle (triangle) normal / (bi)tangent / wireframe separately
2018-02-03 13:14:15 +08:00
Benau
9d9502e99c
Move glBindVertexArray(0) to a better place for deferred enabled
2018-02-03 11:27:53 +08:00
Deve
48cde3e041
Try to create 32bit visual for gles if 24bit failed.
...
People need it for Odroid boards.
2018-02-02 22:15:31 +01:00
Benau
a2052b77b9
Remove unneeded flat out
...
We can share the same uniform name, esp flat out is not working
for my adreno 306 in android 5.0
2018-02-03 00:21:59 +08:00
Benau
e3483fccbe
Unroll the skinned mesh shader for loop
...
This give some fps improvement for adreno 306 in android 5.0
2018-02-02 21:59:13 +08:00
Benau
e4c827176a
Remove flat for hue_change
...
It causes bad rendering in adreno 306 in android 5.0
2018-02-02 21:17:24 +08:00
Benau
e81e16c6da
Fix possible vao crash
...
Some bindbuffer later will invalidate the previous bound vao
2018-02-02 13:41:11 +08:00
Benau
b26e62322f
Fix polycount without artist debug mode
2018-02-02 12:08:36 +08:00
hiker
c201483f5b
Merge branch 'master' of github.com:supertuxkart/stk-code
2018-02-02 13:09:15 +11:00
hiker
f29da60ac4
Coding style fixes.
2018-02-02 09:45:15 +11:00
hiker
59f28d3746
Fixed line ending style.
2018-02-02 09:16:34 +11:00
Deve
8771c77689
Allow to use dependencies for vs and mingw without changing the names every time.
...
Now there are:
- dependencies-vs
- dependencies-vs-64bit
- dependencies-mingw
- dependencies-mingw64
And if it's not found, then fallback to:
- dependencies
- dependencies-64bit
So that if you use only one compiler, then you can just still use "dependencies" or "dependencies-64bit".
And I didn't restrict it to WIN32 only, because in theory it should be possible to put there openglrecorder for linux build.
2018-02-01 21:36:28 +01:00
Benau
a137665916
Fix god rays in split screen
...
Also use rgba8 fbo for the glowing of sun
2018-02-01 15:39:06 +08:00
Benau
dbb82fea94
Clear default framebuffer when drawing from our rtt for first cam
...
Also remove unused IReferenceCounted in post processing
2018-02-01 13:46:42 +08:00
Benau
baff519a21
Use the correct vertex color for rubber band
2018-02-01 11:28:38 +08:00
Benau
e06fabde96
Clean up alpha test and unlit shader
...
Remove 1 wrong line in alpha test shader
2018-02-01 11:26:58 +08:00
Benau
4dd6f75998
Rename wrong profiler item
2018-01-31 10:31:25 +08:00
Deve
50ad5eed33
Try to fix VS build
2018-01-30 23:44:55 +01:00
Deve
4529189048
Upgrade enet
2018-01-30 23:10:30 +01:00
Deve
fc15a33a39
Add an option to use system enet.
...
Atm. use it only on linux, because there is no need to spam with cmake warnings on other platforms.
Also fallback to built-in enet if system enet is not found.
2018-01-30 22:57:40 +01:00
Igor Gnatenko
810df68f9c
Unbundle ENet
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com >
2018-01-30 22:29:38 +01:00
leper
47dc4bdbaa
Remove enet modifications. Fixes #21 .
2018-01-30 22:06:07 +01:00
Benau
154ad8d0db
Fix skybox blending with light scatter
2018-01-31 01:31:12 +08:00
Benau
af6b075450
Clear stencil buffer when possible
2018-01-30 14:49:26 +08:00
Benau
9399db6eba
Split glow to avoid re-bind color framebuffer
2018-01-30 14:25:50 +08:00
Benau
9e57bfb73f
Split point light scatter so it can be combined together
2018-01-30 13:42:50 +08:00
Deve
853084e75a
Fixed mingw compilation
2018-01-29 22:14:43 +01:00
Deve
3345fa6e51
Try to fix travis.
...
It reverts commit:
https://sourceforge.net/p/angelscript/code/2278/
It looks that it's impossible to detect "real" clang version using compiler definitions, so that we can't check if std::is_trivially_default_constructible is available.
I mean that clang 4.0 on my machine is "newer" than clang 5.0 on travis, because it tries to use gcc 4.8 headers:
/usr/lib/gcc/*x86_64-linux-gnu/4.8*/../../../../include/c++/4.8/type_traits:1211:12:
note: 'has_trivial_default_constructor' declared here
struct has_trivial_default_constructor
At this stage we can just disable AS_CAN_USE_CPP11 for clang. It was disabled for clang before our angelscript upgrade, so that it's not worse than before.
Note that I don't use clang and I don't really know what are our requirements (for example for Mac OS build). Feel free to revert it after travis upgrade.
2018-01-29 20:48:15 +01:00
Magne Djupvik
748a65c013
Made Old Mine Expert challenge a bit more challenging.
2018-01-29 18:51:43 +01:00
Magne Djupvik
6ac36f8117
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-01-29 16:53:26 +01:00
Magne Djupvik
b5d2ce4850
Added back 5 seconds to challenges after feedback.
2018-01-29 16:52:18 +01:00
Benau
9ebcdc5af3
Set DeviceManager assign more to ASSIGN in network kart selection
...
Because input manager use this to determine backspace functionality
(for rescue in game or leave a screen)
This will be reset to NO_ASSIGN when you go back to main menu screen
2018-01-29 14:50:29 +08:00
Qwerty Chouskie
89a8219ec9
Tweak particle emission rate
...
The boost-specific rate was never really noticeable anyways.
2018-01-28 13:36:45 -08:00
Deve
1979298b06
Use pkgconfig only on linux
2018-01-28 21:39:21 +01:00
Benau
f0c03b317e
Use std::make_tuple instead of list initialization
2018-01-29 00:08:28 +08:00
Magne Djupvik
ad2665c641
Made Northern Resort and Blackhill Mansion Expert challenges more difficult.
2018-01-28 15:17:27 +01:00
Benau
11f9b74e13
Don't use out variable in vertex shader
2018-01-28 15:28:20 +08:00
Benau
9737c2f950
Further clean up framebuffer
...
Avoid using hdr framebuffer in displace and glow
Also remove stencil test in mlaa (in the pass no stencil buffer
exists in FBO_MLAA* anyway)
2018-01-28 15:10:17 +08:00
Benau
ccc83a28f2
Clean up rtts and framebuffers
...
Use rgba framebuffer for tonemap and later, don't create
unnecessary rtts.
2018-01-28 14:07:03 +08:00
Ben Krajancic
f6f051e85b
Consistent split screen ( #3105 )
...
* Splitscreen positions are now consistent across rounds
* Fix tabs
* Remove unnecessary comments
2018-01-27 19:27:17 -05:00
Qwerty Chouskie
d4aa7b69ad
New skidding particle effect (and a small fix for the SFX)
...
The textures are here:
https://jacobspctuneup.tk/STK/skid-particle1.png
https://jacobspctuneup.tk/STK/skid-particle2.png
2018-01-26 14:41:41 -08:00
Deve
0003b39d31
Install appdata file in correct directory.
...
As reported on Debian:
https://lintian.debian.org/tags/appstream-metadata-in-legacy-location.html
2018-01-26 22:33:37 +01:00
Deve
8cd6f61e44
Restore information about license
2018-01-26 22:18:22 +01:00
Deve
0532a41ab3
Convert tabs to spaces
2018-01-26 22:03:04 +01:00
Deve
5aaf3a9c39
Comment out unused wayland code to avoid compilation errors with clang
2018-01-26 21:41:39 +01:00
Deve
4802c4d11c
Avoid cmake warning
2018-01-26 21:20:33 +01:00
Igor Gnatenko
aec7ca0ce9
libs: update angelscript to 2.32.0
...
Fixes: https://github.com/supertuxkart/stk-code/issues/2528
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com >
2018-01-26 21:19:01 +01:00
Sam
c4b42c1852
Add layer of abstraction to output pbrData
2018-01-26 20:16:16 +01:00
Sam
f5a0e6477e
put the correct convention
2018-01-26 11:10:16 +01:00
Sam
e75f1cb799
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-01-26 10:52:23 +01:00
Sam
a1c9ad107f
Add the possibility to disable an object for shadow pass
2018-01-26 10:51:42 +01:00
Benau
a10b62b894
Use SPTextureManager to get displace.png
...
This will allow using texture compression for it
2018-01-26 16:02:51 +08:00
Benau
97fd634ed8
Allow auto-add usable uniforms to shader
2018-01-26 16:02:31 +08:00
Benau
9e2d649b55
Warn for failed shader compile or link in GUI when artist debug mode
2018-01-26 16:02:00 +08:00
Deve
313661ad07
Merge pull request #3107 from andy5995/spelling
...
README.md:correct spelling of 2 words [skip ci]
2018-01-26 06:11:12 +01:00
andy5995
cf6b3a2640
README.md:correct spelling of 2 words [skip ci]
...
Corrections:
* Dependencies
* aforementioned
2018-01-25 21:04:58 -06:00
Deve
74af810d50
Fixed compilation error.
...
It was failing with "'this' was not captured for this lambda function"
2018-01-25 21:43:19 +01:00
Benau
9041649a39
Don't check for reference counting in shader mananger
...
It will not be 1 if there are fallback shaders
2018-01-25 15:51:28 +08:00
Benau
297c66bf04
Remove unused cpp and hpp files
2018-01-25 15:41:30 +08:00
Benau
2448b10cd4
Fix correct spelling of deferred
2018-01-25 15:38:10 +08:00
Benau
ff38cb6423
Clean up advanced pipeline off code
...
Don't use RTT at all in game when it's off
2018-01-25 15:36:34 +08:00
Sam
37a6f464b9
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-01-24 21:51:11 +01:00
Benau
5b4be274fb
Some more fallback for legacy pipeline
2018-01-25 01:51:10 +08:00
Benau
6bcee60a1c
Merge remote-tracking branch 'origin/master' into game_protocol
2018-01-24 10:20:06 +08:00
hiker
e9f9302c2f
Added simple script to extract only the data rendered on the client.
2018-01-24 12:38:54 +11:00
hiker
226ff0cea2
Added simple script to extract useful data from a client
...
and server run.
2018-01-24 12:38:26 +11:00
Deve
94c3efa8d3
Force legacy device for sandy bridge generation celeron graphics cards
2018-01-23 22:40:42 +01:00
hiker
ecbb1db2c9
Flush buffer in case of a disconnect, which allows the server to use
...
buffered logging, which will be written when the client disappears.
2018-01-24 08:39:10 +11:00
hiker
76354bb08c
Added description on how the main loop with regards to physics works.
2018-01-24 08:38:11 +11:00
Benau
d8511956f5
Only warn for possible undeleted opengl stuff when debug build
...
Happens when you press close button in stk window.
2018-01-23 16:18:48 +08:00
Benau
9ecf952057
Don't add instance data if missing shadow shader
2018-01-23 14:27:15 +08:00
Benau
40552b3fa0
Preload all visible spm (not including physics node) properly
...
Also change reset-button.spm to swatter_anim.spm, reset button
was replaced by thunderbird long time ago
2018-01-23 13:32:30 +08:00
Benau
95c12faa10
Use map for sorted name texture (easier for debug)
2018-01-23 11:55:54 +08:00
auria.mg
8c609c87d9
Fix compilation
2018-01-22 21:17:51 -05:00
Benau
dea6dc1f3f
Try to fix OSX build by using type index which is copy constructible
2018-01-23 09:53:23 +08:00
hiker
b4d9e03e5c
On GUI-less servers the frame rate can be <1ms. Previously the minimum
...
time-step size was 1 ms, which resulted in the world time advancing
faster than real time. This caused problems in the communication
and synchronisation with clients.
2018-01-23 08:30:23 +11:00
Benau
e5cdf3a086
Remove all unneed gamma correction when advanced pipeline off
...
Except for the colorization stuff
2018-01-23 01:16:45 +08:00
Benau
86393ba0a9
Use alphatest as a fallback shader for unlit
...
Adjust graph shader when advanced pipeline off, and no srgb prefilled
texture when advanced pipeline off
2018-01-22 13:27:21 +08:00
Benau
8fa5ad46c9
Use the original spm uv texture 1 and 2 for compare in scene manager
...
Because for splatting it will have some duplicated entries
Also remove never-working material code for splatting because of SP
2018-01-22 13:05:02 +08:00
Benau
45957af6f8
Remove !sRGB in shader which is always true now
...
Also don't use tonemap in RTT
2018-01-22 12:54:39 +08:00
Benau
4025883243
Use sampleTextureLayer in shader files
2018-01-22 10:43:22 +08:00
Benau
39f4f8e966
Allow tracks and library objects to use custom shader
2018-01-22 10:34:49 +08:00
Benau
0ed74ac3e9
Add the ability to auto discard unused texture layer based on the compiled shader
2018-01-22 09:55:17 +08:00
Benau
0aa61ec746
Header clean up
2018-01-22 01:11:53 +08:00
Benau
9aae773e91
Use absolute path when caching
2018-01-22 01:09:58 +08:00
Benau
c85425c473
Only try to clean stuff if kart model is unique
2018-01-22 00:13:27 +08:00
Benau
f8c6de316a
Allow karts to have custom shader
...
Also implement proper cleaning for textures (mainly addons)
2018-01-21 16:31:49 +08:00
Benau
a39977d550
Use shared_ptr SPShader in mesh buffer
2018-01-21 15:35:38 +08:00
Benau
390554eca1
Add xml shader and the loader
2018-01-21 13:19:00 +08:00
Benau
b199b81427
Add the code required for reloading sp shader on the fly
2018-01-19 20:47:30 +08:00
Benau
0f95d36dbc
Add proper sharing and deletion of shader files
2018-01-19 14:41:33 +08:00
auria.mg
105935c645
Merge branch 'Fix3099'
2018-01-18 18:32:27 -05:00
auria.mg
8380e93e8d
FIx overflow
2018-01-18 18:02:26 -05:00
Benau
18fd12652d
Fix server build
2018-01-18 16:18:19 +08:00
Benau
5b440ae04b
Don't abuse the use of std::shared_ptr for moving texture
2018-01-18 13:49:35 +08:00
Benau
8a5994b9e3
Don't crash if missing texture image
2018-01-18 12:45:04 +08:00
Benau
0d74b1739b
Allow mesh textures to be reloaded
2018-01-18 12:35:41 +08:00
Benau
281b30dd5d
Fix invalid graph node sometimes detected
2018-01-17 13:52:40 +08:00
Deve
2516de8231
Disable npot textures on android emulator
2018-01-16 23:06:27 +01:00
Deve
458ffd4617
Allow to force pot textures in graphical restrictions
2018-01-16 22:50:18 +01:00
Benau
c3d0db9856
Use normalized short for animated texture update
...
It should allow to have the maximum possible smooth animation
texture_trans_x,y is fmoded so it's guaranteed to be -1.0 to 1.0
2018-01-17 01:05:47 +08:00
Benau
7aaac81d0a
Disable backface culling for transparent material for legacy pipeline
2018-01-16 14:29:45 +08:00
auria.mg
10831b210e
Improve fix for #3099
2018-01-15 20:58:05 -05:00
auria.mg
1d9d628855
Try to fix #3099
2018-01-15 20:52:53 -05:00
Deve
effa23d952
Some minor fixes in linux device
2018-01-15 23:15:27 +01:00
hiker
a34b014fb5
Assign events to closest time step.
2018-01-16 08:53:45 +11:00
hiker
8d7ff2a948
Store event time explicitly, which makes network replay much easier.
...
Simplified update updateReplayAndGetDT function.
2018-01-16 08:43:59 +11:00
Benau
a37b60ac6e
Only add RenderInfo if the material has a list of random color
2018-01-15 15:43:50 +08:00
Benau
cbd7b3fd84
Add some fallback for legacy pipeline for SP
2018-01-15 13:46:37 +08:00
Benau
a3a00f70f8
Remove unused entries in materials and fog settings
2018-01-15 13:23:21 +08:00
Benau
681ef66d8d
Rename _nm to _Normal for normal map textures
2018-01-15 12:37:57 +08:00
Benau
9c2f91c11b
Don't crash for wip-tracks / karts (wrong shader name or incomplete terrain)
2018-01-15 11:07:58 +08:00
Sam
97053b9405
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-01-14 16:15:04 +01:00
Sam
6abd79dde6
Add the world position in default information avaliable to shaders
2018-01-14 10:39:16 +01:00
Benau
813b08bc73
Fix #3091
2018-01-14 10:19:37 +08:00
Deve
8698705468
Fixed android compilation
2018-01-14 00:14:31 +01:00
Benau
d0fb0500eb
Update to opengl 3.3 for SP
2018-01-14 01:28:30 +08:00
Benau
59045cd064
Merge remote-tracking branch 'origin/master'
2018-01-13 15:44:57 +08:00
Benau
4194977df5
Fix shadow visualization
2018-01-13 15:38:52 +08:00
Benau
9e90bd251d
Use hardware skinning GR in sp_mesh_node
2018-01-13 15:16:16 +08:00
Benau
24308ced03
Remove features in SP that give no performance boost at all
...
gl_Layer in vertex shader, bindless and array textures
2018-01-13 14:49:33 +08:00
Benau
503455d02f
Simplify instruction
2018-01-13 13:48:51 +08:00
Benau
7902e2ad06
Fix focusing of kart color slider dialog
2018-01-13 11:58:32 +08:00
Benau
c4f589fee7
Use the low quality for libsquish again
2018-01-13 11:55:57 +08:00
Deve
24772eb9d7
GLEW_ERROR_NO_GLX_DISPLAY needs glew 2.1
2018-01-13 00:41:53 +01:00
Deve
e46a18ab61
Merge pull request #3060 from akien-mga/update-glew
...
GLEW: Update to pristine upstream 2.1.0
2018-01-13 00:22:18 +01:00
Deve
84459c6086
Merge pull request #3059 from akien-mga/unbundle-glew2
...
CMake: Add option to use system GLEW 2.0+
2018-01-13 00:20:11 +01:00
Deve
3f604f3adf
Merge branch 'master' into unbundle-glew2
2018-01-13 00:19:30 +01:00
Deve
226c2bbed5
Merge branch 'master' into unbundle-glew2
2018-01-13 00:13:45 +01:00
Deve
2f7d7b677d
Don't fail to start if glx display in glew is not available.
...
It should be safe, because we check if display is available in irrlicht device anyway.
2018-01-13 00:06:37 +01:00
Deve
f220bb14f4
More improvements in wayland device
2018-01-12 22:31:21 +01:00
Benau
bb0cf72635
Add required code and color selector for rainbow karts
2018-01-13 00:38:46 +08:00
Benau
68e8da2353
Remove all unused shaders
2018-01-12 19:10:55 +08:00
Benau
b1f1afb9c5
Use SSE2 in windows build for faster libsquish
2018-01-12 17:47:18 +08:00
Benau
e5fff9e65a
Reallocate the vertices vector for dynamic draw call when resize
2018-01-12 17:18:49 +08:00
Benau
feb1667acc
Precompute srgb to linear values to array
2018-01-12 13:58:49 +08:00
Benau
6071d2f983
Remove all unused / unstable opengl-related code
2018-01-12 13:04:40 +08:00
Benau
9ccb34c2a1
Adjust graphics presets for SP
2018-01-12 12:03:31 +08:00
Deve
6f4c1f41da
More work with xdg shell
2018-01-11 19:03:01 +01:00
Benau
7f3722d90b
Make supports SP checking global
2018-01-12 01:28:13 +08:00
Benau
4252895d8b
Remove old unused glsl code
2018-01-12 01:18:07 +08:00
Qwerty Chouskie
6aefa2542b
Reduce number of places version number needs to be changed on release
2018-01-11 08:56:23 -08:00
Benau
49568f3fd9
Auto fallback to legacy pipeline if not supports all functions required by SP
2018-01-11 15:55:53 +08:00
Benau
26a481e478
Allow using system libsquish
2018-01-11 14:40:33 +08:00
Benau
7859a00967
Remove unused mesh code
2018-01-11 13:38:08 +08:00
Benau
68ceceb6e3
Remove unused texture code
2018-01-11 12:47:02 +08:00
Benau
3374ec66e3
Better memory management for vertex buffers
2018-01-11 11:30:55 +08:00
auria.mg
de8298f734
Try to fix #3089
2018-01-10 18:48:18 -05:00
hiker
7b21bb16e6
Remove debug output.
2018-01-11 08:21:40 +11:00
Deve
55ea7625b3
Create xkb context before registry listener is created
2018-01-10 22:05:27 +01:00
hiker
7fd0754bfe
Improve script to handle any dimensional data (e.g. scalars as well).
2018-01-11 07:59:18 +11:00
Deve
4f9b46b20c
More work with xdg_shell
2018-01-10 21:31:54 +01:00
hiker
f6abdefe05
Removed debug output.
2018-01-10 18:37:56 +11:00
hiker
4c6a226968
Fixed index for steering events - physical replays now appear to be identical
...
to the original recording.
2018-01-10 18:37:12 +11:00
hiker
f5af65f4ef
Increased precision of written time step sizes, since otherwise
...
the floating point differences will cause a different number of
physics time steps to be taken (which causes replay differences).
2018-01-10 18:10:39 +11:00
Benau
4823c46ad9
Preload the container id of materials
2018-01-10 13:10:12 +08:00
Benau
f4fb2cb41c
Fix no graphics and server only run
2018-01-10 11:35:02 +08:00
Deve
74b071494c
Some work on xdg shell support
2018-01-09 23:41:34 +01:00
Deve
62fe84ecc7
Fixed server-only build
2018-01-09 20:35:33 +01:00
Deve
b17920cf4c
Use server-side decorations for KDE wayland for now
2018-01-08 23:08:23 +01:00
hiker
bb9f2c6385
Fixed loop structure (which only worked with a single kart *blush*).
2018-01-09 08:00:17 +11:00
hiker
f242120cd1
Fixed difference from one replay to the next (caused by returning the
...
actual measured DT in certain cases instead of the recorded one).
2018-01-09 07:56:10 +11:00
Deve
f7654d3867
Fixed a crash with disabled repeating keys on wayland
2018-01-08 21:12:50 +01:00
Benau
54c7914cb5
Update graphical restrictions
...
Mesa 17.4 will use the correct normalization forumla
Disable GLSL on intel HD2000 / HD3000 due to broken opengl 3.3 support
2018-01-08 15:55:28 +08:00
Benau
57fad498f8
Fix traffic light when changing resolution
2018-01-08 14:31:47 +08:00
Benau
1604ca1daa
Use 2018 header for SP
2018-01-08 09:31:15 +08:00
Benau
aa9dce1672
Add texture compression cache
2018-01-08 09:28:11 +08:00
auria.mg
e3f3f7d291
Fix compilation on travis
2018-01-07 19:33:05 -05:00
auria.mg
6a21ca75fb
Improve text legibility
2018-01-07 19:09:42 -05:00
auria.mg
196117c41e
Bugfix when loading saved GP, but the GP has changed
2018-01-07 18:47:16 -05:00
auria.mg
3c591bcf39
Tweak text color to improve legibility
2018-01-07 18:47:01 -05:00
auria.mg
246d010895
Fix compilation
2018-01-07 18:31:37 -05:00
Deve
5af835505c
Don't send too many useless events on touch move
2018-01-07 23:49:39 +01:00
Deve
51e1153cc9
Fixed unsafe printf
2018-01-07 21:33:43 +01:00
Deve
88897cae1d
Enable wayland for testing.
...
It's not 100% ready yet, but some testing won't hurt.
It's possible to switch between wayland/x11 using
export IRR_DEVICE_TYPE=x11
or
export IRR_DEVICE_TYPE=wayland
so that x11 device can be forced in wayland session.
2018-01-07 21:23:21 +01:00
Deve
92f7caf696
Fixed cygwin warning
2018-01-07 21:15:08 +01:00
Deve
9afbf9a772
Don't return fatal error if wayland libraries are not found
2018-01-07 21:11:37 +01:00
Benau
76788d7dd8
Fix GLES
2018-01-07 15:44:57 +08:00
Benau
262337bc13
Fix some leaking when switching resolution
2018-01-07 14:58:32 +08:00
Deve
6ce1573cfd
Some cleanup
2018-01-07 02:22:58 +01:00
Deve
b0afa6ab3d
Add srgb attrib in egl only if requested
2018-01-07 02:22:58 +01:00
Deve
f6111d04fd
Use explicit display type in egl if possible.
2018-01-07 02:22:58 +01:00
Benau
157faaf616
Fix tracks with no skybox
2018-01-06 15:35:35 +08:00
Benau
0633099662
Add a quick fallback tangent computation
2018-01-06 12:47:22 +08:00
Benau
5293a0dbef
Add b3d loader for SP
2018-01-06 12:07:22 +08:00
Corentin Pazdera
201f8eca59
Add a github issue template to the project ( #3071 )
2018-01-05 20:10:16 -05:00
Benau
a06d9e858b
Add some fallback
2018-01-05 23:46:23 +08:00
Benau
e1c7efd68c
Add sam's formula for pbr
2018-01-05 16:45:33 +08:00
Benau
294f0d79d1
Port feature unlocked to use SP
2018-01-05 01:06:58 +08:00
Benau
60b173559a
Disable cull face after drawing mesh (for gui)
2018-01-04 14:39:32 +08:00
hiker
8e8567f6ee
In case of networking there might be no history frame for a given time -
...
restructure loop so that it is not always executed at least once in
networking, but is done once in case of history replay.
2018-01-04 09:02:03 +11:00
hiker
547e59e866
Avoid storing history information during a rewind.
2018-01-04 09:01:24 +11:00
hiker
cdf3dd8062
Prevented a crash when aborting STK (audio thread is not shut down
...
in this case, but is getting deleted - but the audio thread might
still try to insert an update event during that time).
2018-01-04 08:58:37 +11:00
hiker
8a25effa5c
While it does not make a difference in this case, it should be &&, not &.
2018-01-03 22:03:33 +11:00
hiker
92426606c0
Fixed profiler in case that rendering is not done from main thread.
2018-01-03 21:48:52 +11:00
Benau
d24796aa6f
Use win / lose animation in grand prix result screen
2018-01-03 16:33:55 +08:00
Benau
511c8e316b
Make skidding show curve compile
2018-01-03 15:35:25 +08:00
Benau
1de1cdf530
Port line debug to SP, removing all unicolor code too
2018-01-03 15:28:29 +08:00
Benau
2eabf87ffe
Remove stk_mesh*
2018-01-03 14:40:34 +08:00
Benau
345f2bc64b
Port god ray to use SP
2018-01-03 14:29:20 +08:00
hiker
373ec0f242
Made the history files use events for players (will break physics replay
...
for AIs for now). Useful for network debugging.
2018-01-03 16:29:35 +11:00
Benau
1400257a60
Port debug sphere to SP
2018-01-03 13:29:19 +08:00
Benau
df6fbc455b
Port show curve to SP
2018-01-03 12:46:35 +08:00
Benau
938e6629fc
Add a dummy normal for rubber band
2018-01-02 12:48:00 +08:00
Benau
d34277c35f
Hide shadow when kart eliminated
2018-01-02 12:47:42 +08:00
Benau
3a24d0ed1f
Port slipstream to SP
2018-01-02 12:19:36 +08:00
Benau
17c337284e
Make SPMeshBuffer uniform-assignable (for slipstream)
2018-01-01 14:24:11 +08:00
Benau
0da5922722
Use upper kart position to fix culling for rubber band
2018-01-01 12:27:44 +08:00
Benau
1400542194
Make dynamic draw call update independent of culling result
2018-01-01 11:00:45 +08:00
hiker
28bc8c8e8f
Merge branch 'master' of github.com:supertuxkart/stk-code
2018-01-01 00:36:24 +11:00
Benau
9f8475bda1
Fix fading
2017-12-31 12:57:28 +08:00
Benau
2bde6d1325
Use shared_ptr for dynamic draw call
2017-12-31 12:15:55 +08:00
Benau
c8aea0bf9e
Add bounding boxes visualization for SP
2017-12-31 10:34:55 +08:00
Benau
cce8abe6f3
Port billboard text
2017-12-30 15:28:04 +08:00
Benau
ec59e3f573
Don't delete vao each frame when update vertex buffer
2017-12-29 23:42:45 +08:00
Benau
63267391ef
BufferData with new size vector
2017-12-29 23:26:50 +08:00
Benau
8a93b07c5e
Don't clean the current skidmarking
2017-12-29 23:26:29 +08:00
Benau
8919f42894
Use dynamic draw call for rubber band
2017-12-29 19:41:17 +08:00
Benau
d71ea71e35
Remove some ifdef
2017-12-29 18:10:51 +08:00
Benau
711fb8211a
Add samuncle way to sample texture slot
2017-12-29 15:39:22 +08:00
Benau
4ad7934a85
Clean sp framebuffer individually
2017-12-29 14:50:15 +08:00
Benau
1e0b611c7d
Draw kart shadow with dynamic draw call
2017-12-29 01:36:36 +08:00
Benau
f040be710e
Fix normal visualizer
2017-12-29 00:52:29 +08:00
Benau
590850eacf
Add dynamic draw call for skidmarks
2017-12-28 16:14:09 +08:00
Ben Krajancic
7c10a5559d
Ghost replay selection fix ( #3081 )
...
* Label unknown replay makers as "Unknown"
* Language neutral result
2017-12-27 21:08:34 -05:00
Benau
52b19dd83a
Use glVertexAttrib only in debug view
2017-12-27 13:50:17 +08:00
Benau
62e0effed6
Rename input variables
2017-12-27 12:31:21 +08:00
Benau
dbc3cd5ff5
Normalize in shader for broken drivers
2017-12-27 11:33:30 +08:00
Benau
891b053358
Add more functions to normal visualizer
2017-12-27 01:33:21 +08:00
Benau
ce45605c18
Use half float for texture matrix
2017-12-26 15:28:01 +08:00
Benau
daf1294e6f
Add minimap and adjust unlit shader for it
2017-12-26 14:34:34 +08:00
Deve
87d43063ed
Assume that "HandleSRGB == false" means "don't care".
...
It solves the issue with nvidia when HandleSRGB is set to false.
2017-12-25 23:59:49 +01:00
Benau
7797115867
Add SP for correct normal and easier shader system
2017-12-25 14:00:10 +08:00
Ben Krajancic
c35599f3e2
Flashing bubble gum ( #3080 )
...
* Initial Implementation
* Name values to give meaning
2017-12-22 19:06:24 -05:00
Deve
31f8b7ec35
Allow to install debug version without uninstalling release version on android
2017-12-22 21:51:41 +01:00
Deve
6f6ac84495
Fixed android compilation
2017-12-22 21:02:37 +01:00
hiker
c1a3d281f6
Merge remote-tracking branch 'origin/master' into game_protocol
2017-12-19 11:57:31 +11:00
hiker
9addcc4a55
Fixed handling of steering etc events: they are now properly
...
done at the closest time stamp, previously they were typically
exectuted too early on the server.
2017-12-19 11:14:33 +11:00
hiker
4d02e736f7
Started to add smoothing of errors - atm only for position, not angle.
2017-12-18 23:13:59 +11:00
hiker
51fd0c1e8e
Don't limit number of physics steps in networking, since otherwise
...
physics results can diverge.
2017-12-18 23:08:40 +11:00
Deve
2b8737a75b
Remove known issues from android readme.
...
We can use github issues for it.
2017-12-12 23:07:01 +01:00
hiker
f0d07a2de4
Execute rollback detection only on client; added comments
...
for potential future improvements.
2017-12-11 18:01:33 +11:00
Benau
a55e7d204a
Fix wrong newline in linux terminal
2017-12-11 11:00:06 +08:00
Benau
dc562103c5
Remove wrong commit
2017-12-10 00:12:35 +08:00
Benau
f70af4677c
Add direct conversion to map for xml nodes
2017-12-09 16:06:43 +08:00
hiker
2f747cf614
Remove REQUIRED_LOGIN #ifdef which is not needed anymore with the new menu.
2017-12-09 00:57:08 +11:00
hiker
825deed8dd
Merge remote-tracking branch 'origin/master' into game_protocol
...
Fixed various conflicts.
2017-12-09 00:56:30 +11:00
hiker
eea6196231
Merge branch 'buffer-log-messages'
2017-12-07 09:43:56 +11:00
hiker
ebcab8d4e0
Fixed compiler warning.
2017-12-07 09:43:27 +11:00
hiker
5b296b08f9
Merge remote-tracking branch 'origin/master'
2017-12-07 09:43:09 +11:00
hiker
2810d2ad7d
Merge remote-tracking branch 'origin/master' into buffer-log-messages
2017-12-07 09:39:29 +11:00
hiker
55d0df7bad
Added option to buffer log messages (which can reduce debug output
...
overhead).
2017-12-04 11:32:09 +11:00
auria.mg
1afb62c97d
Bring back the ability to skip the unlock cutscense, fixes #3069
2017-12-03 18:44:50 -05:00
Benau
d9937d7b33
Fix physical object from meta library
2017-12-03 23:58:17 +08:00
hiker
7744b056ea
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-12-04 00:41:28 +11:00
Benau
7ab8477a53
Reserve onReset of scripting method for library nodes (unused atm)
2017-12-02 15:24:36 +08:00
Benau
3607c7d520
Adjust irrlicht CSkinnedMesh class for .spm
...
The last frame in .spm is usable
2017-12-02 15:24:05 +08:00
Benau
2161efd9c4
Allow configure animation set through scripting
2017-12-02 02:36:43 +08:00
Benau
60a3890c78
Add support for meta library objects
2017-12-01 13:59:00 +08:00
hiker
3093803762
Add support for a 'prefix' to be printed for all log messages.
2017-11-30 17:49:45 +11:00
hiker
4f5b4aed0b
Change the bld directories to be looked for to all include -64; changed
...
name of installer and only include 64-bit redistributable.
2017-11-30 17:48:34 +11:00
hiker
ae57be8f3b
Changed version number to be git, added 32bit to installer name, and only include
...
the 32 bit redistributable.
2017-11-30 17:47:24 +11:00
hiker
efde9ac501
If more than one state arrived in one timestep for a client, rewind
...
to the latest one (not the earliest).
2017-11-28 17:26:00 +11:00
auria.mg
48aded5f6d
Login screen : proper post-login redirection
2017-11-27 18:07:42 -05:00
auria.mg
579a4aa3cc
Improve the way to enable/disable the networking menu, use the --online switch that previously existed
2017-11-26 21:54:48 -05:00
auria.mg
4f528c258d
Disable new networking menus, will be enabled back in the networking branch
2017-11-26 21:48:45 -05:00
hiker
0b6e793df6
Script to print the per-timestep interpolated error plus maximum
...
and average error when comparing client and server debug output.
2017-11-27 08:32:44 +11:00
auria.mg
d92476ae70
First implementation prototype of the new netwoking UI, as discussed.
2017-11-25 18:51:49 -05:00
hiker
b08e2f56e1
Make the number of state updated the server sends configurable.
2017-11-24 18:33:26 +11:00
hiker
37ee602f28
Added state type to debug output.
2017-11-24 18:15:39 +11:00
hiker
7508b5db8b
Fixed index in debug output and compiler warning.
2017-11-24 18:10:55 +11:00
Rémi Verschelde
2a093cde0a
GLEW: Update to pristine upstream 2.1.0
...
Previous version was a modified GLEW 1.11.0 (2014). The STK modifications meant
to address https://sourceforge.net/p/glew/patches/40/ which is now fixed since
GLEW 2.0.0.
Here's the diff between pristine 1.11.0 and STK's version before this patch:
```diff
diff --git a/lib/glew/src/glew.c b/lib/glew/src/glew.c
index a78f14e1e..f8df0d758 100644
--- a/lib/glew/src/glew.c
+++ b/lib/glew/src/glew.c
@@ -296,30 +296,6 @@ static GLboolean _glewStrSame3 (GLubyte** a, GLuint* na, const GLubyte* b, GLuin
return GL_FALSE;
}
-#include <string.h>
-#include <stdlib.h>
-
-/* A simple open addressing hashset for extensions on OpenGL 3+. */
-static const char ** ext_hashset = NULL;
-size_t ext_hashset_size = 0;
-
-static unsigned hash_string(const char * key)
-{
- unsigned hash = 0;
- unsigned i = 0;
- for (; i < strlen(key); ++i)
- {
- hash += key[i];
- hash += (hash << 10);
- hash ^= (hash >> 6);
- }
- hash += (hash << 3);
- hash ^= (hash >> 11);
- hash += (hash << 15);
-
- return hash;
-}
-
/*
* Search for name in the extensions string. Use of strstr()
* is not sufficient because extension names can be prefixes of
@@ -328,37 +304,14 @@ static unsigned hash_string(const char * key)
*/
static GLboolean _glewSearchExtension (const char* name, const GLubyte *start, const GLubyte *end)
{
- if (ext_hashset != NULL)
+ const GLubyte* p;
+ GLuint len = _glewStrLen((const GLubyte*)name);
+ p = start;
+ while (p < end)
{
- unsigned hash = hash_string(name);
-
- /*
- * As the hashset is bigger than the number of extensions
- * this will eventually break.
- */
- while(1)
- {
- unsigned index = hash % ext_hashset_size;
- if (ext_hashset[index] == NULL)
- break;
-
- if (!strcmp(ext_hashset[index], name))
- return GL_TRUE;
-
- hash++;
- }
- }
- else
- {
- const GLubyte* p;
- GLuint len = _glewStrLen((const GLubyte*)name);
- p = start;
- while (p < end)
- {
- GLuint n = _glewStrCLen(p, ' ');
- if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE;
- p += n+1;
- }
+ GLuint n = _glewStrCLen(p, ' ');
+ if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE;
+ p += n+1;
}
return GL_FALSE;
}
@@ -10099,13 +10052,9 @@ static GLboolean _glewInit_GL_WIN_swap_hint (GLEW_CONTEXT_ARG_DEF_INIT)
/* ------------------------------------------------------------------------- */
GLboolean GLEWAPIENTRY glewGetExtension (const char* name)
-{
+{
const GLubyte* start;
const GLubyte* end;
-
- if (ext_hashset != NULL)
- return _glewSearchExtension(name, NULL, NULL);
-
start = (const GLubyte*)glGetString(GL_EXTENSIONS);
if (start == 0)
return GL_FALSE;
@@ -10165,39 +10114,9 @@ GLenum GLEWAPIENTRY glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST)
GLEW_VERSION_1_2 = GLEW_VERSION_1_2_1 == GL_TRUE || ( major == 1 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
GLEW_VERSION_1_1 = GLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
}
-
- if (major >= 3) /* glGetString method is deprecated */
- {
- GLint n, i;
- glGetIntegerv(GL_NUM_EXTENSIONS, &n);
- glGetStringi = (PFNGLGETSTRINGIPROC)glewGetProcAddress((const GLubyte*)"glGetStringi");
-
- free(ext_hashset); /* In case we get called a second time. */
-
- ext_hashset_size = (n * 3) / 2;
- ext_hashset = calloc(ext_hashset_size, sizeof(const char *));
- for (i = 0; i < n; ++i)
- {
- const char * extension;
- unsigned hash;
-
- extension = (const char *)glGetStringi(GL_EXTENSIONS, i);
- hash = hash_string(extension);
-
- while(ext_hashset[hash % ext_hashset_size] != NULL)
- hash++;
-
- ext_hashset[hash % ext_hashset_size] = extension;
- }
-
- extStart = 0;
- }
- else
- {
- /* query opengl extensions string */
- extStart = glGetString(GL_EXTENSIONS);
- }
+ /* query opengl extensions string */
+ extStart = glGetString(GL_EXTENSIONS);
if (extStart == 0)
extStart = (const GLubyte*)"";
extEnd = extStart + _glewStrLen(extStart);
@@ -14064,9 +13983,6 @@ GLenum glxewContextInit (GLXEW_CONTEXT_ARG_DEF_LIST)
GLXEW_VERSION_1_2 = GL_TRUE;
GLXEW_VERSION_1_3 = GL_TRUE;
GLXEW_VERSION_1_4 = GL_TRUE;
- /* Check if GLX display is available */
- if (glXGetCurrentDisplay == NULL || glXGetCurrentDisplay() == NULL)
- return GLEW_OK;
/* query GLX version */
glXQueryVersion(glXGetCurrentDisplay(), &major, &minor);
if (major == 1 && minor <= 3)
```
2017-11-22 12:04:46 +01:00
Rémi Verschelde
e3264d1de3
CMake: Add option to use system GLEW 2.0+
...
The option is enabled by default, but the system version will only be used
if found and newer than 2.0.0 (to ensure that https://sourceforge.net/p/glew/patches/40/
is fixed). When missing, we silently fallback to the vendored source code,
so there is no change for e.g. Windows compilation.
2017-11-22 11:54:38 +01:00
auria.mg
c59af9136c
Merge branch 'KartPerGamemode'
...
# Conflicts:
# src/states_screens/gp_info_screen.cpp
2017-11-21 19:20:49 -05:00
hiker
9b4f773703
Avoid rewinds on the server (which would create a big chaos since state
...
updated would be duplicated etc). Instead it will move 'past' events
to the current time, causing only a 'jump' in the one client causing
the event (instead of all).
2017-11-22 10:28:52 +11:00
hiker
40bdb4d777
Added #define to disable the online login for now. Makes it easier
...
to start and debug LAN play.
2017-11-21 18:15:03 +11:00
Deve
4d4c514c75
Corrrect gp info screen to keep consistency with track info screen.
...
Now num karts config param is updated only if spinner button or start button has been pressed.
2017-11-15 22:11:21 +01:00
hiker
afac848bb9
Updated documentation.
2017-11-15 16:36:21 +11:00
hiker
f38f30a75c
Merge branch 'master' into game_protocol
2017-11-15 08:12:38 +11:00
hiker
f783be4d75
Updates translations with 0.9.3 version from transifex (no author credits updated).
2017-11-15 08:11:51 +11:00
hiker
28cd15cf84
Changed installer version to git.
2017-11-14 22:43:37 +11:00
hiker
76ceea5b0f
Added Benau's 64-bit installer.
2017-11-14 22:23:23 +11:00
hiker
e6897c47a0
Merge pull request #2968 from leyyin/master
...
Improve windows installer script
2017-11-14 21:55:23 +11:00
hiker
5ad0e5b93d
Updated x86 redistributable to 2017 version.
2017-11-14 21:46:40 +11:00
hiker
84ccf82173
Updated script to handle existing entries without duplicating authors
...
(or even worse msgids for translator credits).
2017-11-14 17:55:07 +11:00
Deve
20ffc3a693
Avoid a crash in ghost replay screen.
...
It was crashing when add-on track was uninstalled.
It only avoids a crash and it's not true fix, because replays list should be updated when add-ons have been installed/uninstalled.
2017-11-13 22:35:18 +01:00
hiker
5b9dc6895d
Fixed server-only execution.
2017-11-13 12:48:03 +11:00
Deve
a67be44422
Allow to compile STKRelease build with debug symbols.
...
It may be useful for decoding backtraces from our linux static package.
2017-11-12 23:59:12 +01:00
auria.mg
b95e0a3373
Fix #2990
2017-11-11 18:15:55 -05:00
Deve
252403c9cc
Avoid semi-transparent window on some compositors
2017-11-10 22:48:48 +01:00
hiker
4fced331fe
Merge remote-tracking branch 'origin/master' into game_protocol
2017-11-10 16:08:03 +11:00
Deve
468c24acd3
Avoid negative AI karts number in follow the leader
2017-11-09 23:38:53 +01:00
Deve
165b2fea9c
Avoid running follow the leader GP with 0 AIs
2017-11-09 23:23:05 +01:00
Benau
51a16b938f
Read only 4 bytes for tangent (unused atm), remember update stk-assets
2017-11-09 12:16:30 +08:00
Ben Krajancic
53827cbe21
Fixing selection issue on end-race screen ( #3008 )
...
* Small clarification to prevent build errors
Building outside of this directory prevents the executable from launching, this small addition can help prevent this issue from happening.
* Initial Commit
* Code cleanup
* Fix compile error
* Fix incorrect comparison
* Fix focusing erorr twice over
It may be worth making 'setfocusable' part of setvisible
2017-11-08 19:11:29 -05:00
Deve
28f81b2a85
Allow to move installed apk to sdcard
2017-11-08 22:06:58 +01:00
Deve
3baefcd6a7
Initialize FeatureAvailable array to false for legacy pipeline.
...
It has been broken in commit 271a26eaf0 .
It solves some issues with etnaviv gallium driver. It may also solve a crash on old intel 965gm on windows, but I can't test it atm.
2017-11-07 22:54:36 +01:00
hiker
beca172af3
Fixed server-only execution.
2017-11-08 01:25:25 +11:00
Benau
046403e1df
Expose race mode for scripting
2017-11-06 15:15:44 +08:00
LeMagnesium
237927e3e5
Mark "fortmagma" as locked until the door can open ( #3015 )
...
Keep the "fortmagma" challenge marked as locked on the GUI minimap even if enough points (180+) have been gathered to unlocked it, when the door is not open yet
2017-11-05 18:33:56 -05:00
auria.mg
158d83057c
Fix FTL reset bug, fixes #3019
2017-11-05 18:22:27 -05:00
Deve
08be02af8f
Fixed 64-bit dependencies.
...
Thanks to qwertychouskie for finding it.
2017-11-05 21:54:43 +01:00
hiker
54b32ba6b1
Merge branch 'master' into game_protocol
2017-11-05 13:03:15 +11:00
Deve
2e96a29977
Ignore some configuration changes that don't matter for us.
...
The "orientation" without "screenSize" was a clear bug. And now connecting external keyboard doesn't close STK for me anymore.
2017-11-04 22:08:42 +01:00
Benau
69c86930e8
Don't raycast driveable objects that are not enabled
2017-11-05 01:32:41 +08:00
Benau
8ba0fd3569
Allow exact shape to be used with tangents mesh
2017-11-05 00:55:26 +08:00
Benau
628bc7ce50
Allow light to be disabled by scripting
2017-11-04 14:01:47 +08:00
Deve
cc970c01a5
Merge pull request #3011 from qwertychouskie/patch-3
...
Prevent upgrades to 0.9.3 causing all particles to be disabled
2017-11-04 00:00:46 +01:00
Benau
fc23874991
Clarify running commands location
2017-11-03 21:16:16 +08:00
Benau
7b6b211bde
Merge pull request #3014 from urtzai/patch-3
...
All language names capitalized
2017-11-03 21:09:19 +08:00
Urtzi Odriozola
80efc29e69
All languages capitalized
...
In order to keep a correct order in a language selection menu, the language names need to be capitalized
2017-11-03 14:00:34 +01:00
Benau
fa6959251a
Fix #2949
...
Use clamp to edge sampler
2017-11-03 20:28:15 +08:00
Benau
260729a8e2
Merge pull request #3012 from urtzai/patch-1
...
Basque language name capitalized
2017-11-03 17:02:48 +08:00
Urtzi Odriozola
cb4ef7a68d
Update localized_name.txt
2017-11-03 09:32:52 +01:00
QwertyChouskie
b13a502f50
Prevent upgrades to 0.9.3 causing all particles to be disabled
...
Older version's "false" in the config file translates to "0", which disables all particles in 0.9.3. Mitigate this by renaming the variable.
See https://forum.freegamedev.net/viewtopic.php?f=17&t=7662&sid=71b18d47f0b9d436d4bd17c2da8cbb86#p74823 for an example of this causing confusion.
2017-11-02 18:49:57 -07:00
Deve
bcb452f76b
Add missing languages to tinygettext
2017-11-02 22:17:57 +01:00
Deve
719f3039b3
Remove invalid empty translations.
...
They are not available on transifex. Norwegian is nb and nn. Chinese is zh_TW and zh_CN.
2017-11-02 21:30:52 +01:00
auria.mg
04c9763e77
Clarify UI in game paused dialog of story mode, fixes #3004
2017-11-01 19:29:02 -04:00
auria.mg
3760d84359
Attempt to fix #2997
2017-11-01 19:08:47 -04:00
Ben Krajancic
a94d22cce7
No option to abort grand prix on last track ( #3003 )
...
* Small clarification to prevent build errors
Building outside of this directory prevents the executable from launching, this small addition can help prevent this issue from happening.
* Initial Commit
* Code cleanup
* Fix compile error
* Fix incorrect comparison
2017-10-31 19:15:57 -04:00
auria.mg
2cc160d7cc
Tweak challenge that was too difficult. See #2997
2017-10-31 19:07:26 -04:00
Ben Krajancic
a1689efa5f
Crash sounds based on speed and direction ( #2964 )
...
* Small clarification to prevent build errors
Building outside of this directory prevents the executable from launching, this small addition can help prevent this issue from happening.
* Initial calculation and application
However this doesn't handle other karts well. Max speed both karts should differ in each direction
* Properly scale volume appropriate to speed and direction
* Improve clarity in variables and created getcurrentemitter method
* equation is awful, don't use
* Head on collision fix physics to be more accurate
* Removed debug std cout
* Cleaned up method for calculating volume, other misc fixes
Changed from m_body->getlinearvelocity() to getvelocity() to ensure that the reader doesn't mistake the functions as being different
* Fixed wrong value for min_volume
* Updated to Styling guidelines
* Fixed tabs to spaces
* fixed tab to space
* Coding conventions, fix set volume
* Last tab fix
* Make quiter sounds louder through math, whilst ensuring not imaginary numbers
2017-10-31 18:38:10 -04:00
Fantasmos
98231956fb
rename to more appropriate variable
2017-11-01 08:38:34 +11:00
Fantasmos
83c14fc0dc
Added default num karts for GP
2017-10-31 18:11:45 +11:00
Fantasmos
367eeb8c20
fix innapropriate name changes
2017-10-31 17:57:19 +11:00
Fantasmos
a094a5a3d6
Fix non newline brackets
2017-10-31 11:15:38 +11:00
Deve
57c874f703
Add a possibility to overwrite assets dir using environment variable.
...
It fixes #2982 when both SUPERTUXKART_DATADIR and SUPERTUXKART_ASSETS_DIR are set.
2017-10-29 21:02:13 +01:00
Deve
f7886a31bf
Better fix for shadow acne
2017-10-29 20:26:46 +01:00
auria.mg
4f7cdbe294
Fix #2977
2017-10-29 14:07:41 -04:00
Benau
b15ab1f043
Fix #2988
2017-10-30 01:34:40 +08:00
Benau
d9d3afc36e
Fix wrong normal, vertex 2 color and memory leak of texture quad
...
Fix #2979
2017-10-29 16:19:14 +08:00
Benau
e57c2bbbd3
Remove the dead elephpant
2017-10-29 09:20:50 +08:00
Fantasmos
702d7f71c5
Replaced pair with temporary struct, to ensure POD-typing
2017-10-28 18:41:26 +11:00
Fantasmos
7fff73afa6
Clarifies the cause of compiler errors for some systems
2017-10-28 14:13:57 +11:00
Fantasmos
e50d295c87
Remvoe redundancy
2017-10-28 13:05:08 +11:00
Fantasmos
d366dd84cd
Updated to naming conventions
2017-10-28 12:59:04 +11:00
Fantasmos
cb1a2b1e25
Rename m_num_karts to be more appropriate, removed redundant variables I've made
2017-10-28 12:51:49 +11:00
Fantasmos
4a0db1926d
Highlighted issue that needs resolving
2017-10-28 12:09:23 +11:00
Fantasmos
4fbc39572b
Removed Tab, first working version!
2017-10-28 11:56:52 +11:00
Fantasmos
ca330b1ac0
Map compiles now and can be set
2017-10-28 11:35:11 +11:00
Fantasmos
f10feb77fd
Can now load a map type
2017-10-28 09:16:28 +11:00
Daniel Butum
0af7d7bf7f
Modify windows installer so that it is version specific + add entry in the windows add/remove list
2017-10-27 17:30:47 +03:00
Fantasmos
823d3112ad
Begun making template for dictionary
2017-10-27 22:31:54 +11:00
Benau
66d1ea802d
Update Changelog
2017-10-27 14:31:10 +08:00
hiker
207e8cd475
Updaetd translator credits.
2017-10-27 10:52:48 +11:00
hiker
ad637e1076
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-10-26 11:57:32 +11:00
Fantasmos
af7fefee1e
note errors
2017-10-26 11:32:43 +11:00
hiker
0abfa64373
Updated credits to include all doncators and other contributors.
2017-10-25 20:24:28 -04:00
auria.mg
256ad66e13
#2734
2017-10-25 20:20:00 -04:00
auria.mg
067db4c8ce
Fix #2734
2017-10-25 20:16:36 -04:00
hiker
2275dc7744
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-10-26 10:26:44 +11:00
hiker
e95657b2f4
Updated credits to include all doncators and other contributors.
2017-10-26 10:21:32 +11:00
Fantasmos
df69a684a3
Identified cause of compile error
2017-10-26 09:39:48 +11:00
Fantasmos
74cdd07ba7
Added string array for karts per gamemode, and references to it to replace num_karts
2017-10-26 09:11:57 +11:00
Deve
9fe805f5f8
Avoid tinygettext warning
2017-10-25 23:52:35 +02:00
Benau
b28574eb46
Fix b3d with more than 4 weights per vertex
2017-10-25 13:11:54 +08:00
Benau
0f17d7e23a
Fix #2917
2017-10-25 09:14:26 +08:00
Benau
6cfe16a320
Add Karelian localized name
2017-10-25 00:24:56 +08:00
hiker
530bfce849
Updated translations.
2017-10-25 00:32:54 +11:00
hiker
6476af46cd
Replced unicode characters with ascii characters.
2017-10-24 10:27:00 +11:00
hiker
d6251054cb
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-10-23 09:45:20 +11:00
hiker
4c1874ebf8
Hopefully fix #2939 (backpedal animation flickers when stopping and
...
left/right is being pressed).
2017-10-23 08:44:17 +11:00
Benau
fc2e05c0a6
Use a trick to make skinned mesh shader branchless
2017-10-22 13:03:45 +08:00
Benau
7252a38da1
Fix skinning glitches possible in (some) cards
2017-10-22 02:17:37 +08:00
Benau
aa080db501
Fix resolution change crash
...
UpdateFlips stop working if we don't m_flips_data.clear();
2017-10-22 01:52:37 +08:00
Benau
a0991c3233
Don't use unsync map buffer
...
It causes regression in hd5670 in windows
Although we should update ubo only once per frame
2017-10-22 01:51:45 +08:00
Benau
6a79d204c1
Don't use SSBO for skinning
...
It causes trouble in hd5670 in windows
2017-10-22 01:31:15 +08:00
Deve
cf26337bd4
Fixed particles in multiplayer mode
2017-10-21 08:18:28 +02:00
hiker
7f1c460227
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-10-21 01:00:44 +11:00
hiker
d7f5fb9e69
Avoid flicker when a kart with backpedal animation is stopping and
...
left/right is pressed (see #2939 ).
2017-10-21 00:58:25 +11:00
Benau
6896c44da8
Clang fix
2017-10-20 18:35:28 +08:00
Benau
42a3eb1880
Uniform vertex color for fonts in all pipelines
2017-10-20 18:21:55 +08:00
Benau
e61eb3415a
Remove hardcoded max 1024 bones for skinning
2017-10-20 17:10:08 +08:00
Benau
1b70144c80
Reserve a graphics restriction for hardware skinning
2017-10-20 14:00:38 +08:00
Benau
fd0eaf064f
Show a ghost hat for ghost kart
2017-10-20 10:05:49 +08:00
Benau
8a0232382a
Some fixes for some shader compiler
2017-10-20 09:25:43 +08:00
Benau
ebdde49984
Merge remote-tracking branch 'origin/master' into tbo_skinning
2017-10-20 08:36:54 +08:00
Deve
5216f8e917
Fixed jump explosion on android
2017-10-19 21:44:50 +02:00
Benau
553b2439ac
Allow using SSBO for skinning if supported
2017-10-20 01:27:44 +08:00
Benau
0d96906d54
Use texture buffer (texture2d in gles) for skinning
2017-10-19 13:31:07 +08:00
Deve
1a9cf6a46f
Set max texture size to 256 for Raspberry Pi
2017-10-18 21:13:23 +02:00
Deve
9ec06f122c
Allow to filter graphical restrictions by vendor
2017-10-18 20:51:26 +02:00
auria.mg
204e715637
Fix build
2017-10-17 20:08:15 -04:00
Deve
c3e772e863
Add different explosion effect for Android.
...
It gives much better performance while it still looks similar.
2017-10-17 23:34:19 +02:00
Deve
77161cc583
Avoid compilation errors for GLES
2017-10-17 23:34:19 +02:00
Deve
f034b3c22b
Add tracks for apk
2017-10-17 23:34:19 +02:00
Benau
b204c492ef
Update syntax
2017-10-17 12:15:37 +08:00
Benau
6a74b88273
Update readme and changelog
2017-10-17 11:53:22 +08:00
Benau
aaa8befe0a
Fix appveyor build
2017-10-17 11:04:28 +08:00
Benau
fa48d099f2
Fix the remaining msvc warnings
2017-10-17 10:51:52 +08:00
Benau
fb6a0d7631
Merge remote-tracking branch 'origin/master'
2017-10-17 10:25:22 +08:00
Deve
1454e53b79
Set proper min sdk version for 64bit build
2017-10-16 21:31:17 +02:00
Benau
88e15147b8
Merge remote-tracking branch 'origin/win-64bit'
2017-10-17 00:55:22 +08:00
Benau
e47aa5d567
Take relative path issue into account when unloading texture
...
Now except global particle textures all textures loaded by track can be
clean properly
2017-10-16 16:09:07 +08:00
Benau
c8d13d7360
Preload the particle textures when first load
...
This prevent hangs when lazy loading texture runtime
2017-10-16 14:22:09 +08:00
Benau
7e0d706946
Don't call setLastTriggeredCheckline for check cannon
...
It will override the track check line
2017-10-16 13:47:21 +08:00
Ben Krajancic
6dcee109b5
Merge branch 'master' of https://github.com/Fantasmos/stk-code
2017-10-16 11:05:40 +11:00
Benau
9f10676dd3
Remove unused billboard shader
2017-10-16 07:43:00 +08:00
Benau
30e78fb1c0
Merge branch 'fix_2427'
2017-10-16 07:25:38 +08:00
hiker
9166e704e9
Take ball squashing into account when computing the ball height (so now
...
the basketball properly touches the ground if its height is 0).
2017-10-16 10:10:33 +11:00
Benau
c7dbe715fc
Remove duplicated and unused code
2017-10-16 00:48:08 +08:00
Benau
4573e51e98
Fix #2427
2017-10-15 19:14:07 +08:00
Benau
a7debc286a
Check flips using unordered_set
2017-10-15 15:05:49 +08:00
Benau
058f9163db
Some work to make particle shader able to render billboard
...
The lifetime in height map stimulation will always now < 1.0f
2017-10-15 13:57:01 +08:00
Benau
f646a26fbe
Clean up particle .xml
...
Remove unsupported entries, notice that particles now are auto-
faded out by lifetime
Also remove flips that are not visible at all
2017-10-15 12:47:21 +08:00
Benau
998b11ed51
Add an option to disable pre-generation for explosion particles
...
Also remove some unused code
2017-10-15 11:32:58 +08:00
Benau
b1f4ced6f0
Fix bounding boxes in legacy pipeline
2017-10-15 00:18:11 +08:00
Benau
85adab6e1e
Allow to use new STKParticle with legacy pipeline
...
Due to cull face issue the kart exhaust is still not visible
2017-10-14 15:42:10 +08:00
Benau
088d09cb64
Don't hardcode first vbo size
2017-10-14 14:42:54 +08:00
Benau
c3a22ddcf7
Pre-generate some particles if max count is small
2017-10-14 14:42:24 +08:00
Benau
a0c9ba2b8c
Pack mixed color into instanced array
...
With half-floats for lifetime and size for same stride
2017-10-14 12:33:08 +08:00
Benau
e49a7139d7
Split MiniGLM for more usage (instancing, cpu particle, network...)
2017-10-14 11:00:51 +08:00
Benau
0b9a3e1c69
Fix some issues found in first-try
2017-10-14 09:47:13 +08:00
Benau
0066722dab
Features completed cpu particle
2017-10-14 00:19:59 +08:00
Deve
63ecbefbdd
I forgot about particles
2017-10-12 22:55:26 +02:00
Deve
928ae4e44d
Try to fix server-only compilation
2017-10-11 21:50:44 +02:00
Deve
b0cdbd94b4
Merge branch 'srgb_fb'
2017-10-11 21:46:58 +02:00
Deve
c1e17f0593
Add a fallback for intel on linux.
...
When workaround with alpha_channel=true failed, then fallback to the path with disabled srgb framebuffer.
2017-10-11 21:39:13 +02:00
Deve
6794670510
Disable srgb framebuffer for intel hd 2000 too
2017-10-11 20:53:49 +02:00
Benau
9304f6fa3c
Disable the usage of all parts colorized
...
Please use colorization mask for better effect
2017-10-11 13:05:15 +08:00
Benau
839142b752
Add up-to-date restriction for hd3000 in windows
2017-10-11 11:25:28 +08:00
Ben Krajancic
865426aad7
Small clarification to prevent build errors ( #2954 )
...
Building outside of this directory prevents the executable from launching, this small addition can help prevent this issue from happening.
2017-10-09 21:10:50 -04:00
Ben Krajancic
8ce23fe078
Small clarification to prevent build errors
...
Building outside of this directory prevents the executable from launching, this small addition can help prevent this issue from happening.
2017-10-10 09:53:15 +11:00
Deve
ae4e302741
Add a way to run STK without srgb framebuffer
2017-10-09 21:18:15 +02:00
auria.mg
0453809915
Update credits
2017-10-08 19:56:13 -04:00
Benau
10e3467f96
Merge remote-tracking branch 'origin/better_rescue_animation'
2017-10-09 07:44:50 +08:00
hiker
fba22def40
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-10-09 10:29:24 +11:00
hiker
b97088c933
Fixed computation of new point. The previous approach was based on
...
the newly computed point. If this point should be under the track,
and the new height is not enough to offset this, the ball will be
tunnelling, which results in the ball being reset to the previous
position, i.e. the ball will not move.
2017-10-09 10:25:36 +11:00
hiker
f94b3a9120
Added more debug info, removed unused code.
2017-10-09 10:25:11 +11:00
Benau
2217083421
Replace broken abyss replay with candela city
2017-10-08 11:16:25 +08:00
Deve
48d94e10a7
Use separate os name for android stats
2017-10-07 21:37:59 +02:00
Benau
4f1becb20d
Add a better rescue animation
...
Also fix #2501
2017-10-06 23:42:23 +08:00
Benau
cf2a9f7089
Allow configurable exhuast particle, fixes #2878
2017-10-06 01:08:27 +08:00
auria.mg
3ad081104e
Re-extract strings for missing track, oops
2017-10-04 20:59:30 -04:00
auria.mg
7a63955a06
Minor challenge tweak
2017-10-04 18:56:43 -04:00
auria.mg
1c9e4bc04a
Tweak hacienda easy challenge, see #2951
2017-10-04 18:50:27 -04:00
Deve
bc84559f1d
Revert a hack for shadows.
...
It helps for horizontal surfaces, but makes vertical surfaces worse (for example rocks in cornfield crossing), so it's not really a solution.
2017-10-04 22:19:19 +02:00
auria.mg
0f790d4331
Update strings
2017-10-03 19:04:34 -04:00
Deve
27a79526b1
Allow to use particles heightmap simulation in GLES
2017-10-02 23:05:12 +02:00
Deve
843ebad9a1
Don't use GL_FRAMEBUFFER_SRGB in GLES
2017-10-01 22:25:37 +02:00
Benau
d6d1fa40c0
Use a hack to get the "real" transformation for bones
...
Sometimes the value return before was not as correct as in blender
Todo: expose it in mesh interface
2017-10-01 15:20:37 +08:00
Deve
1a250c5b74
Hopefully fixed rare crash in createVideoModeList.
...
Assume that the window was null.
2017-09-30 23:43:29 +02:00
Deve
d99b2d4b5a
Fixed a crash in overworld after kart selection screen when accelerometer is enabled
2017-09-30 23:08:17 +02:00
Benau
f1dfabdcc2
Update Changelog
2017-09-30 14:55:14 +08:00
Sam
c4726e767a
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2017-09-28 20:07:17 +02:00
Sam
e3bfa79d43
Now you must progress the story mode to unlock sara the wizard
2017-09-28 20:05:12 +02:00
Deve
34a3207f91
Fixed android compilation
2017-09-27 23:20:35 +02:00
Deve
afbdbaeee8
Remove unused files.
...
Both Console and FB don't work with opengl driver. And the software driver is not even included in stk sources. So I don't think that it will be ever used.
2017-09-27 23:07:44 +02:00
Deve
de116c7e4c
Fixed possible issue with changing resolution
2017-09-27 22:24:40 +02:00
Deve
126991118d
Now only irrlicht depends on x11
2017-09-27 21:45:08 +02:00
Deve
e2c0f83fb0
Move patform specific code from irr_driver to irrlicht devices
2017-09-27 17:37:56 +02:00
Benau
e655c5e971
Don't initInverseBoneMatrices for < version 3 karts
...
grep -rn speed-weighted-object in deveee's addon karts show nothing
(even most addons)
2017-09-20 13:27:46 +08:00
auria.mg
4078863d1d
Update achivements.xml, fixes #2940
2017-09-19 18:44:05 -04:00
Deve
70471a7266
Adjust explosion particle size to updated explosion image (removed transparent margins).
...
Causes minor performance improvement, but better than nothing.
2017-09-19 22:42:39 +02:00
Benau
3cd2f403e0
Force re-skin when getMesh with hardware skinning on
...
Actually spm has a built in way to use mesh without bothering bind
pose
2017-09-20 01:27:52 +08:00
Deve
71334bac5b
Move xrandr to irrlicht cmake file and also fixed indentations
2017-09-18 22:14:43 +02:00
Deve
66cebbdbe7
Add cmake scripts that find egl and wayland libraries
2017-09-18 21:50:34 +02:00
Benau
b09eec4bcb
Allow speed weight objects to be attached to bone
2017-09-18 11:27:21 +08:00
Deve
f6fa44f0df
Request srgb colorspace on wayland
2017-09-17 21:51:07 +02:00
Benau
cef65cb98a
Use the same radius as before
2017-09-17 08:44:58 +08:00
Deve
29ba4ee543
Avoid a warning about missing texture in race result gui
2017-09-16 23:38:26 +02:00
Benau
12188c5287
Allow sharing headlight model and config its color (for gnu)
2017-09-16 14:46:21 +08:00
Benau
00660293b7
Fix #1795 , fix #2755 and fix #2886
...
Allow using bone attachment in straight-frame static mesh.
Advanced headlight rendering with light origin from center mass
of headlight model which can be bound to any bone in kart model
2017-09-15 20:08:38 +08:00
auria.mg
32243e7eb3
Update the newlt-added icons with ones whose liense is known
2017-09-14 19:44:34 -04:00
auria.mg
024b642d27
Add margin
2017-09-14 19:24:23 -04:00
auria.mg
1d2e882ffe
Merge branch 'master' into master_fhach
...
# Conflicts:
# src/guiengine/widgets/kart_stats_widget.cpp
2017-09-14 19:24:06 -04:00
Deve
04cc5bb62c
Make sure that music pointers are always null when deleted
2017-09-13 21:11:12 +02:00
deve
9681a9586f
Update supertuxkart.pot
2017-09-13 06:20:20 +02:00
deve
6500cf716a
Use better names in touch device settings
2017-09-13 06:18:07 +02:00
Deve
e615ff67d6
Don't use gl functions that are not available in core context.
...
Fixes some driver warnings.
2017-09-12 23:49:35 +02:00
Deve
be4d0e7208
Fixed a crash when starting ghost replay
2017-09-12 20:14:10 +02:00
deve
6829bb1e51
Fixed aspect ratio for icon button widget.
...
It happened when using non-hd textures. Textures with aspect ratio != 1, are scaled to MAX_TEXTURE_SIZE, for example from 512x256 to 256x256, so we can't base on scaled texture size.
Btw. such behaviour seems to not have a sense (for example 2048x256 will be scaled down to 256x256), so it may need some work in stk_texture.cpp.
2017-09-12 06:10:23 +02:00
Deve
fd00ef4d92
Fixed a crash in grand prix editor
2017-09-09 21:25:56 +02:00
deve
4610572649
Don't draw explosion particles if only important effects are selected in options.
...
It causes slowdown on some devices, i.e. from 30fps to 5fps when explosion occurs very near of the camera. So disable it for lowest graphical level.
2017-09-08 06:25:21 +02:00
Deve
f96863c421
Add a possibility to totally disable particles.
...
Particles cause a crash on some radeon devices, so people can at least disable it to make the game working.
Also tfb causes quite big slowdown on slow devices even if there is no particles displayed, so it can give few more fps.
2017-09-08 00:33:46 +02:00
QwertyChouskie
039a7d0ecc
Put screenshots in ~/.local/share/supertuxkart/screenshots ( #2932 )
...
* Put screenshots in ~/.local/share/supertuxkart/screenshots
Instead of `~/.cache/supertuxkart/screenshots`.
* whoops :(
2017-09-06 20:22:05 -04:00
auria.mg
5e8f25a1fc
Add a slight delay when triggering the falling camera, avoids triggering it too soon when the kart is not yet sure to fall
2017-09-06 19:23:58 -04:00
Benau
88972f8308
Cache all mipmap levels for compressed texture
...
Not sure if devee has super-fast loading speed like me
2017-09-06 15:14:36 +08:00
Benau
ee3d0df242
Try to fix "Cannot find container_id for texture" for models
2017-09-06 15:13:50 +08:00
hiker
92aec928a1
Tweaked physics so that wheel raycasts happen from inside the collision shape
...
(fixes karts getting stuck at borders), use a longer less bevelled collision
shape better kart stability), and reduce angular factor to make it less
likely that karts can drive on walls.
2017-09-06 09:06:04 +10:00
hiker
5cbcd79cca
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-09-06 09:02:33 +10:00
Deve
8a3cdb4fef
Don't link with useless libs.
...
Also remove custom script for xrandr.
2017-09-05 00:19:55 +02:00
hiker
416b93b0a1
Reset steering when calling reset in a kart, which results in more accurate
...
physics replays.
2017-09-04 18:08:14 +10:00
hiker
71978e2bb0
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-09-04 10:43:00 +10:00
auria.mg
15ea4a8f17
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2017-09-03 20:38:16 -04:00
auria.mg
b974b35a07
Code cleanup in kart audio code
2017-09-03 20:37:43 -04:00
hiker
5d51b7fcd1
Added #define to switch between AI-debugging-topview camera (high up)
...
and physics-debugging-topview camera (close to kart).
2017-09-04 08:41:21 +10:00
hiker
bd6c2d9b21
Allow setting bevel to 0, fix incorrect Y position when using bevelled
...
values for wheel positions.
2017-09-04 08:30:31 +10:00
Deve
b820a60e98
Tweak default accelerometer sensitivity.
...
Also move it to the config file.
2017-09-03 23:39:03 +02:00
auria.mg
beb10863c4
Continue optimizing OpenAL sources, see #2921
2017-09-02 22:49:36 -04:00
auria.mg
cb2295c738
Improve kart audio refactor, see #2921
2017-09-02 22:35:41 -04:00
auria.mg
663c7aacaf
Tweak kart audio code to use fewer OpenAL sources (see #2921 ). Seems to work well, though I need to take a closer look to make it thread-safe
2017-09-02 22:00:37 -04:00
auria.mg
590ec78640
Update changelog
2017-09-02 21:54:02 -04:00
Deve
1123ceeceb
Don't try to create textures for empty names.
...
It's not designed to work with empty file names, because the "existFile" function in irrlicht returns true for directories, our file manager doesn't check that it's a directory and generally strange things happen.
This solves a problem with luna track that doesn't have a screenshot and possibly with some broken add-ons, so that valgrind doesn't complain anymore.
Benau, feel free to revert it if you have better solution.
2017-09-03 00:04:29 +02:00
Deve
6710fc2a5c
Don't add absolute path if screenshot name is empty
2017-09-02 23:47:25 +02:00
Deve
6f11a1669f
Make particles in GLES renderer to look a bit better.
...
Now kart exhaust is not too dark anymore.
2017-09-02 01:01:35 +02:00
Benau
f07a7062b3
Add min / max height testing for all graphs
2017-09-01 14:12:10 +08:00
hiker
f7397028ff
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-08-31 23:55:33 +10:00
hiker
4759ff2490
Cancel the setAnimationEndCallback when a non-existing animation is
...
tried to be set. Fixes #2628 .
2017-08-31 23:47:39 +10:00
auria.mg
64c1e8d19c
Fix SFX leaks
2017-08-30 20:39:20 -04:00
Deve
69e26d7561
Remove unclear warning.
...
Weather node without particles is fine and it's used in Blackhill Mansion (just for lightning). The warning was suggesting that something is wrong there.
2017-08-30 21:21:43 +02:00
hiker
0dd3bbbd9b
Changed severity level so that additional information in case of a crash
...
is certain to be seen.
2017-08-30 17:54:45 +10:00
hiker
7a3448a159
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-08-30 17:52:41 +10:00
hiker
c33ee321cc
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-08-30 17:49:59 +10:00
hiker
4440c7e40a
Added error check for alDeleteSource.
2017-08-30 17:46:07 +10:00
deve
8c73b67309
Update supertuxkart.pot
2017-08-30 06:50:51 +02:00
deve
2de3a39e04
Make device name translatable
2017-08-30 06:46:55 +02:00
auria.mg
6e30154fc3
Update strings
2017-08-29 19:48:32 -04:00
Allan Nordhøy
f08b53c1fc
Spelling: Chose, add-ons, low, command-line ( #2914 )
...
* Spelling: Chose, add-ons, low, command-line, HTTPS
* Back to http for privacy.supertuxkart.net
It auto-negotiates for https from Let's Encrypt when connected to through http, strange.
2017-08-29 19:47:07 -04:00
Deve
e05ef71b77
Make it clear that NDK >= r15b is atm. not supported
2017-08-29 22:00:45 +02:00
Deve
184ecce836
Reset multitouch buttons state when game is restarted
2017-08-29 22:00:45 +02:00
Deve
65363a2fa0
Move multitouch race gui creation.
...
It's to avoid duplicated buttons because result gui uses gui_base too.
2017-08-29 22:00:45 +02:00
Benau
ba55fc7d2e
Fix previously always true statement
...
bufferSize (Real*BOSize) was never used and set
2017-08-29 10:31:56 +08:00
auria.mg
96c4e26ef3
Update strings
2017-08-28 19:36:34 -04:00
hiker
ab6fbd2609
Merge remote-tracking branch 'origin/master' into fix-ball-cannon
2017-08-29 09:19:41 +10:00
hiker
cf98e049b0
Fixed sliding (i.e. not being able to drive up steep uphill sections). Fixes #2906 .
2017-08-29 08:23:06 +10:00
Deve
2fdb33990e
Tweak some touch device params.
...
Better on 5'', worse on 10''... Can be changed in options anyway.
2017-08-28 22:25:32 +02:00
Deve
704d3ea9d9
Try to make touch device a bit more comfortable
2017-08-28 22:25:32 +02:00
Benau
ea58a736d5
Fix displace fallback in non-advanced pipeline
2017-08-28 13:04:41 +08:00
Benau
7b571de395
Fix the wrong "misuse"
...
Now you can play hot.ogg
2017-08-25 16:39:34 +08:00
auria.mg
5999e83cba
Update changelog
2017-08-23 19:02:19 -04:00
auria.mg
e852714466
Update challenges for new city track
2017-08-23 18:52:10 -04:00
Deve
6465cc4569
Minor fix in graphics restrictions.
...
Some android restrictions are very basic, eg. UniformBufferObject is disabled on whole platform. So make sure that it's not used on any exotic OS.
2017-08-23 21:18:45 +02:00
Deve
dec9948d0b
Make sure we don't write out of array.
...
It shouldn't happen, but code below assumes that visualAttrBuffer has its full size, so just in case...
2017-08-23 00:13:57 +02:00
Deve
b03e108902
Handle a case when request for srgb-capable framebuffer failed.
...
It fixes #2902 .
2017-08-22 23:53:04 +02:00
Benau
850afc8620
Allow using animated texture with displace shader
...
Plus some clean-up
2017-08-23 00:55:25 +08:00
Deve
6a03f147f6
Add a possibility to use ubo on gles.
...
Disabled by default on android, because it's been tested on only one device and it's a bit slower in most cases.
2017-08-22 00:02:34 +02:00
Deve
bd84929982
Don't convert gloss maps.
...
It causes artifacts when advanced lighting is enabled.
2017-08-21 11:30:49 +02:00
Benau
ad369b88da
Remove .b3d usage in stk-code
2017-08-21 16:02:06 +08:00
Benau
a8e20101f8
Make SPM loader more portable (for stk-editor later)
...
Also allow calculating normal if required
2017-08-21 14:57:33 +08:00
hiker
f1f8bf0e4d
Oops - fixed unexplainable #includes ... I am sure I didn't put them in :P
2017-08-21 14:59:28 +10:00
hiker
6d61ef7fb9
Use StringUtils instead of strrchr, some code cleanup.
2017-08-21 08:47:28 +10:00
hiker
5a35bb6195
Made crash reporting work with 32- and 64-bit windows executables.
2017-08-21 08:11:03 +10:00
Deve
d698e62053
Minor fix in video settings dialog
2017-08-19 22:09:42 +02:00
Benau
1ca6a6edea
Remove the need of 2nd UVmap for displace objects
2017-08-19 08:51:09 +08:00
Benau
4c0b28a43e
Fix speed weight object looping in non-animated character
2017-08-17 15:48:21 +08:00
Benau
fd7bf80493
Fix kart selection screen animation if only 1 kart
2017-08-17 15:28:04 +08:00
Deve
ad062d3b81
Fixed indentations
2017-08-17 00:11:25 +02:00
Deve
3cf8649a6e
More work with generate_assets script.
...
Now uncompressed tux with .spm takes just 350 kb.
2017-08-17 00:11:25 +02:00
Benau
a00b878919
Use transposed matrix everywhere
2017-08-17 01:26:08 +08:00
hiker
f3d56b37df
Merge branch 'master' into win-64bit
2017-08-16 17:29:57 +10:00
Benau
3031fabcf9
Add spm loader
2017-08-16 13:48:27 +08:00
Deve
196fe378b4
Fix for png->jpg converter.
...
It's possible that there are multiple file names in single parameter, for example:
<sky-box texture="0006.png 0001.png 0004.png 0002.png 0003.png 0005.png" ... />
now it should work.
Also use is_opaque rather than has_alpha that gives better results.
2017-08-15 23:03:22 +02:00
hiker
01be800253
Fixed stack traces for win32 ( #2642 ).
2017-08-15 23:54:39 +10:00
Deve
8fa0e4e7b3
Make it less verbose
2017-08-15 10:12:56 +02:00
Deve
4da945f710
Move duplicated code to separate function
2017-08-15 10:12:56 +02:00
Deve
0a2d05a998
Add a possibility to convert png->jpg for spm format for smaller apk
2017-08-15 10:12:56 +02:00
hiker
5a2b92d79d
Merge branch 'master' into improve-xbox-gamepad-support
2017-08-14 10:05:26 +10:00
Deve
71bbafadbd
Fixed memory leaks in gles
2017-08-13 22:02:55 +02:00
Deve
0bf0ca0a35
Fixed memory leak
2017-08-13 01:38:21 +02:00
Deve
1f4a9135b6
Remove useless elif
2017-08-13 01:38:21 +02:00
Deve
ee5bdad926
Move output/seat listener to better place
2017-08-13 01:38:21 +02:00
Deve
fd4ab9d88f
Fixed possible uninitialized variable in gles renderer
2017-08-13 01:38:21 +02:00
Deve
cf868df93f
Fixed memory leaks in wayland device
2017-08-13 01:38:21 +02:00
hiker
1cc9f503a4
DT can actually be 0 :P (e.g. in server with no graphics, and I
...
guess on really fast computers). Bad things happen with dt=0, so
set dt to at least 1 ms.
2017-08-11 17:22:25 +10:00
hiker
6edfc02ec5
Removed debug output.
2017-08-11 17:10:59 +10:00
hiker
a7a3f2b137
Fixed typo in profiler call.
2017-08-11 17:10:28 +10:00
hiker
50c3ac671b
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-08-11 10:10:27 +10:00
hiker
e7f8cc7239
Added profiling events for playing network events.
2017-08-11 09:50:08 +10:00
hiker
4c0ffdb055
Added profiling events for ProtocolManager.
2017-08-11 09:48:34 +10:00
hiker
aa757637ec
Added more profiling events for rewinding.
2017-08-11 09:46:30 +10:00
hiker
3923da30bc
Use unique names for profiler events.
2017-08-11 09:41:22 +10:00
hiker
5b68e18df4
Fix cygwin support.
2017-08-11 09:38:58 +10:00
auria.mg
936ef3c4c7
Update changelog
2017-08-09 19:37:49 -04:00
hiker
587687a614
Merge remote-tracking branch 'origin/fix-2850'
2017-08-09 21:40:44 +10:00
hiker
626f540b15
Merge branch 'Fix-2617'
2017-08-09 21:21:03 +10:00
hiker
86d5e11c13
Merge branch 'improve-xbox-gamepad-support' of github.com:supertuxkart/stk-code into improve-xbox-gamepad-support
2017-08-09 20:32:13 +10:00
hiker
e03c0849ce
Fixed previous commit - got confused with the #undef :P
2017-08-09 20:30:44 +10:00
hiker
8be5443f8c
Merge branch 'fix-profiler' into improve-xbox-gamepad-support
2017-08-09 17:56:40 +10:00
hiker
d46b03b317
Hopefully fixed cygwin build problems.
2017-08-09 17:54:29 +10:00
hiker
379a9db3c9
Merge remote-tracking branch 'origin/fix-profiler' into game_protocol
2017-08-09 17:43:14 +10:00
Benau
861e7f7ebd
Remove contradiction
2017-08-09 15:36:26 +08:00
Benau
cc8331f5cd
Fix #2897
2017-08-09 15:03:37 +08:00
Benau
79c6705bb1
Fix #2814
2017-08-09 13:00:09 +08:00
Benau
ea97258b65
Add scripting code for throwing banana monkeys
2017-08-09 12:23:37 +08:00
auria.mg
94bb657102
Ignore input sensing coming from the wrong gamepad
2017-08-08 20:44:31 -04:00
hiker
6f5b1d2a55
Merge branch 'improve-xbox-gamepad-support' of github.com:supertuxkart/stk-code into improve-xbox-gamepad-support
2017-08-09 10:23:52 +10:00
auria.mg
f589bbea04
Attempt to fix 2617
2017-08-08 20:23:22 -04:00
hiker
11a587dd30
Merge branch 'improve-xbox-gamepad-support' of github.com:supertuxkart/stk-code into improve-xbox-gamepad-support
2017-08-09 10:15:35 +10:00
hiker
28890aad33
Merge branch 'master' into game_protocol
...
Some minor changes to make code easier to read.
2017-08-09 09:50:46 +10:00
hiker
c3cd7ceaa2
Merge branch 'master' into improve-xbox-gamepad-support
2017-08-08 23:08:14 +10:00
hiker
b440511c95
Fixed incorrect right thumbstick mapping.
2017-08-08 21:55:28 +10:00
hiker
bd5eb89cc0
Use XInput 9.1 which does not need an installer and works on most
...
windows platforms. Move the linking to irrlicht cmake.
2017-08-08 21:44:32 +10:00
hiker
0acda38987
Add profiling events to sfx manager, but they are commented out
...
by default (using preprocessor directives), since they are typically
not useful.
2017-08-08 16:44:55 +10:00
hiker
6a0fb83209
Clear existing events when the circular buffer wraps around.
2017-08-08 16:36:54 +10:00
hiker
d29d2b831f
Only use start and end time for thread 0, since all other threads
...
might not have valid start and end times (since they can record
several identical events during one frame). Bars for all other
threads can therefore not be nested.
2017-08-08 16:09:49 +10:00
hiker
887814ea98
Fixed incorrect start and end time setting when synchronising
...
frames. Only use thread 0's start and end time to compute the
duration (since other threads might have multiple identical
events during one frame, resulting in incorrect start times).
2017-08-08 16:08:15 +10:00
Deve
0a715ac31a
Fixed 32-bit mingw compilation
2017-08-07 22:33:57 +02:00
hiker
620d1f34c1
Link in xinput on windows builds.
2017-08-07 23:50:09 +10:00
hiker
6783ab26f8
Keep a list of all event names in the order in which they first
...
appear. This list allows the proper ordering of events when drawing
the bar chart to show nesting. Make sure that enabling the profiler
starts at the next synch point (to avoid incomplete event pairs).
Create a seprate output file for each thread.
2017-08-07 17:53:15 +10:00
hiker
e6c2c3df95
Revert to using guidProduct for all existing code, but the correct guidInstance
...
for detecting XInput devices only.
2017-08-07 09:15:09 +10:00
Deve
b6df36fc39
Don't hardcode build-tools version
2017-08-06 23:15:08 +02:00
Deve
bc6ff38b22
Simplify light factor when advanced lighting is disabled.
...
In this case only diffuseMatColor really matters, other values are constant.
It improves performance on GLES renderer and it's also noticeably faster for GL on desktop.
For example:
- fps increased for me from 60 to 69 on Hacienda with intel HD 4000
- from 43 to 49 on lighthouse
There is much less difference on nvidia graphics card, but still it gives small performance improvement.
2017-08-06 22:18:18 +02:00
hiker
4c55ca4da9
Merge commit 'e6a134c3479ccdbaf91bb36d46ffb64b6a3b52b9' into improve-xbox-gamepad-support
2017-08-06 22:58:49 +10:00
hiker
891e439264
Remapped XInput to be the same as DirectInput buttons, so that
...
existing configs works as expected. Hard-coded 6 axis for xbox
controller to allow for triggers to be reported as two different
axis (instead of as one axis). Updated gamepad config to use
proper names for triggers.
2017-08-06 22:56:59 +10:00
hiker
68d41a07ba
Now actually use XInput to read the joystick events for all
...
XInput devices.
2017-08-05 00:34:51 +10:00
hiker
f431730278
Fixed recognition of XInput devices.
2017-08-05 00:12:22 +10:00
Geoffrey Mon
a73af6eb0d
Save and use usernames in replay files ( #2754 ) ( #2893 )
...
* Save and use usernames in replay files
Fixes #2754 .
* Store usernames of each racer in recorded replay files
* Display those usernames in a column of the replay selection UI
and in race result dialogs
* RaceResultGUI::getKartDisplayName functionality moved into
Controller::getName
* Move Controller::getName definition to avoid unnecessary #include
* Backwards compatibility: use kart name if username is not in replay
* Fix code style issues
2017-08-03 19:51:42 -04:00
hiker
623bb460c6
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-08-03 21:23:32 +10:00
hiker
04c775eead
Don't measure lock time, some whitespace cleanup.
2017-08-03 21:21:40 +10:00
hiker
d3da93f368
Try to use a Microsoft function to detect XInput devices when using
...
DirectInput - atm not working yet :(
2017-08-03 09:24:50 +10:00
Geoffrey Mon
802d70ca8d
Fix code style issues
2017-08-02 17:21:37 -04:00
Deve
1d2ff0bc47
Remove more unused files
2017-08-02 22:03:01 +02:00
Deve
e9496caa71
Merge pull request #2892 from qwertychouskie/cleanup2
...
Cleanup V2
2017-08-02 21:49:58 +02:00
Geoffrey Mon
9ec2ff5c4a
Backwards compatibility: use kart name if username is not in replay
2017-08-02 14:13:26 -04:00
Geoffrey Mon
ca5258a46c
Move Controller::getName definition to avoid unnecessary #include
2017-08-02 13:48:44 -04:00
Benau
ac406e1e00
Fix #2891
2017-08-03 01:34:35 +08:00
Geoffrey Mon
f3a962c391
Save and use usernames in replay files
...
Fixes #2754 .
* Store usernames of each racer in recorded replay files
* Display those usernames in a column of the replay selection UI
and in race result dialogs
* RaceResultGUI::getKartDisplayName functionality moved into
Controller::getName
2017-08-02 12:55:23 -04:00
Qwerty Chouskie
14ea69dc90
Cleanup V2
2017-08-02 09:29:15 -07:00
hiker
203995262c
Exclude the time to get the lock from profile measurements.
2017-08-02 22:40:19 +10:00
hiker
d8fe700f64
Don't store data when the profiler is disabled.
2017-08-02 08:48:01 +10:00
hiker
d800a8c0bc
Made everything threadsafe.
2017-08-02 08:34:43 +10:00
hiker
22208365d2
Switch to direct input for joystick handling.
2017-08-02 08:13:24 +10:00
hiker
1e5d2643be
Bugfix: incorrect index.
2017-08-02 08:13:04 +10:00
hiker
cc6a1a3909
Started to add XInput support (to be able to distinguish the two
...
triggers).
2017-08-01 17:48:18 +10:00
hiker
85ee217d77
Converted tab to spaces.
2017-08-01 17:19:52 +10:00
hiker
ea12c8f494
Very first version of profiler that supports multiple threads
...
and handles events in branches better.
2017-07-31 22:56:47 +10:00
hiker
47d2e30c5f
Fixed compiler warnings.
2017-07-31 22:56:00 +10:00
hiker
e6a134c347
Fix 2850 by increasing the number of axis for a gamepad to include
...
D-pad.
2017-07-30 23:05:27 +10:00
hiker
65c8cb7ae1
Replaced arrays with std::vector (to get better error checking).
2017-07-30 23:03:40 +10:00
Deve
a89b2f5df2
Minor tweak for linux icon.
...
On freedesktop specs they suggest to use 48x48 icon.
2017-07-30 12:56:25 +02:00
Deve
7d4fbb8d0c
Minor modification in play tutorial text. Fixes #2535
2017-07-29 00:43:17 +02:00
hiker
fdd551a730
Fixed debug compilation.
2017-07-24 23:56:34 +10:00
hiker
ea3f9f8945
Merge branch 'master' into game_protocol
2017-07-24 21:12:36 +10:00
hiker
46bc3493b4
Coding style changes to profiler. Replaced ";" as separator with " "
...
(which is gnuplot friendly), and also added column number to header
to make it easier to know which column is what field.
2017-07-24 16:54:45 +10:00
hiker
48de916f68
Added non-interpolated physics position to debug output.
2017-07-24 16:53:51 +10:00
QwertyChouskie
0be10ce448
Fix MinGW cross-compilation ( #2883 )
...
* Fix MinGW x64 cross-compilation
* Fix MinGW x86 cross-compilation
2017-07-22 20:17:31 -04:00
Benau
979e1546fb
Fix #2881 , only create a camera when initializing
2017-07-21 09:27:57 +08:00
auria.mg
1770d01e07
Changelog, continued
2017-07-20 19:57:42 -04:00
auria.mg
b2fd3d341a
Changelog
2017-07-20 19:50:46 -04:00
Deve
09a735c25e
Use key names in android device too
2017-07-20 22:58:12 +02:00
Deve
7a92708fd3
Use key names in wayland device
2017-07-20 22:58:12 +02:00
Deve
0dba3c8f67
Add a prefix to irrlicht key codes
2017-07-20 22:58:11 +02:00
Benau
10909b9556
Remove m_scale_rtts_factor == 1.0f in image quality for now
...
Because not working in advanced pipeline
2017-07-20 10:19:30 +08:00
samuncle
a3d6f2f453
Start to update the changelog for the release (please add/correct if needed)
2017-07-19 19:35:04 +02:00
Deve
11b2409fab
Activate accelerometer only if needed
2017-07-18 21:43:45 +02:00
Deve
20850c9811
Remove unused cmake option
2017-07-18 00:11:09 +02:00
Deve
bbee93dfe8
Update readme and generate_assets script.
...
The issues on android 4.4 + qualcomm should be already fixed in 8653d410f8 and d44802a482
I also added few lightweight tracks and karts to the apk
2017-07-14 22:04:52 +02:00
Deve
cbba2b6b7d
Merge pull request #2880 from scootergrisen/patch-2
...
Add danish translation
2017-07-14 06:21:38 +02:00
scootergrisen
cb8e0d7b2a
Add danish translation
2017-07-14 00:40:56 +02:00
Deve
d44802a482
Add a workaround for some qualcomm devices on android 4.4
2017-07-11 00:37:31 +02:00
Deve
70c481cb26
Add a possibility to set android version in graphics restrictions.
2017-07-10 22:54:38 +02:00
Deve
1fd6a8aa86
Make sure that we are not using files from our zlib/libpng when STK is compiled with shared libraries.
...
It's possible that STK was using these files for compilation when cmake was run from main directory. In this case compiled files are stored in stk-code/lib, so that CMAKE_CURRENT_BINARY_DIR is stk-code/lib/irrlicht rather than stk-code/build/lib/irrlicht and we include whole lib/libpng rather than non-existing directory.
2017-07-10 21:14:28 +02:00
Benau
8653d410f8
Option 1 for fixing android 4.4
...
Reinit vertex attribute pointer each time, performance may hurt
2017-07-09 00:46:42 +08:00
QwertyChouskie
7b185ce2f1
Add new GPwin cutscene ( #2875 )
...
* Add new cutscene
* Cleanup
* Make all podiums arrive at the same time
2017-07-06 20:54:42 -04:00
Deve
6fc285b794
Show only native resolution in settings on android.
...
Changing resolution is atm. not available, so adding 1024x768 doesn't have a sense.
2017-07-06 23:18:43 +02:00
Deve
9b7f3d70dd
One more place where we were linking with glu.
...
It doesn't really matter, but it's better that our linux package doesn't depend on it.
2017-07-05 21:49:31 +02:00
Deve
9fc1acc4c0
Allow to draw steering wheel on the right side
2017-07-05 21:21:33 +02:00
Deve
2cda14686d
Simplify touch device settings
2017-07-05 20:43:57 +02:00
Deve
2bf99aef1d
Remove useless gles defines from irrlicht cmake file
2017-07-04 23:32:57 +02:00
Deve
c6ea07eacc
Remove unused gles 1.0 code
2017-07-04 23:30:09 +02:00
Deve
2bdce1994c
Minor fix in android build script
2017-07-04 22:57:59 +02:00
Deve
09262a606b
Add missing copyright.
...
The EGL context manager has been written from scratch, so our copyright should be fine.
2017-07-04 22:55:08 +02:00
Deve
f672088a04
Tweak closing android device
2017-07-04 22:43:11 +02:00
Deve
f13f69851f
Fixed black screen on some GLES 2.0 devices.
...
It affects only GLES 2.0. The GLES >= 3.0 and OpenGL allow sized internal formats.
2017-06-29 23:00:08 +02:00
Deve
8462c552d1
Add a warning for very low screen resolutions.
...
There are some android devices that are 320x240, 400x240 etc... Bare minimum to run STK is 640x480. Otherwise some important gui elements are not displayed and it may crash in guiengine.
2017-06-28 21:32:12 +02:00
QwertyChouskie
76257f68c5
Avoid error when libopenglrecorder not found ( #2871 )
...
* Avoid error when libopenglrecorder not found
* Full fix
2017-06-27 19:56:53 -04:00
Deve
076d1f2b62
Save few more mbytes in the apk
2017-06-27 21:20:38 +02:00
hiker
721cebc325
Added timestamp to debug output.
2017-06-27 19:02:03 +10:00
Deve
68cfdfbf17
Minor fix for android progress bar that probably doesn't make any difference anyway
2017-06-24 21:41:36 +02:00
Deve
23277066a4
Some fixes for egl config.
...
Added a fallback with basic configuration if requested config failed.
Also better check if choose config is success (num_configs can be >0 even if egl config is null)
2017-06-24 21:39:58 +02:00
Deve
8f70b74db9
Some tweaks in generate assets script
2017-06-24 01:11:58 +02:00
Deve
78b9b92efa
Fixed gles compilation.
...
We include CIrrDeviceLinux in our edit box widget and it doesn't respect irrlicht cmake flags, so that it tries to include opengl headers even if we selected gles renderer. Just move it to the cpp file to avoid redeclaration errors.
2017-06-23 23:51:33 +02:00
QwertyChouskie
a2d831c1ea
Handle missing libopenglrecorder gracefully ( #2867 )
...
* Handle missing libopenglrecorder gracefully
* Tweak readme
* Change version to "git"
* fail when version !== git
* oops
gota do my research :/
2017-06-22 20:27:29 -04:00
hiker
59ae3e8e63
Added documentation.
2017-06-22 17:39:56 +10:00
hiker
95016d03f4
Removed unnecessary loop.
2017-06-22 17:32:27 +10:00
hiker
60bbd4951a
Added more debug output.
2017-06-22 09:54:55 +10:00
Deve
72358371f7
Some fixes for video mode list on android.
...
Should be a bit safer when user wants to close the game very early (i.e. when assets are extracting) and we get destroy event before irr_driver is actually initialized.
2017-06-19 22:59:27 +02:00
Matthew Trescott
1d8a709e38
Fix the --cutscene=<cutscene> commandline flag ( #2861 )
...
If the menu is shown, there's this ugly purple background (the OpenGL default, I think) and the cutscene won't play.
2017-06-17 18:49:00 -04:00
Deve
cfc506d0cf
Merge pull request #2862 from MTres19/unlock_all_cmdline
...
Add option to unlock everything with a command line flag
2017-06-17 18:04:36 +02:00
Matthew Trescott
3dee6ce5dd
Add option to unlock everything (and disable that option) from the command line
...
This was a complaint of Michael Larabel from Phoronix and is why he doesn't use STK in benchmarks; because the new tracks are mostly locked from the start and unavailable even with the --track flag
2017-06-17 11:45:57 -04:00
QwertyChouskie
10e439b6a1
Clean up output ( #2856 )
2017-06-13 20:50:13 -04:00
hiker
dd9e361289
Stop startup time being accelerated in network games (which results
...
in client and server to become out of synch).
2017-06-14 08:28:06 +10:00
hiker
283f3b94d3
Fixed tiem correctoin (which was in the wrong direction).
2017-06-14 08:27:34 +10:00
Deve
ae19ade5e5
Add gradle support to android build script
2017-06-13 22:06:53 +02:00
QwertyChouskie
be00283b2e
Fix a few compiler warnings ( #2854 )
...
* Fix compiler warnings in gpwrap.cpp
* Fix compiler warning in skybox.cpp
2017-06-11 15:59:12 -04:00
Deve
e11641cd43
Minor correction in generate_assets script
2017-06-08 21:44:17 +02:00
hiker
72e7c5a4cb
Updated unit testing for latest code changes, removed old/commented
...
out code.
2017-06-08 09:29:42 +10:00
hiker
08cd8bf235
Added debug output.
2017-06-08 09:17:34 +10:00
hiker
f772c090ec
If a state from the server is received in the future (which can happen
...
if the server is forced to a rewind), make sure to still replay
the state.
2017-06-07 22:09:22 +10:00
hiker
0cc3a2d63f
Removed unnecessary call.
2017-06-07 18:57:24 +10:00
hiker
48bbdc0e07
Determine end of rewind period by reaching the latest TimeStepInfo
...
(i.e. the one that was just added for the upcoming timestep that
first needed to do the rewind) instead of comparing world time
and end time - the latter is prone to floating point differences,
causing rewinds to 'rewind' the timestep that has yet being computed.
2017-06-07 09:33:40 +10:00
Marianne Gagnon
e4f2d0b1d5
Fix OS X build following libpng upgrade
2017-06-05 20:52:46 -04:00
Deve
15ce5b4ebf
Fixed windows compilation
2017-06-05 21:54:44 +02:00
Deve
ccf3893abb
Apply our modifications to libpng cmake script
2017-06-05 21:16:22 +02:00
Deve
9ebdb5fd00
Update libpng to newer version in order to fix some vulnerabilities.
...
I decided to just make a bug-fix update and keep the 1.5.x series because newer versions may also need the zlib update.
2017-06-05 21:10:38 +02:00
hiker
a13856c6d1
Adjust DT on client (due to server requests) at time DT is computed
...
(to keep consistent DT across all further calls, esp. avoid
issues with rewinding getting different DT).
2017-06-05 09:46:34 +10:00
hiker
f32a1961e2
Minor bugfix.
2017-06-05 09:06:12 +10:00
hiker
3747427c5f
ixed handling of adding states to time step info to minimise
...
rewindw by assigning new events to existing time step info events.
2017-06-05 08:54:52 +10:00
Deve
37a2752162
Use newer seat version if possible
2017-05-31 23:47:19 +02:00
Deve
212411fb49
Allow to repeat keys
2017-05-31 22:31:46 +02:00
Deve
d6e5e04666
One more tweak
2017-05-31 22:29:28 +02:00
Deve
c13f812290
Simplify previous commit and also fix the double egl context deletion
2017-05-30 21:39:30 +02:00
Deve
26a6c49fc1
Add missing break
2017-05-30 00:34:39 +02:00
Deve
e00995d099
Allow to use GLES renderer with Wayland device.
...
It would be nice to simplify it a bit, i.e. decide if OpenGL context should be created on device side or driver side, use single constructor in GLES driver etc... But I'm not really sure how it will look like after Benau's space partitioning work, so some refactoring postponed till later.
2017-05-30 00:30:00 +02:00
hiker
34af963cc1
Fixed incorrect server-start-delay (caused by the start delay
...
being delivered in a different thread, so adding DT in the main
thread was not the right time step).
2017-05-29 15:08:32 +10:00
Deve
c8137fc0fa
Add a possibility to set a window class in irr device.
...
This makes one ugly #ifdef less in the irr_driver.cpp.
2017-05-25 21:26:31 +02:00
Deve
b5f2e4d163
Allow to set window caption
2017-05-25 20:49:10 +02:00
Deve
0c18090669
Minor simplifications for keyboard on wayland
2017-05-25 17:27:08 +02:00
Deve
ce0a7bde84
Correct the rule for Polish plural forms.
...
It's already fixed in transifex.
2017-05-25 16:17:38 +02:00
Deve
8989cc97b5
Some fixes for keyboard on wayland
2017-05-24 01:17:25 +02:00
hiker
742be06c21
Removed code duplication by using macros.
2017-05-22 12:38:21 +10:00
Deve
2102b059de
Update sources.cmake
2017-05-18 21:26:38 +02:00
Deve
8968706c09
Merge branch 'wayland'
2017-05-18 21:25:53 +02:00
Deve
bc25bc4435
Keep consistency with other irrlicht defines
2017-05-18 20:48:42 +02:00
Deve
abde57cd4a
Add mouse wheel event
2017-05-17 22:44:22 +02:00
Deve
36368041ee
Mostly cleanup and style modifications
2017-05-17 22:43:56 +02:00
hiker
fb5a600787
Remove 'duplicated' input events (e.g. auto-repeat might send
...
'accelerate' events over and over). This reduces traffic to
the server and other clients (and fixed a bug caused by rewinding
those events in the wrong order).
2017-05-17 09:19:19 +10:00
hiker
54fdd2d586
Add prefix for log messages during a rewind.
2017-05-16 22:01:32 +10:00
hiker
6162be9432
Add support for a 'prefix' to be printed for all log messages.
2017-05-16 22:00:35 +10:00
Deve
f99bc25845
Avoid semi-transparent window
2017-05-15 21:17:03 +02:00
Deve
961ac4d79e
Better fix for glew
2017-05-14 00:06:54 +02:00
Deve
1966d3f072
Use x11 functions in irr_driver only if x11 device was created
2017-05-14 00:05:36 +02:00
hiker
91bad37939
Fixed incorrect position for a rubber ball in a cannon.
2017-05-13 21:38:59 +10:00
Deve
da802d836d
Some fixes for mouse cursor.
2017-05-12 22:58:33 +02:00
Deve
ba39e88680
Update cursor when visibility is changed
2017-05-12 21:47:51 +02:00
hiker
bdbc7fd728
Reduce the height of a rubber ball in a cannon over time, so that
...
it starts closer to the ground when released after the cannon.
2017-05-12 17:52:15 +10:00
hiker
490bef516e
Fix crash: the ProjectileManager must be cleared before the CheckManager
...
(since a rubber ball will emove itself from all cannon checklines, so
a crash happens if the checklines are gone).
2017-05-12 17:39:53 +10:00
hiker
1b75ed9b4c
First fix for the basket-ball in cannon - make the ball follow
...
the cannon.
2017-05-12 17:11:46 +10:00
Deve
23c428160f
Some fixes
2017-05-12 00:57:01 +02:00
hiker
03f4b76a32
Fixed various compiler warnings.
2017-05-09 09:34:37 +10:00
hiker
3a176f818c
Merge remote-tracking branch 'origin/master'
2017-05-09 09:26:30 +10:00
auria.mg
dbd0cfa7d0
Expose the time of day to scripting, see #2315
2017-05-06 18:48:18 -04:00
auria.mg
242c8be90c
Pause the bomb during animations, fixes #2846
2017-05-06 18:46:25 -04:00
Deve
70dc99ca6c
Fixed some non-working keys.
...
We can't include linux/input.h because it breaks irrlicht keys.
2017-05-06 23:25:00 +02:00
Deve
632a759ee6
Allow to choose device type using environmental variable
2017-05-06 22:38:05 +02:00
Deve
e02a8f4448
Allow to make single build with both x11 and wayland device
2017-05-06 21:53:32 +02:00
Deve
2f1b61b798
Remember mouse button states
2017-05-05 23:04:18 +02:00
QwertyChouskie
58a170b4b7
Update string ( #2824 )
...
* Change message
* Update string in another file.
* Update addons_manager.cpp
* Update news_manager.cpp
2017-05-04 19:17:08 -04:00
auria.mg
553207fc11
Fix assertion failure if a bomb explodes while in a cannon, see #2846 (the bug is not quite fixed)
2017-05-04 19:12:17 -04:00
Deve
a9c2a1922a
Some work on support clipboard
2017-05-04 22:36:12 +02:00
Deve
e27df23415
Draw mouse cursor
2017-05-04 21:06:40 +02:00
Deve
da65650b75
Allow to write unicode characters.
...
Needs some cleanup.
2017-05-03 20:45:42 +02:00
Deve
fc79ee50d0
Add the ping/pong events to avoid non-responding window and few other minor fixes
2017-04-28 23:04:34 +02:00
Deve
01ffc129fb
Make it working for current wayland/weston
2017-04-24 22:26:47 +02:00
Deve
f31e4f8ea4
Add missing files
2017-04-23 21:22:15 +02:00
Dagan Martinez
ec3a74f758
Changed "macOS X" to "macOS" ( #2843 )
...
No such system stylized as "macOS X."
Left "OS X Install" because I don't think Apple uses install DVD's anymore since renaming as macOS?
2017-04-22 18:49:37 -04:00
Deve
5d9b1e103d
Rename file
2017-04-22 21:55:24 +02:00
Deve
63517dd4be
Better EGL context creation
2017-04-22 21:51:49 +02:00
Deve
035c33f960
Merge branch 'master' into wayland
2017-04-22 21:11:10 +02:00
Deve
72012120d9
Merge branch 'egl2'
2017-04-21 21:09:21 +02:00
Deve
d0a909361b
Revert "Avoid reading/writing out of array"
...
This reverts commit 7f53faed4a .
2017-04-21 21:06:53 +02:00
deve
f4e803220b
Some minor fixes
2017-04-21 08:51:54 +02:00
Deve
9fc3578b51
Rewrite whole EGL manager.
...
Now it allows to create OpenGL context, so we can use it for Wayland.
2017-04-20 23:20:21 +02:00
auria.mg
49be7570a9
Fix inaccuracy in readme
2017-04-19 19:17:48 -04:00
hiker
db71824804
Minor documentation update.
2017-04-19 23:33:31 +10:00
Yevgeny
89c3a5cc65
Improved README.md's quality - April 17 2017 ( #2839 )
...
* Massive README.md update
Readme.md updated and cleaned up, a new section was added
* More updates to README.md
Updated README.md with another STK Winbuild method, some additonal
changes - mostly to enrich and improve the language of the readme file.
Windows_build.md is just a scratch pad for README.md's Windows sections.
* more tweaks to the file
more tweaks, old windows build method was removed because it is
confusing. additional tweaks were added
* More tweaks to the file
Updated the file to correct issues that were found in
supertuxkart/stk-code#2839
Disk space requirement was updated to be more correct.
mention of libvpx-devel was temporarly removed.
step 8 was revised slightly
* quick mistake correction
2017-04-18 19:02:24 -04:00
hiker
752b0645fb
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-04-18 23:17:04 +10:00
hiker
c23873da37
Properly fix driving no physical objects to enable smoothing (e.g.
...
volcano in both directions).
2017-04-18 23:07:24 +10:00
Benau
31f9acf7ed
Update config.xml with libopenglrecorder
...
Consider use mjpeg / h264 (DIY compile) for HQ video
2017-04-18 14:08:30 +08:00
auria.mg
3fcf62a84a
Add support for multiple crah sounds, update sfx credits
2017-04-17 20:42:20 -04:00
Benau
76491d13ec
Update cmake sources list
2017-04-17 09:50:15 +08:00
Benau
fd07df4251
Merge remote-tracking branch 'origin/libopenglrecorder'
2017-04-17 09:49:36 +08:00
Benau
0e15e6de75
Update readme for libopenglrecorder
2017-04-17 09:47:03 +08:00
Benau
6911db0ac2
Remove duplicated code
2017-04-17 09:28:41 +08:00
auria.mg
2da86cab08
Cleanup hack that seems unecessary
2017-04-16 21:17:13 -04:00
Benau
487d007b17
Try to use progress bar to indicate the encoding progress
...
Need an updated libopenglrecorder
2017-04-15 16:30:43 +08:00
Benau
f3e0d2f9e9
Revert move capture right before glfencesync if possible
2017-04-13 15:13:47 +08:00
Benau
4de0ca83aa
Move capture right before glfencesync if possible
2017-04-13 13:59:36 +08:00
hiker
158a771363
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-04-13 00:22:10 +10:00
hiker
4dce66ba6d
Worked around incorrect normal calculation if the kart was driving
...
on a physical object.
2017-04-13 00:21:35 +10:00
Benau
fe0fe828a0
Fix travis build
2017-04-12 13:41:14 +08:00
Benau
b1f9ce2dbd
Remove libwebm and recorder code
2017-04-12 11:51:59 +08:00
auria.mg
ad092f0213
Add missing language
2017-04-11 18:42:32 -04:00
hiker
efec344738
Fixed more 64-bit related compiler warnings.
2017-04-11 22:30:57 +10:00
deve
6599ceddec
Fixed server only build
2017-04-10 06:15:01 +02:00
Benau
f30962b944
Use lambda to workaround __stdcall issue
2017-04-10 10:00:34 +08:00
Benau
bcf996e291
Fix callback
2017-04-10 08:53:55 +08:00
Deve
f2e2ebb259
Update readme
2017-04-09 21:48:15 +02:00
Benau
ab10f335e9
Remove glew include in libopenrecorder
2017-04-10 01:26:52 +08:00
Benau
c69ea65ac2
Use RGBA for capture
2017-04-09 16:19:09 +08:00
Deve
c06ea3447d
Revert "Move loadSfx to the SFXManager thread"
...
This reverts commit ce426d82cc .
2017-04-09 09:29:25 +02:00
Benau
a5759afac7
Improvements from Stragus and leyyin
2017-04-09 15:28:28 +08:00
Benau
156b799011
Remove STK headers in recorder and use c++11 thread library
2017-04-09 14:16:45 +08:00
Corentin Pazdera
c00c35e59a
Fix appveyor build by using correct branch for dependencies ( #2834 )
2017-04-08 18:48:49 -04:00
hiker
c6109c9392
Try to fix linux compilation.
2017-04-08 23:36:41 +10:00
hiker
f2138e062d
Tried to fix all 64-bit related compiler warnings triggered from files
...
in graphics.
2017-04-08 23:25:33 +10:00
Deve
91e7c51ae7
Make sure we don't link with GLU
2017-04-08 12:31:09 +02:00
Deve
9efe8ae4fa
One more fix for mingw
2017-04-07 21:34:28 +02:00
hiker
5af4ea35a7
Fixed 64-bit related compiler warnings.
2017-04-07 23:43:01 +10:00
hiker
668fdd3b49
Fixed some 64-bit related compiler warnings.
2017-04-07 23:25:52 +10:00
hiker
14ec154f19
Try to fix linux build.
2017-04-07 20:27:11 +10:00
Deve
724cb100e0
Make grass material more bright in legacy pipeline
2017-04-07 00:02:31 +02:00
Deve
7f53faed4a
Avoid reading/writing out of array
2017-04-06 23:48:49 +02:00
hiker
8a1d0bae34
Fixed some 64-bit related compiler warnings on VS.
2017-04-07 00:41:08 +10:00
hiker
5e5d86bc6d
On windows look for the 64-bit dependency package in dependencies-64bit.
...
This allows installation compiling 32 and 64-bit windows versions from
the same repo without switching dependencies.
2017-04-06 23:59:01 +10:00
deve
70d7fdd197
Fixed mingw compilation.
...
It should be possible to simplify it with something like
find_library(CURL_LIBRARIES NAMES libcurl libcurldll PATHS "${PROJECT_SOURCE_DIR}/dependencies/lib")
so you can look if it works on Visual Studio.
And as far as I see pkgconfig is used only on unix. Btw. I'm also not sure if it should be if(UNIX AND NOT APPLE) ?
2017-04-06 11:39:53 +02:00
Daniel Butum
2ba148a84e
Add appveyor and freenode chat badges to README ( #2819 )
2017-04-05 21:57:36 -04:00
Corentin Pazdera
eca2a99f38
Add irc notifications to appveyor with the script from battle of wesnoth team ( #2688 )
...
https://raw.githubusercontent.com/wesnoth/wesnoth/master/utils/appveyor/irc-notify.py
2017-04-05 21:57:09 -04:00
Benau
b2d3817de3
Merge remote-tracking branch 'origin/master' into advanced_recording
2017-04-06 09:43:36 +08:00
Benau
ab554315b5
Remove non-supported video format
2017-04-06 09:37:32 +08:00
Deve
240041f520
Fixed android compilation
2017-04-05 21:49:52 +02:00
Deve
1d39030f51
Assume that EGL version is always greater than 1.3 because otherwise we won't be able to create GLES 2.0/3.0 context.
2017-04-05 21:49:42 +02:00
Deve
635ea89cd0
Some corrections with egl attribs
2017-04-05 21:49:33 +02:00
Deve
3961a9a3b7
Move EGL context to separate class.
...
It will allow to use it for OpenGL + Wayland.
2017-04-05 21:49:24 +02:00
hiker
96bdf77050
Merge branch 'physics-tweaks'
2017-04-06 00:06:22 +10:00
hiker
00bba293ad
Merge remote-tracking branch 'origin/master' into physics-tweaks
2017-04-05 23:59:34 +10:00
hiker
6c4f6d1cf5
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-04-05 23:14:29 +10:00
Benau
391d31659b
Remove hardcoded 44100 samplerate
2017-04-05 15:43:47 +08:00
Benau
bb529c011e
Add message queue for result callback
2017-04-05 12:31:39 +08:00
Benau
1a072d609f
Add vp9 encode support, though it encodes very slowly
2017-04-05 01:10:44 +08:00
Benau
85de10ffb5
Fix memory leak
2017-04-04 23:53:44 +08:00
Benau
b7c709c709
Allow muxing mjpeg with vorbis audio with mkv
...
Not sure if playable in with all players
2017-04-04 16:12:09 +08:00
Benau
b0d0a0739e
Add CMake flag to enable / disable recorder
2017-04-04 14:23:04 +08:00
Benau
0bb5bfb930
Don't use dlloaded function in pulseaudio recorder namespace
2017-04-04 12:19:29 +08:00
Benau
ea6719990a
Move all recording code into recorder folder
2017-04-04 10:04:55 +08:00
Benau
2d4bfa9fb0
Use shared library for vpx on msvc
2017-04-03 14:32:07 +08:00
Benau
6bc935d085
Try to build 64bit appveyor
2017-04-03 09:20:14 +08:00
Benau
19f88e3939
Allow stk to be built with 64bit msvc
...
Please use lastest adv_recording_64 branch in repo
2017-04-03 01:33:13 +08:00
hiker
fdcb39b8fc
Fix #2812 (non-smooth cannon behaviour).
2017-04-02 21:06:10 +10:00
Benau
8a5e28251e
Fix mingw build
2017-04-02 14:55:55 +08:00
Benau
adf889a885
End vorbis encoder thread more properly
2017-04-02 10:36:21 +08:00
Benau
ab2ce24914
Reduce cpu usage
2017-04-02 10:28:46 +08:00
Deve
9bde708155
Tweak generate assets script to save few Mbytes in the apk.
...
Musics are still not-that-bad while they take less space.
2017-04-02 00:19:13 +02:00
Benau
9bfe4200c4
Only use TJFLAG_FASTDCT if supported
2017-04-02 00:43:31 +08:00
Benau
7f23d062b7
Use turbo jpeg for compression
2017-04-01 16:41:06 +08:00
Benau
8a8b388170
Allow pulseaudio to be loaded dynamically
2017-04-01 15:21:58 +08:00
Benau
294aa3ad48
Allow recording 16bit pcm data with any channels
2017-04-01 11:02:14 +08:00
Benau
cfea104a50
Apply camera fix from Stragus
2017-04-01 10:33:48 +08:00
Benau
cacbdbd668
Allow recording audio in windows using wasapi
2017-04-01 00:52:38 +08:00
hiker
794f1b59ed
Removed unused code.
2017-03-31 23:30:55 +11:00
hiker
db31237d19
Removed old workaround for uneveness in tracks, which contributed
...
to karts sometimes being able to drive up walls.
2017-03-31 23:13:38 +11:00
Benau
29d0839162
Move libvpx parameters to user config
2017-03-31 12:22:21 +08:00
Benau
21ff135b04
Merge remote-tracking branch 'origin/master' into advanced_recording
2017-03-31 11:50:24 +08:00
Benau
9039324145
Allow muxing into webm using libwebm
2017-03-30 13:30:21 +08:00
hiker
1cd5bb66c9
Try to better handle small 'gaps' (or perhaps floating point
...
rounding errors) in tracks that can cause odd physics behaviour
(e.g. being able td drive upp the walls).
2017-03-30 00:08:30 +11:00
hiker
6f293af93a
Merge branch 'physics-tweaks' of github.com:supertuxkart/stk-code into physics-tweaks
2017-03-29 08:49:51 +11:00
hiker
3da2c07d62
Enable friction to be changed per wheel: previously sliding was only
...
enabled once the whole kart chassis was tilted enough, but karts could
still end up driving on a wall (one wheel on a wall would not tilt the
chassis enough to trigger sliding, but give the kart an up velocity
which allowed it to drive on the wall). Friction is now determined
by the normal of the triangle hit by the raycast.
2017-03-29 08:32:50 +11:00
Deve
af98b526d6
Give few more fps in GLES renderer by pre-computing diffuse/specular color
2017-03-28 22:15:33 +02:00
QwertyChouskie
0123228c20
Set menu FPS to 60 ( #2823 )
...
Smoother, see https://github.com/supertuxkart/stk-code/issues/2302 .
2017-03-27 21:56:20 -04:00
hiker
2875e7ca6f
Revert "Comment out caching so that appveyor can download new dependencies."
...
(which should have been done on master).
This reverts commit 2819801c7e .
2017-03-28 12:20:17 +11:00
hiker
a3544735db
Re-enable caching now that appveyor has downloaded the new dependencies.
2017-03-28 11:00:33 +11:00
hiker
345d9c3ef1
Comment out caching in appveyor config to allow it to download new dependency package.
2017-03-28 10:44:12 +11:00
hiker
2819801c7e
Comment out caching so that appveyor can download new dependencies.
2017-03-28 10:42:37 +11:00
Benau
df758669d3
Use high resolution timer for AV sync
2017-03-28 00:44:12 +08:00
Deve
0f9151e5d2
Move recording settings to separate group
2017-03-27 00:31:55 +02:00
Deve
075afde636
Fixed kart particles for GLES with disabled advanced lighting
2017-03-27 00:25:39 +02:00
Deve
a7f0d3762c
Some fixes for GLES renderer.
...
- Don't use BGRA format at all. It doesn't work with non-typical cases (i.e. with srgb or compressed textures) and also casues artifacts on some android devices. I kept the extension in central settings, but it probably won't be used.
- Use sRGB texture format when advanced lighting is enabled. This makes it closer to the original OpenGL renderer and also avoids to have even more #ifdef's for sRGB conversions.
- Keep RGBA textures for non-advanced lighting to make it simpler.
Now advanced lighting in GLES looks almost the same as in OpenGL 3.x (without shadows/GI)
2017-03-25 22:23:46 +01:00
Benau
be103dd666
Implement real time vp8 encoding
2017-03-25 16:30:41 +08:00
Deve
5931e20f8b
Use highp precision qualifier.
...
For OpenGL 3.x renderer it only matters for some buggy drivers (i.e old AMD driver that complains about missing precision qualifier). Based on specification is should have no effect and was added for compatibility with GL ES.
In our case vertex and fragment must have the same precision because we use common header for both shader types and the precision for uniform variables must match.
Also "precision highp float;" is defined by default for both vertex and fragment shaders, so it seems to be more proper.
This will hopefully solve the problem with nvidia driver that tries to use f16vec4 instead of just vec4, see:
https://forum.freegamedev.net/viewtopic.php?f=17&t=7397&sid=06682ddb05ee9fbf48a2984d0bd48d5b
2017-03-24 22:21:09 +01:00
Benau
a68c085e95
Use pulseaudio + vorbisenc for sound recording (linux for now)
2017-03-24 21:51:17 +08:00
hiker
9fdd39b075
Removed unused code.
2017-03-24 16:35:45 +11:00
Marianne Gagnon
8461ffcc68
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2017-03-23 21:03:10 -04:00
Marianne Gagnon
b85d84c9dd
Remove outdated Apple-specific code
2017-03-23 21:02:16 -04:00
Benau
372ce6923c
Log in terminal if recording isn't supported
2017-03-24 08:51:42 +08:00
hiker
6c35c08474
Increased suspensoin stiffness to offset the reduced impulse casued
...
by removing the '*f' factor (seee 9a5eec3761 ).
Otherwise the AI triggers rescue in sandtrack because of very frequent
chassis-track collisions.
2017-03-24 09:58:26 +11:00
hiker
b26d833e84
Fixed compiler warnings.
2017-03-24 08:41:17 +11:00
hiker
f35b9c9480
Try setting kart (vs track specificially) friction to 0, and
...
reduce roll/pitch impact which should keep karts more parallel
to the ground.
2017-03-23 19:22:53 +11:00
hiker
b8655e53cc
Added support to modify the angular factor of a kart. The angular
...
factor can be used to reduce the effect of an impulse for roll
and pitch - keeping karts more parallel to the ground.
2017-03-23 19:07:34 +11:00
Benau
2660a5b332
Allow message queue to be able to do linebreak
...
Also set "/" and "\" to be breakable
2017-03-23 00:51:50 +08:00
Benau
aecb1a97ce
Update license of img.h as Stragus said in IRC
...
Also remove unneeded file
2017-03-23 00:12:06 +08:00
Benau
81c6735ba2
Fix when getNumProcessors return 0
2017-03-22 20:47:34 +08:00
deve
a3a8289836
Fixed a hang on startup under cygwin
2017-03-22 13:17:04 +01:00
deve
4df773d283
Some fixes in cmake.
...
Note that you need updated dependencies on windows.
2017-03-22 10:24:33 +01:00
hiker
f55c39b3b1
Support setting of friction for karts, moveable and track in stk_config.xml
...
and kart_characteristics.xml (for now no changed settings, all are at
tbe default of 0.5).
2017-03-22 19:52:03 +11:00
Benau
41e66bef37
Allow keeping target name after changing resolution
2017-03-22 12:44:32 +08:00
Benau
9a69859c8f
Fix crash when deleting AVIWriter with file closing
2017-03-22 11:34:42 +08:00
Benau
7e9f723038
Allow recording video with ctrl + printscreen
2017-03-22 10:43:02 +08:00
Benau
4b663a08ce
Use array deallocation
2017-03-22 09:58:22 +08:00
Benau
9034d89a31
Add the missing clear()
2017-03-22 09:53:02 +08:00
Benau
58c665efc6
Merge branch 'avi_writer'
2017-03-22 09:14:35 +08:00
Benau
740bf19446
Fix grammar
2017-03-22 09:08:44 +08:00
Benau
6ef70e2e7c
Use message queue to inform users about recording status
2017-03-22 09:02:21 +08:00
Benau
2b9a84253a
Make MessageQueue thread-safe
2017-03-22 08:40:58 +08:00
Benau
668b28f632
Allow to config whether to limit game framerate with recordings
2017-03-22 07:43:00 +08:00
Benau
196b2b722c
Fix mac build
2017-03-22 07:42:48 +08:00
Deve
4ef8ec3af2
Fixed a warning in shaders compilation
2017-03-21 19:42:53 +01:00
Deve
583b858860
Handle #stk_include in better way.
...
It allows to use it recursively.
2017-03-21 18:41:18 +01:00
Benau
f58cf2d9cc
Better handling with thread
2017-03-22 00:39:24 +08:00
Benau
3ed52e26d0
Call createFile only in AVIWriter thread
2017-03-21 16:16:10 +08:00
Benau
e2482e602c
Don't use irrlicht image
2017-03-21 14:35:20 +08:00
hiker
5bbacfc72d
Allow tracks to set their friction (defaults to the bullet default 0f 0.5).
2017-03-21 16:24:29 +11:00
Benau
449d63c0d8
Save record option in user config
2017-03-21 13:08:08 +08:00
Benau
547d28a9e4
Use jpeg-turbo library in msvc
2017-03-21 09:17:39 +08:00
samuncle
8265bb14f3
Revert, the high frequency noise has it's own branch
2017-03-20 15:15:51 -05:00
Sam
16c0736f8b
Add base for detail map with splatting
2017-03-20 20:49:54 +01:00
Benau
3087a7c856
Don't call malloc for each frame
2017-03-21 01:09:20 +08:00
Benau
78dcabb143
Try to maintain a better synchronization with game framerate
2017-03-20 16:16:26 +08:00
Deve
2a64ce94c8
Some fixes for scale rtts.
...
- Don't force using rtts when advanced lighting is disabled because it actually makes the game slower
- Keep the minimap and kart selection screen in high quality
2017-03-18 22:26:35 +01:00
Benau
88cbcd202c
Don't enable AVIWriter if PBO is not usable
2017-03-18 16:06:38 +08:00
Benau
8259026ac1
Make AVIWriter threaded and get pixel with 3 async PBOs
...
Also try to record at a fixed 24fps
2017-03-18 15:50:18 +08:00
Benau
21cbcd9185
Load speedmeter texture before rendering the first frame
2017-03-18 08:30:50 +08:00
Benau
d3d7c95b4d
Fix msvc build
2017-03-17 17:19:46 +08:00
Benau
65da13fc52
Merge remote-tracking branch 'origin/threaded_tex_loader' into avi_writer
2017-03-17 16:31:32 +08:00
Benau
09e2f96ba8
Remove libpng's png_set_gamma
...
Stragus suggested:
It will degrade quality by converting from true sRGB to ^2.2 and
then rounding the values back on 8 bits
2017-03-17 13:19:56 +08:00
Benau
41844de6a5
Apply real fix from Stragus for normal map
2017-03-17 13:08:08 +08:00
hiker
6ac6d9ebfe
Fixed compiler warnings.
2017-03-17 15:56:47 +11:00
Benau
e1a563612f
Avoid calling gamma correction on non-srgb png
2017-03-17 10:15:06 +08:00
Benau
40a94b5562
First try to use Stragus's normal map filter on normal map texture
2017-03-17 09:57:45 +08:00
Benau
de3c9d7411
Allow to preserve more texture config
2017-03-16 16:20:05 +08:00
Benau
0f218cff32
Allow re-create ThreadedTexLoader with suitable capacity
2017-03-16 13:15:33 +08:00
hiker
9a5eec3761
Try tp reduce sudden rotation after a collision, and reduce frequencies
...
of kart being pushed into the air.
2017-03-16 16:14:48 +11:00
hiker
0f37f7cdc0
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-03-16 15:59:10 +11:00
Benau
feb66664f4
Don't build graphics utils if server only or gles
2017-03-16 11:29:16 +08:00
Benau
ce76abf4fe
Merge remote-tracking branch 'origin/master' into hq_mipmap_generator
2017-03-16 11:23:27 +08:00
Benau
ce426d82cc
Move loadSfx to the SFXManager thread
2017-03-16 11:01:46 +08:00
Benau
e0fcf7c613
Fix build for real
2017-03-16 10:52:12 +08:00
Benau
9025948ced
Fix build
2017-03-16 10:18:31 +08:00
Benau
b112b124f2
Fix build
2017-03-16 10:02:51 +08:00
Benau
d55b513ca8
Try to fix clang build
2017-03-16 09:51:09 +08:00
Benau
1ba3fce7b8
Get rid of STK::Tuple
2017-03-16 09:16:06 +08:00
Benau
cc2c2c6f33
Remove the usage of openmp in stk, see #2810
2017-03-16 08:42:53 +08:00
Benau
0f1e0f8f4d
Merge remote-tracking branch 'origin/optimisations'
2017-03-16 08:29:05 +08:00
Benau
02c8c87d5d
Remix all image quality options
2017-03-16 01:04:53 +08:00
hiker
d32cb733a5
Bugfix, if path was given the filename was not used at all.
2017-03-15 22:30:32 +11:00
Benau
1a0034bb9e
Apply fix from stragus
2017-03-15 13:35:09 +08:00
Benau
d08d2cc9c7
Avoid compling useless code in server only or gles
2017-03-15 12:45:35 +08:00
Benau
562131b53f
Make operator inline
2017-03-15 11:40:41 +08:00
Benau
f920ed7f97
Fix reloading texture with threads
2017-03-15 10:44:02 +08:00
hiker
698fe1aa1b
Merge branch 'fix2809'
2017-03-15 12:52:55 +11:00
hiker
a2bca46958
Fixed compiler warning.
2017-03-15 12:52:46 +11:00
hiker
71f247ecb7
Fix 2809.
2017-03-15 12:46:20 +11:00
Benau
6b0610af50
Don't use HQ Mipmap on colorization mask
2017-03-15 00:59:30 +08:00
Benau
bfd8198f72
Update from stragus
2017-03-15 00:25:20 +08:00
hiker
47835bc1ef
Fixed VS compiler warnings.
2017-03-14 22:39:27 +11:00
Benau
eef2c19db7
Merge remote-tracking branch 'origin/master' into hq_mipmap_generator
2017-03-14 13:06:27 +08:00
Benau
ea948014a2
Allow dumping single channel texture by manual conversion
2017-03-14 12:58:00 +08:00
hiker
9bee42ccb7
Merge remote-tracking branch 'origin/master' into fix-cannon
2017-03-14 15:10:27 +11:00
Benau
eedc7f55c9
Make addThreadedLoadTexture thread safe
2017-03-14 11:35:26 +08:00
hiker
e5eb40b773
Smooth skidding rotation when entering a cannon.
2017-03-14 12:51:10 +11:00
Benau
abfb402acb
Disable saving generated mipmap to disk
2017-03-13 12:47:13 +08:00
Benau
677723fe5d
Fix msvc build
2017-03-13 12:34:08 +08:00
Benau
ab10702d12
Try to fix build
2017-03-13 12:12:51 +08:00
Benau
a1492981cf
Apply fixes from Stragus for restrict keyword
2017-03-13 11:50:57 +08:00
Benau
76aa38e5b4
Try HQMipmapGenerator
2017-03-13 10:28:43 +08:00
Deve
6ea06e05de
Use kart lights only in shader-based pipeline.
...
It causes a huge slowdown in legacy pipeline, even if the radius is set to 0.
2017-03-13 01:26:48 +01:00
Sam
97670ed23c
Improved wind effect for vegetation
2017-03-12 21:35:48 +01:00
Deve
b8e3de0161
Allow to use debug menu on android
2017-03-12 11:42:21 +01:00
Benau
498ce3ebc9
Use a correct method to detect last queue texture
2017-03-12 15:03:02 +08:00
Benau
27fcc4e266
Allow custom memory management in IImage
2017-03-12 09:09:40 +08:00
rogue-spectre
d33d72dfb8
fix feedback offroad #2761 ( #2806 )
...
* Fix updateenginesfx
smooth engine sound and fix https://github.com/supertuxkart/stk-code/issues/2761
* update enginesfx
* remove m_last_max_speed useless
* forgot : float max_speed
* Add missing space around =
* add space around = m_last_factor_engine_sound
2017-03-11 09:04:38 -05:00
Benau
a274f217ed
Fix build
2017-03-11 15:41:54 +08:00
Benau
40a25e1d9e
Remove dependency on STKTexture (for HQ mipmap generator later)
2017-03-11 15:33:36 +08:00
Benau
ead543fae4
Avoid checking too many
2017-03-11 14:04:42 +08:00
Benau
ab673fc03b
Merge remote-tracking branch 'origin/master' into threaded_tex_loader
2017-03-11 13:55:18 +08:00
Benau
b0adb92964
Make sure all textures are uploaded without using timeout in TTL
2017-03-11 13:35:33 +08:00
Benau
6e80271ad9
Max texture size 2k and allow them to be threaded load
2017-03-11 09:41:46 +08:00
Benau
6eb69db4ea
Properly clean up when exit
2017-03-11 00:23:54 +08:00
Benau
579aa8a9d1
Allow setThreadName to be used in linux (glibc > 2.11)
2017-03-10 23:30:18 +08:00
Benau
85011791e4
Try to use priority queue
2017-03-10 20:43:40 +08:00
Benau
6b3441d2a0
Allow reload texture with threads
2017-03-10 15:40:58 +08:00
Benau
ed9b16fe7b
Don't use std::thread library
2017-03-10 15:02:21 +08:00
Benau
553c483bf4
Avoid unnecessary sync
2017-03-10 14:16:23 +08:00
hiker
0bd459c2aa
Fix the transition from physics orientation to cannon (i.e. no more
...
yerk when the kart is not parallel to the tangent of the curve at start).
2017-03-10 17:11:54 +11:00
Marianne Gagnon
62d64847c4
Fix texture paths on case-sensitive file systems, fixes #2807
2017-03-09 18:41:35 -05:00
hiker
aac92f6111
Code simplification.
2017-03-10 08:44:51 +11:00
hiker
5640436aa8
Support cannons in reverse tracks.
2017-03-10 08:38:03 +11:00
hiker
c8b69cecb6
Merge remote-tracking branch 'origin/master' into fix-cannon
2017-03-09 23:05:03 +11:00
hiker
a500f3becc
Applied Stragus' SSE optimisations for spherical harmonics.
2017-03-09 22:58:22 +11:00
hiker
12e6bab90a
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-03-09 22:42:06 +11:00
Benau
68e36268aa
Try to use pbo for each ThreadedTexLoader
2017-03-09 16:41:15 +08:00
auria.mg
2d6cf4c487
Remove a few more string allocations/manipulations
2017-03-08 20:42:16 -05:00
auria.mg
571832fbbc
Make all material names and path lowercase upon loading them, moving several string allocations and modifications outside of hot loops
2017-03-08 20:30:45 -05:00
Deve
adfa8f30f9
Better fix for missing transparency in GLES legacy pipeline
2017-03-08 23:17:03 +01:00
hiker
87950c9a94
Adjust up vector of kart slowly so that the kart is upright (even
...
when it was not upright at the start of the cannon).
2017-03-09 08:56:01 +11:00
Deve
21cb853079
One more tweak for hiding story mode icon if it's not available.
...
Now it should work properly, sorry for the mess.
2017-03-08 22:09:47 +01:00
Deve
d339d9acef
Fixed ambient light for legacy pipeline.
...
TODO: It should be possible to convert it once together with spherical harmonics computations.
2017-03-08 21:41:53 +01:00
Deve
11255cb2b8
Fixed wrong lights color for legacy pipeline.
...
SColor is ARGB, but SColorf is RGBA... WTF?
2017-03-08 21:12:24 +01:00
Benau
d864995c7d
First version of ThreadedTexLoader
2017-03-08 15:54:59 +08:00
hiker
bedb565f24
Simplified maths.
2017-03-08 17:57:03 +11:00
hiker
2436161b05
Approximate bezier curves better to avoid stuttering in cannons.
2017-03-07 22:24:46 +11:00
hiker
ae375c50b6
Allow the player to go to the left and right when in a cannon.
2017-03-07 22:11:15 +11:00
Deve
35139877f6
Fixed a crash on changing resolution
2017-03-06 23:10:29 +01:00
Deve
fcae7dfc33
Fixed compiler warnings
2017-03-06 17:22:44 +01:00
Deve
d4cecd5a8b
Show story mode icon only if overworld track exists.
...
It allows to decrease apk size a bit.
2017-03-05 23:31:53 +01:00
Deve
eeb7c8f5de
Added a support for release builds
2017-03-05 22:02:50 +01:00
Deve
be67fb1df9
Update readme
2017-03-05 08:55:35 +01:00
Deve
6c472660a1
Some additional checks for android assets manager.
...
If data was already extracted somewhere, then use this directory as preferred path. This is to avoid a situation that we have data extracted in two different places after STK upgrade.
2017-03-03 21:57:55 +01:00
Deve
11024569b0
More tweaks to GLES legacy pipeline
2017-03-02 22:19:10 +01:00
Deve
067518df5d
Fixed rtts in GLES legacy pipeline
2017-03-01 23:20:21 +01:00
Deve
282bb6c655
Always use fixed blending for GLES legacy pipeline
2017-03-01 21:44:11 +01:00
deve
82e724c12e
One more fix for GLES legacy pipeline
2017-02-27 06:41:26 +01:00
Deve
f6cdf79b1e
Avoid spamming with errors
2017-02-27 00:58:43 +01:00
Deve
2ff79141a0
Don't show exhaust emitter for legacy pipeline
2017-02-27 00:58:43 +01:00
Deve
40fe3585bb
One more fix for legacy pipeline in GLES renderer.
...
It looks that the second texture is not used at all and it may cause a crash, so just disable it.
2017-02-27 00:58:43 +01:00
Deve
6d395d4510
Some fixes for GLES renderer
2017-02-27 00:58:43 +01:00
auria.mg
5d342a2dab
Fix all tracks achivement following the replacement of the farm track
2017-02-25 20:56:17 -05:00
auria.mg
5b85d36dfa
Tweak a few challenges in easy mode following feedback
2017-02-24 20:06:29 -05:00
Benau
c7eeb8338d
Try to fix for gles
2017-02-24 19:03:14 +08:00
Deve
46619ec62a
Fixed gaussian blur
2017-02-23 20:40:06 +01:00
hiker
a7d1a312ad
Merge branch 'fix-cannon' of github.com:supertuxkart/stk-code into fix-cannon
2017-02-23 17:19:30 +11:00
hiker
bf61b98444
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-02-23 17:18:10 +11:00
hiker
b884f6429d
Fix stuttering of camera/kart when usnig a cannon (caused by the cannon
...
animation updating the (physical) kart position after the graphical position
was taken from the physical position, causing a stuttering because of the
differences between those two values.
2017-02-23 17:12:15 +11:00
Deve
b34e749198
Fixed nitro bar in multiplayer game when uniform buffer object is not available
2017-02-22 23:33:11 +01:00
hiker
f0efce62b1
Added debug view of target cannon line.
2017-02-23 09:00:07 +11:00
Deve
0767abe2bc
Draw a touch steering button that allows to run challenges.
...
It was broken because the fire button uses now the icon of collected weapon, so that it's not displayed at all when there is no weapon.
2017-02-22 21:43:36 +01:00
Deve
db4d11a0c5
Disable kart shadow for legacy pipeline in GLES renderer because it's broken
2017-02-22 21:04:28 +01:00
Deve
2ef6652183
Create a kart shadow only of shadow texture exists.
...
If the image doesn't exist, in some cases it can draw non-transparent square below the kart, which is unwanted.
2017-02-22 21:04:28 +01:00
Benau
02d3bd2c2b
Take item on walldriving tracks into account
2017-02-21 15:06:26 +08:00
Benau
3898678e76
Use raycasted position for point 2
...
Fix #2796 , #2774
2017-02-21 13:36:00 +08:00
Benau
0cf0002c08
Header clean up
2017-02-21 12:09:22 +08:00
auria.mg
eb9f656b44
Add config flag to persist GUI visibility state at samuncle's request
2017-02-20 19:16:49 -05:00
Deve
668e10d8ca
Don't use srgb format in gles
2017-02-20 21:56:33 +01:00
Deve
ef2cba0f85
Display multitouch settings properly on low resolutions
2017-02-20 21:56:33 +01:00
Deve
875d5d8ef9
Some tweaks to the arrows size in dynamic ribbon widget.
...
- arrow size now depends on screen size, so that it's now easier to click it on high resolutions
- it's additionally scaled on Android for easier usage
2017-02-20 21:56:33 +01:00
hiker
41df6afbf9
Fixed compilation.
2017-02-20 09:22:09 +11:00
hiker
a17b537699
Make cannon smoother.
2017-02-20 07:48:43 +11:00
hiker
30cff00757
Reduce internal physics timestep to test if collision handling improves.
2017-02-20 07:48:25 +11:00
hiker
8e8de3c5e2
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-02-20 07:45:26 +11:00
Benau
131dc4bfad
Fix #2786
2017-02-18 14:30:35 +08:00
Arthur-D
70511c5348
Lower terrain-impulse. It should keep its intended function of avoiding getting stuck when driving perpendicular to walls, but should be less forceful and look less artificial as a result.
2017-02-17 23:13:39 +01:00
Deve
40e326bb41
Avoid using fixed pipeline on newer intel graphics cards.
...
The force legacy device graphics restriction is needed for ironlake graphics cards. But newer generations in pentium/celeron processors also are named just "Intel(R) HD Graphics" without any number.
The newest drivers for ironlake graphics card is 8.15 and it's unlikely that it will get an update. So assume that all drivers older than 9.x are ironlake generation or that are too old to run STK anyway.
2017-02-17 21:23:22 +01:00
Deve
5cdcf39583
Add intel HD2000 to graphics restrictions.
...
It's just slower HD3000 version, so disable the same features for it.
2017-02-17 19:50:50 +01:00
Deve
ab8a68f295
Enable HD textures on newer intel graphics cards.
...
It should work fine for intel HD4000 and newer, especially after recent memory management improvements in STK.
2017-02-17 19:44:28 +01:00
Benau
269b1b5cb9
Add restriction for intel hd4600 on windows about compute shader
...
Fix #1916
2017-02-17 13:52:50 +08:00
Deve
299a4dc5f2
Don't check the TBO extension
2017-02-17 06:31:15 +01:00
Deve
251c46dcc4
Always call bind sampler function.
...
This fixes errors for Intel HD4000 on Windows.
My understending of this issue is following:
- a shader assigned two textures, i.e. texture1 = sampler1, texture2=sampler2
- then next shader (i.e. importance sampling specular) assigned two textures: texture1=sampler1, texture2=without_sampler
- when we executed setTextureUnits, the glBindSampler function wasn't called at all, so the drivers were trying to use combination texture2=sampler2, even though the sampler2 was prepared for different texture and most likely was already deleted.
We can just always call the glBindSampler function, so that if texture doesn't have a sampler, it will execute it with sampler_id=0 param, which is practically an "unbind" function.
2017-02-17 01:03:39 +01:00
auria.mg
f181acea3d
Add Jymis to credits
2017-02-15 18:38:56 -05:00
hiker
17751631f1
Protocol data structure uses now finer grained locks, avoiding that
...
asynchronous updates or event delivery can be delayed by synchronous
updates/event deliveries to a different protocol.
2017-02-15 09:57:38 +11:00
hiker
efeea8eeb2
More debug output.
2017-02-15 09:50:00 +11:00
Benau
c635e8d1c4
Get rid of some srgb conversion in shader, see #2787
2017-02-13 10:06:35 +08:00
Benau
d3cbc6ca0e
Fix GLES
2017-02-13 00:45:18 +08:00
Benau
ca0a605b0e
Don't use texture buffer object if not supported, see #2571
...
Also allow to use setTextureUnits for texture buffer
2017-02-12 15:42:22 +08:00
Benau
4af255431c
Fix opengl warning about glTexSubImage2D buffer of null pointer
...
For example, whitespace in freetype glyph has no bits buffer
2017-02-12 10:23:18 +08:00
Deve
68a99fd38b
Fixed sRGB for GLES renderer.
...
It's a bit ugly solution because we should handle it properly in one place and not add another sRGB correction... But it's already working solution and it doesn't affect the OpenGL renderer, so we can use it until better fix will be done.
Now the GLES renderer looks almost the same as the original OpenGL 3.x one :)
2017-02-11 23:56:44 +01:00
Deve
e316df1807
Update readme
2017-02-11 14:40:54 +01:00
Deve
3794e0bbbe
Use slightly lower rate for explosion effect.
...
It causes fps drop on slow devices when explosion occurs near the camera and everything is white for a while.
2017-02-11 14:30:08 +01:00
Benau
48f27df1c9
Fix wrong angle when normal is exactly 0, -1 ,0
2017-02-11 16:05:10 +08:00
Benau
0ddada2897
Fix --track-debug crash
2017-02-11 14:42:24 +08:00
Deve
3f214c1bb7
Find textures once on race gui initialization
2017-02-11 00:51:22 +01:00
Deve
a877cb848f
Added better icons for touch steering.
...
Thanks to jymis!
2017-02-11 00:51:22 +01:00
Benau
ea95ffe424
Remove compiler warning
2017-02-10 18:21:27 +08:00
hiker
69658c557b
Refactored the event/state handling to make it somewhat faster by
...
avoiding creating smaller time steps on the server when events
from clients are received, and also made it easier to handle
duplicated states (i.e. server rewinds and sends a second state
for a certain time).
Still work in progress though.
2017-02-09 09:03:15 +11:00
Alayan-stk-2
0293dabfd3
New GP point system ( #2765 )
...
* Change grand-prix node for the new GP point system
* New GP point system
* Typo fix
2017-02-07 19:31:53 -05:00
Deve
5df2531a65
Added a hack that removes ugly lines when shadows are enabled.
...
Mathematically it's not 100% correct, but it looks much better.
2017-02-07 21:48:50 +01:00
Deve
77ff387f6b
Minor tweak
2017-02-07 14:38:40 +01:00
Deve
4852664143
Allow to use accelerometer for turning left/right.
...
It should be much more comfortable on small devices.
Though it's not possible to get default screen orientation (and real device orientation) using NDK functions, so at this stage user has to manually choose if he needs "tablet" or "phone" accelerometer.
2017-02-07 13:48:08 +01:00
Deve
a40fd4cde9
Handle new Polish format in tinygettext.
...
It's PITA because they broke it at it doesn't look that they are going to do something with it.
The plural form for number 14 is broken because the condition is bad. It should be n%100>14 instead of n%100>=14. In the past it was using 3rd form for numbers 12, 13, 14 and it's the proper form for these numbers. The new format uses 2nd form for number 14.
Moreover the condition for third form is just a negation of the first and second form, so that the 4th form actually never happens.
Also the condition for 3rd form is ambiguous. Should it be
(n!=1 && (n%10>=0 && n%10<=1)) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14)
or maybe
n!=1 && ((n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14))
Based on Unicode plural rules, the 4th form should be used for floating point numbers, but it's not supported by tinygettext anyway.
In short, handle the new format in the same way as it was before, so that the 4th form is useless, but at least everything works properly.
2017-02-06 20:39:30 +01:00
deve
cdd96f67dd
Draw powerup icon on a button when touch steering is enabled
2017-02-06 06:26:11 +01:00
Seebi
e5feb3d35f
Fix sometimes not initializing a soccer game - fixes #2769 ( #2772 )
2017-02-05 20:09:51 -05:00
Alayan-stk-2
8858d4d86f
Parachute improvements ( #2768 )
...
* Change grand-prix node for the new GP point system
* New GP point system
* Add parachute characteristics for rank and speed time multipliers
* Add new parachute characteristics
* typo fix
* Add rank and speed parachutes characteristics
* Add rank and speed parachute characteristics
* Add rank and speed parachute characteristics
* Add rank and speed parachute characteristics
* Add rank and speed parachute characteristics
* Add logic for parachute time scaling according to rank
* Add logic for parachute time scaling according to speed
* Separate GP and parachute branches
* Separate GP and parachute branches
2017-02-05 18:54:32 -05:00
Benau
5d30393641
Allow reload texture with control+f3 for sam in game
2017-02-05 14:10:26 +08:00
Benau
6fae872a69
Fix #2766
2017-02-05 09:11:48 +08:00
Deve
7c48c3e6cc
Choose a directory where we have the most available disk space for data extraction.
...
It's not a perfect solution because at least on my device internal storage is much faster than sd card. But at least it should be much safer to choose a path with more free space.
2017-02-03 23:53:47 +01:00
auria.mg
01765fce80
Fix crash
2017-02-02 19:54:48 -05:00
Benau
13081a07ec
Fix #2763
2017-02-03 08:41:18 +08:00
Deve
2557a700cc
Just to be more clear about explicit attrib location availability in GLES
2017-02-02 22:26:37 +01:00
Deve
19cb9cd041
Fixed a crash when starting cutscene
2017-02-02 22:22:33 +01:00
Deve
d4d5452825
Enable glBindSampler in GLES
2017-02-01 22:52:07 +01:00
Deve
b54c3648b3
Again missing parenthesis...
2017-02-01 22:15:48 +01:00
Deve
28d85d7ba3
Use explicit attrib location when the extension is available.
...
It allows to enable it easily in GLES renderer. And we check if this extension is available anyway because it's needed for shadows, so we can use it for other shaders too.
2017-02-01 21:58:10 +01:00
deve
d124c61e3c
Remove useless ifdef.
...
It should depend on features available in graphics drivers and not on headers that were used for compilation.
In theory there was a possible case that GL_VERSION_3_3 was not defined and CVS->getGLSLVersion() >= 330 was true, so that bind wasn't done at all.
And still GL_VERSION_3_3 should be always true for OpenGL renderer because it's defined in glew.
2017-02-01 10:40:48 +01:00
deve
3c8369b915
Set GLSL version for GLES.
...
It's not 100% true because GLES has different versions numbering. For example it doesn't have geometry shaders even if they were introduced in GLSL 1.50 (OpenGL 3.2).
But still in this way we make sure that it uses the same features on all devices, no mater if it's GLES 3.0, 3.1, 3.2 etc.
2017-02-01 10:30:46 +01:00
hiker
ffff62ff52
Removed debug code.
2017-02-01 18:06:36 +11:00
hiker
9df07ac0c2
Rearranged code somewhat to make it easier to read - only cosmetic changes.
2017-01-31 18:25:30 +11:00
auria.mg
93d6b1e515
Tweak camera settings
2017-01-30 19:17:27 -05:00
auria.mg
62e8ec86fa
Merge branch 'NewSmoothCamera'
2017-01-30 18:51:24 -05:00
Deve
fbffb108f1
Force to use rtts when scale_rtts_factor is set.
...
It allows to scale down resolution even if advanced lighting is disabled.
2017-01-31 00:18:02 +01:00
deve
bf64459458
Handle a case that advanced lighting is disabled in graphics restrictions.
2017-01-30 11:18:31 +01:00
auria.mg
e7252cc643
More work on camera smoothness
2017-01-29 21:48:54 -05:00
auria.mg
e8cb873f08
Finish smoothing the kart rotation
2017-01-29 21:37:58 -05:00
auria.mg
6d3eb84a8e
Reduce shaking a bit by smoothing kart position. Still need to smooth kart rotation, can't quite get it to work yet
2017-01-29 21:33:11 -05:00
auria.mg
56b6f81eb7
New smooth camera
2017-01-29 19:58:33 -05:00
hiker
d8706e2319
Added log message when server starts a race on clients.
2017-01-30 09:29:58 +11:00
hiker
a3b959cee9
Avoid that the server replays states saved in the previous frame.
2017-01-30 08:58:00 +11:00
hiker
6cc795fc60
Use a std::list instead of std::vector for the list of events. This allows
...
not to lock the whole event queue while an event is being delivered, which
allows more parallelism (especially the asynchronous eventss queue is not
locked while e.g. the world is loaded, which can take several seconds).
2017-01-30 08:54:23 +11:00
hiker
dfc5c1499c
Added separate log message for disconnecting clients.
2017-01-30 08:52:41 +11:00
Deve
803eba5d5c
Fixed typo
2017-01-27 22:44:22 +01:00
hiker
cebf24f3af
Don't use the time during a rewind to determine if a client needs
...
to slow down.
2017-01-27 23:45:25 +11:00
hiker
5690eb0edd
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-01-26 23:14:43 +11:00
deve
62bcf52f9c
Add a possibility to select team without a keyboard for single player mode
2017-01-26 10:23:45 +01:00
deve
99b2cd7e57
Some corrections in team selection events
2017-01-26 10:22:31 +01:00
deve
85f153f0d5
Move changing a team to separate function to avoid code duplication
2017-01-26 09:21:35 +01:00
Deve
49a77a8f48
Add a possibility to disable touch steering in options.
...
It may be useful if someone wants to play with external keyboard.
The multitouch_mode parameter will be also used to choose between steering with buttons and using accelerometer.
2017-01-25 21:50:11 +01:00
hiker
2ca7a1468e
Fixed compiler warning.
2017-01-25 22:17:06 +11:00
hiker
37af3a3690
Fixed coding style issues (same should be done with speedweight objects).
2017-01-25 22:16:40 +11:00
hiker
3edff9523e
Fixed compiler warning.
2017-01-25 22:16:40 +11:00
hiker
7ad0a0cf69
Fixed coding style issues (same should be done with speedweight objects).
2017-01-25 21:55:16 +11:00
hiker
ecc4e30cbe
Fixed compiler warning.
2017-01-25 21:51:26 +11:00
deve
9ede4d2185
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2017-01-25 10:29:18 +01:00
deve
fea3b1b3e5
Set curl nosignal option.
...
It fixes the crash under cygwin and should also fix a crash when c-ares/threaded resolver are not available in curl library.
Fixes #2753
2017-01-25 10:28:48 +01:00
hiker
0e6daf9319
Fixed compiler warning.
2017-01-25 18:19:37 +11:00
hiker
096d68c361
Merge remote-tracking branch 'origin/master' into game_protocol
2017-01-25 18:15:24 +11:00
hiker
426cbaaff5
Added '--auto-connect' command line option to automatically connect
...
a client to the first LAN server it finds and start a race - strictly
for debuggint ;)
2017-01-25 14:29:48 +11:00
auria.mg
6e8480379b
Add support of headlight models to karts
2017-01-23 20:14:42 -05:00
Arthur-D
925d756454
Adding some replays from Kitoko, thanks! Also removing a few so as to keep a low number of replays, and renamed easy replay files to novice.
2017-01-23 23:44:34 +01:00
hiker
b8bf4a3c2e
Fixed documentation.
2017-01-24 08:35:15 +11:00
hiker
241d31d8f9
Added support for slowing down time on a client. This is used by
...
a server to reduce number of rewinds.
2017-01-24 08:05:46 +11:00
deve
a1e8cb8acd
Try to fix build
2017-01-23 10:49:18 +01:00
deve
8c8d2ac8c4
Add a screen keyboard that can be used on touch screens
2017-01-23 07:14:09 +01:00
samuncle
d935f0318c
The exhaust is tweaked a bit
2017-01-23 00:27:31 -05:00
samuncle
9e1afc89ee
Add a permanant exhaust to the kart, tweaking needed
2017-01-22 23:20:07 -05:00
samuncle
50f3c224b3
change the name to development more accurate
2017-01-22 22:14:19 -05:00
samuncle
74cc87cd65
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2017-01-22 22:10:12 -05:00
samuncle
d600720830
Add a new category of production babies
2017-01-22 22:09:56 -05:00
auria.mg
2bcc579f61
Fix crash
2017-01-22 21:23:33 -05:00
samuncle
996cea5a14
Oups, I forgot to drop the light
2017-01-22 20:32:25 -05:00
samuncle
979f61b8c1
Add support for day/night notion in tracks
2017-01-22 19:28:08 -05:00
hiker
9b38e401f4
Store special time events for clients (otherwise incorrect or even
...
way too large dt is used in rewind).
2017-01-23 08:23:54 +11:00
samuncle
4f1101d62b
Activate headlight only for the player
2017-01-22 10:09:32 -05:00
samuncle
93011e934e
Merge branch 'master' into headlight
2017-01-22 08:35:07 -05:00
hiker
d038848c2e
If a client should have received a state in the future, use it (long
...
term this should not happen, since the server is behind the clients).
2017-01-22 17:41:47 +11:00
hiker
3712f1d600
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-01-21 10:59:15 +11:00
samuncle
e86e146442
Add emit map to a shader, so cars in candela are like small dots
2017-01-20 00:06:35 -05:00
samuncle
44207e9620
ground work for an headlight for karts to allow better visiblity in dark tracks
2017-01-19 23:45:42 -05:00
hiker
620a5b34f2
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-01-20 14:15:55 +11:00
hiker
b5f285a182
Fixed #2742 - incorrect triggering if cannon line triggereed Caused
...
by not updating m_front_xyz when moving the kart (so an incorrect
position was used to detect checkline triggering).
2017-01-20 14:13:12 +11:00
auria.mg
7234caffd9
Fix travis build
2017-01-19 21:11:44 -05:00
auria.mg
a0499fcfd6
Merge branch 'master' of https://github.com/supertuxkart/stk-code
...
# Conflicts:
# src/scriptengine/script_engine.cpp
2017-01-19 21:04:35 -05:00
auria.mg
52fff152de
Scripting : add support for "onStart" callbacks in library objects
2017-01-19 21:03:09 -05:00
samuncle
ef82257110
Add support for array in scripting
2017-01-19 20:49:46 -05:00
hiker
414c51a558
Bugfix: loop did not test if there were RewindInfo available; simplified
...
loop as well.
2017-01-20 10:46:37 +11:00
hiker
ef1f48da50
Refactored the queue handling to be a separate object from the
...
RewindManager. Added unit tests.
2017-01-19 17:30:34 +11:00
Benau
4506f4baed
Fix possible failed build
2017-01-18 18:42:19 +08:00
hiker
33caf5ed4b
Fixed unit test.
2017-01-18 20:57:40 +11:00
Benau
93ad594ff2
Merge branch 'fix_186'
2017-01-16 08:48:06 +08:00
Benau
5ad7b1491a
Add marker for kart selection screen
2017-01-16 08:45:34 +08:00
auria.mg
b758e2eb62
Do not crash when pressing hidden button on Gp results screen. Fixes #2734
2017-01-15 19:32:15 -05:00
auria.mg
02d3e7a371
Fix restarting race not resetting kart velocity during a cannon ride. Fixes #2738
2017-01-15 19:22:06 -05:00
Deve
20ed2ad277
Print a warning on low memory event
2017-01-15 17:01:23 +01:00
Deve
a82784ab8e
Minor modification that makes moving the list box smoother
2017-01-15 17:00:41 +01:00
Deve
7890c1669b
Merge pull request #2736 from nado/clanglto
...
Fix clang compilation
2017-01-14 15:50:37 +01:00
samuncle
b9dd867c86
Use gamma corrected decal
2017-01-14 09:41:29 -05:00
Nado
e866d88118
Fix clang compilation
2017-01-14 14:36:52 +01:00
auria.mg
6e2a11abd1
Update GPs and challenges for the new farm track replacement
2017-01-13 20:06:41 -05:00
Benau
44faae26bf
Fix typo
2017-01-13 18:39:57 +08:00
Benau
89c209bc6c
Try to fix server build
2017-01-13 18:10:08 +08:00
Benau
30de9aef62
Fix #186
...
Display win animation as jymis suggests in kart selection screen
2017-01-13 18:03:13 +08:00
Deve
5931ba288a
Don't crash if irrlicht shaders are not available for GLES.
...
They are needed only for legacy pipeline.
2017-01-12 21:43:11 +01:00
Benau
ec0ff7e984
Fix possible crash when dump the glyph pages
2017-01-12 13:22:41 +08:00
Benau
2127e44cc2
Remove clang compling warning
2017-01-12 09:54:20 +08:00
Benau
40fe84ddbd
Fix addon stk mercuy crash
...
Please avoid using 2nd uv layer on animated mesh
2017-01-11 14:29:37 +08:00
Benau
ffedf637de
Fix some override warnings
2017-01-11 13:34:25 +08:00
Benau
3105407b2f
Remove error when dropping tires in battle mode when kart dead
2017-01-11 13:33:54 +08:00
Benau
3bffe1f1a7
Allow texture error message to be used in STKTexManager
2017-01-11 10:55:18 +08:00
Benau
874d3d347d
Remove unused resize texture code
2017-01-11 09:46:00 +08:00
hiker
a8be3f8068
Removed unnecessary events crated by KartControl, added steer_left
...
and steer_right values from the player controller to the state to
fix steering synchronsiation problems.
2017-01-11 09:29:01 +11:00
Deve
527132b6c8
Allow to enforce default player using a config variable.
...
It can be used on Android until screen keyboard will be done.
2017-01-10 22:10:43 +01:00
Deve
0ffde761ef
Minor improvements in list box widget.
...
- Current time was broken because getTimeSinceEpoch() gives a time in seconds, so the timeout for double click was 500 seconds.
- I disabled the timeout for double click anyway because it's IMO not needed (and it was broken anyway and nobody complained). Second click on the same element always sends the "selected again" event.
- I removed code that hovers new item when mouse is moved during selecting because it was working rather strange. For example it was possible to slightly move a mouse during selecting the item and the action was executed on the first click, even if we expect double click.
- Action is executed on single click on Android
2017-01-10 21:30:45 +01:00
deve
9d9fb06401
Don't select new item when listbox was moving
2017-01-10 13:37:36 +01:00
deve
67b9c85918
Fixed GLES
2017-01-10 10:55:44 +01:00
Benau
5a31cd4e97
Support for backpedal animation
2017-01-10 16:13:34 +08:00
Benau
f1b0f529be
Fix #1679
2017-01-10 14:12:38 +08:00
Benau
aa01fafe92
Fix server build
2017-01-10 13:05:19 +08:00
Benau
21060133a8
Fix invalid read reported by valgrind when changing language
...
And fix possible crash
2017-01-10 12:52:50 +08:00
Benau
a55cc47845
Fix leaking font texture when changing language
2017-01-10 12:52:31 +08:00
Benau
9af219f691
Fix #1780
2017-01-10 11:39:01 +08:00
hiker
2641f0b067
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-01-10 13:25:53 +11:00
hiker
55e98e041c
Removed unused (or replaceable in case of clamp) functions from helpers.
2017-01-10 13:25:26 +11:00
auria.mg
87646463b8
Minor : upgrade profiler utils to use the logging functions
2017-01-09 20:36:08 -05:00
auria.mg
7e6761e968
Minor : reduce logging level
2017-01-09 20:30:08 -05:00
auria.mg
ebf3893f73
Minor : add a little documentation to user config
2017-01-09 20:29:41 -05:00
Benau
f7d843a7f7
Make dialog draggable in artist debug mode
...
So artist can view texture change by moving texture console
2017-01-10 09:22:08 +08:00
Benau
8acd2d689a
Merge branch 'new_texture_format'
2017-01-10 09:09:38 +08:00
Deve
ecd5445eed
Added a helper function that prints opengl errors
2017-01-09 23:21:40 +01:00
Benau
08876e30ab
Remove unused builtin font
2017-01-09 15:50:26 +08:00
Benau
bd20d2512c
Keep single channel for reloading texture
2017-01-09 15:35:57 +08:00
Benau
848dd05f11
Add IImage to STKTexture constructor for areamap texture
2017-01-09 15:04:34 +08:00
Benau
c4b4ea006e
We don't need to add a new glyph page for billboard text anymore
2017-01-09 13:16:40 +08:00
Benau
46be4948b2
AZDO for new texture format
2017-01-09 13:03:50 +08:00
Daniel Ölschlegel
be2e86166f
Update CIrrDeviceLinux.cpp ( #2731 )
...
Fix compile error under NetBSD
2017-01-08 20:44:04 -05:00
Benau
e049cb2bd6
Allow saving single channel compressed texture
2017-01-09 00:50:04 +08:00
Benau
71c14ff0b3
Convert code to a more readable format
2017-01-08 23:50:47 +08:00
Benau
1cc8371ac5
Preserve max texture size when restart
2017-01-08 22:02:04 +08:00
Benau
597461d680
Fix server build
2017-01-08 15:42:29 +08:00
Benau
21d35d4bcd
Display texture size instead of pointer location
2017-01-08 15:37:03 +08:00
Benau
00437e6d15
Allow using colorization mask with single channel texture only
2017-01-08 15:30:49 +08:00
Benau
4ba1b2408c
Minor optimization
2017-01-08 14:38:58 +08:00
Benau
6f191bd7da
Fix gles
...
Because in the past call texture->lock() will return unmodified
cached image (always bgra), now the image will be converted
dependently
2017-01-08 13:31:10 +08:00
James Cowgill
4aae66a050
Convert CREDITS to UTF-8 ( #2723 )
...
* Convert CREDITS to UTF-8
* Remove trailing whitespace in CREDITS
* Read CREDITS file as utf-8
* Make CREDITS file non-executable
2017-01-07 18:56:15 -05:00
Daniel Ölschlegel
64015348da
Update as_memory.cpp ( #2730 )
...
Merged required patch from OpenBSD and NetBSD
2017-01-07 18:55:10 -05:00
Daniel Ölschlegel
6e38e7429b
Update as_config.h ( #2729 )
...
NetBSD is a BSD
2017-01-07 18:52:39 -05:00
Benau
f609114594
Zero the array to prevent black border in glyph
...
Also use the correct internal format
2017-01-08 00:05:00 +08:00
Benau
314c32865b
Allow using single color channel for font texture
2017-01-07 16:36:25 +08:00
Benau
f78d749a0c
Fix no graphics run
2017-01-07 15:43:25 +08:00
Benau
6deb0e0f8a
Avoid using createImageFromData with preload data for texture
...
Todo: allow using single channel for font texture, saving 75% size
2017-01-07 14:45:47 +08:00
Benau
37a4d512ab
Add cache version inside the cache file
...
Also clean up commented out code
2017-01-07 10:44:29 +08:00
auria.mg
68fe1e58c2
Fix a few divisions by zero, see #2727
2017-01-06 21:26:16 -05:00
auria.mg
67e66b44b0
Improve texture cache code to use precise subpaths instead of hashes
2017-01-06 21:07:53 -05:00
Benau
3e5199334d
Drop models and lights when leaving model widget screen
2017-01-07 00:27:48 +08:00
Benau
ba8846522e
Implement cleaning for new texture
...
Also warn if there is possible texture leaking when exit STK
2017-01-06 23:45:25 +08:00
Benau
555cdacd83
Improve warning
2017-01-06 20:54:22 +08:00
Benau
437f89eea7
Clean up
2017-01-06 20:28:03 +08:00
Benau
66f3a2e32b
Make dump glyph page possible for new texture format
...
Also implement read-only lock, please use reload() for writing
2017-01-06 19:58:51 +08:00
Benau
2af126357d
Port font to use new texture format
2017-01-06 18:20:19 +08:00
Benau
4bcf03e296
Port reload texture to use new STKTexManager
2017-01-06 15:47:54 +08:00
Benau
827a483e85
Allow legacy pipeline to use new texture format
2017-01-06 15:04:15 +08:00
Deve
5f4bef044b
Pause/resume sounds when game is paused on Android.
...
We should handle both pause and focus events, but they may occur in different order or in some cases we may receive only lost focus event.
So we need to check the current state to make sure that pause/resume sounds is executed only once.
2017-01-05 15:53:32 +01:00
Benau
c7f9de3080
Merge pull request #2725 from LoadingPleaseWait/ghost-slipstream
...
No slipstream from ghost kart, fix #2721
2017-01-05 16:23:18 +08:00
LoadingPleaseWait
1cb329dccf
No slipstream from ghost kart, fix #2721
2017-01-05 02:10:35 -06:00
Benau
513f1e2edf
Add unicolor texture loading
2017-01-05 14:51:38 +08:00
Benau
6e4d7da487
Improve warning handling
2017-01-05 13:42:22 +08:00
Benau
c7d56d3edc
Allow caching compressed texture
...
Use std::hash for string (path + basename + max_texture_size)
2017-01-05 12:50:33 +08:00
Deve
fb0a54278a
Fixed possible crash.
...
STK could crash when invalid graphics restriction name was set in graphics_restrictions.xml file.
It's because of wrong while (m_names_of_restrictions[i] != NULL) condition.
2017-01-05 00:28:16 +01:00
Deve
23acade026
Make sure that legacy pipeline is used when it's set in graphics restrictions.
...
It was be done only for GLES before, but also for OpenGL some drivers create OpenGL 4.x compatibility profile context even if we request GL 2.1. So we can't assume that it will report GL2.1 and we should make sure that fixed pipeline will be used.
Actually now it works in the same way as force_legacy_device in config.xml.
2017-01-04 23:39:15 +01:00
Benau
99857ca193
Fix GLES
2017-01-04 15:05:04 +08:00
Benau
497f1e2785
Clean up billboard texture code
...
Todo: compress them in STKTexture class
2017-01-04 14:35:49 +08:00
Benau
c98e4f2bac
Simplify particle texture loading
2017-01-04 13:43:14 +08:00
Benau
63f57d6a9c
Fix wrong texture if absolute path is not given
2017-01-04 11:41:11 +08:00
hiker
2be59e7728
Avoid infinite loop when showing the in-race menu and a rollback happens.
2017-01-04 09:51:36 +11:00
hiker
6941317979
Increase server delay to reduce number of rewinds on server.
2017-01-04 09:50:43 +11:00
hiker
b3f6307107
Fixed crash when exiting a race early.
2017-01-04 09:23:57 +11:00
hiker
cd4a19e801
Reset snapshot frquency; fixed bug in rewind (which would stop with
...
the last event, and not rewind all the way back to the current time).
2017-01-04 09:17:54 +11:00
hiker
2df97ebc39
Disable skipping of ready-set-go in artist debug mode when networking
...
(can desynchronise client and server).
2017-01-04 08:18:41 +11:00
hiker
e5c5870564
Removed debug output.
2017-01-04 08:11:17 +11:00
Benau
1f8e047164
Update credits about new Hexley
2017-01-04 00:49:31 +08:00
Benau
05a29fe7da
Let material code handle premultiplied alpha and srgb
2017-01-03 16:35:37 +08:00
Benau
0129c539b9
Fix #2543
...
Also disable warning when switching cases for context detection
2017-01-03 13:53:44 +08:00
Benau
d57841bcb8
Fix crash if skybox / SH shares textures from track
2017-01-03 12:35:05 +08:00
Benau
57e16dcb73
Avoid unneeded copying in sky box and SH
2017-01-03 11:08:33 +08:00
Benau
19ac8a0d3c
Allow sky box and SH to use new texture format
2017-01-03 10:18:11 +08:00
auria.mg
ac8a5c552f
Make dialogs non-draggable. Fixes #2717
2017-01-02 19:02:05 -05:00
Deve
9c7a438826
Remove simulating mouse events from event handler.
...
It will be handled in irrlicht device.
2017-01-02 21:49:41 +01:00
Deve
bcea2355fa
Allow to scroll list box by touch gesture.
...
It can be restricted to Android-only, but tbh. I don't see any reason that it can't work in the same way on desktop computers (may be usable on laptops with touch screen, all-in-one computers etc...).
I also made a minor fix with if(!event.MouseInput.isLeftPressed()) because the EGET_ELEMENT_FOCUS_LOST event seems to not work at all.
2017-01-02 21:47:23 +01:00
Benau
6db2212690
Try to fix server build
2017-01-03 00:03:26 +08:00
Benau
2dbf4675a5
First version of new texture format
...
Todo: IBL, texture compression, GLES, premul alpha ....
2017-01-02 16:14:59 +08:00
Deve
6a16f23132
Fixed GLES
2016-12-31 03:41:37 +01:00
Deve
cec7c51bc0
Request closing the app on android in better place, so that it handles both - quit button and escape pressed.
2016-12-31 02:51:08 +01:00
Benau
dbe148baf6
Max 10 players supported in arena
...
See #2705
2016-12-31 09:27:39 +08:00
Benau
f8c09ccf83
Handle score times too
2016-12-31 09:03:42 +08:00
Benau
0d35ea74d1
Fix #2713
2016-12-31 08:59:24 +08:00
auria.mg
09e1e6d7a3
Update achivement with new track name. Fixes #2712
2016-12-30 17:05:30 -05:00
auria.mg
fcdb0b5614
Improve material code, fixes #2709
2016-12-30 16:04:56 -05:00
Benau
360e1bb88b
Case insensitive in linux for reloading texture
2016-12-30 20:24:35 +08:00
Deve
412399cdf7
Fixed a crash in GLES 2.0.
...
The glGetStringi is available only in GLES >= 3.0. We can't easily check if this function exists or not because it requires EGL >= 1.5 (and still we can't be sure that all drivers handle it properly).
Though glGetString(GL_EXTENSIONS) is allowed on both GLES2.0 and GLES3.0, so we can just fallback to this method.
2016-12-30 11:09:06 +01:00
Benau
cb5f24e551
Reset time target if leaving the soccer screen with escape
2016-12-30 15:02:07 +08:00
Benau
5b96b4aa3f
Allow windows user to enter path more easily
2016-12-30 15:00:26 +08:00
Benau
caf9dbab0c
Fix crash when loading particle texture inside track folder
2016-12-30 13:28:13 +08:00
Benau
1e2a759f7b
Restart STK if advanced pipeline option changed
2016-12-30 11:01:29 +08:00
auria.mg
7a6e6cb6a4
Attempt to imporove AMD driver version detection
2016-12-29 21:43:19 -05:00
hiker
069e916dc0
Added state updates, not fully working yet.
2016-12-30 13:35:48 +11:00
Benau
bbaff0467e
Fix normal map when advanced pipeline off
2016-12-30 00:58:48 +08:00
Deve
278ef781bf
GLES: Make sure that we are using fixed pipeline when force legacy device is set in graphics restrictions.
...
It is generally safe for GLES drivers. The driver often reports OpenGL ES 3.1 or 3.0 support even though we request only GLES 2.0. But we can still use GLES 2.0 / GLSL 1.0 functions on GLES 3.x context, so it shouldn't cause any issues.
I also added Android Emulator to graphics restrictions.
2016-12-29 16:01:46 +01:00
Benau
bc2fb1da76
Fix server build
2016-12-29 15:46:00 +08:00
Benau
67b6c3bf05
Allow to reload textures on the fly
...
Enter texture filename(s) (full path is optional) separating by
";" in the artist debug mode "Reload texture" dialog
Notice: premultiplied alpha texture reloading is not supported,
because it was done on STK side.
2016-12-29 14:56:18 +08:00
Benau
b9b8ab3e5f
Don't load normal map too if not advanced pipeline
2016-12-29 09:46:26 +08:00
auria.mg
875bfad197
Merge remote-tracking branch 'temeliak/fix_non_hd_option'
2016-12-28 20:39:20 -05:00
auria.mg
dfca641172
Merge branch 'fix_2316'
2016-12-28 20:19:41 -05:00
auria.mg
f0afba84c8
More cleanup
2016-12-28 20:17:32 -05:00
auria.mg
33802d9f81
Materials optimisation : minor tweaks and cleanup
2016-12-28 20:13:55 -05:00
Benau
1597c2ad48
Make scaled texture work with alpha mask
2016-12-29 00:36:13 +08:00
samuncle
b669382b93
Change the detail map to a more usefull decal shader. Now we can add easily details to texture
2016-12-28 10:23:07 -05:00
Benau
72963f4fb4
Fix GLES
2016-12-28 16:23:57 +08:00
Benau
71161264be
Merge remote-tracking branch 'origin/master' into fix_2316
2016-12-28 15:50:14 +08:00
Benau
f43f76b7c9
Fix server build
2016-12-28 15:40:12 +08:00
Benau
ffe4dd88b4
Apply mask directly on texture
...
Avoiding the ref counting issues
2016-12-28 15:32:27 +08:00
auria.mg
5e415e3331
Install all materials before loading meshes
2016-12-27 22:08:27 -05:00
Benau
8c5c85245f
Use full detail default
2016-12-27 18:31:06 +08:00
auria.mg
0be858f7f8
Fix crash in texture cleanup branch
2016-12-26 23:03:22 -05:00
auria.mg
943373ea8e
Try cleaning up textures when unloading tracks. Crashes at this time, more debugging is required
2016-12-26 22:33:54 -05:00
Benau
15469e555d
Allow track loading to take care of geometry details
2016-12-27 11:15:24 +08:00
Benau
7085c164b5
Merge remote-tracking branch 'origin/geometry_detail'
2016-12-26 23:56:18 +08:00
Benau
9831802c7f
Fix typo
2016-12-26 13:59:34 +08:00
Benau
c2d9f91c62
Allow to run cutscene(s) in artist debug menu
2016-12-26 13:51:40 +08:00
auria.mg
46e7b5ac77
Try to fix build
2016-12-25 22:27:46 -05:00
auria.mg
2b34dd8410
More cleanup and bugfixing related to #2316
2016-12-25 22:21:41 -05:00
auria.mg
059c2c8573
Bugfix delayed-loaded textures bug
2016-12-25 22:00:11 -05:00
Benau
ebef08c3d8
Try to combine all text field dialogs
2016-12-26 10:53:14 +08:00
auria.mg
4aa31dc56e
First attempt at #2316 . WIP, issues remains
2016-12-25 20:21:00 -05:00
Benau
3c9174d278
Add a general debug dialog
...
To be used later
2016-12-25 16:41:55 +08:00
samuncle
e62edcc89a
Ground work for geometry detail option
2016-12-24 19:16:39 -05:00
Benau
6a142e8d2e
Allow animated models in track to have different animation
2016-12-24 13:11:08 +08:00
Deve
6486d1548b
Fixed clang compilation
2016-12-24 02:07:53 +01:00
Deve
26bbffe8b0
Don't declare features that are used for SDSM, AZDO and compute shaders and that are not available in GLES renderer anyway.
2016-12-24 01:26:18 +01:00
Deve
7b76804354
Allow to unlock all tracks in config.xml.
...
Can be used on android when only some tracks are included in the apk.
2016-12-23 23:36:39 +01:00
Deve
674e617018
Allow to use isDirectory function outside of file manager class.
...
It is used on android for extracting assets
2016-12-23 19:01:16 +01:00
Deve
8a88c9707b
Fixed rendering when UBO is disabled
2016-12-23 16:45:03 +01:00
Deve
424b62552e
Fixed MLAA in GLES renderer.
...
This function was used by Cand for his OpenGL 2.1 renderer. The round function is available since GLSL 1.3 (OpenGL 3.0), so there is no need to override it.
If it will be needed in future, I suggest to change the name to round_stk or something similar.
2016-12-23 15:12:16 +01:00
Benau
15d6c7207a
Minor improvements for non-instanced shaders
2016-12-23 19:22:30 +08:00
Benau
989234a0ba
Clean up header part 2
2016-12-23 17:12:53 +08:00
Benau
31f2a720ca
Try to reduce the header size of materials.hpp
...
Plus header clean up
2016-12-23 14:44:18 +08:00
Benau
d932451295
Don't out a interpolated color change
...
It will should be determined by colorization mask in fragment shader
2016-12-23 11:38:32 +08:00
Benau
f7e2122b79
Allow drawing instanced glow color without explicit location
2016-12-23 10:36:35 +08:00
Benau
a339975df6
Clean skidmark earlier if there are many karts
2016-12-23 10:08:12 +08:00
Benau
969592e3fc
Try to fix framerate drop after few laps
...
Because skidmark left are never culled
2016-12-23 09:19:46 +08:00
Tobias Markus
6fb93fa208
Fix compilation on macOS 10.12 ( #2701 )
2016-12-22 19:17:31 -05:00
Benau
8008ec851e
Allow to use hardware skinning with opengl 3.1
...
Now we only need UBO to store the joint matrices to support it
2016-12-23 01:31:13 +08:00
Benau
28841d601d
Remove old code for getting straight frame
...
With hardware skinning it is not necessary
2016-12-23 00:44:26 +08:00
Benau
bfd57659eb
Remove unused file
2016-12-22 11:17:52 +08:00
Benau
ffa4ad84cb
Merge branch 'hardware_skinning'
2016-12-22 10:38:06 +08:00
Deve
53ee40af70
Update multitouch device when settings are changed
2016-12-20 23:11:06 +01:00
Deve
082661db65
Add a possibility to change touch device settings in GUI
2016-12-20 23:10:57 +01:00
hiker
31619aecff
Merge remote-tracking branch 'origin/master' into game_protocol
2016-12-20 10:31:24 +11:00
hiker
084869263d
Use a sort function to sort the rewind info events and network events,
...
so that the merge function can be used to combine them. The RewindManager
is now threadsafe.
2016-12-20 09:41:50 +11:00
Benau
c26f8150f4
Fix server only build
2016-12-19 11:17:45 +08:00
Benau
581ca964fd
Fix hats with hardware skinning
2016-12-19 11:06:05 +08:00
Benau
2f07b6a8ea
Merge pull request #2694 from leyyin/hardware_skinning
...
Separate the non-cached shader loading in ShaderFilesManager
2016-12-18 19:49:35 +08:00
Daniel Butum
d0229cd85e
Separate the non-cached shader loading in ShaderFilesManager
2016-12-18 13:40:36 +02:00
Benau
4f2e2331ee
Correct the spelling of shader files
2016-12-18 14:59:37 +08:00
Benau
4477dbb0fb
Preload shaders that delay kart selection screen the most
...
Plus some suggestion from #1787
2016-12-18 14:51:27 +08:00
Benau
7ea4f30824
Make sure no duplicated shader is added somewhere else
2016-12-18 13:49:58 +08:00
Benau
2a9656bfdc
Allow all shader files to be loaded only once
...
Todo: preload
2016-12-18 10:51:05 +08:00
Benau
7894e5c864
Try to use a smarter approach
2016-12-18 09:27:50 +08:00
auria.mg
da795b69ed
Better fix for #2687
2016-12-17 18:49:00 -05:00
auria.mg
2b13a5643e
Ignore the "applesmc" accelerator as input device. see #2691
2016-12-17 17:43:03 -05:00
Deve
f314c1ff2a
Some improvements for multitouch steering GUI
...
- move it to separate class, so that it can be displayed in Overworld too
- add a possibility to scale the interface (atm. only in config.xml)
- touch steering buttons are created only for single player races
I removed unused drawEnergyMeter function from Overworld GUI. The reason was that I use this function from race_gui.cpp for nitro button and this function in overworld breaks it. And still the proper drawEnergyMeter function is available in race_gui.cpp and can be moved to RaceGuiBase if it will be needed in Overworld in future.
I moved the font size computation to the top of constructor because I use it to check available space for minimap.
2016-12-17 23:28:22 +01:00
Benau
90a556fe9c
Try to share shaders across different programs
...
Todo: non-instanced version
2016-12-17 15:59:40 +08:00
auria.mg
488af78fa3
Fix #2687 , reset cameras properly
2016-12-16 21:03:05 -05:00
auria.mg
fc9a51b7f4
Reset cameras when resetting 3 strikes battle. Fixes #2687
2016-12-16 20:33:30 -05:00
auria.mg
5f0a65a07b
Fix bug where an animated texture matrix could never be reset to identity. Fixes #2692
2016-12-16 20:21:09 -05:00
hiker
1e372d6e77
Added separate queue for storing network events (to reduce synchronisation);
...
replaced vector with std::list in preparation for making the RewindManager
threadsafe.
2016-12-17 10:32:21 +11:00
hiker
5cde8f785f
Fix crash in normal race (RaceEventManager NULL).
2016-12-16 23:26:34 +11:00
Benau
79e5aadd4d
Avoid using software skinning on empty joint objects
2016-12-16 10:04:35 +08:00
Benau
752d847b09
Add the remaining shaders for GL3 hardware skinning
...
Also use the same shader code for normal map shader
2016-12-15 15:55:14 +08:00
Benau
3d814d1036
Fix wrong case handling
2016-12-15 13:30:26 +08:00
Benau
035271d6ec
Remove GL error about draw2DLine
...
Use GL32_draw2DRectangle, only works if it's a straight line.
2016-12-15 12:57:39 +08:00
Benau
2e2345289c
Don't upload / bind skinning ubo if not supported
2016-12-15 12:17:39 +08:00
Benau
1f23e6e783
Remove code used to duplicate VAOs for animated meshes
2016-12-15 11:44:09 +08:00
Benau
6baed2b0dd
Merge remote-tracking branch 'origin/master' into hardware_skinning
2016-12-15 10:01:12 +08:00
Benau
a696fd6dff
Add transparent skinned mesh shader
2016-12-15 09:52:02 +08:00
hiker
77c14152c2
The server now uses the RewindManager to receive network events
...
and takes the kart input from this queue of events.
2016-12-15 08:12:04 +11:00
hiker
95ca3fcac1
Try to fix rare GUI crash, likely caused by pushing a screen in the
...
network thread while the gui is being drawn. Made the messages
causing this synchronous, i.e. executed by the main thread.
2016-12-15 08:10:04 +11:00
Benau
85bd8c3146
Add unlit and normal map skinned mesh shader
...
Also fix normal map with skinned mesh, now vertices and joints
will be recalculated for tangents mesh
2016-12-14 16:28:37 +08:00
hiker
177c8c8f63
Merge remote-tracking branch 'origin/simplify-world' into game_protocol
2016-12-13 17:17:25 +11:00
hiker
4ee6f6315f
Made World::m_weather a singleton to further remove dependencies on World.
2016-12-13 17:14:29 +11:00
hiker
32f2196201
Removed unnecessary #include world.hpp.
2016-12-13 17:13:54 +11:00
hiker
ed7574ca85
Merge remote-tracking branch 'origin/master' into simplify-world
2016-12-13 09:19:24 +11:00
hiker
4d406490e1
Made ScriptingEngine a singleton and removed it from World, which reduces
...
more dependencies on world.
2016-12-13 09:18:59 +11:00
hiker
b12453e9ca
Made Physics a singleton, removing the accessor functions from World.
...
Removes dependency on World for a few files.
2016-12-13 08:31:08 +11:00
hiker
cd149ab5d7
Moved m_track out of World into a static m_track in Track. Makes
...
world smaller and removes a few dependencies on World.
2016-12-13 07:53:33 +11:00
Benau
abe4ae2d6a
Fix server only stk
2016-12-12 13:54:43 +08:00
Benau
c8e5238ce2
Merge remote-tracking branch 'origin/master' into hardware_skinning
2016-12-12 13:45:04 +08:00
Benau
269e440d0c
Avoid translating artist debug mode only fps string
2016-12-12 13:43:01 +08:00
Benau
a420b09363
Disable all karts animation if UBO size not big enough
2016-12-12 13:24:34 +08:00
auria.mg
044e8c52e1
Fix tabs added in previous commit, used spaces instead...
2016-12-11 20:19:58 -05:00
auria.mg
ab7ded308a
Make presentation of kart characteristics uniform and indepdendent of difficulty. Fixes #2684 , fixes #2539
2016-12-11 20:16:44 -05:00
Corentin Pazdera
aaecd58fc0
Adding appveyor config file ( #2652 )
...
I am unfamiliar with appveyor myself but I can merge the file. Next step would be for someone to take a look at settuping an account
2016-12-11 19:52:15 -05:00
Daniel Ölschlegel
62e1a2ddcc
Add a little more BSD detection ( #2685 )
...
Tested for NetBSD, the same signature has DragonFly(http://fxr.watson.org/fxr/source/sys/endian.h?v=DFBSD#L42 )
2016-12-11 19:16:47 -05:00
Daniel Butum
244c812cf3
Add travis server only matrix configuration ( #2682 )
...
Also increase number of threads for the gcc builds
2016-12-11 19:15:37 -05:00
hiker
8785ddf148
Moved force-fog settings into track.
2016-12-12 08:05:07 +11:00
Benau
4327885f07
Add alpha test skinned mesh instanced shaders
2016-12-12 01:00:57 +08:00
Benau
e9b68a8a1f
Use a non-hardcoded values for mat4 array (max 1024)
...
Also cull mesh that doesn't have enough space to be rendered
2016-12-11 15:50:53 +08:00
Benau
f6490b6fa6
Allow array to capture lambada
...
Also use a correct sorting function, will be useful later if
we only need the more influetial bones.
2016-12-11 13:21:17 +08:00
Benau
ceef7495d2
Enable culling for animated mesh
...
Use the first frame bounding box for it, don't update each frame
2016-12-11 11:01:02 +08:00
Benau
fcd1e2830e
Use callback function to directly upload joints without copying
2016-12-10 16:16:40 +08:00
Benau
8ca0c54bdc
Merge remote-tracking branch 'origin/master' into hardware_skinning
2016-12-10 10:09:30 +08:00
samuncle
ae0b1136f5
better shader for underwater vegetation
2016-12-09 11:38:56 -05:00
Benau
c68492f42b
Use a for loop for four bones (thanks leyyin suggestion!)
2016-12-09 23:21:41 +08:00
Benau
94f6d09bf5
Allow indirect and azdo shadow rendering for skinned mesh
2016-12-09 22:37:17 +08:00
Benau
f2422317ba
Auto fallback to software skinning if not supported
...
Currently explicit attribute location, uniform buffer object and
opengl greater or equal 3.3 are required for hardware skinning
So even intel hd3000 in linux can do hardware skinning
2016-12-09 20:50:09 +08:00
Benau
76e070b709
Allow GL3 to have hardware skinning
2016-12-09 18:41:13 +08:00
Benau
b7e047b4c1
Avoid using else if in skinning vertex shader
2016-12-09 14:16:30 +08:00
hiker
22092e6459
Moved background/clear color from world to irr_driver.
2016-12-09 17:14:04 +11:00
hiker
b73d08d089
Removed unnecessary cast.
2016-12-09 16:39:59 +11:00
hiker
0a2ea4bd08
Removed unused functions.
2016-12-09 16:39:37 +11:00
hiker
a8d3b6b0df
Fixed compiler warning.
2016-12-09 09:18:56 +11:00
hiker
04d1d4817a
Removed KartUpdate protocol (which breakes online play).
2016-12-09 09:00:20 +11:00
hiker
4d065f67e6
Started to introduce GameProtocol (which will combine several
...
individual protocols.
2016-12-09 08:55:06 +11:00
Benau
21d9117b2d
Fix matrix4 pointer in windows
...
Also allow minimum azdo rendering and avoid skinning empty joints
2016-12-08 16:12:54 +08:00
hiker
dbfaf2105b
Merge remote-tracking branch 'origin/master' into nw
2016-12-08 13:36:36 +11:00
hiker
fed12f774c
Fixed potential deadlock, made debug output more useful.
2016-12-08 09:46:44 +11:00
Benau
407ed319de
Show debug info about total skinning joints being calculated
2016-12-07 16:26:22 +08:00
Benau
d21e5e0f76
Make skinning offset changeable by culling
2016-12-07 16:08:57 +08:00
Benau
fcebb5c2e6
Fix crash with normal map skinned mesh
2016-12-07 09:29:40 +08:00
Benau
ac8d7aa8c7
Try to fix the build
2016-12-07 08:18:19 +08:00
Benau
a3905a1e19
Allow tangent mesh to be converted
2016-12-07 08:07:01 +08:00
Deve
66f57ada61
Fixed a crash when GLES device is re-created
2016-12-07 00:08:16 +01:00
hiker
32daf4ce29
Removed unused functions.
2016-12-07 09:34:33 +11:00
Deve
5fad8a135e
Destroy egl context on exit
2016-12-06 23:32:04 +01:00
Deve
c013fcea61
Allow to log messages to file on android
2016-12-06 23:31:49 +01:00
Benau
57d9e83ed4
First version of hardware skinning
...
Todo: shadow, non-instanced shaders, culling, changeable offset...
2016-12-07 02:15:11 +08:00
hiker
95e627c004
Fixed pi compilation.
2016-12-07 00:28:36 +11:00
hiker
63fe4373a8
Removed unnecessary #ifdef.
2016-12-06 21:50:23 +11:00
hiker
8b806dd35a
Fixed compiler warnings.
2016-12-06 18:46:03 +11:00
hiker
1939075a1b
Merge remote-tracking branch 'origin/master' into nw
2016-12-06 18:45:17 +11:00
hiker
fdfb56ddf8
Fix server-only compilation.
2016-12-06 18:10:31 +11:00
hiker
746bac00ce
Merge remote-tracking branch 'origin/new-pi' into nw
2016-12-06 09:26:07 +11:00
hiker
526b2a8f0d
Added two more graph connections.
2016-12-06 09:22:13 +11:00
hiker
79ad569542
Only allow LAN connections for LAN servers (previously anyone with
...
the IP address could connect, even from the outside). Added new
--public-server command line option to enable public WAN server.
2016-12-06 09:10:05 +11:00
Deve
23883b83c1
Fixed a crash on startup.
...
As written in the documentation: "The returned modifiers string is owned by Xlib and should not be modified or freed by the client."
2016-12-04 23:23:09 +01:00
Deve
c0cd915716
Minor fixes in file manager.
...
The listFiles function returns absolute paths, so the condition if ((*i)=="..") doesn't have a sense. I added a check for absolute paths (file == name + "/.."). Btw. what about Windows? Does it return 'name + "\\.." ' or so?
I also enabled recursive removing of directories on Android. It is needed for example when you have already installed STK with extracted data files, and then you want to upgrade STK to newer version.
2016-12-04 22:22:42 +01:00
Deve
419e9e5351
Some minor modifications that make merging with master easier
2016-12-04 15:11:48 +01:00
Benau
2c8b31379b
Don't push color info for shadow and rsm
2016-12-04 13:41:28 +08:00
Benau
ed43d16a1c
Allow alpha test shader to be colorizable
2016-12-04 13:21:39 +08:00
Benau
2a50149e62
Remove TODOs about splatting
...
Splatting will be drawn using non-instanced shader only, it's only
used one place (in overworld) and may be removed eventually
2016-12-04 11:48:52 +08:00
Benau
902f4e20a5
Leave the loop as soon as one material is colorizable
2016-12-04 11:15:32 +08:00
Benau
2d980264b4
Update LOD to support colorization
2016-12-04 10:47:08 +08:00
Benau
7d5f786da8
Make grass shader colorizable
2016-12-04 00:59:09 +08:00
Benau
31b6a0a4b1
Try to fix gcc build
2016-12-03 16:06:46 +08:00
Benau
4261a96d06
Fix inconsistency between grass shader and the instanced version
...
1. Assign the missing depth stencil texture (dtex)
2. Correct the movement and color
2016-12-03 15:54:59 +08:00
Benau
79136e0289
Fix GLES
2016-12-03 14:10:07 +08:00
Benau
332811af84
Merge branch 'improve_instanced_rendering'
2016-12-03 09:17:15 +08:00
Benau
6a3ad6605b
Try to fix release build
2016-12-02 21:00:34 +08:00
Benau
c7d025d81d
Fix binding texture error with AZDO
...
See specification of bindless textures for details
2016-12-02 20:09:08 +08:00
Benau
bfc006b979
Fix wrong texture units
2016-12-02 19:26:40 +08:00
Benau
4fbce474c5
Fix ambient light on track not updated
2016-12-02 19:17:55 +08:00
hiker
8bd3e35c7b
Removed some of the debug output of the latency protocol.
2016-12-02 09:26:03 +11:00
hiker
e3e072557c
Fixed deadlock when more than one client was used.
2016-12-02 09:16:51 +11:00
hiker
ee63f2c456
Support --port command line option to change a client or servers
...
port number.
2016-12-01 22:29:23 +11:00
hiker
09ca38d36e
Renamed handleLANRequest to HandleDirectSocketRequest, since the code
...
can also be used to connect to a public server (outside of the server's LAN).
2016-12-01 10:11:50 +11:00
hiker
fc5cecceae
Use the port number from the config instead of hard coded one.
2016-12-01 09:55:39 +11:00
Deve
3add543a22
Fixed conflict between GLES2 headers included in irrlicht and GLES3 headers included in STK.
...
There is one minor difference in one declaration, which is probably an inconsistency in these headers. But it may cause compilation errors on some compiler versions.
2016-11-30 21:31:29 +01:00
Benau
acf0ac909f
And a correct ifdef for bindless texture
2016-11-30 15:00:08 +08:00
Benau
9e8fb63dc4
Fix AZDO with colorization
...
Also re-arrange texture layer
2016-11-30 13:52:06 +08:00
hiker
b0294060dc
Support direct connection to LAN server using command line option,
...
based on Benau's fix_2446 branch.
2016-11-30 09:07:27 +11:00
Benau
5884d7b9d8
Avoid using matrix4 calculation
2016-11-28 15:44:14 +08:00
hiker
5fc4531c01
Updated finite state machine graph.
2016-11-28 18:39:18 +11:00
hiker
70c203cc3f
Updated and fixed server documentation.
2016-11-28 18:20:41 +11:00
hiker
9c2b17602d
Added documentation for cliebt lobby.
2016-11-28 18:09:38 +11:00
Benau
497b7e3f14
Use reference when possible
2016-11-28 13:34:45 +08:00
Benau
45c5b0ffd6
Improved colorization in instanced rendering
2016-11-28 13:08:27 +08:00
Benau
decf3b9715
4 bindless textures + texture translation + colorization in vao
2016-11-28 10:47:14 +08:00
Benau
60908c3e1d
Try to use vec2 for texture translation only
...
In stk, only setTextureTranslate is used which modify 8,9 of
matrix array. Also don't update it when it is identity.
2016-11-28 10:41:27 +08:00
deve
716c19325f
Update common irrlicht files with modifications from Android branch.
...
- Added a function in GLES driver, which allows to re-create EGL surface when it's lost after resume event
- Some additional events/keycodes
- Fixed compilation with missing sys/sysctl.h header
2016-11-28 01:56:52 +01:00
hiker
21ca9b40f0
Merge branch 'master' of github.com:supertuxkart/stk-code
2016-11-28 12:46:00 +11:00
hiker
aa36f7856f
Fixed compiler warnings.
2016-11-28 09:03:56 +11:00
hiker
de0f153f0c
Renamted SynchronizationProtocol to LatencyProtocol.
2016-11-28 08:45:17 +11:00
Benau
3e938a79be
Fix #2676 by moving rsm matrix to be assigned lastly
2016-11-27 11:21:16 +08:00
auria.mg
decaac85d9
Tweak item collision box, fixes #2678
2016-11-26 19:01:38 -05:00
Benau
0298d48e24
Try to use the internal template to colorize objects
...
Todo: instanced version
2016-11-27 01:14:40 +08:00
Benau
9b15bd2c63
Remove useless extern BoundingBox
2016-11-26 10:10:10 +08:00
Benau
a9a6ec0b7f
Use the old unrolling draw mesh for RSM shaders on GL3
...
Todo: fix CustomUnrollArgs for rsm shaders
2016-11-26 00:06:22 +08:00
Benau
f7e0babe02
Fix global illumination on instanced rendering
2016-11-26 00:03:22 +08:00
Benau
df6ab0a7fd
Fix god rays regression
2016-11-25 20:44:44 +08:00
hiker
6053ad207f
Don't use the SynchronisationProtocol for startup state changes at all.
...
It is now totally optional, and only estimates the latency between the
server and all clients (and this value is not even used).
2016-11-25 22:17:24 +11:00
Benau
5ca5dc3b3e
Clean up culling code
2016-11-25 16:45:00 +08:00
Benau
0c091125b0
Remove const cast in three strikes battle
2016-11-25 12:38:08 +08:00
Benau
fe371a28b5
Add non-const function for STK usage
2016-11-25 12:37:40 +08:00
hiker
18f14ae142
Fixed compiler warnings.
2016-11-24 17:48:23 +11:00
hiker
b1afac23a7
Moved creation of the race protocols into lobby, so SynchronizationProtocol
...
is not involved in the race start anymore.
2016-11-24 08:56:30 +11:00
hiker
617e1c538d
Merge remote-tracking branch 'origin/master' into nw
2016-11-23 21:58:00 +11:00
hiker
414b0e0633
Fixed sending 'client ready' twice.
2016-11-23 18:50:44 +11:00
hiker
dd515292ee
Fixed deadlock (in case of protocol error).
2016-11-23 18:40:56 +11:00
hiker
62da83317e
Fixedc compilation, renamed LobbyRoomProtocol to LobbyProtocol.
2016-11-23 18:39:59 +11:00
Benau
a2bb0487b1
Disable backface culling when set in the material.
2016-11-23 15:16:19 +08:00
hiker
2c7e7d8722
Merge remote-tracking branch 'origin/master' into nw
2016-11-23 17:16:42 +11:00
Benau
eb84de2666
Fix #2491
2016-11-23 10:11:08 +08:00
hiker
026e1623ec
Renamed ServerLobbyRoomProtocol to just ServerLobby, ClientLobbyRoomProtocol
...
to ClientLobby, and LobbyRoomProtocol to Lobbyprotocol.
2016-11-23 09:39:33 +11:00
deve
7f251fdf79
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-11-22 09:16:59 +01:00
deve
467760f248
Remove illogical #ifdef
2016-11-22 08:29:18 +01:00
hiker
09eae7e25f
Removed StartGameProtocol, and added the necessary states to the
...
Lobby rooms. Added documentation of the FSM for the ServerLobby.
2016-11-22 17:57:15 +11:00
Benau
61a00a9068
Fix transparent displacement rendering with advanced pipeline off
...
Allowing them to render using the same custom alpha uniform used
by ghost karts, fixed #2459 .
2016-11-22 12:34:48 +08:00
Benau
c1e931f5ba
Merge branch 'legacy_opengl'
2016-11-22 09:23:17 +08:00
Benau
690d36271d
Try to fix LOD in legacy pipeline
2016-11-22 00:51:10 +08:00
deve
e9f3fd4806
Fixed compilation with missing vidmode headers after some modifications in our CGUIEditBox.
2016-11-21 08:37:20 +01:00
Benau
befa2394a8
Some improvement to #2667
2016-11-21 11:58:46 +08:00
Benau
72ff03c024
Fix light in legacy pipeline
2016-11-21 11:10:40 +08:00
Benau
de95db5c93
Avoid creating new glyph page too many times
2016-11-20 10:08:59 +08:00
Benau
9734c2e890
Fix crash in billboard text when using legacy opengl
...
Notice: freetype glyph metrics are not supported
2016-11-19 15:59:58 +08:00
Benau
a52c4699a1
Add back normal map renderer for legacy opengl
...
Fixed transparent issue
2016-11-19 14:21:56 +08:00
Benau
f853255204
Merge branch 'fix_1704'
2016-11-18 09:51:34 +08:00
Benau
9eb6ef5bfe
Simplify code
2016-11-18 09:44:30 +08:00
Deve
952bed5672
Few minor fixes for multitouch steering:
...
- don't update a button that is already not pressed
- use full axis range, which means higher sensitivity in the center
- make sure that we don't divide by 0
2016-11-18 01:22:32 +01:00
hiker
6b1563321f
Use singleton for lobby protocols.
2016-11-18 09:08:37 +11:00
Benau
ac74304dd7
Fix #1704
2016-11-18 00:31:48 +08:00
Benau
b6c1a45918
Use a better define
2016-11-16 10:20:40 +08:00
hiker
ba600f40f2
The server waits now for all client to start (which means it will be
...
behind the clients by the maximum latency, which in turn means that
at server time T all client events at time T have arrived, so less
rollback necessary).
2016-11-16 08:48:04 +11:00
hiker
019e61ec66
iFixed pi compilation.
2016-11-16 00:19:09 +11:00
hiker
fbd858a64c
Fixed non-server compilation.
2016-11-15 12:52:37 +11:00
hiker
ae36208e29
Merge remote-tracking branch 'origin/master' into new-pi
2016-11-15 12:38:21 +11:00
Benau
2f2940115e
Use a smooth dt on camera to determine its position
2016-11-14 15:47:55 +08:00
hiker
621e61c644
Fixed coding style.
2016-11-14 18:32:29 +11:00
hiker
feae91042a
Explicitly disable X11 compilation for windows. No idea why it is
...
defined in CGUIEditbox now, but it somehow is ;(
2016-11-14 18:25:00 +11:00
hiker
13bcdcade6
Fixed crash in case of standalone server.
2016-11-14 10:15:40 +11:00
hiker
245045f575
Fixed various crashes on server.
2016-11-14 10:09:25 +11:00
hiker
f2b67f75b6
Minor coding style fixes.
2016-11-14 10:02:46 +11:00
hiker
73182863df
Fixed linking problems - will probably not run ;)
2016-11-14 09:59:08 +11:00
Benau
e6e302af1c
Fix copy and paste of unicode characters
2016-11-13 15:43:00 +08:00
Benau
5879933a23
Merge remote-tracking branch 'origin/master' into fix_2112
2016-11-13 10:42:47 +08:00
Deve
7e4dfdb97e
Remove version from graphics restrictions for sRGB-capable visual workaround.
...
It doesn't look that they're going to fix it soon.
2016-11-11 16:22:31 +01:00
Deve
e707b7a2ea
Remove pthread_setcancelstate functions.
...
This function is not available on android and it is default on other platforms anyway.
It makes easier to port changes from master to android branch.
2016-11-11 14:11:27 +01:00
hiker
61a3d10e10
More Compile SERVER_ONLY, still not fully working.
2016-11-12 00:09:39 +11:00
Deve
6b2bf1c088
Make sure that we are not out of array.
...
Command line arguments are not available on android.
2016-11-11 14:07:18 +01:00
hiker
ddcddf4a0a
Compile SERVER_ONLY (by #ifdef'ing out all graphics related code).
...
Does not link yet!!
2016-11-11 23:46:22 +11:00
Deve
452c7c1e40
Fixed compiler warning
2016-11-11 13:44:51 +01:00
Benau
19cd3656a9
Use all cores only in clang for travis
2016-11-11 15:29:17 +08:00
hiker
8d9bb9c30f
Cherry picked commits from old pi branch (which was based on dumb client).
2016-11-11 17:21:59 +11:00
hiker
8ecb0ecaeb
Merge branch 'master' of github.com:supertuxkart/stk-code
2016-11-11 15:35:30 +11:00
hiker
fd5f60a786
Merge branch 'master' of github.com:supertuxkart/stk-code
2016-11-11 15:27:45 +11:00
hiker
190490e0ce
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-11-11 15:15:02 +11:00
Benau
f31cfa261a
Try to fix compilation by reducing number of threads
2016-11-11 11:58:53 +08:00
Benau
6b282acae2
Use bullet built-in function
2016-11-11 10:20:15 +08:00
Benau
656ddcfdee
Add tools from hiker
2016-11-11 09:06:06 +08:00
Benau
8b069df97f
Merge remote-tracking branch 'origin/renderer_refactoring'
2016-11-11 08:43:42 +08:00
hiker
10b7dac658
Replaced static with dynamic casts, fixed docu.
2016-11-11 09:14:18 +11:00
hiker
10575174fc
Fix for disabling LAN detection.
2016-11-11 08:47:10 +11:00
hiker
6065a6ce3e
Added debug option to disable automatic LAN connection.
2016-11-10 18:21:27 +11:00
deve
4bb0405a32
Added support for multitouch steering.
...
It will be used for steering on Android.
There are some limitations:
- currently it works only in single player mode (but I don't see any reason to make it working for multiplayer)
- speedometer is not available in race GUI because there is no place for it
TODO:
- add DPI support (race GUI should have probably different proportions on smaller devices for comfortable playing)
- make nice button images
- make nitro button that changes its look depending on collected nitro (a kind of nitro bar)
Touch input events must be handled in android device to make use of it. It can be simulated for debugging on non-android devices using standard mouse.
2016-11-10 02:42:56 +01:00
deve
78c1c5e14a
Update .gitignore
2016-11-10 02:42:07 +01:00
hiker
9201a08daf
Fix crash exiting a server screen.
2016-11-09 23:24:04 +11:00
hiker
64d2d43f5b
Disable console (for #2665 ).
2016-11-09 23:06:17 +11:00
Benau
8a0d911d10
Allow using input method (for CJK) in linux
2016-11-09 12:28:23 +08:00
Benau
0c0581f97a
Merge remote-tracking branch 'lpw/malice'
2016-11-05 11:25:19 +08:00
LoadingPleaseWait
578a3732c0
Add help page with icons for banana penalties
2016-11-04 22:16:06 -05:00
Benau
214ea6801b
Merge remote-tracking branch 'origin/master' into renderer_refactoring
2016-11-04 21:06:42 +08:00
Benau
9da38a2755
Fix Mac build
2016-11-04 21:05:07 +08:00
Benau
7da108c8b1
Header clean up
...
Also move getUnicolorTexture to a better location
2016-11-04 20:30:08 +08:00
Benau
01c7576755
Update prefilled textures if new RTT is used
...
Required by multiplayer kart selection screen
2016-10-31 14:13:38 +08:00
Benau
253281aaeb
Avoid crashes in fixed pipeline RTT if it fails
2016-10-31 11:57:15 +08:00
Benau
1678078aea
Fix GLES
2016-10-31 09:15:50 +08:00
Benau
07ebb760ac
Try to make RTT creation as close to master as possible
2016-10-31 00:33:06 +08:00
Benau
7998c326fc
Prevent using uninitialized values
2016-10-30 14:44:08 +08:00
Benau
df57a73813
Fix start projection of karts
2016-10-30 10:10:09 +08:00
Benau
fc47d6e220
Minor header clean up
2016-10-29 10:37:45 +08:00
Benau
0165469301
Fix build
2016-10-28 23:46:24 +08:00
Benau
2f0252be98
Merge remote-tracking branch 'origin/master' into renderer_refactoring
2016-10-28 21:41:49 +08:00
hiker
9f4c842b6c
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-10-27 21:36:17 +11:00
hiker
fda3afad93
Fix 2658 by separating networking code from main loop.
2016-10-27 21:33:42 +11:00
Benau
956aa83a0a
Remove unused function
2016-10-27 10:15:41 +08:00
Benau
93197d9569
Merge branch 'fix_2445'
2016-10-27 09:41:35 +08:00
Benau
d4e9de1f53
Fix non-animated karts
2016-10-27 09:41:01 +08:00
hiker
94346ae64d
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-10-27 11:13:19 +11:00
hiker
b3b9d16ba1
Removed unnecessary logging.
2016-10-27 08:48:38 +11:00
hiker
2c56837ee8
Fixed token handling.
2016-10-27 08:41:35 +11:00
hiker
b1f6632e5b
Changed countdown from a mixture of ms and seconds to seconds only;
...
added documentation.
2016-10-27 08:40:45 +11:00
deve
bc7f89d49a
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-10-26 13:51:40 +02:00
deve
8d270e5ff3
Fixed nitro bar for non-HD textures
2016-10-26 13:51:17 +02:00
Benau
e93e8b7708
Make animated mesh render separately in instanced rendering
...
Try to introduce mesh + render info hash in vao manager, without
copying the mesh
2016-10-26 14:25:48 +08:00
Benau
9bd4c87b9c
Fix leaking createTextBillboard
2016-10-26 09:21:17 +08:00
Benau
cc3ff7cf9f
Simplify calculation of transform
2016-10-26 09:08:10 +08:00
Benau
a38c8f0c19
Make billboard text display properly when viewing in any direction
2016-10-26 00:34:13 +08:00
hiker
e31a7ca4a8
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-10-25 10:05:28 +11:00
hiker
6a578e374f
Fix LAN handling when connecting via a WAN server.
2016-10-25 07:53:52 +11:00
Benau
68ea2ed3b2
Fix typo
2016-10-22 12:33:47 +08:00
Benau
cf557f6982
Fix release build
2016-10-22 10:46:30 +08:00
Benau
3e70fa27d9
Add doxygen for Font modules
...
Plus some coding-style cleanup
2016-10-22 00:01:48 +08:00
hiker
df21ba55b4
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-10-21 08:31:11 +11:00
Benau
7505630cd4
Add doxygen for Soccer and SpareTire AI
2016-10-21 01:38:30 +08:00
Benau
021509387d
Add doxygen for Arena and Battle AI
...
Plus some coding-style cleanup
2016-10-20 16:40:20 +08:00
Benau
b12f7a1079
Fix shaking u-turn
2016-10-19 00:37:29 +08:00
Benau
24f926b780
Merge remote-tracking branch 'origin/spare_tire_kart'
2016-10-18 14:32:44 +08:00
Benau
8eb8e805eb
Fix dropping of normal map wheel in battle mode
2016-10-18 14:18:51 +08:00
Benau
f1caba7932
Make ArenaAI reverse more naturally
2016-10-18 10:33:27 +08:00
Benau
9aa92cfe30
Fix profiling mode framerate regression
2016-10-18 09:55:30 +08:00
auria.mg
8c0fe53ff2
Fix texture mirroring on alpha blend/test shaders. See #2167
2016-10-17 19:46:21 -04:00
auria.mg
9d1b115e59
Don't call OpenAL's position method when audio is disabled
2016-10-17 19:15:28 -04:00
auria.mg
513e32d9ff
Fix bug that could cause reversible textures to be mirrorred twice when driving the track in reverse (see #2167 )
2016-10-17 19:09:01 -04:00
Deve
28f04b472b
Merge pull request #2654 from LoadingPleaseWait/redundant-includes
...
Remove duplicate include statements from kart.cpp
2016-10-17 11:02:38 +02:00
LoadingPleaseWait
eddf39b8a1
Remove duplicate include statements from kart.cpp
2016-10-17 03:36:29 -05:00
deve
5502fa4ebe
Declare custom alpha also when bindless sampler is enabled
2016-10-17 08:23:27 +02:00
Benau
caf095ed60
Add improvements from auria and devee
2016-10-17 09:13:07 +08:00
Benau
af223ddf24
Try to use sun color to determine custom alpha for ghost karts
...
This may need more adjustments, also add custom_alpha uniform float
to transparent fragment shader to remove duplicated shader
2016-10-17 01:03:10 +08:00
Benau
23a1b08efe
Allow normal map karts to be used in ghost race
...
Also split ghost karts out of additive shader, so fixed issues like
"drivers are facing backwards", "water in abyss affects ghost karts"
Todo: maybe transparency depend on current track color?
2016-10-16 15:40:40 +08:00
auria.mg
929b9b5c20
Stop world imer when game is paused
2016-10-15 20:28:48 -04:00
auria.mg
020edf1679
Add support for directional (forward-only or backwards-only) driveline segments
2016-10-15 18:56:13 -04:00
Benau
1f8149f138
Merge remote-tracking branch 'origin/skinned_mesh_normal_map'
2016-10-15 15:25:20 +08:00
Benau
604e454f33
Fix normal map in library and track objects if they are animated
2016-10-15 15:21:34 +08:00
Benau
efb6b7431a
Try to make skinned mesh work with normal map
2016-10-15 00:17:09 +08:00
hiker
35e382b893
Remove unnecessary request for server address,since it is now included
...
for each server in the list of all servers.
2016-10-14 18:08:39 +11:00
Benau
f70a64f61a
Fix controller and text billboard leaking in kart
2016-10-14 12:01:37 +08:00
Benau
e09fe6ff8a
Fix memory leak of mesh tool
2016-10-13 14:08:58 +08:00
hiker
62b9b93d10
Merge branch 'master' of github.com:supertuxkart/stk-code
2016-10-13 14:06:48 +11:00
hiker
85e0fed9b7
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-10-13 11:14:40 +11:00
hiker
83ffbd96e1
Better error message in case of a failure to creaet a server.
2016-10-12 17:21:15 +11:00
hiker
061827a1ac
Ported to use the new server (Issue65 branch).
2016-10-12 17:09:57 +11:00
Benau
965e901796
Fix typo
2016-10-12 14:00:51 +08:00
Benau
48e6128e12
Grab light in the correct place, fixed all leaking of lights
2016-10-12 11:48:50 +08:00
Benau
ddcf6fbb14
Fix memory leaking when changing resolution
2016-10-12 10:28:33 +08:00
Benau
76f32b4a41
Fix an unfree Atom
2016-10-12 09:52:34 +08:00
Benau
7df560ae63
Fix leaking of scripting engine
2016-10-12 09:30:08 +08:00
Benau
b2cdc8c97e
Fix memory leak of unicolor texture
...
Also try to hold them until the last moment, this may need some
testing.
2016-10-11 16:25:22 +08:00
hiker
b0bb6ce00f
Simplified structure.
2016-10-11 18:13:21 +11:00
hiker
3243f81f10
Avoid crash.
2016-10-11 18:02:11 +11:00
hiker
68f5259f4d
Removed static variables and properly initialised in setup, which
...
should allow this protocol to work for more than one race.
Back-ported to master.
2016-10-11 17:58:43 +11:00
Benau
ef7201cf51
Remove an unneeded line
2016-10-11 12:24:36 +08:00
Benau
fb79cf3a6e
Let spare tire karts follow bounding box points
2016-10-11 10:52:08 +08:00
Benau
28f1e45f79
Really fix model view widget
2016-10-11 09:09:09 +08:00
hiker
7b3fc04d26
Removed debug output.
2016-10-11 08:46:14 +11:00
hiker
09ce5515b0
Avoid extrapolation by making sure the client starts after receiving
...
a message from the server, and only updating the previous position
if the new previous position is indeed before the current client time.
Fixed conflicts, removed dumb-client related interpolation code, left
client starting in place.
2016-10-11 08:44:17 +11:00
Deve
850b23db1f
Fixed setting viewport in multiplayer games.
...
It was broken in commit 5cfed1bc1c .
We mix irr_driver->getVideoDriver()->setViewPort() and glViewport(...) functions and thus the first one, which is executed during camera activation, in some cases doesn't work. It compares the viewport to values which has been set last time and thinks that nothing changed.
It only happens on single player (with single camera), so we just restore the viewport to fullscreen after scene rendering to workaround the issue.
Actually the problem was that it was set after camera activation, which overwrote proper values.
I also fixed SSAO, RSM and normals vizualization in multiplayer games.
2016-10-10 22:47:30 +02:00
Benau
6750fb3c94
Fix leaking of script engine
2016-10-11 00:11:45 +08:00
Benau
1a9a4c626e
Properly add the model view widget
...
Use add() will set angle = 0 in ModelViewWidget
2016-10-10 14:38:30 +08:00
Benau
d1c1435b55
Use a better string
2016-10-10 05:16:19 +00:00
Benau
8e2d7c5499
Fix memory leaks and uninitialized values of ShadowMatrices
2016-10-10 13:04:40 +08:00
Benau
d39f5e487b
Don't set position and target of camera the same
...
Otherwise NAN will be calculated in ViewArea of camera
2016-10-10 13:04:40 +08:00
Benau
aaa0e11770
Fix using uninitialized values when init() the first time
2016-10-10 13:04:40 +08:00
Benau
03f9fb35da
Fix valgrind warning
2016-10-10 13:04:34 +08:00
Benau
4ed599403e
Show a message when a life gained
2016-10-10 08:47:10 +08:00
hiker
91363f820b
Disable slow-down of game time in case of very low FPS when networking
...
is used (this would desynchronise client and server).
2016-10-10 09:54:44 +11:00
hiker
d00f2abb0b
Fixed item collection (token must not be tested by protocols anymore).
2016-10-10 09:54:11 +11:00
Benau
fdcb4dac8d
Fix assertion when no spare tire karts
2016-10-09 17:41:20 +08:00
Benau
b4907f5519
Tell player that they have max 3 lives only
2016-10-09 13:52:24 +08:00
Benau
fb0f4fca3c
Allow BattleAI to collect lives
2016-10-09 13:24:00 +08:00
Benau
6b8156c254
Pre-spawn spare tire karts on random nodes in graph
...
Don't use the item location, as it can be remembered by players
2016-10-09 11:17:36 +08:00
Benau
357567ae8d
Move spare tire num info to race_manager
...
It allows this info to be get more easily
2016-10-09 09:50:26 +08:00
Deve
8092cfc0a7
Fixed displaying some special characters in keys binding in options.
...
It most probably needs to be done this way since commit 2096532d0e .
I don't know what about OSX, so I enabled it only for linux.
2016-10-08 21:26:20 +02:00
Deve
1e520d551f
Merge pull request #2650 from Legimet/fix-boom-boom-boom-credits
...
Fix credits for Boom-boom-boom song
2016-10-08 19:52:47 +02:00
Legimet
ee17928382
Fix credits for Boom-boom-boom song
2016-10-08 12:07:39 -04:00
Benau
71359a087d
Add heart billboard with red kart for spare tire karts
2016-10-08 14:29:28 +08:00
Benau
8889654d96
Move STA function out of world
2016-10-08 09:41:02 +08:00
Benau
9096bb05bd
Merge remote-tracking branch 'origin/master' into spare_tire_kart
2016-10-08 08:36:05 +08:00
Benau
59edb96489
Fix warning when eliminate a kart in battle mode
2016-10-08 08:35:07 +08:00
Benau
71662df159
Improve spawn formula
2016-10-07 21:49:05 +08:00
Benau
c907442bb4
Fix incorrect target node access
2016-10-07 16:43:54 +08:00
Benau
2147b74fe4
Fix engine sound after re-spawn
2016-10-07 16:03:15 +08:00
Benau
b055fa573d
Try to fix hangs when firstly spawn STA
2016-10-07 15:29:36 +08:00
Benau
91af45337f
Pre-add spare tire karts probably
2016-10-07 14:39:39 +08:00
Deve
5c4b61a26e
Fixed numpad keys on linux.
...
We need to check numlock mask, because it may be different on different systems, and possibly also modified manually.
It should generally work fine, but some testing are welcome.
2016-10-06 20:31:10 +02:00
Benau
b66e6ef06d
Use MaxSpeed to slow down spare tire karts
2016-10-06 00:35:52 +08:00
deve
ce28d46d14
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-10-05 11:30:22 +02:00
deve
7a82a8d2c6
Fixed compiler warning
2016-10-05 10:56:40 +02:00
deve
bd42f2c2df
Fixed rare case that anisotropic filtering feature is not available in graphics drivers.
2016-10-05 10:50:20 +02:00
Benau
a0b02659f7
Don't use num of karts from world, as it includes spare tire karts
2016-10-05 16:42:37 +08:00
Benau
a91af96637
Initial work on spare tire kart in battle mode
...
Some values are hard-coded for now
2016-10-05 16:18:39 +08:00
Benau
43d9db4db0
Fix acceleration and braking of ArenaAI
2016-10-05 11:53:45 +08:00
hiker
5767f2294e
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-10-05 13:32:13 +11:00
hiker
ceb961ae87
Fixed reverse camera (smooth speed was positive even when
...
going backwards).
2016-10-05 13:31:31 +11:00
hiker
3506b7da2f
Merge pull request #2615 from nado/warning-fix
...
Fixes warnings
2016-10-05 12:59:22 +11:00
hiker
8949e89809
Merge remote-tracking branch 'origin/master' into rewind
...
Fixed conflicts.
2016-10-05 08:21:10 +11:00
Nado
d21630c815
This simplifies the reading of bool isEasterMode()
2016-10-04 08:55:07 +02:00
Nado
25a4aa565a
Reduce variables scope when possible, based on the warnings reported by
...
cppcheck.
2016-10-04 08:55:01 +02:00
Nado
afbea19d34
Fix -Wunused-variable
2016-10-04 08:44:50 +02:00
Nado
4c0b4d8078
Fixes -Wsign-compare
...
See #2613
2016-10-04 08:43:38 +02:00
hiker
9595a76d36
Removed unnecessary flag to keep track if speed icnrease is defined.
2016-10-04 08:28:01 +11:00
Deve
5e05f1178c
Fixed compiler error on Linux with non-x86 64bit platforms, e.g. arm64, mips, and s390x architectures
...
This modification is already applied in upstream angelscript repository:
https://sourceforge.net/p/angelscript/code/2353/
Thanks to Adrian Bunk and Andreas Jonsson
2016-10-03 23:26:09 +02:00
hiker
84a3f5d8b2
Fixed compiler warnings.
2016-10-04 08:16:35 +11:00
hiker
9cf88ef874
Merge remote-tracking branch 'origin/master' into rewind.
...
Fixed conflicts.
2016-10-04 08:15:40 +11:00
hiker
50b1a8cdfb
Added some (commented out) code to investigate camera shaking - if it
...
should happen again.
2016-10-03 18:13:03 +11:00
Benau
21a04213d5
Fix typo
2016-10-03 10:30:06 +08:00
Benau
78e6cfc8db
Merge remote-tracking branch 'origin/master' into walldriving
2016-10-03 10:03:12 +08:00
Benau
13eaf82af1
Patch TestAI with changes to SkiddingAI
2016-10-03 10:02:27 +08:00
Benau
e2030dabbc
Disable AI debug
2016-10-03 09:54:02 +08:00
Benau
c64c8717a5
Use 16bit integer to save some space in ArenaGraph
2016-10-03 09:28:12 +08:00
auria.mg
6e37c5375a
Fix end camera crash
2016-10-02 20:18:40 -04:00
Benau
3f71745d92
Only rescue AI if it's on the ground
2016-10-02 15:04:08 +08:00
Benau
fc94c5e4c4
Change the whole path to avoid bad items
2016-10-02 15:03:09 +08:00
Benau
d3301ff006
Allow battle ai profiling with different track
2016-10-01 12:35:57 +08:00
Benau
c434cb80f4
Significantly improve turning and bad items avoidance for ArenaAI
2016-10-01 07:58:14 +08:00
Benau
62dfef1fb9
Improve performance for findOutOfRoadSector on ArenaGraph
2016-09-30 09:27:44 +08:00
Benau
3c24c73faa
Fix unknown sector in arena after rescue
2016-09-30 08:15:36 +08:00
Benau
c22714951c
Missed reset before update TrackSector
2016-09-30 00:42:04 +08:00
Benau
d386c76e2d
Fix explosion animation on upside down area
2016-09-29 14:37:39 +08:00
Benau
43c40c062e
Make m_bb_max and m_bb_min private in Graph again
...
Avoid setting them in ArenaGraph, let createQuad handle them all
2016-09-29 13:36:50 +08:00
hiker
18b1218312
Oops - made boundary box protected again, it is accessed in the ArenaGraph.
2016-09-29 15:21:59 +10:00
hiker
2e38154bd6
Merge branch 'walldriving' of github.com:supertuxkart/stk-code into walldriving
2016-09-29 15:12:11 +10:00
hiker
0b76a576a3
Exit loop as soon as kart is found to be on one GraphNode.
2016-09-29 15:11:08 +10:00
hiker
fb7b42a625
Fixed compiler warning.
2016-09-29 15:10:51 +10:00
hiker
7f6d800fe7
Made the boundary box private to Graph.
2016-09-29 15:10:26 +10:00
Benau
32f87fa8a9
Fix wrong doxygen comments
2016-09-29 10:19:18 +08:00
Benau
df52922d08
Clean up unused function and wrong comment
2016-09-29 09:57:38 +08:00
Benau
100c23b3c0
Move TrackSector to WorldWithRank
2016-09-28 13:48:32 +08:00
Benau
3d89d5adc6
Make OverWorld be derived from World
2016-09-28 11:24:04 +08:00
Benau
7867a30276
Allow auto-rescue for ArenaAI if off road for some times
2016-09-28 09:59:33 +08:00
Benau
ff52d91372
Improve SoccerAi front point handling
2016-09-27 16:24:38 +08:00
Benau
e26920e479
Improved skidding when closing to item or kart as target
2016-09-27 15:30:31 +08:00
Benau
3030b679df
Clean up ArenaAI
2016-09-27 12:38:36 +08:00
hiker
a58cef4701
Smoothing the speed of a kart (necessary to reduce camera stutter)
...
results in difficult to reproduce physics. So maintain two speed
values: smoothed (for camera), and 'normal' (for everything else).
2016-09-27 08:42:05 +10:00
deve
cabc696710
Fixed compilation with cmake 3.6
2016-09-26 11:28:19 +02:00
Benau
6f67fd6507
Make swatter be able to swat in any direction
2016-09-26 12:46:44 +08:00
Benau
1260f23db0
Try to fix animation
...
Don't create a new one after the previous one just got deleted
2016-09-26 11:32:19 +08:00
Benau
9be31ba57b
Fix build
2016-09-26 10:25:38 +08:00
Benau
2701af315b
Try to make checkCrashes work in any direction
2016-09-26 10:09:53 +08:00
hiker
81004adb90
Moved all m_speed handling into a seperate function.
2016-09-26 09:28:28 +10:00
hiker
a6568e01ea
Propperly handle instand speed increases in the physics when rewinding.
2016-09-26 09:01:18 +10:00
Benau
3659ad9068
Try to make determineTurnRadius works with any plane
2016-09-26 00:11:49 +08:00
Benau
bff7154e03
Simplify code and fix typo
...
Because AI always aims quad center now even for 3d quads
2016-09-25 11:22:15 +08:00
Benau
123e667ab4
Simplify code
2016-09-24 10:05:15 +08:00
deve
1a3daafbff
Fixed exit on startup when force legacy device is set in graphics restrictions.
...
It was working on Linux, but on Windows we need to clear system messages when closing irrlicht device.
2016-09-23 10:22:56 +02:00
hiker
74f521980a
Fixed time handling to be in synch between history and rewind.
2016-09-23 07:56:21 +10:00
Benau
111fc297d5
Fix overworld crash
2016-09-23 00:15:04 +08:00
hiker
25a457f88f
Moved m_speed computation, so that the correct speed was computed
...
when the engine force (which is speed dependent) is used.
2016-09-22 08:57:37 +10:00
hiker
f0b5f41fc7
Added info message in case of rewinding.
2016-09-21 17:33:37 +10:00
hiker
1651d28a4c
In case of history replay update dt earlier so that World is updated
...
with the replay dt value.
2016-09-21 17:31:24 +10:00
hiker
15660f2d7a
Bugfixes: update MaxSpeed(dt=0) (which updates additional engine power
...
and slowdowns correctly). Call proceedToTransform after updating
the velocities (which are read).
2016-09-21 17:28:26 +10:00
hiker
f09ed569cc
Bugfix: kart rewinder stored incorrect bullet zipper speed.
2016-09-21 17:27:08 +10:00
hiker
8ceb85ef14
Merge branch 'konstin-doc'
2016-09-21 09:13:04 +10:00
hiker
ec3dd221a2
Merge branch 'doc' of https://github.com/konstin/stk-code into konstin-doc
2016-09-21 09:12:32 +10:00
hiker
cf3f75c6e3
Moved SVN-CONFIG file to assets (subversion) repo.
2016-09-21 09:10:07 +10:00
hiker
3ccbeff180
Removed exec permission.
2016-09-21 09:07:06 +10:00
fHachenberg
a82f36d61d
Fixes issue #2065
...
Changes applied:
*symbol files added
*LabelWidget removed from SkillLevelWidget and replaced by IconButtonWidget
Subsequently variables and method containing Label or Text renamed
setSize method was rewritten
*Unused property "m_label_name" removed from SkillLevelWidget
*Substitution label->icon also introduced renamings in KartStatsWidget.
For instance, setDisplayText is now named setDisplayIcons
2016-09-20 14:01:02 +02:00
Benau
54bf37c09b
Make camera works better in upside down area
2016-09-20 10:51:51 +08:00
Deve
a1e2764263
Merge pull request #2636 from SuicSoft/patch-1
...
Fix typo in main_loop.cpp
2016-09-19 11:38:16 +02:00
Suici Doga
1d75987fe6
Fix typo in main_loop.cpp
2016-09-19 13:54:42 +05:30
Benau
36eca8bc55
Avoid setting gravity in btKart
2016-09-19 11:18:16 +08:00
Benau
8a0a9b2617
Allow showing 3D quad in track debug better
2016-09-19 08:49:59 +08:00
Benau
3187c7e0f9
Allow referee showing on upside down starting position
2016-09-18 13:54:00 +08:00
Benau
ffd497276b
Fix kart flying
2016-09-18 12:38:36 +08:00
Benau
b137dbb71c
Set gravity inside btKart, allowing starting upside down in arena
2016-09-18 10:53:58 +08:00
Benau
eeac5668d9
Rename QuadGraph to DriveGraph, make it use the new Graph interface
2016-09-17 14:30:28 +08:00
Deve
f2d354d759
Fixed graphics restrictions on android
2016-09-17 03:55:50 +02:00
Deve
852cc068d3
Restore SSAO on linux with GLES renderer.
2016-09-17 03:55:50 +02:00
Deve
21d62ed405
Check availability of color buffer float extension in GLES renderer
2016-09-17 03:55:50 +02:00
Deve
d05cff09c8
Add a graphics restriction for BGRA format on android.
...
It causes issues with particles transparency.
2016-09-17 03:55:50 +02:00
Benau
606a5401d3
Allow starting position on an upside down surface in arena
...
Todo: referee and make btKart cast ray at correct normal
2016-09-17 09:53:44 +08:00
Benau
a0005d57e9
Bugfix and better error handling in ArenaGraph
2016-09-16 12:21:38 +08:00
Benau
20e85aa781
Port all function from battle graph to new graph interface
2016-09-16 11:08:19 +08:00
Benau
fff0bab42a
Merge remote-tracking branch 'origin/master' into walldriving
2016-09-16 09:23:18 +08:00
Benau
05d2d05f2a
Make ArenaAI use only new graph interface
2016-09-16 09:22:57 +08:00
auria.mg
7c2642d427
Workaround crash
2016-09-15 21:12:01 -04:00
auria.mg
6a94d12a11
Update credits
2016-09-15 20:05:06 -04:00
auria.mg
f2bf4eb549
Add new soccer ball icons
2016-09-15 20:00:00 -04:00
Benau
1491236e84
Allow TrackSector to use with new graph class
2016-09-15 15:47:17 +08:00
Benau
05ad91c701
Port all function from battle graph to arena graph
...
Todo: AI and worlds
2016-09-15 13:29:26 +08:00
Benau
483dca3754
Make EndController to use length()
2016-09-15 12:40:58 +08:00
Benau
8c830bdabf
Inital work on one graph interface
2016-09-15 11:46:31 +08:00
Benau
061f187142
Make slipstream work in upside down track
2016-09-13 15:07:07 +08:00
Benau
4574686c1d
Make angle computation work in 3D
2016-09-13 12:49:30 +08:00
Benau
3f86722181
Fix skid mark on wall surface
2016-09-13 11:48:36 +08:00
Benau
382905716f
Simplify code
2016-09-13 09:26:05 +08:00
hiker
457cb700d2
Make rewind work with history replay (when replaying kart controls),
...
which allows to have reproducible test cases.
2016-09-13 09:58:42 +10:00
hiker
f8b48a0313
Added zipper speed to state of kart.
2016-09-13 09:55:51 +10:00
Benau
f5d43aaa2e
Use btAsin in setHPR
...
The following quaternion calculated by shortestArcQuat in
rescue animation leads to nan in asinf:
0.710828841, -0.00974362344, -0.703500867, 0.00481829932
-2.0f * (X * Z - Y * W) equals 1.00004351 with above figures
With btAsin it will:
if (x<btScalar(-1)) x=btScalar(-1);
if (x>btScalar(1)) x=btScalar(1);
return asin(x);
2016-09-13 07:43:19 +08:00
Deve
3a9b2b9872
Fixed advanced lighting on android
2016-09-12 21:43:31 +02:00
Benau
b699018879
Only do custom direction of raycast if item is on quad graph
2016-09-12 13:04:05 +08:00
Benau
7544dc3315
Fix uninitialized value
2016-09-12 11:35:34 +08:00
Benau
cc54c44ec0
Fix rotation of items on upside down surface
2016-09-12 10:43:49 +08:00
Benau
f4861a6279
Fix bubblegum on upside down track
2016-09-12 09:33:05 +08:00
Deve
b0c0af8c46
Check if drivers support BGRA texture format and fallback to RGBA
2016-09-11 22:35:54 +02:00
Benau
f687454313
Fix item positioning on Node3D
2016-09-11 16:31:57 +08:00
Benau
ba047a4f99
Keep flying karts parallel to the ground in the physics, not outside
...
Like 44da1fb4f2 , but takes terrain
into account
2016-09-11 15:35:42 +08:00
Benau
2415340cae
Try to fix too bouncy bowling ball
2016-09-11 10:07:43 +08:00
Benau
c37f75bf90
Improve item projection on upside down surface
2016-09-10 16:09:21 +08:00
Benau
b3d5e58dd1
Revert enable sliding for upside down tracks.
...
Actually !getMaterial()->highTireAdhesion() is always false for
upside down texture, so the below code was useless to test with
normal
2016-09-10 14:32:55 +08:00
Benau
7cfd9752d0
Fix restarting the race when karts are up-side-down
2016-09-10 11:11:52 +08:00
Benau
fde9ccd53e
Move updateTerrainInfo to a better location
2016-09-10 11:09:52 +08:00
Deve
fb1c049906
Fixed skybox in GLES renderer
2016-09-10 00:17:47 +02:00
Deve
37f3a8e19e
Fixed RTTs formats in GLES renderer.
...
The problem is that textures with float internal formats can be used in framebuffers only when some extensions are available. This is a basic functionality and we need something that is supported on all drivers. As far as I tested, the basic integer GL_RGBA8 format works fine.
Another problem is with GL_BGRA format. The extension with GL_BGRA support is available for almost every device and irrlicht is able to load all textures from files (it has a fallback mode anyway), but when it's used as a texture for framebuffer, it produces a black screen. Again it works fine with GL_RGBA format.
The only issue that is not fixed is SSAO rendering. It uses linear depth rtt, which has GL_R32F type and which can't be easily changed to something other. I disabled SSAO for now, because it is too slow for embedded devices anyway.
I didn't change anything in original OpenGL 3.x rendering, so everything should work as before.
2016-09-09 23:56:22 +02:00
Deve
278d985632
Disable rtt that is not used in GLES renderer anyway
2016-09-09 22:23:01 +02:00
Benau
ceb92f9b4a
Try to completely fix rescue issue
2016-09-10 01:20:11 +08:00
Benau
4f67567834
Fix the up vector
2016-09-09 19:48:11 +08:00
Benau
ca4640716a
Fix findOutOfRoadSector with Node3D
2016-09-09 16:30:35 +08:00
Benau
505b50da0c
Make getNode return pointer. (easier with dynamic_cast later)
2016-09-09 16:14:28 +08:00
Benau
9d65e2047c
Fix heading (which got overwriten by merge)
2016-09-09 12:46:42 +08:00
hiker
876ba33876
Added state saving for skidding.
2016-09-09 13:38:39 +10:00
hiker
e1af0cc353
Fixed various bugs in max speed state saving.
2016-09-09 13:36:49 +10:00
Deve
f2d1eb7117
Use high precision floating point variables if possible.
...
On desktop medium and high precision is generally the same, at least for mesa drivers. But on some Android devices medium precision is much worse, which causes artifacts. We need high precision float variables in vertex shaders for proper scene rendering. Setting different precision for fragment and vertex shaders seems to be not possible, so we just set it to high for both shader types when it's available.
2016-09-07 22:43:11 +02:00
hiker
3a367ce989
For debugging: instead of specifying the time to go back, specify the
...
time to go back to.
2016-09-07 08:46:46 +10:00
hiker
6245cea609
Added MaxSpeed to saved state of each kart.
2016-09-07 08:15:09 +10:00
hiker
7d7b98564f
Fixed speed smoothing factor (which hopefully fixes the shaking camera).
2016-09-05 17:54:45 +10:00
hiker
77ae30a0c5
Avoid compiler warning.
2016-09-05 09:59:29 +10:00
hiker
1860edca4e
Save startup-boost information in state.
2016-09-05 08:14:51 +10:00
hiker
a563266988
Made the KartRewinder to be a kart (which gives it easier access to
...
some of the kart attributes that need to be saved).
2016-09-05 08:00:21 +10:00
Benau
262eb40dfe
Allow showing yellow (2d) / green (3d) quads in track debug
2016-09-04 14:33:23 +08:00
Benau
9d41f4b429
Add assert check for graph.xml
2016-09-04 13:15:51 +08:00
Benau
23a49d5245
Merge remote-tracking branch 'origin/master' into walldriving
2016-09-04 11:56:28 +08:00
Benau
21dc569f70
Start to clean up quad and graph node
2016-09-04 11:56:03 +08:00
Benau
78baaff23e
Fix crash in profile mode
2016-09-03 23:03:14 +00:00
hiker
b91ecc9754
Use exponential smoothing for speed, to further reduce stuttering
...
in speed (and therefore camera).
2016-09-01 15:52:26 +10:00
hiker
f89aaa67f5
Reduce (admittedly very minor) camera jitter by computing the speed
...
of a kart after it was capped by max speed.
2016-09-01 09:54:09 +10:00
Deve
29eda8a206
Merge pull request #2620 from LoadingPleaseWait/tiny-typo
...
Fix CPU marker typo
2016-08-31 22:57:00 +02:00
LoadingPleaseWait
3dc13eb071
Fix CPU marker typo
2016-08-31 15:36:15 -05:00
hiker
2a06036fb7
Changed order in which rendering and various updates are done, which
...
results in the physics reacting one frame earlier to user input.
2016-08-31 16:31:59 +10:00
hiker
ce91d6c2b4
Bugfix (saved incorrect variable).
2016-08-31 16:27:05 +10:00
deve
6c9050f47a
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-08-26 10:36:09 +02:00
deve
5abc047b0c
Declare precision also in vertex shaders in GLES renderer.
...
Some drivers complain that it was declared only in fragment shaders.
2016-08-26 10:35:48 +02:00
Benau
35ce9a39ce
Merge branch 'master' into walldriving
2016-08-26 15:36:57 +08:00
auria.mg
061323ffb0
Add information for translators
2016-08-23 20:01:06 -04:00
auria.mg
a07a8b6516
Fix XML files and regenerate strings
2016-08-23 19:53:41 -04:00
Aapo Rantalainen
38e5799167
Four help?.stkgui -files were treated as binary by git ( #2612 )
2016-08-23 19:36:16 -04:00
konstin
138daf57a4
Move credits file back
2016-08-23 11:07:13 +02:00
konstin
4ce6fb04ea
Remove unused documentation and tool files
2016-08-23 01:58:53 +02:00
konstin
fb226a717f
Proper building instructions in the readme
2016-08-23 01:51:27 +02:00
Deve
7f4d815dde
Request GLES 3.0 context and fallback to 2.0 if not available.
2016-08-22 20:05:36 +02:00
hiker
e6b2c0f1a0
Fised neniry leak.
2016-08-22 18:08:51 +10:00
hiker
75e1f1c82b
Bugfix, wrong variable type.
2016-08-22 18:06:26 +10:00
hiker
8f068c4ff0
Somewhat reduced debug output.
2016-08-22 18:05:14 +10:00
hiker
e62948499f
Fixed compiler warning.
2016-08-22 18:04:06 +10:00
Deve
ed5a957a64
Fixed typo in config.xml
2016-08-20 23:39:31 +02:00
Deve
790634a914
Use proper size for RSM framebuffer when scale rtts parameter is set.
...
It looks that only RSM visualization was affected.
2016-08-20 23:34:12 +02:00
Deve
a4dfbc552f
Fixed also minimap in overworld with scale rtts parameter
2016-08-20 22:47:53 +02:00
Deve
150e40e4e8
Break the loop with glClientWaitSync also when GL_CONDITION_SATISFIED is returned.
...
The GL_CONDITION_SATISFIED says that the sync was signaled before the timeout expired. In this case there is no reason to make another glClientWaitSync execution.
2016-08-20 09:31:29 +02:00
Deve
d5fe015ba7
Fixed typo in previous commit.
2016-08-20 08:35:08 +02:00
Deve
a001505abd
Set ForceLegacyDevice for intel ironlake and for old radeon drivers.
...
This hopefully will allow to run STK with these graphics cards and drivers.
2016-08-20 08:13:17 +02:00
Deve
c7d970b745
Allow to set ForceLegacyDevice in graphics restrictions
2016-08-20 08:13:17 +02:00
Benau
91e11a8d88
Don't crash in overworld
2016-08-20 09:01:52 +08:00
Alpt
67e94e73ce
In the addons screen, show a tip to remember that the Internet connection is disabled. (Issue #1763 ). ( #2605 )
2016-08-19 18:28:59 -04:00
hiker
e7803fe1ab
Don't use intermediate states when replaying (only the original state),
...
since the states after the original are potentially incorrect (due to
the (later) insertion of an event that triggers the rewind).
Rewinds are now much more different than previously ... wip.
2016-08-19 16:38:49 +10:00
Elderme
41cd1e0364
merged with master
2016-08-18 22:36:19 +02:00
Benau
a1c09c4adb
Fix potential crash
2016-08-18 15:34:58 +08:00
Benau
6b0fe9dd89
Clean up:
...
Try to use forward enum declaration for KartRenderType
NoCopy for RenderInfo
2016-08-18 11:15:05 +08:00
hiker
3d5de1c24c
Fixed saving kart control events (they stored the previous value, not
...
the new value).
2016-08-17 17:54:26 +10:00
Benau
fa39de691e
Fix Release build
2016-08-17 12:08:20 +08:00
Benau
f07452842d
Add support for colorizing library objects using material.xml only
2016-08-17 11:57:18 +08:00
Michael Murphey
d213bef9db
Place buttons in confirm dialog horizontally ( #2573 )
...
* Place buttons in confirm dialog horizontally closes #2548
* Use RibbonWidget for MessageDialog
* Use buttonbar for confirm dialog
2016-08-16 19:08:45 -04:00
hiker
adba5c48c8
Fix commented out code to use setter/getter in KartControl.
2016-08-17 08:32:11 +10:00
hiker
e56d324738
Moved the kart control events from the kart control class instead
...
of the kart rewinder.
2016-08-17 08:08:42 +10:00
Deve
489c34edbf
Fixed minimap with scale_rtts_factor parameter
2016-08-16 23:59:36 +02:00
auria.mg
084fa04012
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-08-15 20:33:11 -04:00
auria.mg
63a82c915c
Bugfix: prevent activating disabled ribbon items
2016-08-15 20:33:06 -04:00
hiker
7c899c943c
Refactored KartControl to use setters/getters instead of
...
just public variables.
2016-08-15 17:26:07 +10:00
Deve
bd6ad544cc
Fixed bloom with scale_rtts_factor parameter.
2016-08-15 08:46:02 +02:00
Deve
26d2bf847c
Allow to use non-hd textures in OpenGL ES renderer
2016-08-13 00:01:08 +02:00
Deve
b23f39f1cd
Fixed non-hd textures in legacy pipeline
2016-08-12 23:51:29 +02:00
Deve
08202f2fa8
Remove USE_XRANDR flag from cmake.
...
Our vidmode code is old, has some bugs (eg. resolution is not restored properly in some cases), doesn't have multi monitor support and IMO shouldn't be used in current state.
If someone really wants to use it, the flags can be set directly in IrrCompileConfig.h.
2016-08-12 23:39:12 +02:00
Deve
d320df749f
Allow to set max texture size in config file.
...
It gives much lower memory usage when it's set for example to 128.
2016-08-12 23:30:10 +02:00
Deve
1481da9718
Fixed button icons with non-hd textures and low MAX_TEXTURE_SIZE parameter
2016-08-12 20:51:19 +02:00
Benau
c5446c4cf1
Remove unused header
2016-08-12 10:41:07 +08:00
Benau
c71b24f98f
Correct fixes to #2599
2016-08-12 09:41:08 +08:00
Benau
aa15b0070e
Determine the texture size of bold face smartly
2016-08-12 08:31:52 +08:00
Benau
2d95df1722
Update appdata file to latest standard
2016-08-12 00:48:57 +08:00
hiker
239881ef5e
Refactored event handling, so that now not only Rewinder objects
...
can store events. This allows e.g. a 'new attachment' event to
be handled entirely in the attachment class, not in the kart
rewinder anymore.
2016-08-11 17:16:54 +10:00
Deve
5cfed1bc1c
Allow to set lower RTTs resolution.
...
It allows to increase performance on devices that have only one available resolution.
It also allows to draw GUI elements in full resolution while rendering the scene with slightly lower resolution, which gives you few additional FPS.
Note that particles don't work as expected yet with this feature.
2016-08-11 02:04:35 +02:00
hiker
e621e93f4c
Updated comments.
2016-08-10 08:35:23 +10:00
hiker
eaf21fe2f8
Replaced #include in kart.hpp to reduce dependencies; some coding style fixes.
2016-08-10 08:21:37 +10:00
hiker
7c598df8d1
Save powerup state in kart status.
2016-08-09 17:46:06 +10:00
hiker
f4f2f11943
Fix crash in case the same event is replayed more than once.
2016-08-09 17:39:20 +10:00
hiker
a5ce27caa5
Added events for new attachments.
2016-08-09 17:16:45 +10:00
hiker
5f6c954c5a
Added documentation.
2016-08-08 18:10:30 +10:00
hiker
5da96cf9d0
Fixed documentation and usage of ATTACHMENT_NOLOKS_SWATTER (which is
...
never an actual attachment value, even nolok has 'ATTACHMENT_SWATTER'
set).
2016-08-08 17:57:15 +10:00
hiker
f341cd1440
Optimised rewind of attachments (avoid creating new attachments
...
when the attachment was not changed).
2016-08-08 17:46:52 +10:00
hiker
c01f838b0f
Merge remote-tracking branch 'origin/master' into rewind
2016-08-08 14:34:24 +10:00
Benau
15a2526971
Merge branch 'fix_graph'
2016-08-08 08:56:05 +08:00
hiker
b3f932a0e3
Renamed getState to saveState, and added support for saving a kart's
...
attachmend in a state.
2016-08-08 10:33:12 +10:00
MTres19
8e8433f08c
Credit where credit is due ( #2593 )
...
* Give GeekPenguinBR and TuxKartDriver credit
* Give credit to samuncle and konstin
2016-08-05 19:12:52 -04:00
hiker
40697ab5f7
Bugfix for rewind: previously for a floating point value f add(f)
...
would actually call add(Vec3(f)), which adds a vector (f,f,f).
2016-08-05 17:22:04 +10:00
hiker
e039eb59c9
Added more fields to debug output.
2016-08-05 17:21:17 +10:00
hiker
05db7c1481
Use BareNetworkString for storing states and events.
2016-08-04 23:17:16 +10:00
Elderme
6f78f5b9b9
Fixed GLES
2016-08-04 14:36:35 +02:00
hiker
1025e25846
Refactored RewindInfo into astand-alone class/file with separate
...
classes for time, event, and states.
2016-08-03 17:48:38 +10:00
Benau
10937333a1
Remove duplicated code in navmesh
2016-08-03 12:37:48 +08:00
hiker
3eb94e023d
Fixed error in rewind when only event but no state information
...
was available at chosen rewind-to time.
2016-08-02 21:24:10 +10:00
hiker
9f0529f26f
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-08-01 08:42:09 +10:00
hiker
a15c9529a5
Merge remote-tracking branch 'origin/master' into rewind
2016-08-01 08:18:38 +10:00
hiker
cdde62dadb
Further tweaked restitution for track and bowling ball to avoid
...
bowling balls jumping up and down, while still maintaining a push
back for soccer balls.
2016-08-01 08:00:14 +10:00
auria.mg
ea939459e8
Improve string as suggested on transifex
2016-07-30 21:51:31 -04:00
Benau
6904402547
Fix wrong RTL text in arena screen
2016-07-31 09:04:10 +08:00
auria.mg
9a740311bf
Merge branch 'master' of https://github.com/supertuxkart/stk-code
...
# Conflicts:
# src/challenges/challenge_data.cpp
2016-07-30 20:53:37 -04:00
auria.mg
40ab343922
Fix string remaining in wrong language when changing language
2016-07-30 20:52:32 -04:00
Benau
788f168c7f
Fix space before colon
2016-07-31 08:04:16 +08:00
auria.mg
b69faff13d
Fix indentation (tabs/spaces)
2016-07-30 19:46:15 -04:00
auria.mg
347f977ea7
Fix english string, as reported a while ago but couldn't fix then due to string freeze
2016-07-30 19:44:21 -04:00
auria.mg
a318e3b216
Log out user when deactivating internet connection, fixes #2589
2016-07-30 19:43:48 -04:00
Elderme
a3c78a7245
Fixed polycount in kart selection screen
2016-07-30 11:31:23 +02:00
Benau
637e468f18
Use uniform copyright header for source
2016-07-29 11:50:37 +08:00
hiker
efe9fa6329
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-07-29 09:54:25 +10:00
hiker
8f7d47d3c3
Fix ball-track collision (which should also improve kart-track
...
collision).
2016-07-29 09:53:37 +10:00
qwertychouskie
611e70ac83
Show boost at startup ( #2586 )
...
* Show boost at startup
* Fix https://github.com/supertuxkart/stk-code/pull/2586#issuecomment-235765919
2016-07-28 19:24:42 -04:00
hiker
aba8d8d1f0
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-07-28 16:30:48 +10:00
hiker
83117fe649
Fixed wheel position in case of a rescue: if the suspension of
...
a wheel is stretched at the time a rescue or explosion is triggered,
the wheel will appear to be very far away from the kart (not connected
anymore).
2016-07-28 09:47:56 +10:00
qwertychouskie
277a4b9262
Fix #2542 . Also update copyright year. ( #2585 )
...
* Fix #2542 . Also update copyright year.
* Update header
2016-07-27 18:31:39 -04:00
hiker
6ca0eed28f
Added debug option to trigger a kart explosion in debug mode.
2016-07-27 17:34:59 +10:00
Benau
bc5e2f3e29
Add unit testing for fonts for translation
2016-07-27 11:48:38 +08:00
hiker
b1a7c01b6e
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-07-27 08:59:02 +10:00
hiker
6d0ad4a4fe
Fixed compiler warning.
2016-07-27 08:26:41 +10:00
hiker
0db2a195b6
Fixed compiler warning.
2016-07-27 07:54:54 +10:00
Elderme
a21d7b4b71
Merge branch 'master' into renderer_refactoring
2016-07-26 22:16:48 +02:00
Elderme
7812965d37
Fixed issue with colorization (mistake when merging)
2016-07-26 22:04:57 +02:00
Elderme
cd1b9a66a0
Merged master in branch
2016-07-26 21:31:52 +02:00
hiker
f69d04edd3
Fixed STUN protocol (#fixed #2566 ).
2016-07-27 00:42:51 +10:00
Benau
cefead119a
Try to use c++11 typeid for getFont
2016-07-26 08:04:12 +08:00
Deve
29185f679b
Merge pull request #2581 from qwertychouskie/patch-7
...
Update deps from INSTALL.md
2016-07-25 11:51:31 +02:00
hiker
ba3497bb81
Properly set the camera type in the constructor (which previously
...
was always 'CM_TYPE_NORMAL'). Fixes #2576 .
2016-07-25 17:45:24 +10:00
Benau
8c38e9e79b
Merge remote-tracking branch 'origin/fix_timer'
2016-07-25 14:46:58 +08:00
hiker
c64733e3d0
Merge branch 'dijkstra-test'
2016-07-25 16:42:24 +10:00
Benau
5a7f3caefd
Fix the rest non-working timer-related function
2016-07-25 13:48:41 +08:00
Benau
d9e0d0d458
Fix #2580
2016-07-25 10:18:11 +08:00
hiker
7e91642eb7
Merge branch 'master' into dijkstra-test
2016-07-25 08:37:48 +10:00
hiker
7196ddfba8
The unit test for battle graph detects incorrect parents for some
...
(other) arenas. Those are false positives (often there is more
than one shortest path, all with the same length; e.g. in case of
a regular gridded section). Added more details in error reporting
to help in debugging, but generally disabled the test for identical
paths, only the actual path length is tested now.
2016-07-25 08:11:56 +10:00
Benau
6a4fe397d4
Thanks devnexen for spotting this out
2016-07-24 15:56:02 +08:00
Deve
91b41272d9
Merge pull request #2579 from qwertychouskie/patch-6
...
Update links
2016-07-24 08:10:26 +02:00
Benau
236c9c44a8
Minor improvements for font
2016-07-24 09:56:46 +08:00
qwertychouskie
3d3b7a7de7
Update deps from INSTALL.md
...
(and put them in alphabetical order.)
2016-07-23 16:12:59 -07:00
qwertychouskie
42b80d5e9c
Update link
2016-07-23 14:23:36 -07:00
qwertychouskie
94440645a0
Update link
2016-07-23 14:22:03 -07:00
qwertychouskie
178fbbfefa
Merge pull request #1 from qwertychouskie/patch-7
...
Update link
2016-07-23 14:19:07 -07:00
qwertychouskie
493030ba9c
Update link
2016-07-23 14:17:30 -07:00
qwertychouskie
9cbf8a0641
Update link
2016-07-23 14:16:09 -07:00
Benau
5b4d8e1f8a
Remove old font settings
2016-07-23 10:48:48 +08:00
Rob Clark
ce38df268b
couple small performance optimizations ( #2578 )
...
* pass timeout to driver, rather than unconditional 1ms sleep
This way if the fence is signalled earlier, we can get on with life
sooner.
* optimize displacement bind/clear/render
Stop thrashing render targets, and group things together into single
render-passes. And only bind/clear if we will actually draw.
2016-07-22 20:29:42 -04:00
hiker
2654705da1
Fixed linux compilation.
2016-07-22 11:50:41 +10:00
hiker
78fa5f08b6
Merge branch 'master' into dijkstra-test
2016-07-22 11:46:45 +10:00
hiker
9fcb55aac3
Use Dijkstra instead of Floy-Warshall for computing the paths in battle mode
...
(which is signiccantly faster). Added unit testing for dijksta based on
the F.W. algorithm.
2016-07-22 11:06:32 +10:00
hiker
d6a62a85b7
Removed unnecessary #include.
2016-07-22 09:58:10 +10:00
Benau
744a4705b6
Auto embolden glyph of bold face, without fallback font
2016-07-21 12:26:19 +08:00
hiker
2cfe99827f
Merge branch 'master' into dijkstra-test
2016-07-21 09:18:07 +10:00
Benau
a72f67015c
Remove 36MB CJK fonts, use the previous font instead
2016-07-20 09:49:10 +08:00
Benau
7f1e776bf6
Fix digit font drawing
2016-07-19 16:47:39 +08:00
Benau
03b92efba5
Fix wrong text alignment
2016-07-19 15:21:14 +08:00
Benau
89976def57
Remove not-used-anymore setReferenceCount
2016-07-19 13:58:38 +08:00
Benau
1079800376
Merge remote-tracking branch 'origin/master' into new_font_engine
2016-07-19 13:15:47 +08:00
Benau
e02a25f8f5
Use bold font for billboard text
2016-07-19 13:13:31 +08:00
Benau
b2ee606e7b
Try to use float for dest_ret
2016-07-19 12:25:16 +08:00
Benau
89f06ed8d3
Fix crash with fixed pipeline
2016-07-18 23:56:14 +08:00
Benau
6a319cbed2
Clean up old font code
2016-07-18 23:00:40 +08:00
Benau
05419cd555
Initial work on new font rendering engine
2016-07-18 16:03:11 +08:00
David CARLIER
c890483931
small mem leak in this unit test ( #2575 )
2016-07-16 18:28:45 -04:00
Benau
9fd6fd2673
Fix crashes when using the uninitialized layer 8 texture
2016-07-15 15:23:17 +08:00
Benau
1d6c7fa60f
Remove vector int in RenderInfo
2016-07-15 12:31:00 +08:00
Benau
8408a7c158
Merge remote-tracking branch 'origin/master' into colorful_track_object
2016-07-15 09:27:59 +08:00
Deve
93fc20e275
Merge OpenGL ES renderer branch
...
It adds support for OpenGL ES renderer, which is needed for Android port and for running STK on other embedded devices such as Raspberry Pi.
Currently it works in two ways:
- Shader-based pipeline, which requires OpenGL ES 3.0 (Android >= 4.3)
- Fallback to irrlicht-based fixed pipeline that needs OpenGL ES 2.0. The fixed pipeline generally works, but it is affected by the same issues as our OpenGL 2.1 fixed pipeline renderer.
I tried to modify our OpenGL renderer as little as possible to avoid regressions. The only one major change is that we are now using the "#stk_include" directive in shaders instead of linking multiple shaders into one program.
Currently it works only on linux. The Android port needs some refactoring. In theory it should be possible to make it working on Windows, but we would need some OpenGL ES SDK, or maybe modified libglew.
At this stage it is playable with current mesa drivers. I tested it on intel graphics card and I didn't notice any issues.
On Android only the OpenGL ES 2.0 renderer with fixed pipeline has been tested for now.
2016-07-14 20:54:30 +02:00
Deve
eea30b3197
Handle glDebugMessageCallback extension in better way for OpenGL ES
2016-07-14 20:34:43 +02:00
Deve
8f8acdcef3
Remove android related code part2.
...
Again, it will be handled in different branch and hopefully with curl and sounds support.
2016-07-14 19:50:34 +02:00
Benau
53374176ad
First try to support colorization texture mask
2016-07-15 00:53:22 +08:00
Elderme
d7ebde2e68
Do not upload UBO data when UBO are disabled by graphics restriction
2016-07-13 23:19:52 +02:00
auria.mg
1463cf9344
Fix uninitialized variables, fixes #2567
2016-07-12 19:39:44 -04:00
Deve
81b471be1f
More proper solution for glDrawElementsBaseVertex function
2016-07-12 23:34:31 +02:00
Deve
32cd942760
Revert "Use function compatible with GLES 3.0 for drawing elements with offset."
...
This reverts commit 86a1d3a07a .
2016-07-12 22:50:59 +02:00
Deve
131dfb2fc0
Fixed compiler warning
2016-07-12 00:04:46 +02:00
Deve
5601309ae8
Fixed windows compilation
2016-07-12 00:04:37 +02:00
Deve
886382bb54
Merge remote-tracking branch 'origin/master' into gles
2016-07-11 23:43:10 +02:00
Deve
0f7976e5f8
Merge branch 'master' into gles
2016-07-11 23:23:02 +02:00
Deve
01dfd7bc05
More #ifdef's simplifications
2016-07-11 22:55:32 +02:00
Deve
b25a4e874f
Remove android related code. It will be handled in different branch.
2016-07-11 22:54:59 +02:00
Benau
19acdad9b4
Replace Ubuntu font with a really free font
2016-07-11 15:52:16 +08:00
Benau
08f2437754
Merge branch 'support_loop_start_music'
2016-07-11 09:09:06 +08:00
Elderme
cc43879308
Tried to fix issue with Intel HD 3000
2016-07-10 22:49:58 +02:00
Deve
3728adf1c5
The gles renderer is currently supported only on linux
2016-07-09 03:03:15 +02:00
Deve
f2d21d2353
Remove GLESv1 renderer because it's not used
2016-07-09 02:59:40 +02:00
Deve
17a0e4fbd8
Fixed an issue with grass shader.
...
It looks that EMT_TRANSPARENT_ALPHA_CHANNEL_REF wasn't handled at all in irrlicht OpenGL renderer.
2016-07-09 02:50:40 +02:00
Deve
f1effe3208
Revert "Fixed a grass being too dark in some places."
...
This reverts commit 2b734a9579 .
2016-07-09 02:20:06 +02:00
Deve
a67a378c41
Merge pull request #2563 from LoadingPleaseWait/wiimote-string
...
Add missing space in string for wiimote manager
2016-07-08 22:43:23 +02:00
LoadingPleaseWait
bdd21142bb
Add missing space in string for wiimote manager
2016-07-08 15:33:10 -05:00
Benau
b903baf226
Fix crash sound only working once if the timer counts backwards
2016-07-08 23:43:12 +08:00
Benau
98b9aef121
Add support for loop start of music
2016-07-08 13:54:37 +08:00
Deve
fa03185370
Remove extensions that are not used anyway
2016-07-08 01:24:02 +02:00
Deve
44f8290d77
Added gles renderer to the warning about incompatible irrlicht version
2016-07-08 01:02:25 +02:00
Deve
902e6163dc
Disable heightmap simulation shader for now
2016-07-08 00:48:20 +02:00
Deve
86a1d3a07a
Use function compatible with GLES 3.0 for drawing elements with offset.
2016-07-08 00:20:08 +02:00
Elderme
0630145a5c
Fixed rendering issue when switching advanced pipeline on to off in RTT screen
2016-07-07 23:08:31 +02:00
hiker
b2a62c222c
Merge branch 'camera-refactor'
2016-07-08 06:47:32 +10:00
hiker
c3e1a67f39
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-07-08 06:24:19 +10:00
hiker
c43930dc46
Bugfix: characteristics could not be overwritten in kart.xml files.
...
First part of #2560 .
2016-07-08 06:22:28 +10:00
Deve
2b734a9579
Fixed a grass being too dark in some places.
...
It seems to be an inconsistency in using sRGB rendering.
2016-07-07 01:52:22 +02:00
Deve
66e76be76d
Don't use hardcoded path for irrlicht shaders
2016-07-06 06:37:22 +02:00
qwertychouskie
fbcd0ef495
Update TODO.md ( #2531 )
...
* Update TODO.md
* Update link
2016-07-05 19:09:22 -04:00
deve
20e72b2e9d
Show better text in old driver popup
2016-07-05 12:18:43 +02:00
deve
e42673c4ac
Read mesa version in better way.
...
It solves the problem with OpenGL ES, because there is one more word in the version string:
OpenGL version string: OpenGL ES 3.0 Mesa 11.2.2
2016-07-05 12:17:40 +02:00
deve
93dde11562
Use proper depth texture
2016-07-05 11:48:43 +02:00
Benau
b6153b6002
Thanks devee for this fix
2016-07-05 17:47:55 +08:00
Benau
04ccadd745
Fix non-linux build
2016-07-05 16:24:59 +08:00
Deve
04d3bfb9a1
Restore previous version of object pass shader.
...
This one doesn't have sense at all. We should make sure that uniforms are always initialized in c++ code.
2016-07-05 01:10:53 +02:00
Deve
0f318ab1ba
Restore checking for framebuffer completion
2016-07-05 00:28:25 +02:00
Deve
4132177132
Fully integrate gles renderer with our irrlicht version.
2016-07-05 00:25:03 +02:00
Ezequiel Garcia
02361a37e8
Minor fixes for issues found while cross-building v2 ( #2556 )
...
* irrlicht: Fix harmless typo when setting CMAKE_CXX_FLAGS
The CMAKE_CXX_FLAGS set should be based on previously set
CMAKE_CXX_FLAGS (instead of C flags). This is currently
harmless because CMAKE_CXX_FLAGS is not previously set.
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar >
* irrlicht: Get rid of unprefixed cflags
Cross-building requires proper include paths. This commit
removes the unprefixed -I/usr/X11R6/include in irrlicht cflags,
replacing it with a proper CMake module.
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar >
* irrlicht: Fix boolean return type for jpeglib's callback
Building on certain toolchains can fail due to returning an integer
instead of TRUE. In any case, only {TRUE,FALSE} should be used
as 'boolean' jpeglib type. Fix this by returning TRUE.
CImageLoaderJPG.cpp: In static member function 'static boolean
irr::video::CImageLoaderJPG::fill_input_buffer(j_decompress_ptr)':
CImageLoaderJPG.cpp:69:9: error: invalid conversion from 'int' to 'boolean'
[-fpermissive]
Signed-off-by: Romain Naour <romain.naour@smile.fr >
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar >
2016-07-03 21:07:53 -04:00
Benau
a0898962a9
Remove hard-coded value for colorization factor
2016-07-04 00:26:25 +08:00
Benau
ffbe06a98c
Update with the same type from blender export script
2016-07-03 11:25:50 +08:00
Benau
6b60d866ba
Make render info works with instanced rendering
...
The unordered_map in the past skipped some mesh buffer even its
render_info pointer is different, now the map takes it into account
2016-07-02 11:48:36 +08:00
Benau
ae790e9c62
Fix transparency of ghost karts
2016-07-02 08:59:38 +08:00
Elderme
2da28b22b7
Do not create CommandBuffers when Indirect Instancing Rendering is not available.
2016-07-01 23:15:08 +02:00
Benau
48d94097d6
Add min saturation setting to material class
2016-07-01 23:55:56 +08:00
Benau
f23ec7e7b8
Add more helper function to render info class
2016-07-01 00:39:25 +08:00
Benau
bfd66ebbac
Put color change code in a better location
2016-06-30 16:08:59 +08:00
Benau
4c4b4782e0
Fix wrong type
2016-06-30 14:16:12 +08:00
Benau
cda6bd7603
Allow changing kart color on-the-fly in soccer setup screen
2016-06-30 14:12:12 +08:00
Benau
4a2bac1cd5
Merge remote-tracking branch 'origin/master' into render_kart_driver_differently
2016-06-30 11:02:40 +08:00
Benau
a55ab7f707
Fix colorization of wheels and speed weight objects
2016-06-30 11:01:56 +08:00
Benau
5bb2a5cf7e
Allow changing kart color on-the-fly
2016-06-30 09:30:52 +08:00
hiker
4feb3350a2
Fix linux release build.
2016-06-30 09:42:50 +10:00
hiker
65af731e66
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-06-30 09:22:15 +10:00
hiker
392dd6a5ff
Added new installer picture.
2016-06-30 09:21:59 +10:00
hiker
48dbc6c80a
Fixed various bugs in kart characteristics: a negative value for
...
a float now works, also longer computations like 1+2*3 (see unit
testing).
2016-06-30 09:20:24 +10:00
hiker
9efb4da2ec
Added unit testing for kart characteristics (failing atm due to
...
bugs in characteristics).
2016-06-30 09:17:30 +10:00
Deve
9ceab23c5f
Apply ssao fix from master
2016-06-30 00:50:33 +02:00
Deve
c07472cf38
Simplify #ifdef's a bit
2016-06-30 00:29:15 +02:00
Deve
742fb309df
Totally disable code that needes gles 3.1.
2016-06-29 23:58:45 +02:00
hiker
3d2c2b63c0
Fixed unit testing for network string.
2016-06-30 07:47:35 +10:00
Deve
3ae175e05a
Fixed skybox rendering.
...
The GL_SRGB_ALPHA_EXT and GL_SRGB8_ALPHA8 formats are available in OpenGL ES, but they produce black texture for some reason. The basic GL_RGBA format works fine though.
2016-06-29 22:24:17 +02:00
Deve
961428f04c
Increase _IRR_MATERIAL_MAX_TEXTURES_ to 8
2016-06-29 22:18:24 +02:00
qwertychouskie
31b4c86b8f
Update links for new site ( #2529 )
...
* Update links for new site
* more tweaks to readme.md
2016-06-28 19:02:03 -04:00
qwertychouskie
e8462334ee
Update more links ( #2530 )
2016-06-28 18:27:15 -04:00
Deve
0fb119068b
Fixes in more shaders
2016-06-28 21:55:51 +02:00
hiker
59a64625fa
Use references instead of copying the string.
2016-06-28 17:43:25 +10:00
hiker
c3f1b53535
Added samuncle's new installer image.
2016-06-28 17:39:43 +10:00
hiker
f6a37b5e99
Simplified Stars constructor, removed unnecessary #include from kart.cpp.
2016-06-28 17:29:32 +10:00
Benau
984553fd33
Merge remote-tracking branch 'origin/master' into render_kart_driver_differently
2016-06-28 14:56:21 +08:00
Benau
22e5c0909c
Allow setting color without copying the mesh
2016-06-28 14:55:48 +08:00
David CARLIER
a99d02f366
couple of resource leaks fixes ( #2526 )
2016-06-27 19:47:56 -04:00
hiker
3c66a02337
Minor code simplification.
2016-06-28 08:01:26 +10:00
Deve
51d3b71ec6
Already working advanced lighting!
2016-06-27 23:24:39 +02:00
Deve
bf54626815
Added missing file
2016-06-27 23:06:48 +02:00
Deve
f73befbe0b
Fixed particles
2016-06-27 23:05:25 +02:00
deve
964baad705
Some fixes
2016-06-27 13:39:20 +02:00
deve
d5e30ee41e
Port also other shaders to use #stk_include
2016-06-27 13:11:27 +02:00
hiker
8b52831083
Merge branch 'fix-2522'
2016-06-27 18:13:11 +10:00
Benau
892bc490f7
Make shaders run as efficient as possible
2016-06-27 13:49:27 +08:00
Benau
5424d49ce7
Remove an ugly cast
2016-06-27 09:19:40 +08:00
hiker
4faa84a1a7
Merge branch 'master' into fix-2522
2016-06-27 07:49:28 +10:00
hiker
431ed63da2
Improved fix for 2522 by using isStaticOrKinematicObject() function
...
(instead of accessing the rigid body). This separates collision
and dynamic handling of bullet again.
2016-06-27 07:48:30 +10:00
Deve
f679078e75
Port some basic shaders to use #stk_include.
...
Already working race with disabled advanced lighting :)
2016-06-26 16:39:34 +02:00
Deve
b27f771318
Fixed compiler warning and remove debug output
2016-06-26 16:38:19 +02:00
Deve
e46905b106
Added #stk_include directive for our shaders.
...
OpenGL ES doesn't allow to link multiple shaders into one program. We can just join it on our side and compile it as one file instead.
2016-06-26 16:05:05 +02:00
Elderme
896f730827
Fixed isARBBufferStorageUsable function
2016-06-26 11:49:29 +02:00
Deve
9ce190f704
Fixed missing dot in file name
2016-06-26 10:19:34 +02:00
Benau
8bae12e080
Fix potential warning
2016-06-26 15:52:47 +08:00
Benau
8497ad0204
Use a deeper hue
2016-06-26 11:23:17 +08:00
Benau
f1dd7ce06e
Remove the arrows in soccer mode if using glsl
2016-06-26 07:53:59 +08:00
Benau
b467d0819d
Add a missed shader
2016-06-26 07:16:07 +08:00
Benau
416050a923
Use a more simple way to render red/blue karts
2016-06-26 07:14:11 +08:00
Elderme
12155ef8ee
Added draw policy information in the log.
2016-06-25 22:14:14 +02:00
Elderme
4c00d98001
Fixed glow issue when GL_ARB_explicit_attrib_location extension is not available
2016-06-25 20:57:13 +02:00
Deve
c26f7a91d7
Temporarily disabled checking for framebuffer completion
2016-06-25 15:11:52 +02:00
Deve
ce8a1c4e1b
Already working GUI in shader-based pipeline
2016-06-25 15:10:53 +02:00
Elderme
80713ec019
Fixed glow color issue when GL_ARB_draw_indirect extension is not available
2016-06-25 14:55:51 +02:00
Benau
7e806fe86f
Merge remote-tracking branch 'origin/master' into render_kart_driver_differently
2016-06-25 16:31:08 +08:00
Benau
2f217fd55b
Allow render red or blue karts in soccer mode using shader
2016-06-25 16:29:54 +08:00
auria.mg
cecc075e74
Add new improved race end sound
2016-06-24 20:23:00 -04:00
Benau
d0539ebe0c
Merge remote-tracking branch 'origin/master' into bfd_crash_report
2016-06-24 09:00:19 +08:00
Benau
aa0edb65dc
Use cmake to find libbfd
2016-06-24 08:59:39 +08:00
Deve
d13716a917
Initial linux version.
...
Currently works only with irrlicht-based renderer because shaders are not ported yet.
2016-06-24 02:47:13 +02:00
auria.mg
f90703beb6
Move hardcoded cutscene FOV to a config file
2016-06-23 19:10:56 -04:00
Odd0002
416edef95d
Fix debug build on GCC 5.3.0
2016-06-23 23:10:36 +02:00
Benau
6222ce650f
Add optional linux crash reporting with backtrace (using libbfd)
...
Notice:
To get backtrace too for leak check, you need to
define GET_STACK_TRACE in leak_check.cpp, but will slow down STK
2016-06-23 16:18:17 +08:00
qwertychouskie
c17070209d
Fix warning for cards without "Radeon" in string ( #2523 )
2016-06-21 19:38:44 -04:00
Elderme
9de9d98b8f
Restore activated texture to GL_TEXTURE0 before calls to irrlicht rendering functions
2016-06-21 23:02:07 +02:00
hiker
e7fbff6974
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-06-21 18:33:43 +10:00
hiker
99e0b677ac
Fixed #2499 .
2016-06-21 18:33:13 +10:00
hiker
0eb4ca2abd
Fix #2522 in case of a sphere, and apply this fix only in case of a
...
static body to reduce potential incorrect side effects.
2016-06-21 09:53:51 +10:00
hiker
7a95f10cc0
Try to fix #2522 for a puck.
2016-06-21 09:32:14 +10:00
Elderme
c4cb241b62
Added a call to glCheckFramebufferStatus for layered framebuffers
2016-06-20 22:24:12 +02:00
Elderme
863451d91d
Merged with master
2016-06-20 21:04:48 +02:00
hiker
0a883f3832
First try to fix #2522 (soccer ball pushed in air). Needs to be tested,
...
and puck still needs to be done.
2016-06-20 15:10:58 +10:00
Elderme
64a8a9be8c
Fixed light issue with legacy OpenGL
2016-06-19 15:36:52 +02:00
Elderme
b359e8f9fd
Merged with master, solved conflicts
2016-06-18 19:28:54 +02:00
Deve
14a6f20f5b
Merge pull request #2518 from akien-mga/master
...
Fix double slash in include
2016-06-16 23:04:59 +02:00
Rémi Verschelde
0a042c25a0
Fix double slash in include
...
Triggers a weird 9 year old RPM bug when extracting
debugging information for the compiled binary:
https://bugzilla.redhat.com/show_bug.cgi?id=304121
2016-06-16 21:27:34 +02:00
Michael Murphey
c849aa3b8d
More information in race result GUI ( #2516 )
...
* More information in race result GUI
* Fix extra race result GUI information
* Rename displayHighScores()
* Use race_manager->hasModeLaps() and fix clang compile error
* Don't initialize best_lap_time unless the mode has laps
2016-06-15 19:36:37 -04:00
hiker
02f77f315e
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-06-14 23:02:45 +10:00
hiker
39db063799
Don't include ilk (linker) files, properly remove shortcut to editor.
2016-06-14 23:00:27 +10:00
Benau
143bc2618e
Remove a unneeded setting
2016-06-13 09:09:18 +08:00
Benau
d520c4477d
Design a way to render kart and driver differently
2016-06-12 16:19:34 +08:00
Benau
1e1093dccc
Fix default value of m_angular_damping
2016-06-12 08:09:28 +08:00
Benau
d1d591ca34
Fix compiler warning
2016-06-11 15:58:17 +08:00
Benau
023dbe1968
More statistics in soccer mode profiling
2016-06-11 15:31:58 +08:00
Benau
bbc61480a4
Fix missing white-space
2016-06-10 21:11:55 +08:00
Benau
eaf1486d9c
Remove misleading-FPS info in soccer mode profiling
...
As it will increase with the total polycount of the soccer field.
Now just use total frame elapsed to estimate AI performance.
2016-06-10 20:52:38 +08:00
hiker
321fc09a15
Fixed compiler warning.
2016-06-10 16:02:24 +10:00
hiker
a097c205d2
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-06-10 09:31:57 +10:00
hiker
9de6def4cf
Fixed missing collision callbacks for e.g. soccer balls.
2016-06-10 09:31:12 +10:00
auriamg
d13015226e
Merge pull request #2514 from LoadingPleaseWait/graphical-options
...
Document graphical configuration command line options
2016-06-09 19:13:08 -04:00
LoadingPleaseWait
95602791cf
Document graphical configuration command line options
2016-06-08 22:19:15 -05:00
auriamg
8ead8c21da
Merge pull request #2513 from LoadingPleaseWait/master
...
Toggle graphical options from command line
2016-06-08 20:03:59 -04:00
auria.mg
8e886b796a
Improve python script that sets translation authors to be able to process all files at once
2016-06-08 19:54:17 -04:00
LoadingPleaseWait
88dd551229
Toggle graphical options from command line
2016-06-07 23:37:14 -05:00
Benau
d234954e14
Call enterRaceOverState from base class for 3SB too
2016-06-08 08:40:33 +08:00
auria.mg
1469a9e396
Update pot file, slightly breaking string freeze. Sorry about that, better late than never :S
2016-06-07 19:49:33 -04:00
Benau
315ea69020
Call enterRaceOverState from base class in soccer world
...
Even when profiling
2016-06-07 10:15:07 +08:00
auria.mg
d0e7cdea81
Update changelog
2016-06-06 19:55:59 -04:00
Benau
f4fef6fbf2
Fix #2511
2016-06-05 09:34:30 +08:00
Deve
56c6062a81
One more tweak.....
2016-06-04 00:10:56 +02:00
Deve
d60d9120b4
Define constants in glew cmake file before 'add_library' function.
...
It was working for me as it was before, but based on this comment: 10488bc79a (commitcomment-17724549) it looks that some cmake versions may ignore definitions that are defined below add_library.
2016-06-03 06:48:46 +02:00
Benau
16e24e6f0b
Fix #2498
2016-06-02 08:30:12 +08:00
hiker
d444ab802d
Added test-implementation of dijkstra.
2016-06-01 23:51:12 +10:00
Benau
b9311f95a8
Merge remote-tracking branch 'origin/master' into new_path_finding
2016-06-01 08:39:23 +08:00
Benau
020b1822bd
Fix warning
2016-06-01 08:39:14 +08:00
Benau
c66df6082d
Remove not too useful angle calculation
...
Fix a bug in reverse position returned
2016-06-01 08:21:35 +08:00
hiker
0f79dcc238
Fixed FreeBSD builds (freebsd installs Freetype etc in /usr/local/lib,
...
but does not search in that directory for libraries).
2016-05-31 13:43:07 +10:00
Benau
f83407f661
More detailed comments
2016-05-31 00:36:03 +08:00
hiker
70c0038b93
Added backtwards force when reversing. That fixes the problem that a
...
kart might sometimes get stuck when driving backwards.
2016-05-30 16:59:54 +10:00
Benau
999dee9bce
Don't use getDistance from battle graph for kart
...
As sometimes it will return 0 if kart is on unknown node
Also try to make banana avoidance better
2016-05-30 12:56:14 +08:00
Benau
913bb511b8
Use an improved turn radius determination
2016-05-29 16:31:40 +08:00
auria.mg
b9c1b20209
Update readme file, don't mention version number, we'll forget to update it on every release
2016-05-28 19:26:52 -04:00
auriamg
fd0ca51332
Merge pull request #2507 from adamralph/patch-1
...
tidy up README
2016-05-28 19:25:59 -04:00
Adam Ralph
6f854ca38d
tidy up README
2016-05-28 15:07:33 +02:00
Benau
91b9d13611
Make gift package playable
2016-05-28 00:33:06 +08:00
Deve
cc92ee6ef3
One more tweak in SSAO.
...
Just use mod(x, 6.283185307179586) as suggested by mesa developer, instead converting it to degrees and back to radians.
2016-05-26 11:48:57 +02:00
Deve
cee0de3af3
Fixed a bug in my previous commit.
...
I forgot that sin and cos functions want angle value in radians.
Now the code looks a bit ugly, but generates proper values.
2016-05-26 02:39:35 +02:00
Benau
0c254dfa5d
Try to make AI work like zidane
2016-05-26 08:24:45 +08:00
Deve
cdae595724
Fixed SSAO on intel.
...
In ssao.frag we are computing theta valaue and it looks that intel driver doesn't like too big values for sinus and cosinus computations.
I just used modulo 360 to store lower angle values in theta variable.
2016-05-25 23:16:01 +02:00
hiker
3ec56386df
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-25 21:35:17 +10:00
hiker
566df3dee6
Made more physics parameters for objects adjustable in the xml file
...
(for now to support a puck).
2016-05-25 17:21:31 +10:00
Deve
396bbd0199
Fixed an error message when unlocking texture in spherical harmonics.
...
On some tracks it was reporting following message:
[warn ] GLWrap: OpenGL debug callback - API
[warn ] GLWrap: Error type : ERROR
[warn ] GLWrap: Severity : HIGH
[warn ] GLWrap: Message : GL_INVALID_VALUE error generated. Size and/or offset out of range.
This fixes #2504
2016-05-24 18:59:51 +02:00
Benau
221a757942
Merge branch 'arena_ai_profiling'
2016-05-24 15:52:32 +08:00
Benau
63a3b50bb7
More details on profiling
2016-05-24 15:50:34 +08:00
Benau
f4e297c415
Merge branch 'advanced_soccer_ai' into arena_ai_profiling
2016-05-24 15:49:25 +08:00
Benau
a18c53f4e7
Add more defense
2016-05-24 15:48:38 +08:00
hiker
5f6f1ec448
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-24 17:37:28 +10:00
Benau
625f403a6c
Update CHANGELOG.md
2016-05-24 09:13:29 +08:00
hiker
de7ba54b90
Updated debug outpout (commented out).
2016-05-24 09:19:54 +10:00
Benau
02779e39a9
Merge remote-tracking branch 'origin/advanced_soccer_ai' into arena_ai_profiling
2016-05-21 11:41:02 +08:00
Benau
ae18983655
Fix wrong colon
2016-05-21 11:31:43 +08:00
Deve
41283ad408
Added a check for GL_ARB_explicit_attrib_location extension.
...
It is enabled by default for OpenGL 3.3, but we need it for some of our shaders in render_geometry.cpp (which are OpenGL >= 3.2) and also for InstancedColorizeShader.
2016-05-20 20:12:34 +02:00
Benau
390f45a9d1
Fix crashes in arena profiling mode
...
Notice: you need to merge arena_ai_profiling into here to test
2016-05-21 01:11:37 +08:00
Benau
0f9438d824
Use math formula to determine overtake position
2016-05-21 00:37:11 +08:00
hiker
53f9d9d1ba
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-19 13:26:20 +10:00
hiker
92be0c65ad
Added support for setting the restitution for physical objects.
2016-05-19 13:25:29 +10:00
auria.mg
6f36bc5b34
Update changelog and credits
2016-05-18 20:01:21 -04:00
auria.mg
2c6e678929
Add new volcano track
2016-05-18 19:57:09 -04:00
Deve
edfc7d285c
Fixed shadows and GI for mesa drivers.
...
The check for GL_ARB_geometry_shader4 doesn't have sense at all because we don't use this extension and our geometry shaders use functionality which is available in core OpenGL 3.2.
The reason that it wasn't working for older mesa versions must be a bug in mesa or maybe missing other functionality (but not GL_ARB_geometry_shader4).
I checked it with mesa 11.2 and current git version and it works fine on intel, nouveau and with software rendering.
It needs some testing because it potentially affects all drivers with OpenGL >= 3.2 on every platform.
If someone could test it with Radeon drivers, I would be really happy to enable it in upcoming release, at least on linux.
2016-05-18 22:19:31 +02:00
Benau
9a815b4e65
Fix x N items font size
...
It should depend on screen scaling.
2016-05-18 13:03:35 +08:00
Benau
12522cc99f
Don't crash if missing texture
2016-05-18 10:05:12 +08:00
Benau
a94fc6c1c3
Fix goal target not updated when going back
...
Also fix some unitialized value issue
2016-05-18 00:50:29 +08:00
Benau
de8d172c07
Improvements in soccer mode with minimap
...
1. Larger ball
2. Draw goal line of two teams in minimap
2016-05-17 16:01:27 +08:00
Benau
d2f26fe70d
First playable advanced soccer ai
2016-05-16 15:24:05 +08:00
Benau
748051871c
Get rid of two more member values
2016-05-16 07:54:03 +08:00
Benau
b5345c8b31
Remove unneeded memeber
2016-05-16 07:19:18 +08:00
Benau
7e8ca70bc6
First version of advanced soccer ai ⚽
2016-05-16 00:46:06 +08:00
auria.mg
5b2cb52dc5
Add higher-res icon
2016-05-14 21:15:11 -04:00
Deve
c9f2de8155
Update dependencies for Ubuntu
...
- use officially supported pkg-config instead of pkgconf replacement
- add zlib library to dependencies
- remove GLU library which is not needed at all since this commit: 60dc171700
- add libgl1-mesa-dev and mesa-common-dev which contains OpenGL headers that we need
- use libcurl-gnutls instead of openssl because it is used by default in Debian/Ubuntu for STK and many other projects.
2016-05-14 23:17:13 +02:00
auriamg
6c2dc56f94
Merge pull request #2494 from qwertychouskie/master
...
Fix dependencies list for Ubuntu compilation
2016-05-13 18:48:51 -04:00
Deve
10488bc79a
Don't link libGLU library.
...
This should allow to run linux static package even if libglu1-mesa package is not installed. And the utilities from GLU library are not used in STK anyway.
2016-05-12 23:38:56 +02:00
qwertychouskie
2077f4bd5e
Remove Autotools
2016-05-12 10:12:08 -07:00
qwertychouskie
12a755f9fe
Remove libgl1-mesa-dev
...
According to http://packages.ubuntu.com , `libglu1-mesa-dev` depends on `libgl1-mesa-dev` for all listed Ubuntu versions.
2016-05-11 18:15:33 -07:00
auria.mg
8fa902a748
Another attempt at fixing camera roll in cutscenes, hopefully the right one this time. See #2483
2016-05-11 20:18:07 -04:00
auria.mg
b84b28b3a7
Undo previous "bugfix", it doesn't work
2016-05-11 19:45:42 -04:00
auria.mg
dc885fbf05
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-11 19:35:08 -04:00
auria.mg
17f96ac9ef
Fix camera roll in cutscenes
2016-05-11 19:35:00 -04:00
qwertychouskie
568ff1e0c2
libgl1-mesa-dev depends on libxxf86vm-dev
2016-05-11 12:08:09 -07:00
qwertychouskie
6bd3e69ddc
fix dependencies
2016-05-11 12:05:04 -07:00
hiker
b3d59de288
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-11 00:04:11 +10:00
hiker
01ce2c32ef
Properly fixed #1347 . Made a global variable part of the
...
KartSelection object, to avoid the two instances of the
kart selection screen to interfere with each other. Removed
tearing down the kart selection screen. Also fixed crash
when starting the kart screen after a network kart screen.
2016-05-10 17:27:50 +10:00
Benau
9624d27f59
Try to fix lost control for soccer ai
2016-05-10 08:53:33 +08:00
Deve
58f7424b4f
Add a workaround for skybox.
...
The problem was with shader-based pipeline with disabled "advanced effects" in options.
In this case we don't use RTTs and gl_FragCoord contains values in range of whole window. So fo 2 players we still get gl_FragCoord.y = 0..window_size instead of gl_FragCoord.y = 0..window_size/2.
The easiest way to solve it seems to be modulo it by current viewport size. It should be compatible with advanced pipeline as well as single-player games.
Atm. I'm not sure if this should be applied to 0.9.2 branch. It should work fine, but needs some testing.
2016-05-08 21:39:50 +02:00
Benau
bb01c83d6e
Auto-balance the number of AIs
...
If there are uneven the number of human players in each team
2016-05-08 08:08:57 +08:00
auriamg
1af4853f40
Merge pull request #2489 from qwertychouskie/master
...
Update screenshots and description
2016-05-07 19:23:01 -04:00
qwertychouskie
87f3609b06
Update screenshots and description
2016-05-06 19:50:57 -07:00
hiker
898cefc91e
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-07 00:20:58 +10:00
hiker
bc418acb05
Fixed second location where the kart/playe rname was used.
2016-05-07 00:16:36 +10:00
Benau
264e5af3ee
Fix determineTurnRadius in ArenaAI
...
Before this function always return nan/inf/too large number of
radius, now this function will calculate the radius of curvature
correctly.
2016-05-06 22:03:01 +08:00
hiker
6c9f3d73b5
Show the name of the player in the grand prix result screen.
2016-05-06 16:47:36 +10:00
hiker
c92f369cdd
Allow 0 laps GP in artist debug mode.
2016-05-06 16:47:05 +10:00
Benau
db6ea0e740
Add help for translator
2016-05-06 08:37:05 +08:00
hiker
ef4b200dca
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-06 09:13:50 +10:00
auria.mg
ce6bc4a3fe
Document new command-line option
2016-05-05 19:12:27 -04:00
hiker
43c2cb37c9
Use a #define SkiddingAI TestAI in the TestAI to make this file
...
as close as possible to the SkiddingAI, which makes it easier to
compare the two AIs to find significant differences.
2016-05-06 08:52:46 +10:00
hiker
e8c54bbdcd
Use getControllerName instead of hard coded to string, minor
...
coding style fixes.
2016-05-06 08:52:19 +10:00
hiker
c1bdfabc89
Fixed comment.
2016-05-06 08:25:46 +10:00
hiker
ff561aa679
Fixed steering when avoiding a collision (see 79b3864511
...
for same patch on skidding ai).
2016-05-06 08:24:45 +10:00
hiker
79b3864511
Fixed incorrect steering direction when trying to avoid a crash.
2016-05-06 08:12:58 +10:00
hiker
ca379d921d
Left the comments in, but reset the test ai to be identical to the
...
skidding ai again.
2016-05-05 18:42:11 +10:00
Benau
bbde4659c1
Allow arena ai profiling
2016-05-05 16:25:54 +08:00
hiker
101611af3e
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-05 12:51:40 +10:00
auria.mg
8496352133
Make it easier to launch cutscenes, see #2482
2016-05-04 19:44:26 -04:00
hiker
45184a0322
Fixed line endings.
2016-05-05 09:40:41 +10:00
hiker
57bbf30d76
Improve new AI performance on math class (and others), but
...
this makes it worse on some other tracks (xr591, zen).
Maybe we should tweak AI per track?
2016-05-04 17:54:38 +10:00
hiker
f0c35965af
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-04 08:51:01 +10:00
hiker
8c25addda5
Changed item display from "item N x" to "item x N".
2016-05-04 07:52:40 +10:00
Deve
d989ae1d4a
Update graphics restrictions for mesa:
...
- Increase version for sRGB-capable visual workaround because it doesn't look that it will be fixed anytime soon
- Enable compute shaders because it works fine now
- Enable texture compression because it works now too.
Texture compression for intel should work fine also for older versions, but it's hard to say which one version is the first working one.
2016-05-03 21:48:21 +02:00
Deve
62ea873373
Fixed compute shaders on mesa.
...
It was reporting an error:
[error ] GLWrap: Error in shader gaussian6h.comp
[error ] GLWrap: 0:77(1): error: storage qualifiers must come after precise, invariant, interpolation, layout and auxiliary storage qualifiers
2016-05-03 21:48:21 +02:00
hiker
2e6eeb15ea
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-03 21:31:49 +10:00
hiker
a5ba5b0a2a
Improved profile statistics somewhat.
2016-05-03 21:31:32 +10:00
hiker
2745e42935
Added a new 'testing ai', which can be started using a command line
...
option to either test it in play against computer, or in AI against
AI races. Atm the test_ai is nearly identical to the skidding
ai, except for one brake statement that needs to be investigated.
2016-05-03 21:28:11 +10:00
Benau
bf64ce9ec0
Avoid negative square root
...
Which seems to happen if a kart is going backward
2016-05-03 15:44:44 +08:00
auriamg
a852c9857e
Merge pull request #2475 from antoniusriha/support_disable_race_intro_sound
...
Support disabling race intro sound
2016-05-02 18:58:01 -04:00
Antonius Riha
342b4f299e
Delay start for 3s when intro sound is off
...
To bridge the silence before ready-set-go, the engines are started earlier than normal if intro sound is off.
2016-05-02 21:53:34 +02:00
hiker
c1445386b2
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-02 22:27:25 +10:00
hiker
8950bc1b6c
Added '(beta)' to editor link.
2016-05-02 22:26:53 +10:00
Antonius Riha
d4f1f28070
Support disabling race intro and start sounds
2016-05-02 11:32:04 +02:00
Benau
f8ec241d9a
Add isInvulnerable() detection for skidding ai
2016-05-02 12:28:23 +08:00
hiker
56d8f10ef9
Minor code cleanup.
2016-05-02 10:37:37 +10:00
hiker
ec41a7806c
Fixed setting colour of (debug) spheres added.
2016-05-02 09:58:01 +10:00
hiker
24d298b743
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-01 23:14:58 +10:00
hiker
f17abe4095
Updated visual studio redistributable to the latest version (14.0.23026).
2016-05-01 23:13:53 +10:00
Benau
c096503860
Fix swatter on bubblegum shield decreasing a life in battle mode
...
Also let the AIs be able to protect itself using bubblegum shield
when a kart nearby is using a swatter
2016-04-30 11:13:28 +08:00
Benau
56549f68d4
Fix memory leak
2016-04-30 07:00:24 +08:00
hiker
0449263b6e
Fixed compiler warning.
2016-04-28 17:16:02 +10:00
hiker
92f0ab6819
Implemented command line option "--dont-load-navmesh" to disable
...
loading of any navmeshes (to avoid extremly slow loading times
in debug mode, e.g. for temple).
2016-04-28 17:15:07 +10:00
hiker
b83246aac2
Revert "Do not compute the battle graph in case of a single kart in debug"
...
since Benau has suggested a better approach.
This reverts commit c9c37fb400 .
2016-04-28 16:58:37 +10:00
hiker
fdf2df2f0f
Also search for directories with the name 'build' for the editor
...
(not only bld), which is the documented name to use for the editor.
2016-04-28 13:59:21 +10:00
hiker
c9c37fb400
Do not compute the battle graph in case of a single kart in debug
...
mode in an arena: in debug mode computing the distance matrix
takes a LONG time (approximately 12 minutes on my machine). In
release mode it's fast enough for now.
2016-04-28 11:17:20 +10:00
Benau
1ad20811b8
Fix leaning value
2016-04-28 08:23:50 +08:00
hiker
94ad7ad676
Adjust wheel position in case of leaning: move the wheels on the side
...
that is higher in the air a bit further down so that they touch the ground.
Fixed #2400 .
2016-04-27 18:15:28 +10:00
hiker
1870691900
Decrease leaning somewhat, and increased leaning speed.
2016-04-27 18:11:57 +10:00
hiker
d90dc8ea37
Removed unused entry.
2016-04-27 17:58:28 +10:00
hiker
30d60acfaf
Added freetype to list of software used.
2016-04-27 15:19:00 +10:00
hiker
a0dc35b1fe
Removed openal installer, fixed installer to properly install and remove
...
the editor (now named supertuxart-editor).
2016-04-27 14:00:02 +10:00
hiker
95b5161367
Removed openal installer (which is likely not necessary, see
...
ticket #2089 .
2016-04-26 13:10:36 +10:00
hiker
031ae27919
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-04-26 12:50:51 +10:00
hiker
031c918bf4
Fixed files that were not uninstalled.
2016-04-26 12:50:21 +10:00
auria.mg
4bc0cccf00
Fix user/login screen layout, fixes #2474
2016-04-25 19:10:56 -04:00
Benau
0503855b7d
Add freetype into INSTALL.md
2016-04-25 09:18:37 +08:00
auria.mg
a1eceb9d3d
Fix build
2016-04-24 19:55:37 -04:00
auria.mg
5e9f0ba246
Fix invalig logging
2016-04-24 19:37:51 -04:00
auria.mg
8dfa5a3755
GPLose screen tweak
2016-04-24 19:37:27 -04:00
auria.mg
ab2f46cc90
Improve reverse track support
2016-04-24 19:36:52 -04:00
auria.mg
32eba771e2
Tweak GP win and GP lose buttons : translator reported they were too small, and also they were designed for mouse use only and didn't work well from another input device
2016-04-24 18:21:45 -04:00
auria.mg
8c337110a2
Fix text
2016-04-23 09:00:40 -04:00
auria.mg
b6431c3383
Tweak grand prix
2016-04-22 20:44:35 -04:00
auria.mg
cffd0bd00c
Fix invalid XML and update translations
2016-04-22 20:28:21 -04:00
auria.mg
ea14dcc1ca
Update pot file
2016-04-22 18:59:07 -04:00
auria.mg
1fc99d7948
Add a few more replays + minor text change
2016-04-22 18:55:26 -04:00
auria.mg
5e8168e020
Add a few more stock replays
2016-04-22 18:20:32 -04:00
Benau
55278122fe
Allow showing same difficulty of ghost replay only
2016-04-22 23:07:45 +08:00
hiker
b59194cdf3
Add a command line option to start the network console.
2016-04-22 16:37:17 +10:00
hiker
d092dcf96c
Avoid slowdown in profile mode in profile mode when fps is < 60.
2016-04-22 16:04:27 +10:00
Benau
ff10bfd07a
Fix getHeading() for ghost karts
2016-04-22 11:32:55 +08:00
Benau
f6ce065cee
Allow a few replays coming with the game
2016-04-22 09:49:46 +08:00
auria.mg
790cd807a3
Start updating changelog for STK 0.9.2. Prepare challenges/GPs for the new abyss track (replacing the old subsea)
2016-04-21 20:50:01 -04:00
hiker
9299eca758
Fixed compilation after moving the windows installer to a different directory.
2016-04-22 07:54:40 +10:00
hiker
41ecd83d55
Started to add support for installing the editor.
2016-04-22 00:19:22 +10:00
hiker
97b7320c5b
Fixed uninstallation to only delete files belonging to STK (to avoid
...
problems if someone installed STK e.g. in c:\Program Files - without
a subdirectory).
2016-04-22 00:03:49 +10:00
hiker
28d78447c3
Fixed installation of prerequisites.
2016-04-21 23:14:39 +10:00
hiker
6a0fdba062
Moved windows installer into tools directory.
2016-04-21 23:13:53 +10:00
hiker
889baa7e39
Removed unnecessary --with-profile command line option.
2016-04-21 22:32:24 +10:00
hiker
b16f225e47
Fixed path in installer, and support common different names
...
for the build directory (bld, build, cmake_build).
2016-04-21 22:28:50 +10:00
hiker
3827b504c7
Added new installer from MattDevo.
2016-04-21 09:14:33 +10:00
hiker
6987c82c7b
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-04-20 09:16:52 +10:00
hiker
9de3b4484f
Fixed crash when collecting profiler output.
2016-04-20 08:47:02 +10:00
hiker
434a00640b
Use switch instead of if.
2016-04-19 17:08:53 +10:00
hiker
904db68028
Removed debug code.
2016-04-19 11:56:23 +10:00
hiker
5b8e99e8c8
Fixed incorrect enum.
2016-04-19 11:55:16 +10:00
hiker
7ca76bbfbf
Removed unused smoothing setting.
2016-04-19 09:56:05 +10:00
hiker
d788ca9a1b
Fixed behind wheel debug camera.
2016-04-19 09:53:55 +10:00
hiker
d1f611197f
Fixed reset of cameras, and switching to debug views.
2016-04-19 09:40:14 +10:00
Deve
dac357daec
Fixed kart selection screen for legacy pipeline
2016-04-19 01:38:48 +02:00
Benau
bb67ee78fe
Fix Lesbea's game
2016-04-18 23:57:42 +08:00
hiker
d65dd6c199
Started to refactor the camera into different classes. Normal
...
camera is working atm. but not much more.
2016-04-18 23:29:10 +10:00
Benau
caca4b06b2
Fix #1797
...
Don't give a bomb in case of time trial.
2016-04-16 08:15:18 +08:00
Deve
58846002eb
Fixed bullet compilation for gcc 6.0.
...
Just converted all negative values and kept unsigned char* type to avoid too many modifications in the code.
2016-04-15 23:46:14 +02:00
Benau
f9b0b05d53
Fix warning
2016-04-14 10:40:15 +08:00
hiker
ff7556130a
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-04-14 11:04:28 +10:00
hiker
95853787b3
Minor code cleanup.
2016-04-14 09:37:20 +10:00
hiker
f59ea0f258
Moved the camera debug parameter from UserConfig to a static value
...
in camera. Added proper names for the debug modes instead of int.
2016-04-14 09:30:26 +10:00
hiker
ef1e5da4bc
Fixed compiler warning.
2016-04-13 17:11:43 +10:00
auria.mg
c18343f60b
Improvements to login screen : properly center buttons, and allow logging in by pressing enter
2016-04-12 19:27:11 -04:00
hiker
2f0e60694c
Removed duplicated function.
2016-04-13 08:01:24 +10:00
hiker
a0623aee57
Force fresh cmake configuration.
2016-04-13 07:40:47 +10:00
hiker
7a9d283f43
Fixed comments.
2016-04-12 22:35:56 +10:00
hiker
c54caf3e03
Fixed missing #include file, some code cleanup.
2016-04-12 17:38:15 +10:00
hiker
8763c3aca7
Changed rewind key from F1 to F11 (F1 always opens the in-game menu).
2016-04-12 17:37:14 +10:00
hiker
7d0953ad83
Merge branch 'master' into rewind
2016-04-12 17:36:56 +10:00
Deve
29e4d4a0bc
Fixed memory corruption in case of gamepads with large buttons count.
...
SEvent::SJoystickEvent::NUMBER_OF_BUTTONS is a constant value and is equal to 32. In practice we don't expect any gamepad that has over 32 buttons. However some wireless mices are incorrectly detected as gamepads and they report for example 69 available buttons. Just resize m_buttonPressed array to be equal to the reported buttons count.
2016-04-10 01:22:39 +02:00
Benau
d914e1eea3
Make game playable when start racing
2016-04-08 15:44:50 +08:00
Benau
6dc05a1ec7
Merge remote-tracking branch 'origin/master' into walldriving
2016-04-08 13:42:58 +08:00
auria.mg
8c29fb01f6
Minor tweaks to split screen text to make it clearer
2016-04-07 20:53:48 -04:00
auria.mg
1ef082b2e6
Fix tabs accidentally committed previously
2016-04-04 19:46:41 -04:00
Benau
9fb7f5617b
Merge remote-tracking branch 'origin/master' into transparent_kart
2016-04-04 09:02:45 +08:00
Benau
dca821d4e6
Allow looking back when watching replay
2016-04-04 09:02:04 +08:00
Benau
ae8fac6dcb
No powerup display when watching replay
2016-04-04 07:54:24 +08:00
Benau
740e4e10c8
Remove soccer team color handling in kart model
...
Let hope in the future someone is smart enough to implement that...
2016-04-04 07:53:33 +08:00
auria.mg
53b8b90ae6
Update servers list as they are found
2016-04-03 18:56:35 -04:00
auria.mg
b0af2b40b3
Multiplayer : don't lock tracks
2016-04-03 18:42:46 -04:00
Benau
224bd277b3
Better function name
2016-04-03 13:59:10 +08:00
Benau
508ddfcd45
Show translucent icon for ghost kart in race gui
2016-04-03 11:27:46 +08:00
Benau
2e016e63b4
Allow displaying transparent wheels and speed weight objects
...
That's done by copying the mesh, not sure if it should be avoided...
2016-04-03 00:17:36 +08:00
Benau
79db5e2365
Fix comment
2016-04-02 16:02:51 +08:00
Benau
ccd6294699
Add transparent ghost kart in STK
...
There is already define for soccer team too, so in the future,
if anyone is smart to make a shader to draw red/blue karts,
it should be easier.
TODO: wheels and speed weight objects. (They seem need to be copied to work)
2016-04-02 15:53:21 +08:00
Benau
5ac25db7f8
Initial work to support transparent kart in ghost replay
2016-04-02 12:55:20 +08:00
Benau
34f9d507d0
Fix real lan network connection
2016-04-01 09:59:16 +08:00
auria.mg
894a38f6c7
Fix empty popup when no lan server detected
2016-03-31 20:40:42 -04:00
Benau
a3265d5c15
Fix uninitialised member value
2016-03-30 10:58:21 +08:00
hiker
932365cee3
Fixed VS compilation.
2016-03-29 11:18:19 +11:00
hiker
840244d476
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-03-29 11:09:55 +11:00
hiker
5c83249a30
Fixed crash in stand-alone server.
2016-03-29 11:09:07 +11:00
auriamg
640b6bb6b8
Merge pull request #2464 from Odd0002/master
...
Fix debug build on GCC 5.3.0
2016-03-28 20:08:53 -04:00
Benau
09bfdafd12
Use current font to getDimension for text
...
Fix crashes
2016-03-28 14:46:04 +08:00
Benau
4e0f217fc8
Remove unneeded cast
2016-03-27 20:53:33 +08:00
Odd0002
47bac3b33d
Fix debug build on GCC 5.3.0
2016-03-26 22:36:22 -05:00
Benau
692539690d
No combined uint32
...
Sorry people, you will need to re-record replay
2016-03-27 08:31:31 +08:00
Benau
dff5f8d459
Allow auto recreation of ghost replay file lists after recording.
2016-03-25 16:11:32 +08:00
Benau
151cc72e22
Save skidding info in replay
2016-03-25 15:37:53 +08:00
Benau
11b119066c
Add support for using ghost kart in challenge
...
Real challenge file added later.
2016-03-23 14:26:48 +08:00
Marianne Gagnon
33defa44b7
Merge most modifications by egirsova to build 64-bits on OS X
2016-03-21 20:16:59 -04:00
Benau
8df9ff2cd8
Simplify ghost replay screen
2016-03-21 15:18:47 +08:00
hiker
ee4c4bd962
Try again to fix crash when exiting the server profile screen without networking.
2016-03-21 14:14:21 +11:00
hiker
ad545861ed
Fix crash when exiting the server screen (network was still set to
...
be enabled).
2016-03-21 13:59:42 +11:00
hiker
fcc2b6493b
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-03-21 12:13:27 +11:00
hiker
e1ce01b5d2
Removed mostly unnecessary default constructor.
2016-03-21 12:12:01 +11:00
Benau
7aad4835b9
Merge branch 'new_track_gui'
2016-03-21 08:54:49 +08:00
hiker
065edebc70
Merge pull request #2455 from tobbi/coverity_issues_2
...
Add missing unlock
2016-03-21 11:53:35 +11:00
Benau
a62145ed6e
Merge remote-tracking branch 'origin/master' into new_track_gui
2016-03-21 08:48:54 +08:00
hiker
ca0f66e4f8
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-03-21 11:03:48 +11:00
hiker
1f4776abb3
Allow server gui to start selection.
2016-03-21 09:58:21 +11:00
Marianne Gagnon
e28b48c61b
Fix previous commit
2016-03-20 18:51:05 -04:00
hiker
fa721409c0
Show connected players on server gui.
2016-03-21 09:50:29 +11:00
Marianne Gagnon
cbf1e4b5d7
Remove unused files, fixes #2458
2016-03-20 18:40:43 -04:00
hiker
05483396c2
Also show name of selected karts on waiting screen.
2016-03-21 09:39:17 +11:00
hiker
be7c7bfcbc
Show Waiting screen on server.
2016-03-21 09:38:53 +11:00
Benau
c258418577
Fix going back
2016-03-21 01:02:13 +08:00
Benau
fce3eec66f
New GUI for track only screen, used in network and loaded from replay
2016-03-20 16:23:49 +08:00
Benau
4d42010f2a
Add missed number of laps setting
2016-03-20 08:54:12 +08:00
Benau
b92210d4a0
No watching replay when split-screen
...
And some bugs fixes
2016-03-20 08:40:55 +08:00
Benau
da70d305a9
Allow watch replay only
2016-03-20 01:33:26 +08:00
Benau
07afd444a8
Allow racing against the replay on equal footing
...
It make record while replay possible too.
We show the ghost only when start racing, fixing the overlapping issue.
2016-03-19 14:57:22 +08:00
Benau
a42ee39240
Merge remote-tracking branch 'origin/master' into random_arena_item
2016-03-19 08:58:25 +08:00
Marianne Gagnon
78abafb9df
Attempt proper fix for #2453
2016-03-18 19:35:26 -04:00
hiker
97ac0a6f59
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-03-19 10:28:01 +11:00
hiker
d25f3cee25
Added time step size as parameter to each protocol's synchromous update
...
function (which is needed for interpolation later).
2016-03-19 10:24:44 +11:00
auriamg
616a34ea77
Merge pull request #2456 from tobbi/coverity_issues_3
...
Properly free memory for m_story_mode_status and m_achievements_status
2016-03-18 19:08:38 -04:00
hiker
10bb5caae3
Show lobby screen on interactive server in LAN mode.
2016-03-18 08:10:47 +11:00
Tobias Markus
8ae746f330
Properly free memory for m_story_mode_status and m_achievements_status
2016-03-17 15:48:24 +01:00
Tobias Markus
0775347431
Add missing unlock
2016-03-17 15:38:40 +01:00
hiker
4101d72d90
Avoid crashes when the server enters the lobby (somewhat temporary,
...
the server needs a different kind of lobby anyway).
2016-03-17 17:20:02 +11:00
hiker
b6bcf33ae0
Added end of race handling, so that clients and server shut
...
down properly and go back to the lobby.
2016-03-17 17:19:21 +11:00
Benau
5b7161710d
Add GUI option in track info screen for random item location.
2016-03-17 12:16:19 +08:00
hiker
094a87eb94
Avoid NULL reference crash.
2016-03-17 10:00:03 +11:00
Benau
d2509baf5c
Allow random items number and type for arena with navmesh.
...
Number and types are hard-coded for now.
2016-03-17 01:27:24 +08:00
hiker
970159d98f
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-03-16 22:47:34 +11:00
hiker
c6b22cdffb
Fix crash when player is not logged in. See #2453 for more details.
2016-03-16 22:29:51 +11:00
hiker
90f82494f7
Cosmetic changes only.
2016-03-16 09:49:30 +11:00
auriamg
6f5d36f479
Merge pull request #2451 from egirsova/master
...
Update README
2016-03-14 20:00:56 -04:00
hiker
07048d62fe
Removed indices used in reading network string, now all reading
...
is sequentially.
Merge branch 'network_string_sequential_read'
2016-03-15 10:34:19 +11:00
hiker
19222c25bc
Merge remote-tracking branch 'origin/master' into network_string_sequential_read
2016-03-15 10:33:47 +11:00
hiker
3a3e8bb49e
Create a dummy camera if the server is running with graphics. This
...
allows starting a server from the gui.
2016-03-15 09:53:26 +11:00
hiker
1ad41db6c9
Fixed reading code which ignored 2 bytes.
2016-03-15 00:04:00 +11:00
egirsova
8d312174d8
Update README.
...
There is no stk-code/src/ide folder. Users should simply follow the instructions in the wiki to build for Mac OS X
2016-03-13 16:10:02 -05:00
Benau
c48ce20091
Thanks leper for this fix
2016-03-14 00:43:00 +08:00
hiker
7783de8770
Fixed line ending style.
2016-03-13 16:37:19 +11:00
hiker
e267aa9dff
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-03-13 16:31:36 +11:00
hiker
54463e9d66
Save server password so that authentication works.
2016-03-13 16:30:24 +11:00
hiker
467953cfe6
Merge remote-tracking branch 'origin/master' into network_string_sequential_read
2016-03-13 16:08:21 +11:00
hiker
f2c26f06f1
Another refactoring of NetworkString, this time added support for sequential
...
reads, so that you don't need to specify the offset anymore (and no more
removeFromFront).
2016-03-13 13:49:43 +11:00
Benau
8a9168a024
Remove the hard-coded localized name in language.cpp
2016-03-13 10:25:26 +08:00
hiker
96bf567c2e
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-03-11 16:46:20 +11:00
hiker
655987b992
Removed NetworkPlayerProfile field from STKPeer (since if splitscreen will
...
be supported there will be no 1:1 relationship between peer and players
anymore). All voting related protocols were extended to include the
voting player's player id (sp in future split screen player can vote
individually - though atm they would all vote for the same thing).
2016-03-11 16:42:35 +11:00
Marianne Gagnon
5500a06ceb
Tweak subsea challenge
2016-03-10 20:57:43 -05:00
Marianne Gagnon
d0499be4b9
Update protocol to include server difficulty and mode
2016-03-10 19:25:55 -05:00
Marianne Gagnon
90f0c12393
More work on networking UI
2016-03-10 18:48:40 -05:00
Marianne Gagnon
35451515a2
Work on "Create server" screen to include more options
2016-03-09 19:47:45 -05:00
Marianne Gagnon
193aabe393
Remove weird unicode character from help GUI files
2016-03-09 19:47:21 -05:00
hiker
fc38acbea4
Fixed waiting screen.
2016-03-10 09:29:53 +11:00
hiker
b4d4f770ca
Fixed line endings.
2016-03-10 09:28:52 +11:00
hiker
69f128b62f
Added some log messages about received events.
2016-03-09 21:22:53 +11:00
hiker
6d1e5dc8ae
Fixed crashed caused by sending messages that have been read previously
...
(which were sent with incorrect length).
2016-03-09 21:21:50 +11:00
hiker
45b2fef88a
Merge remote-tracking branch 'origin' into remove-event-processing-info
2016-03-09 16:50:51 +11:00
hiker
058c1554ac
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-03-09 16:47:13 +11:00
hiker
1923ba0ab4
Two bugfixes (thanks to Benau for debugging).
2016-03-09 16:38:06 +11:00
Marianne Gagnon
8ba337c343
Regenerate pot file, fixing transifex issue hopefully
2016-03-08 21:35:25 -05:00
hiker
f35b3d2670
Merge branch 'master' of github.com:supertuxkart/stk-code
2016-03-09 13:22:00 +11:00
hiker
6067b3b8fa
Use new #supertuxkart channel instead of #stk.
2016-03-09 13:21:37 +11:00
hiker
67068db470
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-03-09 13:19:16 +11:00
hiker
603dfe7eee
Minor code cleanup.
2016-03-09 13:18:46 +11:00
hiker
62a527a14b
Fixed protocol.
2016-03-09 13:16:14 +11:00
hiker
f371a019c6
Fixed compiler warning.
2016-03-09 07:49:27 +11:00
hiker
087d491445
Removed EventProcessingInfo, and pre-computing of protocols that should
...
receive an event. Solves potential problem that an event might arrive at
a client before the destination protocol is up and running. Also improved
handling of (dis)connects, now only protocols that can handle a disconnect
event will receive them, hopefully reducing the number of crashes when
a client disconnects.
2016-03-09 07:46:33 +11:00
Benau
114732035f
Fix log
2016-03-08 10:32:35 +08:00
Benau
88fb0a555e
Use uniform spelling for SuperTux
2016-03-08 08:17:47 +08:00
hiker
edbdde4536
Replaced another soft-dash with a normal - (to avoid transifex complains).
2016-03-07 13:58:44 +11:00
hiker
c6cef53c99
Merge branch 'refactor-network-string'
2016-03-07 12:26:36 +11:00
hiker
68e394702b
Merge branch 'refactor-network-string' of github.com:supertuxkart/stk-code into refactor-network-string
2016-03-07 12:20:43 +11:00
hiker
64993718b4
Replaced soft-dash with a normal - (to avoid transifex complains).
2016-03-07 12:15:20 +11:00
hiker
1dc5c0b4af
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-03-07 12:14:05 +11:00
Benau
05081c3033
Fix keep translating online/login issue
2016-03-07 09:08:27 +08:00
hiker
7ff4cd8873
Merge branch 'refactor-network-string'
2016-03-07 12:04:17 +11:00
hiker
94dc236a75
Merge remote-tracking branch 'origin/master' into refactor-network-string
2016-03-07 12:03:09 +11:00
Marianne Gagnon
9500331716
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-03-06 20:01:48 -05:00
Marianne Gagnon
04999c35ee
More work on networking UI
2016-03-06 20:01:40 -05:00
hiker
a462d4a81e
Fixed compiler warnings.
2016-03-07 09:12:21 +11:00
hiker
9c71dc78d1
Merge remote-tracking branch 'origin/master' into refactor-network-string
2016-03-06 16:42:16 +11:00
hiker
f70dfb7d5d
Fixed crashes (on VS at least) when the string printed contained
...
format characters.
2016-03-06 15:54:39 +11:00
Benau
2d1d912ee8
Fix #1841
2016-03-05 16:01:42 +08:00
Benau
e3cf054ea7
Fix #1835
2016-03-05 12:55:20 +08:00
Benau
6fd6dd8792
Remove hack
2016-03-05 10:04:05 +08:00
Benau
70d5114dd7
Display localized name instead of English translation
2016-03-05 09:49:03 +08:00
hiker
ab641b0dad
Replaced the filename for packet log file in the UserConfig with a
...
flag to enable/disable this debug output in the file STDOUT.packets
(where stdout is the final set at startup).
2016-03-03 17:10:18 +11:00
hiker
4947881d10
Removed unnecessary #include in hpp file.
2016-03-03 16:42:46 +11:00
hiker
43b3684e12
Fixed memory leak.
2016-03-03 09:39:14 +11:00
hiker
5ddd577080
Removed incorrect warning messages.
2016-03-03 09:38:53 +11:00
hiker
e1892bc4fd
Try to fix handling a kart finishing the race.
2016-03-02 16:58:41 +11:00
Marianne Gagnon
14c8ecddb5
Add waiting screen for networking
2016-03-01 18:58:51 -05:00
hiker
85f15d7221
Removed unnecessary broadcast functions.
2016-03-01 17:13:31 +11:00
hiker
b26c4fc372
Send the kart updates with proper token set.
2016-03-01 17:12:04 +11:00
hiker
c77522c07f
Removed ProtocolManager::sendMessageExcept() function.
2016-03-01 16:50:45 +11:00
hiker
052e369df2
Removed unnecessary setting of token, use ProtocolManager sendExcept
...
instead of loop.
2016-03-01 16:45:42 +11:00
hiker
d9f607fc24
Merge branch 'refactor-network-string' of github.com:supertuxkart/stk-code into refactor-network-string
2016-03-01 11:56:49 +11:00
hiker
d086501035
Merge branch 'refactor-network-string' of https://github.com/supertuxkart/stk-code into refactor-network-string
2016-03-01 11:55:57 +11:00
hiker
e3c7033aa1
Fixed incorrect level of info message.
2016-03-01 11:54:09 +11:00
hiker
753868361f
Removed many token settings and tests, which are now done in
...
Event and when sending the message.
2016-03-01 09:56:33 +11:00
hiker
1f53923c45
Fixed potentially incorrect code in getFloat; added memory leak check;
...
improved handling of m_current_offset; let the NetworkString autpmatically
add the size for the type and token, so the user code only needs to allocate
space for the real content.
2016-03-01 09:54:26 +11:00
Benau
96a10ce92c
Update strings
2016-02-29 10:59:42 +08:00
hiker
b18712f8c2
Added some output when running unit tests.
2016-02-29 13:53:15 +11:00
Benau
4438664907
Merge remote-tracking branch 'origin/master' into fix_replay
2016-02-29 10:25:19 +08:00
hiker
390fee96da
Try to fix linux release builds.
2016-02-29 11:40:02 +11:00
hiker
a6fbd019fb
Fixed linux compilation.
2016-02-29 11:09:40 +11:00
hiker
00347d2743
Removed explicitly setting token (which is now done when sending
...
a message to a client).
2016-02-28 16:42:32 +11:00
hiker
6c022cec6b
Use sendMessageToPeershangingToken instead of creating new messages
...
in a loop.
2016-02-28 16:41:54 +11:00
hiker
ceb831d852
Removed STKHost::sendMessage function.
2016-02-28 16:26:48 +11:00
hiker
4b9d9cfc92
Replaced Protocol::sendMessage (which was either a send or a broadcast
...
depending on if the caller is a client or server) with explicitly named
functions.
2016-02-28 16:18:08 +11:00
hiker
c9d3577a13
Removed unnecessary sendMessage function in ProtocolManager.
2016-02-28 15:57:41 +11:00
hiker
58505eeb88
Started to set token in the 'lower level' functions, removing the need
...
to set the token in each protocol. Started to remove some of the
unnecessary send* functions.
2016-02-28 15:54:43 +11:00
hiker
9a16595261
Renamed NewNetworkString to NetworkString.
2016-02-28 14:58:15 +11:00
hiker
1e49595c53
Further improved look of NetworkString log messages. Added unit testing.
2016-02-28 14:55:48 +11:00
Lucas Baudin
287349716c
[android] hack to control the kart with the accelerometer (to be moved in a proper place - just for debugging purpose right now)
2016-02-27 00:23:55 +01:00
Lucas Baudin
b8ef827510
[irrlicht/android] don't poll events or it creates a race lock when polling accelerometer events elsewhere
2016-02-27 00:23:08 +01:00
Lucas Baudin
aee2835e54
[android] unsuccessfully trying to add debug flags
2016-02-27 00:21:49 +01:00
Lucas Baudin
88419935b7
[android] fix typo in the readme
2016-02-27 00:20:37 +01:00
Lucas Baudin
c842324b75
[android] stop makefile target to kill a running stk
2016-02-27 00:19:47 +01:00
Lucas Baudin
5e125ee5c1
[android] less hacky way to disable glsl
2016-02-26 19:40:52 +01:00
Lucas Baudin
d88f414f96
[android] disable GLSL and set width/height according to the size detected by the driver
2016-02-26 18:04:03 +01:00
Lucas Baudin
86d1ca811a
[android] re-enable things in 2dutils.cpp that are available with opengles 3.0
2016-02-26 18:02:41 +01:00
Lucas Baudin
e9657beaa6
[android] detect size
2016-02-26 18:01:51 +01:00
hiker
be815e4234
Fixed various bugs caused by switching to new NetworkString class.
2016-02-26 16:38:59 +11:00
hiker
5c32cbe1be
Fixed crash (getUInt takes m_current_offset into account, which made
...
the indices partially invalid).
2016-02-26 09:20:13 +11:00
Lucas Baudin
6dc2752c81
[android] update readme
2016-02-25 23:20:07 +01:00
Lucas Baudin
a76b98de89
[android] Add the patch used to have a lighter dataset
2016-02-25 23:16:44 +01:00
Lucas Baudin
0dc59b9e4a
[android] Boilerplate code to launch stk main
2016-02-25 23:14:03 +01:00
Lucas Baudin
f484e7ef6b
[android] More debug print for the android irrlicht device
2016-02-25 23:13:33 +01:00
Lucas Baudin
40b45a8442
[android] Disable command line
2016-02-25 23:12:14 +01:00
Lucas Baudin
3f13d69eb3
[android] Remove the main loop from main to debug things more easily
2016-02-25 23:12:02 +01:00
Lucas Baudin
cb3b3a0eaf
[android] use PrivateData in irr_driver to give the androidapp to the driver
2016-02-25 23:11:26 +01:00
Lucas Baudin
419b516dcf
Add extra stk-assets possibility (inside the data/)
2016-02-25 23:10:27 +01:00
Lucas Baudin
f91426d748
[android] Use CIrrDeviceAndroid before the console device…
2016-02-25 20:38:50 +01:00
Lucas Baudin
e39efc128c
[android] backport the Irrlicht.cpp createDevice changes, fix the compile error, and use OGLES2 on android
2016-02-25 20:15:24 +01:00
Lucas Baudin
d2b5d5ad05
[android] auto-download jpeglib
2016-02-25 19:38:36 +01:00
Lucas Baudin
dacb6a41d3
[android] Add angelscript to libstk.so
2016-02-25 19:36:26 +01:00
Lucas Baudin
658ab615d2
Fix freetype build system
2016-02-25 19:30:00 +01:00
Lucas Baudin
81f759e876
Don't use pthread at all if no curl
2016-02-25 16:49:33 +01:00
Lucas Baudin
22b8d15939
Switch to OGLES2, it seems to be working
2016-02-25 16:48:39 +01:00
Lucas Baudin
2b543ca88d
Add src symlink, add build system to build the rest of stk, freetype, ifaddrs, etc… Does not compile yet
2016-02-25 16:47:48 +01:00
Lucas Baudin
de576272e6
Add android makefile (it was ignored by the .gitignore…) and ignore freetype and ifaddrs (downloaded via the makefile)
2016-02-25 16:46:35 +01:00
Lucas Baudin
3a663f8e71
Shaders and data files for the irrlicht example
2016-02-25 16:44:55 +01:00
Lucas Baudin
2c9f2c84c5
More macros to disable extra gl calls
2016-02-25 16:27:50 +01:00
Lucas Baudin
f89a4b1a75
Merge back the IEvent changes
2016-02-25 15:55:52 +01:00
Lucas Baudin
368a230ed7
Put some preprocessor macros to prevent unsupported GLES calls
2016-02-25 13:56:43 +01:00
Lucas Baudin
02808cdfd0
GLES2 for android devices by default
2016-02-25 12:06:54 +01:00
hiker
8621437e07
Use NetworkString's log function.
2016-02-25 17:02:51 +11:00
hiker
2357e965b4
Fixed crash, and started to improve log output.
2016-02-25 17:00:08 +11:00
hiker
6f55877e94
Fixec various crashes.
2016-02-25 16:54:31 +11:00
Marianne Gagnon
ba4e9d1a79
Tweak default config as suggested in ticket #2438 , it's not perfect but seems much better that what we had previously in most cases
2016-02-24 19:20:14 -05:00
hiker
03f4339cee
Handle error in lan connection.
2016-02-25 09:49:45 +11:00
hiker
9d546d4980
Use BareNetworkString to correctly decode requests-for-servers.
2016-02-25 09:49:09 +11:00
hiker
1655a4889d
Use BareNetworkString.
2016-02-25 09:48:47 +11:00
hiker
28bb228914
Added missing initialisation.
2016-02-25 09:46:17 +11:00
Lucas Baudin
d4d3817d63
Disable sound and curl, add freetype
2016-02-24 22:24:33 +01:00
Lucas Baudin
c7c5788086
Add android build files
2016-02-24 20:41:21 +01:00
Lucas Baudin
48069a7bcc
More backport from the ogl-es irrlicht branch
2016-02-24 20:34:46 +01:00
Lucas Baudin
a470cd74d6
add android port from irrlicht (based on commit 875d0cfac88c26994b82d68737b085ec1b84c5f8)
2016-02-24 12:34:08 +01:00
hiker
2e8ddb1c50
Added a new base class 'BareNetworkString' for NetworkString,
...
used it for some of the messages exchanged before the ProtocolManager
is started (i.e. establishment of initia connection).
2016-02-24 20:32:11 +11:00
hiker
98ba11d9ba
Started to introduce new network string. It compiles, but certainly
...
does not work yet.
2016-02-23 16:29:57 +11:00
Benau
abdd32c070
Fix warning
2016-02-22 07:43:29 +08:00
Benau
8f1daabbe1
Merge remote-tracking branch 'origin/master' into fix_replay
2016-02-22 07:26:26 +08:00
auriamg
c0bfd46ee9
Merge pull request #2441 from tobbi/missing_override
...
Add forgotten override's where necessary
2016-02-21 18:18:25 -05:00
Benau
dafde30077
Fix crash when press save replay key when it's not initialized.
2016-02-21 15:13:32 +08:00
Tobias Markus
d8cce95b0e
Add forgotten override's where necessary
2016-02-21 01:36:15 +01:00
Benau
abd9ed189c
Merge remote-tracking branch 'origin/master' into fix_replay
2016-02-19 08:43:11 +08:00
auriamg
91bd844dca
Merge pull request #2439 from Odd0002/master
...
Update AngelScript to version 2.30.2
2016-02-18 18:37:03 -05:00
Odd0002
0289e93bcc
Silence AngelScript warning as in 6af30b68f0
2016-02-18 09:50:49 -06:00
Odd0002
e69e96af19
Fixed cmake based on https://github.com/supertuxkart/stk-code/issues/2325 and the related commit
2016-02-17 23:48:59 -06:00
Odd0002
fdd6f36b46
Update angelscript to 2.30.2
2016-02-17 22:07:55 -06:00
Benau
64522d9d13
Merge remote-tracking branch 'origin/master' into fix_replay
2016-02-17 14:03:58 +08:00
Benau
c65b0aaae0
Save jumping event in replay file
2016-02-17 14:02:33 +08:00
Marianne Gagnon
1e0586dc40
Add missing files forgotten in previous commit
2016-02-16 18:52:54 -05:00
Marianne Gagnon
9c49312714
Work on networking GUI, combine older server interfaces with the newer online/profile screens
2016-02-16 18:33:09 -05:00
Benau
ee68b5ccce
Merge remote-tracking branch 'origin/master' into fix_replay
2016-02-16 10:55:53 +08:00
Benau
51bfc327d7
Make race end-able
2016-02-16 10:20:05 +08:00
Benau
71c1fadcd3
Merge remote-tracking branch 'origin/master' into fix_replay
2016-02-16 09:57:41 +08:00
hiker
05a1a8a785
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-02-16 12:37:43 +11:00
hiker
2f0a69525a
Use kart id instead of kart name to identify kart that has collected an item.
2016-02-15 18:16:31 +11:00
Benau
c8ecb78ffa
Remove useless header
2016-02-15 15:16:26 +08:00
hiker
132ecfe409
Created separate function for handling received collectedItem messages.
2016-02-15 18:00:09 +11:00
hiker
d15a234ace
Let only the server decide when a kart finished the race. Notify
...
all clients if this happens.
2016-02-15 17:45:24 +11:00
Benau
a6412d7a07
Add ghost icon, use it in race setup screen
2016-02-15 09:28:36 +08:00
Benau
bd1380a240
Do not crash if used addon track not found in local STK
2016-02-15 01:19:53 +08:00
Benau
05093852bc
Add sorting support in ghost replay selection screen
2016-02-15 01:12:13 +08:00
Benau
4ea6ea8ea6
Add confirm dialog when deleting replay file
2016-02-14 13:52:16 +08:00
Marianne Gagnon
52b3d533f5
Fix memory management issue
2016-02-13 21:18:03 -05:00
Benau
aa81925860
Don't crash if kart not found loaded by replay files
2016-02-14 09:25:04 +08:00
Benau
c46bccc6e3
Finished GUI
2016-02-13 11:55:42 +08:00
Benau
8a121ed32b
Add Ghost replay GUI
2016-02-13 01:34:00 +08:00
Benau
5cd27f8f99
Seperate directory for replay files
...
It allows replay GUI to load them easier
2016-02-12 10:01:54 +08:00
Elderme
da5529f5bb
Improved coding style
2016-02-11 21:40:20 +01:00
Benau
a6c4a72e2c
Make lap counting works for ghost kart
...
As no m_terrain_info->update in ghost kart update
2016-02-12 01:18:26 +08:00
Elderme
05f9b01be3
Fixed compilation issue with MinGW
2016-02-11 14:34:16 +01:00
hiker
1ad782e6a6
Added comments.
2016-02-11 17:24:55 +11:00
Benau
7765b43d42
Merge remote-tracking branch 'origin/master' into fix_replay
2016-02-11 13:45:16 +08:00
Benau
ece95cbb81
Use MessageQueue to show whether the replay file is saved successfully
2016-02-11 13:42:25 +08:00
Benau
1278394740
More clean
2016-02-11 10:09:31 +08:00
Benau
80152d2989
Clean up
2016-02-11 10:05:40 +08:00
Benau
4daa752bb6
Don't hurt a kart when it's already hurt enough
2016-02-11 09:08:12 +08:00
Benau
3f89512b34
Remove most isGhostKart() hack when avoidable
2016-02-11 09:01:09 +08:00
Marianne Gagnon
fe6bbb80c4
Delete unused da_DK translation, closes #2435
2016-02-10 19:56:45 -05:00
hiker
7e6711e163
Renamged NetworkWorld to RaceEventManager (since this class is
...
not a 'world' in the sense our game modes are).
2016-02-11 09:03:51 +11:00
Benau
bb88a0f0ec
Allow auto-save replay when specified in time trial mode.
...
It will disable AI when recording, also it will only save if the
race is completed, ie no one gave up or all events fit in max frame recorded.
2016-02-11 00:42:33 +08:00
hiker
99bc5477a2
Use a password to authenticate the client that is allowed to
...
control a server (now the controlling client can reconnect in
case it gets disconnected, previously with only allowing the host
with id 1 to control, the server could not be controlled anymore).
2016-02-10 18:03:42 +11:00
Benau
5a9fdd7a8d
Allow replay reverse track
2016-02-10 12:43:45 +08:00
Benau
61d6e572c0
Remove unnused file
2016-02-10 10:38:27 +08:00
hiker
bfced53aaf
Started to add password support for a controlling a server.
2016-02-10 13:32:39 +11:00
Benau
0181ba0bc9
Add Ghost Controller
2016-02-10 10:27:13 +08:00
Elderme
b2a9c412ed
Fixed issue when deffered lighting is disabled (graphics level 1)
2016-02-09 22:37:52 +01:00
hiker
cebf395939
Only allow the first connected client to control the server.
2016-02-10 08:28:15 +11:00
Elderme
d54aee1535
Central video settings were initialized twice: fixed
2016-02-09 21:43:58 +01:00
hiker
ee320588d5
Merge remote-tracking branch 'origin/master' into support_nw_splitscreen
2016-02-09 17:40:59 +11:00
hiker
354770f564
Added 0 number of laps to configuration to test ending a race.
2016-02-09 13:38:25 +11:00
hiker
8f492d8480
Updated documentation.
2016-02-09 13:38:06 +11:00
hiker
f5a344ccb4
Fixed voting for laps and reverse.
2016-02-09 09:41:35 +11:00
Benau
bf080421a7
Allow showing speed of ghost karts in replay
...
Use when change camera target to ghost karts
2016-02-08 12:28:40 +08:00
Elderme
5b81d97482
Merge branch 'master' into renderer_refactoring
2016-02-07 13:56:25 +01:00
Elderme
2ee4aefcd7
Improved coding style
2016-02-07 13:54:46 +01:00
Benau
b6b644ecb5
Clean up
2016-02-07 10:20:37 +08:00
Elderme
f26667ec85
Removed unnessary #include in header files
2016-02-06 23:38:15 +01:00
Elderme
d5bcfb9446
Improved coding style
2016-02-06 19:11:23 +01:00
Benau
af5b23e5c6
Fix potential crash
2016-02-07 00:56:14 +08:00
Elderme
6bf238a134
More cleaning
2016-02-06 15:06:39 +01:00
Elderme
6465666d7c
Improved interfaces
2016-02-06 14:30:21 +01:00
Benau
c3f589561c
Initial work on supporting real race with ghost karts
...
To test, you need to pass --ghost to supertuxkart with choosing a
track that has replay recorded, you can record one with artist
debug mode.
TODO: correct position handling
2016-02-06 14:52:50 +08:00
hiker
52460d02de
Made start/terminate/pause/unpause-Protocol private, so that now all
...
calls to those functions from the ProtocolManager event loop (which
avoids locking problems).
2016-02-05 16:28:58 +11:00
hiker
af6ecfec3a
Removed unused function.
2016-02-05 16:15:58 +11:00
hiker
89979a46f5
Removed unused variables.
2016-02-05 16:09:31 +11:00
Benau
647f42e984
Update comment
2016-02-05 09:40:34 +08:00
Benau
0091c1555a
Save nitro and zipper GFX in replay
2016-02-05 09:30:40 +08:00
hiker
2d0fd0260e
Added file forgotten in previous commit.
2016-02-05 10:08:58 +11:00
hiker
6a9a8565d0
Replaced exit mutex with Synchronised.
2016-02-05 09:02:32 +11:00
hiker
89c972c316
Cosmetic changes only.
2016-02-05 08:33:35 +11:00
hiker
e392aa6ead
Fixed syntax errors :(
2016-02-05 08:28:21 +11:00
hiker
0d488b916d
Use Synchronised instead of mutex for next protocol id.
2016-02-05 08:24:28 +11:00
hiker
348a300c09
Use Synchronised for m_requests instead of separate mutex.
2016-02-05 08:19:26 +11:00
hiker
263e41ec1f
The update messages are now handled in the main thread, which removes the
...
need for locking. Also only the last update event is handled, older events
are discarded.
2016-02-04 17:15:14 +11:00
hiker
4fa7a89963
Fixed (probably debug only) crash: evaluating the pointer arithmetic
...
left to right had invalid intermediate result (i>0; offset <0).
2016-02-04 16:56:11 +11:00
hiker
f580603c97
Cosmetic changes.
2016-02-04 16:55:42 +11:00
Benau
5810acb114
Fix memory leak
2016-02-04 10:11:14 +08:00
Benau
38eeddd4e8
No reference for int and float
2016-02-04 09:51:59 +08:00
Benau
4cbb31b8e5
Ghost kart replay fixes:
...
1. Allow saving steering, speed, suspension length
2. No more crashes when trying to replay
2016-02-04 08:17:02 +08:00
hiker
878760ed2d
Fixed GameEventProtocol (e.g. collecting items).
2016-02-03 09:07:15 +11:00
hiker
f5897001d8
Properly lock data structure (I've seen data corruption, most likely
...
caused by not locking).
2016-02-03 09:05:26 +11:00
hiker
19053d8ac6
Removed unnecessary call.
2016-02-03 08:48:28 +11:00
hiker
cc017da1d6
Let only the server ping the clients (to reduce network traffic). Reduce
...
frequency of pings (since it appears that often esp. during loading
clients are busy loading which artificially increases latency).
2016-02-03 08:21:34 +11:00
hiker
4f12a9a66c
Prevent usage of duplicated host ids (before if hosts A and B are connected,
...
then A disconnects and C connects, B and C would have the same host id).
2016-02-02 09:52:07 +11:00
Elderme
b85bd204aa
Removed useless methods in FixedPipelineRenderer class
2016-02-01 21:20:10 +01:00
hiker
ef8c04e117
Removed unnecessary lock.
2016-02-01 16:45:07 +11:00
hiker
d78c1b3272
Replaced array with scalar value, minor code cleanups.
2016-02-01 16:42:36 +11:00
Elderme
20290decc0
Added default statement in switch on material types
2016-01-31 21:49:22 +01:00
Benau
87862c27ae
Fix #2127
2016-01-31 10:16:12 +08:00
Marianne Gagnon
3de922bc19
Fix animated textures not working on animated meshes. FIxes #2432
2016-01-30 18:11:58 -05:00
Elderme
1e7e126b55
merged with master
2016-01-30 15:00:22 +01:00
Elderme
011777e93f
Added missing include in command_buffer
2016-01-30 14:13:50 +01:00
Elderme
6be1e7a209
Removed useless lines in draw_calls
2016-01-29 22:14:15 +01:00
Elderme
0c85dd2e2e
Fixed issue when async instance upload is not supported
2016-01-29 22:11:31 +01:00
Benau
40e193e415
Reset the ball if out of navmesh after 2 seconds
...
Plus some code clean up
2016-01-29 14:40:52 +08:00
hiker
ad21b6dfa2
Merge pull request #2375 from leyyin/travis-matrix
...
Add matrix configuration to travis file
2016-01-29 12:23:04 +11:00
hiker
17de128f09
Cosmetic changes only.
2016-01-29 08:18:34 +11:00
hiker
e81935df99
Added convenience functions that encode and decode Vec3s and Quats.
2016-01-29 08:14:13 +11:00
hiker
6039f63c0b
Removed need m_self_kart from NetworkWorld, which is not necessary anymore.
2016-01-29 07:42:32 +11:00
hiker
06d1168948
Refactored to remove need for unique kart names.
2016-01-29 07:40:16 +11:00
Elderme
1ba19948f6
Moved variadic templates arguments first in ShadowCommandBuffer to fix compilation with visual studio
2016-01-28 15:21:18 +01:00
Benau
cbc9353210
Completely brake the AI karts in goal phase.
2016-01-28 16:13:03 +08:00
hiker
497a018667
Cosmetic changes only.
2016-01-28 08:41:50 +11:00
hiker
2606c5230d
Refactored ControllerEventsProtocol so that unique kart names
...
are not necessaruy anymore.
2016-01-28 08:05:48 +11:00
hiker
892e1b58d1
Protocols are now either synchronous or asynchronous. This avoids a problem
...
that in (rare) circumstances e.g. a message that is only handled synchronously
is deleted from the asynchronous thread (if the main thread is too slow and
a time out is reached).
2016-01-27 10:05:25 +11:00
Elderme
c82ff61cf4
Added more comments
2016-01-26 22:30:42 +01:00
hiker
e31ce6844e
Partial fix for crash when disconnecting clients.
2016-01-27 07:40:25 +11:00
hiker
618248ef4d
Added comments.
2016-01-27 07:39:53 +11:00
Daniel Butum
28394c36b1
Add matrix configuration to travis file
2016-01-26 18:01:54 +02:00
Benau
5c81a2a3e7
Seperate red and blue balls a bit in race gui
...
This make score like 10:10 a bit clearer
2016-01-25 12:51:43 +08:00
Benau
e8adf7f051
Remove bubblegum in soccer mode as suggested by auria
2016-01-25 12:50:20 +08:00
Elderme
126f883fac
Fixed poly count
2016-01-24 22:49:56 +01:00
Elderme
8d17911ef6
Cleaned and added comments
2016-01-23 21:59:56 +01:00
Benau
3674815e03
Missing reset()
2016-01-23 10:50:32 +08:00
Benau
2bc9362ac6
Add mini-skid for BattleAI when attacking targets
2016-01-23 10:34:20 +08:00
Benau
df9dc5ff34
Make AI really bends it like Beckham
...
Notice: AI will only try to skid to save the ball from being scored
when expert and supertux mode.
2016-01-22 22:01:22 +08:00
Benau
ea05f4b6ba
Allow saving default time limit option too
2016-01-22 12:27:09 +08:00
Benau
99162e3d0f
Fix wrong positioning of music description in soccer mode with time limit.
2016-01-22 12:01:01 +08:00
Benau
95f6f910b8
Allow saving selected team in single player soccer mode.
2016-01-22 11:32:06 +08:00
Benau
a7aedbe208
Remove unused PNG
2016-01-22 09:20:03 +08:00
Elderme
8a5405eff9
Make diffuse/specular/depth texture handles resident when creating RTT instead of during rendering loop
2016-01-21 15:05:14 +01:00
Benau
1ee9979fe1
More soccer mode improvements:
...
1. Max 8 karts are supported now
2. Clearer starting position assignment in soccer world
3. Reset all karts to starting position after each goal
2016-01-21 15:28:11 +08:00
Elderme
4eec1d8570
Removed getFBO method in IrrDriver
2016-01-20 23:39:19 +01:00
Benau
35ce3d8299
Add defense knowledge for AIs
2016-01-20 16:30:26 +08:00
Benau
1e7ac6e98b
Avoid eating banana in a smarter way
2016-01-20 14:20:46 +08:00
Benau
93b6b96c2e
Put animation settings in KartModel
2016-01-20 10:16:18 +08:00
Benau
3a3963bf8d
Make STK soccer mode more like real match
...
1. Short win animation is shown in a kart if it scored correctly
2. Possible to identify own goal in result gui
Also player name is shown instead of kart name in result gui for all modes.
2016-01-19 16:21:58 +08:00
Benau
7831ef5ef5
Reverse logic for opposite goal
2016-01-19 16:21:30 +08:00
Benau
b7df193ed4
Add Red/Blue icon in soccer setup screen
2016-01-19 08:49:23 +08:00
hiker
560ff7cee4
Moved ActivePlayer out of Controller and into LocalPlayerController.
2016-01-18 16:47:48 +11:00
hiker
affc53fef4
Updated documentation.
2016-01-18 16:22:15 +11:00
Marianne Gagnon
7e93af7414
Forgotten file in previous commit
2016-01-17 21:31:23 -05:00
Marianne Gagnon
025c117d58
Tweak soccer setup screen to be clearer
2016-01-17 21:21:55 -05:00
Benau
6e2f1c98e1
Merge remote-tracking branch 'origin/master' into soccer_ai
2016-01-18 10:00:45 +08:00
Marianne Gagnon
0b5fdb6729
More work on billboards to render them properly, see #2427
2016-01-17 20:58:20 -05:00
Benau
d9a9900608
Merge remote-tracking branch 'origin/master' into soccer_ai
2016-01-18 09:54:23 +08:00
Benau
61113bbef9
Silence warning as auria suggested
2016-01-18 09:52:34 +08:00
Benau
606add8605
Use back billboard arrow
2016-01-18 09:50:55 +08:00
Marianne Gagnon
ea02f232dc
Fix compositing of billboards, they were forced to be additive
2016-01-17 20:37:15 -05:00
hiker
a6386e1f20
Simplified and documented code.
2016-01-18 08:17:44 +11:00
hiker
73d8e18044
Fixed and simplified sendMessageToPeersChangingToken, avoiding
...
incorrect messages if more than one peer is connected.
2016-01-18 08:16:32 +11:00
Elderme
14fa4f3def
Removed IrrDriver::RTTProvider
2016-01-17 15:27:16 +01:00
Elderme
585f94d717
Moved calls to glEnable from MovelViewWidget to the graphics engine
2016-01-17 15:09:45 +01:00
Elderme
e9087a7dd6
Merged with master
2016-01-17 14:42:11 +01:00
Elderme
bff0a98708
Moved m_post_processing attribute from IrrDriver to ShaderBasedRenderer, and removed some getter/setter functions
2016-01-17 13:42:06 +01:00
Benau
51ce4c5cbd
Use red/blue billboard text above karts in soccer world as Arthur suggested
2016-01-17 12:13:20 +08:00
Benau
ab61e55a6d
Fix bugs in Race GUI
2016-01-17 12:11:09 +08:00
Benau
b410c8f67c
Make soccer menu useful in single player
...
Notice: As race_manager->setKartSoccerTeam(i, info.team) already
pre-set karts team, there is no need to test for
(getNumKartsInTeam(SOCCER_TEAM_RED) == 0 || getNumKartsInTeam(SOCCER_TEAM_BLUE) == 0),
so the the menu code is simplified.
2016-01-16 16:11:33 +08:00
Benau
b45d926a00
Clean up and bug fixes
2016-01-16 09:14:19 +08:00
Benau
d328fc7133
Better team saving
2016-01-15 23:50:54 +08:00
Benau
82dca17f42
Friendly-fire in soccer mode
2016-01-15 21:49:54 +08:00
Benau
e296ebe4af
Use white-black ball in minimap
2016-01-15 19:52:49 +08:00
Benau
7ef019f794
Use the checkPosition function for better angle handling in SkiddingAI
2016-01-15 18:35:21 +08:00
Benau
d14a39e0f7
Initial work on soccer AI, plus lots of code re-factor/clean up.
...
To test, you need to update stk-assets with the dummy soccer field.
In single player, you are limited to be in red team for now, so just
shoot the ball into the blue goal. Also max-goal is limited to 4.
Regarding AIs, the steering with ball logic is handled in
SoccerAI::correctBallPosition, max AI supported in single player
is limited to 5 by now.
The AI is not as good as Zidane or Ronaldo, but steering with ball
for human is not as easy as not normal driving anyway, so don't
laugh at the AIs. :)
TODO: Friendly-team firing, polish the soccer field.
2016-01-15 18:25:52 +08:00
hiker
b7870b2377
Fixed crash (when going back from track screen to kart screen).
2016-01-15 16:25:02 +11:00
hiker
d3a7c75a62
Replaced many uses of getPlayer with Controller::canGetAchievements.
...
Removed some unused variables.
2016-01-15 08:02:36 +11:00
hiker
45399fc43f
Removed unused data.
2016-01-14 08:30:02 +11:00
hiker
846fd3f059
Started to support split screen by fixing and improving the handling
...
of local plauyer ids.
2016-01-14 08:20:14 +11:00
hiker
e70017a1a6
Code simplification.
2016-01-14 08:05:40 +11:00
hiker
b0571e419a
Added documentation.
2016-01-13 17:03:01 +11:00
hiker
409862dbe2
Merge branch 'removeLocalPlayerInfo'
2016-01-12 13:15:36 +11:00
hiker
2c232bf400
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-01-12 13:15:09 +11:00
hiker
7b6ec4e916
Merge remote-tracking branch 'origin/master' into removeLocalPlayerInfo
2016-01-12 13:02:34 +11:00
hiker
e7dd7f4d1a
Replaced setLocalKartInfo with setPlayerKart. Updated some docs.
2016-01-12 13:00:45 +11:00
hiker
6816b08af1
Made m_player private in Controller.
2016-01-11 17:35:24 +11:00
hiker
4d28bb484f
Added host id which is used to determine local/remote players.
2016-01-11 17:08:06 +11:00
hiker
f0c5f43fe2
Removed setNumLocalPlayers (which is now part of setNumPlauers)<
...
fixed coding style in race manager.
2016-01-11 07:58:30 +11:00
Deve
87d474bd1a
Fixed compilation.
...
The __try and __except are not available in mingw.
2016-01-08 20:48:39 +01:00
Deve
2da5efd983
Simplify code a bit
2016-01-08 20:20:03 +01:00
Deve
280ad614bb
Fixed creating screenshots in menu screens
2016-01-08 20:20:03 +01:00
hiker
e46c47d5c9
Removed m_local_player_karts data structure in RaceManager.
2016-01-08 17:03:50 +11:00
Benau
283c1a7c37
Update supertuxkart desktop file to support searching with keywords
2016-01-08 09:34:13 +08:00
Elderme
76453afc49
Removed useless functions
2016-01-07 22:11:14 +01:00
Elderme
e58a45441b
Fixed aliasing issue with render to texture
2016-01-07 15:59:06 +01:00
Elderme
c14ce23e66
Merged with master and solved conflict with the new graph structure
2016-01-07 14:56:09 +01:00
hiker
6ffe0cc995
Updated comments.
2016-01-07 17:11:14 +11:00
hiker
f5438c433c
Removed unused variable.
2016-01-07 17:07:04 +11:00
hiker
a1b05dbb00
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-01-07 08:48:00 +11:00
hiker
f3851e44a9
Removed code duplication in StartGameProtocol.
2016-01-07 08:47:43 +11:00
hiker
7826a8a751
Removed compiler warnings.
2016-01-06 18:10:54 +11:00
hiker
eb30294259
Disable access to network races.
2016-01-06 18:01:46 +11:00
hiker
b8ed2025ed
Merge remote-tracking branch 'origin/master' into refactor_networking
2016-01-06 17:53:45 +11:00
Marianne Gagnon
4eb5ee6e77
Fix crash due to goal checklines not initializing properly
2016-01-05 20:36:01 -05:00
hiker
efa0f0afc9
More docs, code cleanup.
2016-01-06 08:21:48 +11:00
hiker
c1560ddb02
Renamed getPlayerID() to getGlobalPlayerId(); started to refactor
...
StartGameProtocol.
2016-01-06 08:10:03 +11:00
hiker
801f6961cf
Updaetd documentation.
2016-01-06 07:59:38 +11:00
hiker
7bb14cc1fc
Minor code cleanup.
2016-01-05 17:32:46 +11:00
Benau
347c608867
Final clean, put every kart location in three strikes battle world
2016-01-05 13:15:50 +08:00
hiker
65a23c125a
ADded comment.
2016-01-05 08:22:27 +11:00
Elderme
290ac3489b
Added render to texture support for legacy OpenGL (but rendering with legacy GL is currently bugged)
2016-01-04 22:19:19 +01:00
Elderme
a257acfd4b
Fixed memory leak and improved interfaces for rendering to texture
2016-01-04 21:36:00 +01:00
Benau
405d31ecfc
Better pointInPoly
2016-01-04 16:10:38 +08:00
Benau
87df259f48
Cleanup controller, plus better logic in updateKartNodes
2016-01-04 14:28:06 +08:00
Benau
0393eef825
Merge remote-tracking branch 'origin/win_lose_music'
2016-01-03 10:27:37 +08:00
Benau
d4e312885a
Make SFX depends on race result too
...
Currently use gp_end for test
2016-01-03 10:19:51 +08:00
Marianne Gagnon
b1ef0bc40a
Try to fix travis build
2016-01-02 20:57:46 -05:00
Marianne Gagnon
15b35b76ac
Scripting : add ability to use delegates for timeouts (enabling complex timeouts)
2016-01-02 20:34:39 -05:00
Benau
37da8423f8
Fix #2417
2016-01-03 09:04:24 +08:00
Deve
bd9f435190
Fixed 64-bit windows compilation.
...
Broken in 53164e5cbe or somewhere around it.
2016-01-03 00:10:30 +01:00
Benau
2aaab61f93
Implement win or lose music for race result screen
...
TODO: Proper music file
2016-01-01 13:31:15 +08:00
Benau
9624b1ab28
Prevent crashes when invaild navmesh is used or no items in an arena
2015-12-31 09:34:37 +08:00
Elderme
956ae27eca
Added abstract RenderTarget class for rendering to texture, and a renderToTexture method in IrrDriver
2015-12-30 12:02:11 +01:00
Benau
629f090646
More battle mode improvements
...
1. Fix text overflow in arena menu
2. Try to make battle AI avoiding eating banana
2015-12-29 08:27:24 +08:00
Benau
94c5ba4193
Add more arena info in track screen
2015-12-24 07:53:49 +08:00
Elderme
8ce03609d1
Fixed rendering issue whith AZDO
2015-12-22 14:38:08 +01:00
Elderme
b5fd7aa104
Fixed compilation errors
2015-12-20 17:43:15 +01:00
Deve
70aad3e265
Just rename a variable
2015-12-20 13:46:41 +01:00
Deve
5020f3ca2e
Disable compute shader for intel on mesa for now, because it is shaking for some reason.
2015-12-20 13:46:41 +01:00
Deve
f9c48a0fa2
Fixed compute shaders compilation for drivers which report only OpenGL 3.x
2015-12-20 13:46:41 +01:00
Deve
9eb6694d61
Check for arrays of arrays extension, which we use in compute shaders
2015-12-20 13:46:41 +01:00
Benau
4e5197e7c1
Different max number of AIs per arena
...
Now I make large arena like stadium to have max 8 player-slots,
should be very fun to play
Remember update stk-assets to test!
2015-12-20 16:28:01 +08:00
Benau
7031e1bf8c
Merge remote-tracking branch 'origin/graph_cleanup'
2015-12-20 09:12:50 +08:00
Benau
fefeffad91
Further clean
2015-12-20 09:01:50 +08:00
auriamg
82032ca6c9
Merge pull request #2406 from devnexen/master
...
better alternative OSes handling + tiny C++ fix
2015-12-19 17:59:26 -05:00
Benau
3d409a9742
Fix comment
2015-12-20 01:13:51 +08:00
Benau
08b2e27ed9
More clean up
2015-12-19 16:23:18 +08:00
Benau
e4da6d4a99
Merge remote-tracking branch 'origin/master' into graph_cleanup
2015-12-19 16:23:11 +08:00
David Carlier
2841c0e165
better alternative OSes handling + tiny C++ fix
2015-12-19 07:05:45 +00:00
Benau
74c547cb1d
Remove duplicated code, plus some more cleanup
2015-12-19 02:09:37 +08:00
Elderme
c158fa1757
Removed getRTT method in irr_driver
2015-12-18 14:19:55 +01:00
Marianne Gagnon
94151dda60
Add forgotten file
2015-12-17 20:25:05 -05:00
Elderme
cba4685d02
Start moving m_rtts from IrrDriver to Renderer classes
2015-12-16 10:15:38 +01:00
hiker
c222ba2ebd
Added documentation and minor cosmetic changes.
2015-12-16 18:31:03 +11:00
hiker
c9bf95079c
Cosmetic changes only.
2015-12-16 08:22:30 +11:00
hiker
6280613e5c
Avoid incorrect warning message in case of a disconnect.
2015-12-16 07:59:10 +11:00
hiker
07baf05b90
Fixed incorrect order in which protol ids were deleted.
2015-12-16 07:58:39 +11:00
hiker
68e37c902f
Merge remote-tracking branch 'origin/master' into refactor_networking
2015-12-15 22:52:55 +11:00
hiker
430529ed58
Fixed non-windows compilation.
2015-12-15 09:14:51 +11:00
hiker
5c2f78b176
Refactored Local- and NetworkPlayerController to use a common base
...
class PlayerController.
2015-12-15 07:50:50 +11:00
Benau
12e4c76a6f
Add minimap for battle mode when it has a navigation mesh
...
TODO: update battle island arena to use only 4 vertices per poly
2015-12-15 02:32:01 +08:00
Deve
e6068923b4
Give more light in kart selection screen
2015-12-14 19:23:27 +01:00
Deve
153fabb502
Fixed a crash on start with legacy pipeline
2015-12-14 19:03:10 +01:00
Deve
bddfa43da4
One more tweak.
...
glGetFramebufferAttachmentParameteriv function is available in OpenGL 3.0 and newer.
2015-12-14 18:56:08 +01:00
deve
5f46863a19
Display pop-up message when fatal error occured on windows.
...
The reason to do it is that in release mode we don't receive any message in console. This causes that the game sometimes doesn't start and you have no idea why (for example missing supertuxkart.git file etc.).
2015-12-14 12:25:04 +01:00
deve
4531b15d5c
Check for sRGB workaround only if needed.
...
This fixes the crash for old OpenGL 2.1 drivers
2015-12-14 11:35:42 +01:00
deve
e77dbf3d9f
Totally remove wiiuse hack for mingw.
...
It breaks versions with proper header file due to redeclaration error.
You should simply use current 4.9 version or 5.0 and newer for wiimote support.
2015-12-14 10:18:08 +01:00
deve
0dbc3575a7
Fixed mingw compilation
2015-12-14 10:11:40 +01:00
Benau
9d1c9fac5a
Merge remote-tracking branch 'origin/master' into i18n
2015-12-14 03:00:07 +08:00
Benau
7fccddb734
Show "Fribidized" user name and enable input for it
2015-12-14 02:56:42 +08:00
Benau
f0abbad937
Fix plural forms
2015-12-14 02:56:16 +08:00
Deve
306ace7fd2
Keep consistency with log label in irr driver
2015-12-11 19:18:14 +01:00
Deve
7dd7f76e87
Check if we really need to re-create the device by checking if framebuffer is sRGB or not.
2015-12-11 19:18:14 +01:00
Deve
6d757326d2
Make sure that we start game with disabled GL_FRAMEBUFFER_SRGB
2015-12-11 19:18:14 +01:00
Deve
80d36208f1
Added ugly hack, which forces srgb-capable framebuffer creation for intel drivers on linux
2015-12-11 19:18:14 +01:00
Deve
b91bcaf554
Disabl sRGB framebuffer on irrlicht side to avoid modifying current user interface colors
2015-12-11 19:18:14 +01:00
Deve
0216fd9697
Request sRGB-capable visual during creating OpenGL context.
...
We need it for proper working. When it's not available, then function glEnable(GL_FRAMEBUFFER_SRGB) doesn't take any effect, and then displayed image is too dark.
It doesn't solve the issue that the screen is too dark for intel graphics cards on linux, because the driver ignores this request. But still, this is the proper way to do it and it may avoid similar issues in future.
Actually we should detect that the visual is not srgb-capable, and in this case maybe make some gamma correction or filter it on our side to get similar effect.
2015-12-11 19:18:14 +01:00
Benau
93b1b11b99
Merge remote-tracking branch 'origin/master' into i18n
2015-12-11 09:27:15 +08:00
Elderme
c5caa610ec
Moved functions from render_lighting.cpp to ShaderBasedRenderer class
2015-12-10 15:34:33 +01:00
Benau
8f6a529531
Complete fix to arena selection menu (handle random arenas)
2015-12-10 15:49:47 +08:00
hiker
dbd210d08c
Renamed PlayerController into LocalPlayerController.
2015-12-10 17:54:29 +11:00
hiker
770d05f0de
Fixed crash if more than one kart is connected to the server (since the
...
network kart screen will only show local karts now).
2015-12-10 17:37:28 +11:00
hiker
e0b3de17f6
Added new isLocalPlayerKart() function to controller, which is used
...
to detect when sfx and graphical effects should be shown. The isPlayerKart
funtion is used to detect a (local or remote) player, e.g. for rubber-banding
the AI, or finding the Xth player kart.
2015-12-10 17:35:31 +11:00
Benau
cebefcf374
Fix some gui interface bugs:
...
1. Fix credits fading effect
2. Display have many no of (addons mostly) arenas are hidden due to
missing of navigation mesh
3. Fix wrong size of kart stats bar
2015-12-10 10:25:52 +08:00
Benau
ca6da8c537
Make AI smarter
...
1. Correct fire angle for bowling
2. When swapper is used, follow a closest kart instead.
2015-12-10 01:21:01 +08:00
Benau
11c4b41f13
More menu fix
2015-12-09 12:42:13 +08:00
hiker
1969ee0b1f
Set a name for each thread in VS.
2015-12-09 08:55:46 +11:00
Benau
aac5a368b8
Avoid invaild Ai karts number during switching game modes
2015-12-09 01:27:02 +08:00
hiker
1755f22663
Cosmetic changes only.
2015-12-09 00:13:35 +11:00
Benau
140a229f71
Fix swatter issue
2015-12-08 16:47:42 +08:00
hiker
03594fcad9
Bugfix: the server would try to send a received kart action to the
...
server again.
2015-12-08 17:28:01 +11:00
hiker
34dad96017
Minor code cleanup.
2015-12-08 17:25:19 +11:00
hiker
786f9eb693
Fixed typoe (isclient vs isClient).
2015-12-08 17:24:10 +11:00
Benau
c789b1a8df
Fix compile error
2015-12-08 10:46:01 +08:00
Benau
2644b0458b
Merge remote-tracking branch 'origin/master' into battleAI
2015-12-08 10:09:35 +08:00
Marianne Gagnon
508dcdd7e8
Update credits
2015-12-07 19:07:10 -05:00
auriamg
f0fafc2651
Merge pull request #2245 from Flakebi/kart-properties
...
Kart properties
2015-12-07 18:44:14 -05:00
hiker
7fa062881d
Removed unused variable.
2015-12-08 08:08:00 +11:00
Benau
152dddc110
Fix potential hang after end race in temple arena
2015-12-08 00:44:28 +08:00
hiker
e74ef461a4
Fixed crash (probably in debug mode only): iterator+i+o would
...
first compute and check iterator+i, and not iterator+(i+o), which
caused a crash.
2015-12-07 23:54:43 +11:00
hiker
27f1828c73
Fix crash (in case of result==false, index could be out of bounce).
2015-12-07 23:51:38 +11:00
hiker
7cc77f41f7
File missing in previous commit.
2015-12-07 23:50:21 +11:00
Benau
21c38a6c0b
Make swatter disappear after one hit in 3 strikes battle
2015-12-07 16:24:11 +08:00
hiker
d8b417d536
Cosmetic changes; removed static variable.
2015-12-07 17:05:08 +11:00
Marianne Gagnon
ae916fced6
Add warning when animated texture not found
2015-12-06 20:14:55 -05:00
Benau
ba706f4476
Make swatter works better
2015-12-07 02:27:21 +08:00
Elderme
ba40b7fcd0
Removed ununsed SunDir uniform in InstancedGrassPass2Shader
2015-12-06 15:30:22 +01:00
Benau
b92395533e
Fix infinite loop
2015-12-06 14:43:07 +08:00
Benau
239412327a
Fix crashes when a kart has no wheels
2015-12-06 13:51:38 +08:00
Marianne Gagnon
cfc6ccf5ea
Add missing copyright
2015-12-05 21:47:50 -05:00
Marianne Gagnon
27290b4ffb
More work on scripting Property animator
2015-12-05 20:45:37 -05:00
Marianne Gagnon
840bc3df64
Make more properties animatable + fix build (oops, forgot files in previous commit)
2015-12-05 20:03:11 -05:00
Marianne Gagnon
2252495fdc
Scripting refactor : add new property animator helper, transfer light animations to this new animator class. Can be used in the future to animate more properties
2015-12-05 19:42:06 -05:00
Elderme
ba7aa4bc58
Moved m_spherical_harmonics from IrrDriver to ShaderBasedRenderer class
2015-12-05 21:43:04 +01:00
Benau
8a0cbea933
Merge remote-tracking branch 'origin/master' into battleAI
2015-12-05 16:27:06 +08:00
Benau
ed41b7c805
Proper fix for reverse and unstuck
2015-12-05 16:21:12 +08:00
Elderme
a4ba78d1fb
Merge branch 'master' into renderer_refactoring
2015-12-04 23:25:53 +01:00
Elderme
288b9db71b
Moved skybox from IrrDriver to Renderer class
2015-12-04 23:23:56 +01:00
Flakebi
f63c4af8be
Fix crash
2015-12-04 21:19:15 +01:00
deve
ea581e0909
Try to support more mingw versions for wiiuse build.
...
This function has been already added to the header in mingw-w64 5.1 and newer.
2015-12-04 10:47:56 +01:00
Benau
9ad438b945
Try to fix too fast reverse and unstuck issue
2015-12-04 16:32:33 +08:00
hiker
9153439f68
Cosmetic changes only.
2015-12-04 18:07:43 +11:00
hiker
35d1059a39
Cosmetic changes only (coding style, comments).
2015-12-04 17:52:21 +11:00
hiker
97756dd337
Only show kart selection widgets for local (and this means atm only
...
one) player.
2015-12-04 08:12:29 +11:00
hiker
637202077f
Automatically start game when all track votes have been received.
2015-12-04 08:00:51 +11:00
Deve
8980a32c20
Added profiler marker to keep consistency with other effects
2015-12-03 19:31:13 +01:00
Deve
9b3908cc62
Some lightning improvements:
...
- move OpenGL-related code to graphics directory, as it should be
- solve issue with applying effect multiple times in multiplayer mode
- remove old already disabled opengl code
2015-12-03 19:25:40 +01:00
deve
94d5c19b7f
Fixed compiler warnings.
...
The winsock2.h header should be always included before windows.h header (or we should define WIN32_LEAN_AND_MEAN). It's because windows.h header includes also winsock.h header and there is possible conflict between winsock and winsock2.
I didn't test in on Visual Studio yet. I hope there is no WIN32_LEAN_AND_MEAN redefinition errors...
2015-12-03 14:59:54 +01:00
deve
0bd15acb93
Fixed compiler warning.
...
gcc complains that std::auto_ptr is deprecated.
2015-12-03 14:51:26 +01:00
deve
92248399d0
Update project version :P
2015-12-03 14:48:03 +01:00
deve
cbc8d84fc4
Allow to enable wiiuse build for mingw in cmake.
...
Still disabled by default because it only works with mingw-w64. It won't work with other compiler versions due to some inconsistencies in header files. But at least it's possible now to enable it without modifying cmake file.
2015-12-03 14:47:08 +01:00
deve
dbdf9db377
Fixed cygwin compilation.
...
Unfortunately it doesn't support std::to_string function, even on relatively new gcc (tested with version 4.9.2).
2015-12-03 14:38:57 +01:00
Benau
ab428dc8cf
Different AI intelligence per difficulties
2015-12-03 16:13:39 +08:00
hiker
af3f72ae84
Automatically trigger computing the track data (based on votes)
...
once the game starts.
2015-12-03 17:56:16 +11:00
hiker
26155933f0
Set the local master on the server.
2015-12-03 17:54:24 +11:00
Flakebi
c5277edc54
Change suspension-travel that was changed in master meanwhile
2015-12-03 02:15:58 +01:00
hiker
0983038d5c
Fixed size of token.
2015-12-03 09:10:07 +11:00
hiker
9765c56a44
Enable voting for tracks.
2015-12-03 08:24:17 +11:00
hiker
4286f47a31
Fixed incorrect indices.
2015-12-03 08:23:52 +11:00
hiker
ee7097af35
Added some default settings for race mode and send them to the server.
...
Changed major and minor mode in protocols from 1-byte to int, since 1-byte
is too small to store the actual values.
2015-12-03 07:53:56 +11:00
Flakebi
b3cb029087
Remove kart-type specific turn settings
2015-12-02 19:40:59 +01:00
Flakebi
dbecbc3840
Assign KartProperties to a variable instead of fetching it every time
2015-12-02 19:40:28 +01:00
Benau
b5d4610f45
Better navmesh handling
2015-12-02 10:41:32 +08:00
Benau
084a4ee844
Fix crashes when no navmesh
...
User should have no way to start with ai in battle mode,
when the arena has no navmesh.
Unless artist debug mode or more than 1 human players.
2015-12-02 10:08:03 +08:00
hiker
03d857db3e
Removed unnecessary code.
2015-12-02 08:17:03 +11:00
hiker
0f52f0bdd9
Fixed incorrect message id in kart selection update message.
2015-12-02 08:16:22 +11:00
hiker
dfa78eaef2
Fixed random token computation to use indeed all 32 bits.
2015-12-02 07:45:05 +11:00
hiker
6d272d8a5a
Fixed crash when quicly exiting stk after refreshing the server list.
2015-12-01 23:25:04 +11:00
hiker
109288e0f5
Removed unused code.
2015-12-01 18:10:06 +11:00
hiker
76ddaeaef7
Force refresh of server list when exiting from the server info screen.
2015-12-01 17:47:03 +11:00
hiker
642c402dcf
Fixed unconnecting from a server.
2015-12-01 17:43:43 +11:00
Benau
c910c19827
Backwards firing and hard u-turn for backward node
...
TODO:
correct unstuck and perfect angle fire?
2015-12-01 09:27:49 +08:00
hiker
14390c2c5b
Cosmetic changes.
2015-12-01 08:28:53 +11:00
hiker
c9a23bcbb7
Fixed disconnecting of a client.
2015-12-01 08:19:48 +11:00
hiker
bcfec98fa2
Removed all references to OnlineProfile, which makes LAN and WAN
...
server behave idential (and it also fixed potential memory leaks).
2015-12-01 07:57:42 +11:00
Flakebi
12a1227f20
Merge branch 'upstream/master' into kart-properties
2015-11-29 22:21:08 +01:00
Flakebi
ba3bc326eb
Minor refinements
2015-11-29 22:21:03 +01:00
hiker
2e758a0641
Don't use #players as next player id - if a player gets disconnected,
...
the next player id would be duplicated.
2015-11-30 08:12:10 +11:00
Deve
5d6a233da2
Fixed wrong unit
2015-11-29 20:31:10 +01:00
Deve
7e7d4e120a
Handle errors during recording.
2015-11-29 20:29:37 +01:00
Flakebi
aea68a2c14
Remove characteristics from kart
2015-11-29 04:08:12 +01:00
Flakebi
9fbe72b3c5
Move getter from characteristics to properties
2015-11-29 04:08:12 +01:00
Deve
3144cd1595
Implement recording video to avi file.
...
It allows to easily record a video, which can be then for example attached to a bug report. It also allows to record promotion videos (eg. trailers), which should be more smooth than recorded using external application.
Main disadventages are:
- Constant fps in avi file
- Atm. it's not possible to record sounds. I even don't know if it's possible at all (if we can easily get access to the sound buffer).
I see about 20-25% fps drop during recording. I think that it's acceptable. But if needed, the fps can be increased by using separated thread for recording.
Currently it uses jpeg compression with 70 quality. It can be easily tweaked to use higher/lower compression or even just uncompressed bitmaps.
2015-11-28 16:42:48 +01:00
hiker
18e5cd8d53
Enable refresh of server list after exiting a connection again. Also
...
removed deleting the joined server.
2015-11-28 12:45:03 +11:00
hiker
73e94e9824
Avoid race condition when a client exits in the lobby.
2015-11-28 12:33:01 +11:00
hiker
e2a6d1c33c
Avoid crash (index could be -1).
2015-11-28 12:32:00 +11:00
hiker
09a32c2132
Fix various crashes when a client exits.
2015-11-27 23:05:32 +11:00
hiker
8d843a7317
Show the connected players in the player list of the gui.
2015-11-27 23:05:05 +11:00
hiker
0076a041c9
Used new decode/encodeString functions in other places, made getString private.
2015-11-27 08:55:21 +11:00
hiker
b092b47a58
Send the player's online or local (if not online) name to the server
...
and all clients.
2015-11-27 08:24:02 +11:00
Elderme
a753008521
Cleaned glow rendering
2015-11-26 20:12:24 +01:00
hiker
801b390860
Removed linux compiler warnings.
2015-11-26 09:16:27 +11:00
hiker
896d55816f
Removed linux compiler warnings.
2015-11-26 09:13:57 +11:00
hiker
5c0f71ad07
Fixed names utf8ToWide and wideToUtf8; added convenience functions
...
taking std:;string and core::stringw as parameter (removed .c_str()
in many function calls).
2015-11-26 08:56:03 +11:00
hiker
517b0dabf9
Merge branch 'refactor_networking' of https://github.com/supertuxkart/stk-code into refactor_networking
2015-11-26 08:48:05 +11:00
hiker
f81bd5d0c5
Fixed names utf8ToWide and wideToUtf8; added convenience functions
...
taking std:;string and core::stringw as parameter (removed .c_str()
in many function calls).
2015-11-26 08:47:02 +11:00
hiker
2f126ab226
Moved NetworkPlayerProfile into its own file, added getter and
...
setters for it.
2015-11-26 07:41:37 +11:00
Elderme
1b27424b67
Moved more drawing functions from GeometryPasses to drawing policies classes.
2015-11-24 23:33:14 +01:00
Marianne Gagnon
8ca0fea6fa
Fix audio listener positionning code crash
2015-11-23 19:05:51 -05:00
Marianne Gagnon
c806c1de49
Clear status text in register screen, fixes #2361
2015-11-23 19:04:24 -05:00
hiker
927969e720
Added new server state for 'selecting karts'.
2015-11-24 07:55:58 +11:00
hiker
078de5fe93
Server-side authorisation now implemented if client is on
...
same IP address.
2015-11-24 07:53:51 +11:00
hiker
981a4ab234
Fix crash when disconnecting.
2015-11-23 17:22:12 +11:00
hiker
3e9e9349c0
Removed commented out code.
2015-11-23 17:21:51 +11:00
hiker
07876a0899
Fixed linux compilation
2015-11-23 11:40:33 +11:00
Flakebi
6e36c223b9
Hold one kart properties object per player
2015-11-23 01:19:00 +01:00
hiker
064414afa3
Added server-side test to see if client is authorised to send commands.
2015-11-23 08:26:18 +11:00
Elderme
951b852ede
Adding policies for each way to rendering meshes (depending on available OpenGL extensions)
2015-11-22 22:25:54 +01:00
hiker
da2671c6ee
An 'authorised' client can now tell the server to select karts.
2015-11-23 08:08:23 +11:00
hiker
0f38d6fb8a
Don't add same peer twice (which causes a crash when the peer disconnects etc)
2015-11-23 08:03:15 +11:00
Elderme
b26c152fce
Added splatting materials in ShadowCommandBuffer
2015-11-22 16:22:25 +01:00
Elderme
b4d39f7d85
Improved interfaces
2015-11-22 16:13:34 +01:00
Deve
8a0927f574
Fixed minor inconsistency in video settings dialog.
...
Regression since 9b562d31f4
2015-11-22 15:33:46 +01:00
Benau
aa9220772f
Merge remote-tracking branch 'origin/master' into battleAI
2015-11-22 15:01:41 +08:00
Benau
e1f1461488
Fix some bugs and copyright year
2015-11-22 15:01:22 +08:00
Flakebi
79c962dd79
Remove skidding properties and use characteristics instead
2015-11-22 00:40:11 +01:00
Flakebi
2f1d08edbd
Add enabled property to skid characteristics
2015-11-21 23:27:00 +01:00
Flakebi
b4904b182f
Fix merge
2015-11-21 23:15:54 +01:00
Flakebi
ffa85d2206
Merge remote-tracking branch 'upstream/master' into kart-properties
2015-11-21 23:03:58 +01:00
Flakebi
4778460f6c
Apply script
2015-11-21 23:02:16 +01:00
Flakebi
4be02becac
Add skiding properties to characteristics
2015-11-21 23:02:02 +01:00
Benau
62f5be0d9d
First playable version of battle AI
...
TODO:
backwards firing
better handling to obstacles
ai karts number selection
win/lose screen handling
Please use a better navmesh to test
2015-11-21 15:58:03 +08:00
hiker
f05b6f6dd7
Improved handling of cancelling server creation.
2015-11-21 12:21:50 +11:00
hiker
815d663ee3
Revert "Removed unnecessary stkgui file." - it was the wrong file :P
...
This reverts commit e804fc281a .
2015-11-21 12:21:16 +11:00
hiker
093283c5b0
Avoid crash if networking was selected, but not actually started.
2015-11-21 12:20:05 +11:00
hiker
e804fc281a
Removed unnecessary stkgui file.
2015-11-21 12:15:02 +11:00
hiker
1700395dc2
Fixed crash when no votes for a category have been received.
2015-11-21 12:01:45 +11:00
hiker
68bcd4bde3
Cosmetic changes only.
2015-11-21 11:49:15 +11:00
hiker
10bed9a20d
Used more names for protocol commands, and use switch instead of if's.
2015-11-21 10:39:56 +11:00
Elderme
be1178871b
Removed ListInstance* singletons
2015-11-20 22:39:42 +01:00
Elderme
db52543655
Removed GlowPassCmd singleton, now use new CommandBuffer class to render glow
2015-11-20 22:16:58 +01:00
hiker
3ab66592cd
Only minor cosmetic changes.
2015-11-20 17:02:47 +11:00
hiker
7a2c7125e5
Used enums instead of numbers for lobby protocol subcommands.
2015-11-20 16:41:54 +11:00
hiker
73e14a964a
Cosmetic changes only.
2015-11-20 08:16:41 +11:00
hiker
c3e74d344f
Add warning message in case of an unknown command, and do not send
...
it to the servrer (which typically just confuses it).
2015-11-20 08:07:31 +11:00
Elderme
ea7fc05af4
Removed RSMPassCmd singleton class
2015-11-19 14:50:17 +01:00
Elderme
c0ca591827
Removed useless things in CommandBuffer and GeometryPasses classes, and removed ShadowPassCmd singleton class
2015-11-19 14:16:59 +01:00
hiker
683f0fdc07
Fixed incorrect index.
2015-11-19 14:21:56 +11:00
hiker
b55b91edf1
Use const & for std::string, cosmetic changes.
2015-11-19 14:20:10 +11:00
hiker
2b687e1051
Avoid crash when voting.
2015-11-19 14:19:01 +11:00
hiker
e7cc868c85
Removed uneccesary vector copy.
2015-11-19 14:18:34 +11:00
hiker
4813637a37
Cosmetic changes only.
2015-11-19 09:21:28 +11:00
hiker
5994123b98
Fixed crash.
2015-11-19 09:21:03 +11:00
Deve
b78d4a0c3d
Merge pull request #2372 from rugk/patch-1
...
Readme and Install.md improvments
2015-11-18 09:32:00 +01:00
hiker
ba4ccd5621
Added command line option to start a LAN server.
2015-11-18 17:24:56 +11:00
hiker
e6c2620c90
Print 'hide address' only in WAN mode; remove commented out code.
2015-11-18 13:44:25 +11:00
hiker
90b92419f3
Avoid crash in case that a player is not logged in online.
2015-11-18 08:15:22 +11:00
hiker
17f588bcf2
Fixed storing of EnetAddresses in TransportAddress.
2015-11-18 08:14:58 +11:00
Deve
a69eb99094
Merge pull request #2380 from nado/clang-fix
...
Fixes few warnings at compilation
2015-11-17 15:23:55 +01:00
Nado
d66a70b250
Fixing some -Wunused-variable
2015-11-17 11:42:28 +01:00
Nado
97de0cbc34
Fixing clang only warnings
2015-11-17 11:42:28 +01:00
Marianne Gagnon
708608177a
Fix audio listener positionning issue
2015-11-16 19:13:28 -05:00
Elderme
e36ba066fb
Removed duplicate code in CommandBuffer class, and replaced singleton ShadowPassCmd by the new ShadowCommandBuffer class
2015-11-16 22:28:22 +01:00
hiker
29e0b50e14
Removed friend declaration; fixed crash caused by deleting the
...
ENetPeer when deleting an (STK) Event.
2015-11-17 08:11:07 +11:00
hiker
0ed22d0d6e
Fixed debug message.
2015-11-16 18:46:04 +11:00
hiker
980cdf835d
Avoid crash when clicking on (empty) list while server list is being refreshed.
2015-11-16 18:44:14 +11:00
hiker
785b9a9130
Don't try to hide address in LAN networking, other minor fixes.
2015-11-16 18:43:46 +11:00
auriamg
794908681d
Merge pull request #2379 from Benau/skin_color_font
...
Color the text base on current skin
2015-11-15 18:13:25 -05:00
Benau
f4b723de82
Merge remote-tracking branch 'origin/battleAI' into battleAI
2015-11-15 12:29:01 +08:00
Benau
f1982c1bee
Fix coloring
2015-11-15 01:24:06 +08:00
Benau
0deb065fe9
Two new skin (Ruby and Forest)
...
Also fix some alignment issue when the multiplayer selection boxes.
2015-11-14 16:28:37 +08:00
Benau
2b0e3b8828
Reverse type and state
2015-11-14 10:38:14 +08:00
Benau
962fe919d2
Color the text (mainly border including title and billboard) base on current skin
2015-11-14 01:06:28 +08:00
auriamg
bc712b5a44
Merge pull request #2378 from Benau/custom_font
...
Allow configurable fonts file names in stk-config
2015-11-12 19:59:26 -05:00
hiker
4a3c4c552e
LAN clients now start to connect to the server.
2015-11-13 08:50:03 +11:00
Elderme
5c02c58ded
Now use new CommandBuffer class for reflective shadowmaps
2015-11-12 22:13:18 +01:00
Benau
7cf4d662ee
Allow configurable fonts file names in stk-config
2015-11-13 02:25:52 +08:00
hiker
af9018ea64
Moved Server and ServersManager into network directory.
2015-11-12 17:52:04 +11:00
hiker
6716dfce97
Removed unnecesary #include.
2015-11-12 12:04:36 +11:00
hiker
2e65b23539
Don't poll stk server if this is a LAN server.
2015-11-12 09:58:21 +11:00
hiker
5fc830825f
Refactoring: Created a separate NetworkConfiguration class which stores
...
all information to create the STKHost.
2015-11-12 09:53:12 +11:00
hiker
8b916a7565
Fixed sfx not playing at right location (e.g. bridge in Green Valley).
2015-11-11 23:14:00 +11:00
Marianne Gagnon
6afc34c06b
Try to fix audio potential issues
2015-11-10 21:31:38 -05:00
hiker
51411a796a
Minor refactoring of lan handling, added client's ip address and port
...
to the answer from the client (which can later be used when the
client requests a connection from a server).
2015-11-10 17:00:47 +11:00
Marianne Gagnon
bf14e49ea4
Create OpenAL sound sources asychronously
2015-11-09 19:22:06 -05:00
Marianne Gagnon
86d18c0c3e
Merge branch '2360_fix_attempt'
2015-11-09 18:15:02 -05:00
hiker
833c20ceff
Added comment.
2015-11-10 08:34:45 +11:00
hiker
8953547305
Store TransportAddress of server in servers data structure. Avoid
...
copying the currently connected server, instead avoid modifying the
server data structure while while a client is connected to a server.
2015-11-10 08:31:07 +11:00
hiker
3a9576f109
Removed unnecessary #include.
2015-11-10 08:11:03 +11:00
hiker
0074550f57
Fixed typo.
2015-11-10 08:09:05 +11:00
hiker
0a23198be1
Cosmetic changes only.
2015-11-10 08:08:41 +11:00
hiker
36ebe29649
Fixed typo.
2015-11-10 08:08:22 +11:00
hiker
cdbc5cf15d
One more linux compilation fix.
2015-11-09 21:51:05 +11:00
hiker
d4856f6d64
Added missing #include for memcpy.
2015-11-09 21:38:18 +11:00
hiker
453ce8cf60
Added LAN server discovery.
2015-11-09 20:51:00 +11:00
hiker
4ea8bfd4ab
Fixed typo.
2015-11-09 09:17:45 +11:00
hiker
a7547dff23
Try to fix compilation by reducing number of threads.
2015-11-09 09:14:44 +11:00
hiker
a6ea57d09a
Used leyyins code to dynamically adjust number of threads.
2015-11-09 09:07:12 +11:00
hiker
ce219f2fd4
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-11-09 09:04:43 +11:00
hiker
fbff4db589
Increase number of threads to 32.
2015-11-09 09:03:59 +11:00
Elderme
97d497a0b5
Merge with master and solved conflicts
2015-11-08 21:54:10 +01:00
Elderme
84592ef631
Removed singleton class SolidPassCmd
2015-11-08 21:16:29 +01:00
Marianne Gagnon
b1803b8dff
Apply fix by Benau
2015-11-07 21:48:12 -05:00
Marianne Gagnon
35316c447d
Merge remote-tracking branch 'Benau/ftcleanup#2'
2015-11-07 21:37:47 -05:00
Benau
09a6b9b502
Remove unneeded variable
2015-11-08 10:34:48 +08:00
Benau
cee7cf0b37
Implement better error detection
2015-11-08 10:24:31 +08:00
auriamg
32e54d4f87
Merge pull request #2374 from Benau/ftcleanup#2
...
More clean up freetype-related code
2015-11-07 20:21:55 -05:00
Elderme
c1eb0bbe73
Moved Materials definition in a separate Materials file
2015-11-07 22:10:32 +01:00
Benau
0b5a916980
Remove unused header
...
Also fix some spacing
2015-11-08 01:36:40 +08:00
Elderme
928dd8d24d
Partially replaced singleton SolidPassCmd by DrawCalls class
2015-11-07 15:01:00 +01:00
Benau
09101e923c
More clean up freetype-related code
...
1. Remove useless get font properties class
2. Pre-set the face dpi
3. Make all freetype related code to have a better coding style
2015-11-07 16:24:31 +08:00
hiker
9d9b83059d
Fixed deadlock (when while handing a request another request was queued).
2015-11-07 00:19:16 +11:00
hiker
60f550e9d1
Fixed coding style, removed unnecessary #include in hpp file.
2015-11-06 16:50:58 +11:00
hiker
47a7bd1caf
Print correct protocol name in 'has been terminated" message.
2015-11-06 16:32:18 +11:00
hiker
00843b8685
Fixed typos.
2015-11-06 16:30:34 +11:00
hiker
541509f29a
Added new requestPause and requestUnpause commands for protocols,
...
minor code cleanups and improvements.
2015-11-06 16:11:12 +11:00
hiker
e14bc572b6
Fixed typo in comment (thanks to leyyin).
2015-11-05 23:35:37 +11:00
hiker
847a788a9c
Removed server creation request (which is now down automatically
...
from STKHost).
2015-11-05 23:34:27 +11:00
auriamg
c2d863888b
Merge pull request #2373 from Elderme/issue_2369
...
Fix issue 2369
2015-11-04 18:24:03 -05:00
hiker
bec317b9ed
Added documentation to the table use and protocol between
...
game server/client and the stk server.
2015-11-05 08:03:06 +11:00
hiker
c99ad34cb0
Coding style changes.
2015-11-05 08:02:17 +11:00
hiker
73c59db858
Reverted to previous version of protocol (since it is not yet
...
supported by the server).
2015-11-05 08:01:37 +11:00
hiker
4fc46c510f
Fixed too early release of objects, and some state changes in finite state machine.
2015-11-05 08:00:45 +11:00
hiker
b7b37b9ec9
Updated documentation.
2015-11-05 07:59:28 +11:00
hiker
35793d99c8
Create an STKHost client instance if a connection to client is
...
requested. The rest of the protocol is handled from STKHost.
2015-11-05 07:57:49 +11:00
hiker
f2aa1ddea6
Code cleanup.
2015-11-05 07:55:59 +11:00
hiker
bdf34edc00
Removed --client command line option (since this command needs a
...
server id to work).
2015-11-05 07:54:58 +11:00
Elderme
8d91ab5105
merge with master
2015-11-04 21:24:25 +01:00
Marianne Gagnon
78fd0e373f
#2360 fix attempt
2015-11-03 19:15:55 -05:00
auriamg
1cfbdd7c8c
Merge pull request #2371 from leyyin/clean-python
...
Make remove-whitespaces script more pythonic
2015-11-03 18:44:29 -05:00
rugk
d1e0564f8b
Merge pull request #4 from rugk/patch-2
...
Update INSTALL.md
2015-11-03 23:23:35 +01:00
rugk
b31464042d
Update INSTALL.md
...
* correct spaces
* proper names with a capital letter
* also use block code indentation for single-line commands to keep a consistent look (`this code style` should only be used for code/commands mentioned inside of other text)
2015-11-03 23:21:08 +01:00
rugk
ed0cf4ea34
Readme improvments
...
* added space afer `#` headline
* corrected file names of files I could find
* linked to files
However one thing I could not fix was this sentence:
"Information about the licenses for artwork are contained in
`data/licenses`."
The mentioned file or dir does not exist (anymore) and I could not find any other file, which would fit there.
2015-11-03 23:16:53 +01:00
Elderme
331cc0827f
Fixed bug in CommandBuffer class
2015-11-02 22:27:37 +01:00
Deve
795f3148dc
Revert "Added default precision qualifier in fragment shaders"
...
This reverts commit c23da9e855 .
2015-11-02 18:20:07 +01:00
Elderme
b70fa22d23
Define default precision in fragment shaders after #extension
2015-11-02 18:14:01 +01:00
Daniel Butum
faefad4fde
Make remove-whitespace script more pythonic
2015-11-02 16:35:59 +02:00
Daniel Butum
9df91ebd8a
Rename whitespace.py script to remove-whitespaces.py
2015-11-02 14:54:49 +02:00
hiker
dc80fb1c11
Updated docs.
2015-11-02 16:24:05 +11:00
hiker
eab07b31dd
Hide RefreshRequest class.
2015-11-02 16:14:38 +11:00
auriamg
08e3a9ea13
Merge pull request #2367 from CruzR/memory_leaks
...
Fix a couple of memory leaks.
2015-11-01 20:15:16 -05:00
auriamg
9d456c5459
Merge pull request #2365 from Elderme/shader_precision
...
Add default precision qualifier in fragment shaders
2015-11-01 20:02:18 -05:00
Thomas Glamsch
a5a9b9f6c1
Fix a memory leak in PhysicalObject::init().
2015-11-02 01:43:54 +01:00
hiker
6946306c4c
Fixed memory leak (thanks to CruzR).
2015-11-02 10:55:17 +11:00
hiker
7c51be7724
Removed need for m_fake_refrehs, some coding style improvements.
2015-11-02 09:16:39 +11:00
hiker
c0817d29d3
Minor coding style update.
2015-11-02 09:16:09 +11:00
hiker
d7d2115abd
Removed setupClient (which is now done in the constructor).
2015-11-02 09:14:35 +11:00
hiker
0b62d2f82b
Created two different constructors for STKHost - one for server, one for client.
2015-11-02 08:11:51 +11:00
hiker
6add49b065
Allow WAN server creation from GUI.
2015-11-01 23:42:24 +11:00
hiker
f05ee47e2b
Moved lan/wan setting to static functions in STKHost.
2015-11-01 22:16:57 +11:00
hiker
15e3ac021f
Fix ending STK when no STKHost exists.
2015-11-01 21:28:39 +11:00
hiker
0d84239cd2
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-11-01 19:46:00 +11:00
hiker
1334a467e3
Don't start a STKHost if neither client nor server is requested.
2015-11-01 19:45:28 +11:00
hiker
4aea491ed0
Merge remote-tracking branch 'origin/master' into refactor_networking
2015-10-31 11:41:43 +11:00
hiker
f2ae36fc65
Simplified ConnectToPeer (no more fsm).
2015-10-31 11:40:41 +11:00
auriamg
4762658a88
Merge pull request #2364 from Benau/freetype_cleanup
...
Clean up freetype code
2015-10-30 20:33:51 -04:00
Deve
8a288f05ff
Implement lightning effect using shaders
2015-10-31 01:00:48 +01:00
Elderme
c23da9e855
Added default precision qualifier in fragment shaders
2015-10-30 22:05:08 +01:00
Benau
41bd914f7c
Fix typo
2015-10-31 00:29:53 +08:00
Elderme
6ba82eaac9
Removed several singletons and added a CommandBuffer class
2015-10-30 15:23:15 +01:00
Benau
b9b2b538fa
Clean up freetype code
...
1. Remove all ifdef of freetype
2. Require freetype in CMake
3. Clean up declaration
4. Add leak check
5. Make script language display better in title
2015-10-30 18:08:02 +08:00
hiker
8585afb713
Minor code cleanup.
2015-10-30 17:00:57 +11:00
hiker
94bc18df52
Removed ShowPublicAddress protocol, instead submit blocking
...
request in ConnectToServer.
2015-10-30 16:45:43 +11:00
hiker
dd289dc1cd
Removed polling for GetPublicAddress with callback.
2015-10-29 18:58:18 +11:00
hiker
ef310a5666
Renamed types.hpp to transport_address.hpp.
2015-10-29 18:39:01 +11:00
hiker
83154ae3a7
Converted the CallbackObject to actually call a function. This
...
means that if protocol A starts protocol B and needs a result from B,
previously B would set a (potential private) variable in A. Now
B calls a callback in A, where the result can be set.
2015-10-29 18:27:55 +11:00
Deve
8572c5ef3b
Open window in fullscreen mode when it was set by user
2015-10-29 00:16:00 +01:00
Deve
e61d3bc0ac
Fixed a crash on startup
2015-10-28 23:40:57 +01:00
Deve
c81243fc1a
Merge branch 'master' into wayland
2015-10-28 22:43:02 +01:00
Deve
af68dd9046
Fixed compilation
2015-10-28 22:28:12 +01:00
hiker
966d31dc45
Cosmetic changes, removed unused and unimplemented 'stop protocol' support.
2015-10-28 17:22:09 +11:00
hiker
cf9ce6674c
Removed unused class.
2015-10-28 17:08:01 +11:00
Marianne Gagnon
66909086fd
Scripting : allow smoothly animating lights
2015-10-27 19:08:12 -04:00
Marianne Gagnon
953c29089e
Scripting : start adding features to control light objects
2015-10-27 18:33:54 -04:00
hiker
5df6c225ef
Cosmetic changes only.
2015-10-28 08:57:05 +11:00
hiker
e919b97037
Removed unnecessary getProtocolState functions.
2015-10-28 08:24:05 +11:00
hiker
2909e42a25
Minor code cleanup for ConnectToPeer handling.
2015-10-28 08:21:35 +11:00
hiker
7e202d94a8
Removed hardcoded maximum number of players.
2015-10-28 08:03:05 +11:00
hiker
60bbfe3ab3
Remved StartServer protocol, and used executeNow() in ServerLobby instead.
2015-10-28 08:01:46 +11:00
hiker
e212276dd2
Move enet initialisation into STKHost.
2015-10-27 16:58:40 +11:00
hiker
10f8f6b3a5
Removed unnecessary function, added some docs.
2015-10-27 16:46:26 +11:00
hiker
f7f12d5431
Renmated ServerConsole to NetworkConsole.
2015-10-27 16:38:22 +11:00
hiker
d2e6a10026
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-10-27 15:00:13 +11:00
hiker
c5b8c3e3e9
Try to improve performance for sfx ( #2154 ).
2015-10-27 14:59:20 +11:00
hiker
c511fc48af
Added leak checking.
2015-10-27 08:44:28 +11:00
hiker
b47b8bd196
Removed empty file.
2015-10-27 08:25:52 +11:00
hiker
6297d8c65d
Removed NetworkManager and ClientNetworkManager.
2015-10-27 08:23:59 +11:00
Benau
2096532d0e
Make stk more-i18n friendly
...
Now supertuxkart can do:
Windows (fully test in win8 and win7 built with vs2015, mingw not tested):
Input characters using ime (CJK tested).
Fix crashes when try to paste unicode text into editbox in stk.
Linux:
Different keymap can be used in stk now, ie typing russian,hebrew (not bidi-aware) is now possible.
IME not supported.
Mac:
No work has been done, sorry mac fanboys/girls:( Though testing is welcome, esp when pasting words into stk.
Limitation:
No ime box is shown in fullscreen
(Windows)Only the used language in current setting of non-Unicode programs can be typed with its supported IME.
2015-10-27 02:34:46 +08:00
hiker
7d04cc78de
Fixed printing of type name.
2015-10-27 00:26:14 +11:00
hiker
90b8db9993
Start to remove ClientNetworkManager.
2015-10-27 00:23:20 +11:00
hiker
a58f408a99
Merge branch 'refactor_networking' of https://github.com/supertuxkart/stk-code into refactor_networking
2015-10-26 21:31:11 +11:00
hiker
1e9afd473d
Removed isClient/isServer from NetworkManager.
2015-10-26 21:30:41 +11:00
hiker
5564239773
Removed NetworkManager::run().
2015-10-26 18:33:23 +11:00
hiker
b788aa6e95
Removed NetworkManager::isConnectedTO
2015-10-26 18:31:32 +11:00
hiker
d45d5a1051
Fixed type name debug print.
2015-10-26 18:29:28 +11:00
hiker
334780b5d7
Moved sendPacket from NetworkManager to STKHost.
2015-10-26 18:26:53 +11:00
hiker
51d39879b4
Moved NetworkManager::connect and STKPeer::connextTo functions into STKHost.
2015-10-26 18:01:07 +11:00
hiker
0bd2b48ea0
Removed sendPacket function and destructor.
2015-10-26 17:55:19 +11:00
hiker
cf51d2f0e0
Added missing object deletions.
2015-10-26 17:54:19 +11:00
Marianne Gagnon
af68319da7
Add profiler marker to measure material handling in Kart::update
2015-10-25 21:22:45 -04:00
Marianne Gagnon
f9f9b660d3
Rename profiler marker to clarify what it measures
2015-10-25 21:21:05 -04:00
hiker
4c0a195fdd
Moved handling of peers from NetworkManager to STKHost.
2015-10-26 08:33:07 +11:00
hiker
c273e709eb
Fixed linux compilation.
2015-10-26 08:25:43 +11:00
hiker
f610573295
Removed unnecessary function.
2015-10-25 20:28:35 +11:00
hiker
85cca69113
Moved GameSetup handling from NetworkManager to STKHost.
2015-10-25 00:19:30 +11:00
hiker
34f0d1b349
Moved public address data from NetworkManager to STKHost.
2015-10-24 23:30:34 +11:00
hiker
350f434c37
Started to refactor network code.
2015-10-24 12:39:17 +11:00
Marianne Gagnon
366a458a6b
Remove a few unused files, see #2066
2015-10-22 19:13:41 -04:00
Elderme
4452661533
Removed singletons (objects added as DrawCalls members)
2015-10-22 18:09:11 +02:00
hiker
b8cd9cfb81
Removed unused functions.
2015-10-22 23:41:49 +11:00
hiker
e6ae208b4f
Removed many unnecessary copies of NetworkString.
2015-10-22 21:43:06 +11:00
hiker
c59f958c2f
Removed unnecessary #include, and disabled copying of STKPeer.
2015-10-22 18:46:01 +11:00
hiker
a102d97e3a
Cosmetic changes, some minor refactoring.
2015-10-22 18:40:52 +11:00
hiker
1f4f2bce86
Coding style changes.
2015-10-22 16:03:11 +11:00
hiker
b8837d5d59
Coding style changes.
2015-10-22 14:54:12 +11:00
hiker
9b9fc2ee35
Fixed --no-graphics option.
2015-10-22 11:53:52 +11:00
hiker
4833659085
Added --stdout= command line option to change the name of
...
the stdout.log file.
2015-10-22 11:51:18 +11:00
hiker
65454db0ce
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-22 11:04:07 +11:00
hiker
6213959f31
Cosmetic/coding style changes.
2015-10-22 11:03:41 +11:00
Deve
8bfe048f0f
Remember race type in saved GP.
...
Continue standard race as follow the leader and vice versa doesn't have a sense.
2015-10-21 22:42:59 +02:00
Deve
4049722677
Don't crash if selection is larger than number of items in ribbon widget
2015-10-21 22:37:38 +02:00
hiker
25ca5646ff
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-22 00:03:11 +11:00
hiker
d6e7ddf000
Avoid copying STK Events for networking.
2015-10-22 00:02:40 +11:00
hiker
f297c92039
Removed more includes of event.hpp in hpp files.
2015-10-21 17:39:53 +11:00
hiker
841d9b248e
Removed some unnecessary #includes.
2015-10-21 17:31:33 +11:00
hiker
1a0fb9fa4c
Renamed notifyEvent to propagateEvent for the manager to avoid
...
'duplicated' name (notifyEvent also exists in each protocol).
2015-10-21 17:18:27 +11:00
hiker
cce4793fa3
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-21 08:43:32 +11:00
hiker
40629d9816
Changed Event's m_peer from STKPeer** to STKPeer *. Fixes some minor memory leaks.
2015-10-21 08:11:35 +11:00
hiker
814f248cbd
Fixed linux compilation.
2015-10-21 08:09:24 +11:00
hiker
9cdf7058a7
More coding style fixes.
2015-10-21 08:07:00 +11:00
hiker
94e87796f5
Coding style fixes.
2015-10-21 07:51:53 +11:00
Elderme
51415ed43a
Minor coding style improvements
2015-10-20 21:32:56 +02:00
Deve
054d9251bb
Don't sort karts after loading saved GP.
...
This causes issues in follow the leader races, because after sorting the leader is not leader anymore.
This sorting function is most probably not needed because the list is sorted in startNextRace function (where the leader is properly skipped).
2015-10-20 19:52:57 +02:00
Deve
4ac479cbf3
Merge pull request #2354 from hasufell/master
...
Fix compilation with system angelscript
2015-10-20 19:12:32 +02:00
hasufell
4e307522d1
Fix compilation with system angelscript
...
Upstream names the shared library angelscript_s.
In addition, add more common PATH_SUFFIXES.
2015-10-20 16:47:23 +02:00
hiker
54a0e50fe3
Try to fix linux compilation.
2015-10-21 00:18:51 +11:00
hiker
10c612a0f6
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-20 22:44:26 +11:00
hiker
0dfa05227e
Cosmetic changes mostly, removed unused functions.
2015-10-20 22:42:57 +11:00
Marianne Gagnon
cc7f7b9b4c
Use SigmarOne font for digits
2015-10-19 21:02:25 -04:00
Marianne Gagnon
9c3da791a4
Add Benau to credits, thank you :)
2015-10-19 20:56:38 -04:00
Marianne Gagnon
2dfc493adf
Minor FreeType cleanup
2015-10-19 19:25:51 -04:00
hiker
6fc4b9c19d
Prevent crash in case of issues creating the server.
2015-10-20 09:37:51 +11:00
hiker
46b4d275a9
Minor refactoring and coding style fixes.
2015-10-20 09:34:14 +11:00
Deve
0d58774b54
Fixed mingw compilation
2015-10-19 20:50:39 +02:00
hiker
d5a9364ece
Minor cosmetic changes.
2015-10-19 17:06:14 +11:00
hiker
3a544b69eb
Merge branch 'freetype_lazyloadchar' of github.com:supertuxkart/stk-code into freetype_lazyloadchar
2015-10-19 13:31:39 +11:00
hiker
52b5b7c8d1
Fixed crash caused by using a char pointer to a temporary string only (which can get
...
overwritten/freed before the pointer is used).
2015-10-19 13:29:52 +11:00
Marianne Gagnon
fcd402b538
Merge remote-tracking branch 'Benau/lazyloadchar' into freetype_lazyloadchar
2015-10-18 21:47:16 -04:00
Benau
109d6b91ce
Choose the correct title font smartly
2015-10-19 09:39:57 +08:00
Marianne Gagnon
06fb6d4eb2
Delete old fonts and related code
2015-10-18 20:15:05 -04:00
Marianne Gagnon
dd975de74f
Remove the font tool, which is no longer necessary
2015-10-18 20:10:31 -04:00
Marianne Gagnon
6d365032f3
A few minor bugfixes, a little cleanup in TTF font code. Add Ubuntu font for latin languages since it generally looks better than Freesans for a game
2015-10-18 20:07:11 -04:00
Marianne Gagnon
1a58df0696
Fix issue in language selection screen (improper utf-8 decoding)
2015-10-18 19:53:20 -04:00
Marianne Gagnon
0571db6bef
Freetpye support on OSX
2015-10-18 19:44:28 -04:00
hiker
8d0c22346d
Cosmetic changes only.
2015-10-19 08:15:43 +11:00
hiker
e535afc9d8
Cosmetic changes only.
2015-10-19 08:11:28 +11:00
hiker
faf697ef5d
Made access to the public address thread safe, and simplified setting
...
of the public address.
2015-10-19 08:02:44 +11:00
Elderme
e609aa61fc
Minor coding style improvements
2015-10-18 22:05:02 +02:00
Elderme
236d90c36d
Modified templates in draw_tools to make them more generic and removed duplicated code
2015-10-18 19:20:05 +02:00
Elderme
73c0b010ff
Started splitting geometry_passes in smaller files
2015-10-18 15:52:52 +02:00
Benau
218f94d181
Silence warning
2015-10-18 10:10:03 +08:00
Marianne Gagnon
d0d6476feb
Merge remote-tracking branch 'Benau/lazyloadchar' into freetype_lazyloadchar
2015-10-17 21:41:56 -04:00
Benau
fad23b148b
Fix travis build
2015-10-18 09:40:37 +08:00
Marianne Gagnon
cee6d9d611
Merge branch 'master' into freetype_lazyloadchar
2015-10-17 21:34:19 -04:00
Marianne Gagnon
a84b04db66
Merge remote-tracking branch 'Benau/freetype' into freetype_lazyloadchar
2015-10-17 21:31:05 -04:00
Marianne Gagnon
f909619413
Add translation help comment, for issue #2335
2015-10-17 20:47:19 -04:00
Marianne Gagnon
fcfbd82a0e
Merge branch 'TranslatableDateTime'
2015-10-17 20:44:32 -04:00
Deve
e7e7e9e7d3
Make sure that we compile irrlicht only as static library.
...
Compiling as shared library can cause errors during linking because of GLContextDebugBit variable, which is defined in STK sources.
2015-10-17 16:02:35 +02:00
hiker
4fad614d55
Removed unnecessary copy constructor call, which makes the Synchronised
...
class work with NoCopy objects.
2015-10-17 09:33:05 +11:00
Ben
adbaa44864
Fix typo
2015-10-17 03:03:56 +08:00
Benau
d166aa620e
Add lazy load char function
...
Now less fonts are used to prevent mismatch, also include font license file
2015-10-17 02:57:27 +08:00
Benau
f557dce27e
Fix some bugs in title font and clean up more code
2015-10-17 01:20:50 +08:00
hiker
aeec90fa0d
Removed many unnecessary copies of TransportAddress.
2015-10-16 23:55:54 +11:00
Deve
9b5e4e9201
Merge pull request #2352 from leyyin/fix-compilation
...
Fix linux compilation
2015-10-16 10:43:10 +02:00
Daniel Butum
8cfa2f925a
Fix linux compilation
2015-10-16 11:22:20 +03:00
hiker
162bcced37
Make m_ip and m_port in TransportAddress private (adding setters and getters).
2015-10-16 16:59:42 +11:00
hiker
83811d2960
More compilation fixes :(
2015-10-16 10:37:20 +11:00
hiker
8183760cd9
Fix travis build.
2015-10-16 10:28:29 +11:00
hiker
aeb4ba63d0
Fixed #2350 .
2015-10-16 09:46:59 +11:00
hiker
517ba2c2df
Cosmetic changes, added some convenience functions.
2015-10-16 00:52:28 +11:00
hiker
9a55da5c2c
Reserve space for NetworkStrings (to reduce copying when reallocating).
2015-10-16 00:03:23 +11:00
hiker
e7860e1c14
Fixed compiler warnings.
2015-10-15 21:48:17 +11:00
hiker
a61506046b
Updated assets version.
2015-10-15 11:22:47 +11:00
Marianne Gagnon
0af8842767
Update translations
2015-10-14 19:52:36 -04:00
Ben
ee60eb9a68
Fix scoreboard display
2015-10-15 07:43:13 +08:00
Elderme
c1e709b320
Start moving draw calls generation into a dedicated class
2015-10-14 13:40:12 +02:00
samuncle
d80c7136e0
Add a better firework effect !
2015-10-14 02:34:23 +02:00
hiker
beca77e94f
Use NetworkString for stun response data.
2015-10-14 00:18:13 +11:00
hiker
192e2f99b5
Merge branch 'konstin-dev'
2015-10-13 22:09:11 +11:00
hiker
7356958774
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-13 21:12:22 +11:00
hiker
86574e4521
Added comments and further cosmetic changes. Removed some duplicated functions.
2015-10-13 20:53:53 +11:00
Benau
a756f9f90e
Better title font to all languages
...
I tested all language, all of the them only needs 2 glyph page
to load their needed chars.
2015-10-13 08:25:25 +08:00
Marianne Gagnon
a565c561e8
Scripting engine : add new getter Kart::getMaxSpeed
2015-10-12 19:59:17 -04:00
samuncle
4cf0b06d22
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-13 01:25:06 +02:00
samuncle
094d78e682
Minor change in gfx
2015-10-13 01:23:24 +02:00
Deve
407f29641c
Use ugly hack for compile bullet with 64-bit mingw until I will find better solution
2015-10-13 01:05:41 +02:00
Deve
375e7ea0ed
More fixes for 64-bit mingw
2015-10-13 01:05:41 +02:00
Deve
91db8620f8
Some work on support 64-bit windows compilation using mingw
2015-10-13 01:05:41 +02:00
hiker
3a023776fd
Minor style changes.
2015-10-13 09:19:40 +11:00
Elderme
878570f7c1
Moved m_shadow_matrices from IrrDriver to Renderer class
2015-10-12 13:44:49 +02:00
hiker
356588e09a
Merge branch 'dev' of https://github.com/konstin/stk-code into konstin-dev
2015-10-12 22:42:34 +11:00
hiker
45954e5881
Minor improvement.
2015-10-12 22:03:46 +11:00
hiker
c1d280eaa1
Cosmetic changes only.
2015-10-12 21:37:22 +11:00
Benau
786bc5d5b6
More detailed comments
2015-10-12 07:48:43 +08:00
Benau
f20158acd1
Merge remote-tracking branch 'mime/freetype_benau' into freetype
2015-10-12 07:38:25 +08:00
Benau
c7f20e549d
Revert widget changes
2015-10-12 07:33:09 +08:00
hiker
da73e7d9cf
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-12 10:07:04 +11:00
hiker
c0b7fec58a
Replaced another mutex with Sychronised.
2015-10-12 10:06:30 +11:00
hiker
47cb6ac2e3
Used Synchronised instead of pthread mutex.
2015-10-12 08:18:15 +11:00
hiker
124420b90a
Cosmetic changes only.
2015-10-12 08:02:20 +11:00
Benau
23e1f8fb3e
Default text wrapping in label widget
...
It should make no more text rendered out of area as stated in forum.
2015-10-12 01:48:13 +08:00
Benau
73ae81554d
Better size handling to specific languages
2015-10-12 01:14:47 +08:00
hiker
4b0d4cb853
Fixed typo in comment.
2015-10-11 21:23:39 +11:00
hiker
525cf6df62
Fixed incorrect name of stkgui file.
2015-10-11 21:22:58 +11:00
Marianne Gagnon
fbf158eaa4
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-10 20:52:18 -04:00
Marianne Gagnon
d63837260f
Remove seemingly uneeded rotation, see #2345 . Not sure I understand what is going on
2015-10-10 20:52:12 -04:00
Elderme
7590a90e67
Improved LightingPasses interfaces
2015-10-10 16:06:03 +02:00
Deve
debb238b35
Use '3' graphical level when STK is run first time instead of custom settings.
...
Degraded_IBL parameter was probably accidentally set to false because option in settings means "enable IBL if true", but variable means "disable IBL if true".
2015-10-10 16:04:33 +02:00
Benau
9fe84d3dd4
More code clean up with doxygen for freetype related file
2015-10-10 16:20:33 +08:00
hiker
f0c04a8bef
Started to support LAN servers in the GUI (wip).
2015-10-10 12:13:32 +11:00
Marianne Gagnon
e4095c03a3
Fix material manager issue
2015-10-09 19:46:53 -04:00
hiker
612ec37dbd
Updated credits.
2015-10-10 10:36:50 +11:00
Elderme
0ebadf7963
Improved LightingPasses interfaces
2015-10-09 22:19:57 +02:00
Benau
a7b2c8838f
Try to fix the edged font when changing resolution
...
I add a debug function to write the glyph page png(s) too.
2015-10-10 01:59:29 +08:00
hiker
73cf58d13b
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-10 00:19:44 +11:00
Deve
500cbe2ebf
Allow to use 1280x720 resolution.
...
This is quite popular resolution and it is a kind of standard. Even the most of new monitors have it because it has the same porportion as 1920x1080. And it looks much better than 1024x768 expanded to 16:9 proportionos ;) I also didn't notice any issues in gui during using it.
2015-10-09 13:47:19 +02:00
hiker
a66af6dc91
Cosmetic changes for coding style.
2015-10-09 16:47:18 +11:00
hiker
42ea2e5819
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-09 12:53:27 +11:00
hiker
4d181d3358
Make icons visible if login status is changed.
2015-10-09 12:52:49 +11:00
Marianne Gagnon
e1a6478038
Forgotten file in previous commit
2015-10-08 21:35:18 -04:00
Marianne Gagnon
7c5d6711b9
Introduce new mechanic to create keyboard shortcuts for debug functions, and start using it for FPS camera. Fixes #2341
2015-10-08 20:06:42 -04:00
hiker
92f18d03dc
Removed unnecessary variable.
2015-10-09 09:43:50 +11:00
hiker
d687d17bfe
Added (atm not working) LAN server menu entries.
2015-10-09 09:36:08 +11:00
Benau
486495d976
More code clean up
...
Now all freetype related file are written in c++ class, which enable
better coding style with current stk
Windows build tested, the edge showing issue doesn't happen on Windows btw
Maybe driver problems?
2015-10-09 01:59:22 +08:00
Benau
ebeca35460
First version of glyph page loading supporting for freetype stk
...
Performance should be good, it cleans some unused code too.
Windows build not tested.
2015-10-08 16:41:31 +08:00
hiker
917905c779
Removed unused functions.
2015-10-08 16:28:23 +11:00
hiker
00e7c35484
Match one more .stkgui and .cpp file name.
2015-10-07 16:37:42 +11:00
hiker
d391727879
Match more .stkgui and .cpp file names.
2015-10-07 16:33:01 +11:00
hiker
a49fdca521
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-07 13:16:02 +11:00
hiker
3aadc019a3
Made more .stkgui name correspond to the c++ file name.
2015-10-07 12:33:36 +11:00
hiker
14e84ed96b
Minor style changes.
2015-10-07 08:22:02 +11:00
hiker
ccf8fd4e68
Renamed stkgui so that .cpp and .stkgui file names are identical.
2015-10-07 08:11:57 +11:00
Elderme
84d3f19daf
Improved coding style
2015-10-06 22:35:17 +02:00
Elderme
017c609154
Start removing dependency to irr_driver in LightingPasses class
2015-10-06 22:29:00 +02:00
Deve
2a12fa51ed
Merge pull request #2337 from Elderme/fix_2328
...
Fix global illumination bug with intel driver #2328
2015-10-06 12:18:57 +02:00
Benau
1e7e895d7f
Fix build and code clean up
...
Now billboard text should have a better alignment
2015-10-06 16:14:32 +08:00
Marianne Gagnon
ca107bf159
Translatable DateTime (see #2335 )
2015-10-05 19:36:39 -04:00
Marianne Gagnon
d47faaaa89
Fix billboard text
2015-10-05 19:22:08 -04:00
Elderme
0fc3d3336e
removed useless varying in rhpassthrough.geom shader
2015-10-05 21:22:22 +02:00
Deve
6318e8c8f8
Fixed compiler warnings
2015-10-04 16:54:14 +02:00
Elderme
cf7bb82e8a
Remove irr_driver dependency in GeometryPasses class
2015-10-04 13:58:54 +02:00
Benau
3a5ec83ae9
Basic render of text using freetype
...
This is a testing version of stk using freetype
It enable better arabic font display with less blurred glyph to all fonts thanks to hinting provide by freetype.
TODO: billboard text
2015-10-04 11:59:44 +08:00
Deve
ec33e92ad0
Forgot about sun
2015-10-03 21:12:41 +02:00
Deve
bac60ff126
Fixed crash on exit race with OpenGL 2.1
2015-10-03 21:06:32 +02:00
Flakebi
abc2ae54ea
Use correct cached characteristics
2015-10-03 20:14:39 +02:00
Flakebi
37ca28e868
Use cached characteristics
2015-10-03 18:15:29 +02:00
Flakebi
a789f346ad
Add comments
2015-10-03 17:45:25 +02:00
Flakebi
cb4dd91e08
Apply script
2015-10-03 17:23:40 +02:00
Flakebi
4a9bc60e93
Try to follow coding style guidelines more
2015-10-03 17:23:40 +02:00
Deve
895579cba9
Fixed starting a race on OpenGL 2.1
2015-10-03 17:02:49 +02:00
Deve
e15cd49cae
Make changing to fullscreen on linux safer.
...
Now we are waiting until window state is already changed to fullscreen. We are getting real window size at the end of creating window function and previously it was sometimes reporting size of the window in windowed mode, which could causing issues in gui. Previously this was workarounded by forcing minimal window size to be at least in screen resolution, but window managers don't like to have non-resizeable fullscreen windows. Now this workaround is not needed anymore.
2015-10-03 16:43:22 +02:00
Flakebi
5e6e85ab79
Merge branch master into kart-properties
2015-10-03 15:20:06 +02:00
Marianne Gagnon
9e6cf8ee91
Fix buggy RTL detection, see #2320
2015-10-01 19:55:41 -04:00
Elderme
ff6e6c8340
Merge branch 'master' into renderer_refactoring
2015-09-29 22:21:25 +02:00
Elderme
fcb485d3d8
Moved irr_driver geometry rendering functions into GeometryPasses class
2015-09-29 22:19:08 +02:00
samuncle
71069752ba
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-09-29 20:09:55 +02:00
samuncle
26298e9e1a
Add several new particle effect and correct the bug to enable emit map & alpha testing
2015-09-29 20:08:56 +02:00
hiker
259be4c3fe
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-09-29 09:27:30 +10:00
Joerg Henrichs
4791731946
Moved update_po_authors to data/po so that we don't forget it.
2015-09-29 08:45:50 +10:00
hiker
8e3b8742df
Used smaller picture for installer (the previous one was never actually used).
2015-09-29 08:01:57 +10:00
hiker
449e754849
Fixed #2327 .
2015-09-29 07:58:24 +10:00
Joerg Henrichs
898e4c3fc7
Updated asset revision number used for the 0.9 and 0.9.1-rc1 releases.
2015-09-28 11:52:43 +10:00
hiker
344912ac2a
Updated Asian fonts.
2015-09-28 10:14:20 +10:00
hiker
63967b8a21
Fixed typo in credits.
2015-09-28 10:00:02 +10:00
Marianne Gagnon
31875565bb
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-09-27 19:41:30 -04:00
Marianne Gagnon
27be1b9013
update translations
2015-09-27 19:40:16 -04:00
hiker
3c35c15581
Updatex changelog.
2015-09-28 09:35:47 +10:00
hiker
8d45d689b7
Updated donations.
2015-09-28 09:21:30 +10:00
hiker
0e90042a0d
Fixed incorrect handling of 0x1a character in credit files
...
(which can happen in unicode, previously stk would stop
reading files after 0x1a).
2015-09-28 09:12:45 +10:00
hiker
f543ba4f7b
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-09-28 09:11:20 +10:00
Deve
11f6084fc5
Fixed crash on exit and changing resolution with old opengl.
...
Regression introduced in commit 93f24f2a74 .
Playing the real game is still not working.
2015-09-27 14:18:09 +02:00
hiker
cfbd960129
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-09-27 11:18:10 +10:00
Deve
f351c359fd
Create angelscript library in build directory instead of lib directory.
...
This solves issues with multiple build directories (every one should have its own angelscript lib). It was causing conflicts eg. 32-bit library with 64-bit STK.
Ideally it should be commited upstream to avoid this problem after updating library.
2015-09-26 23:02:18 +02:00
Deve
07b0ab0d78
Fixed disabling "remember window pos" button when fullscreen is enabled.
...
Regression since commit 9b562d31f4
2015-09-26 20:40:10 +02:00
Deve
35fa7fd272
Fixed a strange bug during changing window to fullscreen under Gnome
2015-09-26 20:32:55 +02:00
Marianne Gagnon
870a5fad3e
Update credits in master too
2015-09-25 20:44:27 -04:00
hiker
642a333e5e
Fixed kart getting stuck at doors of overworld (and other static
...
physical objects).
2015-09-26 01:08:10 +10:00
hiker
e97c4858f3
Updated supertuxkart.pot to be not sorted (see pull #2319 ).
2015-09-26 00:21:16 +10:00
hiker
165ea3d87e
Merge pull request #2319 from huftis/removestringsorting2
...
Don’t sort strings alphabetically (again)
2015-09-25 23:34:55 +10:00
Karl Ove Hufthammer
96cde24615
(Again) don’t sort strings alphabetically (makes the translators’ work much easier).
2015-09-25 10:51:31 +02:00
hiker
fc67252e78
Fix #2300 (mostly,karts get stuck there atm, but can't drive through the door).
2015-09-25 09:15:47 +10:00
hiker
b7837fd05c
Fixed compiler warnings.
2015-09-21 07:44:00 +10:00
Elderme
f56baaefcb
split shader_based_renderer into smaller objects
2015-09-20 21:14:01 +02:00
hiker
9e0a90f634
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-09-20 20:20:16 +10:00
auriamg
5d9805b8ab
Merge pull request #2317 from MiroslavR/fix-supertux-btn
...
Fix SuperTux difficulty button state not updating correctly
2015-09-18 18:53:07 -04:00
MiroslavR
ccf9cee2ff
Fix SuperTux difficulty button state not updating correctly
2015-09-18 20:48:18 +02:00
Elderme
b7ab99e5e2
Merged with master and solved conflicts
2015-09-18 11:05:27 +02:00
Elderme
b2a23acd46
Moved more methods from irr_driver to renderer
2015-09-18 10:45:00 +02:00
hiker
125bc1fc8f
Renamed'lazy' loading in material (which is used to not load font
...
textures sinze they are not all needed) to 'dont_load' - so that
'lazy' can be used for lazy loading (i.e. on demand, but still
by the material, not by an external object) of textures.
2015-09-18 09:51:52 +10:00
Marianne Gagnon
b3e2924df0
Fix opening wrong friend profile due to sorting, fixes #2313
2015-09-14 19:04:54 -04:00
Marianne Gagnon
b9183dde21
Bugfix : no music when losing GP, see #2296
2015-09-12 19:54:40 -04:00
Marianne Gagnon
4c09d459cb
Fix gamepad visualisation mode by request a legacy openGL context. Temporary fix, the proper long-term fix will be to rewrite that screen with modern OpenGL. See #2098
2015-09-12 19:44:58 -04:00
Marianne Gagnon
87ebb00d7d
Tweak mathclass challenge
2015-09-12 19:42:36 -04:00
Deve
6af30b68f0
Silence angelscript warning in different way.
...
We can't remove project() line because it uses ${PROJECT_SOURCE_DIR} in other place.
2015-09-12 21:56:49 +02:00
Deve
e47be9b283
Update .pot file
2015-09-08 20:13:29 +02:00
Deve
fce90c56f6
Add context for key names translations.
...
At least in some languages most of key names is non-translatable. But some of these names are used (or can be used) in GUI in different places. For example "Play", "Pause", "End" etc...
At this moment probably the only one key name which is used in other places is "Help". But we will be safe in future.
2015-09-08 20:13:29 +02:00
Marianne Gagnon
9f15659a77
Tweak challenge, fixed #2156
2015-09-07 18:02:11 -04:00
auriamg
58b896d599
Merge pull request #2310 from MiroslavR/l10n
...
Add 'Ť', 'Ý' and 'Ľ' glyphs to the title font
2015-09-07 17:42:17 -04:00
Elderme
44adc14cff
Removed debug meshes rendering methods in irr_driver (these methods are now in abstract_renderer class)
2015-09-07 22:31:34 +02:00
Deve
5d660e8e23
Merge pull request #2280 from temeliak/fix_2232
...
Offers the possibility to look backward during the start phase. #2232
2015-09-07 18:54:57 +02:00
Deve
27a2f1bdc1
Silence warning about project version in angelscript.
...
I still didn't find proper solution for it...
2015-09-07 18:19:42 +02:00
Deve
bfa92bc339
Don't complain about angelscript library not found in system
2015-09-07 18:14:57 +02:00
MiroslavR
517f493ca3
Add 'Ť', 'Ý' and 'Ľ' glyphs to the title font
2015-09-06 22:26:00 +02:00
Deve
bd49fa4fd8
Move adding definition to other definitions
2015-09-06 21:00:50 +02:00
Deve
c124f5f371
Remove unused code from cmake.
...
We are using now two different repositories (svn and git), and still creating the package without attached libraries doesn't have a sense.
2015-09-06 20:58:12 +02:00
Deve
4498870cb8
Merge pull request #2271 from konstin/network_cmake
...
Allow enabeling Network Multiplayer through CMake flags
2015-09-06 20:33:10 +02:00
Elderme
417bfb89e9
Fixed compilation error with debug mode
2015-09-06 16:15:15 +02:00
auriamg
b64de23b06
Merge pull request #2307 from Benau/master
...
Fix typo and and add quotation
2015-09-03 18:49:48 -04:00
Ben
c488e843b8
Fix typo and and add quotation
...
The quotation added is for Chinese Simplified which I discovered usage in translation work.
2015-09-03 16:30:22 +08:00
Marianne Gagnon
65a7b5bf04
Fix lights in multiplayer, fixes #2305
2015-09-02 18:30:55 -04:00
Deve
8a42fab5f1
Declare HAVE_STRUCT_TIMESPEC also for future Visual Studio versions
2015-09-02 17:41:44 +02:00
Marianne Gagnon
e2da2a36a1
Fix line endings
2015-09-01 19:39:30 -04:00
Marianne Gagnon
5c342290b0
Fix corrupted text in GP editor
2015-09-01 19:39:21 -04:00
auriamg
f788ae0f3a
Merge pull request #2301 from Benau/master
...
Fix the ugly hack for displaying Chinese in #2110 , and then fix #2297
2015-09-01 19:34:03 -04:00
hiker
94d8706504
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-09-01 10:28:56 +10:00
Marianne Gagnon
9a6b41d2b5
Apply offset on meshes with exact collision shape, fixes #2300
2015-08-31 19:57:55 -04:00
hiker
426987045c
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-09-01 09:49:04 +10:00
hiker
d6319f77d5
Fix #2299 (audio issues in minigolf end): the listener position was
...
not set at all anymore when an end camera was used.
2015-09-01 09:43:01 +10:00
Marianne Gagnon
90b95c7fb5
Make sure there is music when winning a GP, fixes #2296
2015-08-31 19:33:05 -04:00
hiker
da848a4c72
Accept --difficulty as well as --mode.
2015-08-31 17:09:51 +10:00
Benau
0a7a0d7c98
Fix the ugly hack for displaying Chinese in #2110 , and then fix #2297
2015-08-30 02:35:17 +08:00
Marianne Gagnon
0a1053b3e4
Update translations, remove unused GUI file that generated unused strings
2015-08-28 20:09:06 -04:00
hiker
267e6963c2
Fixed #2294 (crash when kart is off road and not on material).
2015-08-26 17:15:59 +10:00
Marianne Gagnon
77098c9e7c
Tweak subsea challenge
2015-08-25 21:28:49 -04:00
Marianne Gagnon
63ab79ff8d
Fix string on GP result screen, fixes #2295
2015-08-25 21:28:09 -04:00
Marianne Gagnon
0cce586c87
Fix animated physics-only objects. Fixes #2292
2015-08-25 19:14:10 -04:00
Marianne Gagnon
64b4b7a2f2
Don't try to navigate to another screen when a dialog is open, fixes #2265
2015-08-24 18:56:50 -04:00
hiker
e6ad28cc81
Fixed #2097 (allow friends to be sorted).
2015-08-24 08:09:32 +10:00
hiker
64af720833
Fix #2157 (FTL challenge in overworld showed number of laps).
2015-08-23 01:15:04 +10:00
hiker
1aa229287b
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-08-22 11:40:00 +10:00
hiker
ee33c46797
Fixed #2183 (bomb hands moving backwards).
2015-08-22 11:36:40 +10:00
Marianne Gagnon
ca384dc870
More font improvements for #2121
2015-08-21 19:39:01 -04:00
Marianne Gagnon
82ad06052d
Add missing font char, see #2121
2015-08-21 19:35:14 -04:00
Elderme
9916b9073b
Fixed crash with fixed pipeline
2015-08-21 21:44:55 +02:00
Elderme
b411028210
Removed irr_driver renderFixed and renderGLSL methods: now render method from FixedPipelineRenderer or ShaderBasedRenderer is used
2015-08-21 14:00:00 +02:00
Elderme
c711ce117e
Added new classes for rendering
2015-08-20 22:46:22 +02:00
hiker
309097b0db
Fixed #2151 (by disabling 800x600 resolution, except in artist debug mode).
2015-08-20 11:03:46 +10:00
Flakebi
586724c855
Merge branch 'master' into kart-properties
...
Conflicts:
src/karts/kart.cpp
2015-08-19 12:03:43 +02:00
hiker
aff41a25b5
Disabled AI debug, which was left enabled by mistake - sorry :)
2015-08-19 13:07:13 +10:00
hiker
6139d689d7
Fix #2176 - rank jump on Northern Resort: this was fixed by not
...
adjusting the distance a kart has travelled on the road if the
kart is flying and over a reset texture (previously stk would fine
a quad way ahead of the kart, and a much greater distance along
track, which caused the kart to be ahead for a few frames, before
it was rescued and reset to its original position).
2015-08-19 13:05:01 +10:00
Marianne Gagnon
35b15a9e7a
Fixed corrupted text introduce with recent change of how translations are handled
2015-08-18 19:08:23 -04:00
Marianne Gagnon
b92a479ac1
Merge remote-tracking branch 'temeliak/fix_2182'
2015-08-18 18:40:05 -04:00
hiker
8aeb16221a
Fixed displaying of debug spheres in GLSL pipeline.
2015-08-18 23:50:55 +10:00
hiker
f8f0c4e4e4
Fixed compiler warning.
2015-08-18 16:54:55 +10:00
hiker
2330624ccb
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-08-18 16:37:49 +10:00
hiker
cf464f1ed8
Fixed various crashes when enabling AI debug (e.g. missing textures,
...
heap corruption because the hpp file did not know about AI_DEBUG
and so did not declare some variables).
2015-08-18 10:30:42 +10:00
auriamg
6a26010bc8
Merge pull request #2106 from Flakebi/test
...
Simplify StringUtils::insertValues
2015-08-16 19:48:05 -04:00
Flakebi
65c15fc19a
Add a check to split for non-wide strings too
2015-08-17 01:32:13 +02:00
Flakebi
eef55b04f8
Fix the merge
2015-08-17 00:31:55 +02:00
Flakebi
80a649fc2d
Merge branch 'master' into test
...
Conflicts:
src/utils/string_utils.hpp
src/utils/translation.cpp
2015-08-17 00:22:02 +02:00
Flakebi
97891f25f7
Fix something
2015-08-17 00:03:29 +02:00
Flakebi
c07f806afb
Use a map instead of a vbector
2015-08-16 22:24:07 +02:00
Flakebi
8c09228b39
Remove underscores and add a comment
2015-08-16 21:05:52 +02:00
Flakebi
b51eadae28
Merge branch 'master' into kart-properties
2015-08-16 16:45:47 +02:00
Flakebi
1c29ce7636
Fix little issues and remove wheel position from characteristics
2015-08-16 16:23:06 +02:00
Flakebi
acbc629610
Add a script that automates the code replacements
...
Various other things:
- Try to use newer c++ features
- Rename travelcm
- Remove wheel radius
2015-08-16 15:54:05 +02:00
konstin
c78abbddf7
try to fix travis CI compilation
2015-08-15 15:10:30 +02:00
konstin
1eb3b6f74e
More small improvements
2015-08-15 15:04:31 +02:00
konstin
d9697cbbe0
order functions chronologically
2015-08-15 15:04:31 +02:00
konstin
a4fa65673e
huge amount of small improvements, most thanks to leyyin
2015-08-15 15:04:31 +02:00
konstin
1ce3be98ee
Move the STUN request creating and sending from GetPublicAddress::asynchronousUpdate() into its own function
2015-08-15 15:04:30 +02:00
konstin
5ec9fa38ab
Implement a consistent error managing for GetPublicAddress::asynchronousUpdate() by moving the STUN response parsing into its own function
2015-08-15 15:04:30 +02:00
konstin
ee06cd3ba2
Improve readability and add documentation for GetPublicAddress::asynchronousUpdate()
2015-08-15 15:04:29 +02:00
hiker
e97b0a9955
Avoid crash when using --check-debug (still wip).
2015-08-14 23:14:19 +10:00
hiker
fa1ed0240f
Fix #2270 (crash on startup).
2015-08-14 16:50:37 +10:00
hiker
ce17da98bf
Merge branch 'Elderme-Fix_particles'
2015-08-14 13:51:53 +10:00
Elderme
392a7c3203
Merge branch 'master' into Fix_particles
2015-08-13 18:25:18 +02:00
Elderme
0b748634ae
Removed calls to resizeBox for nitro emitter
2015-08-13 18:15:34 +02:00
Elderme
01c8b25cb6
When the particles position is computed, the position of the emitter in both current and previous frames is now taken into account. There is no more visual artifact when the particles velocity and emitter velocity are not aligned (for example with nitro particles when a kart is skidding)
2015-08-13 14:53:45 +02:00
hiker
3a0f2e7ce5
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-08-13 13:49:31 +10:00
hiker
567d08d360
Visualise invisible physics-only meshes when --physics-debug is
...
specified (helps debugging invisible walls).
2015-08-13 09:51:45 +10:00
auriamg
00ef94b2b9
Merge pull request #2284 from torso/master
...
Check size of window; don't assume it equals requested size
2015-08-12 18:03:32 -04:00
Torbjörn Söderstedt
bc4e532510
Use actual screen size when fading cutscenes.
2015-08-12 22:54:42 +02:00
Deve
63249309c3
Fixed compiler warning.
...
Previously address of local variable was returned.
2015-08-12 19:23:38 +02:00
Deve
7a4112e89c
Fixed compiler warning.
...
Based on fread specification, it returns number of elements which has been read.
Here is declared one element with size of whole file (len), so returned value should be always equal to 1.
2015-08-12 18:37:31 +02:00
temeliak
eb2b5c400f
Adding spaces to improve readability
2015-08-12 12:03:07 +01:00
temeliak
5616e791cb
Adding space in if statements to make them more readable.
2015-08-12 11:55:51 +01:00
Marianne Gagnon
7b8da0ef34
Bugfix : objects with a physics collision from a library should rotate and scale according to the parent library object
2015-08-11 20:55:04 -04:00
temeliak
a07029a365
Added SFX to nitro
2015-08-12 00:50:35 +01:00
Marianne Gagnon
ea9520863d
Try to correct string encoding issue in scripting. Fixes #2278
2015-08-11 19:30:20 -04:00
temeliak
0b60d4e9f6
Offer the possibility to look backward during the start phase.
2015-08-11 02:39:25 +01:00
Marianne Gagnon
70799539a6
Add graphical level preset between 4 and 5, the difference between the 2 was a little too steep
2015-08-10 19:04:35 -04:00
Marianne Gagnon
6529381acd
Fix rescue code in tutorial mode, fixes #2279
2015-08-10 19:01:58 -04:00
Marianne Gagnon
bc67f4f503
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-08-09 21:40:05 -04:00
Marianne Gagnon
d488c043d1
Continue work on scripting, fixing #2268 . Use this as an opportunity to clean up a lot of old hardcoded overworld code, and replace it with cleaner scripting. Make sure to update SVN and the exporter (other commits in SVN coming soon)
2015-08-09 21:38:01 -04:00
Deve
fe1222c5cc
Don't add tracks in reversed mode when it's not available.
...
This fixes #2158 .
2015-08-09 20:52:12 +02:00
Deve
78cd8efdd4
Reset screensaver counter on linux when joystick event was received
2015-08-09 18:54:59 +02:00
Deve
7ae541e638
Reload selected GP after changing the name.
...
This fixes #2159
2015-08-09 13:12:20 +02:00
konstin
25082f2fbc
Add description
2015-08-08 14:31:32 +02:00
konstin
c79c51e6c7
allow enabeling Network Multiplayer through CMake flags
2015-08-08 14:29:14 +02:00
Marianne Gagnon
43d5dbeb3e
Implement setEnabled method for sound track objects, fixes warnings on terminal and fixes hiding objects containing sounds from scripting
2015-08-07 18:26:37 -04:00
Elderme
5b353a8921
Cleaned code in irr_driver.hpp
2015-08-07 15:32:13 +02:00
Elderme
ae5f71e50e
Merge branch 'master' into skybox_refactoring
2015-08-07 15:12:56 +02:00
Elderme
87b493aaa2
Cleaned code
2015-08-07 15:11:32 +02:00
Elderme
f583fafd97
Fixed bug (SH textures were not taken into account)
2015-08-07 14:26:38 +02:00
Elderme
30ecf34b37
Spherical harmonics coefficients are no longer recomputed when the ambient light do not change
2015-08-07 13:50:44 +02:00
Marianne Gagnon
518a55d1e3
Fix quad requirements issue causing rescues to wrong quad
2015-08-06 20:24:20 -04:00
Marianne Gagnon
fac5d6550b
Fix use-after-free bug in profile management
2015-08-06 19:40:41 -04:00
Deve
a3abb57480
Build wiiuse on VS2015
2015-08-06 19:57:22 +02:00
Elderme
351be306e1
Fixed memory leak: skybox textures are now freed in VRAM when deleting Skybox
2015-08-06 14:58:45 +02:00
Elderme
9ea3d4958a
Improved coding style and added doxygen comments in ShericalHarmonics class
2015-08-06 14:47:38 +02:00
deve
b5c15275de
Fixed compiler warning.
...
This is already fixed upstream in commit r2174:
"Fixed compiler warnings in asGetTypeTraits on gnuc 5.1"
2015-08-06 14:35:26 +02:00
deve
5458792b79
Disable deprecated and unused irrlicht function to avoid compiler warnings
2015-08-06 13:54:40 +02:00
deve
e1f61040e5
Use unique_ptr instead of auto_ptr
2015-08-06 13:54:29 +02:00
deve
75c1f02615
Restore using unique_ptr instead of auto_ptr in tinygettext.
...
It fixes compiler warnings on gcc 5.1 due to auto_ptr deprecation. It also makes our tinygettext fork closer to the upstream sources. And we use c++11 in other places anyway.
2015-08-06 13:54:11 +02:00
deve
2e1045f717
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-08-06 10:03:07 +02:00
deve
a0e54bb0b8
Avoid timespec structure redeclaration on VS2015.
...
Still seems to be a bit messy, because in newer pthread header (gcc 5.1) I see _TIMESPEC_DEFINED instead of HAVE_STRUCT_TIMESPEC. But it should work with our dependencies files.
And still wiiuse library needs to be recompiled to make it working with VS2015.
2015-08-06 10:00:08 +02:00
hiker
52e8df44fd
Fixed compiler warning.
2015-08-06 16:47:41 +10:00
hiker
a19119a2f2
Merge remote-tracking branch 'origin/master' into lensdust
2015-08-06 16:40:00 +10:00
hiker
43c12c1a1e
Fixed slightly outdated documentation.
2015-08-05 20:57:27 +10:00
Elderme
0b479a8bb0
Moved spherical harmonics things from IBL.cpp to ShericalHarmonics class
2015-08-05 11:13:25 +02:00
hiker
41f744baf3
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-08-05 17:02:55 +10:00
hiker
b44f0605dc
Try to bring karts quicker back on the ground when the kart is
...
on its side, without overcompensating (and therefore shaking)
when the kart is only slightly non-parallel to the ground
when flying.
2015-08-05 17:00:40 +10:00
Marianne Gagnon
c2feb458af
When restoring ribbon selection, consider that maybe the ribbon does not anymore contain as many items as previously. Fixes #2260
2015-08-04 19:31:38 -04:00
Marianne Gagnon
bd85f51779
Improve memory management in GP manager, fixes #2261
2015-08-04 19:26:12 -04:00
hiker
f36672c104
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-08-05 08:16:10 +10:00
hiker
9e75d28eeb
Write the reverse flag into history files.
2015-08-05 08:15:31 +10:00
hiker
93a5a91628
Fix #2152 (star effect not showing in graphics level 1).
2015-08-05 08:07:58 +10:00
hiker
ba07515b4f
Merge pull request #2259 from konstin/master
...
remove patch file
2015-08-04 19:37:37 +10:00
konstin
cdfa571855
remove patch file
2015-08-04 11:15:29 +02:00
Elderme
c3f77a3b72
Fixed kart selection screen rendering (ambient light was broken)
2015-08-04 10:49:39 +02:00
hiker
4f4a1c0373
Added support for reverse mode in history files.
2015-08-04 17:14:36 +10:00
hiker
2a56cc6241
Fix 2192 (key names like "Left" are not translatable).
2015-08-04 09:45:38 +10:00
hiker
340dec329c
Support to mirror a texture around U or V axis if a track is driven
...
in reverse.
2015-08-03 23:25:11 +10:00
hiker
6f11156c04
Fixed crash if a player kart in a saved GP is deleted.
2015-08-03 22:02:13 +10:00
Elderme
53b6ab0a48
Moved specular probe computations from IBL files to Skybox class
2015-08-03 11:35:51 +02:00
hiker
8d0cad3cb8
Use proper call instead of hard coded constant.
2015-08-03 15:44:44 +10:00
hiker
a852cf94fb
Don't save random GPs (which can not be continued anyway), and allow only
...
one saved data set (for each GP and difficulty). Previously saved 'random'
GPs (which can't be continued anyway) are deleted now, cleaning up the
config.xml file.
2015-08-03 15:10:36 +10:00
hiker
085627364c
Fix #2162 (switch kart when loading a GP).
2015-08-03 07:53:21 +10:00
Elderme
6fc28b5d7c
Removed render_skybox.cpp file
2015-08-02 23:07:05 +02:00
Elderme
3a50a4d5d2
Moved remaining spherical harmonic things from render_skybox.cpp to SphericalHarmonic class
2015-08-02 23:01:52 +02:00
Elderme
2817fda910
Merge branch 'master' into skybox_refactoring
2015-08-02 00:09:10 +02:00
Elderme
a8b16bb1d4
Fixed bug in tracks without skybox
2015-08-01 23:45:46 +02:00
hiker
2f902f769d
Fixed minor memory leak.
2015-08-01 22:02:00 +10:00
hiker
78c592e4e5
Added a file with a 'unique filename' with version number which is used by STK
...
to detect that stk is reading the right data files (and therefore avoids #2073 ,
in which stk finds the wrong data directory).
2015-07-31 22:06:21 +10:00
hiker
b6165ce5f5
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-07-31 16:51:27 +10:00
hiker
a81366c414
Removed rescue-code duplication in battle mode and soccer mode.
2015-07-31 16:27:52 +10:00
hiker
431853b451
Removed some unused code, added better error message in case
...
stk_config.xml could not be found.
2015-07-31 15:45:25 +10:00
auriamg
7fbfad664a
Merge pull request #2228 from tobbi/misc_coverity
...
Fix a couple of deref after NULL check in states_screens
2015-07-30 19:21:46 -04:00
hiker
9557ad9be9
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-07-31 07:51:23 +10:00
hiker
25c1880c18
Fixed rescue in soccer mode (which would previously used World's
...
moveKartAfterRescue, not its own custom function).
2015-07-31 07:49:54 +10:00
Tobias Markus
a9761e30da
Fix various issues reported by coverity
2015-07-30 18:46:01 +02:00
Elderme
8642e14bc3
Removed m_diffuse_coefficients_calculated attribute in RTT (diffuse coefficients are now managed in SphericalHarmonic class)
2015-07-30 17:51:42 +02:00
hiker
bf858dd3ff
Fixed compiler warning.
2015-07-30 17:14:18 +10:00
hiker
7799e9835d
Added a getStartTransform function to World. Use this to change
...
the start position of the non-leader karts in a FTL race, so that
those karts now start at the end of all start positions, and not
directly behind the leader.
2015-07-30 17:12:48 +10:00
Elderme
133f8d5966
solved conflicts
2015-07-30 08:29:28 +02:00
Elderme
39d1c87b11
Fixed incorrect rendering when there is no spherical harmonic textures
2015-07-30 08:14:57 +02:00
Elderme
97ed8b2dbf
splitted skybox class in Skybox and SphericalHarmonic classes
2015-07-30 08:14:57 +02:00
Elderme
3640e4a69a
Move skybox things from irr_driver to Skybox class.
2015-07-30 08:14:57 +02:00
Elderme
cf40c402ba
Add a Skybox class
2015-07-30 08:14:57 +02:00
Marianne Gagnon
738e7bc780
Fix inverted if condition in input options screen, fixes #2255
2015-07-29 18:55:40 -04:00
Marianne Gagnon
3687eb79d6
Apply modified version of patch from Benau to fix chinese word wrapping. See #2110
2015-07-29 18:51:03 -04:00
Flakebi
ec3083827d
Add some documenation and try to get some backwards compatibility
2015-07-29 23:02:16 +02:00
hiker
75b49b4d4f
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-07-29 17:29:45 +10:00
hiker
b18d0275fd
Display a finish (survival) time in FTL result screen.
2015-07-29 17:27:43 +10:00
Flakebi
5d36b95c95
Merge remote-tracking branch 'upstream/master' into kart-properties
...
Conflicts:
data/stk_config.xml
sources.cmake
src/karts/kart.cpp
src/karts/kart.hpp
src/karts/kart_properties.cpp
src/karts/kart_properties.hpp
src/tracks/track.cpp
2015-07-29 02:48:43 +02:00
Flakebi
37e78e85a6
Forgot to convert string to char*
2015-07-29 02:25:32 +02:00
Marianne Gagnon
280ddf967d
Add missing character to the font, fixes #2226
2015-07-28 19:17:37 -04:00
hiker
d27ba5f6fe
Fix #2249 (show points and points increasing in a FTL GP).
2015-07-29 08:58:42 +10:00
hiker
6ada5a0666
Revert "Properly ignore the leader in the ftl scoreboard"
...
(this patch only fixed the problem that happens when a non-leader
is number one. By now the code has fixed that it is guaranteed
that the leader is always number one, so this patch is not
necessary anymore, and it complicates the loop).
This reverts commit e9d78326fb .
Conflicts:
src/states_screens/race_result_gui.cpp
2015-07-29 08:12:23 +10:00
hiker
3f468b254c
Removed unused/duplicated code, use World::setKartPosition instead
...
of Kart::setPosition (since this will keep an index array up-to-date).
2015-07-29 07:59:46 +10:00
hiker
8dbaea6456
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-07-28 09:40:27 +10:00
hiker
5efb44a430
Fixed scores in FTL GPs. All score handling is now done by the World,
...
not race manager (which removes if tests).
2015-07-28 09:39:00 +10:00
hiker
5c66273712
Fixed compiler warning.
2015-07-27 16:41:46 +10:00
samuncle
9087d0f837
Increase the strenght of the lens dust
2015-07-27 02:00:34 +02:00
hiker
95b86ea914
Fixed #2247 .
2015-07-27 09:56:58 +10:00
auriamg
35949b198a
Merge pull request #2252 from tobbi/fix_story_mode_crash
...
Fix crash when loading story mode
2015-07-26 19:06:20 -04:00
Marianne Gagnon
51fe38f76e
Use <cmath> instead of <math.h>, apparently fixes OSX compilation. Closes #2253
2015-07-26 19:05:05 -04:00
auriamg
df1bb8b3dd
Merge pull request #1956 from Flakebi/feature
...
Use camera position for LoD instead of the kart position, fixes #1742
2015-07-26 18:54:22 -04:00
Tobias Markus
fcc3e75a99
Fix crash when loading story mode
2015-07-26 16:41:36 +02:00
samuncle
1ca6339589
Add color to the lens dust
2015-07-26 05:30:29 +02:00
samuncle
51bd87d303
ground work for lens dust
2015-07-26 04:48:29 +02:00
Marianne Gagnon
4356dfde0c
Document missing command-line option, fixes #2095
2015-07-25 20:06:42 -04:00
Marianne Gagnon
a268354ac9
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-07-25 19:55:55 -04:00
Marianne Gagnon
e0dd736a7c
Main menu : prevent text on mouse over from overflowing the bounds of the screen. FIxes #2163
2015-07-25 19:55:17 -04:00
samuncle
d95f9d844d
put into comment the blue lens flare if we need in the future
2015-07-26 01:51:28 +02:00
samuncle
1ec0c18d5a
Change the fov (hiker you can still tweak or make an option
2015-07-26 01:49:29 +02:00
samuncle
33a60ae8d5
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-07-26 01:46:50 +02:00
samuncle
12b1ea5a6c
Turn on color for lens flare
2015-07-26 01:46:19 +02:00
hiker
d9e806f610
Changed unsigned int to int (dest_pos can become negative, and
...
while de-facto it still works with unsigned, it's just bad style :) ).
2015-07-26 00:32:11 +10:00
hiker
a9aa37ea97
Minor code style fixes.
2015-07-26 00:31:15 +10:00
hiker
c8909b9197
Fixed missing display of points for non-winners in a FTL GP (partly fix
...
for #2249 ).
2015-07-26 00:30:09 +10:00
hiker
cd256061e1
Fix #2248 (crash when taking screenshot). The assert was not appropriate
...
(avoiding the call to clearAllMessages would have been quite ugly).
2015-07-26 00:26:43 +10:00
hiker
76a779fc1c
Merge branch 'ftl-scoreboard' of https://github.com/Flakebi/stk-code into Flakebi-ftl-scoreboard
2015-07-25 12:17:02 +10:00
hiker
622d0821cf
Fixed rescue (which my previous commit broke).
2015-07-24 21:38:35 +10:00
hiker
6345272727
Removed unnecessary #include in kart.hpp.
2015-07-24 16:51:03 +10:00
hiker
ac779d0652
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-07-24 16:40:37 +10:00
hiker
a2c4160ce0
Added TerrainInfo raycast to debug view.
2015-07-24 16:37:13 +10:00
hiker
cefce3152c
Fixed #2246 .
2015-07-24 16:36:55 +10:00
hiker
672314fbe2
Added camera-at-side-of-kart debug mode.
2015-07-24 11:00:13 +10:00
hiker
c10bd01703
Merge branch 'Flakebi-fixes'
2015-07-24 10:24:05 +10:00
hiker
8bc398a1c1
Merge remote-tracking branch 'origin/master' into Flakebi-fixes
2015-07-24 10:23:47 +10:00
Flakebi
324a93cd65
Fix karts without a type
2015-07-24 02:10:23 +02:00
Marianne Gagnon
aacf1293da
Eliminated karts in GPs get 0 points. Fixes #2177
2015-07-23 20:01:54 -04:00
Marianne Gagnon
5c27769ceb
Fix uninitialized variable use, fixes #2179
2015-07-23 19:52:30 -04:00
Marianne Gagnon
52313c1468
Draw achievements a bit later so that they are on top. FIxes #2237
2015-07-23 19:21:43 -04:00
Elderme
cf80dde333
Move skybox things from irr_driver to Skybox class.
2015-07-23 14:21:47 +02:00
Elderme
94d6d2efd6
Add a Skybox class
2015-07-23 14:21:47 +02:00
auriamg
5164a55472
Merge pull request #2244 from Flakebi/addons-rtl
...
Fix reversed rtl string part
2015-07-22 18:35:22 -04:00
hiker
2f51406e3d
Made field-of-view configurable in the config file.
2015-07-22 08:12:44 +10:00
Flakebi
2eb0f151b7
Fix reversed rtl string part
2015-07-21 11:52:23 +02:00
hiker
bb058deea5
Avoid that the kart is 'shaking' backwards/forwards when flying.
2015-07-21 16:56:51 +10:00
hiker
cd8fd7fb16
Merge remote-tracking branch 'origin/master' into Flakebi-fixes
2015-07-20 09:10:05 +10:00
hiker
8be383015c
Simplified shadow interface.
2015-07-19 13:44:05 +10:00
hiker
91c40e27c2
Reduced number of parameters for Shadow.
2015-07-18 23:41:27 +10:00
hiker
dc68f5f122
Fixed crash when real shadows are used.
2015-07-18 12:26:18 +10:00
hiker
802d4897fe
Removed unused kart properties settings.
2015-07-18 12:24:56 +10:00
hiker
0f09649aa8
Force rerun of cmake.
2015-07-18 11:59:52 +10:00
hiker
e755a7eda8
Merge remote-tracking branch 'origin/master' into graphical_chassis_to_physical_chassis
2015-07-18 11:53:49 +10:00
hiker
ffb3c2ce4c
Moved visual slightly higher (hopefully as much as in the previous implementation),
...
to avoid that the visual chassis disappears into the ground.
2015-07-18 11:42:33 +10:00
hiker
d94f6ffe66
Added documentation about the visual chassis and wheel positioniong.
...
Removed unused/old coda, and moved kart at exactly the same position
as they are in blender.
2015-07-18 10:21:01 +10:00
Marianne Gagnon
675b0b9458
Improve scripting error handling, more work on different shapes for collision triggers
2015-07-17 19:18:12 -04:00
Marianne Gagnon
3cb57358a3
Fix #2242
2015-07-16 19:38:34 -04:00
hiker
68cea42648
Fixed visual position of chassis, wheels and shadow.
2015-07-15 16:35:09 +10:00
Marianne Gagnon
84e78e0d40
Some cleanup to check structures, start adding new cylinder check structure (WIP)
2015-07-14 19:00:00 -04:00
hiker
8c842fb2e8
Fixed incorrect uage of radians.
2015-07-14 22:32:09 +10:00
hiker
210e4fb4ec
Removed optional setting for random-wheel rotation.
2015-07-14 17:36:03 +10:00
hiker
9f687fd6cf
Removed unnecessary computation (now that physics does not include
...
wheel rotation).
2015-07-14 17:27:06 +10:00
Marianne Gagnon
77fac34e41
More cleanup to remove hardcoded things in favor of scripting, and start work to allow for more action trigger shapes (work in progress)
2015-07-13 20:27:16 -04:00
Flakebi
2620a77dc1
Adjust and remove properties
2015-07-13 00:23:05 +02:00
Flakebi
a61ad88ee6
Move more properties
2015-07-13 00:08:35 +02:00
Flakebi
ffca848a33
Remove more outdated variables
2015-07-12 01:29:17 +02:00
Flakebi
1317714ba1
Adjust the speed and power values
2015-07-12 01:09:01 +02:00
Flakebi
5bfb1a2c6b
Fix some bugs
2015-07-12 00:39:38 +02:00
Flakebi
db13a1fae6
Remove data from stk_config.xml
2015-07-11 19:33:13 +02:00
Flakebi
9fc6f84545
Switch from properties to characteristics
2015-07-11 19:22:27 +02:00
Flakebi
1ceab872b1
Remove PlayerDifficulty class
2015-07-11 16:16:40 +02:00
Flakebi
eb19bf571e
Load and combine characteristics
2015-07-11 15:38:52 +02:00
Flakebi
0ecc76090b
Add kart types
2015-07-10 01:14:08 +02:00
Flakebi
a305b357a3
Change characteristics to characteristic and add player characteristics
2015-07-10 00:36:50 +02:00
hiker
93282f8abf
Completely removed the usage of a physical wheel radius in the physics, it was
...
never really necessary, the phsyics are basically the same). Wheel rotation is
was refactored to be completely done in KartModel now.
2015-07-09 23:59:53 +10:00
hiker
0345565ea8
Fixed handling of tall karts (accidentally committed debug version).
2015-07-09 16:39:40 +10:00
hiker
5d573832e1
Oops - forgot to change the actual value of 'travel' from cm to m.
2015-07-09 09:15:34 +10:00
Flakebi
cb797c3145
Remove unnecessary move and add a bit documentation
2015-07-08 22:07:46 +02:00
Flakebi
2272002d5c
Implement processFloat
2015-07-08 16:55:11 +02:00
Flakebi
c22d5c8e6e
Add more to xml reading
2015-07-08 16:55:11 +02:00
Flakebi
cedd816ca1
Extend InterpolationArray
2015-07-08 16:55:11 +02:00
Flakebi
35aeeea6c6
Add getName for enum
2015-07-08 16:55:10 +02:00
Flakebi
17b775959c
Change reference to pointer
2015-07-08 16:55:10 +02:00
Flakebi
c1ed8790ef
Add xml reading
2015-07-08 16:55:10 +02:00
Flakebi
ddb850b149
Add new files
2015-07-08 16:55:10 +02:00
Flakebi
2b9a7a2016
More work
2015-07-08 16:55:10 +02:00
Flakebi
78b4634363
Work
2015-07-08 16:55:10 +02:00
Flakebi
a3f94f6b67
Update abstract characteristics with script generated content
2015-07-08 16:55:10 +02:00
Flakebi
3414f7cb91
Add script to create characteristics file
2015-07-08 16:55:10 +02:00
Flakebi
483993d2d8
Start with getters
2015-07-08 16:55:10 +02:00
Flakebi
5dec3c4602
Add characteristics
2015-07-08 16:55:10 +02:00
Flakebi
fc8a726156
Add config file for kart characteristics
2015-07-08 16:54:35 +02:00
hiker
3b9e85af0b
Converted bullet's TravelCM (i.e. in cm) into Travel (i.e. in m).
2015-07-09 00:06:19 +10:00
hiker
aa7bf607bf
Minor cosmetic changes.
2015-07-08 16:38:01 +10:00
hiker
7b11e51f2b
Coding style fixes.
2015-07-08 08:31:32 +10:00
hiker
a28ea76b90
Fix wheel position for karts that are too high.
2015-07-08 08:25:10 +10:00
hiker
9eab818d53
Added fused speed-position commands to the commands to be dropped
...
when the sfx queue is too full.
2015-07-08 08:23:55 +10:00
hiker
43f9cf39bc
Fix shadow to be always on the ground, even when a skid-jump is done.
2015-07-08 08:23:25 +10:00
hiker
62e2f05607
Fixed shadow position, improved wheel position.
2015-07-07 17:02:09 +10:00
hiker
12f942c258
Moved debug camera a bit further back.
2015-07-07 17:00:24 +10:00
Flakebi
84e3b9dbe9
Remove SKID_OLD code
2015-07-03 15:38:20 +02:00
Flakebi
d2ca7d11d7
Remove unused/commented out code
2015-07-03 15:36:45 +02:00
Flakebi
fbf26df23d
Merge branch 'master' into fixes
...
Conflicts:
src/graphics/2dutils.cpp
src/graphics/graphics_restrictions.cpp
src/graphics/render_skybox.cpp
src/graphics/rtts.hpp
2015-07-03 15:29:53 +02:00
hiker
70da00de7d
Merge branch 'master' into graphical_chassis_to_physical_chassis
2015-07-03 16:39:20 +10:00
hiker
9b562d31f4
Replaced Widget's set(De)Activated functions with one setActive(bool)
...
function, which simplifies code for various screen a lot.
2015-07-03 16:19:28 +10:00
hiker
8059544b21
Try to fix advanced pipeline.
2015-07-03 08:22:39 +10:00
hiker
f3dee7241f
Merge branch 'master' into graphical_chassis_to_physical_chassis
2015-07-03 08:15:08 +10:00
hiker
ad3a5ac730
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-07-03 08:13:39 +10:00
hiker
747aa39bdf
Disable artificial shadow if shader-based shadows are available.
2015-07-03 08:12:55 +10:00
hiker
97499759ec
Revert "Remove shadow blob"
...
This reverts commit 33c0dfe7c2 .
2015-07-03 07:55:50 +10:00
hiker
0631d10f91
Move graphical chassis and wheels to be at the same location as the physical ones.
2015-07-03 07:49:27 +10:00
hiker
369ed86380
Added 'behind kart' camera which helps debugging graphical
...
vs physical chassis position issues.
2015-07-02 16:39:13 +10:00
hiker
34d22a32c7
Improved distance calculation (so that the same distance to the rear
...
of each kart is reached).
2015-07-02 16:35:51 +10:00
hiker
799b4cdf7e
Minor code cleanup.
2015-07-02 08:04:37 +10:00
hiker
04c84fd23d
Moved skidding lights from Kart into KartGFX.
2015-07-01 18:57:44 +10:00
Marianne Gagnon
92974fc4b3
Fix scripting crash
2015-06-30 21:35:17 -04:00
hiker
8aabb30687
Fixed memory leak.
2015-07-01 08:58:15 +10:00
hiker
576270bb17
Coding style changes, removed dead code and unused variables.
2015-07-01 08:57:40 +10:00
hiker
4ec423ff35
Coding style improvements.
2015-07-01 08:22:43 +10:00
hiker
f82bb996ea
Fixed memory leaks of lights.
2015-07-01 08:04:10 +10:00
hiker
b41035a008
Moved nitro_light from Kart into KartGFX.
2015-06-30 21:49:20 +10:00
hiker
42114c163c
Minor refactoring to move more code into KartGFX.
2015-06-30 16:59:48 +10:00
hiker
1bafdf528f
Fix wheel-view camera.
2015-06-29 16:17:14 +10:00
Marianne Gagnon
1ceb05c2cb
More scripting functions to control particles
2015-06-28 19:10:43 -04:00
Marianne Gagnon
eda00e12f9
Expose length method in scripting vector3
2015-06-28 19:03:09 -04:00
Marianne Gagnon
68eb4eb359
Start work to control particle emitters from scripts, and allow getting kart velocity from script
2015-06-28 19:00:25 -04:00
hiker
08529e167f
Fixed memory leak.
2015-06-29 08:41:46 +10:00
hiker
a9958a60a8
Minor cosmetical changes.
2015-06-29 08:41:20 +10:00
hiker
0dc2e66039
Fixed compiler warnings.
2015-06-29 08:24:31 +10:00
hiker
11a213fa8d
Significantly reduced number of audio sfx commands: instead of sending
...
7 commands for each kart (when only engine is actually playing),
now there is only one command being sent: positions of sfx that are
not playing are not sent anymore, a duplication engine position was
removed, and speed and position are combined into one event.
2015-06-29 08:09:42 +10:00
Marianne Gagnon
f992b864e1
More work on moving track objects via scripting
2015-06-25 19:33:28 -04:00
auriamg
4070933364
Merge pull request #2212 from Flakebi/remove-icc
...
Strip ICC headers from png files to silence warning
2015-06-23 21:15:14 -04:00
Marianne Gagnon
be81a7fd11
Increase size of popup, text was truncated at least in french
2015-06-23 18:46:36 -04:00
Marianne Gagnon
64adbb4238
Remove anchor as weapon from help menu, fixes #2173
2015-06-23 18:32:38 -04:00
Marianne Gagnon
74f19f0cbc
Start working on scripting API to move objects
2015-06-22 19:36:30 -04:00
Marianne Gagnon
0fdc7a2d98
Use plural form for resolution change message, fixes #2219 . ALso fix crash in tinygettext code handling plural forms
2015-06-22 19:26:20 -04:00
Marianne Gagnon
ae18901bb2
Try fixing travis build
2015-06-21 19:57:06 -04:00
Marianne Gagnon
b73469caf1
Extend scripting API with random and timeout functions
2015-06-21 19:44:22 -04:00
Marianne Gagnon
9119f5f291
Fixes for scripting documentation
2015-06-21 18:43:31 -04:00
Marianne Gagnon
90cf3176d1
Start adding an audio scripting API, and also fix a deadlock in sfx_manager due to improper release of locks
2015-06-21 18:31:16 -04:00
Marianne Gagnon
789384a7bf
Fix loading scripts in local library nodes
2015-06-18 19:24:39 -04:00
Marianne Gagnon
8119b59af0
More fixes on intially hidden objects
2015-06-18 19:09:13 -04:00
Marianne Gagnon
403d61e754
Allow creating initially hidden objects, that can later be shown through scripting
2015-06-17 19:33:53 -04:00
Marianne Gagnon
b3cc5f9f0d
Try to fix Travis build
2015-06-15 20:09:22 -04:00
Marianne Gagnon
01b9ee2a63
RTT: calculate diffuse coefficients only once
2015-06-15 19:47:52 -04:00
Marianne Gagnon
fa027c11da
Work on hiding/showing library nodes (especially when they contain movable children, which are a special case)
2015-06-15 19:44:31 -04:00
Marianne Gagnon
db55c35ed1
Disable bloom / depth-of-field when using physics debug modes, makes lines easier to see
2015-06-15 19:38:12 -04:00
Marianne Gagnon
97100db507
RTT: avoid computing diffuse coefficients every frame
2015-06-15 19:21:34 -04:00
Marianne Gagnon
f651321ceb
Using system angelscript must now be explicitely requested through an option, shouldn't be enabled by default as this will mostly lead to build errors due to finding a different version
2015-06-15 18:46:06 -04:00
hiker
edbb6892e0
Added comments.
2015-06-13 12:34:33 +10:00
Marianne Gagnon
e35d5a07b4
Little hack : make the kart selection screen seem faster by moving the cursor immediately, and loading the kart model only on next frame. See #2216
2015-06-11 20:22:30 -04:00
samuncle
da6133d72e
Merge pull request #2215 from tobbi/fix_2214
...
Fix flags on GetModule call. Thanks to seebi for the fix
2015-06-12 00:48:29 +02:00
Tobias Markus
b32fff8dad
Fix flags on GetModule call
2015-06-12 00:28:55 +02:00
hiker
d95bdc2ea9
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-06-10 23:18:48 +10:00
hiker
09227fa19d
Finally fully fixed #2213 .
2015-06-10 23:18:06 +10:00
hiker
860135376d
Start to fix resolution change by properly freeing data.
2015-06-10 10:33:47 +10:00
hiker
0162407ff3
Added proper ref-counting.
2015-06-10 10:33:06 +10:00
Marianne Gagnon
32edaa25fe
Adjust load and cleanup sequence for scripts, enabling scripts in library objects
2015-06-09 20:24:17 -04:00
Marianne Gagnon
cb510840ae
Work on scripting, namely improving interaction with library objects
2015-06-05 19:34:46 -04:00
Flakebi
41002fc262
Strip ICC headers from png files to silence warning
2015-06-05 03:32:26 +02:00
Marianne Gagnon
238578c921
More work towards handling library nodes in scripting
2015-06-04 20:12:03 -04:00
hiker
9531f0b3a4
Merge remote-tracking branch 'origin/master' into refactor_shaders
2015-06-05 09:13:27 +10:00
Marianne Gagnon
bd006c875e
Let track objects know what library object they are part of, paving the way for scripting to interact with library objects
2015-06-03 20:34:58 -04:00
hiker
9a1cba3ac8
Merge remote-tracking branch 'origin/master' into refactor_shaders
2015-06-03 15:11:27 +10:00
hiker
9094cbd31a
Added NoCopy to FrameBuffer objects (copying a frame buffer e.g.
...
as a parameter to a function can lead to incorrect results, likely
because on exit of the function, data in the (copied) frame buffer
object is freed, and then not available for OpenGL anymore.
2015-06-03 15:10:11 +10:00
hiker
f59d277f3e
Improve handling of sudden steeper uphill section by increasing the
...
suspension force, which makes it less likely for the kart to hit
the terrain.
2015-06-03 09:03:40 +10:00
hiker
d4f3fc88d6
Merged pull requests #2191 .
2015-06-02 14:50:32 +10:00
hiker
2cf4341916
Merge remote-tracking branch 'origin/master' into refactor_shaders
2015-06-02 14:49:50 +10:00
hiker
1dabb39ed4
Fixed warnings most likely caused by copying a frame buffer object
...
(missing &), added several const to frame buffer references.
2015-06-02 14:19:15 +10:00
hiker
8fd0b9186a
Merge pull request #2198 from nado/Fix-#2164
...
Fix #2164 : Resized max length of mail address up to 254 chars
2015-06-02 13:47:54 +10:00
hiker
0f5a44ea1f
Merge pull request #2209 from AMDmi3/errno
...
Include cerrno for errno; fixes clang compilation error
2015-06-02 13:46:51 +10:00
Dmitry Marakasov
cfbec1f470
Include cerrno for errno; fixes clang compilation error
2015-06-02 04:36:30 +03:00
hiker
a51d56a6e5
Merge remote-tracking branch 'origin/master' into refactor_shaders
...
Conflicts:
src/tracks/track_object_presentation.cpp
2015-06-01 09:28:23 +10:00
Marianne Gagnon
b3d97241d7
Scripting : cleanup, add poweruptype enum
2015-05-31 18:39:40 -04:00
Marianne Gagnon
501dd14bb6
More scripting work on item-object collisions
2015-05-31 18:20:52 -04:00
hiker
9b2994c975
Added documentation to shader base classes.
2015-06-01 08:19:31 +10:00
hiker
2f287fbee6
Removed unused clean-shader functionality (which is now done by
...
shader.?pp), removed global shader name variable.
2015-06-01 08:14:56 +10:00
Marianne Gagnon
8ef16c146e
Scripting work : improve flyable vs object collision callbacks. More work to do still.
2015-05-31 18:09:51 -04:00
hiker
51fb693455
Remove all kill functions for shader reloading after all shaders
...
have been deleted.
2015-05-30 12:37:39 +10:00
hiker
642216da83
Minor coding style change.
2015-05-30 12:16:38 +10:00
hiker
e5a7f27f19
Renamed files to follow our coding style.
2015-05-30 12:16:11 +10:00
hiker
48235a5d77
Turned ShadowMatrices into a stand-alone proper class.
2015-05-30 11:29:08 +10:00
Marianne Gagnon
40ea7f94f0
Scripting work : improve object-kart collision callbacks
2015-05-28 19:57:36 -04:00
Marianne Gagnon
1ada542fa5
Continue porting overworld to scripting
2015-05-24 19:15:50 -04:00
Marianne Gagnon
4c02204eff
Start porting the overworld to scripting
2015-05-24 18:34:01 -04:00
hiker
855c59db09
Removed global variable shadowSplit (missing in previous commit).
2015-05-22 16:45:09 +10:00
hiker
0b2c44ed71
Removed unused function, minor coding style cleanup.
2015-05-22 16:44:22 +10:00
hiker
5ba3dee122
Moved global variable at least into a class.
2015-05-22 16:37:54 +10:00
hiker
ced9e55639
Moved shared shaders into Shaders class.
2015-05-22 16:26:30 +10:00
hiker
cbd5670764
DIE global function - rest in peace, push up the daisies, kick the bucket.
2015-05-22 11:09:51 +10:00
Marianne Gagnon
0a3daf9484
Scripting work : the tutorial is now completely scripting-powered, nothing hardcoded anymore
2015-05-21 20:26:28 -04:00
Marianne Gagnon
17cfc130d0
Merge remote-tracking branch 'ignatenkobrain/ubundle_angelscript'
...
Conflicts:
src/scriptengine/scriptarray.cpp
2015-05-21 20:20:03 -04:00
hiker
e4f29d4dea
Removed one more reference to global functions.
2015-05-22 10:00:26 +10:00
hiker
30fa3345e4
Removed more references to global function.
2015-05-22 09:57:28 +10:00
hiker
0f8d36889f
Remved references to global function.
2015-05-22 09:51:09 +10:00
hiker
813d80a792
Removed two more references to global function.
2015-05-22 09:45:48 +10:00
hiker
c21f6abeb7
Removed one more reference to global function.
2015-05-22 09:42:42 +10:00
hiker
8577f0d185
Removed one more reference to global function.
2015-05-22 09:40:46 +10:00
hiker
9048b6ffcd
Removed one more reference to global function.
2015-05-22 09:37:34 +10:00
hiker
cc9163ca77
Removed one more reference to global function, renamed functions
...
Bind and BindLayer to bind and bindLayer.
2015-05-22 09:29:42 +10:00
Marianne Gagnon
722cd0e181
Merge branch 'Scripting'
2015-05-21 19:29:01 -04:00
hiker
3a64d2c70e
Removed one more reference to global function.
2015-05-22 09:18:21 +10:00
hiker
d2a7e21632
Removed one more reference to global function.
2015-05-21 17:16:03 +10:00
hiker
18179bd18d
Removed one more reference.
2015-05-21 17:12:59 +10:00
hiker
2c68bd194c
Move more code into shader, removed one more reference to global function.
2015-05-21 17:09:53 +10:00
hiker
6f84a4dca1
Moved functionality into shader.
2015-05-21 16:59:40 +10:00
hiker
959d17ccb5
Moved one more reference to global function, minor coding style adjustments.
2015-05-21 16:46:46 +10:00
hiker
abbd54ffa0
Replaced another global function reference.
2015-05-21 16:43:41 +10:00
hiker
4d6a9726b6
Renamed shader.
2015-05-21 16:37:59 +10:00
hiker
dc8361b941
Fixed spelling of shader.
2015-05-21 11:19:40 +10:00
Marianne Gagnon
8113ea128b
Minor scripting work
2015-05-20 20:17:00 -04:00
hiker
101fcf5df7
Removed more references to global function.
2015-05-21 10:09:43 +10:00
hiker
e9c2f0ecf1
One less DrawFullScreenEffect function.
2015-05-20 17:18:55 +10:00
hiker
d437ffa3bf
Removed more accesses to global DrawFulLScreenEffect function.
2015-05-20 17:11:06 +10:00
hiker
8e6d9d2f41
Removed more references to global DrawFullScreenEffect function.
2015-05-20 16:53:30 +10:00
hiker
dec62d63ea
Fixed linux compilation.
2015-05-20 10:08:38 +10:00
hiker
063fb6b65f
Try to fix linux compilation.
2015-05-20 09:19:59 +10:00
hiker
4ef85d692c
Replaced one more call to DrawFulLScreenEffect.
2015-05-20 09:09:34 +10:00
hiker
e241f167a7
Started to remove global DrawFullScreenEffect template.
2015-05-20 08:41:03 +10:00
hiker
d64428db34
Moved more shaders, cleaned up unused code and other left-over bits.
2015-05-19 23:01:36 +10:00
hiker
e0b1e876f0
Moved more shaders.
2015-05-19 21:10:49 +10:00
hiker
ab4f77e80e
Moved more shaders.
2015-05-19 18:55:32 +10:00
hiker
0c2e6c1640
Moved more shaders.
2015-05-19 18:51:26 +10:00
hiker
553a0a8b58
Moved more shaders.
2015-05-19 16:40:47 +10:00
hiker
52017e31ea
Removed unused shader.
2015-05-19 16:36:24 +10:00
hiker
a401096487
Moved more shaders, minor cleanup of coding style in irr_driver.hpp.
2015-05-19 16:34:07 +10:00
hiker
e94c3e5d3f
Removed unused global variables.
2015-05-19 16:11:54 +10:00
hiker
6d8d78be73
Moved more shaders, moved createVAO into Shader.
2015-05-19 16:07:24 +10:00
hiker
2224f4ebfa
Removed unused shader.
2015-05-19 09:39:04 +10:00
hiker
283a7c58b9
Moved more shaders.
2015-05-19 09:36:28 +10:00
hiker
b40f84e89d
Moved more shaders.
2015-05-19 09:20:29 +10:00
Igor Gnatenko
7005f3b069
build: allow to use system angelscript
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com >
2015-05-18 17:23:28 +03:00
Igor Gnatenko
65c25065ee
angelscript: don't use deprecated GetParamTypeId
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com >
2015-05-18 17:17:19 +03:00
hiker
8e4ee298e0
Moved shaders into render_lighting, fixed coding style for
...
render_lighting.
2015-05-18 21:33:26 +10:00
Nado
2b36759ba3
Resized max length of mail address up to 254 chars
2015-05-18 09:33:21 +02:00
hiker
6def0c752c
Moved more shaders.
2015-05-18 16:52:42 +10:00
hiker
90d7fac6c4
Fixed coding style.
2015-05-18 16:43:30 +10:00
Marianne Gagnon
e290e9003d
Tweak for scripting documentation
2015-05-17 20:12:39 -04:00
Marianne Gagnon
db4c6f4799
Work on scripting console
2015-05-17 20:03:53 -04:00
Marianne Gagnon
080936f144
Work on scripting
2015-05-17 19:27:25 -04:00
hiker
78220d5ed7
Moved more shaders.
2015-05-18 08:49:41 +10:00
hiker
3cb0c6f4c2
Fixed coding style in stkmesh.
2015-05-18 08:22:52 +10:00
hiker
37d787ff38
Fixed linux compilation.
2015-05-17 10:28:37 +10:00
hiker
a50d11df36
Try a different linux fix.
2015-05-17 10:04:01 +10:00
hiker
f0f230b042
Try to fix linux compilation.
2015-05-17 00:56:42 +10:00
hiker
1a09a09dd9
Removed now unnecessary parameter for assignSamplerNames.
2015-05-17 00:22:14 +10:00
hiker
e0ef910137
Renamed TextureRead to TextureShader.
2015-05-17 00:04:19 +10:00
hiker
329a4ac047
Removed multiple inheritance, instead made TextureRead inherit from
...
Shader. work in progress!
2015-05-16 10:39:33 +10:00
Marianne Gagnon
e23f854845
Scripting work
2015-05-14 19:27:32 -04:00
hiker
dc211f2000
Improved coding style.
2015-05-15 08:16:23 +10:00
hiker
488f506932
Moved more shaders into PostProcessing.
2015-05-14 16:43:32 +10:00
hiker
f0d0e7e601
Moved SharedObjects into separate file shared_gpu_object.
...
This also fixes the missing loading screen (likely caused by
not initialising all objects, or not in the right order).
2015-05-14 16:27:32 +10:00
auriamg
0ca0b21327
Merge pull request #2188 from huftis/removestringsorting
...
Don’t sort strings alphabetically (makes the translators’ work much easier)
2015-05-12 21:01:05 -04:00
auriamg
dd80daa5d9
Merge pull request #2189 from huftis/addmissingglyph
...
Add ‘Æ’ glyph to the title font
2015-05-12 21:00:07 -04:00
hiker
3b682ff084
Moved more shaders into PostProcessing.
2015-05-13 09:57:53 +10:00
Marianne Gagnon
7d66dfec0e
Make scripting work on OS X, hoping this doesn't break windows or linux
2015-05-12 19:49:14 -04:00
hiker
56bc14ff31
Moved more shaders into PostProcessing.
2015-05-13 08:55:59 +10:00
Marianne Gagnon
0ea991adee
More work for scripting compatibility on Linux/GCC
2015-05-12 18:31:08 -04:00
hiker
ea69eb3178
Minor style changes.
2015-05-13 08:22:58 +10:00
hiker
26d63ce844
Fixed linux compilation, and some more coding style issues.
2015-05-13 08:14:39 +10:00
Karl Ove Hufthammer
6106ed3ec6
Don’t sort strings alphabetically (makes the translators’ work much easier).
2015-05-12 18:20:11 +02:00
Karl Ove Hufthammer
465130a4a2
Added ‘Æ’ glyph to the title font
...
The glyph was created by combining the existing
‘A’ glyph and ‘E’ glyph, and then retouching the
result to make it look good (both the glyph heights
and the gradients differed for the two letters).
2015-05-12 18:17:20 +02:00
hiker
827b9adce2
Moved more shaders into 2dutils.
2015-05-12 16:48:12 +10:00
hiker
320dd6d1df
Moved more shaders into 2dutils.
2015-05-12 16:43:03 +10:00
hiker
fbad97a4a7
Moved Primitive2DList into 2dutils, fixed coding style of 2dutils.
2015-05-12 16:24:40 +10:00
Marianne Gagnon
6ccebd09b6
Improve scripting compatibility with Linux/GCC
2015-05-11 21:49:13 -04:00
hiker
ee26611759
Moved billboard shader into stkbillboard, cleaned up coding style somewhat.
2015-05-12 10:01:24 +10:00
hiker
f4cf41e466
Moved more shaders into render_gemoetry.
2015-05-12 09:50:18 +10:00
Marianne Gagnon
c48037984d
Update to latest angelscript
2015-05-11 19:40:43 -04:00
hiker
ac3984b403
Fixed linux compilation.
2015-05-11 21:08:52 +10:00
hiker
e337b72789
Moved *Detailed* shader into render_geometry, renamed all detailled
...
to detailed.
2015-05-11 17:17:08 +10:00
hiker
77bfa84609
Moved more render-geometry specific shader into render geometry.
2015-05-11 17:07:31 +10:00
Marianne Gagnon
f269b44208
SCripting branch fix
2015-05-10 20:04:44 -04:00
Marianne Gagnon
a29fa5c4a3
More work on scripting
2015-05-10 19:19:35 -04:00
hiker
f3f30a8057
Moved GrassPass1Shader into render_geometry; fixed up coding style
...
somewhat.
2015-05-11 09:14:43 +10:00
hiker
400f9c612b
Moved SpecularIBLGenerator-shader into IBL.cpp, and ColoredLine
...
shader into Shaders. Fixed codying style of IBL somewhat.
2015-05-11 08:09:09 +10:00
Marianne Gagnon
78f9500b1d
Work on scripting
2015-05-09 21:29:37 -04:00
hiker
93f24f2a74
Removed Shaders instance out of irr-driver, and use a class
...
with static members instead.
2015-05-08 23:46:52 +10:00
Deve
199cda80b1
Merge pull request #2101 from konstin/fix_2095
...
add --log to --help message; fixes 2095
2015-05-08 10:32:05 +02:00
hiker
824b6906c1
Fixed compiler warning.
2015-05-08 13:59:19 +10:00
hiker
7453853c6d
Fixed linux build.
2015-05-08 13:45:43 +10:00
hiker
ba957ca0dc
Merge branch 'refactor_shaders' of github.com:supertuxkart/stk-code into refactor_shaders
2015-05-08 13:21:54 +10:00
hiker
3607cadf62
Merge branch 'origin/refactor_shaders' into refactor_shaders
2015-05-08 13:21:13 +10:00
hiker
310a58541d
Cleanup, part 1 - shaders_util is gone :)
2015-05-08 13:21:08 +10:00
hiker
a16bbf71a4
Converted remaining shaders.
2015-05-08 08:30:51 +10:00
hiker
5070531ad7
Converted more shaders.
2015-05-08 08:02:56 +10:00
hiker
38a1deeff5
Converted more shaders.
2015-05-07 19:18:24 +10:00
hiker
b441dba764
More shaders converted.
2015-05-07 16:40:38 +10:00
hiker
4338fe6144
Migrated more TextureReads to the new shader infrastructure.
2015-05-07 09:54:29 +10:00
auriamg
43add89cc2
Merge pull request #2181 from Flakebi/rtl-fix
...
Fix Random Grand Prix being reversed in RTL languages
2015-05-06 19:07:18 -04:00
hiker
8b9e5acd1a
Converted more shaders to use the new template.
2015-05-07 07:41:51 +10:00
Flakebi
a311281aa7
Fix Random Grand Prix being reversed
2015-05-06 20:39:40 +02:00
hiker
08ea768e16
Moved create*Sampler functions into TextureRead.
2015-05-06 22:33:15 +10:00
hiker
a6b8783d46
Moved bind functions into TextureRead class.
2015-05-06 22:08:03 +10:00
hiker
dfe4f09ed5
Start to re-implement TextureRead without variadic templates for
...
BindTexture and CreateSampler. VERY MESSY ATM, work in progress.
2015-05-06 16:51:54 +10:00
deve
f019f8622c
Make sure that window size is larger than 0
2015-05-04 11:09:53 +02:00
hiker
0ace0aeb5b
Added comments.
2015-05-04 16:51:50 +10:00
Deve
6082a4502b
Merge pull request #2172 from Flakebi/fix-font_tool
...
Fix Font tool build failure with CMake 3.2
2015-05-03 08:53:15 +02:00
Flakebi
eea9069265
Fix #2171 - Font tool build failure with CMake 3.2
2015-05-03 02:52:15 +02:00
Marianne Gagnon
d98c1044e6
More work on scripting
2015-04-30 20:36:54 -04:00
Marianne Gagnon
1559d03ea1
More work on scripting, test ways to pass arguments to script functions
2015-04-30 20:24:02 -04:00
Marianne Gagnon
585d1c5016
Scripting cleanup, remove hardcoded stuff in favor of more generic approaches
2015-04-30 19:37:11 -04:00
Marianne Gagnon
85cf5b181e
Support extracting translations from scripts
2015-04-30 19:03:54 -04:00
hiker
d32a76cd16
Rearranged order of functions in header to have the dependent/recursive
...
functions closer to each other. Removed unnecessary assignTextureUnit
function (with one argument).
2015-04-29 16:36:48 +10:00
hiker
c91f9655d8
Unlock all karts in multiplayer mode.
2015-04-29 08:18:52 +10:00
hiker
75b24c96ad
Unlock all tracks and GPs in split screen mode.
2015-04-29 08:07:06 +10:00
hiker
aaf20dc919
Fixed #2118 .
2015-04-27 17:14:23 +10:00
hiker
0b7c03b34c
Fixed linux compilation.
2015-04-27 09:40:12 +10:00
auriamg
38e4e4e03c
Merge pull request #2133 from Flakebi/translation-fixes
...
Fix some translation and bidi issues
2015-04-26 19:29:02 -04:00
Marianne Gagnon
dfcaf44058
Scripting work
2015-04-26 19:06:51 -04:00
hiker
eacd599b93
Removed version number warning for Radeon cards on osx (since they
...
have completely different version numbers).
2015-04-27 09:04:16 +10:00
hiker
b14acf2a67
Moved TextureRead into a new file, fixed coding style.
2015-04-27 09:03:33 +10:00
Flakebi
d19112760f
Include algorithm in translation.cpp
2015-04-27 00:14:52 +02:00
Flakebi
5462a62c75
Fix TEST_BIDI in multiplayer KartSelection
2015-04-27 00:13:23 +02:00
Flakebi
af88b4a16f
Fix translation issues with grand-prixs
2015-04-26 23:31:57 +02:00
Flakebi
0b9876c53e
Use isRTLText in the BubbleWidget
2015-04-26 22:55:28 +02:00
Flakebi
fae12f3714
Fix RTL texts with multiple lines
2015-04-26 22:34:17 +02:00
Flakebi
56aecdb692
Fix achievements RTL display
2015-04-25 16:10:54 +02:00
Flakebi
6e0b96c21f
Fix TEST_BIDI option
2015-04-25 16:01:50 +02:00
hiker
e1ef2aa305
Removed TexUnit data structure.
2015-04-25 18:49:18 +10:00
auriamg
f97db81ce3
Merge pull request #2103 from nado/fix_NoFribidi_compilation
...
Fix compilation with -DUSE_FRIBIDI=0
2015-04-24 21:07:12 -04:00
auriamg
e769f995ec
Merge pull request #2104 from nado/fix_#2102
...
Fix #2102 .
2015-04-24 21:06:43 -04:00
auriamg
a4559fc09d
Merge pull request #2107 from Flakebi/fribidi
...
Mark text as RTL when at least one character is RTL
2015-04-24 21:04:46 -04:00
Marianne Gagnon
9f883db6f7
Start work to enable scripting
2015-04-24 20:59:32 -04:00
Flakebi
e795729538
Cache fribidized strings in a map
2015-04-25 02:58:53 +02:00
Marianne Gagnon
fc942433e2
Tweak over previous commit
2015-04-24 20:17:55 -04:00
Marianne Gagnon
30431adc69
Add forgotten credit to Divvy81
2015-04-24 20:17:22 -04:00
hiker
45d6c863b3
Moved AssignTextureUnit to new Shader base class.
2015-04-25 00:57:53 +10:00
hiker
118233fb24
Removed now duplicated code.
2015-04-24 14:57:36 +10:00
hiker
865760ffa4
Fixed reloadShader functionality.
2015-04-24 12:36:25 +10:00
Flakebi
819156106d
Mark text as RTL when at least one character is RTL
2015-04-24 03:45:05 +02:00
hiker
5d098488e6
Use new Shader baseclass for all shaders.
2015-04-24 10:31:37 +10:00
Flakebi
7f80e0e4a3
Remove unused function
2015-04-24 02:02:57 +02:00
Flakebi
4b55526525
Clean more stuff for the new insertValues
2015-04-24 01:58:19 +02:00
Flakebi
59b4e2c97e
Clean some string code
2015-04-24 01:27:04 +02:00
Flakebi
53164e5cbe
Simplify string code
2015-04-24 01:27:04 +02:00
Marianne Gagnon
1cc3a0f0b8
Tweak times of scotland challenge
2015-04-23 19:20:42 -04:00
hiker
bbaf061ae9
Added printFileList to Shader, renamed old global function.
2015-04-24 08:38:04 +10:00
hiker
1a96ed6249
Made SimpleParticleRender based on the new shader base class.
2015-04-24 08:26:17 +10:00
Nado
1a395efbfd
Fix #2102 .
...
Moving output modifier and early exit options (--help, --version,
--log, etc) earlier in the execution so nothing useless is printed.
2015-04-23 20:13:37 +02:00
Nado
76270ce0ec
Fix compilation with -DUSE_FRIBIDI=0
2015-04-23 19:55:12 +02:00
konstin
adceb35812
add --log to --help message
2015-04-23 17:40:20 +02:00
hiker
a51225ec36
Added bypassUBO method to new shader base class.
2015-04-23 17:11:19 +10:00
hiker
262fc0c373
Started refactoring of shaders to follow our coding style.
...
One transform feedback buffer shader in particles is done.
2015-04-23 16:44:26 +10:00
hiker
959c86d816
Merge branch 'use_log_in_tinygettext'
2015-04-20 17:36:08 +10:00
hiker
b6a10b7603
Use stk font to display menu - which is at least a readable size ;)
...
Hacked the GUI to be a bit easier to scale, but it's still hacky.
Changed default to be what is typically used in stk.
2015-04-20 17:34:51 +10:00
hiker
63406b40f1
Fixed line ending style.
2015-04-17 16:13:57 +10:00
hiker
55079289da
List all GSoC students.
2015-04-17 09:48:45 +10:00
hiker
50ff2e6e35
Fixed donations, udpated samuncle's credits.
2015-04-17 09:40:28 +10:00
hiker
513df96c53
Fixed font tool (by requesting an old opengl context), increased size
...
and added some constants to change the size easier.
2015-04-17 09:24:12 +10:00
hiker
543bb8d303
Updated donations.
2015-04-17 08:29:40 +10:00
hiker
52f77f7d43
Fixed duplicated translator-credits strings.
2015-04-17 08:19:49 +10:00
hiker
fbac4d791c
Updated Asian fonts.
2015-04-16 16:59:12 +10:00
hiker
4ea1145af1
Updated translations credits by running update_po_authors.py script.
2015-04-16 15:29:38 +10:00
hiker
00782180f7
Fixed crash when using translation debugging (only happens if
...
DEBUG_TRANSLATIONS is defined).
2015-04-16 15:28:49 +10:00
hiker
418ccf284e
Remove unnecessary \n after "Launchpad Contributions" (which caused
...
an empty line to be shown in stk); ignore "FIRST AUTHOR" as author.
2015-04-16 15:11:25 +10:00
Marianne Gagnon
4b956ebfce
Update translations
2015-04-15 18:45:29 -04:00
hiker
ad2ca0f394
Merge branch 'fix_2073'
2015-04-16 08:17:36 +10:00
hiker
d4c33b294d
Fixed compiler warning.
2015-04-16 08:15:20 +10:00
hiker
50acbea315
Fix crash in case of invalid kart types (e.g. 'default', which the
...
exporter actually writes if 'default' is selected).
2015-04-16 07:56:41 +10:00
hiker
e8b8bbdd3b
Added display of normals at the vertices of the triangles the kart is driving on
...
to the debug display, which is useful to find why interpolated normals are wrong.
2015-04-15 07:44:50 +10:00
hiker
8f090525fb
Added more skidding particle debug code.
2015-04-14 16:40:50 +10:00
hiker
fb9d422f9b
Made interpolated normals white to make them easier to distinguish.
2015-04-14 16:39:28 +10:00
hiker
ecdf32c01e
Fixed size of shader parameter (though de-facto doesn't matter much).
2015-04-14 16:37:54 +10:00
hiker
0627bd85f3
Added some (commented out) debug features for gpu particles.
2015-04-14 16:35:05 +10:00
hiker
2c44bd1201
Removed unnecessary copy, precompue area of triangle to reduce
...
work when smoothing normals.
2015-04-14 16:21:43 +10:00
hiker
a4264cc063
Visualise the (interpolated) normal at the points where the wheels touch the ground.
2015-04-14 09:33:55 +10:00
Marianne Gagnon
cdde932908
Tentative fix for #2079
2015-04-09 19:58:07 -04:00
Marianne Gagnon
9a905cb579
Merge remote-tracking branch 'Flakebi/bidi-updown'
2015-04-08 20:09:15 -04:00
Flakebi
effe131e4a
Dynamically test if text is rtl or not
2015-04-09 01:57:33 +02:00
Flakebi
66dd089902
Move rtl debug option to a more general method
2015-04-09 01:26:55 +02:00
Flakebi
dffd431f3c
Add isRTLText function
2015-04-09 01:14:56 +02:00
Deve
a4536d7752
Disable texture compression for mesa.
2015-04-08 22:20:04 +02:00
Marianne Gagnon
66db970564
Add context to help translators
2015-04-07 19:32:55 -04:00
Marianne Gagnon
d746ea8aa1
Fix #2068
2015-04-07 19:11:59 -04:00
hiker
67d5e41d2c
Try an improvement for #2073 (stk does not start if /data
...
exists).
2015-04-05 22:14:48 +10:00
hiker
ddcd6f9ca3
Removed empty files.
2015-04-03 00:05:47 +11:00
hiker
fb58e4b3b3
Use STK's log function in tinyugettext (so all errors/warnings
...
are logged to stdout.log).
2015-04-02 23:59:55 +11:00
hiker
4135ed4be2
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-04-02 10:50:22 +11:00
hiker
3f76b0c68d
Used better icon for achievements in tabs.
2015-04-02 10:46:30 +11:00
auriamg
6af71fe582
Merge pull request #2053 from tobbi/fix_redefinition_warning
...
Fix glVertexAttribDivisor redefinition warning
2015-04-01 19:07:34 -04:00
hiker
d8a918758d
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-04-02 10:03:36 +11:00
hiker
cbd45c26a2
Merge and sort old and new translation credits. Fixed handling of "
...
and some other minor fixes.
2015-04-01 22:24:02 +11:00
samuncle
4b735861cd
Add a particle system
2015-04-01 04:30:17 +02:00
hiker
09a70b8aac
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-04-01 09:44:23 +11:00
hiker
414522e823
First version of a simple script that adds the transifex authors
...
to the list of launchpad authors in the translator-credits string.
The latter is used to display the appropriate in-game credits.
2015-04-01 09:41:37 +11:00
Deve
5e56f8904a
MinGW: Allow to compile wiiuse.
...
Still disabled by default because it requires mingw-w64 and it may not work with other versions.
2015-03-31 19:27:07 +02:00
hiker
c7e785b59c
Fixed translator credits display (translators were repeated before).
...
Added #undef'ed debug mode to only see translations.
2015-03-31 16:16:30 +11:00
Deve
cd67daf4a3
MinGW: Don't show console window in release mode.
...
Removed unused cmake option.
2015-03-30 20:12:25 +02:00
hiker
9cb862f708
Fix travis build.
2015-03-30 11:50:47 +11:00
hiker
8d07d26c25
Updated (c) year to include 2015.
2015-03-30 11:42:50 +11:00
hiker
bcd9654a86
Added missing GPL license.
2015-03-30 11:42:28 +11:00
Marianne Gagnon
2d2624f71c
Merge remote-tracking branch 'Flakebi/fribidi-text'
2015-03-29 20:06:21 -04:00
Marianne Gagnon
3a6fd75f10
Merge remote-tracking branch 'Flakebi/motionblur-fix'
2015-03-29 19:52:16 -04:00
hiker
c579eba6db
Removed empty file.
2015-03-30 09:58:28 +11:00
hiker
1971254a7f
Fixed compiler warning.
2015-03-30 09:43:58 +11:00
Flakebi
e9d78326fb
Properly ignore the leader in the ftl scoreboard
2015-03-29 04:16:24 +02:00
Marianne Gagnon
c08b898742
Merge branch 'Fix_2055'
2015-03-28 21:14:42 -04:00
Marianne Gagnon
e1eec44d1a
Tweak challenges
2015-03-28 20:16:45 -04:00
Marianne Gagnon
dda3bb0f31
Tweak more challenges
2015-03-28 19:21:48 -04:00
Marianne Gagnon
8deac178d0
Attempt fix for 2055. Committed in a branch for now until we can test it better.
2015-03-28 18:20:28 -04:00
Marianne Gagnon
f2d0b4d7e0
Some challenge tweaks, more coming. See #2052
2015-03-28 18:19:27 -04:00
Flakebi
7c697e76e5
Fix motion blur in multiplayer
2015-03-28 22:30:10 +01:00
Tobias Markus
cedb7e7123
Fix glVertexAttribDivisor redefinition warning
2015-03-28 16:56:51 +01:00
Marianne Gagnon
e65b3414b9
Tweak cocoa challenge. Further testing welcome
2015-03-28 00:14:10 -04:00
Marianne Gagnon
3f167f6728
Do not load glossmaps when they are disabled
2015-03-26 18:31:16 -04:00
Flakebi
58957a3fbb
Use camera position for LoD instead of the kart position
2015-03-10 19:04:32 +01:00
Flakebi
e5abf4cec3
Merge branch 'origin/master' into fixes
2015-03-08 01:16:51 +01:00
Flakebi
f386f05749
Silence even more warnings
2015-02-05 20:13:33 +01:00
Flakebi
d8efe01d02
Fix clang build, freeing memory too early
2015-02-05 02:49:58 +01:00
Flakebi
366f8a26bb
Fix more clang warnings
2015-02-05 02:44:06 +01:00
Flakebi
19ce806563
Fix warnings about shift size
2015-02-04 18:33:26 +01:00
Flakebi
32a044e292
Fix some clang warnings and bugs
2015-02-04 18:30:27 +01:00
Flakebi
0051254f03
Merge branch 'origin/master' into fixes
...
Conflicts:
src/graphics/graphics_restrictions.cpp
2015-02-04 12:28:39 +01:00
Vincent Lejeune
cbf9e03b41
honour vsync param
2015-02-01 19:43:43 +01:00
Vincent Lejeune
1844ab2a7c
Fix attempt for void scene in non advanced pipeline
2015-02-01 19:38:47 +01:00
Vincent Lejeune
d2ececacf4
Delay sync
2015-02-01 19:23:05 +01:00
Vincent Lejeune
da449e02d0
Improve keypad support
2015-02-01 19:18:47 +01:00
Vincent Lejeune
73a8220203
Improve mouse support
2015-02-01 19:13:37 +01:00
Vincent Lejeune
874d63f5bc
WIP wayland
2015-02-01 18:53:12 +01:00
Flakebi
595cacfeb6
Someone uses that variable now...
2015-01-23 00:29:33 +01:00
Flakebi
d6fee72295
Merge branch 'origin/master' into fixes
...
Conflicts:
src/graphics/graphics_restrictions.cpp
2015-01-23 00:15:40 +01:00
Flakebi
8e4bb4c22c
Add notice about currently unused code
2015-01-20 21:22:46 +01:00
Flakebi
aafe86147a
Remove unused method
2015-01-18 23:44:34 +01:00
Flakebi
59534cda86
Fix #1822
2015-01-18 23:40:56 +01:00
Flakebi
9c6dd1c1b5
Fix some compiler warnings
2015-01-18 23:28:53 +01:00
Flakebi
a3489fe834
Fix #1824
2015-01-18 14:40:29 +01:00
nixt
887a86d3a6
Only set kart gravity when the material sets gravity.
2014-08-09 13:09:47 +05:30
nixt
cfa8e29523
Add comments.
2014-08-09 13:07:07 +05:30
nixt
c4cfb83150
enable sliding for upside down tracks.
2014-08-09 13:06:42 +05:30
nixt
e3dea1da02
Forgot to add // functionName
2014-08-07 15:34:20 +05:30
nixt
b4b2f6988b
Add documentation and some cleanup.
2014-08-07 15:28:21 +05:30
nixt
c915f231ee
Merge remote-tracking branch 'upstream/master' into walldriving
...
Conflicts:
src/graphics/irr_driver.cpp
2014-08-07 01:38:42 +05:30
nixt
1f4ecc2464
Cleanup irr_driver.cpp and remove ai_debug from skidding_ai
2014-08-07 01:38:01 +05:30
nixt
058cec9f65
Make items align with the track triangle instead of the driveline quad.
2014-08-06 00:19:53 +05:30
nixt
1f435142db
Merge remote-tracking branch 'upstream/master' into walldriving
2014-08-02 02:36:35 +05:30
nixt
8431fcfef2
Prevent crash in modes where there is no QuadGraph
2014-08-02 02:35:14 +05:30
nixt
f40fb50386
Fix "Wrong Direction" message
2014-08-01 04:01:28 +05:30
nixt
fbf002bfc6
Disable debug messages
2014-07-31 18:15:37 +05:30
nixt
21328d0e05
Fix a steering bug where the kart will try to steer back to the current quads center.
2014-07-31 01:07:37 +05:30
nixt
c05840f9ab
Ground closeness is now checked using dist. between hitpoint and kart's xyz. Also disable rescue when debug flying.
2014-07-30 23:56:57 +05:30
nixt
5077540beb
Avoid an assertion failure when re-aligning items, the angle is zero.
2014-07-30 23:55:37 +05:30
nixt
393aa86c31
Fix explosion animation
2014-07-29 01:53:21 +05:30
nixt
52f773f19b
Disable debug messages.
2014-07-29 00:36:36 +05:30
nixt
5912dd2dd6
Merge remote-tracking branch 'upstream/master' into walldriving
...
Conflicts:
src/karts/kart.cpp
2014-07-29 00:18:52 +05:30
nixt
4cc406062f
Fix the initial raycast to make it go towards the track.
2014-07-25 20:31:42 +05:30
nixt
51a460e3cf
Merge branch 'walldriving' of https://github.com/lurk26/stk-code into walldriving
2014-07-25 15:12:10 +05:30
nixt
051ee24173
Fix item orientation bug. Items should now appear correctly.
2014-07-25 15:11:49 +05:30
hiker
78cdc3bd69
Fixed rescue bug: the kart orientation adjustment would cause a collision
...
with the track on rescue. For now disable the orientation if the kart is
close to the ground. A proper solution will be implemented as part of the
soft-landing branch.
2014-07-24 21:38:58 +10:00
hiker
43124f05fe
Merge branch 'walldriving' of github.com:lurk26/stk-code into walldriving
2014-07-24 21:38:33 +10:00
nixt
a8a6435657
Merge remote-tracking branch 'upstream/master' into walldriving
2014-07-23 20:14:21 +05:30
nixt
abd07e0dc5
Merge branch 'walldriving' of https://github.com/lurk26/stk-code into walldriving
2014-07-23 20:01:38 +05:30
nixt
2673e59844
Fix a bug where the rubber ball would collide with the ceiling in a tunnel.
2014-07-23 20:00:15 +05:30
nixt
f19afc98cf
Fix plunger to work on vertical tracks.
2014-07-23 19:59:20 +05:30
hiker
0c49b87ed7
Merge remote-tracking branch 'upstream/master' into walldriving
2014-07-23 17:07:07 +10:00
hiker
de46494482
Merge branch 'walldriving' of github.com:lurk26/stk-code into walldriving
2014-07-23 08:12:53 +10:00
hiker
0ef42111bc
Fixed rescue transform: the heading rotation need to be done around
...
(0,1,0), not around the normal, and the order of rotation needs to be
first the heading rotation, then pitch/roll to make the kart parallel
to the ground.
2014-07-23 08:11:30 +10:00
hiker
f0ea8a1a38
Simplify up-offset computation.
2014-07-23 08:03:10 +10:00
hiker
6c02849df3
Avoid use of quaternions, simplify rescue animation. Heading is currently
...
unchanged, but it looks ok-ish.
2014-07-23 08:02:13 +10:00
hiker
20603a2084
Try better computation of heading (which might be better if the kart
...
is not in the xz plane).
2014-07-23 07:59:47 +10:00
nixt
8a4911d41d
Rubber ball (Basketball) now fixed for non-horizontal tracks.
2014-07-22 16:36:08 +05:30
hiker
413c062932
Simplify code by using the kart's normal.
2014-07-21 16:24:44 +10:00
nixt
6e2d92ec20
Remove old comment
2014-07-20 18:29:59 +05:30
nixt
97c628faca
New implementation for the cake throwing code that finds the angle velocity of the cake to hit a target in an arbitrary orientation.
2014-07-20 18:27:51 +05:30
nixt
c0c4dab805
Update rubber ball for non-horizontal tracks
2014-07-20 18:24:47 +05:30
nixt
8d7f09e037
Update bowling ball to follow the track. Also updated cake, but it needs more work.
2014-07-16 10:58:40 +05:30
nixt
cf354e2828
set m_glsl = false; because AI_DEBUG not supported in the new pipeline.
2014-07-15 13:39:19 +05:30
nixt
cd7a46cefd
Merge remote-tracking branch 'upstream/master' into walldriving
2014-07-11 12:45:51 +05:30
nixt
c7d4a8c85c
Disabled AI_DEBUG because its currently not supported.
2014-07-10 00:38:14 +05:30
nixt
732c3a4b2f
Merge remote-tracking branch 'upstream/master' into walldriving
...
Conflicts:
src/graphics/irr_driver.cpp
src/karts/kart.cpp
2014-07-09 23:40:26 +05:30
nixt
6fc144dd8a
Item collection and avoidance now works with 3D tracks!
...
Also improved AI steering where it would cut corners too aggressively.
2014-07-09 23:22:20 +05:30
nixt
2556ef2246
Increase value of m_distance_2 in Item.hpp (needs testing/tweaking)
...
Increase value of m_distance_2 because distances from a 3D line as
checked in hitLine() can be greater but the kart may still hit the item.
This may need to be tweaked.
2014-07-09 23:07:17 +05:30
nixt
523d38c76b
Change hitLine so that it checks for closeness with a 3D line.
2014-07-09 23:02:25 +05:30
nixt
504360ef7e
Correct getDistance and m_line for 3D.
...
Line joining lower_center to upper_center of quad is now a 3D line.
getDistances is now fixed to return the correct distance of a point from
m_line and with the correct direction.
2014-07-09 22:56:01 +05:30
nixt
9220d50035
Revert "Correct spatialToTrack and getDistances to work in 3D."
...
This reverts commit 5f15138247 .
2014-07-09 00:09:48 +05:30
nixt
5f15138247
Correct spatialToTrack and getDistances to work in 3D.
2014-07-04 21:41:12 +05:30
nixt
2985974f83
Tilt items on track
2014-07-04 21:40:23 +05:30
nixt
dbe4cd02fa
First attempt at correcting the rescue animation.
2014-07-04 12:43:34 +05:30
nixt
437f8191f4
Fix a bug where the kart's wheels would intersect with the road when rescued to an upside location.
2014-07-03 17:24:04 +05:30
nixt
184e45bb6d
Correct the landing after rescue for non-horizontal tracks.
2014-07-03 11:13:49 +05:30
nixt
64c2292051
Revert "Some smoothing to the changing gravity.."
...
This reverts commit 8011f5b40d .
2014-06-30 19:18:48 +05:30
nixt
4c8e67556c
Merge remote-tracking branch 'upstream/master' into walldriving
2014-06-30 17:44:41 +05:30
nixt
8011f5b40d
Some smoothing to the changing gravity..
2014-06-30 17:41:20 +05:30
nixt
4b303814fa
Some cleanup
2014-06-30 16:43:51 +05:30
nixt
1aaf3fbcc5
Fix a bug in code related to alternate paths.
2014-06-30 16:43:28 +05:30
nixt
4b36197787
Fixed reverse mode.
2014-06-30 16:42:20 +05:30
nixt
1bf287d4cc
Avoid use of C++11 std::array.
2014-06-28 16:17:09 +05:30
nixt
450d8d1ed2
Enable AI to take alternate paths. More testing needed.
2014-06-28 16:16:24 +05:30
nixt
e0d2777c7d
[Optimization] Moved code for computing quad bounding boxes to constructor.
2014-06-23 12:47:24 +05:30
nixt
0a66a6f7dd
Workaround to enable visual aids for track debugging.
2014-06-22 18:05:16 +05:30
nixt
55617da42c
Merge remote-tracking branch 'upstream/master' into walldriving
...
Conflicts:
src/graphics/irr_driver.cpp
2014-06-22 18:03:52 +05:30
nixt
c489f5ca19
Fix compilation problem in linux
2014-06-22 17:16:23 +05:30
nixt
3a7fc1e0f9
The AI can now finally drive a loop in newton.
2014-06-22 13:09:05 +05:30
nixt
c1dd87d95b
Fix copy-paste error in pointInQuad function.
2014-06-22 13:07:38 +05:30
nixt
be43273f80
Change how angle_to_track is determined. Now it uses the kart velocity instead of the heading.
2014-06-22 11:51:58 +05:30
nixt
f1c675fce9
Adjust angle to next computation to work with 3D quads.
2014-06-22 11:49:29 +05:30
nixt
70ad2d58db
Remove test for vertical distance of kart from sector.
2014-06-22 11:43:54 +05:30
nixt
fc7692819a
Adapt steerToPoint to work in 3D
2014-06-19 18:12:25 +05:30
nixt
652af9a0a1
Adapt findNonCrashingPoint to work in 3d
2014-06-19 18:12:10 +05:30
nixt
0c3cded260
get distances would crash by accessing m_node_index + quad_idx . This quad does not exist when m_node_index is the last quad.
2014-06-19 18:11:18 +05:30
nixt
2249a73c50
Fix flattened quads. rotateVect was reading and writing to the same location earlier.
2014-06-19 18:07:52 +05:30
nixt
a06ec9407a
New function GraphNode::getDistanceUnrolled to find distances from the unrolled quads
2014-06-18 08:45:16 +05:30
nixt
c3eae006f9
New function spatialToTrackUnrolled to track points on the unrolled quads.
2014-06-18 08:44:06 +05:30
nixt
46638c0d83
Change function name to an appropriate one.
2014-06-18 08:42:24 +05:30
nixt
7acfec7866
Some utility functions.
2014-06-17 13:29:39 +05:30
nixt
886345b818
Unrolled quads are now almost correct.
...
After continuous trial and error, dropped using the flattened quads as
it was causing the quads to shear (not sure why). Now unrolled quads
have orientation in 3D starting from the parent quad.
2014-06-17 12:44:42 +05:30
nixt
374b8753b4
Drop the Y (set to 0) value for flattened quads
2014-06-16 17:04:16 +05:30
nixt
ce0a3db195
Fix unrolled quads
2014-06-16 17:03:31 +05:30
nixt
39f76b02ff
Temporary function to create a debug mesh for unrolled quads
2014-06-16 14:38:03 +05:30
nixt
40f205dd0f
Function to get a point transformed to the reference of the flattened quad
2014-06-16 12:14:38 +05:30
nixt
306e856464
Build a vector of unrolled quads for each graph node.
2014-06-16 10:05:37 +05:30
nixt
64b21b0fff
Flattening of quads. Each quad now has a n associated flattened (rotated) quad which is more or less in the XZ plane.
2014-06-14 02:53:20 +05:30
nixt
4ce4861925
Do not reset gravity when kart is flying.
...
Simply commented out setGravity(), will do a proper cleanup once fully
tested.
2014-06-14 02:52:29 +05:30
nixt
94481097b6
Temporary workaround to make track debug work.
2014-06-12 10:08:02 +05:30
nixt
def4b27124
Fix inverted sign on quad normals and epsilon.
2014-06-12 10:05:38 +05:30
nixt
5ba60d4c36
Merge remote-tracking branch 'upstream/master' into walldriving
2014-06-12 06:29:29 +05:30
nixt
f3a5677e78
Using quad normals to find material and set gravity. (not yet functional)
2014-06-12 06:23:05 +05:30
nixt
b5017dd452
Revert "New function in AIBaseController and PlayerController(previous commit) that returns the normal of the current quad."
...
This reverts commit 2e27e0065d .
2014-06-12 04:56:10 +05:30
nixt
579c26048b
Revert "Tracking of Player kart on the quad graph."
...
This reverts commit 10a124825c .
2014-06-12 04:55:21 +05:30
nixt
9e95fb4a7a
Update terrain info based on start position and a direction.
2014-06-09 17:44:39 +05:30
nixt
2e27e0065d
New function in AIBaseController and PlayerController(previous commit) that returns the normal of the current quad.
2014-06-08 03:02:16 +05:30
nixt
10a124825c
Tracking of Player kart on the quad graph.
...
This is needed because the player kart's gravity will also be adjusted
depending on which quad(track node) it is on.
2014-06-08 02:48:20 +05:30
nixt
182122720e
Undo workaround for operator-(Vec3, btVector3) and remove Log message for debugging.
2014-06-06 06:43:41 +05:30
nixt
b81a8fb0a7
Forgot to change all instances of pointInQuad to pointInQuad3D
2014-06-06 05:41:13 +05:30
nixt
377c84547e
Merge remote-tracking branch 'upstream/master' into walldriving
2014-06-06 05:19:32 +05:30
nixt
527a8d674b
3D kart localization implemented.
2014-06-06 05:15:11 +05:30
nixt
8e9d518aa2
Increase curve radius to reduce braking when kart is close.
2014-03-07 07:41:55 +05:30
nixt
28b089592d
Merge remote-tracking branch 'upstream/master'
2014-03-07 05:17:59 +05:30
nixt
a840e3a81f
Enable item collection and reduce item search radius.
2014-03-07 05:14:10 +05:30
nixt
c192d5e53d
Fix nested namespace error and some warnings
2014-03-06 06:15:09 +05:30
nixt
c3bd527b8c
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
data/shaders/ssao.frag
2014-03-06 04:25:17 +05:30
nixt
1c13034a21
Turn off item collection for the moment
2014-03-06 04:18:42 +05:30
nixt
39c3aff8ae
Add basic item collection
2014-03-06 03:51:02 +05:30
nixt
28309e0afd
Add more documentation.
2014-02-20 19:42:45 +05:30
nixt
c13b263ba0
Add lots of comments.
2014-02-16 02:52:03 +05:30
nixt
d8a1949160
Merged from main repo
2014-02-14 22:26:10 +05:30
nixt
7b8629232f
Implemented the funnel algorithm for pathfinding.
2014-02-14 21:47:32 +05:30
nixt
39ef5f1655
Merge remote-tracking branch 'origin/master' into battleAI
2014-02-09 00:37:48 +05:30
nixt
d1d83459d0
Merged from master
2014-02-07 23:40:09 +05:30
nixt
5e64f02685
Add a comment to three_strikes_battle.cpp
2014-02-07 23:13:51 +05:30
nixt
e6ba8c3b1d
Fix some errors due to merge
2014-01-23 04:05:29 +05:30
nixt
cc78233258
Merged from master
2014-01-23 03:17:32 +05:30
nixt
9e3b338965
Implemented portal extraction for string-pulling (funnel algorithm). Implemented braking but its untested.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14898 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 00:13:09 +00:00
nixt
83d91b7b07
Merge from trunk, pending.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14776 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-24 04:34:57 +00:00
nixt
a72175b3b7
Adding more missing files, fourth installment.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 05:09:36 +00:00
nixt
50e746eccc
Add/update missing files from trunk, third installment.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 05:05:28 +00:00
nixt
cd20059fc0
Adding missing files from trunk, in second installment, because SVN simply hates me.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 04:53:42 +00:00
nixt
8d7c867c59
Added missing files from trunk.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 04:46:09 +00:00
hikerstk
a01c98302e
On nixt's requests I removed the online subdirectory so that he can try
...
to fix his inconsistent/broken svn checkout.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 03:53:38 +00:00
hikerstk
7aee2035ea
Fixed crash.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 02:50:39 +00:00
nixt
ba4e573797
Merge from trunk, some files were left out.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 19:23:17 +00:00
nixt
7de27d234a
Add missing shaders to my branch.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 14:12:18 +00:00
nixt
eaacb20c90
fix nested template arguments angle bracket spacing for gcc.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 12:48:30 +00:00
nixt
13ddb2bfbe
Fixed redeclaration of m_debug_sphere. Improved AI turning while reversing.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 12:38:34 +00:00
nixt
420e73d102
Improved kart reverse when stuck. Fixed a bug in ThreeStrikesBattle::updateKartNodes().
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 00:02:15 +00:00
nixt
04a5d17de3
Merge from trunk recent changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 21:15:01 +00:00
nixt
acd7a64802
Huge merge from trunk, part 2.3 (splitting commits because they keep failing)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 20:47:10 +00:00
nixt
09a966b2d7
Huge merge from trunk, part 2.2 (splitting commits because they keep failing)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 20:33:54 +00:00
nixt
65a7bd0d84
Huge merge from trunk, part 2.1 (splitting commits into small parts because they keep failing for some reason)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 20:25:11 +00:00
nixt
43f1c59a6e
Huge merge from trunk, part 1.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 03:45:57 +00:00
nixt
1c8dfb72e6
Last commit failed due to permission error. Testing to see if this commit succeeds.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14658 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 03:35:17 +00:00
nixt
a49a990a99
Improved kart localization on the nav map. The old location is mainted when a kart moves out of the nav map and cannot be found on it.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 00:11:40 +00:00
nixt
20d30bc09d
BattleAI: Karts can now get un-stuck. They will reverse while turning in the opposite direction.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 00:00:20 +00:00
nixt
96d5666a08
Code refactoring: Moved AIBaseLapController::crashed()and its associated vars to AIBaseController::crashed(). Created update() and reset() in AIBaseController which are now called from AIBaseLapController's respective update/reset. Hopefully I didn't break the skidding AI.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14646 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-06 17:16:35 +00:00
nixt
c23f962119
Reimplemented the Floyd-Warshall path reconstruction to fix a bug where the next poly returned would actually be a poly close to the destination instead of being close to source polygon. This ensures AI follows right path and gets stuck less often.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 13:33:36 +00:00
nixt
1f6e23ead9
Implemented another debug feature: Debug spheres (red) that show where the AI kart is aiming. http://postimg.org/image/mwhbys39p/
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14624 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 00:13:48 +00:00
nixt
fab8829cf8
Declared m_ai_debug at wrong location. fixed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14623 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 00:07:09 +00:00
nixt
c6cbf487c9
A new unified function ThreeStrikesBattle::updateKartNodes() that localizes all karts (AI and player) on the polygon map.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14618 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-03 16:43:07 +00:00
nixt
41fa68f948
Applied a pending merge.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-03 16:28:57 +00:00
nixt
a31c314cb4
Major update to Battle AI. AI can localize itself on the navigation mesh. Battle graph is now stored as adjacency matrix instead of adjacency list.
...
Implemented pathfinding (Floyd-Warshall), AI can now find a path from one sector to another. As a proof of concept: AI can almost follow a player kart. Some code refactoring is in order before further development.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-29 05:47:11 +00:00
nixt
1c75270912
merged updates from trunk to branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14308 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-25 14:21:04 +00:00
nixt
a1ee115963
Split AIBaseController to AIBaseController and AIBaseLapController. Moved the functions independent of QuadGraph to AIBaseController. Added AIBaseController as friend of AIProperties. New class for BattleAI which inherits from AIBaseController. Its messy, need hiker.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-23 01:14:08 +00:00
nixt
3f9bf2ec47
Merged changes from trunk.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-23 01:09:18 +00:00
nixt
d3f92542df
Split AIBaseController to AIBaseLapController and AIBaseController.
...
AIBaseLapController inherits from AIBaseController.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-09 07:26:55 +00:00
hikerstk
5b98a8bcf0
Fixed unnecessary type cast (since definition of IMeshSceneNode was
...
missing), fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14185 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-02 04:15:42 +00:00
nixt
6cc28c01de
Forgot to clean up debug mesh and navmesh. Also moved debug camera a bit closer to the kart.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14184 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-02 04:03:22 +00:00
hikerstk
442ceee836
Fixed compilation issues on linux.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14183 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-02 03:51:42 +00:00
hikerstk
c06e49e37e
Updated cmake build script.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14182 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-02 03:34:33 +00:00
nixt
479464ede4
fixed minor error and removed a redundant function.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-01 22:11:31 +00:00
nixt
fa3846e169
Fixed coloring in debug mesh. Each polygon distinctly visible in funky colors.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-01 22:00:10 +00:00
nixt
e0994932bf
Added preliminary class for holding the battle mode navigation graph. The navigation mesh can now be viewed in game for battleisland ( start with --track-debug --camera-debug ) , the colors are bit messed up though.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-01 21:30:58 +00:00
nixt
c5e1b1a182
minor update to last commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-28 11:13:24 +00:00
nixt
f4fe56dd31
Two new classes for holding the navigation mesh for battle maps.
...
note: proper comments will be added soon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-28 10:20:57 +00:00
nixt
5a85e11d70
Reverted previous commit that broke some things.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-24 00:11:40 +00:00
hikerstk
891df54f3a
Fixed rewind (events had a time stamp after increasing world clock,
...
while states had a time stamp before world clock was updated).
Still all work in progress ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/rewind@14138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-23 06:57:32 +00:00
nixt
167f25734c
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14137 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-23 00:13:30 +00:00
hikerstk
3c503226d7
Created branch for nixt's work on a battle AI.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-23 00:00:51 +00:00
hikerstk
cb46fad124
1) Fixed time when state snapshots are taken (must be before the physics runs)
...
2) Added support for storing the exact time step sizes (probably only for
debugging - since now we can try to have bitwise identical results when
replaying).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/rewind@13631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-04 22:06:26 +00:00
hikerstk
c4d120e1b3
Stored the time stamp of the main simulation, so that during
...
a rewind the same time steps can be taken (that's mostly meant
for debugging).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/rewind@13534 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-21 21:42:18 +00:00
hikerstk
0730359c3d
Fixed bug in restoring kart controls. Added restoring
...
controls to kart controller.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/rewind@13486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-15 22:54:57 +00:00
hikerstk
f78cb2d1f2
Rewinding now can replay states and events, though there are
...
still (initially) minor differences (caused most likely by
the controls not set at the right time (i.e. one frame too
early or too late).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/rewind@13484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-15 06:23:08 +00:00
hikerstk
8ed8963c63
Documented the main loop of STK.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/rewind@13483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-15 06:20:31 +00:00
hikerstk
999d2dd82c
Add the control settings to the state, that solves
...
the problem of determining the control states when
rewinding.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/rewind@13482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-15 06:19:35 +00:00
hikerstk
47b170ffb3
Bug- and style-fixes - looks like I committed incorrect files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/rewind@13471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-13 00:02:51 +00:00
hikerstk
9fe8d0f259
Started to work on rewinding. ATM a single kart can be rewound
...
to a previous time (i.e. the race continuous from the previous
location). No memory handling is done, ... all work in progress :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/rewind@13468 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-12 23:29:21 +00:00
hikerstk
c787926e04
Created branch for rewinding.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/rewind@13467 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-12 13:08:23 +00:00