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
Flakebi
114644233a
Improve RTL display of track names in story mode
2015-03-30 01:23:01 +02:00
Flakebi
9417b80a5c
Fix FPS display
2015-03-30 01:22:59 +02:00
Flakebi
06c8089dfc
Fribidize more strings
2015-03-30 01:22:57 +02: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
b041d0d79e
Challenge points were not displayed at the right position for RTL languages
2015-03-30 00:43:23 +02:00
Flakebi
ded789de18
Add option to fribidize everything
2015-03-30 00:43:21 +02: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
Flakebi
100060eafd
Don't delete the array on linux and remove a useless memset
2015-03-29 01:43:02 +01:00
Marianne Gagnon
e1eec44d1a
Tweak challenges
2015-03-28 20:16:45 -04:00
Flakebi
19fd2f6361
Allocate memory dynamically in fribidize
2015-03-29 00:57:05 +01: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
hiker
17039141e4
Fix #2051 by keeping a copy of the timer in the SktTimer class.
2015-03-28 01:35:17 +11:00
Marianne Gagnon
80de98f40a
Fix build
2015-03-26 21:26:51 -04:00
hiker
cb522e45bc
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-03-27 11:54:09 +11:00
hiker
3d4509b863
Add a log statement about outdated drivers or opengl version to
...
the log file (even if the popup for those issues is disabled).
2015-03-27 11:53:25 +11:00
Marianne Gagnon
26bd5a89a0
Use accurate timing for sounds. Fixes #2049
2015-03-26 20:49:36 -04:00
hiker
efcfdcced7
Oops - fixed typo in previous commit ... where I ignored the nicely
...
computed 'accurate' values in the end :)
2015-03-27 11:14:34 +11:00
hiker
0c6f3eb3dd
Tried to increase accuracy by measuing the sleeping time exactly.
2015-03-27 11:07:38 +11:00
Marianne Gagnon
f81f684b34
Improve timings used for audio status. Could be more precise but is good enough for the moment. See #2049
2015-03-26 19:37:17 -04:00
hiker
a560aafa50
Merge branch 'fix_non_hd_option'
2015-03-27 09:33:07 +11:00
Marianne Gagnon
3f167f6728
Do not load glossmaps when they are disabled
2015-03-26 18:31:16 -04:00
hiker
6c57ce8507
Disable texture cache for resized textures (which are all in lower
...
res compared what we use now that we resize _every_ big texture).
2015-03-27 08:05:55 +11:00
hiker
02d5b43d86
Replaced all texture->getOriginalSize() with texture->getSize()
...
to take potentially resized textures properly into account.
2015-03-26 17:12:51 +11:00
Marianne Gagnon
262eeca87f
Update configuration of HD textures in GUI, especially through presets
2015-03-25 20:53:05 -04:00
hiker
27dec2fbf8
Added attribute to irrlicht's driver to enable automatic resize
...
of images that are too big. This is then used to automatically
resize any textures (except fonts, background screen) to be
automatically resized to 512x512 if they are bigger.
2015-03-26 11:28:22 +11:00
samuncle
2f5a2b0337
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-03-26 00:47:08 +01:00
samuncle
a0bd9db496
Add more particle effect
2015-03-26 00:46:52 +01:00
Deve
5828dddde8
Allow to disable popup messages about too old drivers in config.xml
2015-03-25 18:53:09 +01:00
deve
e9c72f800a
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-03-25 09:33:46 +01:00
deve
df656fbf64
Allow to compile project using cygwin.
...
Note that you need to have all dependencies in cygwin directory (can be easily installed).
Atm. wiimote and joystick events are disabled.
2015-03-25 09:16:15 +01:00
samuncle
d4f2a801b5
.Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-03-24 18:00:16 +01:00
samuncle
4e9ab3e786
Improved sparks for flame
2015-03-24 17:59:03 +01:00
hiker
366b5aadb5
Updated todo list.
2015-03-24 21:17:25 +11:00
Flakebi
0501e35d95
Prevent toppling over
2015-03-24 04:04:23 +01:00
Flakebi
060bf2a2cf
Reset rotation of first person camera when activating
2015-03-24 02:46:10 +01:00
Flakebi
7a8eaed6ed
Add up and down movement to first person camera (r/f keys)
2015-03-23 22:54:15 +01:00
hiker
a400ac3ed8
Used proper names for GSoC students, renamed version SVN to GIT,
...
and removed version numbers (to avoid confusion that e.g. Deve
is now not listed as contributor to 0.8.1 anymore).
2015-03-23 23:18:24 +11:00
hiker
2ff085c3d0
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-03-23 17:23:42 +11:00
hiker
b61823e1af
Added GSoC students (initial version, names might need to be changed).
2015-03-23 17:23:03 +11:00
samuncle
9b604d37e5
Add more infor in the changelog
2015-03-23 07:00:48 +01:00
hiker
a01fa2f8a7
Updated changelog.
2015-03-23 16:53:22 +11:00
hiker
52b1aef99c
Updates Asian fonts.
2015-03-23 13:12:28 +11:00
Marianne Gagnon
fab1698d69
Update translations
2015-03-22 21:03:06 -04:00
Marianne Gagnon
633f6c5e30
Update credits
2015-03-22 20:41:13 -04:00
Marianne Gagnon
5a9ce98269
Properly fix lens flare
2015-03-19 20:18:21 -04:00
Marianne Gagnon
c422b61464
Fix lens flare
2015-03-19 19:01:35 -04:00
Marianne Gagnon
5e34ac3a44
Fix bug #2037 (objects in library objects with curve animations not working)
2015-03-18 21:48:22 -04:00
Marianne Gagnon
e596c48f42
Tweak per-track library objects to be grouped in a subdirectory
2015-03-17 20:44:14 -04:00
Marianne Gagnon
184f48b931
Fix movable LOD objects vs scale
2015-03-17 20:36:43 -04:00
auriamg
37d7436b80
Merge pull request #2035 from ZyperPL/highscores-update
...
Fixed highscores update
2015-03-17 19:14:17 -04:00
hiker
321786c287
Removed warning in case of missing wheels (that warning is now
...
part of the exporter, and e.g. Sara's kart has always one wheel missing).
2015-03-17 10:47:49 +11:00
hiker
61a593c556
Merge remote-tracking branch 'origin/revert_improved_bloom'
2015-03-17 10:47:23 +11:00
auriamg
4f949e42bd
Merge pull request #1958 from konstin/devel
...
set "Adjust Lights" base position to camera position
2015-03-15 19:28:10 -04:00
Marianne Gagnon
ba773b8452
Support per-track library objects
2015-03-15 19:26:15 -04:00
hiker
d09f6d3c7a
Revert "Clean bloomblending since it's not used anymore"
...
This reverts commit 2206f8ad5c .
Conflicts:
src/graphics/post_processing.cpp
2015-03-16 08:49:36 +11:00
hiker
d9375c9a43
Revert 65cb55add4 (Make bloom less
...
pixelated using Intel doc) since it causes crashes on hd3000.
2015-03-16 08:37:59 +11:00
ZyperPL
d9405aab3a
Fixed highscores update
2015-03-14 16:16:41 +01:00
Marianne Gagnon
036a6f986a
Update POT file
2015-03-13 21:43:09 -04:00
hiker
fa9a58cbe1
Updated strings for translations.
2015-03-14 09:48:17 +11:00
hiker
6b2d35a86a
Updated 'all tracks' achievement to actually include all tracks :)
2015-03-14 00:14:21 +11:00
hiker
5c4f1f796c
Updated challenges and gp for assets r16110 (renamed chocolate and
...
island).
2015-03-13 23:44:02 +11:00
hiker
dcc8cfac12
Minor style changes.
2015-03-13 16:09:28 +11:00
hiker
ad7ea60d6c
Updated comment.
2015-03-13 16:09:02 +11:00
hiker
7c42468e75
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-03-13 11:04:04 +11:00
hiker
8203d6b0e4
Fix #1786 (needs r16106 on the assets to work!!!!!).
2015-03-13 11:02:59 +11:00
Marianne Gagnon
7e63566087
Upgrade minimum track version requirement
2015-03-12 19:50:09 -04:00
hiker
06ca68275e
Fixed typo.
2015-03-13 10:12:43 +11:00
hiker
443d570196
Make legacy somewhat working on linux (just in case).
2015-03-12 11:47:38 +11:00
Marianne Gagnon
3157051560
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-03-11 20:28:53 -04:00
Marianne Gagnon
ad68d9a866
Warn if OpenGL is too old
2015-03-11 20:28:35 -04:00
hiker
41a67d4250
Added privacy notice to 'enable internet' dialog; used redirecting
...
URLs for privacy and terms&conditions.
2015-03-12 10:33:42 +11:00
hiker
98671b620d
Added some support to enable a legacy (2.1) opengl context. Many
...
things don't work with that atm (rtt, some transparent textures).
Needs to be manually set in the user's config file.
2015-03-11 16:45:20 +11:00
hiker
acd66f46ff
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-03-11 14:47:00 +11:00
hiker
55934bd8f1
Fixed cmake on VS (before cmake create would fail, but redoing the configure
...
and then generating the project would still work, so with an existing
project this error was not detected).
2015-03-11 14:45:25 +11:00
hiker
18af0b1c11
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-03-11 10:50:24 +11:00
Marianne Gagnon
ce9ba74f57
Tweak tooltip to only display if the mouse is actually over the checkbox
2015-03-10 19:56:10 -04:00
Marianne Gagnon
9d5c735ccb
Merge branch 'tooltip'
2015-03-10 19:48:21 -04:00
Marianne Gagnon
26914e60e3
Merge branch 'slider-react-to-mouse'
2015-03-10 19:43:06 -04:00
Marianne Gagnon
a310550904
Small tweaks to pull request, remove unused code, use roundf instead of adding +0.5
2015-03-10 19:42:56 -04:00
hiker
0259522be3
Merge branch 'addonserver-fixes' of https://github.com/Flakebi/stk-code into Flakebi-addonserver-fixes
2015-03-11 10:25:52 +11:00
hiker
886c0e3e9f
Make sure there is always enough push back from kart-terrain collisions
...
to avoid karts getting stuck into the wall.
2015-03-11 08:04:35 +11:00
Flakebi
58957a3fbb
Use camera position for LoD instead of the kart position
2015-03-10 19:04:32 +01:00
Kacper
17f7f84597
Replaced hardcoded values
2015-03-10 16:52:07 +01:00
Kacper
acd1628528
Moved slider's code to onClick()
2015-03-09 19:22:10 +01:00
Deve
0a7234df84
Allow to use shift + tab to switch to previous field.
...
Thanks to xXFlorianXx.
2015-03-09 18:47:38 +01:00
samuncle
248755abee
Merge pull request #2028 from Flakebi/fpscam
...
Improvements for the first person camera
2015-03-09 18:02:14 +01:00
Flakebi
5b8834b48f
Add possibility to attach the fps camera to the kart
2015-03-08 17:35:57 +01:00
Flakebi
b21f6f4782
Improve handling of mouse movement for the first person camera, especially at low framerates
2015-03-08 15:14:31 +01:00
Flakebi
e5abf4cec3
Merge branch 'origin/master' into fixes
2015-03-08 01:16:51 +01:00
Flakebi
ded59ac81e
Fix #1822 - Addons xml file contains wrong xmlns path
2015-03-08 01:04:55 +01:00
Flakebi
2aef246897
Fix #1824 - Hardware stats sends duplicate data
2015-03-08 01:04:30 +01:00
Marianne Gagnon
33feb60d7a
Do not complain about icon-not-found when no icon was ever specified, silences a warning mentionned in #2021
2015-03-07 18:46:42 -05:00
Kacper
1ddc4afc14
Sliders react to mouse
2015-03-07 20:56:44 +01:00
Marianne Gagnon
bc0d7a5ef7
Merge branch 'MovablesAlwaysAtSceneRoot'
2015-03-06 21:27:44 -05:00
Marianne Gagnon
8bd33dba23
Improved handling of scaled physical objects
2015-03-05 20:14:33 -05:00
Deve
0722df79da
Fixed getScale() result when matrix contains very low negative values.
...
See #1548 .
2015-03-05 20:00:02 +01:00
Marianne Gagnon
fb4f4aeb2e
Always create movables at scene manager root
2015-03-04 19:39:12 -05:00
hiker
f347cd0b10
Updated license information for new notification elements.
2015-03-05 11:26:16 +11:00
Marianne Gagnon
c8ae3d117a
Merge branch '1954-fix'
2015-03-03 18:58:26 -05:00
hiker
2a2022eb5b
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-03-04 07:51:01 +11:00
hiker
3da52bcbfb
Cosmetic changes.
2015-03-04 07:49:13 +11:00
deve
26054a1c60
MinGW: Better pthread names order
2015-03-03 07:17:48 +01:00
hiker
08b1fc01f0
Fix error if files are downloaded using https (as happened because of
...
a server misconfiguration). Add details about the certificate if the
URL contains https (and not only if it's not a downloaded file, i.e.
it is a request with an xml answers that is read from memory).
2015-03-03 16:03:38 +11:00
hiker
22d8482400
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-03-03 15:55:16 +11:00
Deve
89d5cee4c1
MinGW: Better finding libraries
2015-03-02 19:30:26 +01:00
deve
cb7eab4f03
MinGW: Support for make install
2015-03-02 13:56:48 +01:00
hiker
727f0806a3
Fixed typo in error message.
2015-03-02 19:01:21 +11:00
hiker
b21dafc12b
Added error message type for skins, which is atm only used to display
...
automatic login failures. Added Arthur's new icons for errors, and
friend+achievement icons for Ocean skin.
2015-03-02 18:51:50 +11:00
hiker
07116006a6
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-03-02 18:30:43 +11:00
hiker
04ebd528bf
Revert "Check the translation of the terms to make sure that they include"
...
This reverts commit 53a830be0b .
2015-03-02 18:26:21 +11:00
Marianne Gagnon
48d5567b3f
Fix #1954 , part 2
2015-03-01 22:05:34 -05:00
Marianne Gagnon
d5736f3a5e
Fix #1954 , part 1
2015-03-01 22:04:20 -05:00
Marianne Gagnon
c4c85257ec
Restore lens flare effect
2015-03-01 20:44:09 -05:00
hiker
53a830be0b
Check the translation of the terms to make sure that they include
...
our official url. If it is not contained, use the original English
terms.
2015-03-02 08:45:56 +11:00
Flakebi
f9919c462f
Improve tooltip text and center tooltips
2015-03-01 22:30:33 +01:00
hiker
a5d800d8d6
Made terms&conditions translatable (but hard-coded the URL).
2015-03-02 07:55:39 +11:00
hiker
cab6149193
Cosmetic change for coding style (removed 2 unnecessary constructors).
2015-03-01 22:46:03 +11:00
hiker
b7fb159de4
Fix #2000 (missing variable initialisation).
2015-03-01 19:41:28 +11:00
Marianne Gagnon
c205aa533b
Add outline on font for instructions in the overworld, fixing cases where the text is hard to read
2015-02-28 20:41:12 -05:00
auriamg
cb5670c843
Merge pull request #1994 from Flakebi/credits
...
Fix transparency of fallback characters
2015-02-28 19:00:45 -05:00
Deve
d6466f82cd
Fixed #2008
2015-02-28 22:38:38 +01:00
hiker
27b80d2c4d
Fix #1999 (split screen not workong in hd3000).
2015-02-28 00:40:14 +11:00
hiker
f542aea53d
Fixed line endings style.
2015-02-27 22:33:03 +11:00
Deve
988f5ea933
Hopefully proper fix for #2007
2015-02-26 20:16:39 +01:00
hiker
832aefeceb
Bugfix: A user that was not online previously could not enter an online
...
username if a user with an online user name was shown before.
2015-02-26 16:29:10 +11:00
hiker
58d9853542
Added debug name to tires dropped in battle mode.
2015-02-26 09:36:08 +11:00
Flakebi
6805ead6e6
Add tooltip to explain usage of per-player handicaps
2015-02-24 23:24:28 +01:00
Vincent Lejeune
26b38a3afe
GodRay use correct screencoord
2015-02-24 22:29:31 +01:00
Vincent Lejeune
419b96c068
Do not use extra uv for mlaa
2015-02-24 22:08:49 +01:00
Vincent Lejeune
af265f8345
Use 30 fps in menu
2015-02-23 22:43:11 +01:00
Vincent Lejeune
bcffedc186
Start working on proper SDSM
2015-02-23 22:35:53 +01:00
Vincent Lejeune
33c0dfe7c2
Remove shadow blob
2015-02-23 22:13:59 +01:00
Vincent Lejeune
2206f8ad5c
Clean bloomblending since it's not used anymore
2015-02-23 22:11:57 +01:00
Vincent Lejeune
06f0188a5b
Fix passthrough shader
...
It was not using half coordinate center
2015-02-23 22:02:32 +01:00
Vincent Lejeune
65cb55add4
Make bloom less pixelated using Intel doc
2015-02-23 21:41:22 +01:00
Vincent Lejeune
b70ce0c714
Remove lens flare, it's yielding too much aliasing now
2015-02-23 19:10:38 +01:00
hiker
e56b4e33bc
Show login screen with error message if automatic login did not work.
...
If user has left main menu screen, an error notification message is displayed.
For #1778 .
2015-02-23 23:06:29 +11:00
hiker
2c1b80b939
Added separate achievement and friend message boxes for Ocean ... which atm
...
is just the peach one (though imho looks better than the previous normal box).
2015-02-23 22:44:35 +11:00
Marianne Gagnon
8a4c240f8b
Tweak subsea challenge, fixes #1997
2015-02-22 20:08:19 -05:00
Marianne Gagnon
e3c408fc0e
Implement interface to allow disabling IBL
2015-02-22 18:25:59 -05:00
hiker
b338a68eb4
Fix #1984 (countries in lower case were not when compared with upper
...
case countries).
2015-02-23 08:32:16 +11:00
Vincent Lejeune
13a2f9f597
First part of #1988 fix
2015-02-22 20:31:14 +01:00
Deve
0f56a4f6d3
Fixed compilation with cmake 3.2
2015-02-22 10:01:46 +01:00
auriamg
dd7eb2cf68
Merge pull request #1992 from leyyin/font_tool
...
Fix font_tool build for Linux
2015-02-21 19:02:15 -05:00
Flakebi
a371338c14
Fix transparency of fallback characters
2015-02-21 18:06:27 +01:00
hiker
359582d0e6
Added support for "Easter Bunny Ears" easter egg.
2015-02-21 11:19:15 +11:00
Daniel Butum
2e19c3a34e
Fix font_tool build for Linux
2015-02-20 11:40:22 +02:00
hiker
f56fc91d42
Fix #1793 by disabling global illumination on osx with intel
...
graphics cards.
2015-02-19 16:21:37 +11:00
hiker
626ae83f43
Added unit test for #1793 .
2015-02-19 16:21:00 +11:00
Vincent Lejeune
9641380171
Fix billboard transparency
2015-02-19 00:44:21 +01:00
Vincent Lejeune
a74c98ec76
Fix for GR GI
2015-02-18 23:45:57 +01:00
Vincent Lejeune
1a861c742c
Add a GR for GI in central_settings
2015-02-18 23:42:42 +01:00
hiker
5f9e4086af
Fixed #1476 (well, better a work around intel bugs).
2015-02-19 09:24:23 +11:00
Marianne Gagnon
bb682ca5fb
Apply workaround to fix #1869
2015-02-17 19:44:20 -05:00
Marianne Gagnon
0652780040
[OSX] brutally exit supertuxkart when pressing the window's close button. Fixes #1220 .
2015-02-17 19:13:13 -05:00
Marianne Gagnon
0ef2181448
Minor update to git ignore file
2015-02-17 19:07:56 -05:00
hiker
7f90d151c4
Use "Local Name" to fix #1977 .
2015-02-17 17:15:25 +11:00
hiker
ada5a20445
Added some (commented out) debug lines that are useful when comparing
...
different kart physics.
2015-02-17 17:14:53 +11:00
hiker
198d6470d7
Let medium kart accelerate a bit less.
2015-02-17 08:33:32 +11:00
hiker
f9bb17384c
Try to balande the different kart physics better.
2015-02-17 08:14:31 +11:00
hiker
93fa075471
Hopefully proper fix for #1938 (crash on osx when exiting race).
2015-02-17 00:14:26 +11:00
deve
93c5d7428f
Update .gitignore file.
2015-02-16 09:32:56 +01:00
Marianne Gagnon
12e583dde0
Add scripts to translate from Transifex
2015-02-15 20:45:52 -05:00
hiker
aae307c8b6
Fixed #1985 (improve message for per-player handicaps).
2015-02-16 09:35:49 +11:00
hiker
1a94788d2d
Tried VERY crude work-around for #1938 (crash when exiting a race on osx).
2015-02-15 21:32:06 +11:00
Marianne Gagnon
975aa7628b
Fix #1981
2015-02-14 18:36:03 -05:00
Marianne Gagnon
e6aea6e0b6
Improve tools and usage of XML encoding, fixes #1982
2015-02-14 18:30:23 -05:00
auriamg
e7a9f8f95d
Merge pull request #1963 from Flakebi/resolutions
...
Sort resolutions by size
2015-02-14 18:04:35 -05:00
Flakebi
92f78aae29
Improve sorting resolutions
2015-02-13 11:47:10 +01:00
Flakebi
6e8f8a15bd
Sort resolutions by size
2015-02-13 11:47:10 +01:00
hiker
cdb35b0804
Added missing initialisation, fixed line endings.
2015-02-13 08:42:09 +11:00
hiker
f437781dcc
Fix #1980 .
2015-02-13 08:41:19 +11:00
hiker
11f233938d
Cherry picked pull request #1917 .
2015-02-13 08:26:25 +11:00
hiker
f6542194d8
Fixed line length.
2015-02-13 08:16:38 +11:00
hiker
c4ccf16ba6
Merge pull request #1979 from leyyin/log-bad-requests
...
Add logging for API requests that are not successful.
2015-02-13 08:15:11 +11:00
Daniel Butum
769eaf4742
Log API requests that do not return success
2015-02-12 10:47:14 +02:00
Daniel Butum
cc4903737c
Add QtCreator project file to gitignore
2015-02-12 10:43:55 +02:00
hiker
4e88cb6753
Fixed #1978 (by removing unnecessary stopMusic in World, which actually
...
stops the menu music, not the tutorial music. It's unnecessary since
startMusic (main menu) later will first stop currently running music.
2015-02-12 16:56:25 +11:00
hiker
93c5012f57
Fixed incorrect label 'debug' for verbose messages and vice versa.
2015-02-12 16:49:16 +11:00
hiker
f589b2063e
Fix crash when going story mode while music is disabled.
2015-02-12 13:19:58 +11:00
hiker
c675b6f38c
Avoid warning at runtime about missing texture.
2015-02-12 13:00:12 +11:00
hiker
2d5f78974a
Merge pull request #1975 from Flakebi/sound
...
Set correct volume for last lap music
2015-02-12 08:02:10 +11:00
hiker
57414348fa
Merge pull request #1976 from Flakebi/nographics
...
Fix crash with --nographics
2015-02-12 08:00:18 +11:00
hiker
72ce6c8bf6
Fixed race over music not playing when sfx are disabled.
2015-02-12 07:57:51 +11:00
hiker
33f87e28f7
Prevent flooding of terminal with "music not playing" messages, added
...
debug error check.
2015-02-12 07:57:25 +11:00
Flakebi
d4f982d7dd
Fix crash with --nographics
2015-02-11 20:52:05 +01:00
Marianne Gagnon
2ba46cff9e
Merge remote-tracking branch 'Flakebi/skidding-light'
2015-02-10 20:09:03 -05:00
hiker
98195c4079
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-02-11 09:18:20 +11:00
hiker
f57ad3c1ed
Try to fix #1972 (things went wrong when stk tried to delete uninitialised
...
sound sources).
2015-02-11 09:16:48 +11:00
Vincent Lejeune
401187dcf0
Try to fix 1937
2015-02-10 22:38:15 +01:00
hiker
a598b0ed1a
Fix after-race sfx which wasn't playing anymore (caused by quick sound
...
effects not having update() called, which is necessary to detect if they
have stopped playing).
2015-02-11 08:06:28 +11:00
Flakebi
91d042da31
Set correct volume for last lap music
2015-02-10 16:52:50 +01:00
hiker
84a84b6776
Try to fix playing without music.
2015-02-10 17:31:35 +11:00
hiker
7d0875878b
Simplified startMusic call.
2015-02-10 17:27:07 +11:00
hiker
ec598d6f41
Start music properly in thread, avoid starting track music more than once.
2015-02-10 17:07:46 +11:00
hiker
2106e0caaf
Merge branch 'minor-fixes' of https://github.com/Flakebi/stk-code into Flakebi-minor-fixes
2015-02-10 15:41:28 +11:00
hiker
8ade65791e
Merge branch 'Flakebi-rename-h'
2015-02-10 11:38:05 +11:00
hiker
325d1a11c1
Merge branch 'rename-h' of https://github.com/Flakebi/stk-code into Flakebi-rename-h
2015-02-10 11:34:21 +11:00
hiker
95ecd0eed1
Let the audio thread run 'all the time' by sending itself an
...
update package after the queue is empty.
2015-02-10 09:22:23 +11:00
hiker
58f0ce412e
Removed unnecessary m_adjusted_gain variable and resetTempVolume
...
function. Fixed that music volume in race could not be changed.
2015-02-10 08:32:05 +11:00
Flakebi
604e712b81
Apply konstin's idea which makes it much shorter
2015-02-09 22:28:47 +01:00
Flakebi
683f42527e
Add light effect when skidding
2015-02-09 15:18:53 +01:00
Flakebi
f86a92286c
Set the music before updating to fix -N too
2015-02-09 01:56:56 +01:00
Flakebi
4abe3ce327
Make music and sound work with fast starts, fixes #1291
2015-02-09 01:22:47 +01:00
Flakebi
d5cbf4fc6b
Math works better with brackets
2015-02-09 01:22:47 +01:00
auria
13bfee5ce1
Do not output line numbers for strings that come from XML, since XML comments are extracted from a fake .h ffile and their location in that intermediary file has no use
2015-02-08 18:17:05 -05:00
auria
671e3829a4
Do not extract strings from wip-tracks. Fixes #1967
2015-02-08 18:05:42 -05:00
hiker
70ed2b47d0
Fix #1962 .
2015-02-09 08:22:35 +11:00
hiker
08493448be
Merge branch 'Flakebi-clang-fix'
2015-02-08 22:24:05 +11:00
hiker
ca2b5335dc
Removed hopefully unnecessary string copy.
2015-02-08 22:22:06 +11:00
hiker
33cb6d9356
Merge branch 'clang-fix' of https://github.com/Flakebi/stk-code into Flakebi-clang-fix
2015-02-08 22:12:39 +11:00
hiker
43aadcef34
Follow coding style for #includes.
2015-02-08 22:12:08 +11:00
Marianne Gagnon
758eb6e003
Use label with word_wrap instead of list for terms. See #1812
2015-02-06 20:11:15 -05:00
Vincent Lejeune
13393ef04b
Fix 1808
2015-02-07 01:55:14 +01:00
Flakebi
d56472c224
Rename some .h files to .hpp
2015-02-05 21:32:17 +01:00
Flakebi
f386f05749
Silence even more warnings
2015-02-05 20:13:33 +01:00
Flakebi
31d4c34fbb
Improve clang bugfix
2015-02-05 15:18:57 +01:00
hiker
2d4200c754
Removed rather embarrassing left-over debug code.
2015-02-05 18:29:05 +11:00
hiker
0ab3d12eab
Fixed invalid name openal error when setting the volume of fast
...
music (apparently caused by trying to set the music of the actually
freeded normal music just before).
2015-02-05 15:22:20 +11:00
hiker
5f59985ef1
Added documentation about which asset version is used for which
...
STK version.
2015-02-05 13:59:16 +11:00
Flakebi
38f0e31a48
Fix clang build, freeing memory too early
2015-02-05 02:58:55 +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
Marianne Gagnon
ecad7c2996
Mark some emitters as important so that they are never disabled by options, fixes #1808
2015-02-04 20:13:06 -05:00
auriamg
f4909d7c46
Merge pull request #1957 from Flakebi/highscore
...
Improve the layout of the race result screen
2015-02-04 18:50:54 -05:00
hiker
1e994748cc
Properly handle volume setting from sfx thread, removed MusicManager
...
from friends of MusicInformation to enforce this. Added error checks
to properly detect location of warning when faster music is plaued
(still under investigation).
2015-02-05 09:22:13 +11:00
konstin
d489393ff8
set "Adjust Lights" base position to camera position
2015-02-04 19:31:11 +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
1aa6f7c173
Improve the layout of the race result screen
2015-02-04 14:42:10 +01:00
Flakebi
0051254f03
Merge branch 'origin/master' into fixes
...
Conflicts:
src/graphics/graphics_restrictions.cpp
2015-02-04 12:28:39 +01:00
hiker
ddc60f98a1
Removed unnecesary #include.
2015-02-04 18:18:37 +11:00
hiker
eb37092643
Moved all remaining music commands to be handled by sfx thread.
2015-02-04 17:08:22 +11:00
hiker
6aa9ff86a4
Removed unnecessary function.
2015-02-03 16:29:54 +11:00
hiker
b2049eae48
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-02-03 16:28:09 +11:00
hiker
4658bd83de
Handle playing and stopping of music in separate thread. Make the sfx
...
manager thread use CanBeDeleted to allow for timed deleting.S
2015-02-03 16:27:05 +11:00
hiker
b9a7c11dab
Removed unnecessary #includes.
2015-02-03 14:30:18 +11:00
Deve
f2a738f3d9
Fixed problems with non-supported languages.
...
These language files such as "sco.po" or "jbo.po" weren't ignored on STK side and they were displayed in languages list without a name.
2015-02-02 19:13:40 +01:00
hiker
c37e1eec0d
Updated documentation and minor style changes.
2015-02-02 16:31:54 +11:00
auriamg
c7060cf0e2
Merge pull request #1949 from AMDmi3/patch-1
...
Include unistd.h for usleep()
2015-02-01 21:19:05 -05:00
Vincent Lejeune
831c1e7285
Duplicate rule for gallium
2015-02-02 00:42:16 +01:00
Dmitry Marakasov
94bf5949f5
Include unistd.h for usleep()
...
Fixes build on FreeBSD
2015-02-02 00:08:30 +03:00
Vincent Lejeune
1e0a9022a3
Fix attempt for void scene in non advanced pipeline
2015-02-01 19:46:49 +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
Deve
2c8639f105
Correct icons path
2015-01-30 18:36:10 +01:00
deve
01835f3e5d
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-01-30 11:42:26 +01:00
deve
ab01161c28
Check more plural forms formats.
...
Launchpad atm. returns plural forms format without parentheses. We can just check both cases - with and without parentheses.
2015-01-30 11:40:33 +01:00
hiker
0b0c1fbaee
Workaround or fix for #1922 - warning about plural form.
2015-01-30 16:29:29 +11:00
hiker
4cf20ff73b
Fix #1940 (achievement do not contain text).
2015-01-30 16:18:26 +11:00
hiker
85b5654d14
The uninstaller is now more secure, it will not delete recursively
...
the install directory anymore, instead only delete subdirs recursively,
and then delete individual files and finally the install directory
non recursively.
2015-01-30 16:17:04 +11:00
hiker
be661c85f8
Merge branch 'Odd0002-master'
2015-01-30 14:18:41 +11:00
hiker
36e903429d
Merge branch 'master' of https://github.com/Odd0002/stk-code into Odd0002-master
2015-01-30 14:18:00 +11:00
Vincent Lejeune
6a50b4b9ac
Revert "WIP wayland"
...
This reverts commit d33efd8800 .
2015-01-29 18:05:01 +01:00
Vincent Lejeune
d33efd8800
WIP wayland
2015-01-29 18:00:33 +01:00
Odd0002
8abccf3ee4
Vastly improve data optimization script
...
Changes include:
- Make each type of data optimization optional
- Multithread all data optimization
- Add B3D to B3DZ compression (disabled by default)
- Optimize images in many more ways
- More comments describing each section and some explanations
- Ability to vastly increase runtime for a few more mb saved (enabled by default; depends on types of optimizations used)
- Probably a few more minor changes
2015-01-27 22:50:52 -06:00
Marianne Gagnon
8755b1b72a
Fix CMake files on OS X to be packaging-friendly
2015-01-27 20:09:00 -05:00
hiker
62bbed278d
Fixed duplicated entries in credits.
2015-01-28 11:05:16 +11:00
hiker
6482d8cc80
Fixed osx compilation (hopefully).
2015-01-28 11:04:40 +11:00
hiker
e724770af5
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-28 09:41:43 +11:00
hiker
a13e13d1d0
Updated donation section.
2015-01-28 09:37:41 +11:00
hiker
82d2240da6
Added support for editor installation.
2015-01-27 16:25:17 +11:00
Vincent Lejeune
886c43ea07
Do not assume glMemoryBarrier does exist if buffer storage does.
...
There is no way to add a fence for client upload then.
2015-01-27 00:13:31 +01:00
hiker
98bf6ccef0
Added test cases for problems discovered with version numbers in #1923 (which
...
have been fixed by now in 07dffdc ).
2015-01-27 07:59:42 +11:00
Deve
07dffdcbc2
Fixed bug with comparing versions
2015-01-25 21:36:24 +01:00
Vincent Lejeune
b7eca5e5c3
Sleep when waiting for sync
2015-01-24 22:27:47 +01:00
Vincent Lejeune
56f1dff65d
Split scattering function in ambiant/point light part
...
This fix #1913
2015-01-24 20:00:04 +01:00
hiker
6d7adcf08d
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-23 11:06:50 +11:00
hiker
6088de960e
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-23 11:09:53 +11:00
Vincent Lejeune
9dcdd53425
Add advanced pipeline GR to hd3000
2015-01-23 01:00:05 +01:00
hiker
27ed23a6e7
Fixed warnings about missing screenshots caused by 'prefetching'
...
screenshots.
2015-01-23 10:59:16 +11:00
Vincent Lejeune
29f19711db
Add a rule in graphic restriction for advanced pipeline
2015-01-23 00:56:14 +01:00
hiker
173abcbd95
Merge branch 'leyyin-master'
2015-01-23 10:53:59 +11:00
hiker
b8ba6f9eb7
Merge branch 'master' of https://github.com/leyyin/stk-code into leyyin-master
2015-01-23 10:35:30 +11:00
Flakebi
595cacfeb6
Someone uses that variable now...
2015-01-23 00:29:33 +01:00
Vincent Lejeune
fdfab19382
Use a reference in parseSceneManager to avoid copying
2015-01-23 00:16:28 +01:00
Flakebi
d6fee72295
Merge branch 'origin/master' into fixes
...
Conflicts:
src/graphics/graphics_restrictions.cpp
2015-01-23 00:15:40 +01:00
Deve
4f5b84a134
Replace spaces by tabs to keep consistency with other irrlicht files.
2015-01-22 18:59:55 +01:00
Deve
5117ab0a0e
Fixed issues with clipboard on linux.
...
Previous version didn't work for me at all when I tried to copy text from external application.
It also fixes problem with crashing GTK3 applications.
2015-01-22 18:52:26 +01:00
Daniel Butum
f18167d345
Fix abortable requests which in turn fixes the sending of the 'client-quit' request to the server when quiting
2015-01-22 17:56:30 +02:00
hiker
9ee520e95b
Fixed version recognition for some amd/ati cards; added test cases.
2015-01-22 16:43:25 +11:00
hiker
94d663eead
Fixed compiler warnings.
2015-01-22 16:29:06 +11:00
Marianne Gagnon
76156920de
Update credits
2015-01-21 20:26:42 -05:00
Marianne Gagnon
e62253c76a
Fix #1897
2015-01-21 20:24:41 -05:00
hiker
e17add7bc8
Allow users to enable high res textures, even if their default
...
value stats that they should be disabled.
2015-01-22 11:38:15 +11:00
hiker
aab8066611
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-21 09:17:14 +11:00
hiker
678eeac836
Disable highdef textures on intel cards on windows.
2015-01-21 09:15:41 +11:00
Vincent Lejeune
788732993f
Add pop up for Mesa < 10.3
2015-01-20 22:50:39 +01:00
hiker
b6c26651e0
Pre-fill online username with local username.
2015-01-21 08:14:56 +11:00
Flakebi
8e4bb4c22c
Add notice about currently unused code
2015-01-20 21:22:46 +01:00
hiker
7725a26dfb
Fixed compiler warning.
2015-01-20 16:40:12 +11:00
hiker
f923a317a8
Select offline tab when internet access is disabled.
2015-01-20 16:39:06 +11:00
hiker
27c51c56d0
Merge branch 'leper-freebsd-fixes'
2015-01-20 15:15:10 +11:00
hiker
f724369a8e
Merge branch 'freebsd-fixes' of https://github.com/leper/stk-code into leper-freebsd-fixes
2015-01-20 14:56:25 +11:00
Vincent Lejeune
b5243089a5
Enable dynamic lights by default
2015-01-20 03:20:33 +01:00
Vincent Lejeune
6c78278292
Remove Apple section in central_settings
...
Hopefully it will just work
2015-01-20 03:11:54 +01:00
Vincent Lejeune
4fd08fa791
Try to fix graphical restriction on OSX
2015-01-20 03:07:23 +01:00
hiker
21eace8f80
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-20 12:22:03 +11:00
hiker
e62dfe2fe5
Updated Asian fonts.
2015-01-20 12:21:22 +11:00
Vincent Lejeune
d35e4d3e7c
Use radeon instead of AMD for graphic restriction
2015-01-20 02:08:46 +01:00
hiker
c352052719
Updated translations.
2015-01-20 11:45:36 +11:00
deve
b2f918455b
Fixed mingw compilation
2015-01-19 10:52:11 +01:00
deve
a0fc3c98e8
Fixed cmake warnings
2015-01-19 09:19:33 +01:00
Vincent Lejeune
121e9d659d
Update INSTALL.md
2015-01-19 02:44:10 +01:00
Vincent Lejeune
573ad4bb1c
Fix make install on linux
2015-01-19 02:22:40 +01:00
Vincent Lejeune
4d9835df0d
And on all os
2015-01-19 00:48:02 +01:00
Vincent Lejeune
8e221df753
Ask newer driver if catalyst below 14.4
2015-01-19 00:46:12 +01:00
Vincent Lejeune
95cb413e39
Remove comment in graphic restriction
2015-01-19 00:43:48 +01:00
hiker
a042397a59
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-19 10:38:31 +11:00
hiker
234d59a5fd
Fix error in xml causing a crash.
2015-01-19 10:38:04 +11:00
hiker
ee9b734edf
Merge pull request #1788 from konstin/old_files
...
deleting some really old doc
2015-01-19 10:30:24 +11:00
hiker
79df2151e9
Add a popup window to be shown first if it is detected that
...
the driver is too old.
2015-01-19 10:21:41 +11:00
hiker
64ce3897e6
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-19 10:18:38 +11: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
hiker
a74a20c699
Enable all message dialogs to work in the DialogQueue.
2015-01-18 12:40:06 +11:00
Marianne Gagnon
636a9bc3cf
Try to fix travis build
2015-01-17 20:21:31 -05:00
Vincent Lejeune
0577099551
Move zlib/libpng/jpeglib outside of irrlicht tree and use system lib on linux
2015-01-18 02:02:10 +01:00
Marianne Gagnon
2e14a8fe20
Do not crash if user config contains an invalid langage, fixes #1905
2015-01-17 19:19:25 -05:00
Vincent Lejeune
73a20508ef
Remove unused shaders
2015-01-17 02:49:48 +01:00
Marianne Gagnon
bbf8a6c934
Merge "cherry-picked" interesting commits from pull request #1850
2015-01-16 18:35:37 -05:00
Marianne Gagnon
0ba0b2fe23
Change previous commit, do it the old way, since travis still uses gcc 4.6
2015-01-16 18:31:01 -05:00
Vincent Lejeune
c8bd922314
Fix attempt for #1836
...
Reinitialize m_sun_interposer each time we load a track
2015-01-17 00:26:06 +01:00
Marianne Gagnon
d2e84c8e86
Fix uninitialized variable
2015-01-16 18:18:56 -05:00
Vincent Lejeune
6e2f2becf7
Fix analysis false positive
2015-01-16 20:41:50 +01:00
Vincent Lejeune
a5230f68da
Remove wad support
2015-01-16 19:07:21 +01:00
Vincent Lejeune
184b52966e
Remove npk and pak support
2015-01-16 19:02:03 +01:00
Vincent Lejeune
b3195e378d
Remove support for lzma and aes encryption
2015-01-16 18:45:52 +01:00
Vincent Lejeune
b4f78070fa
Remove extra defines
2015-01-16 18:34:40 +01:00
Vincent Lejeune
a831b4c9db
Remove bzip2 files
...
Not used anyway
2015-01-16 18:31:51 +01:00
hiker
02f4aa3015
Fixed crash (in race).
2015-01-16 14:58:40 +11:00
Marianne Gagnon
d7266c3300
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-01-15 20:18:39 -05:00
Marianne Gagnon
84821ad604
Add focus callback to GUI engine
2015-01-15 20:18:31 -05:00
Vincent Lejeune
cadc4b3209
Remove 2 deprecated interfaces
2015-01-16 01:59:41 +01:00
Vincent Lejeune
1fb99990b4
Remove light volume related code
2015-01-16 01:57:35 +01:00
hiker
111b3f6361
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-16 11:55:31 +11:00
hiker
5f4ce613c0
Updated help text for new register screen layout.
2015-01-16 11:54:59 +11:00
Vincent Lejeune
c1d85e8674
Remove shadow volume code
...
We use shadowmap
2015-01-16 01:51:56 +01:00
Marianne Gagnon
d3708ba798
Avoid division by 0 in sfx
2015-01-15 19:40:56 -05:00
Vincent Lejeune
c68fee0a07
Remove extra discarded ifdefs
2015-01-16 01:27:17 +01:00
Vincent Lejeune
4151edfd99
Remove RGB support
2015-01-16 01:23:59 +01:00
Vincent Lejeune
510c10153c
Remove WAL/LMP support
2015-01-16 01:20:40 +01:00
Vincent Lejeune
9d99fb65e5
Remove DDS support and its scary legal notice
2015-01-16 01:07:48 +01:00
Vincent Lejeune
222f335300
Remove TGA support
2015-01-16 01:02:48 +01:00
Vincent Lejeune
084350ce40
Remove PCX support
2015-01-16 00:54:46 +01:00
Vincent Lejeune
8f51be8766
Remove PSD support
2015-01-16 00:44:32 +01:00
Vincent Lejeune
0856204b80
Remove PPM support
2015-01-16 00:38:53 +01:00
Vincent Lejeune
f22cf2a05e
Use a fullscreen pass for skybox
2015-01-15 20:50:19 +01:00
Vincent Lejeune
70e8b4c854
When there are 8 lod level, 7 is the max
2015-01-15 19:52:48 +01:00
Vincent Lejeune
86b2d2f327
Remove old functions
2015-01-15 18:52:41 +01:00
Vincent Lejeune
38dcce8fb5
Fix race condition when calculing SH coeffs
2015-01-15 02:54:10 +01:00
auriamg
c5cf42755f
Merge pull request #1882 from math07/working
...
Make note spinner values of addons search bar readable in low resolution
2015-01-14 19:28:53 -05:00
samuncle
5a2ff025bd
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-01-15 00:12:34 +01:00
samuncle
fc670cecf2
Add two new particle effect
2015-01-15 00:11:14 +01:00
auriamg
1baa51418f
Merge pull request #1895 from marcoll/0.8.2-beta
...
Fix music stop problem when loading track selection screen
2015-01-13 18:09:04 -05:00
auriamg
432102b067
Merge pull request #1899 from konstin/dev
...
Add the ability to override asset search patch in cmake; close #1415
2015-01-13 18:04:09 -05:00
Deve
cacb474c42
Add initial values in TrackObject
2015-01-13 17:57:16 +01:00
Deve
6e4f8eef9e
Make sure that we have created SoccerWorld before typecasting
2015-01-13 17:49:06 +01:00
hiker
3eb2d87029
Fix crash first time STK is run.
2015-01-13 17:07:29 +11:00
hiker
593e52dd6f
Reduced indentation somewhat.
2015-01-13 17:04:08 +11:00
hiker
21d27f99e8
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-13 16:51:02 +11:00
hiker
a45867244f
Added unit testing for all currently know variations of mesa version
...
numbers. Fixed all cases in which an incorrect version was detected
previously.
2015-01-13 16:49:10 +11:00
Marianne Gagnon
a2c8e1d982
Prevent crashes due to invalid values in shadow resolution
2015-01-12 19:05:54 -05:00
Vincent Lejeune
08cb4b4297
Fix tangent/bitangent computation
...
Shouldn't make any difference since we don't rescale that much
2015-01-12 23:01:35 +01:00
konstin
2c7474af02
adding the possibility to override STK_INSTALL_DATA_DIR_ABSOLUTE; This was necessary to create a ppa
2015-01-12 22:48:06 +01:00
Vincent Lejeune
cfbbeef441
Clamp lod level in SSAO shader later.
2015-01-12 22:47:53 +01:00
hiker
ea59e77d5f
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-13 08:13:18 +11:00
hiker
ba484d8be2
Fixed incorrect default selection in tabbed screen.
2015-01-13 08:12:43 +11:00
hiker
d70a398cc8
Merge branch 'Flakebi-fixes'
2015-01-13 08:06:39 +11:00
Deve
2f0524dcbd
Fixed memory corruption in three strikes battle
2015-01-12 21:06:47 +01:00
Vincent Lejeune
95e2213b1e
SSAO can me 0 sometimes
2015-01-12 20:13:11 +01:00
Vincent Lejeune
b8ab68b31a
Fix precision issue in SSAO
2015-01-12 20:05:40 +01:00
Vincent Lejeune
3bcdc04279
Fix precision issue in CIE/RGB conversions
2015-01-12 20:05:16 +01:00
hiker
47026e614c
Merge branch 'fixes' of https://github.com/Flakebi/stk-code into Flakebi-fixes
2015-01-12 22:29:08 +11:00
hiker
d47981dd43
Auto-login a new user from the register screen, without requiering
...
to select the user or enter the password again.
2015-01-12 22:27:45 +11:00
deve
1b5ee918f0
Fixed inconsistency in CREDITS file.
...
GP editor wasn't available in 0.8.1 version.
2015-01-12 09:56:20 +01:00
hiker
370091e1b9
Removed debug code.
2015-01-12 16:36:42 +11:00
Marianne Gagnon
c791fd46c1
Path fix attempt
2015-01-11 21:08:46 -05:00
hiker
342cb82653
Merge branch 'new_register_screen'
2015-01-12 12:19:56 +11:00
hiker
a2006c3e16
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-12 12:10:23 +11:00
Marianne Gagnon
81bd79a736
Use absolute paths to lookup materials, fixes karts with identical texture names being in conflict. Also, when a texture is misisng, log an error but don't abort
2015-01-11 20:15:37 -05:00
hiker
7bd1126df8
Improve flow from register screen back to user screen. Now password
...
and online user name do not need to be added again.
2015-01-12 09:41:34 +11:00
Vincent Lejeune
8798eda41b
Remove hardware skinning files
2015-01-11 00:59:09 +01:00
Vincent Lejeune
c18f2bc87b
Blur according to shadow resolution in ESM case
2015-01-11 00:51:22 +01:00
Vincent Lejeune
019ec344fe
Allow to reduce shadow resolution
2015-01-11 00:45:38 +01:00
Vincent Lejeune
cf3e79484c
Remove Scene Loader files
2015-01-11 00:24:26 +01:00
Vincent Lejeune
78ff00fc36
Revert "Remove irrlicht parallax map"
...
This reverts commit c17a093d83 .
2015-01-11 00:18:29 +01:00
Vincent Lejeune
5f6700d355
Remove CSoftwareTexture2.h
2015-01-11 00:10:12 +01:00
Vincent Lejeune
f1e6212b56
Remove IDepthBuffer
2015-01-11 00:02:37 +01:00
Vincent Lejeune
f68ac808d6
Remove software depth buffer
2015-01-10 23:58:28 +01:00
Vincent Lejeune
c17a093d83
Remove irrlicht parallax map
2015-01-10 23:54:01 +01:00
Vincent Lejeune
b7f124de62
Remove irrlicht normal map renderer
2015-01-10 23:49:08 +01:00
Vincent Lejeune
e994712c01
Remove cgmaterial files
2015-01-10 23:44:25 +01:00
Vincent Lejeune
a6b2aa8217
Merge branch 'minlicht'
2015-01-10 21:31:00 +01:00
Vincent Lejeune
6bd852c95f
Remove Quake 3 level load
2015-01-10 21:22:23 +01:00
Vincent Lejeune
a08a9b1af4
Remove remaining MD2 support
2015-01-10 21:10:07 +01:00
Vincent Lejeune
53c8df6733
Remove remaining MD3 support
2015-01-10 21:03:44 +01:00
Vincent Lejeune
231ee1bad4
Forgot to remove some files
2015-01-10 20:50:03 +01:00
Vincent Lejeune
91bcacfd19
Remove CG
2015-01-10 20:44:19 +01:00
Vincent Lejeune
3375b4b93c
Various clean up
2015-01-10 20:25:34 +01:00
Vincent Lejeune
d271ccd2ef
Partly remove MD2 support
2015-01-10 20:14:41 +01:00
Vincent Lejeune
e157bc8601
Partly remove MD3 support
2015-01-10 20:11:10 +01:00
Vincent Lejeune
9a0eacdfdb
Remove WinCE support
2015-01-10 20:08:32 +01:00
Vincent Lejeune
952128928a
Remove OBJ support
2015-01-10 20:02:17 +01:00
Vincent Lejeune
2c82f8d4b0
Remove BSP support
2015-01-10 19:50:48 +01:00
Vincent Lejeune
65f6f0259e
Remove STL (stereolitography...) support
2015-01-10 19:39:53 +01:00
Vincent Lejeune
4c2618211a
Remove LMTS support
2015-01-10 19:32:57 +01:00
Vincent Lejeune
c4903cb8ec
Remove My3D
2015-01-10 19:29:14 +01:00
Vincent Lejeune
e444431572
Remove LWO
2015-01-10 19:21:55 +01:00
Vincent Lejeune
008f2d3422
Remove CSM support
2015-01-10 19:02:40 +01:00
Vincent Lejeune
43b1542dc9
Remove OCT support
2015-01-10 18:30:04 +01:00
Vincent Lejeune
d5cfaab13b
Remove PLY support
2015-01-10 18:14:14 +01:00
Vincent Lejeune
48c45f1910
Remove SMF related code
2015-01-10 18:03:40 +01:00
Marianne Gagnon
bf1fa71be9
Vlj was a little too humble when adding himself to the credits ;)
2015-01-09 21:58:06 -05:00
Vincent Lejeune
20abd15a55
Remove DMF
2015-01-10 03:47:40 +01:00
Vincent Lejeune
9bbe8c61dc
Remove Collada support
2015-01-10 03:18:17 +01:00
Vincent Lejeune
a012a3a14f
Remove IrrScene loader
2015-01-10 03:13:14 +01:00
Vincent Lejeune
7dd48f4d3b
Add myself to the credits
2015-01-09 22:35:21 +01:00
Flakebi
3128e59d22
Update checkboxes and textfield in the tabbed user screen too
2015-01-09 21:37:02 +01:00
Marc Coll Carrillo
798130a40d
Fix music stop problem when loading track selection screen
...
Populate irrlicht's texture cache on startup with all the track
screenshots to avoid the problem
2015-01-09 16:23:37 +01:00
hiker
5ccedfc349
Use tabs in register screen (work in progress).
2015-01-09 09:42:18 +11:00
Deve
d0f96a7673
Allow to cross-compile Windows build under Linux using MinGW.
...
It works fine on Ubuntu. You only need to use:
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw.cmake
2015-01-08 21:46:59 +01:00
deve
d2c8f2b225
Better finding pthread library.
...
In some case it was found for me in C:\Program Files\Supertuxkart 0.8.1
2015-01-08 13:24:15 +01:00
hiker
b0879514fb
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-08 13:33:16 +11:00
hiker
520625adae
Removed 'sign' (in/out), use 'log' (in/out) instead.
2015-01-08 13:32:50 +11:00
Marianne Gagnon
91b4c6e08a
Apply modified version of pull request #1881 , fixing #1859
2015-01-07 19:53:25 -05:00
Marianne Gagnon
b55d1a2367
Set minimum OS X version in Info.plist, fixes #1863
2015-01-07 18:46:35 -05:00
hiker
526b38fc2a
Added some kind of unit testing for version numbers in graphics
...
restrictions. It's only doing asserts for the tests :) Use
--unit-testing command line switch.
2015-01-08 10:05:19 +11:00
hiker
1eb51db5ea
Added command line option for keyboard debugging.
2015-01-08 09:05:04 +11:00
hiker
474012c442
Prevent potential NULL pointer access.
2015-01-08 08:15:58 +11:00
hiker
d070474445
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-08 08:11:30 +11:00
hiker
8b0a2f303c
Try to fix #1879 : avoid using NULL pointer in case of ignored
...
devices.
2015-01-08 08:09:17 +11:00
Vincent Lejeune
cc43861896
Tangent/Bitangent direction only matters.
2015-01-07 21:51:23 +01:00
Deve
2b6ef130da
Make sure that next track is not higher than tracks size.
2015-01-07 21:42:22 +01:00
Deve
85800f48e6
Disable saving GPs on abort for now because it requires proper implementation.
...
m_next_track should have higher value in this case because race is already finished.
2015-01-07 21:24:52 +01:00
Deve
57ab9e5ac5
Remove saved GPs only in offline mode during starting new race
2015-01-07 21:19:04 +01:00
Deve
2d9e38f7f6
Display continue button only if next track isn't first available in GP.
...
Fixed a crash.
2015-01-07 21:15:53 +01:00
Deve
b726b59427
Remove all saved data for specified GP during start new race.
...
Generally it shouldn't happen because the rule is one save per one GP, but it is possible with old config.xml files.
2015-01-07 18:41:52 +01:00
Deve
cd9bd36520
Don't create new GP save when it's already created
2015-01-07 18:32:32 +01:00
hiker
58f659d43e
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-07 12:18:12 +11:00
Vincent Lejeune
798c2b5355
Forgot a ","
2015-01-07 01:55:22 +01:00
hiker
afc154632c
Fixed typo.
2015-01-07 10:07:43 +11:00
Vincent Lejeune
9b6a1dd69d
Add support for AMD in graphic restrictions system
2015-01-06 23:56:50 +01:00
Vincent Lejeune
02cf7afcf3
Use graphic restrictions system for all CVS query
2015-01-06 23:46:36 +01:00
hiker
596366c3e0
Merge branch 'math07-ach'
2015-01-07 08:40:59 +11:00
hiker
c39f5d0585
Merge branch 'ach' of https://github.com/math07/stk-code into math07-ach
2015-01-07 08:32:16 +11:00
hiker
399bdca947
Simplified implementation of graphical restrictions.
2015-01-07 08:03:49 +11:00
Mathieu Laprise
24944a810c
Add a new achievement : Mosquito Hunter
2015-01-06 14:54:21 -05:00
hiker
949c16cfb0
Changed GrpahicsRestriction API to just use one isDisabled(...) function.
2015-01-06 17:09:16 +11:00
Marianne Gagnon
3a06962ec8
Don't use the digits font to render text, fixes #1864
2015-01-05 20:05:31 -05:00
Marianne Gagnon
c87531fc1b
Disable auto-exit-on-animation-over for feature unlocked screen, should fix #1819
2015-01-05 19:36:04 -05:00
samuncle
91b062ee52
Add amanda in the credits
2015-01-06 01:04:09 +01:00
Mathieu Laprise
765484efd9
Make note spinner values of addons search bar readable in low resolutions
2015-01-05 19:04:01 -05:00
hiker
93a3e6c3da
Allow irrlicht to use an existing file system (instead of creating
...
a new each time a device is created). This simplifies the implementation
of the file manager (now the file manager always exists, even when
deleting the dummy device and creating the real device).
2015-01-06 07:48:32 +11:00
hiker
32366015b7
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-05 15:31:07 +11:00
Vincent Lejeune
b756ebd537
Try to fix acnee.
...
There is still some acnee on third and fourth cascade though but barely
noticeable
2015-01-05 01:30:11 +01:00
hiker
00be07abe6
Force automatic re-run of cmake.
2015-01-05 08:16:08 +11:00
hiker
001544133f
Fixed compiler warnings.
2015-01-05 08:15:51 +11:00
Vincent Lejeune
0d8bb12ec9
VAOManager factorisation
2015-01-04 19:42:45 +01:00
Deve
7a0f635170
Display message about more points to enter challenge only once at the same time.
...
It fixes #1870 .
2015-01-04 18:01:28 +01:00
Deve
752ad0e456
Fixed numpad keys on linux.
...
Patches ported from upstream irrlicht.
2015-01-04 16:09:48 +01:00
auria
f672bbb77e
Extract strings
2015-01-02 18:38:11 -05:00
auriamg
4beb9cdc1c
Merge pull request #1877 from leper/ngettext
...
Support plural translations. Fixes #1852 .
2015-01-02 18:34:47 -05:00
leper
96220966ec
Add plural forms for Gaelic.
2015-01-03 00:25:53 +01:00
leper
d21f0ffa2b
Support plural translations. Fixes #1852 .
2015-01-03 00:25:53 +01:00
auriamg
de82e353e1
Merge pull request #1871 from leper/warning_fixes
...
Fix some warnings.
2015-01-02 18:24:12 -05:00
leper
cb3babef64
Fix some warnings.
2015-01-02 18:16:34 +01:00
leper
1718cb2fce
FreeBSD build fixes.
...
Irrlicht change also submitted upstream https://sourceforge.net/p/irrlicht/patches/300/ .
2015-01-02 17:58:16 +01:00
Deve
d6c099b50b
Move window to max available position if remembered position is out of range.
2015-01-02 13:48:36 +01:00
Deve
bab97833b7
Don't restore window position if it's out of the screen.
...
This should be done by window manager anyway.
2015-01-02 13:05:41 +01:00
auriamg
ca822199b3
Merge pull request #1862 from konstin/lights
...
Make the lights adjustable in a race via the debug menu
2015-01-01 20:17:09 -05:00
konstin
84f5e98e39
corrections from comments
2015-01-02 02:12:43 +01:00
konstin
fa10561d09
Merge branch 'master' of https://github.com/supertuxkart/stk-code into lights
2015-01-01 23:05:26 +01:00
Vincent Lejeune
d84d6381ea
Remove lightning call
...
It should use modern opengl call.
2015-01-01 21:12:15 +01:00
Vincent Lejeune
d849663877
Fix for #1818 thanks to math07
...
Intel gpu seems to have issue capturing screenshot from GL_FRONT
framebuffer, use GL_BACK instead.
2015-01-01 20:46:00 +01:00
Vincent Lejeune
b521691583
Do not export depth value for esm if not enabled
2015-01-01 20:33:52 +01:00
Vincent Lejeune
3451d4e9a0
Add a ESM/PCF switch
2015-01-01 20:06:34 +01:00
Vincent Lejeune
883ab43e29
Assume __VERSION >= 130 everywhere
2015-01-01 03:18:13 +01:00
Vincent Lejeune
1985f188a3
Add some docs
2014-12-31 22:00:47 +01:00
Vincent Lejeune
8c4b2862c0
Factorise shadow matrix computation in a separate file.
2014-12-31 21:39:57 +01:00
konstin
531b94a0ac
cleaning up and adding radius and energy sliders
2014-12-30 18:47:25 +01:00
konstin
334245183e
finer grained control over the values
2014-12-30 18:47:25 +01:00
konstin
7fb129ab05
Make red, green and blue of the nearest visible lamp changable
2014-12-30 18:47:25 +01:00
Deve
c36ca55451
Restore tab name in tracks screen to avoid problems with gettext and to keep consistency with arenas/easter egg screens
2014-12-30 13:22:25 +01:00
Marc Coll Carrillo
00d27b3c63
Don't translate internal "nextgen" track group
2014-12-30 13:19:42 +01:00
Marc Coll Carrillo
a9193e09fd
Unify random GP's ID and translatable name in a single place
2014-12-30 13:19:24 +01:00
Marc Coll Carrillo
9e6cd2a958
Fix translation problems in random GP screen
2014-12-30 13:19:10 +01:00
Marianne Gagnon
3a1b0bc351
Merge remote-tracking branch 'Math07/working'
2014-12-29 19:25:04 -05:00
Deve
c0d7035c26
Use translations in achievements
2014-12-28 22:15:11 +01:00
Mathieu Laprise
2d0503dcfb
Fix a typo regarding my latest commit on issue #1837
2014-12-28 07:58:36 -05:00
Marianne Gagnon
2c5a4a4ffa
Merge remote-tracking branch 'Flakebi/fixes'
2014-12-27 18:25:03 -05:00
Deve
2481db7bac
Fix typo in previous commit
2014-12-27 23:03:28 +01:00
Deve
aa9de807f9
Generate achivements in supertuxkart.pot
2014-12-27 22:50:03 +01:00
Deve
3e6677b755
Rename "title" to "name" in achievements to keep consistency with other xml files such as tracks and karts
2014-12-27 22:43:25 +01:00
Deve
a80d449aaf
Improved update_pot script
...
- added stk-assets path
- restored karts and tracks
- added achevements
- better formatting and faster executing
Updated supertuxkart.pot
2014-12-27 22:12:16 +01:00
Mathieu Laprise
17113f8d0d
Merge branch 'master' of https://github.com/math07/stk-code into working
2014-12-27 15:14:35 -05:00
Mathieu Laprise
7f6a1dfd56
Handle spinner custom text differently differently to fix issue #1837 problem with activation/deactivation and updategfxSlider
2014-12-27 15:10:39 -05:00
Vincent Lejeune
df12714f49
Factorize (and fix) gaussian weight computation
2014-12-27 03:22:18 +01:00
Vincent Lejeune
d8b3cf9c8f
Factorise MRP
2014-12-27 03:22:06 +01:00
Vincent Lejeune
e42cdc5d64
Used #ifndef in header.txt
2014-12-27 03:21:55 +01:00
Vincent Lejeune
f644543bc1
Move all gfx related config to a separate file
2014-12-27 03:14:16 +01:00
auriamg
2d0c929a70
Merge pull request #1847 from gunchleoc/master
...
Some string fixes.
2014-12-26 19:43:21 -05:00
GunChleoc
38936fe79f
Removed ngettext, because tinygettext can't handle it.
2014-12-24 14:54:09 +01:00
Marianne Gagnon
351e69e79d
Fix build
2014-12-23 20:07:34 -05:00
Marianne Gagnon
526e565c4d
Fix memory leak found by vlj
2014-12-23 19:57:29 -05:00
Vincent Lejeune
e421a05663
Remove unecessary files.
2014-12-23 20:35:54 +01:00
Deve
b02812662a
Fixed crash in creating user screen, which occured after rename player.
...
It's a bit quick and lazy fix. Probably other variables should be cleared too.
2014-12-23 18:32:05 +01:00
GunChleoc
ed56858321
Fixed a typo.
2014-12-23 16:21:47 +01:00
GunChleoc
5a7f7781af
Some string fixes.
2014-12-23 13:24:50 +00:00
Flakebi
fbba008a1a
Restore ancient behaviour
2014-12-22 23:12:20 +01:00
hiker
8e142daa00
Fix crash when track is not found.
2014-12-22 08:20:19 +11:00
hiker
89317ce399
Removed unnecessary c_str().
2014-12-22 08:19:54 +11:00
hiker
f4c9724fa9
Detect mesa version.
2014-12-22 07:59:51 +11:00
samuncle
c54fed411f
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-12-21 09:58:06 +01:00
samuncle
b54ddb9828
Add emit map to object pass 2 shader
2014-12-21 09:58:03 +01:00
Deve
4f910713f5
Make some strings translatable
2014-12-20 14:03:11 +01:00
Vincent Lejeune
84ee2c7018
Disable texture compression on Intel Mesa too
2014-12-20 00:32:56 +01:00
Flakebi
57958aba36
Merge branch 'upstream/master' into fixes
2014-12-19 23:02:41 +01:00
Deve
be913245b3
Merge pull request #1833 from smalltock/smallRedundancy00
...
two redundant lines of code that may have caused a tiny memory leak
2014-12-19 11:48:35 +01:00
ZDarian
3995947c1d
two redundant lines of code that may have caused a tiny memory leak
2014-12-19 03:11:18 -07:00
hiker
deb8672446
Allow command line options --kart and --track to select locked tracks.
...
This will allow reviewers to post screenshot of new tracks.
2014-12-19 16:08:35 +11:00
hiker
99f49fbd42
Fixed crash in debug mode when command line option -N is used.
2014-12-19 16:03:24 +11:00
Vincent Lejeune
c4e5a720f7
Do not undefine builtin macros.
2014-12-18 22:09:14 +01:00
Vincent Lejeune
bccde0ce34
Revert "No need to signal the shader the AMD_vertex_shader_layer is enabled"
...
This reverts commit 2e0bec5757 .
2014-12-18 15:57:25 +01:00
deve
a41cac02a2
Update .gitignore file
2014-12-18 08:25:04 +01:00
hiker
d3224712c9
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-12-18 16:54:38 +11:00
hiker
6a806470f1
Fixed #1799 (linking issue) - use of VS only functions that were not
...
enclosed on #ifdef (not an issue with default link options, since the
functions using the VS only functions are not actually used in STK).
2014-12-18 16:51:08 +11:00
Vincent Lejeune
116cdec611
Try old method of creating a context
2014-12-18 01:50:09 +01:00
Vincent Lejeune
6139f43108
Do not allow fog start to be null
2014-12-18 01:30:53 +01:00
hiker
e3879abb5b
Work around #1780 (font corruption).
2014-12-17 11:08:28 +11:00
konstin
f6407a0daf
deleting some really old doc
2014-12-16 19:09:58 +01:00
Marianne Gagnon
0af3f3de83
Misc tweaks, mainly to include new island tracks in challenges and GPs, and other minor fixes
2014-12-15 21:34:22 -05:00
Vincent Lejeune
84cf087ae6
Forget to update grass pass 2 sun location
2014-12-16 02:10:26 +01:00
hiker
edd11e3fd2
Changed version number from 'svn' to 'git'.
2014-12-16 11:46:38 +11:00
hiker
62f8e3be2d
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-12-16 09:31:51 +11:00
Vincent Lejeune
7aa7e2d148
Factorise sun color/position
2014-12-15 23:09:19 +01:00
Deve
2995051f7c
Merge pull request #1779 from math07/working
...
When entering gp_name, display buttons vertically to allows gamepad
2014-12-15 12:17:00 +01:00
hiker
3fa8625c78
Fixed incorrect icon name.
2014-12-15 17:10:34 +11:00
hiker
0e569d1c7f
Give the first player tux as icon (instead of sara). Fixes #1771 for now.
2014-12-15 16:49:12 +11:00
hiker
7a9d724bd9
Missing patch in previous commit.
2014-12-15 14:04:55 +11:00
hiker
e4e0dbd5b7
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-12-15 11:37:56 +11:00
hiker
eba7d709c1
Added support for wip-tracks and wip-karts directories, which are only
...
used when artist debug mode is enabled.
2014-12-15 11:10:54 +11:00
hiker
f48f20da94
Fix memory leak.
2014-12-15 10:58:23 +11:00
Vincent Lejeune
22b26dc985
Remove extra uniforms in IBL shader
2014-12-15 00:42:59 +01:00
Vincent Lejeune
03694d9c7c
Factorise SH coefficient in an UBO
2014-12-15 00:18:03 +01:00
Vincent Lejeune
3f8fdc7976
Move FS template declaration in shaders.hpp
2014-12-14 21:58:42 +01:00
Vincent Lejeune
4b2abef56c
Remove redondant uniform in IBL
2014-12-14 21:55:15 +01:00
Vincent Lejeune
1732b1cfef
Clean up sunlight shader + factorize diffusebrdf
2014-12-14 21:39:18 +01:00
hiker
17fe9812b1
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-12-14 12:52:13 +11:00
hiker
8ea8c41597
Fixed memory leaks.
2014-12-14 12:51:53 +11:00
Vincent Lejeune
d50dde4c97
Revert "Try to fix ibl precision issue"
...
This reverts commit 1cf592394b .
2014-12-14 02:48:47 +01:00
hiker
e1c07b3e2c
Fixed memory leak.
2014-12-14 12:30:21 +11:00
hiker
6ffb30d63a
Fixed memory leak.
2014-12-14 12:04:48 +11:00
hiker
6cf4d381ee
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-12-14 11:41:47 +11:00
hiker
0ca09019a2
Fixed minor memory leak.
2014-12-14 11:41:07 +11:00
Vincent Lejeune
1cf592394b
Try to fix ibl precision issue
2014-12-13 22:35:46 +01:00
Vincent Lejeune
7872bc7860
Fix image format for bilateral blur
2014-12-13 22:28:16 +01:00
Deve
7114657c02
Merge pull request #1781 from thamlett/master
...
Fix some typos
2014-12-13 18:07:18 +01:00
Deve
1a4f6e51ee
Fixed problem in dynamic ribbon widgets which contain animations, labels and more than one row.
...
Thanks to marcoll.
2014-12-13 12:49:07 +01:00
Mathieu Laprise
15927f319c
When entering gp_name, display buttons vertically to allows gamepad selection
2014-12-12 20:19:27 -05:00
Marianne Gagnon
91f6fbbb43
Fix typo in previous fix, reported by Math07
2014-12-12 19:41:15 -05:00
hiker
ba990318d1
Merge remote-tracking branch 'origin/master' into new_server
2014-12-13 10:49:45 +11:00
Deve
42d2591bf8
Use default track if remembered track doesn't exist.
...
It avoids issues in #1776 and probably other problems with addons tracks.
2014-12-12 19:54:30 +01:00
Deve
dff1a330ea
Fixed crash in kart selection screen
2014-12-12 19:36:53 +01:00
Marianne Gagnon
72a02128de
Fix gand prix
2014-12-11 20:20:42 -05:00
Marianne Gagnon
59d6a2f258
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-12-11 20:18:29 -05:00
Marianne Gagnon
3226189d82
Force disable shadows and GI when OpenGL is not recent enough. Fixes #1722
2014-12-11 20:18:00 -05:00
Vincent Lejeune
2cf2630362
Forgot UBO support check in shadow
2014-12-12 02:13:33 +01:00
Vincent Lejeune
834683f414
Add codecheck before rendering GI/Shadow
2014-12-12 02:12:14 +01:00
Vincent Lejeune
13360de345
Add a check for GS support
2014-12-12 02:04:33 +01:00
Marianne Gagnon
9b3b99610a
MInor GUI XML cleanup
2014-12-11 19:39:30 -05:00
Marianne Gagnon
0aacea1c0b
Apply math07's patch for taking padding into account in height="fit", fixes #1762
2014-12-11 19:33:44 -05:00
Vincent Lejeune
5f47fee897
Cleanup skybox preparation code
2014-12-11 20:42:18 +01:00
Marianne Gagnon
334cca21ad
Merge branch 'Math07_master'
2014-12-10 21:06:09 -05:00
Marianne Gagnon
7cc28a9755
Revert "Friends Search bar goes off the bottom of the screen #1762 "
...
This reverts commit f98a169e9c .
2014-12-10 21:04:57 -05:00
Vincent Lejeune
1c05d9ef68
Port colored lines too
2014-12-11 01:44:58 +01:00
Vincent Lejeune
db6600a687
Frustrum shader is updated to new system
2014-12-11 01:19:17 +01:00
Vincent Lejeune
c638be6412
Do not use motion blur if no boost amount
2014-12-10 19:06:58 +01:00
Vincent Lejeune
ed82106fe6
Try to fix #1772
...
Avoid doing glViewport call in IBL.cpp since the result is not used
without dynamic light.
2014-12-10 17:35:09 +01:00
hiker
c0c4357331
Switch from IP address to addons.supertuxkart.net (including new
...
certificate).
2014-12-10 23:53:47 +11:00
hiker
3c6204732e
Switch to fast music immediatley on lastp lap, and not only
...
when 30 seconds are left.
2014-12-10 17:02:39 +11:00
hiker
e05af1cd0b
Added support for "<" relations in graphical restrictions, fixed
...
compiler warnings.
2014-12-10 14:18:26 +11:00
hiker
cad0fba747
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-12-10 14:12:39 +11:00
hiker
adaeb37465
Modified sources.cmake to trigger automatic run of cmake.
2014-12-10 14:11:15 +11:00
samuncle
cb8017cae1
clamping values to avoid pink specularity
2014-12-10 03:02:36 +01:00
hiker
f0ddaa50a5
Removed option to disable CURLOPT_SSL_VERIFYPEER, since it's not needed
...
anymore.
2014-12-10 12:55:32 +11:00
hiker
93b4aa15c2
Disable CURLOPT_SSL_VERIFYHOST on OSX, since it doesn't work (with
...
osx's curl version at least).
2014-12-10 12:23:35 +11:00
hiker
b592e5224b
Updated the URL to work with new server configuration.
2014-12-10 11:35:43 +11:00
hiker
83f49ec319
Merge remote-tracking branch 'origin/master' into new_server
...
Conflicts:
src/online/http_request.cpp
2014-12-10 11:25:16 +11:00
Vincent Lejeune
a8ce996047
Revert "Simplify sunlight shadow shader."
...
This reverts commit cc7f95163c .
2014-12-09 21:20:55 +01:00
Vincent Lejeune
f241fc3b71
Use clamp mode for tex shadow
2014-12-09 19:09:31 +01:00
Vincent Lejeune
cc7f95163c
Simplify sunlight shadow shader.
2014-12-09 19:00:21 +01:00
Vincent Lejeune
c91c04c862
Same for shadow blur pass
2014-12-09 18:54:27 +01:00
Vincent Lejeune
b24fd621a5
Precompute coefficient in gaussian blur pass
2014-12-09 18:43:48 +01:00
Vincent Lejeune
d84d103b03
Wrap azdo check into a function call
2014-12-09 18:21:07 +01:00
Vincent Lejeune
d8e6ebbb0e
Use correct name for passthrough texture
2014-12-09 18:07:31 +01:00
hiker
05f2af79c9
Fixed #1770 (tabs disappear).
2014-12-09 16:50:16 +11:00
Vincent Lejeune
d97b9f2d0e
Clamp SpecularIBL value on positive range
2014-12-09 01:33:58 +01:00
hiker
25e059dd3e
Merge remote-tracking branch 'origin' into copy_kart_mesh
2014-12-09 08:50:23 +11:00
hiker
ca55212062
Fixed ref-counting.
2014-12-09 08:47:40 +11:00
hiker
2c2847e912
Fixed line endings.
2014-12-09 08:05:16 +11:00
hiker
5b62d94c5b
Minor performance optimisations.
2014-12-09 07:56:18 +11:00
Vincent Lejeune
36d20773d7
Unbind everything before deleting
2014-12-08 19:43:41 +01:00
Vincent Lejeune
2667791621
Tweak IBL
2014-12-08 19:36:23 +01:00
Vincent Lejeune
72fdf816e7
Fix Importance sampling
2014-12-08 19:16:26 +01:00
Vincent Lejeune
2b0680d92d
Use texture buffer instead of uniform for samples
...
Should fix nvidia glsl error
2014-12-08 18:24:43 +01:00
hiker
b764339b20
Moved cloning of animated mesh into CSkinnedMesh (to get access to
...
private members). Fixed animation bug, caused by copying already
animated vertex position from LocalBuffer to Weight (so they were
then later animated again). Might need a better solution to avoid
copying mesh twice (LocalBuffer = Weight, followed by Weight = LocalBuffer).
2014-12-08 23:39:41 +11:00
hiker
f0d430c833
Fix #1761 (Players tab in Options autofocus issue).
2014-12-08 15:22:12 +11:00
Timothy Hamlett
e473b656d2
Fix some typos
2014-12-07 16:49:17 -06:00
Vincent Lejeune
6041c48fbe
Source DiffuseIBL algorithm
2014-12-07 21:37:16 +01:00
Vincent Lejeune
a320eebece
Cleanup tonemap shader
2014-12-07 21:27:26 +01:00
Vincent Lejeune
a094bbae19
Factorize DiffuseIBL and SpecularIBL
2014-12-07 19:10:22 +01:00
Vincent Lejeune
2e0bec5757
No need to signal the shader the AMD_vertex_shader_layer is enabled
2014-12-07 18:48:45 +01:00
Vincent Lejeune
e491422bdc
Weight sample in importance sampling
2014-12-07 18:26:51 +01:00
Marianne Gagnon
7686628401
Allow animated meshes in LOD, fixes #1747
2014-12-06 19:51:46 -05:00
Mathieu Laprise
f98a169e9c
Friends Search bar goes off the bottom of the screen #1762
2014-12-06 17:28:02 -05:00
Mathieu Laprise
701a8a2c7b
Merge remote-tracking branch 'upstream/master'
2014-12-06 17:25:46 -05:00
Vincent Lejeune
1bd83f4140
Use omp for IBL gen + force some typecast
2014-12-06 23:20:46 +01:00
Vincent Lejeune
6d88a6547b
Fix GI viz
2014-12-06 21:46:44 +01:00
Mathieu Laprise
107e434fe9
Missing button in grand prix editor name dialog #1765
2014-12-06 15:14:27 -05:00
Marianne Gagnon
68db893e84
Message dialog: set buttons text before layout occurs, so that buttons get the proper size. Fixes #1764
2014-12-05 21:11:56 -05:00
Vincent Lejeune
7367342755
Fix split_stream wrong blending op
...
"immediate_draw" objects were assumed to be always blended but
splitstream is additive.
2014-12-06 02:06:59 +01:00
Marianne Gagnon
8a2128fe7e
Cleanup additive material detection
2014-12-05 19:55:24 -05:00
auria
d3ba1ca283
Update strings
2014-12-05 19:26:09 -05:00
Marianne Gagnon
f05618b3b9
Add possibility to specify non-translated texts in GUI XML files, and use it for debug strings that should not be translated
2014-12-05 19:17:52 -05:00
Vincent Lejeune
1e2656dc88
Use clamp instead of max(0, dot(normalized, normalized))
...
Should help GLSL compiler to optimize them.
2014-12-05 17:51:18 +01:00
Vincent Lejeune
8f3b8cf448
Implement specular IBL properly
2014-12-05 16:42:49 +01:00
Vincent Lejeune
c2d7356d05
Refactor IBL gen code
2014-12-05 16:42:49 +01:00
hiker
48593534a5
Added certificate for our vps.
2014-12-05 13:57:27 +11:00
Vincent Lejeune
4079c18050
Update graphic restriction
...
This should fix bug #1519
2014-12-05 01:38:54 +01:00
Vincent Lejeune
fd2da4085b
Rename some shader to improve their meaning
2014-12-05 00:20:16 +01:00
Vincent Lejeune
23b781e7dd
Move glossmap formula to getspecular shader
2014-12-05 00:09:15 +01:00
hiker
60cde7e63d
Added option to disable peer verification in curl. This might help
...
on some platforms (osx) with authentication problems.
2014-12-04 16:43:57 +11:00
hiker
abb486b640
Fixed server version to be 2.
2014-12-04 16:27:29 +11:00
hiker
645f01a508
Removed 'can use existing stkaddons' account from message.
2014-12-04 16:24:14 +11:00
hiker
cc17d8e0b2
Set our vps as new online server.
2014-12-04 16:23:21 +11:00
hiker
d1fc8d53f4
Added error checking when setting the certificate to connect to our server.
2014-12-04 11:39:56 +11:00
Marianne Gagnon
f8f3dc6c4a
Merge branch 'SlipstreamCleanup'
2014-12-02 20:36:43 -05:00
Marianne Gagnon
1032506adf
Make it (IMHO) clearer how to enable the splistream debug define. Now I see things!
2014-12-02 20:36:27 -05:00
hiker
5cb3e90dfc
Fixed displaying online friend achievements.
2014-12-03 12:24:30 +11:00
Marianne Gagnon
77c2e8a5fb
Continue slipstream cleanup, still doesn't work
2014-12-02 20:21:11 -05:00
Marianne Gagnon
5444336410
Cleanup slipstream code to use the new material manager properly. This is unfortunately non fonctional (nothing visible on screen) and I have absolutely no clue why. Still this cleanup is necessary...
2014-12-02 20:12:11 -05:00
hiker
4d3bbd2c78
Fixed translation support.
2014-12-03 11:40:04 +11:00
hiker
59540abb59
Removed hard coded <B> for backwards (though that message is not
...
even shown atm).
2014-12-03 11:39:39 +11:00
hiker
8e8d7cfc19
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-12-03 10:41:22 +11:00
hiker
34f3755976
Added comments for translators.
2014-12-03 10:40:19 +11:00
Marianne Gagnon
d38b7ca080
Fix a few strings
2014-12-02 18:38:54 -05:00
hiker
dd45bc7f1b
Merge branch 'thamlett-master'
2014-12-03 08:19:35 +11:00
hiker
d725d97314
Fixed coding style.
2014-12-03 08:19:13 +11:00
hiker
9dc6425242
Merge branch 'master' of https://github.com/thamlett/stk-code into thamlett-master
2014-12-03 08:05:34 +11:00
hiker
26eb5263b3
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-12-02 17:13:09 +11:00
hiker
3ba2470619
Added support to detect version numbers on nvidia.
2014-12-02 17:11:29 +11:00
Timothy Hamlett
42d6f0480c
Actually fix #1754
...
Thanks to Hiker for the help!
2014-12-01 21:48:12 -06:00
Marianne Gagnon
35f55c19a1
Tweak jungle challenge to use Cocoa Temple and a slightly adjusted time
2014-12-01 18:42:46 -05:00
samuncle
3627719440
min max where inverted
2014-12-01 23:54:34 +01:00
Vincent Lejeune
7e2add8c53
Clean lensflare related file
...
A new method is used now.
2014-12-01 21:07:29 +01:00
Vincent Lejeune
4db0f8ebf6
Do not reorient shadow cam
...
It didnt really improve shadows resolution
2014-12-01 21:00:28 +01:00
Timothy Hamlett
263d072c98
Fix some coding conventions
...
Thanks to hiker for the info
2014-12-01 12:49:15 -06:00
Deve
24e850db79
Delete xx
...
I simply try to delete it directly on github ;)
2014-12-01 08:10:12 +01:00
Timothy Hamlett
d95f7835fd
Fix some compiler warnings in Irrlicht
2014-11-30 22:29:52 -06:00
Timothy Hamlett
211e698a29
Add some strings for Windows 8 and 8.1
...
And server '12 and server '12 R2
2014-11-30 22:29:28 -06:00
Timothy Hamlett
0a3d71aead
Add Windows 8.1 to the hardware reports
2014-11-30 22:27:39 -06:00
Timothy Hamlett
b0dbacc386
Fix #1754
2014-11-30 22:26:36 -06:00
hiker
006a7f95c9
Cherrypicked pull request #1743 (cppcheck performance fixes).
2014-12-01 15:14:27 +11:00
hiker
c3f5294c27
Changed line endings.
2014-12-01 12:00:43 +11:00
Vincent Lejeune
354dad7392
Fix an error when indirect instancing is not supported
2014-12-01 01:46:50 +01:00
hiker
06aa115155
Merge branch 'master' into copy_kart_mesh
2014-12-01 11:43:01 +11:00
hiker
9dd46b6755
Try to copy the animated kart mesh.
2014-12-01 11:41:14 +11:00
Marianne Gagnon
f31a458fb8
Disable compressed textures checkbox in options where unsupported
2014-11-30 18:44:43 -05:00
Vincent Lejeune
0aa6b9fcd1
Make sdsm optionnal
...
scene manager is not ready yet
2014-11-29 01:33:10 +01:00
Vincent Lejeune
7a92a4a8ef
Disable texture compression on Intel
2014-11-29 01:27:54 +01:00
Marianne Gagnon
53bc15ad50
Merge remote-tracking branch 'origin/OSXFullscreen'
2014-11-28 18:50:51 -05:00
Marianne Gagnon
70da81bf4e
Fix OpenGL 3.2 core profile use in fullscreen mode on OS X
2014-11-27 18:59:51 -05:00
Flakebi
abc8394801
Fix two little glitches in intro and outro scenes
2014-11-27 15:20:12 +01:00
hiker
63250237a4
Fixed linux compilation.
2014-11-27 23:27:27 +11:00
hiker
14145b4e2c
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-27 23:06:12 +11:00
hiker
c1a84671c2
Merge branch 'master' of github.com:supertuxkart/stk-code
...
Conflicts:
src/karts/kart_model.cpp
2014-11-27 22:52:08 +11:00
hiker
2ea0c0533a
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-27 22:40:46 +11:00
hiker
71994c692f
Fixed replay mode.
2014-11-27 22:34:04 +11:00
hiker
020c129691
Specify the replay buffer size as time value (i.e. how many seconds),
...
not how many frames.
2014-11-27 16:15:53 +11:00
hiker
6e3c766749
Minor improvements to fix for #1713 .
2014-11-27 15:36:56 +11:00
Vincent Lejeune
bf98d296eb
Fix #1734
2014-11-27 01:31:28 +01:00
Marianne Gagnon
12c54cb92b
Revert old workaround, fix the original issue in a cleaner way
2014-11-26 19:30:09 -05:00
hiker
ce1586532d
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-27 09:32:39 +11:00
hiker
4e00f691dc
Added an assert to check if new was successful.
2014-11-27 09:17:08 +11:00
hiker
673a9f39c6
Merge branch 'Flakebi-fixes'
2014-11-27 00:07:00 +11:00
hiker
d4ea2e8786
Merge branch 'fixes' of https://github.com/Flakebi/stk-code into Flakebi-fixes
2014-11-26 23:56:33 +11:00
hiker
7c7fb68e82
Try fixing #1713 (crash pessing ESC on login screen).
2014-11-26 23:40:50 +11:00
hiker
45b19997de
Fixed compiler warning (double to float).
2014-11-26 22:27:35 +11:00
deve
bf79df9e88
Fixed typo
2014-11-26 10:54:44 +01:00
Flakebi
e4777d0c63
Prevent the max speed of the fps camera to be less than 0
2014-11-26 09:02:34 +01:00
Flakebi
c4cdfc4a0e
Merge branch 'upstream/master' into fixes
...
Conflicts:
src/input/input_manager.cpp
src/states_screens/kart_selection.cpp
2014-11-26 07:34:26 +01:00
deve
cac87cce34
Fixed mingw compilation.
...
I don't know how it worked previously because MEMORYSTATUSEX was there rather longer time and it needs this definition.
2014-11-26 06:46:03 +01:00
Marianne Gagnon
eda6f6c2f5
Merge branch 'master' into OSXFullscreen
2014-11-25 19:35:09 -05:00
hiker
ea3a433147
Fix #1620 (Player's achievements can only be seen when logged in).
2014-11-25 17:12:47 +11:00
hiker
49474a5370
Fixed my "Better handle out-of-memory situations." ... to now actually work :P
2014-11-25 17:08:31 +11:00
hiker
ebfbf5e2aa
Updated pot file (just to check launchpad integration, no string freeze yet).
2014-11-25 15:05:51 +11:00
hiker
8ef2c63857
Merge branch 'tobbi-cppcheck'
2014-11-25 14:15:37 +11:00
hiker
6fbcd90226
Better handle out-of-memory situations.
2014-11-25 14:14:32 +11:00
hiker
aac261d873
Use proper format (instead of casting unsigned to int).
2014-11-25 14:02:34 +11:00
hiker
63e5acdf2b
The (float) cast is not necessary, and makes it harder to read.
2014-11-25 14:00:43 +11:00
hiker
51be8195bc
Merge branch 'cppcheck' of https://github.com/tobbi/stk-code into tobbi-cppcheck
2014-11-25 13:58:59 +11:00
hiker
af186b6926
Fixed compiler warnings.
2014-11-25 13:58:28 +11:00
Marianne Gagnon
346bae4d03
Fix LOD issues in multiplayer, fixes #1710
2014-11-24 19:08:20 -05:00
Marianne Gagnon
cd7bc96d68
Fix invalid snow particles XML file that would cause assertion failures
2014-11-24 18:31:38 -05:00
samuncle
82b8548066
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-11-24 21:10:08 +01:00
Deve
220d3dbc9a
Restore screenshot properties
2014-11-24 20:41:49 +01:00
samuncle
92801f2b74
Tweak the snow
2014-11-24 20:23:55 +01:00
Deve
54b311f6f7
Allow to set custom ratio for images from xml file.
...
It avoids crashes and memory leaks after changing resolution.
2014-11-24 19:31:46 +01:00
hiker
5fd1e30a75
Fixed crash when using --slipstream-debug, but colour change to indicate
...
slipstream states does not work yet.
2014-11-23 21:54:41 +11:00
hiker
9a02693d31
Fixed compiler warnings, renamed playerID to player_id (to follow
...
our style guide).
2014-11-23 21:13:49 +11:00
hiker
24b1a3af32
Fixed compiler warnings.
2014-11-23 21:13:12 +11:00
Marianne Gagnon
5d5460d845
Add way to test intro cutscene easily; do not throttle sound effects on cutscenes
2014-11-22 18:21:31 -05:00
samuncle
91736e1941
Add the support for emit map. For the moment it's only for solid objects
2014-11-22 15:59:22 +01:00
Flakebi
1585199ccc
Change variable names again
2014-11-22 13:44:27 +01:00
Flakebi
bc62d2e6ff
Merge branch 'upstream/master' into fixes
2014-11-22 13:37:05 +01:00
Flakebi
632efb296c
Fix first player in kart selection doesn't get focused
2014-11-22 13:35:31 +01:00
Vincent Lejeune
d426a395bb
Use old formula for glossmap
2014-11-22 02:03:20 +01:00
Marianne Gagnon
3d7518b1d0
Merge branch 'fpsCam'
2014-11-21 18:26:13 -05:00
Marianne Gagnon
c7b43b49e7
Tweak variable names
2014-11-21 18:25:50 -05:00
Vincent Lejeune
f3a637fb99
Fix sun area light
2014-11-21 02:44:27 +01:00
Vincent Lejeune
79e5e9f880
Revert "Use f0 in fresnel schlick"
...
This reverts commit acdafc5566 .
2014-11-21 02:09:02 +01:00
Vincent Lejeune
593f462ec5
Revert "Use color for specular"
...
This reverts commit fcba1dab86 .
2014-11-21 02:09:00 +01:00
Vincent Lejeune
4a8afd2d40
Implement sun as an disk area light.
...
Solid angle is defaulted to sun's one.
2014-11-21 01:54:30 +01:00
Marianne Gagnon
954dba0873
Other OSX fullscreen attempt
2014-11-20 18:21:18 -05:00
Tobias Markus
2c12942871
Revert change in irr_driver.cpp
2014-11-20 23:17:25 +01:00
Tobias Markus
22c22b864a
Fix further issues
2014-11-20 23:15:05 +01:00
Flakebi
9e5eced8df
Improve smooth camera movement and move settings to user config
2014-11-20 23:01:40 +01:00
Vincent Lejeune
fcba1dab86
Use color for specular
2014-11-20 22:57:32 +01:00
Vincent Lejeune
acdafc5566
Use f0 in fresnel schlick
2014-11-20 22:51:22 +01:00
Vincent Lejeune
fcb43fb983
Clean some useless decl
2014-11-20 22:34:19 +01:00
Vincent Lejeune
3d070995f3
Remove a shader callback
2014-11-20 22:27:00 +01:00
Tobias Markus
416c97bf0e
Fix last error
2014-11-20 22:20:45 +01:00
Vincent Lejeune
baf1db8769
Factorize some code
2014-11-20 22:11:14 +01:00
Vincent Lejeune
bcd3452b70
Remove bubble shaders
2014-11-20 22:05:19 +01:00
Tobias Markus
61ccfaac77
Fix errors in src/ that cppcheck yielded with the default configuration
2014-11-20 22:01:46 +01:00
Vincent Lejeune
a78b889b05
Modelise Beer Lambert absorption for fog
2014-11-20 21:23:33 +01:00
Flakebi
aecd9c4b80
Fix crash with --no-graphics
2014-11-20 21:22:58 +01:00
Marianne Gagnon
10ffb5411e
Filter OpenGL warnings to silence some unecessary noise
2014-11-19 19:31:49 -05:00
Vincent Lejeune
8356941986
Add missing counters
2014-11-20 01:05:10 +01:00
Marianne Gagnon
d776bee39a
Try to fix OSX fullscreen OpenGL profile
2014-11-19 18:43:55 -05:00
auriamg
93619555fc
Merge pull request #1718 from quizywiz/fixing1580
...
fix #1580
2014-11-19 18:31:34 -05:00
Vincent Lejeune
3f17a5c93d
Add another marker
2014-11-19 18:10:47 +01:00
Vincent Lejeune
5ef51d9c34
Prevent some rsm computation when not needed
2014-11-19 18:07:10 +01:00
Vincent Lejeune
d911a19b28
Do not fill RSM command buffer if rsm map not redraw
2014-11-19 17:58:55 +01:00
Vincent Lejeune
d3964b8a93
Draw RSM only once
2014-11-19 17:41:52 +01:00
Vincent Lejeune
ed2374ae05
Rotate suncam
...
It might improve shadow quality
2014-11-19 01:37:41 +01:00
Marianne Gagnon
5b043a2564
Add some debug logging on linux
2014-11-18 19:15:13 -05:00
Vincent Lejeune
c44ebcf8b5
Fixe shadow without sdsm
2014-11-19 00:51:09 +01:00
auriamg
76fc01a58f
Merge pull request #1720 from Flakebi/fpsCam
...
First person camera, fixes #1295
2014-11-18 17:58:28 -05:00
Flakebi
3e53787598
Smooth camera movement
2014-11-18 22:01:02 +01:00
quizywiz
98a7b6cfcb
fix 1580
2014-11-19 00:33:28 +05:30
Flakebi
497fa10695
First try of a fps camera
2014-11-18 11:55:32 +01:00
Vincent Lejeune
c594295288
Tweak shadow blur
2014-11-18 03:44:45 +01:00
Vincent Lejeune
dd0c98fd16
Use nearest sampling for shadow blur
2014-11-18 03:18:32 +01:00
Vincent Lejeune
29afd22b68
Smoothen shadow split
2014-11-18 03:13:39 +01:00
Vincent Lejeune
b7fc539f57
Add shadow scale parameters
2014-11-18 02:53:02 +01:00
Vincent Lejeune
b288d9c8c4
Fix overworld wrong shadow thx to Auria
2014-11-18 02:41:25 +01:00
Vincent Lejeune
64a64a963b
Make shadow condition more coherent
2014-11-18 01:53:02 +01:00
Vincent Lejeune
6781146f8a
Fix shadow on splatting
2014-11-18 01:45:28 +01:00
Marianne Gagnon
9d36ca74d6
tweak nitro light to be a bit less in-your-face
2014-11-17 19:20:22 -05:00
Marianne Gagnon
229a43a692
Preserve "startedFromOverworld" flag value properly. Fixes #1683
2014-11-17 19:07:37 -05:00
auriamg
af35bce41d
Merge pull request #1714 from Flakebi/fixes
...
Some minor fixes
2014-11-16 21:21:45 -05:00
Vincent Lejeune
eb2151b854
Check if ribbon is null
2014-11-17 01:11:50 +01:00
Vincent Lejeune
3cf3af57d8
Avoid using null pointer in feature_unlocked.cpp
2014-11-17 01:11:40 +01:00
Vincent Lejeune
7935df5dec
Actually it's _malloca not just malloca
2014-11-17 01:06:37 +01:00
Vincent Lejeune
8e3ee643d5
Fix using uninitialized memory
2014-11-17 00:11:23 +01:00
Vincent Lejeune
b7771642ca
Fix read overrun
2014-11-17 00:11:00 +01:00
Vincent Lejeune
2d39a41b76
Fix "Unprotected use of alloca"
2014-11-17 00:10:26 +01:00
Flakebi
ac5db6f28e
Fix #1708 Delete missmatch for currupted pngs
2014-11-17 00:08:47 +01:00
Flakebi
f1383d1a93
Deactivate some checkboxes without advanced pipeline
2014-11-17 00:08:47 +01:00
Flakebi
be999895b4
Remove some unused code
2014-11-17 00:08:47 +01:00
Flakebi
4ab84a6b83
Unify I18N attributes in screens
2014-11-17 00:08:47 +01:00
Vincent Lejeune
d34bdc2344
Fix null ref ptr static analysis
2014-11-16 23:24:50 +01:00
hiker
084ae89b55
Try to fix physics crash.
2014-11-17 08:44:21 +11:00
Flakebi
b8484d3576
Fix #966 Don't select a kart/keyboard configuration automatically in multiplayer
2014-11-16 22:35:03 +01:00
hiker
ad976e0d19
Fixed compilation.
2014-11-17 08:01:44 +11:00
hiker
65ee59788e
Fixed compiler warnings.
2014-11-17 08:01:26 +11:00
hiker
a2f59384f2
Fixed compiler warnings.
2014-11-17 07:59:53 +11:00
Vincent Lejeune
d5330a8f39
Fix VS2013 "dereferencing null ptr" static analysis error
2014-11-16 04:40:19 +01:00
Vincent Lejeune
8c20e7e8b2
Add begin/end for PtrVector
2014-11-16 03:36:06 +01:00
Vincent Lejeune
882cc0a02e
Revert "Try to rewrite ptr_vector"
...
This reverts commit 0966f30fe9 .
2014-11-16 03:20:16 +01:00
Vincent Lejeune
0966f30fe9
Try to rewrite ptr_vector
2014-11-16 03:16:39 +01:00
Vincent Lejeune
2016fc2ab2
Do not draw instanced first mesh if vertex type is wrong
2014-11-16 01:50:55 +01:00
Vincent Lejeune
1253893043
Fix for OSX
2014-11-16 01:48:40 +01:00
Marianne Gagnon
d8b0f79428
Tweak register script so that the "Online" checkbox is closer to the text
2014-11-15 18:38:51 -05:00
Vincent Lejeune
a65a241003
Merge remote-tracking branch 'origin/blurshadow'
2014-11-15 21:28:11 +01:00
Vincent Lejeune
c2859d24ce
Improved shadow stability
2014-11-15 21:27:15 +01:00
Vincent Lejeune
239a32b1d8
Add mipmap level for shadow
2014-11-15 21:19:17 +01:00
Vincent Lejeune
448f254a2b
Fixes
2014-11-15 21:02:24 +01:00
Vincent Lejeune
a7b8ba13cd
Add shader content
2014-11-15 20:43:44 +01:00
Vincent Lejeune
1970bc0ef5
Remove .project file
2014-11-15 20:40:39 +01:00
Vincent Lejeune
7e3c2c4897
Add a shader to blur shadow
2014-11-15 20:37:47 +01:00
Vincent Lejeune
687bb6e065
Spare a few lds inst
2014-11-15 19:18:07 +01:00
Vincent Lejeune
3c42223add
Try graphical restrictions on nvidia old drivers
2014-11-15 03:10:23 +01:00
hiker
8a60550e8b
Prevent online user names starting with 0-9 (for #1471 ).
2014-11-15 12:56:04 +11:00
hiker
92c51f5240
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-15 12:05:43 +11:00
hiker
be461b7a39
Try to fix crash at startup.
2014-11-15 12:05:14 +11:00
Vincent Lejeune
6cc721eaf9
Use CS for gaussian6
2014-11-15 01:11:26 +01:00
Marianne Gagnon
b204de7a8e
Ignore billboard text nodes in physics, fixes #1666
2014-11-14 18:26:48 -05:00
Marianne Gagnon
6c85480010
Do not use 0,0,0 as default sun position when unspecified, as this will give unpredictable results when normalized
2014-11-14 18:09:53 -05:00
hiker
2ec5c3765a
Added a config file which can be used to disable certain graphical
...
options dependeing on card, os, driver version.
2014-11-15 10:06:54 +11:00
Deve
1a3ecf39fe
Fixed crash in track info screen after changing resolution.
...
Widgets after changing resolution are deleted, but TrackInfoScreen object and m_screenshot variable still exsist. Therefore check if it's not NULL isn't enough.
2014-11-14 21:07:12 +01:00
Marianne Gagnon
9fe93e21b9
make nitro emit light. The effect is not perfect yet, but already quite cool
2014-11-13 19:55:21 -05:00
auriamg
f81f1f92e3
Merge pull request #1649 from sachith500/ScriptCache
...
Script cache
2014-11-13 19:47:18 -05:00
Marianne Gagnon
c6651489c1
Tweak nitro for new engine
2014-11-13 19:24:15 -05:00
Vincent Lejeune
83d5c1e522
Prevent rendering too much point light scattering
2014-11-14 00:57:07 +01:00
Vincent Lejeune
e41ac3c7e5
Fix box particules starting at 0. 0. 0.
2014-11-13 23:37:13 +01:00
Deve
5c32aa8baa
Minor modifications for skidding and nitro.
...
Still could be better, I'm not an artist ;p
2014-11-13 19:24:53 +01:00
samuncle
595785b038
Re enable fog bluring was removed in the previous commit. IMHO without bluring the quality is just awful. The edges looks jagged and it seems we have no AA at all. If this is a performance issue we might need an option for that like: high quality blur. However in my test I didnt noticed a big difference in the framerate. Auria you might want to make better tests
2014-11-13 18:46:20 +01:00
samuncle
bd9823dbbe
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-11-13 18:02:49 +01:00
Vincent Lejeune
a6946e9b98
Remove extra blurring step in fog
2014-11-13 18:02:55 +01:00
samuncle
ffb76788a9
Minor tweak with transluscent material
2014-11-13 18:02:25 +01:00
hiker
22b6aaea25
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-13 22:47:05 +11:00
hiker
753c3d7168
Fixed #1638 (text overflows behind buttons) - partially by removing
...
the confirmation field for the emal address.
2014-11-13 22:42:32 +11:00
Deve
c1fd2d3614
Fixed skidding and nitro particles.
...
Not perfect but at least working.
2014-11-12 22:20:33 +01:00
Deve
91d26e92ef
A bit better rain.
2014-11-12 16:31:41 +01:00
hiker
c6d7da45e9
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-12 19:27:43 +11:00
hiker
6f980b7605
Adding more btAsserts.
2014-11-12 19:14:59 +11:00
hiker
11b884eea4
Made '(handicap)' prefix translate-friendlier.
2014-11-12 18:45:34 +11:00
hiker
25b4d35a65
Merge branch 'perPlayerDifficulties' of https://github.com/Flakebi/stk-code
2014-11-12 15:45:03 +11:00
hiker
78e6a6a6b6
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-12 13:30:10 +11:00
hiker
157bc445b9
Added more asserts for #1678 .
2014-11-12 13:28:33 +11:00
hiker
f78c7e0779
Fixed compiler warnings.
2014-11-12 13:27:53 +11:00
hiker
28db99b7c1
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-12 12:26:00 +11:00
hiker
4b01d090c6
Fixed track name for GP.
2014-11-12 12:25:33 +11:00
samuncle
1bd3ee24c6
Add a description to the shader
2014-11-12 01:22:33 +01:00
samuncle
9857eb4621
Try to tweak the lens flare without being too obvious
2014-11-12 01:00:23 +01:00
samuncle
f39ae90b6e
merge with trunk + try to adapt to the new blur system
2014-11-12 00:08:21 +01:00
Vincent Lejeune
192ed8a486
Fix classic fog
2014-11-11 22:43:25 +01:00
Vincent Lejeune
09fa1ee3cb
Implement scattering for point light
2014-11-11 22:36:27 +01:00
hiker
8ac0bd6793
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-12 07:56:21 +11:00
Vincent Lejeune
b40cf6f321
tweak value
2014-11-11 21:56:13 +01:00
hiker
4cf93ca322
Fixed compiler warnings.
2014-11-12 07:55:55 +11:00
hiker
cbd43704ac
Added more asserts.
2014-11-12 07:53:24 +11:00
Vincent Lejeune
bd4fe57524
Use fog start value to determine density
2014-11-11 21:52:54 +01:00
Vincent Lejeune
84affec451
Change fog equation
2014-11-10 22:08:12 +01:00
Vincent Lejeune
85bbc0f8b8
Use variable sigma for blur filter
2014-11-10 21:32:04 +01:00
samuncle
b70f2cd176
Merge branch 'master' of https://github.com/supertuxkart/stk-code into lensflare
2014-11-10 17:12:45 +01:00
deve
517c828738
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-11-10 12:59:27 +01:00
deve
322dec5419
Fixed mingw compilation in release mode.
2014-11-10 12:57:59 +01:00
hiker
b6b4636861
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-10 22:27:25 +11:00
hiker
ba55fd61dd
Disabled warning messages if the automatically created disabled
...
textures are not in the texture cache.
2014-11-10 22:26:29 +11:00
deve
65ee047b3c
Apply patch from upstream irrlicht which allow to compile it on windows using clang.
2014-11-10 11:33:49 +01:00
deve
98411b5568
Fixed compilation.
2014-11-10 10:32:26 +01:00
samuncle
d0caeb3b63
Merge branch 'master' of https://github.com/supertuxkart/stk-code into lensflare
2014-11-10 06:51:10 +01:00
hiker
8dff64644a
Fixed #1687 (time too long when using many karts in ftl)>
2014-11-10 16:49:13 +11:00
hiker
5a1dc70a7a
Added some asserts to narrow down #1685 .
2014-11-10 16:40:50 +11:00
hiker
2c5430e66c
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-10 16:33:37 +11:00
hiker
bfe7bff877
Fixed #1680 (notification shown at wrong place after changing resolution).
2014-11-10 16:32:35 +11:00
samuncle
7d71cabc92
Merge branch 'master' of https://github.com/supertuxkart/stk-code into lensflare
2014-11-10 01:29:38 +01:00
Deve
387547cfda
Merge pull request #1684 from Alayan-stk/patch-1
...
Fix issue #1108
2014-11-09 21:18:37 +01:00
Alayan-stk
448a7eb94f
Fix issue #1108
2014-11-09 16:54:01 +01:00
Sachith Hasaranga Seneviratne
ebade1f3aa
Disabled callback for now
2014-11-09 18:33:11 +05:30
Sachith Hasaranga Seneviratne
d9b73907fe
Added basic line callback
2014-11-09 18:32:20 +05:30
Sachith Hasaranga Seneviratne
b7beff1406
Added map container for script cache
2014-11-09 17:35:01 +05:30
Sachith Hasaranga Seneviratne
f8cb8c75bb
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptCache
2014-11-09 14:55:46 +05:30
samuncle
eb18566f29
Merge branch 'master' of https://github.com/supertuxkart/stk-code into lensflare
...
keep compatibility with master
2014-11-09 02:58:06 +01:00
Deve
144cdc8f68
Fixed file extension.
2014-11-08 21:05:11 +01:00
samuncle
e20d8bdcdf
Merge branch 'master' of https://github.com/supertuxkart/stk-code into lensflare
...
Keep lens flare updated with trunk
2014-11-08 01:51:40 +01:00
hiker
5401e7f3b7
First try to prevent #1566 : kart chassis appears inside of terrain.
2014-11-08 11:43:06 +11:00
Vincent Lejeune
833f162d1a
Enable m_support_sdsm by default
2014-11-08 01:19:27 +01:00
Vincent Lejeune
04d313671c
Fix sqrt(int) in diffuseenvmap
2014-11-08 01:02:46 +01:00
Vincent Lejeune
5eefe0c0ad
Make envmap reflexion less blurry
2014-11-08 00:57:49 +01:00
samuncle
2a440bb2cb
minor modification to the blueish mood of lens flare
2014-11-07 16:20:39 +01:00
samuncle
1e547652f7
Merge branch 'master' of https://github.com/supertuxkart/stk-code into lensflare
...
Keep lens flare updated with master
2014-11-07 16:14:11 +01:00
Vincent Lejeune
d7f3198ac9
Merge branch 'sdsm'
2014-11-07 13:42:29 +01:00
Vincent Lejeune
909948c9a4
Implement depth histogram to position cascade split
2014-11-07 13:42:13 +01:00
Vincent Lejeune
cacb008ae6
Prepare compute shader to stretch lightcoord
2014-11-07 13:42:13 +01:00
hiker
3c88898113
Fixed --camera-wheel-debug command line option (better distance
...
computation, no smoothing); removed unused function.
2014-11-07 16:36:03 +11:00
Marianne Gagnon
2c8f86fabd
Intro cutscene fixes
2014-11-05 18:13:47 -05:00
hiker
ce0d713dd3
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-05 23:25:29 +11:00
hiker
884daf9093
Fix #1665 (kart hovering in pyramid after jump) by only cushioning with
...
half the computed impulse.
2014-11-05 22:53:25 +11:00
hiker
cfb4dc13a8
Updated GP for new mines track.
2014-11-05 13:39:57 +11:00
hiker
2077676f8e
Updated windows build instructions.
2014-11-05 11:23:46 +11:00
Flakebi
9dd86c8332
Don't handicap AIs
2014-11-04 23:57:33 +01:00
Flakebi
5a84b471e4
Add 'handicapped' to player name
2014-11-04 23:36:16 +01:00
samuncle
52bc4cebd4
Add the lensflare shader
2014-11-04 21:15:18 +01:00
samuncle
bea2586af3
Preparing lens flare branch
2014-11-04 21:12:26 +01:00
Vincent Lejeune
92ecd01e61
Make cascade split modifiable
2014-11-04 20:53:32 +01:00
Deve
6d07189474
Don't allow doubled tracks in random GP.
...
Otherwise track number limit wouldn't have sense.
2014-11-04 20:27:01 +01:00
Deve
66a1ff2b2b
Don't allow to run locked tracks in random GPs
2014-11-04 20:10:36 +01:00
Deve
e27e7a0132
Reset kart rotation when skidding is broken by rescue animation.
...
Minor improvements with breaking during skidding.
2014-11-04 11:27:07 +01:00
Vincent Lejeune
3eafdd9729
Culling was wrongly disabled
2014-11-04 02:06:17 +01:00
Vincent Lejeune
2f4edb6183
Higher value for zmin
2014-11-04 01:55:10 +01:00
Vincent Lejeune
c93e6c0ee3
Fix shadow glitches in minigolf
2014-11-04 01:48:50 +01:00
Marianne Gagnon
aeed2618a4
Set anisotropic filtering to 16 on highest graphical level, fixes #1655
2014-11-03 17:47:07 -05:00
samuncle
d7caebe847
enable vignette during races
2014-11-03 21:53:44 +01:00
Deve
3cec4b25fb
Set jump animation only if any other animation os not used.
...
It avoids to break eg. win/lose animation.
Remove unused variable.
2014-11-03 16:49:44 +01:00
Deve
0e126f7533
Merge pull request #1657 from tobbi/fix_mac_compilation
...
Fix mac compilation (syntax error)
2014-11-03 14:31:20 +01:00
Tobias Markus
1e384ebb52
Fix mac compilation (syntax error)
2014-11-03 13:55:22 +01:00
Deve
01a7094cd8
Don't show jump animation during rescue
2014-11-03 13:32:23 +01:00
hiker
18bcb92afc
Used better variable name.
2014-11-03 21:36:54 +11:00
hiker
150941aad2
Maintain a flag that indicates if the gamepad device name is 'useful'
...
(on windows we might get a dummy name, identical for all gamepads).
Only add a number to the gamepad if the device has a useless default
name.
2014-11-03 16:37:19 +11:00
hiker
dec5ac8aa2
Fixed several xml errors (unclosed <space> tags).
2014-11-03 15:25:39 +11:00
hiker
ce488aa98f
Removed duplicated A/B handling for xbox/classic xbox; use "thumb button"
...
instead of "stick button", and more switch instead of if.
2014-11-03 13:51:54 +11:00
hiker
e488b61b62
More fixes for classic xbox controller.
2014-11-03 13:43:50 +11:00
hiker
d2d665b449
More fixes for classic xbox controller.
2014-11-03 13:34:23 +11:00
hiker
467bc6b34b
Try to improve xbox classic controller support.
2014-11-03 13:18:45 +11:00
hiker
ff5c3ac65e
Try to identify old xbox controllers.
2014-11-03 12:45:19 +11:00
Vincent Lejeune
17aafae42c
Merge remote-tracking branch 'origin/esm'
2014-11-03 01:02:27 +01:00
Vincent Lejeune
f2da00954d
Check if textureview is available before filtering
2014-11-03 00:57:07 +01:00
Vincent Lejeune
e5b269949a
Use polygon offset
2014-11-03 00:49:52 +01:00
Vincent Lejeune
70f53a0e51
Revert "Reenable again culling for shadows"
...
This reverts commit 61dd0fdc60 .
2014-11-03 00:48:29 +01:00
Vincent Lejeune
61dd0fdc60
Reenable again culling for shadows
2014-11-03 00:29:44 +01:00
hiker
841ae8814e
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-03 08:56:19 +11:00
hiker
3f74ed3911
Fixed compiler warnings.
2014-11-03 08:56:01 +11:00
hiker
2462aef75a
Fixed compiler warnings and coding style issues.
2014-11-03 08:55:20 +11:00
hiker
d20441d45e
Modified to trigger automatic cmake run.
2014-11-03 08:34:47 +11:00
hiker
fa680e8903
Merge branch 'Flakebi-perPlayerDifficulties'
2014-11-03 08:33:51 +11:00
hiker
ed10b022d2
Use a group for handicap related config settings.
2014-11-03 08:32:35 +11:00
hiker
62b81b3e9a
Shortened labels to fit on smaller screens.
2014-11-03 08:23:35 +11:00
hiker
0be0d7ee72
Merge branch 'perPlayerDifficulties' of https://github.com/Flakebi/stk-code into Flakebi-perPlayerDifficulties
2014-11-03 06:52:31 +11:00
Vincent Lejeune
ddecd23472
Tweak values
2014-11-02 19:07:02 +01:00
Vincent Lejeune
ebe11370a2
Reenable bluring
2014-11-02 16:30:44 +01:00
Vincent Lejeune
c5186e3ab3
Use depth in exp space
2014-11-02 16:26:46 +01:00
Vincent Lejeune
b975b63eea
Use proper depth linear value
2014-11-02 16:00:41 +01:00
hiker
6f46f5a8b3
Support for gamepad-specific button/axis names. Added name for xbox
...
controller.
2014-11-02 23:13:49 +11:00
Vincent Lejeune
f5a44c0a19
Take more sample
2014-11-02 02:42:44 +01:00
Vincent Lejeune
1ecd8dcf4f
Fix moiré pattern
2014-11-02 02:37:20 +01:00
Vincent Lejeune
f4e0437106
Fix textureview
2014-11-02 02:37:19 +01:00
Vincent Lejeune
6bf5c13bde
Implement shadow blur
2014-11-02 02:37:19 +01:00
Vincent Lejeune
57b6d8e415
Revert "Use MSAA for shadowmap"
...
This reverts commit fce9fe4385aa488a6f02814790022828d5e8f8bf.
Conflicts:
src/graphics/render_geometry.cpp
src/graphics/rtts.cpp
2014-11-02 02:37:18 +01:00
Vincent Lejeune
cedbb32a17
Try to fix incomplete fbo attachement
2014-11-02 02:37:17 +01:00
Vincent Lejeune
4e6a7b5192
Use MSAA for shadowmap
2014-11-02 02:37:17 +01:00
Vincent Lejeune
937eb3baf8
Add trilinear + anisotropic on shadows
2014-11-02 02:37:16 +01:00
Vincent Lejeune
9113aa7a39
Implement Exponential Shadow map
2014-11-02 02:36:10 +01:00
Vincent Lejeune
7679213e26
Use exp algorithm for the gaussian blur
2014-11-02 02:35:02 +01:00
auriamg
042817a760
Merge pull request #1653 from tobbi/fix_mac_linking
...
Fix linking on OSX
2014-11-01 21:09:53 -04:00
Vincent Lejeune
8588720f6b
Add a check for instance buffer overflow
2014-11-02 01:00:10 +01:00
Vincent Lejeune
5557a0165a
Fix rtt crash
2014-11-02 00:21:54 +01:00
auriamg
7d06cfa2d0
Merge pull request #1652 from tobbi/fix_mac_compilation
...
Fix compilation on OSX 10.10
2014-11-01 18:53:23 -04:00
Tobias Markus
53339cf417
Fix linking on OSX
2014-11-01 22:55:19 +01:00
Vincent Lejeune
6aed902ae0
Store depth in color buffer instead of depth
...
This allows for instance to blur it using already existing shaders
2014-11-01 22:38:38 +01:00
Tobias Markus
4861a52c3f
Fix compilation on OSX 10.10
...
Closes #1646
2014-11-01 22:22:58 +01:00
hiker
f2e33b1000
Fixed compilation (accidentally added some wip code).
2014-11-01 12:27:09 +11:00
hiker
9f0d1f00ea
Inreased default deadzone to 4096.
2014-11-01 12:22:20 +11:00
hiker
6a296aab62
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-01 12:13:44 +11:00
hiker
15e712ba49
iFix #960 : impossible to configure xbox controller. The xbox controller
...
can have a rather huge deadzone, which prevent detection when a axis
was released.
2014-11-01 11:58:04 +11:00
Vincent Lejeune
b80ecb48f4
Merge branch 'cullingdebug'
2014-11-01 00:21:26 +01:00
Vincent Lejeune
aba6c00fc6
Add profiler
2014-11-01 00:12:54 +01:00
hiker
8aac6ca6d0
For now comment out debug messages.
2014-11-01 09:54:21 +11:00
hiker
62ef836e7c
Bugfixes: set number of buttons in the configuration (since it is
...
not saved in the config file), use floating point in desensitizing.
2014-11-01 09:53:13 +11:00
hiker
b992375c58
Added missing initialisation.
2014-11-01 09:51:42 +11:00
Vincent Lejeune
b95fb6d030
Do some kind of hierarchical culling
2014-10-31 23:39:06 +01:00
Vincent Lejeune
7489c7bceb
Use classic scene manager parsing for cull algorithm
2014-10-31 23:38:59 +01:00
Vincent Lejeune
979d872fe0
Remove quick culling
...
Sometimes it returns wrong results
2014-10-31 23:29:42 +01:00
Vincent Lejeune
cf18a8ee20
Display bounding boxes
2014-10-31 23:29:41 +01:00
Marianne Gagnon
9c9c4d2fcf
bugfix: auto-calculate tangents for static-mesh too
2014-10-31 23:29:40 +01:00
Flakebi
9ca1c03480
Applying merges correctly is difficult...
2014-10-31 18:54:52 +01:00
Flakebi
abf7bacfea
Merge branch 'upstream/master' into perPlayerDifficulties
...
Conflicts:
src/graphics/stkmesh.cpp
src/states_screens/kart_selection.cpp
2014-10-31 16:47:34 +01:00
Sachith Hasaranga Seneviratne
ebb914d0ef
Added basic caching for scripts
2014-10-31 16:23:56 +05:30
hiker
98c8985739
Removed unused constants.
2014-10-31 21:06:26 +11:00
Sachith Hasaranga Seneviratne
9822234fc5
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptCache
2014-10-31 15:28:05 +05:30
hiker
e9e5cab164
Added option to 'desensitze' joysticks, i.e. make it less sensible
...
at values close to 0.
2014-10-31 16:32:39 +11:00
hiker
22441c1fd8
Forgot to add isAnalog() function for gamepads.
2014-10-31 16:19:31 +11:00
hiker
b56280761f
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-31 15:32:26 +11:00
hiker
e2d17bcf88
Added 'isAnalog' functionality to avoid that gamepads on full left/right
...
steering will delay steering because of time-full-steer. Added some
virtual destructors.
2014-10-31 15:18:26 +11:00
hiker
086705ab3e
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-31 12:30:44 +11:00
hiker
c72ff275ec
CURRENT can not be defined as result of or-ing the values, since the
...
values are not bit masks.
2014-10-31 12:29:15 +11:00
Vincent Lejeune
a54d03377b
Remove quick culling
...
Sometimes it returns wrong results
2014-10-31 02:16:23 +01:00
Vincent Lejeune
6ea56bb974
Display bounding boxes
2014-10-31 01:46:35 +01:00
Marianne Gagnon
6429d394e5
bugfix: auto-calculate tangents for static-mesh too
2014-10-30 19:57:03 -04:00
hiker
ca6a0accaa
Fixed compilation in release mode.
2014-10-31 09:14:18 +11:00
hiker
4986deebd6
Removed number of axes and buttons from GamepadDevice, and use the
...
values from GamepadConfig instead.
2014-10-31 08:16:15 +11:00
hiker
e9980fcb2f
Completely removed device type, instead use isGamePad() and
...
isKeyboard().
2014-10-30 17:43:50 +11:00
Marianne Gagnon
aac454f846
Fix bug in feature unlocked screen, improve error message
2014-10-29 20:07:01 -04:00
Vincent Lejeune
ee687440c7
Increase shadow filtering
2014-10-29 18:57:39 +01:00
Sachith Hasaranga Seneviratne
2c70eb5cc7
Remove unnecessary engine releases within script engine lifetime
2014-10-29 17:42:58 +05:30
deve
ab82e3f62a
Fixed cmake warning.
...
Angelscript is not separated project, but static library.
2014-10-29 09:30:03 +01:00
hiker
25bbc06109
Made m_type in DeviceConfig private.
2014-10-29 16:41:26 +11:00
hiker
ce9cfa3bc8
Removed unnecessary #include.
2014-10-29 16:41:04 +11:00
hiker
7b809636d4
Made m_plugged and m_name in DeviceConfig private.
2014-10-29 16:37:27 +11:00
hiker
0264677750
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-29 15:44:24 +11:00
hiker
721c8bfa88
Made m_enabled in DeviceConfig private.
2014-10-29 15:44:05 +11:00
Marianne Gagnon
09953e622e
Fix crash
2014-10-28 20:09:20 -04:00
Vincent Lejeune
25c017b5fd
Reenable normal visualisation
2014-10-29 00:40:30 +01:00
Marianne Gagnon
bf0f75a367
Fix (again) initial scattering of now so that it falls evenly
2014-10-28 19:06:29 -04:00
Vincent Lejeune
40932fadeb
Make resolution change more robust
2014-10-28 23:43:41 +01:00
Vincent Lejeune
cd74ee0d87
Use correct sampler for azdo mode for rubber band
2014-10-28 23:19:42 +01:00
vlj
93d03c53b9
Merge pull request #1644 from tobbi/fix_mac_compilation
...
Add default constructor to class Tuple<>, fixes issue #1643
2014-10-28 22:42:13 +01:00
hiker
29f5b14e45
More refactoring. Created factory for DeviceConfigs.
2014-10-29 08:22:25 +11:00
Arthur-D
6c0ace85ee
Slight improvement on notification backgrounds. Feedback welcome.
2014-10-28 07:16:29 +01:00
hiker
92196c7534
Made processAndMapInput a pure virtual function of InputDevice, which
...
is implemented in Keyboard- and GamepadDevice.
2014-10-28 17:04:00 +11:00
hiker
9d5fd13ae9
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-28 16:10:16 +11:00
hiker
ab915b20a3
Use toIrrVector().
2014-10-28 16:00:28 +11:00
Vincent Lejeune
891330a8f3
Do fast culling inside precise culling
2014-10-28 01:40:02 +01:00
hiker
39b8f79f9f
Fixed conflicts with my refactoring work.
2014-10-28 10:14:38 +11:00
hiker
a0b7b1003d
More work on refactoring input devices (still wip).
2014-10-28 10:14:04 +11:00
hiker
891b0697dc
Fixed compilation on VS.
2014-10-28 10:13:44 +11:00
hiker
f7d767e57b
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-28 09:47:28 +11:00
Marianne Gagnon
139f20b39d
Merge remote-tracking branch 'sachith/ScriptEngine'
...
Conflicts:
CMakeLists.txt
sources.cmake
src/io/file_manager.cpp
src/io/file_manager.hpp
src/modes/world.hpp
src/tracks/track.hpp
src/tracks/track_object_presentation.cpp
2014-10-27 18:43:09 -04:00
Tobias Markus
1acfc4a878
Add default constructor to class Tuple<>, fixes issue #1643
2014-10-27 23:12:07 +01:00
hiker
9e9ce47a2b
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-28 09:02:35 +11:00
hiker
b66fb2e56b
Removed unnecessary parameter for gamepads in processAndMapInput,
...
started a common virtual function for processAndMapInput. Removed
unnecessary #includes, cosmetic changes.
2014-10-28 09:00:22 +11:00
hiker
9d06c276b2
Removed unnecessary line breaks.
2014-10-27 17:03:41 +11:00
hiker
bb24585229
Fixed error in xml writing.
2014-10-27 17:03:16 +11:00
hiker
3235633bbc
Fixed copy&paste error.
2014-10-27 16:56:27 +11:00
hiker
a14423ac2a
Bugfix: the number '4' would not be displayed correctly if used
...
as input key.
2014-10-27 16:55:49 +11:00
hiker
99f69f4070
Moved KeyboardConfig and GamepadConfig from DeviceConfig to their
...
own separate files.
2014-10-27 13:26:52 +11:00
Marianne Gagnon
32c5d79e26
World : do not self-destruct until everything completely done
2014-10-26 19:05:07 -04:00
Flakebi
f27597c450
Revert "Fix incorrect alignment in spinner widgets"
...
This reverts commit 4cb8be6ab4 .
2014-10-26 18:02:28 +01:00
Flakebi
46f3fa5f74
Merge branch 'upstream/master' into perPlayerDifficulties
...
Conflicts:
data/gui/options_ui.stkgui
src/graphics/stkmesh.cpp
src/states_screens/options_screen_ui.cpp
2014-10-26 17:47:29 +01:00
Flakebi
4cb8be6ab4
Fix incorrect alignment in spinner widgets
2014-10-26 17:10:28 +01:00
Flakebi
690e632e1b
Move handicap to ui options and to the player name spinner
2014-10-26 16:56:50 +01:00
Arthur-D
ef2cf3b17d
Sorry for the previous messy merge - no files were changed remotely so should be safe. Due to my mishap I need to commit the files I wanted to again. Those are new bg images for achievement and friend notifications. Feedback welcome.
2014-10-26 15:34:51 +01:00
Arthur-D
4ed59d8a4d
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-26 14:10:31 +01:00
hiker
e8f509eefe
Moved DeviceConfig from config to input directory.
2014-10-26 23:26:02 +11:00
hiker
ec908d85c6
Split GamepadDevice and KeyboarDevice from input_device into their
...
own files. Renamed InputManager::getDeviceList() to getDeviceManager().
2014-10-25 23:09:00 +11:00
hiker
d63a5dba45
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-25 10:36:19 +11:00
hiker
d8cb6e1069
Moved #include to the top.
2014-10-25 10:32:28 +11:00
Marianne Gagnon
047c6fc760
Add debug name to meshes and mesh buffers, helps debugging
2014-10-24 19:25:24 -04:00
hiker
759182bb68
Used SDL's joystick name detection on windows.
2014-10-25 10:18:27 +11:00
hiker
1cd5ffd484
Fixed compiler warning.
2014-10-24 21:48:14 +11:00
hiker
6893e94e71
Replaced irrXML usage with out XMLNode.
2014-10-24 21:47:50 +11:00
hiker
2d5af3bee8
Change the text of the login name dynamically (i.e. from local
...
name to online name).
2014-10-24 16:52:37 +11:00
hiker
d1f68ca480
Go to the user screen when clicking on the user button.
2014-10-24 14:00:51 +11:00
hiker
f7893afbef
Adjusted button position, thanks to auria.
2014-10-24 11:16:08 +11:00
hiker
b5db6f3270
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-24 10:35:55 +11:00
hiker
8bc6aa91bb
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-24 10:34:59 +11:00
hiker
1920703f09
Converted label to button, just for tests.
2014-10-24 10:34:10 +11:00
hiker
f6aa05ec1c
Modified to trigger automatic rerun of cmake.
2014-10-24 10:30:23 +11:00
hiker
3372d06759
Removed unused files.
2014-10-24 10:22:27 +11:00
Vincent Lejeune
794ab54b7a
Clamp lodval
2014-10-24 00:41:34 +02:00
hiker
b4f95d672a
Started to indicate the name of the logged in user ... still work in
...
progress (black writing on dark grey).
2014-10-23 22:26:11 +11:00
hiker
f70687a00b
Minor cosmetic changes only.
2014-10-23 22:25:23 +11:00
hiker
6e79f90166
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-23 08:34:47 +11:00
hiker
efe64f4a67
Engine is no longer disabled after a kart-kart collision.
2014-10-23 08:21:54 +11:00
hiker
2cad89ceeb
iFix #1617 (no sfx on hitting the track).
2014-10-23 08:03:15 +11:00
Arthur-D
e7ef83aea8
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-22 22:14:20 +02:00
Vincent Lejeune
7d602225fb
Use InitTexture for transparents too
2014-10-22 22:05:09 +02:00
Vincent Lejeune
d0b996ab4a
Use template defined SetTexture argument sets instead of vector
2014-10-22 21:51:11 +02:00
Vincent Lejeune
9ca4d7e3e6
Improve ibl specular reflexion using mipmap chain
2014-10-22 14:49:06 +02:00
hiker
86b8036926
Fix #1631 (SFX can not be enabled in in-race game menu).
2014-10-22 17:16:39 +11:00
hiker
9e76a81bfd
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-22 09:42:42 +11:00
Vincent Lejeune
bdb98d6380
remove nested np.sum
2014-10-22 00:40:58 +02:00
Vincent Lejeune
de09937f88
Algorithm for diffuse coeff implemented in py
2014-10-22 00:17:32 +02:00
hiker
69c155063a
Added Yes/No dialog box, and used it for the 'allow STK to connect
...
to internet' question.
2014-10-22 09:15:42 +11:00
Vincent Lejeune
7d22a5961d
Vectorize solid angles a little more
2014-10-21 23:37:48 +02:00
Vincent Lejeune
82610cc048
Normalize terms in computeYmlOnGrid
2014-10-21 23:32:45 +02:00
Vincent Lejeune
d9ea756b15
Add function for solid angle
2014-10-21 23:28:01 +02:00
hiker
c012e98f9b
Allow disabling of hw stats collection.
2014-10-22 08:20:26 +11:00
hiker
690ad4ce95
Fixed sfx direction.
2014-10-21 22:07:22 +11:00
Marianne Gagnon
0025f908db
Add cleanup post-minimap-RTT. Appears to fix #1470 . Hard to know for sure since this bug is random :(
2014-10-20 20:38:37 -04:00
hiker
d3ba39b130
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-21 09:49:21 +11:00
Vincent Lejeune
2e27d8724a
Add a script that computes IBL factors
2014-10-21 00:35:25 +02:00
hiker
98a10d5614
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-21 08:49:03 +11:00
hiker
8d9f1aa002
Renamed SoundToggled to toggleSound.
2014-10-21 08:48:21 +11:00
Deve
04933af4b0
Redrawing GP info screen is not needed now.
2014-10-20 23:46:25 +02:00
Deve
321f0e7078
Remove saved GP when we start new race.
...
Avoid a crash. Saved GP was deleted, but was not NULL. And in other place we have if(m_saved_gp != NULL) check, which was true for deleted object.
2014-10-20 23:46:25 +02:00
konstin
4647a50acb
Save GP on abort
2014-10-20 23:46:25 +02:00
konstin
f65ad8f84f
Save GP reverse Type; close #1137
2014-10-20 23:46:25 +02:00
konstin
035fc599ee
fix ordering of the karts and maybe some more
2014-10-20 23:46:25 +02:00
konstin
ae24c6b40f
only one saved GP per GP-ident
...
Conflicts:
src/graphics/glwrap.cpp
2014-10-20 23:46:25 +02:00
hiker
65b7589849
Make sure the sfx are resumed before calling onSOundEnbaledBack().
2014-10-21 08:31:10 +11:00
hiker
c7d7e17ff9
Handle setMasterVolume in sfx thread.
2014-10-21 08:28:41 +11:00
hiker
a09c1346b7
Fixed sound objects.
2014-10-21 08:21:58 +11:00
Flakebi
57afd1d585
Merge remote-tracking branch 'origin/master' into perPlayerDifficulties, this time the right branch...
...
Conflicts:
data/gui/user_screen.stkgui
data/gui/user_screen_tab.stkgui
src/graphics/glwrap.cpp
src/graphics/weather.cpp
src/states_screens/user_screen.cpp
2014-10-20 22:36:54 +02:00
Flakebi
71b8ba4d43
Merge branch 'master' into perPlayerDifficulties
...
Conflicts:
src/guiengine/widget.hpp
src/guiengine/widgets/progress_bar_widget.cpp
2014-10-20 22:27:34 +02:00
hiker
9dff5a7990
Fix potential memory overwrite in soccer mode when using one player
...
only (artist debug mode).
2014-10-20 23:01:31 +11:00
hiker
8b7bf28e0f
Fixed #1147 - sounds should stopped when they are disabled in option screen.
...
Fixed by explicitely stopping all non-looped sfx.
2014-10-20 22:37:19 +11:00
hiker
07c37539fd
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-20 09:43:40 +11:00
hiker
36ea7f30bf
Only restart sfx if they were really paused.
2014-10-20 09:43:05 +11:00
Vincent Lejeune
f3dd009376
Try to fix model loader hpp
2014-10-19 18:44:08 +02:00
Vincent Lejeune
4ee0e24ff7
Try to fix travis build.
2014-10-19 16:40:27 +02:00
Vincent Lejeune
b13e6931ce
Revert "Try to fix travis build."
...
This reverts commit 3ea954cc73 .
2014-10-19 16:39:39 +02:00
hiker
3ea954cc73
Try to fix travis build.
2014-10-20 00:48:15 +11:00
hiker
11dbb6f062
Fixed some warnings printed when sfx are disabled.
2014-10-20 00:05:48 +11:00
Marianne Gagnon
9b46cdc981
Refactor library nodes to be proper TrackObjects, allows animating them with curves
2014-10-18 19:11:24 -04:00
Vincent Lejeune
e23aba65f4
Move shader load code to shader.cpp instead of glwrap.hpp
2014-10-18 23:53:16 +02:00
Vincent Lejeune
80c7c5e49b
Remove unused functions
2014-10-18 18:29:37 +02:00
Vincent Lejeune
95cf6c5f4a
Put 2d function in their own header
2014-10-18 18:16:50 +02:00
Vincent Lejeune
5efea6fd1a
Factorise attribute binding function
2014-10-18 17:59:30 +02:00
hiker
c40a8eb377
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-18 23:44:11 +11:00
hiker
650b541def
Try to fix #1622 (can't login due to a missing password entry field).
2014-10-18 23:43:27 +11:00
Vincent Lejeune
e165398fdd
Fix texture
2014-10-18 04:10:59 +02:00
hiker
3082267eb4
Properly test for sfx disabled, and only schedule events if sfx
...
are enabled. Fixes #1629 .
2014-10-18 12:11:02 +11:00
hiker
df5635e90f
Fixed typo in warning message.
2014-10-18 12:10:27 +11:00
hiker
02435e4977
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-18 11:47:20 +11:00
hiker
19f9afb67f
Manually keep track of the duration each sfx has been played (instead
...
of relying on the world clock, which can run backwards, e.g. in
FTL mode). Fixes #1624 .
2014-10-18 11:46:22 +11:00
Marianne Gagnon
acc90fd03c
Don't let irrlicht process tab events. FIxes #1619 , fixes #1225 , fixed #1454
2014-10-17 19:39:38 -04:00
Marianne Gagnon
c95e90b925
Tweak checkbox position on login screen
2014-10-17 19:24:21 -04:00
Vincent Lejeune
2f45266c6f
Fix position of speedmeter
...
Only need to get the texture
2014-10-17 18:51:41 +02:00
Vincent Lejeune
ce7f017adf
Some fixes
2014-10-17 18:43:39 +02:00
Vincent Lejeune
f67f207d4b
Start fixing speedmeter
2014-10-17 18:19:23 +02:00
hiker
3694758f56
Removed debug output.
...
Conflicts:
src/audio/sfx_manager.cpp
2014-10-17 16:54:44 +11:00
hiker
7103ea8e88
Throttle sfx command if the queue should get too long (might need some
...
tuning). Non-essential sfx (positioning, speed, looping, and play)
are discarded.
2014-10-17 16:53:44 +11:00
hiker
0a39842b04
Throttle sfx command if the queue should get too long (might need some
...
tuning). Non-essential sfx (positioning, speed, looping, and play)
are discarded.
2014-10-17 16:49:14 +11:00
hiker
403702d6bb
Handle pauseAll and resumeAll completely in thread now. Avoids a crash
...
(caused by pauseAll trying to pause a sfx that is still in the list of
all sfx, but has a delete command already queued up).
2014-10-17 16:26:15 +11:00
hiker
383cbef14d
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-17 12:04:04 +11:00
hiker
c7f37297b1
Fixed potential deadlock (if a sfx is not found in the queue, which shouldn't
...
happen); stop sounds which are deleted only once, slightly reduce size of
locked region.
2014-10-17 12:02:23 +11:00
hiker
813edc7ddf
Remove SFX_INITIAL state.
2014-10-17 12:00:00 +11:00
Marianne Gagnon
1bd9fc0423
Fix mesh tangents caching
2014-10-16 18:40:49 -04:00
Marianne Gagnon
bf5c77d061
Merge branch 'master' into TangentsCaching
2014-10-16 18:20:23 -04:00
hiker
a40d6d8a00
Removed isPlaying function, and use getStatus instead.
2014-10-17 08:27:40 +11:00
Deve
3499975b03
Move track name to center.
...
It allows a bit longer track names and looks better.
2014-10-16 19:33:54 +02:00
hiker
3d15f13c74
iFixed #1624 (though it is a bit of a hack).
2014-10-16 23:45:09 +11:00
hiker
6dc36b6096
Merge branch 'quizywiz-master'
2014-10-16 22:51:18 +11:00
hiker
31c4b2c475
Merge branch 'master' of https://github.com/quizywiz/stk-code into quizywiz-master
2014-10-16 22:47:46 +11:00
hiker
014bc73940
Don't create a sound effect for AIs if its volume is set to 0.
2014-10-16 21:46:31 +11:00
Deve
9921c742e3
Merge pull request #1621 from marcoll/master
...
Use length limit for dynamic ribbon labels in the GP editor
2014-10-16 08:30:34 +02:00
hiker
662200371a
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-16 17:17:26 +11:00
hiker
4bb1091f3e
Moved sfx thread update to happen after graphics code is finished.
...
This improves performance since threads in graphics code do not
compete with threads in sfx handling anymore.
2014-10-16 17:11:15 +11:00
hiker
e4e0724cb9
Removed unnecessary stop of music (music will stop anyway once the
...
buffer is finished, but if music is completely threaded it might
just keep on playing).
2014-10-16 17:03:13 +11:00
hiker
a18766e3e6
Handle looping in sfx thread.
2014-10-16 16:57:12 +11:00
hiker
4edcf6169b
Removed debug code.
2014-10-16 12:55:59 +11:00
hiker
c61b7d632d
Fix stk hanging on exit.
2014-10-16 12:48:48 +11:00
hiker
8a89ce5161
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-16 12:47:45 +11:00
hiker
1f87dbb94e
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-16 09:12:19 +11:00
hiker
0cccb5f1d5
Fixed typo.
2014-10-16 09:11:56 +11:00
hiker
140ea5ed84
Update comments.
2014-10-16 08:21:26 +11:00
hiker
aae834ba4b
Run the music manager from the sfx thread.
2014-10-16 08:13:55 +11:00
hiker
09f8ffb16e
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-16 07:40:43 +11:00
hiker
bba7156aff
Handle the setting of the listener position in the sfx thread.
2014-10-15 23:42:59 +11:00
hiker
7e4e857b41
Improve situation of #1624 - it should only happen now if you pause the
...
game in the first one or two seconds after start (still wip).
2014-10-15 23:38:13 +11:00
Marianne Gagnon
3fe2870c39
Cleaner fix for #1626 , closes #1626
2014-10-14 20:03:50 -04:00
Marianne Gagnon
514d0c4dfe
Work around #1626
2014-10-14 19:59:42 -04:00
Arthur-D
c45f6a1133
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-14 23:21:58 +02:00
hiker
607e94ea84
Fixed #1622 (missing password field in login screen).
2014-10-15 08:20:06 +11:00
hiker
eec19b0703
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-15 07:56:50 +11:00
hiker
8fcc373b2a
Add volume, speed, and position settings to be done by the sfx
...
thread. Removed more unnecessary error checks (which mostly flood
stdout with 'not playing ...' messages), and renamed volume, position
and speed to setVolume, setPosition and setSpeed.
2014-10-15 07:55:18 +11:00
quizywiz
6dd9feff36
escape or back on friends profile takes you to your profile
...
Also, fixed bug where user info dialog was accessing m_enter_profile
after it was deleted
2014-10-14 12:07:08 +05:30
hiker
c18579d86a
Fixed compiler warning.
2014-10-14 09:57:53 +11:00
hiker
22633aa363
Avoid calling querying the openal status in getStatus (which causes
...
a slowdown of sfx).
2014-10-14 09:01:26 +11:00
hiker
d753fab7db
Removed debug output.
2014-10-14 09:01:13 +11:00
hiker
665f146923
Moved SFXStatus enum to SFXBase.
2014-10-14 08:05:04 +11:00
Marc Coll Carrillo
26b286ab9c
Merge remote-tracking branch 'upstream/master'
2014-10-13 18:00:59 +02:00
hiker
5cf7b0dca9
Added computation of the duration of a sound buffer (unused atm).
2014-10-13 22:06:05 +11:00
hiker
f84e773738
Removed status check when queueing sfx, to get more consistent
...
runtime behaviour.
2014-10-13 22:04:46 +11:00
hiker
0b691ba3e8
Merge remote-tracking branch 'origin/master'
2014-10-13 16:40:53 +11:00
hiker
e5315c7583
Merge branch 'marcoll-master'
2014-10-13 16:38:30 +11:00
Marianne Gagnon
2b90cb2a69
Use case-insensitive comparison for animated textures, for some reason
2014-10-12 20:12:40 -04:00
hiker
c5434aa845
Merge branch 'master' of https://github.com/marcoll/stk-code into marcoll-master
2014-10-13 09:55:25 +11:00
hiker
bfe84612fa
Let all SFX commands be handled by the sfx manager thread (otherwise
...
events could be handled in the wrong order, e.g. a delete from the
main thread before the play in the manager thread, resulting in a crash).
Should fix #1511 and #1604 .
2014-10-13 08:26:45 +11:00
Marc Coll Carrillo
f0429ce95e
Use length limit for dynamic ribbon labels in the GP editor
2014-10-11 10:50:06 +02:00
hiker
216575a732
Started to let all sfx related command be executed from the sfx manager
...
to avoid race condition and crashes.
2014-10-11 11:55:02 +11:00
Marc Coll Carrillo
c159f1fca2
Merge remote-tracking branch 'upstream/master'
2014-10-10 22:39:55 +02:00
hiker
4dc817890b
Reverted 77bd4140a8 (which caused
...
crash and other sfx to be played only once).
2014-10-10 23:50:27 +11:00
Arthur-D
8d6daf8e14
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-10 13:18:00 +02:00
hiker
77bd4140a8
Replaced more getStatus() functions.
2014-10-10 16:48:21 +11:00
hiker
61068c7278
Replaces sfx->getStatus with isPlaying() functi n which is faster
...
(for #1511 ).
2014-10-10 16:45:29 +11:00
hiker
6dc18a3557
Change "Cancel" to 'Exit game' and make the back arrow invisible if
...
the login screen is shown before the race start.
2014-10-10 16:19:25 +11:00
hiker
8d587ab8f1
Fixed windows compilation.
2014-10-10 09:54:57 +11:00
hiker
a5ad78654e
Remove data after "-" when using uname (which could theoretically be
...
used to identify a system).
2014-10-10 09:40:19 +11:00
hiker
3877bf1dab
Added support for detecting BSD versions; added uname based fallback
...
on linux in case /etc/*release does not find valid info.
2014-10-10 09:21:15 +11:00
hiker
5d019e3537
Don't show a password entry field for the currently logged in user.
2014-10-10 07:57:10 +11:00
hiker
f39e2d9cdf
Actually display secret achievements once they have been achieved.
2014-10-10 07:49:14 +11:00
hiker
50c21cc11e
Added secret achievement (i.e. progress not shown in list).
2014-10-09 23:32:17 +11:00
deve
08c8de1986
Fixed missing quotes
2014-10-09 07:07:16 +02:00
auriamg
3061123e3e
Merge pull request #1606 from Flakebi/fix
...
Fix some more bugs
2014-10-08 18:18:37 -04:00
Arthur-D
b711a9949a
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-08 21:06:24 +02:00
deve
6a62eaec9c
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-08 14:49:15 +02:00
deve
f8de826888
Fixed compiler warnings
2014-10-08 14:44:05 +02:00
hiker
8495dbfd27
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-08 23:17:04 +11:00
hiker
30413b8d6d
Fix loss of associated online user name if stk is played offline
...
(might be a fix for #1595 ).
2014-10-08 23:14:43 +11:00
deve
95483268cf
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-08 14:04:38 +02:00
deve
d5faa23e0c
Use CMAKE_CXX_FLAGS instead of add_definitions for additional flags
2014-10-08 14:03:23 +02:00
hiker
029c33c276
Avoid writing the players.xml file multiple time at the exit time.
2014-10-08 22:53:34 +11:00
hiker
bc7d8f6103
Fixed compiler warning.
2014-10-08 22:49:32 +11:00
deve
f11b482576
Use stringstream instead of visual studio specific sscanf_s
2014-10-08 07:07:27 +02:00
Vincent Lejeune
ea3cc141ff
Fix grass in azdo mode
2014-10-08 01:01:28 +02:00
Vincent Lejeune
5b2d334b8c
Grass mat should use glossmap too
2014-10-08 00:50:18 +02:00
hiker
17fd8df935
Fixed assert statement.
2014-10-08 08:25:42 +11:00
hiker
4ff00018b4
Fixed alignment of password field.
2014-10-08 08:25:00 +11:00
hiker
d5bc5ec110
Fix #1605 : crash when downloading friends and achievements at the same time.
2014-10-08 08:00:58 +11:00
Flakebi
069853b11f
Fix #1153 Cleanup logging code
2014-10-07 20:54:54 +02:00
Deve
8818892bd2
Restore saved GPs is working again.
2014-10-07 19:16:18 +02:00
Marc Coll Carrillo
9b57d76a79
Check texture cache before adding an icon button's disabled texture
2014-10-07 18:27:08 +02:00
hiker
b2e6a4387a
Fixed linux compilation.
2014-10-07 23:15:27 +11:00
deve
3855dd646a
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-07 06:54:42 +02:00
hiker
ed7a114f5f
Fix #1583 : flushing entries from the online profile cache would
...
make friend lists of other progiles incomplete. Also increased cache
size to 100.
2014-10-07 16:52:18 +11:00
deve
6b43e2dd6f
Don't allow too long GP names.
2014-10-07 06:54:02 +02:00
hiker
6a47c157d2
Removed "" around linux version number in hardware report,
...
compiler warning and windows line endings.
2014-10-07 15:42:22 +11:00
Flakebi
0193c4c7a5
Fix #1170 Add "Don't Assign" option when configuring inputs
2014-10-07 00:06:15 +02:00
Vincent Lejeune
9de7d11ee4
Fix bloom effect on mesa
2014-10-07 00:00:16 +02:00
Vincent Lejeune
20ea7ca271
GI use sun color value
2014-10-06 22:51:41 +02:00
Arthur-D
8e38f4ca30
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-06 22:39:48 +02:00
Deve
a4ac9f95c2
Use length limit for text only if it's needed.
...
This check is IMO not needed at all because translators will see if text fit in available area or not. But anyway this length should be large enough.
2014-10-06 21:57:25 +02:00
vlj
f828edb445
Fix crash with plunger
2014-10-06 20:51:04 +02:00
Deve
d270a7b80f
Merge pull request #1603 from Flakebi/fix
...
Fix #1438
2014-10-06 18:41:47 +02:00
hiker
8f7515bdbf
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-06 22:09:03 +11:00
hiker
1c7a9229f2
Added OS version for windows and distro-version for linux (not fully tested).
2014-10-06 22:08:28 +11:00
vlj
b10f1a3ef2
Tweak envmap
2014-10-06 02:29:18 +02:00
vlj
c7b98c4e6c
Emulate envmap specular reflexion
2014-10-06 02:19:21 +02:00
hiker
cb40f68229
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-06 09:07:34 +11:00
hiker
a459328676
Fix display of notifications.
2014-10-06 09:01:31 +11:00
hiker
6f5b7aa4ae
Tried a different layout for the checkboxes (sorry, but I didn't like the
...
previous approach at all). Only disadvantage now (I can think of) is that
the width of the lables is now hard coded to 40% of the screen.
2014-10-06 07:48:15 +11:00
Vincent Lejeune
44792a1490
Fix splatting
2014-10-05 22:46:02 +02:00
Vincent Lejeune
4bb73e0573
Fix godray opacity
2014-10-05 22:23:10 +02:00
Vincent Lejeune
9394f275cd
Merge branch 'specmap'
2014-10-05 21:56:10 +02:00
Vincent Lejeune
019db1a11d
Revert "Revert "Prepare shader for specmap value""
...
This reverts commit 780482edba .
2014-10-05 21:56:04 +02:00
Vincent Lejeune
0db951f374
Try to emulate enery conservation
2014-10-05 21:53:06 +02:00
Vincent Lejeune
300a09746f
Additionnal fixes
2014-10-05 21:45:56 +02:00
Vincent Lejeune
4c4aba2ad8
Some fixes
2014-10-05 21:33:11 +02:00
Flakebi
297221ca3d
Fix #1438
2014-10-05 21:32:14 +02:00
Vincent Lejeune
a8161288a9
Convert remaining shaders
2014-10-05 20:47:13 +02:00
Vincent Lejeune
9f2b66d195
Use specmap on others mats
2014-10-05 20:37:49 +02:00
Flakebi
f95eeb7f56
Fix #1602
2014-10-05 15:11:45 +02:00
hiker
2730c3c026
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-05 21:37:42 +11:00
hiker
df62c8921e
Added limited lazy-load flag to avoid loading of all font textures
...
(most of which might not be needed). Fixes #1592 .
2014-10-05 21:35:14 +11:00
Flakebi
dc78c35b50
Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties
...
Conflicts:
data/gui/user_screen.stkgui
data/gui/user_screen_tab.stkgui
src/karts/kart.cpp
2014-10-05 12:10:39 +02:00
Vincent Lejeune
780482edba
Revert "Prepare shader for specmap value"
...
This reverts commit 88954a5d88 .
2014-10-05 02:30:15 +02:00
Vincent Lejeune
0121ae8db6
Use specmap value
2014-10-05 02:30:01 +02:00
Vincent Lejeune
88954a5d88
Prepare shader for specmap value
2014-10-05 02:12:04 +02:00
Marianne Gagnon
83b25768cc
tweak players screen, checkbox placement was weird
2014-10-04 19:44:04 -04:00
Marianne Gagnon
c1d6c054c8
Route a few more controls rendering through the skin, to make them use OpenGL 3
2014-10-04 19:38:44 -04:00
Marianne Gagnon
5a07fd0fa4
FIx crash in LOD
2014-10-04 19:05:27 -04:00
Deve
78b21eb840
Fixed visibility parameter for icon button widget.
...
It was set for widget but not for irrlicht gui element.
2014-10-04 21:51:08 +02:00
hiker
f63e7d93b8
Fixed #1598 (error message about font texture not found).
2014-10-04 23:32:54 +10:00
Marc Coll Carrillo
ee49604856
Issue #1588
...
Fixed crashes in track info screen
2014-10-04 12:15:11 +02:00
Vincent Lejeune
b56901bacd
Fix minimap halo second time it is rendered.
2014-10-04 01:42:25 +02:00
Vincent Lejeune
3a1b2442e8
Revert "Try to cull object whose aera is below 1 px"
...
This reverts commit 83053e0ee4 .
2014-10-04 00:59:37 +02:00
Marianne Gagnon
8033c5a839
Don't set animation strength on speed weighted objects, it's probably unnecessary and produces weird artifacts
2014-10-03 18:39:07 -04:00
Marc Coll Carrillo
f520e38cd5
This will (hopefully) solve the memory leaks in dynamic ribbons and image button widgets
2014-10-03 22:11:21 +02:00
Marc Coll Carrillo
cc41327db3
Merge remote-tracking branch 'upstream/master'
2014-10-03 18:15:28 +02:00
hiker
ab252a306d
Try to avoid graphical kart chassis being partially in ground (still not
...
perfect).
2014-10-04 00:39:32 +10:00
Marc Coll Carrillo
3fc0d3be09
Second try of my previous pull request, which was partially reverted due to caused crashes and memory leaks
2014-10-03 16:25:19 +02:00
Arthur-D
45c9e4fcac
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-03 11:11:30 +02:00
hiker
b5a85ae100
Fixed typo in xml output.
2014-10-03 16:48:47 +10:00
hiker
9f5b2fbc91
Added a 'print start position' option, which prints a line that can
...
be copied into a scene.xml file to start a kart at the current
position (which is useful to testing to avoid long races before
a location to be tested is reached).
2014-10-03 08:58:28 +10:00
hiker
15307f5e91
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-03 08:56:02 +10:00
Marianne Gagnon
22a884828a
Use unlit material for minimap, to avoid dark minimap segments
2014-10-02 18:52:17 -04:00
hiker
e4e91bf25a
Only cosmetical changes to follow our coding style.
2014-10-03 08:18:31 +10:00
Deve
ce51824d47
Redraw GP info screen when number of oponents was changed.
...
This allows to show or hide "Continue" button without opening screen once again.
2014-10-02 21:56:46 +02:00
Deve
69217bd03c
Grr, wrong file.
...
Fixed continue GPs
2014-10-02 20:21:46 +02:00
Deve
fccac9ed3c
Revert "Fixed continue GPs"
...
This reverts commit 710f7e7296 .
2014-10-02 20:20:50 +02:00
Deve
710f7e7296
Fixed continue GPs
2014-10-02 20:19:15 +02:00
Deve
4ecff3e46b
Use global number of oponents for grand prix
2014-10-02 20:09:59 +02:00
hiker
74841ad0c5
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-02 22:39:31 +10:00
hiker
e495b42d60
Try to fix #1356 (camera NAN crash).
2014-10-02 22:35:13 +10:00
Arthur-D
f6e9fec017
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-02 14:04:49 +02:00
samuncle
a634ff1056
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-02 13:54:55 +02:00
samuncle
97772ba1ae
set the downard impulse to 5 + a more easy to use backward camera
2014-10-02 13:53:59 +02:00
hiker
9f0b316daf
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-02 21:12:12 +10:00
hiker
38daab5357
Merge commit '2ef8598ddd1ab5593b8b3b9e0ee378cfe0f6bc2c'
2014-10-02 21:08:44 +10:00
hiker
ecd5aa1668
Bugfix: tall karts would easily topple over (since wrong height
...
value was used).
2014-10-02 17:08:26 +10:00
vlj
b4133d8d54
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-02 02:53:35 +02:00
vlj
30dda3e343
Fix sky warp
2014-10-02 02:53:31 +02:00
Marianne Gagnon
bdb722df45
Fix splatting
2014-10-01 20:26:39 -04:00
Marianne Gagnon
11bf9d15c7
Disable source of OpenGL warnings flood in code we don't use
2014-10-01 20:23:22 -04:00
hiker
de9a1f51a7
Removed empty 'online overview' page, show the achievements page instead.
2014-10-02 07:59:24 +10:00
Arthur-D
2076db459d
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-01 16:03:55 +02:00
hiker
a643905053
Minor fix for the (currently unused) downward impulse: only apply it
...
when all four wheels are touching the ground (otherwise the jump
distance is significantly shortened); also fix handling of negative
speed (plus some changes to commented out debug output).
2014-10-01 23:41:13 +10:00
Shantanu Singh
2ef8598ddd
corrected a typo which was earlier written as tpye instead of type
2014-10-01 18:42:51 +05:30
Arthur-D
c6d789d1ff
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-01 11:52:53 +02:00
deve
7b308e9976
Partially revert marcoll pull requeust since it causes crashes and memory leaks.
2014-10-01 07:08:19 +02:00
hiker
49176dd348
Removed debug output, added documentation.
2014-10-01 12:28:10 +10:00
hiker
86b23f2d23
Merge remote-tracking branch 'origin/master' into soft-physics-landing
2014-10-01 11:58:40 +10:00
vlj
783494b4a8
Fix particles being killed too soon
2014-10-01 03:03:07 +02:00
hiker
b6b29f6281
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-01 09:32:13 +10:00
Marianne Gagnon
7387a51381
Disable features of irrlicht's contextual menu that we don't need and cause floods of warnings
2014-09-30 19:33:25 -04:00
hiker
f4f914e289
Don't send a second, empty GL_EXTENSION string to our stats server.
2014-10-01 09:31:42 +10:00
vlj
2236e8dd1c
Fix extra respawning particles
2014-10-01 01:19:49 +02:00
Arthur-D
7bbcae3056
Merge branch 'soft-physics-landing' of https://github.com/supertuxkart/stk-code
2014-10-01 00:31:02 +02:00
Arthur-D
3e547705bc
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-10-01 00:30:47 +02:00
Vincent Lejeune
83053e0ee4
Try to cull object whose aera is below 1 px
2014-09-30 22:00:55 +02:00
Vincent Lejeune
838e1b63da
Split cascade gpu timer
2014-09-30 21:39:56 +02:00
Vincent Lejeune
cbd6d22b41
Fix AZDO with normal/detail
2014-09-30 21:30:37 +02:00
Flakebi
47da30dd24
Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties
2014-09-30 19:22:18 +02:00
hiker
e55959555e
Added more debug output.
2014-09-30 23:59:17 +10:00
hiker
11916dd187
Different implementation of soft-landing.
2014-09-30 23:13:48 +10:00
hiker
26e92846de
Merge remote-tracking branch 'origin/master' into soft-physics-landing
2014-09-30 15:15:56 +10:00
hiker
2f27d49198
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-30 15:02:40 +10:00
hiker
8ca7730570
Removed unnecessary source file in glew.
2014-09-30 15:01:38 +10:00
Marianne Gagnon
7db152ce58
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-09-29 20:55:13 -04:00
Marianne Gagnon
f2ffcb680d
Work around missing cake explosions at low framerates, the burst time would be shorter than one frame and the emitter was shut down before it could even begin to emit
2014-09-29 20:54:47 -04:00
hiker
584e909846
Use a separaet asset class for library object to avoid hardcoding
...
the name of library directory (and avoid searching for files in
more than one directory).
2014-09-30 10:47:10 +10:00
hiker
768d843cfe
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-30 09:49:25 +10:00
hiker
2cab457cbc
Removed unnecessary call to getAsset().
2014-09-30 09:47:57 +10:00
Marianne Gagnon
c3d8df65e1
Merge branch 'marcoll_master'
2014-09-29 19:21:56 -04:00
Marianne Gagnon
a9936434f0
VS compilation fix
2014-09-29 19:21:45 -04:00
Marianne Gagnon
24480ea0c1
First attempt at caching tangents meshes
2014-09-29 19:12:37 -04:00
Marianne Gagnon
c26a2413b2
Properly cleanup mesh cache, fixes crash on second play
2014-09-29 18:42:10 -04:00
Deve
d0e30c15a5
Reset counter when game is restarted
2014-09-29 21:56:32 +02:00
Deve
1c97476369
Display wrong way message after a delay.
2014-09-29 20:21:05 +02:00
Deve
b3c6cbf5d8
Fixed linux compilation
2014-09-29 18:19:22 +02:00
hiker
7c429b2a2d
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-29 22:45:21 +10:00
deve
9a520c4dd6
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-09-29 14:44:28 +02:00
hiker
6cdce11fb7
Fix #1576 (crash when viewing other online user's friends).
2014-09-29 22:42:51 +10:00
deve
0943f0ed76
Add debug flags for mingw
2014-09-29 13:35:17 +02:00
samuncle
af037d6267
tweak particle.xml
2014-09-29 12:30:43 +02:00
hiker
8a52949e74
Merge remote-tracking branch 'origin/master' into soft-physics-landing
2014-09-29 19:29:20 +10:00
deve
226eeb2718
Add inet_ntop function for mingw compiler
2014-09-29 09:19:38 +02:00
hiker
388937a487
Fixed info message.
2014-09-29 12:09:19 +10:00
hiker
79873e2d45
Added (some) support for driving on walls, added documentation.
2014-09-29 11:54:46 +10:00
vlj
b89f066d14
Merge branch 'minlicht'
2014-09-29 03:25:04 +02:00
vlj
a88bb8eb6c
Improve debug msg
2014-09-29 03:01:36 +02:00
vlj
69896fdc6a
Fix material detection
2014-09-29 03:01:36 +02:00
vlj
273a2bf022
Set normal map and detail map in material.cpp
2014-09-29 03:01:35 +02:00
vlj
7b165574c0
Merge MAT_* with shadertype
2014-09-29 03:01:34 +02:00
vlj
ecb2f74711
Add default texture to m_sun_interposer
2014-09-29 02:56:32 +02:00
vlj
4705b8d1a1
Remove X/MS3D file loader
2014-09-29 02:52:06 +02:00
vlj
9a5ecc1b23
Remove ogre loader
2014-09-29 02:46:15 +02:00
vlj
3c4a22d659
Remove Half Life loader
2014-09-29 02:38:23 +02:00
vlj
b19a9bdf2f
Remove 3DS Loader
2014-09-29 02:25:31 +02:00
vlj
554cb1dda0
Remove another CBurning file
2014-09-29 02:01:49 +02:00
vlj
398a556df2
Use glVertexAttribDivisorARB
...
If GL 3.1 is supported but not 3.3, use glVertexAttribDivisorARB instead
of glVertexAttribDivisor
2014-09-29 01:50:33 +02:00
vlj
e2da98bcfb
Use glsl with GL >= 3.1
2014-09-29 01:44:24 +02:00
vlj
abeda85f77
Reenable GL 3.1 support on windows
2014-09-29 01:31:59 +02:00
hiker
a86b4e489c
First version of 'smooth landing' in physics.
2014-09-28 23:18:52 +10:00
Marc Coll Carrillo
2651c082a4
Issue #1505
...
Dynamically change font size in a DynamicRibbonWidget to make labels fit,
and also cut the text when it's just too long
2014-09-28 10:18:47 +02:00
Marc Coll Carrillo
eaf6ee9556
Merge remote-tracking branch 'upstream/master'
2014-09-28 09:27:09 +02:00
Marianne Gagnon
fe569797a3
Partial fix for objects not being cleaned up when they should. There's more left
2014-09-27 20:37:20 -04:00
Marianne Gagnon
4f6bb4565f
Revert earlier bugfix attempt, causes other issues
2014-09-27 20:10:47 -04:00
vlj
6061a77884
Use the newly introduced material
2014-09-28 02:03:23 +02:00
Marianne Gagnon
38b9c059d1
Tentative fix for a crash when playing a track the 2nd time
2014-09-27 19:48:48 -04:00
Marianne Gagnon
ef94c77a67
suppress false positive warning
2014-09-27 19:27:28 -04:00
Marianne Gagnon
8d99fa2cb1
Return default material when no special material for current texture
2014-09-27 19:24:39 -04:00
vlj
a303eadf3d
Remove a deprecated function call
2014-09-28 01:13:38 +02:00
Marianne Gagnon
7b5ce0f9d7
Fix compilation, why this didn't work for me but works for others is a mystery
2014-09-27 19:07:29 -04:00
Marianne Gagnon
f5de76a988
Merge branch 'master' of https://github.com/supertuxkart/stk-code
...
Conflicts:
src/graphics/stkmesh.hpp
2014-09-27 18:51:49 -04:00
Marianne Gagnon
906b7e8c51
Pass STK Material objet to MapMaterial functions
2014-09-27 18:51:10 -04:00
vlj
a9ab147ae5
Remove software renderer
2014-09-28 00:48:20 +02:00
vlj
b5372c295d
Remove D3D related files
2014-09-27 19:46:49 +02:00
vlj
9e2061e88b
Clean some code
2014-09-27 19:28:09 +02:00
vlj
f7bc014b16
Merge remote-tracking branch 'origin/glplaincore'
2014-09-27 19:12:26 +02:00
vlj
9cc98f57e3
Reapply patch from http://sourceforge.net/p/glew/patches/40/
...
This reverts commit dd70f09fce .
2014-09-27 18:49:33 +02:00
Deve
f2ac1dca55
Merge pull request #1577 from konstin/asan_fix
...
fix asan new-delete-missmatch
2014-09-27 17:18:18 +02:00
konstin
cfd18366db
fix asan new-delete-missmatch
2014-09-27 17:12:58 +02:00
hiker
dfc3756f5d
Fixed compiler warning.
2014-09-27 19:25:45 +10:00
vlj
669c8af73e
Try to fix linux, round 2
2014-09-26 23:36:13 +02:00
vlj
ac2a40837f
Try to fix linux
2014-09-26 23:28:29 +02:00
vlj
18b0c65dd6
Use core context for linux too.
2014-09-26 23:21:09 +02:00
vlj
1e5ad1060b
Use core context except for legacy
2014-09-26 23:17:05 +02:00
vlj
8e67131351
Another fix
2014-09-26 23:15:56 +02:00
vlj
b79e969b11
Remove some others deprecated calls
2014-09-26 23:10:10 +02:00
vlj
3b393b8618
Set useCoreContext outside of ifdef windows
2014-09-26 23:03:44 +02:00
vlj
f41c1497cf
Revert "Declare bool in CIrrDeviceLinux"
...
This reverts commit 35de5d3975 .
2014-09-26 23:03:25 +02:00
vlj
35de5d3975
Declare bool in CIrrDeviceLinux
2014-09-26 23:01:45 +02:00
vlj
ced7eb4d36
Another couple of glDisable(GL_ALPHA_TEST)
2014-09-26 22:50:40 +02:00
vlj
f75e21a226
Remove glDisable(GL_ALPHA_TEST)
2014-09-26 22:46:01 +02:00
vlj
64a84f7e58
Fix another bunch of deprecated function calls
2014-09-26 22:39:53 +02:00
hiker
544f15d693
Removed outdated comment.
2014-09-26 23:48:10 +10:00
vlj
032447bf30
Additionnal work.
2014-09-26 15:42:03 +02:00
vlj
f320b36db3
Do not use some deprecated function with core ctx
2014-09-26 15:27:50 +02:00
hiker
a593c81a64
Some improvement for #1505 , but still wip.
2014-09-26 16:33:47 +10:00
hiker
2d7b8228e9
Fix #1565 : Added better instructions for account creation screen (and also made the
...
instructions actually visible).
2014-09-26 08:57:52 +10:00
Deve
babe9b0023
Fixed issue with sound which was starting in a loop
2014-09-25 19:57:35 +02:00
Flakebi
a02e8d4583
Apply merge properly...
2014-09-25 17:06:20 +02:00
Marc Coll Carrillo
0fd5d0357f
Icon buttons now appear in grayscale when they are deactivated
2014-09-25 12:04:43 +02:00
deve
57c14f2c07
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-09-25 11:56:28 +02:00
deve
4fd3d977e4
Restore help printing when logs are printed only to stdout.log file.
2014-09-25 10:25:44 +02:00
hiker
cccf86e6a6
Bugfix: packet_log file would be overwritten at the end of a run.
2014-09-25 17:19:55 +10:00
hiker
679a6a7676
Fix #1567 (don't write packets_log.txt in cwd).
2014-09-25 17:15:05 +10:00
hiker
48d99086f1
Fix $1569 (allow adjusting of polling interval from server via news.xml
...
or polling response data).
2014-09-25 17:04:36 +10:00
Marianne Gagnon
df8c2cb2c3
Make missing texture non-fatal, hopefully that won't cause issues
2014-09-24 21:07:03 -04:00
hiker
3a14b38947
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-25 09:07:41 +10:00
hiker
7c66dd1865
Fix #1516 . Also fixed (probably unrelated) bug that first time STK
...
is started with internet permission, the addon server would not be
accessible. Note: any current configuration will not be read anymore
(if you need it, you can just move the files and directories from
.../supertuxkart into .../supertuxkart/0.8.2 (except addons, whic
stays in .../supertuxkart/addons!!).
2014-09-25 09:05:46 +10:00
Vincent Lejeune
3be8fdf82c
Declare extension usage for vertex shader layer
2014-09-24 23:43:43 +02:00
Deve
856ee103cf
Merge remote-tracking branch 'origin/master'
2014-09-24 18:12:20 +02:00
Deve
c6cb84a1be
Find best fit resolution only in fullscreen mode.
2014-09-24 18:04:14 +02:00
Flakebi
2cf9707294
Merge branch 'upstream/master' into perPlayerDifficulties
...
Conflicts:
src/states_screens/kart_selection.cpp
I hope I got everything
2014-09-24 17:58:12 +02:00
hiker
203d987127
Fix compiler warnings.
2014-09-24 23:31:41 +10:00
Deve
b524f72bb5
Revert "Small correction in dynamic ribbon to avoid some weird behaviour in the GP editor"
...
This reverts commit 6b42f1b7b7 .
2014-09-24 06:39:46 +02:00
hiker
8db34bed3c
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-24 10:58:55 +10:00
hiker
044972be2a
Activate HW reporting.
2014-09-24 10:58:34 +10:00
Marianne Gagnon
6695238284
Fix loading normal maps (new XML syntax)
2014-09-23 20:11:03 -04:00
Marianne Gagnon
8a0fb9c187
Disable old hack that causes more trouble than it's worth
2014-09-23 19:57:09 -04:00
vlj
562fe802f6
Fix stk text billboard orientation
2014-09-24 01:37:31 +02:00
vlj
58e1b73752
Fix bloom computation
2014-09-24 01:19:37 +02:00
hiker
538694c1d1
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-24 08:52:31 +10:00
hiker
9e34a2912c
Fix linux compilation.
2014-09-24 08:52:06 +10:00
Marianne Gagnon
544d3afa23
Fix another bug found while reviewing previous pull request
2014-09-23 18:46:48 -04:00
vlj
de4c1c880b
Use lesser rtt size for diffuse/specular
2014-09-24 00:46:48 +02:00
auriamg
a8f6b78524
Merge pull request #1561 from marcoll/master
...
Some minor corrections
2014-09-23 18:46:30 -04:00
Marianne Gagnon
6df86551eb
Remove unused code
2014-09-23 18:40:07 -04:00
vlj
dc6f989b13
Do not use matrix inversion for culling
2014-09-24 00:24:53 +02:00
hiker
12c1183c86
Fixed #1560 .
2014-09-24 08:12:08 +10:00
hiker
3054ffe146
Fix #1554 (don't display server related screens on GUI for 0.8.2).
2014-09-24 07:58:28 +10:00
Marc Coll Carrillo
9c56d66c2d
Minor corrections (a couple of warnings, unused headers...)
2014-09-23 22:23:24 +02:00
Marc Coll Carrillo
6b42f1b7b7
Small correction in dynamic ribbon to avoid some weird behaviour in the GP editor
2014-09-23 22:19:25 +02:00
vlj
342184204b
Simplify #includes
2014-09-23 19:31:12 +02:00
vlj
fffd61fffb
Simplify #includes
2014-09-23 19:25:04 +02:00
vlj
bf62d28070
Simplify #includes
2014-09-23 19:21:51 +02:00
vlj
a246887a29
Simplify #include s
2014-09-23 19:17:33 +02:00
vlj
abffec69af
Simplify #include s
2014-09-23 19:12:00 +02:00
deve
1fad8fd994
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-09-23 15:48:59 +02:00
deve
227b6aee22
Avoid to update ribbon widget too many times.
...
It fixes displaying screenshots in GP editor after switching between category tabs.
2014-09-23 15:41:31 +02:00
hiker
06523a62c3
Fixed typo, renamed file to have proper extension.
2014-09-23 22:58:08 +10:00
hiker
3d4f054df8
Fix pre cmake 3.0 usage.
2014-09-23 21:01:04 +10:00
hiker
7c3d49e631
Accidentally committed file.
2014-09-23 20:51:20 +10:00
hiker
85ebcf1434
Fix VS 2013 compilation.
2014-09-23 20:50:50 +10:00
hiker
53f05e868d
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-23 20:18:09 +10:00
Deve
cfa4d455b0
Merge pull request #1547 from marcoll/master
...
Fix issues with the new "reverse grand prix" feature and user defined GPs
2014-09-23 10:59:43 +02:00
deve
8eb51f78b4
Fixed warning in cmake 3.0 and above.
...
If I understand correctly, the COMPILE_DEFINITIONS_DEBUG property is ignored in newer versions of cmake. I fixed it by forcing to use old method.
2014-09-23 09:11:39 +02:00
hiker
4f95aee051
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-23 16:45:08 +10:00
hiker
aa64f31f83
Added Screen::push() function to shorten the calls to pushScreen().
2014-09-23 16:43:50 +10:00
deve
667245f5aa
Avoid redeclaration for mingw compiler
2014-09-23 08:38:30 +02:00
deve
d007703d6b
Fixed warning when SOCKET_ERROR is already defined.
2014-09-23 08:28:39 +02:00
hiker
596cc44dfa
Fixed line endings.
2014-09-23 16:26:41 +10:00
hiker
c28728d903
Removed more compiler warnings for 64 bit windows compilation.
2014-09-23 16:23:22 +10:00
hiker
13cbde2e09
Added new supertuxkart.appdata file from hughsie ( #1545 ).
2014-09-23 15:51:06 +10:00
hiker
2c80feb3b5
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-23 15:12:48 +10:00
hiker
5ec883b86a
Minor code simplification.
2014-09-23 15:12:26 +10:00
hiker
ad20635cce
Applied patch for #600 (support 64 bit compilation on windows).
2014-09-23 14:41:32 +10:00
hiker
9ce20435d2
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-23 09:04:14 +10:00
hiker
ea324a8252
Disable 800x600 resolution in release mode (it's useful for debugging,
...
so I'll keep it in debug mode).
2014-09-23 09:03:03 +10:00
hiker
29c162bdf8
Fixed compiler warnings.
2014-09-23 08:56:07 +10:00
hiker
4ff8f6dfe5
Fix release compilation.
2014-09-23 08:17:04 +10:00
Vincent Lejeune
7ac0c14869
Fix travis
2014-09-22 23:50:53 +02:00
hiker
e4f38fa244
Disable console thread from networking code - not needed atm, and
...
making this thread safe is not trivial.
2014-09-23 07:48:21 +10:00
Vincent Lejeune
cd4916297d
Use a simpler frag shader for grass shadow
2014-09-22 23:40:38 +02:00
Vincent Lejeune
8989241846
Fix debug output error for sync object
2014-09-22 23:40:21 +02:00
Vincent Lejeune
7d0e34a8c9
Remove unecessary forced lod for shadow
2014-09-22 19:09:18 +02:00
Vincent Lejeune
8b8895c79a
Remove some unused variable
2014-09-22 18:14:04 +02:00
hiker
44af65fddd
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-22 23:59:58 +10:00
hiker
a550f6bf6b
Try to make crash in #1529 unlikely - though it needs a proper fix still.
2014-09-22 23:57:37 +10:00
vlj
b376dcd6fe
Revert "Reduce size of some rtt"
...
This reverts commit e08bf299be .
2014-09-22 15:30:45 +02:00
vlj
160ed179c3
Revert "Actually RH requires higher depth for alpha"
...
This reverts commit 9552a73ea8 .
2014-09-22 15:30:37 +02:00
hiker
99fd49bdc0
Run SFX in a separate thread (for #1511 ).
2014-09-22 17:04:14 +10:00
hiker
2b86705dc0
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-22 16:17:26 +10:00
hiker
4cea6bd7fe
Fixed #709 (Missing R with caron in title font). Thanks!
2014-09-22 15:53:40 +10:00
hiker
302470df7e
Fixed #1266 (we won't need a --players command line option anyway).
2014-09-22 12:09:49 +10:00
hiker
9b0a6d2703
Allow the hw-report-server to be changed using the news.xml file.
2014-09-22 08:26:49 +10:00
hiker
b4e16e8852
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-22 07:55:06 +10:00
hiker
249c34cd0d
Fixed achievement warning.
2014-09-22 07:54:34 +10:00
Vincent Lejeune
9552a73ea8
Actually RH requires higher depth for alpha
2014-09-21 19:46:36 +02:00
Vincent Lejeune
4672492269
Clean transparentmesh for non animated meshes
2014-09-21 19:35:49 +02:00
vlj
bc9345a227
Merge pull request #1553 from konstin/master
...
fix cleaning of transparent meshes and close #1522
2014-09-21 19:35:12 +02:00
konstin
a9bc44f7eb
fix cleaning of transparent meshes and close #1522
2014-09-21 19:30:07 +02:00
Vincent Lejeune
0dc3854df1
Reorganise animated mesh cleaning
2014-09-21 19:12:24 +02:00
Vincent Lejeune
e08bf299be
Reduce size of some rtt
2014-09-21 19:06:05 +02:00
Vincent Lejeune
034058f63a
Fix plunger crash
2014-09-21 18:28:13 +02:00
Vincent Lejeune
4df40c3de5
Fix multiplayer in basic glsl mode
2014-09-21 18:11:44 +02:00
vlj
0b178b9c1a
Remove gloss on splatting
2014-09-21 04:20:27 +02:00
Marianne Gagnon
a33e9a88fd
fix spaltting
2014-09-20 22:12:17 -04:00
vlj
97ea994c6a
Revert "Improve swizzle of splatting"
...
This reverts commit 98ca75c34d .
2014-09-21 04:10:51 +02:00
vlj
98ca75c34d
Improve swizzle of splatting
2014-09-21 03:59:03 +02:00
Marianne Gagnon
5c0c158244
Make some progress on fixing splatting
2014-09-20 21:28:51 -04:00
Marianne Gagnon
90042bc9e4
Properly fix gloss maps
2014-09-20 21:23:22 -04:00
Marianne Gagnon
58e20bebd7
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-09-20 20:48:12 -04:00
Marianne Gagnon
e0e55c56c2
Fix specular
2014-09-20 20:45:58 -04:00
hiker
f31a85268e
Added error message in case a not-yet-supported platform tries to report
...
memory or #procs.
2014-09-21 10:44:33 +10:00
hiker
b3c2909053
Fix compiler warning.
2014-09-21 10:44:15 +10:00
Vincent Lejeune
7af5e5c50c
Fix text billboard crash
2014-09-20 21:17:44 +02:00
Vincent Lejeune
f30ea823e5
Factorise non instanced 2nd pass too.
2014-09-20 19:43:15 +02:00
Vincent Lejeune
5643e38886
Some factorisation for non instanced path
2014-09-20 19:28:06 +02:00
Vincent Lejeune
b3e124b93e
Some fixes
2014-09-20 18:48:22 +02:00
Vincent Lejeune
7406ceb876
Additionnal factorisation
2014-09-20 18:09:48 +02:00
Vincent Lejeune
54347458fd
Factorise material rendering code
2014-09-20 17:44:28 +02:00
vlj
88ebb46614
More cleanup
2014-09-20 16:44:09 +02:00
vlj
562d496df3
Clean some code.
2014-09-20 16:40:18 +02:00
hiker
b4208fe52d
Try to report number of processors for apples (untested).
2014-09-20 23:39:33 +10:00
hiker
b14abb8b53
Fix linux build.
2014-09-20 14:35:32 +10:00
hiker
f25794327b
Report #cores for linux (untested) and windows.
2014-09-20 14:09:37 +10:00
Vincent Lejeune
8c4bbf7527
Log texture name
2014-09-20 02:20:25 +02:00
Marianne Gagnon
46b490c0de
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-09-19 20:18:09 -04:00
Marianne Gagnon
53f9c5efdc
Fix tangent generation in track objects
2014-09-19 20:17:49 -04:00
Vincent Lejeune
df18331cfc
Complete fix for detail
2014-09-20 02:16:28 +02:00
Vincent Lejeune
f6d2ff92f1
Merge remote-tracking branch 'origin/glossmap'
2014-09-20 01:57:55 +02:00
Vincent Lejeune
1983fb8fc2
Really fix detailmap
2014-09-20 01:53:15 +02:00
Vincent Lejeune
4e6d29e1ef
Fix detail map
2014-09-20 01:38:13 +02:00
Vincent Lejeune
ad6728ce51
Apparently fix minimap
2014-09-20 01:31:11 +02:00
Vincent Lejeune
317d7c870d
Try to fix detail map default tex
2014-09-20 01:18:40 +02:00
Marc Coll Carrillo
bbbe0ddf8d
Fix issues with the new "reverse grand prix" feature and user defined GPs
2014-09-19 23:25:03 +02:00
Vincent Lejeune
f526d194dc
Remove useless field in single texture instance
2014-09-19 23:12:13 +02:00
Vincent Lejeune
cab71ff9fe
Fix crash in kart selection screen.
2014-09-19 23:09:23 +02:00
Vincent Lejeune
8bce7fe142
Add a guard if a texture is missing.
2014-09-19 23:09:23 +02:00
Vincent Lejeune
b034049a28
Support for 3 tex mats
2014-09-19 23:09:22 +02:00
Deve
12977c3764
Merge pull request #1530 from marcoll/master
...
Some improvements to the GP editor
Merged because it fixes some issues. Previously I wasn't able to create new GP without a crash.
2014-09-19 21:54:38 +02:00
Deve
a21b300e8a
Fixed speed value at the kart selection start
2014-09-19 21:40:31 +02:00
Vincent Lejeune
5e64be41c6
Remove useless field in single texture instance
2014-09-19 19:58:28 +02:00
Marianne Gagnon
000b427f58
Fix ref counting crash
2014-09-19 19:54:16 +02:00
Vincent Lejeune
4b2b56035f
Use default mat for untextured mat too
2014-09-19 19:54:16 +02:00
Marianne Gagnon
478110f4bf
Remove outdated comment
2014-09-19 19:54:15 +02:00
Marianne Gagnon
933e27052d
Create a "default material" object and use it for materials that don't appear in materials.xml, instead of an hardcoded special case
2014-09-19 19:54:15 +02:00
Vincent Lejeune
3349b9907d
Improve naming convention of textures
2014-09-19 19:54:14 +02:00
Vincent Lejeune
39c56dcb78
Slightly improve getUnicolorTexture
2014-09-19 19:54:14 +02:00
Vincent Lejeune
24cd727899
Add glossytex to textures
2014-09-19 19:54:00 +02:00
vlj
9a114b2f6f
Gather glsl material handling code
2014-09-19 19:22:04 +02:00
Vincent Lejeune
bb63cf9e86
Clean material handling code.
2014-09-19 19:22:03 +02:00
Vincent Lejeune
1f05a66b79
Split material into single/dual tex
2014-09-19 19:12:46 +02:00
Vincent Lejeune
f86663f9c2
Add Instance type to some templates
2014-09-19 18:49:14 +02:00
vlj
8dff9b5b98
Factorize part of scenemanager
2014-09-19 18:43:18 +02:00
vlj
1bd487fb60
Factorize Instance Vertex Attrib Setter
2014-09-19 18:43:17 +02:00
hiker
8a25683e2c
Disable submitting the data for now.
2014-09-19 16:28:30 +10:00
hiker
63c7d02c7e
Made line endings consistent.
2014-09-19 16:25:18 +10:00
hiker
c05896729e
Made the user_id (which is apparently necessary on the server to calculate
...
number of configurations correctly) a random number, that is saved in the
config file.
2014-09-19 16:23:26 +10:00
hiker
2600b17132
Removed unused code and objects.
2014-09-19 14:31:25 +10:00
hiker
e18c20db65
Fixed various compiler warnings.
2014-09-19 11:02:20 +10:00
hiker
64702d8ada
Don't submit requests for now (server is still expecting compressed
...
data, and can't handle he requests we send atm).
2014-09-19 09:41:44 +10:00
hiker
48e5e7c4e6
Added a version number to the hardware report, and report the hw config
...
only once per installation. Print error messages in case submitting the
request.
2014-09-19 09:40:11 +10:00
hiker
cba1c8c471
Report memory on windows and osx (not tested).
2014-09-19 08:16:20 +10:00
hiker
00f7829ad4
Fixed (c) statement.
2014-09-19 08:15:59 +10:00
hiker
48938f2880
Started to add GL limits to the statistics. Work in progress.
2014-09-18 22:09:56 +10:00
hiker
08b2beb339
Report available RAM on linux.
2014-09-18 15:55:25 +10:00
hiker
2e42898f4a
Fixed incorrect value for opengl version.
2014-09-18 12:55:30 +10:00
hiker
e7096bc3b0
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-18 11:43:59 +10:00
hiker
c147dacbc2
Queue up sfx instead of starting them immediately. Preparation for
...
threading the sfx manager.
2014-09-18 11:43:26 +10:00
konstin
47deab4614
commenting out an unused function which only throws deprecation warnings
2014-09-18 02:19:26 +02:00
hiker
64fc2dd968
Added comments.
2014-09-18 07:55:24 +10:00
hiker
8c3beef69b
Removed unnecessary static variable.
2014-09-18 07:48:31 +10:00
Vincent Lejeune
9ba19c7290
Move m_sync
2014-09-17 18:49:15 +02:00
hiker
66da6d9435
Removed old/unused declaration.
2014-09-17 22:08:43 +10:00
hiker
86b351fbf4
Turn sfx_manager into a singleton.
2014-09-17 21:38:21 +10:00
Flakebi
9bcc76127f
Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties
2014-09-17 13:20:09 +02:00
hiker
04dd7869cb
Added gfx_drv_ver and gfx_vard to hardware report.
2014-09-17 16:58:50 +10:00
hiker
fca103b6a0
File missing in previous commit.
2014-09-17 16:16:38 +10:00
hiker
9035fde10b
Avoid crashes on server side by supplying (unnecessary) values like
...
os_win=0 on linux etc. Added more opengl data to keep the server
happier ... though not yet entirely happy ;)
2014-09-17 16:08:41 +10:00
hiker
8efc7110c8
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-17 13:41:54 +10:00
hiker
c7650ba769
Fixed parameter names and missing / in URL (which is required).
2014-09-17 13:21:03 +10:00
Marianne Gagnon
105f7b49a3
Add profier marker for updatePhysics
2014-09-16 20:19:07 -04:00
Vincent Lejeune
1d2c77d86a
Use ProjectionViewMatrix in glow_object.vert
2014-09-17 02:12:28 +02:00
Vincent Lejeune
13402543ce
Use glClientWaitSync with a 0 timeout
...
It turns out to be much more responsive this way.
2014-09-17 01:01:45 +02:00
hiker
008aa7f22f
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-17 08:47:24 +10:00
hiker
1e1f921d08
Fix turning behaviour (karts would turn a lot more than with
...
previous stk versions, which resulted in hard controlling karts
(esp. at higher speed).
2014-09-17 08:44:28 +10:00
Vincent Lejeune
a2a6553d93
Fix srgb mismatch
2014-09-17 00:11:34 +02:00
vlj
534bcedecb
Fix for multiplayer with non basic mode.
2014-09-16 23:22:02 +02:00
Vincent Lejeune
19420fb5f2
Some fix for basic glsl mode
2014-09-16 19:46:21 +02:00
Vincent Lejeune
e2b6538d2d
Avoid clearing buffer if not strictly necessary
2014-09-16 19:42:10 +02:00
Vincent Lejeune
b9c547278f
Do not enter renderLights if dynamic light is disabled
2014-09-16 19:24:47 +02:00
Vincent Lejeune
d6d4b1948c
Use glewExperimental on OSX too
2014-09-16 17:19:24 +02:00
Vincent Lejeune
dd70f09fce
Revert "Apply patch from http://sourceforge.net/p/glew/patches/40/ "
...
This reverts commit ef5039c02f .
2014-09-16 17:17:56 +02:00
Vincent Lejeune
20f10e0235
Revert "Remove glewexperimental flag"
...
This reverts commit 7516dc920a .
2014-09-16 17:17:51 +02:00
Vincent Lejeune
7516dc920a
Remove glewexperimental flag
2014-09-16 16:06:58 +02:00
Vincent Lejeune
ef5039c02f
Apply patch from http://sourceforge.net/p/glew/patches/40/
2014-09-16 16:05:24 +02:00
Vincent Lejeune
1f383245d6
Merge branch 'master-fix'
2014-09-16 15:34:39 +02:00
Vincent Lejeune
58fc801322
Slightly extend coverage of ssao cs
2014-09-16 15:18:29 +02:00
Vincent Lejeune
b769e46a00
Use texture instead of image in SSAO.
2014-09-16 15:18:29 +02:00
hiker
e4fd6ed32b
Merge remote-tracking branch 'origin/master'
2014-09-16 22:27:55 +10:00
hiker
9cdbaebd29
Started to add hardware stats reporting functionality.
2014-09-16 22:27:41 +10:00
hiker
e8aa181348
Merge remote-tracking branch 'origin/master' into include-glew
2014-09-16 11:05:35 +10:00
Vincent Lejeune
546cbabf3e
Use ifdef WIN32 for test purpose
2014-09-16 01:14:45 +02:00
Vincent Lejeune
4c6df4821d
Revert "Do not allow specvalue to be below 0."
...
This reverts commit 6b4430caaa .
2014-09-16 00:37:49 +02:00
Vincent Lejeune
fbb71bca7e
Revert "Fix negative value inside tonemap"
...
This reverts commit 16dc973faa .
2014-09-16 00:37:37 +02:00
Vincent Lejeune
b5598fda57
Revert "Force non negative value in bloom"
...
This reverts commit cb922ed4db .
2014-09-16 00:37:23 +02:00
Vincent Lejeune
45b15c1d65
Add some memory barrier when using compute shaders
2014-09-16 00:34:23 +02:00
Vincent Lejeune
bd4602fb5d
Fix context creation on linux when driver support gl 4.3
2014-09-15 23:39:48 +02:00
vlj
cb922ed4db
Force non negative value in bloom
2014-09-15 22:11:53 +02:00
hiker
8029bc5880
Build a static version of glew.
2014-09-15 21:49:06 +10:00
hiker
69473b1811
Try to include glew in stk.
2014-09-15 16:33:46 +10:00
hiker
8dfe72f73f
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-15 12:41:34 +10:00
Marianne Gagnon
835b329c46
kart selection screen : don't reload RTT scene if the selected kart hasn't changed
2014-09-14 19:16:06 -04:00
Vincent Lejeune
16dc973faa
Fix negative value inside tonemap
...
It should be checked before but since it's not always reproducible.
2014-09-15 01:10:12 +02:00
Marianne Gagnon
05d43440b2
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-09-14 19:07:00 -04:00
Marianne Gagnon
3536e13c49
Tweak fade-in/fade-out times in cutscenes and remove hardcoded values
2014-09-14 19:06:19 -04:00
Vincent Lejeune
6b4430caaa
Do not allow specvalue to be below 0.
...
Just in case it shouldnt be possible anyway.
2014-09-15 01:06:15 +02:00
Vincent Lejeune
0d982e55f0
Do not use kart position if there is no kart
2014-09-15 00:42:48 +02:00
Vincent Lejeune
866cd2b979
Set texture matrix in updateNoGL and not in updateGL
2014-09-15 00:16:50 +02:00
hiker
e26e10db61
Fixed compilation of font_tool.
2014-09-15 07:45:13 +10:00
Vincent Lejeune
476f95a6c9
Fix snb on linux
2014-09-14 23:41:42 +02:00
Vincent Lejeune
7c54ac4d81
Fix second texcoord in instanced_object_pass.vert
2014-09-14 23:07:10 +02:00
Vincent Lejeune
cd68be24f5
Delete sync object
2014-09-14 17:35:16 +02:00
Deve
0eb09af027
Filtering actions is not needed now
2014-09-14 17:08:40 +02:00
Deve
8ea38fe622
Block event for one-element ribbon widget in the same way as multi-element widget.
...
This fixes problem with pressing left and right arrow in track and GP info screen.
2014-09-14 17:06:21 +02:00
vlj
26b69ecace
Use __linux__ macro
2014-09-13 23:35:15 +02:00
vlj
108215dfdd
Add a dtor to animated mesh
2014-09-13 15:57:39 +02:00
vlj
6d685a843d
Drop support for GL 3.1 on windows
...
Fixed pipeline will be used instead
2014-09-13 15:45:10 +02:00
Marc Coll Carrillo
5cf3ad220f
Some improvements to the GP editor:
...
- GP are now classified into groups, just like tracks: standard, user defined, and add-ons
- allow empty GPs to be loaded by the GP manager, so that they can appear
on the GP editor (but not on the track selection screen)
- enable/disable buttons depending on the available options
- provide some feedback after pushing the "save" button
- some minor bug corrections and improvements
2014-09-13 10:40:27 +02:00
Sachith Hasaranga Seneviratne
10e2634f22
Merged master
2014-09-13 08:45:41 +05:30
Vincent Lejeune
1d913ad5b4
Do not set glewExperimental outside of linux
2014-09-13 02:02:05 +02:00
Vincent Lejeune
349a64ae8d
Revert "Use a parallel loop for IA"
...
This reverts commit 8e333afa99 .
2014-09-13 01:32:40 +02:00
Vincent Lejeune
674f0a5f05
Reenable billboards
2014-09-13 01:21:09 +02:00
Vincent Lejeune
d480c52f8c
Revert "Try to put IA in its own thread"
...
This reverts commit 2a60a84155 .
2014-09-12 23:22:54 +02:00
Vincent Lejeune
2a60a84155
Try to put IA in its own thread
2014-09-12 23:04:40 +02:00
Flakebi
cc60fe817b
One more fix for singleplayer
2014-09-12 23:04:06 +02:00
Vincent Lejeune
78e512880c
Remove unneeded functions
2014-09-12 19:29:01 +02:00
Vincent Lejeune
8e333afa99
Use a parallel loop for IA
...
It sighltly helps decreasing stuttering in some area of chocolate.
2014-09-12 19:10:22 +02:00
hiker
c4b6307ec9
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-13 01:24:17 +10:00
Vincent Lejeune
9453541006
Merge remote-tracking branch 'origin/master-fix'
2014-09-12 17:22:59 +02:00
hiker
991f60d06d
Select 'start' as default in gp info screen.
2014-09-13 00:58:30 +10:00
deve
cca078dbae
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-09-12 09:03:27 +02:00
deve
e6ab299f37
Fixed mingw compilation
2014-09-12 09:01:35 +02:00
vlj
0b0fabc7bb
Try to merge all MeshFor_Pass
2014-09-12 02:58:13 +02:00
vlj
503ecbb6f1
Some fixes to ligthshaft
2014-09-12 02:27:48 +02:00
Vincent Lejeune
6f65874ab2
Try to disable openMP at runtime
2014-09-12 01:12:55 +02:00
Vincent Lejeune
53fe339fb3
Enable simple culling for non indirect codepath
2014-09-12 01:07:02 +02:00
hiker
bf135095d8
Updated documentation, removed commented out code.
2014-09-12 08:37:03 +10:00
Vincent Lejeune
d79a5aaf01
Fix plunger update in basic glsl mode
2014-09-11 19:44:30 +02:00
Vincent Lejeune
cc4f638ed6
Looks like a wrong rebase
2014-09-11 19:41:16 +02:00
Vincent Lejeune
e6881efbc3
Use a (commented out) faster culling algorithm
2014-09-11 19:34:10 +02:00
hiker
6958539a71
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-11 21:48:44 +10:00
hiker
68e45db8d3
Start to support driving (and rescuing) on physical track objects.
2014-09-11 21:48:03 +10:00
Vincent Lejeune
e19ab67571
Inverse updateAbsolutePosition and Visibility test in scenemanager
2014-09-11 01:08:06 +02:00
Vincent Lejeune
dea23d7a69
Properly reapply HD3000 particle fix
2014-09-10 18:57:40 +02:00
Vincent Lejeune
e77b5dddeb
Revert "Forgot to fix a particle shader for hd3000"
...
This reverts commit 48fcea8ee8 .
2014-09-10 18:57:03 +02:00
Vincent Lejeune
48fcea8ee8
Forgot to fix a particle shader for hd3000
2014-09-10 18:09:38 +02:00
Vincent Lejeune
2e860207d2
Move texture management function in a separate file.
2014-09-10 17:05:08 +02:00
Sachith Hasaranga Seneviratne
71ad22b2d8
Resetting a track now properly accounts for scripting
2014-09-10 19:09:31 +05:30
Sachith Hasaranga Seneviratne
b6a9e5be9c
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-09-10 17:15:01 +05:30
Marianne Gagnon
2672d9b923
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-09-09 20:47:35 -04:00
Marianne Gagnon
cc3924081a
Fix LOD
2014-09-09 20:47:22 -04:00
Vincent Lejeune
112ae43d03
Remove unneeded if (version/glcap) in shader ctor
2014-09-10 01:49:37 +02:00
hiker
8e12e68425
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-10 09:45:12 +10:00
Vincent Lejeune
8fd97615f3
Fix particle for hd3000
2014-09-10 01:42:51 +02:00
hiker
ae726b0902
Show "?" if a track has no screenshot (instead of the screenshot of
...
the previous track).
2014-09-10 09:39:20 +10:00
Vincent Lejeune
6e6b8e63b6
Inverted logic for compute shaders
2014-09-10 01:37:36 +02:00
Vincent Lejeune
c374beeb10
Disable all extension on OSX
...
OSX does support GL 4.1 + a couple of 4.2 extensions. Since not all 4.2
extensions are present, disable extensions support instead of supporting
several combinaisons of extensions.
2014-09-10 00:20:32 +02:00
vlj
9adda0bfeb
Try to fix OSX
2014-09-09 21:58:53 +02:00
vlj
e8288c139d
Add some documentation to add new material.
2014-09-09 17:48:22 +02:00
vlj
cc141fc992
Factorize matrix block uniform assignment
2014-09-09 17:27:10 +02:00
vlj
fbe2896460
Use non debug gl ctx in non debug build
2014-09-09 16:57:46 +02:00
vlj
a45152b915
Clean some #define
2014-09-09 16:39:28 +02:00
Flakebi
f02c4403e2
Some fixes
2014-09-09 14:12:20 +02:00
Flakebi
9c911a2891
Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties
2014-09-09 12:07:34 +02:00
hiker
81da7cc2f7
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-09 13:18:17 +10:00
hiker
1a7b384633
Fixed typo.
2014-09-09 13:14:56 +10:00
Vincent Lejeune
a83ef4ae2e
Preload power up textures
2014-09-09 01:08:38 +02:00
Vincent Lejeune
e8db943dc2
Make computeCameraMatrix faster
2014-09-09 00:52:21 +02:00
vlj
ef89e168f8
Improve fps translation code.
2014-09-08 20:15:11 +02:00
vlj
eaf9d796e8
Fix missing material in basic glsl
2014-09-08 19:27:41 +02:00
vlj
752741307e
Fix transparent in basic glsl pipeline
2014-09-08 19:14:21 +02:00
vlj
5f0b6095ba
Fix basic glsl pipeline
2014-09-08 19:03:04 +02:00
vlj
9a19f6541b
VAOManager: double buffer size when required.
2014-09-08 16:49:48 +02:00
vlj
24a626877a
Use immutable storage for ibo
2014-09-08 16:33:10 +02:00
hiker
52a9993ba3
Minor cosmetic changes.
2014-09-08 21:26:49 +10:00
Vincent Lejeune
68cbe48969
Optimise VAOManager::getBase()
2014-09-08 03:01:50 +02:00
Vincent Lejeune
fee5858959
Do not make handle not resident when deleting GLMesh
...
There is no way to delete an Handle except by deleting underlying
texture so it's fine.
2014-09-08 02:26:48 +02:00
Vincent Lejeune
f3ec623093
Add a profiler marker for buffer upload
2014-09-08 01:33:21 +02:00
Marianne Gagnon
5ac75b915a
Find better names for markers
2014-09-07 18:56:21 -04:00
Marianne Gagnon
01d114329f
Add profiler markers in race update
2014-09-07 18:54:36 -04:00
hiker
abb14c7cab
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-08 08:07:17 +10:00
hiker
e55d3c9896
Removed some unnecessary #includes in .hpp files to reduce compile time.
2014-09-08 08:06:54 +10:00
Vincent Lejeune
ad4dcd9245
Fix new[]/delete[] mismatch
2014-09-07 23:04:30 +02:00
Vincent Lejeune
28fc15640c
Use previous way to detect features
2014-09-07 22:58:13 +02:00
Deve
5692e47739
Set selection to "start" by default in track info screen.
...
Don't start the race using left or right arrow.
2014-09-07 22:52:45 +02:00
Flakebi
f7b22cd97c
Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties
2014-09-07 20:17:12 +02:00
Vincent Lejeune
9116431792
Use unordered_map for vaomanager
2014-09-07 20:00:21 +02:00
Vincent Lejeune
af4136f864
Factorize vaomanager in its own file.
2014-09-07 19:58:53 +02:00
Vincent Lejeune
193b588e22
Do not render GI if no RSM.
2014-09-07 19:14:20 +02:00
Vincent Lejeune
e2a9f34186
Clean some unneeded code.
2014-09-07 19:08:10 +02:00
Vincent Lejeune
3617055115
Use tinygettext for fps/polycount/Ktris
2014-09-07 19:03:09 +02:00
Vincent Lejeune
b78cffb432
Remove unneeded omp.h include
2014-09-07 18:39:16 +02:00
Vincent Lejeune
d16e192f75
Fix minimap generation
2014-09-07 18:38:31 +02:00
hiker
803f1260d0
Merge pull request #1509 from konstin/asan
...
fixing crash when running with asan
2014-09-08 01:08:16 +10:00
konstin
30bb8ca2fd
fixing crash when running with asan
2014-09-07 15:57:53 +02:00
hiker
6c8c4de899
Fix windows compilation with new dependency package (libglew only
...
comes with dynamic libs, not static).
2014-09-07 23:09:29 +10:00
Sachith Hasaranga Seneviratne
118db58a02
Merged Master
2014-09-07 11:28:15 +05:30
Vincent Lejeune
9f940770a4
Make frustrum culling calculation parallel
2014-09-07 01:37:06 +02:00
Vincent Lejeune
4822b8a75e
Fix travis
2014-09-07 00:44:56 +02:00
Vincent Lejeune
b9a595e666
Revert "Revert "Use pointer arithmetic to enforce matrix 16 bytes alignment""
...
This reverts commit e83bd11891 .
2014-09-07 00:44:49 +02:00
Vincent Lejeune
e83bd11891
Revert "Use pointer arithmetic to enforce matrix 16 bytes alignment"
...
This reverts commit 0eeeb60685 .
2014-09-07 00:20:35 +02:00
Vincent Lejeune
cbb59fa640
Revert "Fix travis"
...
This reverts commit bdb867bce2 .
2014-09-07 00:20:31 +02:00
Vincent Lejeune
bdb867bce2
Fix travis
2014-09-07 00:17:43 +02:00
Vincent Lejeune
e91a916e14
Try to fix glew initialisation with Mesa
2014-09-07 00:14:34 +02:00
Vincent Lejeune
0eeeb60685
Use pointer arithmetic to enforce matrix 16 bytes alignment
2014-09-07 00:08:47 +02:00
Marianne Gagnon
016ba2caf3
Fix #1499
2014-09-06 17:58:59 -04:00
Vincent Lejeune
27306018d5
Better glew error reporting.
2014-09-06 23:41:29 +02:00
Vincent Lejeune
3d63d5e010
Emit a fatal error if glewInit() failed.
2014-09-06 23:39:51 +02:00
Vincent Lejeune
88f21e2490
Fix RSM
2014-09-06 23:35:00 +02:00
Marianne Gagnon
f0796b2380
Fix #1485 properly
2014-09-06 17:15:19 -04:00
Marianne Gagnon
a6f7c3a152
Add clean way to hide/show ribbon items and use it in GP info screen. Fixes #1485
2014-09-06 17:01:06 -04:00
Marianne Gagnon
14b8e00279
Fix use of unititialized variables in cutscene
2014-09-06 16:24:42 -04:00
vlj
163a3ae7cd
Inverted true/false
2014-09-06 15:07:28 +02:00
vlj
4f60c1b753
Factorize culling code.
2014-09-06 15:03:24 +02:00
vlj
d625bb23cc
Postpone update of nodes
2014-09-06 14:52:08 +02:00
Vincent Lejeune
e0e90f81f4
And another one
2014-09-06 00:02:48 +02:00
Vincent Lejeune
6348537eb9
Fix another warning
2014-09-05 23:59:27 +02:00
vlj
56459f39ab
Use a matrix multiplication
2014-09-05 23:53:38 +02:00
Vincent Lejeune
d6c265daf6
Fix VS warning
2014-09-05 23:51:43 +02:00
Vincent Lejeune
ee8c6daec2
Forget a file in previous commit
2014-09-05 23:51:33 +02:00
Vincent Lejeune
94cd8d5c51
Avoid some useless computation in some vert shaders
2014-09-05 23:41:12 +02:00
Vincent Lejeune
e5f8b39900
Visualise how long pipeline stalls.
2014-09-05 23:21:53 +02:00
Flakebi
5858c05e74
Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties
2014-09-05 22:46:17 +02:00
Flakebi
29a78d5cd8
Fix wrong badge display
2014-09-05 22:46:08 +02:00
Vincent Lejeune
6f3f271f44
Merge branch 'libglew'
2014-09-05 22:24:24 +02:00
Vincent Lejeune
1e172dbf33
Fix glowobject frag shader
2014-09-05 22:17:57 +02:00
Vincent Lejeune
93dca486cf
Use bilinear filtering for some textures of displace effect
2014-09-05 21:59:00 +02:00
vlj
781288bf80
Texture storage support detected at runtime.
2014-09-05 18:35:24 +02:00
vlj
d741204ee0
Compute shader support detected at runtime.
2014-09-05 18:35:15 +02:00
vlj
8da557d153
Use GLEW for our GL function support.
2014-09-05 18:21:07 +02:00
vlj
b63654a40c
Detect Glew in CMake
2014-09-05 18:19:10 +02:00
vlj
bc4762be48
Use newer cmake in travis and download libGLEW
2014-09-05 18:19:10 +02:00
vlj
44d50aa8d7
Fix build
2014-09-05 17:56:43 +02:00
Vincent Lejeune
6223f5205b
Add an SSE optimised inverse matrix
2014-09-05 16:42:24 +02:00
vlj
99eea187bb
Use emplace back instead of push_back in scenemanager
2014-09-05 15:38:25 +02:00
vlj
95ea76cc60
Better fix
2014-09-05 03:36:58 +02:00
vlj
cd3df69218
Fix some compiler warning.
2014-09-05 03:33:45 +02:00
Marianne Gagnon
861a76ff55
Minor tweaks to profiler
2014-09-04 20:46:08 -04:00
Vincent Lejeune
e2b361356c
Add a marker for gpu command upload
2014-09-05 02:40:30 +02:00
Vincent Lejeune
5ef03ef4fa
Add 2 new profiler marker.
2014-09-05 02:37:48 +02:00
Vincent Lejeune
aee86fd14f
Use classic buffersubdata for UBO
2014-09-05 02:30:51 +02:00
Vincent Lejeune
3529293b8d
Turn timer query into asynchronous one
2014-09-05 02:26:29 +02:00
Marianne Gagnon
0848087b1d
Fix profiler, do not sync twice per frame
2014-09-04 19:45:16 -04:00
Vincent Lejeune
0d7a425aac
Do not compute shadow/rsm mesh list if not available.
2014-09-05 01:35:38 +02:00
hiker
1c23309161
Merge branch 'master' into gui_screen
2014-09-05 09:18:17 +10:00
hiker
8fd6877e92
Fixed #1486 . Made most menus more consistent (e.g. same position
...
and height for heading).
2014-09-05 08:46:06 +10:00
hiker
6671182efd
Fixed memory leak.
2014-09-04 23:37:38 +10:00
hiker
973399f5cb
Fixed memory leak.
2014-09-04 21:14:37 +10:00
hiker
2514f8a872
Removed unnecessary GUIEngine::.
2014-09-04 17:19:15 +10:00
hiker
b3d1a41276
Removed unused code, added comments.
2014-09-04 17:05:47 +10:00
hiker
8ffe09de29
Combined GPInfoScreen and RandomGPInfoScreen into one class, requiring
...
only one stkgui file.
2014-09-04 16:49:15 +10:00
vlj
9fc8b6ae10
Use unordered_map in scenemanager
2014-09-04 03:58:49 +02:00
Marianne Gagnon
449c6a07b4
fix weird profiler bug, hovering it would change the values. No idea why these changes work
2014-09-03 21:13:07 -04:00
vlj
0a6735a6ec
Simplify culling.
2014-09-04 03:07:00 +02:00
vlj
4482ed6fc8
Remove aggressive culling
2014-09-04 02:41:13 +02:00
vlj
0cf6345bc2
Revert "Remove unnecessary memory barrier"
...
This reverts commit b3ad817999 .
2014-09-04 02:09:11 +02:00
Vincent Lejeune
b28df0f4d0
Fix skybox shader sampler type.
2014-09-04 01:41:10 +02:00
hiker
7c3164a9c1
Added 'reload' random GP support, fixed 'back' icon on screen.
2014-09-04 09:38:25 +10:00
Vincent Lejeune
05f01c70ea
Make m_sync part of irr_driver.
2014-09-04 01:35:08 +02:00
Vincent Lejeune
b3ad817999
Remove unnecessary memory barrier
2014-09-04 01:32:40 +02:00
vlj
059a707196
Fix some uint->float conversion warning.
2014-09-03 23:15:35 +02:00
vlj
25926caef5
Fix GLuint instead of GLuint64 for some handles.
2014-09-03 23:15:26 +02:00
Vincent Lejeune
b3b6b05765
Add profiler counter for rsm
2014-09-03 22:52:16 +02:00
Vincent Lejeune
6f9820b82b
Fix skybox filtering
2014-09-03 22:42:18 +02:00
Vincent Lejeune
df1e87b934
Factorise Skybox shader
2014-09-03 22:38:50 +02:00
vlj
9866ecea29
Enable openMP flags in cmake
2014-09-03 17:18:49 +02:00
vlj
61c350ba96
Merge branch 'scenemanager-optimisation'
2014-09-03 17:12:51 +02:00
deve
e57b927c96
Allow to compile STK on Windows using MinGW compiler.
...
It needs vorbis dll's as additional dependencies.
TODO: add an alternative to inet_ntop function.
TODO: link wiimote library
2014-09-03 14:08:23 +02:00
hiker
12e403b909
Fixed setting of number of AI karts.
2014-09-03 17:19:30 +10:00
hiker
a591ba6778
Fixed setting of reverse in random GPs.
2014-09-03 17:13:20 +10:00
hiker
709583ead5
Removed Random GP dialog.
2014-09-03 17:01:36 +10:00
vlj
2b1c5be315
Use more aggressive culling.
2014-09-03 03:07:45 +02:00
vlj
d51754c237
Fix culling of solid node for good
2014-09-03 02:54:33 +02:00
vlj
55b5194673
Fix culling
2014-09-03 02:41:32 +02:00
vlj
d617e36f22
Fix poly counter with OpenMP
2014-09-03 02:27:47 +02:00
vlj
0bc8befc57
Use Irrlicht culling function
2014-09-03 01:50:23 +02:00
vlj
13e1a40b7b
Remove stkinstancedscenenode.h/cpp
2014-09-03 01:33:52 +02:00
vlj
cf85f97315
Fix crash with RSM
2014-09-03 01:29:24 +02:00
Marianne Gagnon
102e517497
Remove manual LOD code, it's now automatic
2014-09-02 18:54:38 -04:00
hiker
0a0609d91f
Added GrandPrixData::isRandomGP.
2014-09-03 08:24:11 +10:00
hiker
ae01eaf595
Use track->isRaceTrack().
2014-09-03 08:16:52 +10:00
hiker
ccdc90f029
Removed while loop with a 'random' abort condition - while it works
...
it could result in STK hanging if a broken random generator should be
used.
2014-09-03 08:08:41 +10:00
vlj
3083df450f
Gather object in instanced calls
2014-09-02 23:23:23 +02:00
Vincent Lejeune
0fa13334ea
Increase instance buffer size
2014-09-02 20:18:23 +02:00
Vincent Lejeune
dfbae2ea07
Remove instancing
2014-09-02 20:18:22 +02:00
Vincent Lejeune
3cea173ee2
Check for draw indirect support
2014-09-02 20:18:22 +02:00
Vincent Lejeune
96c2c8c6b7
Add glDrawElementsIndirect support
2014-09-02 20:18:21 +02:00
Stephen Just
050d83540c
Use four-channel storage for diffuse/specular RTTs
...
Mesa doesn't seem to support three-channel texture storage, so
increase to four channels. This supposedly will not negatively
impact performance, and may actually improve it depending on the
driver implementation.
See http://www.gamedev.net/topic/560908-is-float-point-fb-possible-with-opengl/
2014-09-02 08:36:06 -06:00
hiker
c8724632e8
Bugfix: only allow races (i.e. no arenas, or cut scenes) in an
...
'all tracks' random GP.
2014-09-02 16:40:26 +10:00
hiker
c8500b65cb
Fixed compiler warning.
2014-09-02 16:40:00 +10:00
Flakebi
a31ec772ff
Replace accidently placed tabs
2014-09-02 03:57:48 +02:00
Flakebi
48323d4456
Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties
2014-09-02 03:57:21 +02:00
Flakebi
a84c5d596c
Fix focus crash in kart selection screen
2014-09-02 03:43:08 +02:00
hiker
6982e3d0ae
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-02 09:52:15 +10:00
hiker
06915cc354
Fix compilation on very old mesa versions. vlj, please check.
2014-09-02 09:51:30 +10:00
hiker
7dbfc151bf
Added random GP functionality into gp_info screen. Changed GPData
...
in GPInfoScreen from a pointer to be an object, while this adds
some coping of this object, it removes potential memory leaks.
2014-09-02 09:32:12 +10:00
Vincent Lejeune
480d281f52
Fix crash reported when using plunger.
2014-09-02 01:19:34 +02:00
Flakebi
e2089fcea6
Switch per player difficulty to player config
2014-09-02 01:18:58 +02:00
Vincent Lejeune
0b0cf09dd6
Try to fix build
2014-09-02 01:08:08 +02:00
Flakebi
70ad37aeb7
Fix crash in multiplayer kart selection screen
2014-09-01 22:57:58 +02:00
Flakebi
44add00944
Rename icons to more generic names
2014-09-01 22:21:17 +02:00
Deve
57240124ba
Rename rain class to weather
2014-09-01 20:18:06 +02:00
Deve
7d0dec5c49
Handle lightning and sound in weather property
2014-09-01 20:18:06 +02:00
Flakebi
8c40f279cd
Add break_time_increase to perPlayerDifficulty
2014-09-01 11:31:39 +02:00
Flakebi
dc4a30202f
Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties
2014-09-01 11:31:26 +02:00
auriamg
27fb1f6254
Merge pull request #1493 from marcoll/master
...
Reset the scroll offset when clearing a dynamic ribbon widget
2014-08-31 19:05:06 -04:00
Marc Coll Carrillo
76b4f929df
Reset the scroll offset when clearing a dynamic ribbon widget
2014-08-31 17:54:40 +02:00
Marianne Gagnon
fd1f2537d4
Modify LOD node to use cleaner technique
2014-08-30 21:24:16 -04:00
vlj
5c1b24b4e4
Factorise a common interface to stkmeshscenenode/animatedmesh
2014-08-31 01:18:54 +02:00
Deve
47b46558f2
A bit better formatting in world status
2014-08-30 18:37:57 +02:00
Deve
507d9566a0
Don't start rain sound too early
2014-08-30 18:37:57 +02:00
Deve
d8f61e336e
Move creating rain to world class because now it doesn't depend on cameras.
2014-08-30 18:37:57 +02:00
Deve
52384f151c
Merge pull request #1490 from fenicks/master
...
Add libxrandr-dev in Ubuntu dependencies command example.
2014-08-30 12:30:37 +02:00
Christian Kakesa
e791ca82f1
Add libxrandr-dev in Ubuntu dependencies command example.
2014-08-30 12:16:42 +02:00
Marianne Gagnon
a8c5ab43d3
Rename variable + bugfix
2014-08-29 21:09:12 -04:00
Marianne Gagnon
90396678b7
Separate lightshaft from sun
2014-08-29 20:28:19 -04:00
vlj
af4575f6db
Fix crash on nvidia linux
2014-08-30 01:03:01 +02:00
vlj
fc80ebbbcb
Use storage buffer for vao manager
2014-08-29 21:59:05 +02:00
vlj
1e1ba34f45
Use a separate update() member
2014-08-29 21:59:04 +02:00
Deve
61d70ea599
Add rain sound
2014-08-29 21:54:17 +02:00
Deve
5a937d6f12
Fixed creating rain class
2014-08-29 21:54:17 +02:00
Vlj
537d435f7f
Add some compile time check
2014-08-29 21:29:18 +02:00
Deve
50319c7c58
Check if user config dir exists
2014-08-29 21:12:00 +02:00
Vincent Lejeune
99b110cc99
Use uvec2 instead of sampler2D
2014-08-29 01:30:19 +02:00
hiker
4ba8e85169
Give the race setup screen a background box and added a text for difficulty.
2014-08-29 07:42:42 +10:00
vlj
ae18730c92
Use ATI instead of AMD in vendor name.
2014-08-28 22:08:56 +02:00
vlj
5878cb35ec
Implement runtime detection of srgb bindless fix
2014-08-28 22:02:12 +02:00
Vincent Lejeune
a3b8494ad5
Remove Base Vertex/Offset if base instance is unavailable
2014-08-27 22:27:06 +02:00
Vincent Lejeune
998b5a89ac
Fix transparents
2014-08-27 19:32:45 +02:00
Vincent Lejeune
5a212989df
Fix build on travis
2014-08-27 17:44:24 +02:00
vlj
00049f2f04
Init texture only once, not each frame
2014-08-27 17:22:59 +02:00
hiker
2a5591ad1f
Enable continue button.
2014-08-27 22:57:03 +10:00
hiker
db3db6f8b5
First version of the GP info screen (instead of dialog).
2014-08-27 22:08:50 +10:00
hiker
46396f4a7e
Fix #1484 (crash on windows in release mode).
2014-08-27 13:46:42 +10:00
Vincent Lejeune
4cb8955f83
Free texture memory when an object is destroyed
2014-08-26 23:58:42 +02:00
Vincent Lejeune
a1ec19e672
Factorise AZDO related code
2014-08-26 23:52:48 +02:00
vlj
53c52470ee
Use one call for each shadow cascade instead of a big one.
2014-08-26 21:56:16 +02:00
Vincent Lejeune
4f411ccdb1
Fix spheremap shader
2014-08-26 21:05:43 +02:00
Vincent Lejeune
264a9dbe46
Do not split animated mesh from static list
2014-08-26 20:45:55 +02:00
Vincent Lejeune
bf5410b793
Add unlit instanced shader
2014-08-26 20:34:59 +02:00
Vincent Lejeune
cad1efbff1
Add instanced detail shader
2014-08-26 20:34:37 +02:00
Vincent Lejeune
0960f090dc
Add instanced spheremap shader
2014-08-26 20:34:26 +02:00
hiker
672ec8e5e8
Fixed crash: m_tracks is NULL, and can't be used to get the default
...
number of laps here.
2014-08-26 16:39:54 +10:00
hiker
b029c3e990
Fixed setting of actual number of laps of a track; cleaned up docs.
2014-08-26 16:37:06 +10:00
hiker
c9fb0c5b16
Removed unnecessary include.
2014-08-26 16:36:05 +10:00
Deve
4b597b97b7
Fixed path to data directory on linux.
...
Ideally we should use relative paths, which could make possible to run the game after using:
make install DESTDIR=./any/local/path
I also added path to "supertuxkart-assets" directory, which cmake already search.
2014-08-25 21:53:24 +02:00
Vincent Lejeune
0b4532b6da
Implement AZDO
2014-08-25 17:30:03 +02:00
hiker
e309008736
Use header font for title, removed second 'back' button.
2014-08-25 23:16:59 +10:00
hiker
48ac661af7
Merge remote-tracking branch 'origin/master' into gui_screen
2014-08-25 22:23:14 +10:00
hiker
76767141f7
Removed old track info dialog, fixed crashes in track info screen
...
(caused when making some spinners etc. visible).
2014-08-25 22:20:42 +10:00
hiker
8f3bff10f8
If minimum or maximum is set for a spinner widget, automatically
...
adjust the value if its too low or high.
2014-08-25 21:57:43 +10:00
hiker
4b507a4eda
Made more space for credits that span more than one line.
...
Siwtch left and right side of the top screen.
2014-08-25 11:12:00 +10:00
hiker
c9936ffb97
Forgot to actually add the new files :(
2014-08-25 10:47:36 +10:00
hiker
0de942b5f3
Alpha version of a track info screen (instead of a dialog).
2014-08-25 10:40:37 +10:00
hiker
bf23f31a10
Fixed typo.
2014-08-25 10:33:29 +10:00
hiker
aef5b3aaea
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-08-25 10:30:12 +10:00
Vincent Lejeune
805d35a5e6
Do not draw twice the second pass instanced mesh
2014-08-25 02:17:23 +02:00
Vincent Lejeune
55346185d7
Fix instancing without base instance support
2014-08-25 02:13:01 +02:00
Vincent Lejeune
f3752a03f0
Enable arb debug output on all non apple platform
2014-08-25 01:53:05 +02:00
Vincent Lejeune
44de38bf10
Pack instanceData
2014-08-25 01:45:33 +02:00
Vincent Lejeune
b401d1e082
Push empty InstanceData independently of gl level
2014-08-25 01:09:52 +02:00
Vincent Lejeune
aa6e3570df
Fix attempt for crash.
2014-08-25 00:40:19 +02:00
Deve
0fa38161b5
Install icons in $PREFIX/share/icons/hicolor path.
...
Don't use static paths in .desktop file. Actually I don't know about any application which uses it :P
2014-08-24 21:58:34 +02:00
Vincent Lejeune
7bff68870c
Read sampler from attributes.
2014-08-24 21:50:59 +02:00
Deve
db53dd6767
xrandr: Simplify code a bit.
...
Fixed some memory leaks.
2014-08-24 17:40:40 +02:00
vlj
4a62fd7968
Use an instance manager
2014-08-23 19:53:54 +02:00
Vincent Lejeune
a0b376f04d
Fix some warnings
2014-08-23 18:53:38 +02:00
hiker
16b88d13db
Fixed compiler warning.
2014-08-23 12:10:12 +10:00
hiker
fbc438b998
Fixed error message to correctly say that online user names needs to
...
be at least 3 characters long - though at this stage we need to
wait for the server to be updated as well, since it will now reject
a shorter user name.
2014-08-23 09:56:30 +10:00
hiker
5b633f0487
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-08-23 09:50:39 +10:00
Vincent Lejeune
6ac3d69471
Play with bindless textures
2014-08-22 23:48:28 +02:00
vlj
bc24c4558f
Register some api functions
2014-08-22 23:48:14 +02:00
Deve
90ecf50414
Show console on windows only in debug mode
2014-08-22 20:40:22 +02:00
Deve
8711955bdc
Fixed onEscapePressed event in addons loading screen.
...
It actually was unused previously. I'm also not sure why there was assert(false) ?
2014-08-22 19:59:30 +02:00
Deve
ad870c37f4
Back to previous resolution when escape was pressed in confirm resolution dialog
2014-08-22 19:46:03 +02:00
hiker
52a7d071dd
Fixed some Log:: messages that used incorrect syntax and did not print
...
some variables. Made all log:: messages use the same components 'addons'.
2014-08-22 16:34:18 +10:00
hiker
3ef30dfd48
Merge branch 'no_floating'
2014-08-22 12:46:10 +10:00
hiker
80e1effccf
Added some debug output to get more info for #1464 (unnecessary download
...
of addon icons). To be removed later.
2014-08-22 12:44:46 +10:00
hiker
84e78d884a
Merge remote-tracking branch 'origin/master' into no_floating
...
Conflicts:
src/karts/kart.cpp
2014-08-22 12:23:55 +10:00
hiker
0e23c54562
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-08-22 12:15:14 +10:00
hiker
f0f4b8d9f6
Improved error message.
2014-08-22 12:14:06 +10:00
Vincent Lejeune
b5273d6426
Port gaussian17*shader (non compute) to TextureRead.
2014-08-22 02:21:20 +02:00
Vincent Lejeune
dc35efa9d7
Port nvidia workaround to TextureRead
2014-08-22 02:08:05 +02:00
hiker
c3821e703b
Made line endings consistent.
2014-08-22 09:49:55 +10:00
Vincent Lejeune
5c879b623f
Fix pointlight call
2014-08-22 00:47:19 +02:00
Vincent Lejeune
547018f0ab
Port PointLight shader
2014-08-22 00:30:14 +02:00
Vincent Lejeune
cee48821d3
Port diffuse env map shaders
2014-08-22 00:20:04 +02:00
Vincent Lejeune
062bcb1ff0
Fix gl debug output rant about uninitialised sync
2014-08-21 23:31:45 +02:00
Vincent Lejeune
187c9fca85
Port SunLight to TextureRead
2014-08-21 23:29:40 +02:00
Vincent Lejeune
c38a26b92a
Use a separate rtt for diffuse/specular
2014-08-21 23:26:16 +02:00
Deve
4584464798
Add icon to exe file as resource.
...
It's hard to test for me because currently I can compile it only on virtual machine and it takes long time.
But it should work.
2014-08-21 21:38:59 +02:00
hiker
c6f7448911
Use sqrt(speed) to scale the collision impulse, which results in
...
weaker impulses when hitting the terrain.
2014-08-21 22:34:51 +10:00
hiker
1179ebf4e9
Fix suspension to some more realistic values.
2014-08-21 21:33:26 +10:00
hiker
15cccf9301
Make the graphical y offset configurable (and basically disable
...
it for now by setting it to 0).
2014-08-21 17:28:06 +10:00
hiker
171b442ae6
Removed artificial Y offset to allow evaluation of more karts.
2014-08-21 09:59:29 +10:00
hiker
856eb747b4
Fixed shadows with a hack.
2014-08-21 08:01:54 +10:00
Stephen Just
78df1bf371
Fix hasGLExtension on Windows.
...
Windows requires loading the glGetStringi function explicitly.
Also included fallback for when it is not found.
2014-08-20 14:38:49 -06:00
Marianne Gagnon
c8b50c67ef
Fix leak
2014-08-20 20:38:05 -04:00
Vincent Lejeune
d968ce11bf
Add a function that kills shaders and use it when reloading shader.
...
Thus there is no mesh corruption.
2014-08-21 02:19:33 +02:00
Vincent Lejeune
5abc404ed9
Use stream_copy for tfb buffers.
2014-08-21 01:17:16 +02:00
Vincent Lejeune
dd1f0739f0
Properly clean program object in load shader function.
2014-08-20 23:30:25 +02:00
Vincent Lejeune
06df2d12c7
Forgot to free a temp array.
2014-08-20 23:16:20 +02:00
Vincent Lejeune
04f6c7e729
Use singleton template for VAOManager (ex VBOGatherer)
2014-08-20 23:08:04 +02:00
Deve
c2cf83bb6a
xrandr: move restore resolution to separated function because it makes a mess...
2014-08-20 19:44:06 +02:00
Deve
56fa56a38f
xrandr: don't restore resolution if output was disconnected during game
2014-08-20 19:44:06 +02:00
Deve
5c4c54bf20
xrandr: make sure that output_id and old_mode are declared
2014-08-20 19:44:06 +02:00
hiker
210a8e7ae9
Set the graphical suspension depending on physical suspension (capped).
...
Adjusted graphical chassis to be 0.1 higher to have similar look at previously
and avoid graphical chassis going into terrain,
2014-08-20 22:19:26 +10:00
hiker
e95536c265
Fixed height computation. Moved adding of gravity center
...
shift, which probably fixed the problems we had with
'wheels inside kart chassis' tests earlier.
2014-08-20 21:35:22 +10:00
hiker
4a028afb8f
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-08-20 21:25:15 +10:00
hiker
4228fbb0d4
Temporary fixed windows compilation (glGetStringi not known). Needs
...
a proper fix!!
2014-08-20 21:24:20 +10:00
hiker
6073788813
Fix linux compilation (no nullptr).
2014-08-20 21:07:12 +10:00
Deve
6a48010644
Fixed compilation error with disabled xrandr
2014-08-20 06:49:38 +02:00
Stephen Just
6b3786457f
Fix OpenGL extension detection on Linux/Mesa.
...
Created function in glwrap to test whether a GL extension is available.
This required using OpenGL3's glGetStringi. Backwards compat code can
be added to function if necessary.
2014-08-19 16:19:38 -06:00
vlj
160d4ae432
Merge branch 'texture-factorization'
2014-08-20 02:54:54 +02:00
vlj
fc945a429f
Another place found
2014-08-20 02:46:48 +02:00
vlj
d11d56f6cd
Replace std::vector<GLuint>{...} in post_processing
2014-08-20 02:42:59 +02:00
vlj
7de6b7adcd
Use createVector in others places
2014-08-20 02:21:34 +02:00
vlj
4197e2c320
Another ifdef sets...
2014-08-20 02:05:16 +02:00
vlj
5559a9fd1d
Add some #if !defined(APPLE) in debug screen
2014-08-20 02:02:34 +02:00
vlj
b3e6ed03b1
Use VERSION_3_3 macro
2014-08-20 01:56:16 +02:00
vlj
af4fdaf96b
Add "functionnal" include in debug.cpp
2014-08-20 01:56:04 +02:00
vlj
953dd9db0d
Put some others bunch of code between ifdef win32
2014-08-20 01:48:28 +02:00
Marianne Gagnon
ffd558e577
Merge branch 'texture-factorization' of https://github.com/supertuxkart/stk-code into texture-factorization
...
Conflicts:
src/graphics/post_processing.cpp
2014-08-19 19:45:24 -04:00
Marianne Gagnon
5788073b17
osx fixes
2014-08-19 19:44:27 -04:00
vlj
ef95f5703a
Add createVector in another place.
2014-08-20 01:37:50 +02:00
vlj
d0e22164d5
Add some ifdef for OSX
2014-08-20 01:31:11 +02:00
vlj
190aed6219
Use createVector in some others places
2014-08-20 01:27:26 +02:00
vlj
a28f4d26b4
Add a "createVector" function for OSX
2014-08-20 01:13:39 +02:00
vlj
af9c3d53b7
Use template to declare shader texture usage.
2014-08-19 22:06:49 +02:00
vlj
2a473a550a
Remove wrappers.
2014-08-19 17:30:44 +02:00
vlj
92e5126ebf
Fix travis ci
2014-08-19 17:16:27 +02:00
Vincent Lejeune
4641854c49
Factorize gl headers include in a separate file.
...
It should avoid conflict with Xorg headers
2014-08-19 17:01:45 +02:00
vlj
5128ab920b
Fix build
2014-08-19 17:01:32 +02:00
Vincent Lejeune
30c91217a7
Factorize gl headers include in a separate file.
...
It should avoid conflict with Xorg headers
2014-08-19 16:52:49 +02:00
vlj
bd7ec06d49
Fix build
2014-08-19 16:52:43 +02:00
Vincent Lejeune
da843cc8c1
Add sampler object support
2014-08-19 02:36:06 +02:00
vlj
bdd7951c46
Split animated meshes list from the others
2014-08-19 02:35:51 +02:00
Marianne Gagnon
9af41a5166
Add actual light under thunderbird
2014-08-18 20:01:45 -04:00
Vincent Lejeune
da90ea491e
Unlit material supports tex matrix
2014-08-19 01:36:06 +02:00
auriamg
fcbc41171e
Merge pull request #1463 from konstin/gp_editor_laps
...
small improvements to the gp editor
2014-08-18 19:04:43 -04:00
Deve
0dc34b2c0d
xrandr: few more checks
...
- try to run in windowed mode if no output was found
- close display correctly in case of no output
- add few warnings
2014-08-18 20:56:30 +02:00
konstin
33686e9abc
make gp editor use default number of laps
2014-08-18 15:16:53 +02:00
konstin
e400b5c212
improve readability
2014-08-18 15:15:22 +02:00
konstin
2f6424c3a2
replace unecessary NULL-checks
2014-08-18 15:11:51 +02:00
hiker
fe62df253d
Exit quicker if a request is being executed when stk is quit.
2014-08-18 22:43:26 +10:00
hiker
b2a936c8cd
Fix crash caused when downloading requests for icons were still
...
executing at game end.
2014-08-18 22:42:27 +10:00
Marianne Gagnon
fcb80cdb2c
Update thunderbird to have new-engine-friendly traffic light animation
2014-08-17 19:33:45 -04:00
Marianne Gagnon
83a1acc961
Merge branch 'save_gp'
2014-08-16 15:42:46 -04:00
Marianne Gagnon
9992f3afa6
bugfix
2014-08-16 15:42:35 -04:00
Marianne Gagnon
5ed8358505
Misc fixes, null crash on invalid billboards, some non-weather particle emitters incorrectly created with Y randomization
2014-08-16 15:26:39 -04:00
Deve
3e3a27252a
xrandr: fixed memory leak
2014-08-16 16:02:22 +02:00
Deve
a9bd12bfab
xrandr: use primary output if window manager reports this information
2014-08-16 12:21:55 +02:00
Deve
990a297154
Get real width and height of best fit resolution only if resolutions list is not empty.
2014-08-16 12:21:55 +02:00
hiker
8c525ab2d4
Make the physics settings configurable, but default to use the old
...
settings for now.
2014-08-16 10:20:24 +10:00
hiker
6d5651f357
Test to see if the physics work better.
2014-08-16 09:44:00 +10:00
Marianne Gagnon
af33992691
Remove accidentally added file
2014-08-15 18:34:59 -04:00
vlj
8b81d0ac3f
Map UBO to change its value.
2014-08-16 00:33:47 +02:00
vlj
5f6d0bd63c
Use stream storage for ubo
2014-08-16 00:19:45 +02:00
vlj
cbd77b469c
Do not use srgb fbo if ubo workaround is enabled.
2014-08-15 22:06:05 +02:00
Sachith Hasaranga Seneviratne
7e3143424e
Cleaned Vec3 binding somewhat
2014-08-15 21:55:14 +05:30
Sachith Hasaranga Seneviratne
84d3802f08
Merge branch 'master' of https://github.com/supertuxkart/stk-code into se
2014-08-15 21:47:09 +05:30
Sachith Hasaranga Seneviratne
700a59f226
Added some comments to track script functions
2014-08-15 21:46:03 +05:30
Sachith Hasaranga Seneviratne
f01b69f901
Formatted script_physics.hpp
2014-08-15 21:39:36 +05:30
Sachith Hasaranga Seneviratne
cced247b4c
Added comments to physics script functions
2014-08-15 21:37:48 +05:30
Sachith Hasaranga Seneviratne
772c923263
Added comments to kart script functions
2014-08-15 21:35:20 +05:30
Sachith Hasaranga Seneviratne
635d05af5e
Added some comments to scriptengine.cpp
2014-08-15 21:27:39 +05:30
vlj
f77695c098
Add Tangent/Bitangent in instanced object shader.
2014-08-15 17:15:19 +02:00
Deve
d45429bf88
First destroy the window, then restore resolution.
...
This may solve some possible issues with WM fullscreen.
2014-08-15 11:34:16 +02:00
Sachith Hasaranga Seneviratne
4cea7ee2d9
Merge branch 'master' of https://github.com/supertuxkart/stk-code into se
2014-08-15 06:42:10 +05:30
Vlj
7fbe529e6f
Forget to add Tangent/BiTangent with pre 330
2014-08-15 02:14:30 +02:00
Vlj
647a5d6990
Fix skybox generation with non square textures
2014-08-15 02:14:30 +02:00
Marianne Gagnon
0a95344a01
Fix potentiel crash
2014-08-14 19:54:35 -04:00
Marianne Gagnon
c425e7e153
Also export GPU markers to CSV
2014-08-14 19:41:33 -04:00
Marianne Gagnon
58f509d953
Fix vlj's profiler code, only worked in single player
2014-08-14 19:08:21 -04:00
Vlj
d3ec1a27ce
Completly unroll the loop
2014-08-15 00:02:43 +02:00
Vlj
4829b8ddd8
Manually unroll rh shader
2014-08-14 23:58:11 +02:00
Vincent Lejeune
07bff38427
Fix a typo.
2014-08-14 21:45:31 +02:00
Vincent Lejeune
f9c692052e
Try a fix for nvidia and GI
2014-08-14 21:26:16 +02:00
vlj
49779d36bf
Do not update mesh in shadow pass.
...
It may introduce some 1 frame latency between shadows and geometry but
in practice it's not noticeable.
2014-08-14 18:55:21 +02:00
vlj
33e3b43346
Add a (quite big) timeout to sync.
2014-08-14 18:40:14 +02:00
Vlj
8ec4fb6308
Use sync object
2014-08-14 18:12:15 +02:00
vlj
18981ff943
Set unsynchronized bit in transparent pass
2014-08-14 16:29:59 +02:00
vlj
1c7fe8c518
Use mapbuffer to modify animated mesh buffer content.
2014-08-14 16:14:36 +02:00
vlj
6ef8f666ee
Add mapbuffer glfunction.
2014-08-14 16:06:42 +02:00
vlj
d1f83c0334
Properly clean/regen vbo in updatevbo()
2014-08-14 14:27:18 +02:00
vlj
9840650038
Update some data usage hint.
2014-08-14 14:11:04 +02:00
Sachith Hasaranga Seneviratne
e9fc465a32
changed back to working version
2014-08-14 15:57:25 +05:30
vlj
21683251a2
Fix shadow lod level in singleplayer
2014-08-14 02:43:01 +02:00
hiker
52fba7958a
Fixed pre-2011 compilation.
2014-08-14 10:24:23 +10:00
hiker
3521368112
Oops - committed file with typo :(
2014-08-14 10:21:26 +10:00
hiker
27155b5543
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-08-14 10:19:54 +10:00
Marianne Gagnon
a5f36ec412
Add new particles flag for vlj
2014-08-13 20:23:21 -04:00
hiker
f338282a15
Merge branch 'master' of github.com:supertuxkart/stk-code
...
Conflicts:
src/graphics/stkinstancedscenenode.cpp
2014-08-14 10:19:31 +10:00
Marianne Gagnon
1de0e50607
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-08-13 20:10:28 -04:00
Marianne Gagnon
5c3c7afeae
Fix bogus cast resulting in reading random URL in particles
2014-08-13 20:10:02 -04:00
vlj
5f78f2687f
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-08-14 02:09:15 +02:00
vlj
9120d792be
Fix GPUTimer
2014-08-14 02:09:12 +02:00
Marianne Gagnon
ba3027b6bb
Little improvement to for_in macro. Still only works on PtrVector though
2014-08-13 19:47:59 -04:00
hiker
86ea16bd43
Fixed compilation for pre-C++-2011 compilers.
2014-08-14 09:38:31 +10:00
vlj
47e176d4a3
User wrong VS for instanced normal
...
Also fix the srgb normal map.
2014-08-14 00:55:12 +02:00
Marianne Gagnon
b95765c172
use better tool to calculate tangents
2014-08-13 18:35:07 -04:00
Marianne Gagnon
976ea043bb
Add missing bit of code
2014-08-13 18:25:21 -04:00
Vlj
3e277f8edf
Dont alloc quaternion buffer if not flip
2014-08-13 23:56:27 +02:00
Vlj
c7a4d45d08
Fix malloc/delete mismatch
2014-08-13 23:52:47 +02:00
Vincent Lejeune
b5016ba85e
Factorise simulation code.
2014-08-13 22:47:03 +02:00
Vincent Lejeune
00e945e75c
Port heightmap simulation shader.
2014-08-13 22:42:02 +02:00
Vincent Lejeune
47cfe08fe1
Port simple simulation particle shader.
2014-08-13 22:32:15 +02:00
Vincent Lejeune
8117260bf6
Factorise attribute location of simulation program.
2014-08-13 22:26:52 +02:00
Vincent Lejeune
e6eac5b57f
Clean quaternionbuffer at the right place.
2014-08-13 22:02:18 +02:00
Vincent Lejeune
f43538aad7
Factorize again code in gpuparticle.
2014-08-13 21:59:57 +02:00
Vincent Lejeune
b5f89501f6
Factorize some GL code in gpuparticle.
2014-08-13 21:38:33 +02:00
samuncle
a91bcfa746
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-08-13 21:32:12 +02:00
samuncle
d1f46fdb7f
Bring back the rain
2014-08-13 21:30:27 +02:00
Vincent Lejeune
013e823408
Extract ParticleVBO from gpuparticle.cpp
2014-08-13 21:13:28 +02:00
Vincent Lejeune
dc02eec7b6
Port particle rendering shaders too.
2014-08-13 21:04:03 +02:00
Vincent Lejeune
22137eee88
Port UI shaders.
2014-08-13 20:25:56 +02:00
Deve
7a9e77da01
Exit cmake with error if xrandr library was not found.
2014-08-13 19:34:53 +02:00
Vincent Lejeune
dc9993d780
Add Debug for instanced vertex type mismatch.
2014-08-13 19:28:02 +02:00
Vincent Lejeune
70b0fce50c
Add support for instanced normal map mesh.
2014-08-13 19:20:40 +02:00
Vincent Lejeune
ebacfcfcef
Put RSM draw in its own method.
2014-08-13 18:59:30 +02:00
Vlj
fda6aac5dd
Reenable shadows for instanced mesh
2014-08-13 17:33:10 +02:00
hiker
de16d1ace3
Bugfix: A new local only user was now able to change the online account.
...
If a new account is created with an online account, make the online account
the default.
2014-08-13 21:46:53 +10:00
Sachith Hasaranga Seneviratne
a695c197b2
Merge master
2014-08-13 12:12:51 +05:30
Sachith Hasaranga Seneviratne
b2a563c746
Fixed the ID for script created triggers were not being added to the track_object instance
2014-08-13 11:57:49 +05:30
hiker
7111eb55ee
Merge branch 'laps' of https://github.com/konstin/stk-code into konstin-laps
2014-08-13 16:01:22 +10:00
Vlj
ce5d09f159
Move instanced rendering code to render_geometry.cpp
...
Shadows are disabled temporary
2014-08-13 04:11:44 +02:00
hiker
98bb7e3959
Merge branch 'bumpy'
2014-08-13 11:16:03 +10:00
hiker
5a67fa50a9
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-08-13 11:15:49 +10:00
Vincent Lejeune
292aa0cbc4
Factorize FullScreen shaders invocations.
2014-08-13 02:01:29 +02:00
Vincent Lejeune
955e0d3259
Move RHDebug code to post process
2014-08-13 01:21:48 +02:00
Marianne Gagnon
345a3bc451
Fix logic in video settings popup
2014-08-12 19:18:38 -04:00
Vincent Lejeune
03a6499c27
Port RHDebug and Passthrough Layer
2014-08-13 01:13:41 +02:00
hiker
c5a1d8bf34
Merge branch 'fix-camera' into bumpy
2014-08-13 08:55:16 +10:00
hiker
d26547aa16
Try to stop the karts from hovering.
2014-08-13 08:53:31 +10:00
Vincent Lejeune
0dd1fd605c
Port MLAA Shaders
2014-08-13 00:51:32 +02:00
Vincent Lejeune
b0d63ab399
Fix windows build
2014-08-13 00:21:43 +02:00
Vlj
465e52713e
Port passthrough and glow shaders
2014-08-13 00:08:02 +02:00
Vlj
c3cead9f9c
Port Bloom shaders.
2014-08-12 23:45:56 +02:00
Vlj
d8e4a352ba
Port gaussianV shaders
2014-08-12 23:20:03 +02:00
Vlj
be52d07418
Port motion blur and GaussianH shaders
2014-08-12 21:14:37 +02:00
Vlj
483ad109e3
Return of the ASAN option
2014-08-12 20:19:31 +02:00
Vlj
44c03ce99d
Port light shaft shaders
2014-08-12 19:55:01 +02:00
vlj
9dd2021f8d
Factorize List* related code.
2014-08-12 19:18:01 +02:00
vlj
838bb4fa7c
Clean some code.
2014-08-12 18:57:54 +02:00
vlj
d6015c12af
Revert "Factorize tuple remap."
...
This reverts commit 8c032a7df6 .
2014-08-12 16:38:47 +02:00
vlj
d9be494db1
Revert "Use function object when unrolling args."
...
This reverts commit c5216e7cff .
2014-08-12 16:38:43 +02:00
vlj
05a63ac595
Revert "Factorize render pass code"
...
This reverts commit 10ce84fe46 .
2014-08-12 16:38:38 +02:00
vlj
a4955325fd
Revert "Try to fix travis-ci"
...
This reverts commit 8fa0cdb543 .
2014-08-12 16:38:04 +02:00
vlj
36b791c515
Revert "Another attempt at fixing travis ci"
...
This reverts commit e85aced13b .
2014-08-12 16:37:58 +02:00
vlj
a7a631a2c3
Revert "Forgot the 'D'"
...
This reverts commit aef8da48af .
2014-08-12 16:37:45 +02:00
hiker
7a5629350c
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-08-12 08:54:38 +10:00
Vlj
f633736dcc
Remove AddressSanitizer build, it doesnt work.
2014-08-12 00:54:14 +02:00
Vlj
aef8da48af
Forgot the 'D'
2014-08-12 00:45:22 +02:00
Vlj
e85aced13b
Another attempt at fixing travis ci
2014-08-12 00:38:43 +02:00
Vlj
0a6a85ea61
Use AddressSanitizer in debug build
2014-08-12 00:32:24 +02:00
Vlj
8fa0cdb543
Try to fix travis-ci
2014-08-12 00:20:55 +02:00
Vlj
10ce84fe46
Factorize render pass code
2014-08-12 00:05:46 +02:00
vlj
c5216e7cff
Use function object when unrolling args.
2014-08-11 23:15:27 +02:00
vlj
8c032a7df6
Factorize tuple remap.
2014-08-11 22:57:07 +02:00
vlj
671ab38d18
Inverted uniform names.
2014-08-11 22:03:03 +02:00
Vlj
23df4c99dd
Fix
2014-08-11 21:21:58 +02:00
Vlj
1afe0fa4ee
Port some shaders
2014-08-11 20:50:10 +02:00
hiker
11f3c1fc11
Added the recovery dialog back in :)
2014-08-11 22:39:08 +10:00
hiker
40224a85f6
For old server change actions change-password to change_password
...
and 'recover' to 'recovery'. Removed unused API::VERSION.
2014-08-11 21:56:13 +10:00
hiker
3f5ab358df
Merge branch 'leyyin'
2014-08-11 14:22:30 +10:00
hiker
93fcb9a2a7
Added server-version configuration, which supports the GSOC server (version 2).
...
Made version 1 compatible with the 0.8.1 stkaddon server (i.e. all commands
are sent to client-user.php, and receive the actual command as 'action' parameter).
2014-08-11 14:10:01 +10:00
hiker
7684ee74bd
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-08-11 13:20:07 +10:00
Marianne Gagnon
2c1feb5f06
Improve debug values popup
2014-08-10 19:09:44 -04:00
hiker
940a296366
Merge remote branch 'origin/master' into leyyin
2014-08-11 09:05:34 +10:00
hiker
42453325c4
Increased impule to keep kart parallel a bit more, changed the bevel shape
...
to be slighlty longer.
2014-08-11 09:02:45 +10:00
hiker
a8189eccfc
Increase impulse to keep the kart parallel (to avoid the kart being
...
90 degrees on its side and not being able to get straight again).
2014-08-11 08:10:04 +10:00
vlj
495cd25d1c
Do some symetry on skybox top/bottom..
2014-08-10 23:15:02 +02:00
vlj
856169794d
Use singleton for DoF.
2014-08-10 22:27:26 +02:00
vlj
0f5effc2d9
Use collision shape for RSM size.
2014-08-10 22:05:00 +02:00
hiker
4d1d4492b1
Removed support for non-bevelled shapes (has not been used in years).
...
Fixed position of physical (raycast) wheels to be in (or on the edge)
of the collision body, not outside. Removed support for defining
kart-specific physical kart position (was never used).
2014-08-10 21:54:18 +10:00
Marianne Gagnon
b2e08c94a7
Fix physics of instanced nodes
2014-08-09 21:22:12 -04:00
Vincent Lejeune
e6b558262b
Do not display grass normal
...
It requires taking account of the wind, ie another shader.
2014-08-09 21:37:31 +02:00
Vincent Lejeune
020e939e2b
Normalize normals in normal view.
2014-08-09 21:24:50 +02:00
Vincent Lejeune
c546b25ae9
Fix perspective in normal view.
2014-08-09 21:19:26 +02:00
Vincent Lejeune
c07aed260a
Visualize vertex normals in normal view.
2014-08-09 21:09:31 +02:00
Vincent Lejeune
bcc2196ccf
Fix SSAO on splatting material.
2014-08-09 20:05:49 +02:00
konstin
f3d0d3cf4e
better comments
2014-08-09 19:56:01 +02:00
vlj
768d51d0c3
Add sliders to change ssao parameters.
2014-08-09 19:22:30 +02:00
vlj
496269e73b
Make SSAO param changeable.
2014-08-09 18:51:52 +02:00
konstin
c59f243550
Merge branch 'master' of https://github.com/supertuxkart/stk-code into save_gp
2014-08-09 17:06:16 +02: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
Vincent Lejeune
41cca2e56e
Fix ambient handling.
2014-08-09 01:41:30 +02:00
Vincent Lejeune
54c9f32033
Store ambientlight directly in irr_driver.
2014-08-09 01:30:36 +02:00
Vincent Lejeune
c8a9515ad0
Use debug slider to change ambient on the fly.
2014-08-09 01:10:19 +02:00
Vincent Lejeune
5dffc86d26
Use lambda for debug_slider instead.
2014-08-09 00:43:28 +02:00
Vincent Lejeune
281fceee0b
Revert "Try to use lambdas."
...
This reverts commit cdb760ae51 .
2014-08-09 00:36:12 +02:00
Deve
99ce91dc46
Strength of bouncy edges should depend on soccer ball mass.
2014-08-08 23:07:03 +02:00
vlj
cdb760ae51
Try to use lambdas.
2014-08-08 21:46:55 +02:00
hiker
4d085a134c
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-08-08 11:14:47 +10:00
hiker
f39e22e442
Merge branch 'master' of https://github.com/leyyin/stk-code into leyyin
2014-08-08 11:10:56 +10:00
Vincent Lejeune
5ba2f6c97b
Inadvertantly inverted RSM and model matrixes.
2014-08-08 01:47:29 +02:00
Vincent Lejeune
8db09a55cd
Add Splatting RSM shader type.
2014-08-08 01:07:55 +02:00
vlj
60f76ee612
Fix RSM
2014-08-07 22:45:25 +02:00
vlj
6c3aeceb51
Fix GI
...
It was using wrong swizzle for depth texture.
2014-08-07 22:32:42 +02:00
Vincent Lejeune
dbed303d90
Try to fix ci
2014-08-07 21:02:16 +02:00
Vincent Lejeune
95fb3ea580
Add support moving texture in rsm.
2014-08-07 20:44:33 +02:00
Vincent Lejeune
e932638aef
Port sunlight* shaders to singleton.
2014-08-07 20:07:03 +02:00
Vincent Lejeune
160d061e84
Port Tonemap shader to singleton
...
Should fix kart selection screen without UBO support.
2014-08-07 19:36:32 +02:00
Vincent Lejeune
4faa7cf2b7
Store current screen size
...
When UBO support is lacking.
2014-08-07 19:30:11 +02:00
Daniel Butum
c272d39d09
Merge remote-tracking branch 'upstream/master'
2014-08-07 13:33:21 +03:00
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
hiker
18cb4f6d12
Merge remote-tracking branch 'origin/master' into bumpy
2014-08-07 11:16:53 +10:00
Vincent Lejeune
8544ff10e9
Disable depth test in non dynamic light mode.
...
Just in case...
2014-08-07 02:47:07 +02:00
Vincent Lejeune
7c31275704
Forget the ...
2014-08-07 02:43:21 +02:00
Vincent Lejeune
506dca47eb
Better if we dont remove the real function call...
2014-08-07 02:42:23 +02:00
Vincent Lejeune
27d3d3bfb3
Add a static assert.
...
Check if we pass correct count of uniforms name to AssignUniforms().
2014-08-07 02:37:53 +02:00
Vincent Lejeune
926fc3ac7c
Use singletonshader template for colorize
2014-08-07 02:29:13 +02:00
hiker
20242dae5e
Merge remote-tracking branch 'origin/master' into bumpy
2014-08-07 10:13:07 +10:00
Vincent Lejeune
87bf242164
Fix shadows for unlit with alpha ref.
2014-08-07 02:12:13 +02:00
Vincent Lejeune
858b789419
Support vertex color for alpha ref material.
2014-08-07 02:11:55 +02:00
hiker
e68d09c2e4
Merge remote-tracking branch 'origin/master' into bumpy
2014-08-07 10:00:16 +10:00
Vincent Lejeune
8dcf9f6a21
Text billboard uses unlit material.
2014-08-07 01:51:10 +02:00
Vincent Lejeune
c0d57100a7
Enable ref + vertex color for unlit mat.
2014-08-07 01:50:53 +02:00
Marianne Gagnon
024f6f3fee
clean up billboard text code
2014-08-06 19:33:09 -04:00
Vincent Lejeune
986fd8050a
Fix ambient term.
2014-08-07 01:02:30 +02:00
Vincent Lejeune
79fba1779e
Port stkbillboard to singleton shader
2014-08-07 00:52:44 +02:00
Vincent Lejeune
a0e457ac13
Port shadow shaders to singleton and remove non singleton.
2014-08-07 00:40:09 +02:00
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
Sachith Hasaranga Seneviratne
8aa4e998f2
Minor change in script order
2014-08-06 10:31:06 +05:30
Sachith Hasaranga Seneviratne
f27ed7b144
Got barrel working
2014-08-06 10:07:45 +05:30
Marianne Gagnon
30c11ad6d4
tweak braking config value
2014-08-05 20:10:46 -04:00
hiker
03160e3b7b
Increase the brake force the longer the brake key is pressed (before it
...
took ~1.6 seconds for a kart to stop, now 0.5; while hardly any change to
short brakes to slow down the kart a bit only). Also made the impulse to
keep karts parallel to the ground configurable.
2014-08-06 07:52:02 +10:00
nixt
058cec9f65
Make items align with the track triangle instead of the driveline quad.
2014-08-06 00:19:53 +05:30
Daniel Butum
28f7a45664
Do not show password_confirm field in the output when registering
2014-08-05 19:40:56 +03:00
Daniel Butum
c6c0c6e590
Rename some API calls
2014-08-05 19:12:56 +03:00
Sachith Hasaranga Seneviratne
ef17ad8072
Added comments to TrackObjectManager
2014-08-05 20:28:40 +05:30
Sachith Hasaranga Seneviratne
e7585906ea
Added enable method specific to Physical Objects to allow previously disabled track objects to be renabled
2014-08-05 20:20:26 +05:30
Sachith Hasaranga Seneviratne
f83a524f61
Prevent Physics from trying to add a body to Physics world when there is none present
2014-08-05 20:13:17 +05:30
Sachith Hasaranga Seneviratne
e4e0b7ec2f
Changed example scripts to use the new function
2014-08-05 20:00:25 +05:30
Sachith Hasaranga Seneviratne
50faed49a9
Added global functions enable(string track_object_id) and disable(string track_object_id) for track objects
2014-08-05 19:53:11 +05:30
hiker
1ba6537e37
Merge remote-tracking branch 'origin/master' into bumpy
2014-08-05 08:26:05 +10:00
hiker
44da1fb4f2
Keep flying karts parallel to the ground in the physics, not outside.
...
This avoids odd side effects that happened before (e.g. very bad collisions
with track; problems when dropping karts on rescue on the walldriving branch).
2014-08-05 08:21:52 +10:00
Daniel Butum
62e6a2d733
Merge remote-tracking branch 'upstream/master'
2014-08-05 00:19:49 +03:00
vlj
1abd3b7bac
Merge pull request #1439 from konstin/master
...
fix video options dialog
2014-08-04 21:33:11 +02:00
konstin
03b2379eef
fix video options dialog
2014-08-04 21:11:53 +02:00
Daniel Butum
c10ca31452
Use new API paths when calling the stk server
2014-08-04 21:55:56 +03:00
Sachith Hasaranga Seneviratne
127162190a
Temporarily disabled explosion creation for the sand-barrel example
2014-08-04 22:44:41 +05:30
Sachith Hasaranga Seneviratne
be0f09a828
Moved trigger creation to onstart script
2014-08-04 22:43:56 +05:30
Daniel Butum
b3f9f9f407
Refactor online namespace. Define api php file names from a single place
2014-08-04 18:41:47 +03:00
deve
5511f55dd9
Add fallback if irrlicht won't report any resolution.
2014-08-04 08:39:02 +02:00
hiker
7e65d4d346
Merge remote-tracking branch 'origin/master' into bumpy
2014-08-04 14:29:31 +10:00
hiker
c4928ceb7f
Modify suspension parameters and visual positioning of the kart to
...
test less bumpiness.
2014-08-04 13:54:43 +10:00
Marianne Gagnon
00e6e7bcc2
Fix billboard text scene nodes having wrong rotation when attached to a parent node (.e.g. a kart)
2014-08-03 20:17:11 -04:00
vlj
fb9dc7af74
Fix for travis-ci
2014-08-04 02:08:08 +02:00
Marianne Gagnon
072c118f95
Fix splatting, which had been broken by a recent commit of mine
2014-08-03 20:03:17 -04:00
Marianne Gagnon
346faff845
Clean up video settings dialog. Not a bad attempt vlj but not quite there ;)
2014-08-03 19:57:33 -04:00
vlj
c0e554de30
Remove UBO settings in the options
2014-08-04 01:50:04 +02:00
Marianne Gagnon
bb7d83a89a
Merge branch 'NewBillboardText'
2014-08-03 19:49:31 -04:00
vlj
2fcb574c90
Automate UBO fix detection.
...
It only concerns Intel Sandy Bridge (maybe Ivy Bridge ?) gpu on Windows.
2014-08-04 01:45:08 +02:00
Marianne Gagnon
fd1bde9eeb
New billboard text scene node is almost complete now
2014-08-03 19:30:59 -04:00
vlj
00b3049aad
Forget to delete 2nd order SH coefficient arrays.
2014-08-04 01:26:35 +02:00
vlj
7f44467f67
Manually delete an IImage *
...
Ref couting doesnt seem to work on this object.
2014-08-04 01:16:41 +02:00
vlj
6c71334cda
Only calculate diffuse coefficient once.
2014-08-04 01:12:45 +02:00
Marianne Gagnon
2ee9a29e11
Use new billboard text node in FTL
2014-08-03 18:19:38 -04:00
Marianne Gagnon
bfc4c43b3a
Improve billboard text node
2014-08-03 18:17:25 -04:00
Marianne Gagnon
99135a9a40
Merge branch 'master' into NewBillboardText
2014-08-03 17:59:08 -04:00
Deve
03c3f1dae7
Fixed typo
2014-08-03 22:05:55 +02:00
Deve
b08ff9dedf
Update .gitignore file.
...
Too many builds in one folder ;-)
2014-08-03 21:58:33 +02:00
Deve
15b316a9af
xrandr: update width and height params when wanted resolution was not found and we get the default one.
2014-08-03 21:56:16 +02:00
Deve
b15c902aee
Get dimensions of best resolution before creating irr device.
...
I also changed default 800x600 resolution to the size screen because sometimes this resolution may not exist. For example in rotated screens.
2014-08-03 21:50:59 +02:00
konstin
5fc44d25cd
correct invisibility settings
2014-08-03 13:56:53 +02:00
Marianne Gagnon
55e880530a
bugfix, only use the texture in layer 0 to apply material
2014-08-02 20:33:30 -04:00
Vincent Lejeune
a03a6809f7
Fix strange colors in rtts.
2014-08-02 22:30:48 +02:00
vlj
4b7918021e
Try to fix too dark tracks.
2014-08-02 21:43:14 +02:00
Sachith Hasaranga Seneviratne
66aa65e827
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-08-02 09:38:50 +05:30
Sachith Hasaranga Seneviratne
8eb5fc0d94
Fixed mesh objects trying to remove physical bodies when there are none and fixed logic for barrel test to remove the animation
2014-08-02 09:15:48 +05:30
Sachith Hasaranga Seneviratne
30bd018738
Added sandbarrel to hacienda and tested explosion creation near the barrel
2014-08-02 08:39:22 +05:30
Marianne Gagnon
24ff6790f2
Add option to randomize particles start position, and use it on snow, so that snow falls more evenly
2014-08-01 21:17:56 -04:00
Marianne Gagnon
db0241c5e2
more video settings fixes
2014-08-01 20:56:04 -04:00
Marianne Gagnon
5f70471bce
Fix previous commit about shadows vs UBOs, had forgotten shadows is an int and not a bool
2014-08-01 20:39:25 -04:00
Marianne Gagnon
2a9d63b7ae
Disable shadows when UBOs are off
2014-08-01 20:21:44 -04:00
Marianne Gagnon
edecfbdb59
Ignore minor logging spammed by recent nvidia drivers
2014-08-01 19:19:10 -04:00
Vincent Lejeune
ca30bf7d5a
Add screen fallback in case no ubo are here.
2014-08-02 01:02:06 +02:00
Vincent Lejeune
09d0c2eef5
Forget a shader + remove shader output
2014-08-02 00:56:36 +02:00
Vincent Lejeune
58c094917e
Use an header included in every shaders.
2014-08-02 00:50:56 +02:00
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
Sachith Hasaranga Seneviratne
8c2f0f1e14
fixed some scripts not using Vec3 in trigger creation
2014-08-01 19:51:39 +05:30
Sachith Hasaranga Seneviratne
c3a774fcc9
Merged master
2014-08-01 18:40:05 +05:30
nixt
f40fb50386
Fix "Wrong Direction" message
2014-08-01 04:01:28 +05:30
Deve
67948dfe28
xrandr: add support for rotated screens
2014-07-31 23:13:03 +02:00
nixt
fbf002bfc6
Disable debug messages
2014-07-31 18:15:37 +05:30
konstin
a2d76dd098
Merge branch 'master' of https://github.com/supertuxkart/stk-code into save_gp
2014-07-31 10:57:11 +02:00
hiker
a81f21a27a
Applied konstin's bugfix for an editor crash.
2014-07-31 09:28:42 +10:00
hiker
6749944dd8
Applied bugfix from konstin.
2014-07-31 09:19:52 +10:00
Flakebi
bc458c42d3
Apply per-player difficulty
2014-07-30 22:26:59 +02:00
konstin
691d1fb68c
Merge branch 'master' of https://github.com/supertuxkart/stk-code into save_gp
2014-07-30 21:54:55 +02:00
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
Deve
b11fd2aaf6
xrandr: now it seems to work fine. I enable it for testing.
...
This should be useful for people which have two or more display devices. It changes resolution only on main screen and leaves other screens untouched.
Currently I use screen which is the most on left (or on top). Ideally we should be able to choose in settings which screen we want to use. But support it on all platforms is rather too much of work. We could also detect from which screen STK was executed. This can be done differently on different window managers, but nothing impossible. Maybe in future.
Perhaps we should add fallback using old xrandr method.
BTW. in some specific cases it works better than SDL2 ;-)
2014-07-30 21:30:43 +02:00
Deve
73b45e71c7
xrandr: fixed issue with fullscreen window which was placed in wrong screen in some window managers.
...
In some cases main screen may have other position than (0, 0) - fixed it.
2014-07-30 21:30:43 +02:00
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
konstin
e7d3ab4be2
fix compilation
2014-07-30 16:17:40 +02:00
konstin
98d3728a4e
finish the save gp button
2014-07-30 16:06:44 +02:00
konstin
fb50c9c338
moving the button to xml
2014-07-30 14:58:53 +02:00
konstin
5a43fecdd0
Merge branch 'master' of https://github.com/supertuxkart/stk-code into save_gp
2014-07-30 13:59:41 +02:00
Vincent Lejeune
f9c7c3db5e
Try a fix for intel and kart selection screen.
2014-07-30 01:25:27 +02:00
Vincent Lejeune
f1c29ad26f
Port instancing shaders to singleton.
2014-07-30 00:34:00 +02:00
Vincent Lejeune
b935e9316a
Update doxygen comment.
2014-07-30 00:10:00 +02:00
Vincent Lejeune
a35c33e4f6
Remove ambient
...
It's already added in the diffuse env pass
2014-07-29 23:56:48 +02:00
Flakebi
a84094e55e
Add difficulty to karts
2014-07-29 22:54:42 +02:00
Flakebi
bcf7690809
Ignore vim swap files
2014-07-29 16:26:49 +02:00
Marianne Gagnon
db26ef3076
More work on billboard text
2014-07-28 19:49:14 -04:00
Marianne Gagnon
f803b01d10
Initial work on billboard text
2014-07-28 19:17:59 -04:00
Marianne Gagnon
3db9b867a6
In artist debug mode, fast-track race start even more, tired of waiting after thunderbird to test
2014-07-28 19:16:32 -04:00
Marianne Gagnon
c2cd32d4de
Fix c++2011 logic from previous commit. STK now builds again on my mac, finally!
2014-07-28 19:01:53 -04:00
Vincent Lejeune
ff5e457869
Fix include in wiimote_manager.hpp
2014-07-29 00:50:40 +02:00
Vincent Lejeune
fca54c8f74
Remove some other emplace_back.
2014-07-29 00:48:14 +02:00
Vincent Lejeune
f31013b4af
Fix include in stkbillboard
2014-07-29 00:40:37 +02:00
Vincent Lejeune
bd7babe11f
Rename cpp2011.h
2014-07-29 00:35:43 +02:00
Marianne Gagnon
6d100a23d8
Force billboard to render in transparent phase, won't work otherwise
2014-07-28 18:29:10 -04:00
Vincent Lejeune
13f22ab1cd
If there is a sphericalHarmonicsTexture, kill ambient.
2014-07-29 00:19:50 +02:00
Vincent Lejeune
b9e56303c1
Try to replace emplace_back() call.
...
Only on some part of the code, need confirmation it works before
propagating.
2014-07-28 23:41:01 +02:00
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
Deve
46f73e8ecc
Some improvements for xrandr
...
- choose best available refresh rate
- if resolution doesn't exist, choose first available
- other minor changes.
Works fine with Gnome, but I notices some issues on Openbox and Unity.
2014-07-28 19:23:03 +02:00
Flakebi
71f8766cb1
Add per-player difficulty
2014-07-28 18:32:39 +02:00
hiker
dbe722316a
If an addon icon can not be shown, delete the image file (which will
...
trigger a re-download on the next start).
2014-07-28 21:07:39 +10:00
hiker
f6fcb9d8da
Changed return type of getIconBasename() to be a reference.
2014-07-28 21:07:03 +10:00
hiker
d3dbc42174
Fix #1429 (physical objects do not reset when restarting a race).
2014-07-28 16:53:08 +10:00
hiker
425675bdac
Moved check_structure detection from center of kart to the front
...
of the kart (which will work better for a photo finish). Hopefully
no other side effect.
2014-07-28 09:52:44 +10:00
Deve
992c97258f
Few more checks
2014-07-27 20:00:04 +02:00
Deve
0409a84fa0
Remove debug output
2014-07-27 19:36:40 +02:00
Deve
068b88cb4b
Rename some variables, free memory etc.
2014-07-27 19:32:12 +02:00
Deve
85dd8d11a9
Add experimental support for multi-monitor on linux using xrandr.
...
Now you can play STK on one screen and watch TV on the second ;-)
Currently I use first (main) screen. We can detect from which screen STK was executed using xinerama.
Will be improved.
2014-07-27 00:48:34 +02:00
Vincent Lejeune
f87b404561
Add some doxygen on shader creation/usage
2014-07-26 23:54:57 +02:00
konstin
7a2e4e6336
corrections
2014-07-26 12:00:24 +02:00
Deve
b9eb981fcc
Some cleanup with USE_XRANDR flag
2014-07-25 19:24:35 +02:00
nixt
4cc406062f
Fix the initial raycast to make it go towards the track.
2014-07-25 20:31:42 +05:30
konstin
5167397441
Merge branch 'master' of https://github.com/supertuxkart/stk-code into laps
2014-07-25 14:18:54 +02:00
konstin
4e73ace0df
allow the track info dialog to override the default lap number for a track
2014-07-25 14:06:04 +02:00
konstin
58a8a4ff31
fix index
2014-07-25 13:02:47 +02:00
deve
f3746c068c
Some minor fixes for MinGW compiler
2014-07-25 13:00:01 +02:00
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
hiker
2f71c5f99f
Merge branch 'konstin-lapnumber'
2014-07-24 17:44:26 +10:00
hiker
fbf5bf4166
Changed default number of laps to be 3 (and not the number of laps
...
used last time), which seems to be a better default. Some minor
cosmetic changes.
2014-07-24 17:43:11 +10:00
hiker
9267e2d304
Merge branch 'lapnumber' of https://github.com/konstin/stk-code into konstin-lapnumber
2014-07-24 16:48:03 +10:00
konstin
eae71b3df9
remove C++11
2014-07-24 08:41:45 +02:00
Marianne Gagnon
9478adbd8c
Merge branch 'TupleTest'
2014-07-23 21:17:08 -04:00
hiker
12259c6c48
Try to fix travis building debug and release (cd failed before, causing
...
travis to fail).
2014-07-24 09:52:29 +10:00
hiker
2896b47233
Try to let yavis compile both debug and release mode.
2014-07-24 09:26:27 +10:00
Marianne Gagnon
7f56bf6946
Invalid defaut value for sortable was used in list widget
2014-07-23 18:43:12 -04:00
Deve
16d4f0481e
Merge pull request #1421 from Flakebi/master
...
Fix compiling issues without debug mode in my log code
2014-07-23 23:13:44 +02:00
Flakebi
bfd54cf37c
Split kart selection screen into more files
2014-07-23 22:08:22 +02:00
konstin
eb5e148aa7
resolve conflict
2014-07-23 21:52:53 +02:00
konstin
7978c25fc5
more improvements
2014-07-23 21:49:53 +02:00
Flakebi
277aab1a0e
Fix compiling issues without debug mode in my log code
2014-07-23 21:40:46 +02:00
konstin
b6d7834c85
removing unnecessary codes and compiler warnings
2014-07-23 21:25:31 +02:00
nixt
a8a6435657
Merge remote-tracking branch 'upstream/master' into walldriving
2014-07-23 20:14:21 +05:30
konstin
e4f7b6041c
use parent to remove copy+paste code
2014-07-23 16:43:25 +02:00
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
konstin
1d8b4c352d
deriving GPWIn
2014-07-23 15:33:09 +02:00
konstin
02d21053fc
begining with grand_prix_cutscene.cpp (first compiling prototype)
2014-07-23 15:28:57 +02:00
Flakebi
4fe34007cd
Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties
2014-07-23 15:18:46 +02:00
Flakebi
0195d95bad
Adding basic gui for per-player difficulties
2014-07-23 15:18:40 +02:00
hiker
9fa93d74d5
Fixed linux compilation.
2014-07-23 22:11:37 +10:00
konstin
80e61e0ca0
Adding save Button for random GP
2014-07-23 10:01:29 +02:00
hiker
0c49b87ed7
Merge remote-tracking branch 'upstream/master' into walldriving
2014-07-23 17:07:07 +10:00
Marianne Gagnon
06e4cbb9be
Fix input config screen, since the list widget was improved it didn't display quite right
2014-07-22 20:09:38 -04:00
auriamg
daa84aabef
Merge pull request #1419 from Flakebi/master
...
Fixes and using the log for log output
2014-07-22 19:38:55 -04: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
Deve
35436346cd
Merge pull request #1420 from konstin/gitignore
...
make git ignore "data/models" and the track editor
2014-07-22 22:10:32 +02:00
konstin
3da38823a7
Merge branch 'master' of https://github.com/supertuxkart/stk-code into save_gp
2014-07-22 21:16:00 +02:00
konstin
ba92e1ef6b
make git ignore data/models and the track editor
2014-07-22 17:45:35 +02:00
nixt
8a4911d41d
Rubber ball (Basketball) now fixed for non-horizontal tracks.
2014-07-22 16:36:08 +05:30
Flakebi
55090a0566
Unify log output
2014-07-22 12:54:11 +02:00
Flakebi
53fd34f7b8
Fix issues with in-game screens
2014-07-22 12:54:11 +02:00
Flakebi
a9a46a2dd6
Some little fixes
2014-07-22 12:54:10 +02:00
hiker
c322c507da
Fix shader error (vlj, please check).
2014-07-22 13:28:12 +10:00
Marianne Gagnon
fff498b9fe
Improve graphics settings dialog to try to avoid mutually incompatible options
2014-07-21 19:58:45 -04:00
Marianne Gagnon
b2fab2ae6d
Fix glitch where the irrlicht dialog close button would be slightly visible in the corner of a STK dialog, and a crash would ensue if you clicked it
2014-07-21 19:55:02 -04:00
Marianne Gagnon
939e5d9fff
Rework graphics settings popup to make it clear which options require the advanced pipeline
2014-07-21 19:48:17 -04:00
hiker
413c062932
Simplify code by using the kart's normal.
2014-07-21 16:24:44 +10:00
Marianne Gagnon
14080e602a
Code in previous commit was incorrect, no idea why it even compiled for me
2014-07-20 18:18:35 -04:00
Marianne Gagnon
476d6eda02
almost there
2014-07-20 18:10:48 -04: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
Marianne Gagnon
01ed87ec1b
continue
2014-07-18 20:30:35 -04:00
Marianne Gagnon
7e8fb6bc16
Fix duplicated paramter name
2014-07-18 20:11:40 -04:00
Marianne Gagnon
071270cb5e
more work
2014-07-18 20:02:10 -04:00
Marianne Gagnon
40851516ac
continuing work
2014-07-18 19:22:20 -04:00
Deve
bb4381a0a7
Merge pull request #1414 from konstin/fontsize
...
fix #1410 + better text alingment in GP info dialog
2014-07-18 21:02:35 +02:00
konstin
7a8743fb65
better text alingment in GP info dialog
2014-07-18 16:03:23 +02:00
konstin
0a93b7a2d3
fix #1410
2014-07-18 15:58:34 +02:00
Marianne Gagnon
6aa95f58b9
Merge branch 'master' into origin/TupleTest
2014-07-17 20:01:27 -04:00
Marianne Gagnon
00ae12677a
Fix GUI crashes when exiting STK by clicking the X button in the window titlebar
2014-07-17 19:24:35 -04:00
Flakebi
a77778b1cd
Display skill labels only once
2014-07-17 21:33:25 +02:00
konstin
e7a9c6fcc6
Merge branch 'master' of https://github.com/supertuxkart/stk-code into lapnumber
2014-07-17 20:32:54 +02:00
vlj
4e079b0e14
Fixes shader errors reported by Auria
2014-07-17 02:17:49 +02:00
vlj
23bc1f9344
Remove use of texture2d in rh.frag
2014-07-17 02:11:04 +02:00
Marianne Gagnon
e6fd365685
Re-fix clang fixes so that it works on other compilers too
2014-07-16 20:02:52 -04:00
Marianne Gagnon
8483613a4e
clang fixes
2014-07-16 19:51:24 -04:00
vlj
c4238d2089
Use emplace_back instead of push_back(std::make_tuple())
2014-07-17 01:44:57 +02:00
vlj
14e3ccd059
Duplicate singleton code for abstract/non abstract cases
2014-07-17 01:30:45 +02:00
vlj
366439bdd0
Reenable transparents.
2014-07-17 01:07:59 +02:00
vlj
6e4cca81d1
Fix material identification.
2014-07-17 01:06:17 +02:00
vlj
25c5fb326f
Do not use srgb texture for splatting.
2014-07-17 00:56:11 +02:00
vlj
6710f61863
Do not convert normal map to srgb.
2014-07-17 00:46:17 +02:00
vlj
be55a1a1c6
Reenable normal map material.
2014-07-17 00:36:10 +02:00
Marianne Gagnon
44bce402e3
clang fixes
2014-07-16 18:34:59 -04:00
vlj
f5a5988967
Fix instanced and reenable displace.
2014-07-17 00:24:09 +02:00
vlj
40a7ab0780
Raise one of ssao tolerance value.
2014-07-17 00:12:54 +02:00
vlj
e6bade24ad
Fix RSM
2014-07-17 00:10:34 +02:00
vlj
55ab93a4e6
More work.
2014-07-16 23:44:16 +02:00
vlj
1d0fb9ca68
Simplify material
2014-07-16 23:15:07 +02:00
vlj
27020c0c92
Move draw template function to render_geometry.cpp
2014-07-16 21:38:38 +02:00
vlj
1aa43814b0
Partially unroll template for grass shadow.
2014-07-16 19:41:28 +02:00
konstin
b0f3a48d80
close #1397
2014-07-16 16:02:36 +02:00
konstin
ea56f66d83
Revert "unify separators"
...
This reverts commit ad641eff67 .
2014-07-16 15:46:52 +02:00
konstin
ec73fcb2b7
minor stuff
2014-07-16 15:40:27 +02:00
konstin
0ec2cd6dc1
Merge branch 'master' of https://github.com/supertuxkart/stk-code into asdf
2014-07-16 15:16:11 +02:00
hiker
ed349914fb
Fix linux compilation.
2014-07-16 21:24:32 +10:00
hiker
a39efe7b3f
Fixed incorrect fix for linux compilation done by me:
...
Shader::getInstance<Shader>()->Program
does not compile on some gnu compiler, proper way is:
Shader::template getInstance<Shader>()->Program
Thanks to auria!
2014-07-16 16:38:41 +10:00
hiker
d0784f3fcd
Fix #1407 (huge rank number in FTL HUD).
2014-07-16 16:28:32 +10:00
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
hiker
e79c637a11
Try to use an even newer repo, since the previous one is only supported till ... end of this week ;)
2014-07-16 10:18:07 +10:00
hiker
cfed9fc44e
Try to use saucy repo for the opengl updates. Fingers crossed.
2014-07-16 10:01:24 +10:00
Marianne Gagnon
797dcf845e
Test converting code to home-brew Tuple so that STK compiles again on my mac, where clang does not include tuple
2014-07-15 19:48:34 -04:00
hiker
c386f48689
Try to fix travis ci by using a different version (quantal is not on the
...
ubuntu servers anymore).
2014-07-16 09:47:06 +10:00
hiker
a03d1df8dc
Fix linux compilation.
2014-07-16 09:35:59 +10:00
hiker
ec1b0ab9fc
Merge branch 'konstin-m_random_gp'
2014-07-16 08:19:24 +10:00
vlj
b79cebba40
Use singleton template again.
2014-07-16 00:16:57 +02:00
hiker
a8b2ad4f0a
Merge remote-tracking branch 'origin/master' into konstin-m_random_gp
2014-07-16 08:12:16 +10:00
hiker
649848cac2
Mostly cosmetic changes (renamed variables, added comments). Changed
...
'random' constructor of GrandPrixData into a function so that there
is no need to create a new GPData objects and then copy it.
2014-07-16 08:11:09 +10:00
Sachith Hasaranga Seneviratne
16e6401fab
Merged master, resolved conflict in CMakeLists.txt
2014-07-15 22:28:20 +05:30
Sachith Hasaranga Seneviratne
cbebfcd428
Changed trigger creation method to use Vec3
2014-07-15 22:19:41 +05:30
Flakebi
776020cc12
Some little fixes
2014-07-15 17:57:37 +02:00
konstin
ad641eff67
unify separators
2014-07-15 17:15:42 +02:00
konstin
0df72779a9
Use default laps for track info dialog
2014-07-15 17:10:37 +02:00
konstin
a7c6eb3853
close #1263
2014-07-15 15:57:33 +02:00
konstin
b8202b580d
Merge branch 'master' of https://github.com/supertuxkart/stk-code into laps
2014-07-15 15:46:23 +02:00
konstin
02f2488502
add default_number_of_laps
2014-07-15 15:46:17 +02:00
nixt
cf354e2828
set m_glsl = false; because AI_DEBUG not supported in the new pipeline.
2014-07-15 13:39:19 +05:30
hiker
3684d22ef8
Try to fix linux compilation.
2014-07-15 16:09:57 +10:00
Marianne Gagnon
a3dbb53540
Minor code tweaks for the new feature unlocked scene
2014-07-14 21:39:11 -04:00
hiker
f24e53538c
Merge branch 'master' into konstin-m_random_gp
...
Conflicts:
src/states_screens/dialogs/gp_info_dialog.cpp
2014-07-15 11:07:44 +10:00
hiker
55df48d3e6
PLEASE UPDATE stk-assets! Moved data/models to stk-assets to help with
...
editor development.
2014-07-15 10:52:57 +10:00
vlj
82b5097391
Turn pass1 shaders to singleton template.
2014-07-15 02:43:27 +02:00
vlj
5e0fb8dcf7
Use the singleton template
2014-07-15 02:15:12 +02:00
hiker
a9d3ef0b78
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-07-15 09:13:00 +10:00
hiker
ccb8d0e973
Fix crash: a reference to a string in a widget was used after the
...
widget was deleted.
2014-07-15 09:10:54 +10:00
vlj
c06879a8b4
Fix animated transparent texture.
2014-07-15 00:03:33 +02:00
vlj
9230cab9dd
Add shadow for instanced grass.
2014-07-15 00:02:17 +02:00
vlj
146e99b13d
Port instanced shadow shaders to singleton.
2014-07-14 23:49:00 +02:00
vlj
ffe77e4aa4
Port instanced pass2 shaders to singleton
2014-07-14 23:41:47 +02:00
vlj
098eb7f595
Port remaining pass 1 Instanced shaders to singleton
2014-07-14 23:25:52 +02:00
vlj
732aefc2dc
Turn instanced pass1 shader to singleton.
2014-07-14 23:14:20 +02:00
vlj
5838af5f3e
Remove useless function.
2014-07-14 23:13:33 +02:00
Vincent Lejeune
e310ad5628
Move skybox/lights code out of render.cpp
2014-07-14 19:44:11 +02:00
Vincent Lejeune
62bf54b8f3
Simplify displace handling
...
Should be faster now
2014-07-14 18:54:40 +02:00
Vincent Lejeune
d52d1c0409
oops
2014-07-14 18:52:41 +02:00
Vincent Lejeune
160d8c1634
Fix linux build
2014-07-14 18:51:01 +02:00
Vincent Lejeune
d035b86bc4
Turn displace shaders into singleton.
2014-07-14 18:42:19 +02:00
hiker
ab57903f9f
Try to convert m_gp from a GPData pointer to a GP object, compiles, but
...
crashes.
2014-07-14 23:08:46 +10:00
hiker
f24a000f78
Merge branch 'm_random_gp' of https://github.com/konstin/stk-code into konstin-m_random_gp
2014-07-14 14:54:59 +10:00
hiker
1350cc5985
Applied fix from b69a1d225a
...
to fix wiiuse compilation (esp. on travis-ci); enabled WIIUSE by default to test.
2014-07-14 14:21:02 +10:00
vlj
db4457655b
Fix for real torch in chocolate.
2014-07-14 03:00:46 +02:00
vlj
b186bc7f18
Try to fix chocolate torch displaced effect.
2014-07-14 02:25:04 +02:00
vlj
f1ddf87a5f
Plugin displacement material.
2014-07-14 02:25:03 +02:00
Marianne Gagnon
f00c55850a
Remove old way of doing displacing, turn into a flag in STKMesh. Does not compile, vlj will do the rest
2014-07-14 02:25:03 +02:00
Marianne Gagnon
b456205b56
Another attempt at fixing kart selection screen, hopefully the right one
2014-07-13 19:48:13 -04:00
Marianne Gagnon
2be5c99d47
fix assertion failure on kart selection screen caused by manipulating variables directly instead of using the appropriate methods
2014-07-13 19:08:07 -04:00
vlj
d0f6e54bba
Add a isDisplacement bool
2014-07-14 00:35:23 +02:00
Marianne Gagnon
415a502ef1
As requested by vlj, move singleton from networking to utils
2014-07-13 18:03:26 -04:00
Vincent Lejeune
4e1fd9b4af
Move geometry rendering code to another file.
2014-07-13 21:49:25 +02:00
Vincent Lejeune
f2acac7230
Inadverly inverted shadow and shadow_grass.vert
2014-07-13 21:37:12 +02:00
Vincent Lejeune
54b1ce39e4
Add Grass shadows.
...
For non instancing object.
2014-07-13 21:33:44 +02:00
Vincent Lejeune
b2fc9eb682
Turn shadow shaders into singletons.
2014-07-13 21:08:49 +02:00
konstin
872413ba91
clean code
2014-07-13 19:45:10 +02:00
Vincent Lejeune
7b9fc60f9c
Factorise grass material
2014-07-13 18:56:17 +02:00
Vincent Lejeune
adba84969e
Remove unneeded templates
2014-07-13 17:58:51 +02:00
Vincent Lejeune
67ab653aa0
Wrap setUniformsHelper inside a struct
2014-07-13 17:58:39 +02:00
vlj
d5bc6819fe
Factorize splatting shader.
2014-07-13 11:33:44 +02:00
vlj
c71a2c131f
Factorize transparent shaders.
2014-07-13 11:25:31 +02:00
vlj
8ec57b7683
Factorize unlit shader.
2014-07-13 02:39:33 +02:00
vlj
fbcc430e0e
Fix linux build.
2014-07-13 02:33:17 +02:00
vlj
fd7427a1cf
Factorize detail and spheremap
2014-07-13 02:30:37 +02:00
vlj
12af5eee9a
Factorize some pass2 shaders init code
2014-07-13 02:18:20 +02:00
vlj
a249ee8835
Add userconfig param
2014-07-13 01:34:20 +02:00
vlj
cc24407f09
Try another (dirty) fix.
2014-07-13 01:30:00 +02:00
vlj
6d643d973c
try to fix shader.hpp.
2014-07-13 01:23:49 +02:00
vlj
ff2ebfe731
Try to fix linux compilation.
2014-07-13 01:13:09 +02:00
vlj
22be386247
Turn Pass 1 shader to singleton, and factorize the setUniforms.
2014-07-13 01:10:28 +02:00
vlj
ef1bca5424
Try to factorize shader using variadic templates.
2014-07-13 00:11:35 +02:00
Vincent Lejeune
55a5185796
Avoid drawing negative color with splatting material.
2014-07-12 21:25:11 +02:00
Vincent Lejeune
de5499401c
Factorize splatting material.
2014-07-12 21:15:43 +02:00
Vincent Lejeune
97971a11b9
Fix RSM
2014-07-12 21:06:34 +02:00
Vincent Lejeune
ff92825531
Fix shadows.
2014-07-12 20:58:00 +02:00
Vincent Lejeune
df2595f594
Some shader factorization
2014-07-12 20:31:54 +02:00
Vincent Lejeune
51a9a215b6
Use a default texture for rubber band
2014-07-12 20:24:28 +02:00
Vincent Lejeune
d7139920ed
Fix position reconstruction formula in ssao
2014-07-12 19:54:52 +02:00
Sachith Hasaranga Seneviratne
acd11ce738
Added sound trigger (one time and cyclic)
2014-07-12 09:13:47 +05:30
Sachith Hasaranga Seneviratne
44d502d1fe
Added stop() to script-bound sounds
2014-07-12 07:34:35 +05:30
Sachith Hasaranga Seneviratne
f61fd2b13a
Removed unnecessary script files
2014-07-12 07:34:15 +05:30
Marianne Gagnon
abe8275969
Merge branch 'renderFactorisation'
2014-07-11 20:51:12 -04:00
Marianne Gagnon
6f0e3c0c08
Remove useless RTT and simplify rendering of icons on the minimap
2014-07-11 20:50:42 -04:00
vlj
e62301c9f6
Merge branch 'renderFactorisation'
2014-07-12 01:20:19 +02:00
vlj
2e1da31278
Wrong condition used.
2014-07-12 01:19:12 +02:00
vlj
8612e49072
Early exit renderSkybox without skybox textures
2014-07-12 00:57:37 +02:00
Marianne Gagnon
9abdc84989
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-07-11 18:55:30 -04:00
Marianne Gagnon
45f9cc20d9
Add asserts to catch issue early
2014-07-11 18:54:35 -04:00
vlj
a17e4c47f9
Disable WIIUSE by default on linux.
2014-07-12 00:46:19 +02:00
vlj
ba38819fff
Enable CPP2011 on linux.
2014-07-12 00:38:03 +02:00
vlj
e44f68afa2
Factorize all first pass materials.
2014-07-12 00:21:30 +02:00
Vincent Lejeune
5acc53685c
Use const ref in recursive variadic template unroll_arg<>::exec
2014-07-11 20:39:20 +02:00
Vincent Lejeune
3a4cc63602
Factorize transparent materials too
2014-07-11 20:10:21 +02:00
Vincent Lejeune
ebc0d956d4
Fix linux compilation
2014-07-11 19:32:43 +02:00
nixt
cd7a46cefd
Merge remote-tracking branch 'upstream/master' into walldriving
2014-07-11 12:45:51 +05:30
Sachith Hasaranga Seneviratne
060eb35898
Added access to kart location to scripts
2014-07-11 11:27:11 +05:30
Sachith Hasaranga Seneviratne
f9e1f16c47
Set up polymorhic overriding for script-bound TrackObjectPresentation methods
2014-07-11 07:35:24 +05:30
Sachith Hasaranga Seneviratne
f4b357d03c
Merged master
2014-07-11 07:04:25 +05:30
Vincent Lejeune
04e9daeefd
Factorize detail mat too
2014-07-11 01:27:20 +02:00
Vincent Lejeune
f723a764fc
Factorize Unlit material
2014-07-11 00:39:20 +02:00
Vincent Lejeune
555b2c433c
Factorize spheremap too.
2014-07-10 22:32:12 +02:00
Vincent Lejeune
7f8331a5b5
Use variadic recursion to expand tuples
...
It's quite non trivial to do but it should save a lot of typing later.
2014-07-10 22:19:20 +02:00
vlj
c2f7c14fdb
Try to factorize using tuple
2014-07-10 18:49:17 +02:00
vlj
feda837de8
Factorize some rendering loops.
2014-07-10 18:11:35 +02:00
Sachith Hasaranga Seneviratne
07e4d35701
Added Vec3 to setVelocity function
2014-07-10 20:42:10 +05:30
Sachith Hasaranga Seneviratne
663869e729
Started unifying locations as Vec3 s
2014-07-10 16:38:15 +05:30
Marianne Gagnon
2d847cb6b9
Fix overworld minimap
2014-07-09 23:34:39 -04:00
Marianne Gagnon
297d8aaf86
Fix crash when disabling GLSL
2014-07-09 20:41:55 -04:00
auriamg
95c59b8d51
Merge pull request #1401 from konstin/master
...
running whitespace.py
2014-07-09 20:25:58 -04:00
vlj
87e07a83d5
Factorize and comment generateCubemapFromTextures
2014-07-10 01:29:38 +02:00
vlj
822c8725dd
Remove rimlight material
2014-07-10 01:02:52 +02:00
Vincent Lejeune
0e4b9040d6
Factorize a function and add proper doxy comment.
2014-07-10 00:38:13 +02:00
konstin
4633d82c23
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-07-09 21:19:17 +02:00
nixt
c7d4a8c85c
Disabled AI_DEBUG because its currently not supported.
2014-07-10 00:38:14 +05:30
Sachith Hasaranga Seneviratne
a5914e436b
Changed all collision scripts to match new format
2014-07-09 23:52:05 +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
vlj
1324fa7b36
Readd support for 2tcoord vtx in rsm.
2014-07-09 18:06:24 +02:00
vlj
114b3f8830
Remove unused methods
2014-07-09 18:02:25 +02:00
vlj
7a989901e8
Fix ssao viz on nvidia.
2014-07-09 18:00:16 +02:00
vlj
481a5bd0d0
Fix bubble shader with glsl < 330.
2014-07-09 17:49:47 +02:00
vlj
5ee410c139
Use a default texture for transparent if not provided.
2014-07-09 17:47:09 +02:00
hiker
60ac76a3e8
Merge pull request #1398 from konstin/fix1
...
check if reverse is available; fix #1396
2014-07-09 14:17:56 +10:00
Marianne Gagnon
8c74ab5e14
Forgot to hide debug item
2014-07-08 22:07:49 -04:00
vlj
2c251ffaa4
Fix slip stream effect.
2014-07-09 03:59:21 +02:00
vlj
4c3db6ca59
Mix texture for displace.
2014-07-09 03:41:08 +02:00
vlj
25b5134881
Hack not to add displacement node to scene manager
2014-07-09 03:20:31 +02:00
vlj
9922047dd1
Do not ask GL vendor/renderer in no graphic mode.
2014-07-09 02:57:36 +02:00
Marianne Gagnon
faed904061
try to fix linux compilation
2014-07-08 20:39:31 -04:00
Marianne Gagnon
ed97fca7b3
Ease debugging GPWin/GPLose/FeatureUnlocked scenes
2014-07-08 20:37:39 -04:00
Marianne Gagnon
173ee0d510
Merge branch 'VAOGatherer'
2014-07-08 20:34:55 -04:00
Marianne Gagnon
dd7c2b6b61
Pass proper isRace value to post-processing
2014-07-09 02:30:41 +02:00
Vincent Lejeune
ac55a70c83
Mimic previous motion blur behavior
...
Depending on zypper + mask on center.
2014-07-09 02:29:49 +02:00
Marianne Gagnon
32fec1f559
Pass proper isRace value to post-processing
2014-07-08 20:25:12 -04:00
Vincent Lejeune
aec31b28dd
Merge remote-tracking branch 'origin/VAOGatherer'
2014-07-09 02:17:25 +02:00
Marianne Gagnon
7a0afd9321
Fix crash when changing kart from overworld
2014-07-08 20:10:54 -04:00
samuncle
1ecaea18b2
Add a fade out to avoid bokeh on distant objects (stars, moon, planet, background mountain)
2014-07-09 01:21:31 +02:00
Vincent Lejeune
6d7178aff5
Fix for missing texture with non advanced pipeline
2014-07-09 00:26:28 +02:00
konstin
ce7da4b237
running whitespace.py
2014-07-08 20:59:34 +02:00
nixt
9220d50035
Revert "Correct spatialToTrack and getDistances to work in 3D."
...
This reverts commit 5f15138247 .
2014-07-09 00:09:48 +05:30
konstin
eb0120fb77
fix #1395
2014-07-08 18:37:02 +02:00
konstin
240f0ec6b7
remove m_random_gp
2014-07-08 18:34:54 +02:00
vlj
6276cafba2
Use global VAO for rendering
2014-07-08 18:31:46 +02:00
Vincent Lejeune
afd97345f7
Add a global VAO manager
2014-07-08 18:31:45 +02:00
Vincent Lejeune
0a7e1312b5
Support for glDrawElements{Instanced}?BaseVertex
2014-07-08 18:31:45 +02:00
Marianne Gagnon
f37afa88b8
Only assign tangents for mesh buffers that actually use normal maps
2014-07-08 18:31:44 +02:00
konstin
8cac64f39f
check if reverse is available; fix #1396
2014-07-08 16:47:56 +02:00
Sachith Hasaranga Seneviratne
be9e9a326d
Merged master
2014-07-08 18:18:56 +05:30
Sachith Hasaranga Seneviratne
008bf124ba
Added different types of collision triggered scripts. Only available on a couple of tracks for testing at the moment
2014-07-08 17:52:47 +05:30
hiker
a65959da42
Replaced upright constraint with simpler code that keeps the kart
...
in mid air aligned to the gravity. This will also enable jumps in
section where the gravity is not in the default direction.
2014-07-08 16:52:09 +10:00
hiker
7ec2bae8e7
Minor style changes.
2014-07-08 14:41:59 +10:00
hiker
32707b8f88
Changed m_grand_prix of RaceManager to be an object (and not a pointer to
...
an object) anymore, which fixes a memory leak (and I also reverted my quick
fix from last night de7ceb0c2d to fix a crash,
which now not necessary anymore.
2014-07-08 13:20:53 +10:00
Vincent Lejeune
887438a0d0
Reduce blur amount
2014-07-08 02:37:00 +02:00
Marianne Gagnon
e229effba0
Fix gnu and sara on kart selection screen
2014-07-07 19:43:49 -04:00
Vincent Lejeune
d961a9a8bc
Fix vertex color for object_pass2
2014-07-08 01:35:04 +02:00
vlj
7bf6d4db8b
Change location where srgb fbo is disabled.
2014-07-08 00:24:21 +02:00
Vincent Lejeune
23bebff5c2
Forgot to add shaders.cpp to last commit
2014-07-07 19:33:01 +02:00
Vincent Lejeune
746e910e46
Remove some Motion Blur unused vars
2014-07-07 19:25:41 +02:00
Vincent Lejeune
f23f7b05e5
Turn motion blur into camera space motion blur
2014-07-07 18:44:25 +02:00
hiker
de7ceb0c2d
Quick fix to avoid crash at end of race, full fix to follow later ;)
2014-07-07 23:31:43 +10:00
Sachith Hasaranga Seneviratne
6b70ea36af
Bound sfx-emitters to scripts
2014-07-07 14:43:23 +05:30
hiker
09a9863a72
Merge branch 'konstin-a'
2014-07-07 17:01:48 +10:00
hiker
5611f1544d
Fixed VS compilation.
2014-07-07 16:54:25 +10:00
hiker
cab0b2d833
Fixed compiler warning.
2014-07-07 16:53:42 +10:00
hiker
c222bbcb1c
Merge branch 'a' of https://github.com/konstin/stk-code into konstin-a
2014-07-07 16:15:34 +10:00
hiker
0ff48588d0
Merge pull request #1387 from leyyin/master
...
Fix embarrassing clang compilation mistake (thanks to solistice and cand).
2014-07-07 16:02:29 +10:00
Sachith Hasaranga Seneviratne
d850b838ef
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-07-07 09:02:43 +05:30
Vincent Lejeune
d501125e9d
Remove some unused variables.
2014-07-06 21:06:27 +02:00
Sachith Hasaranga Seneviratne
d5d0ffceb4
Bound particle emitters to scripts and added move functionality
2014-07-05 08:54:49 +05:30
Sachith Hasaranga Seneviratne
6af28141a4
Merged master
2014-07-05 06:58:43 +05:30
Marianne Gagnon
1f5dd2fff3
Improve moving objects in library behavior.
2014-07-04 20:42:06 -04:00
Marianne Gagnon
3f8bff33f3
Improve a bit more movable objects in library
2014-07-04 19:59:22 -04:00
Marianne Gagnon
41c47e59be
Slightly improve behavior of moving objects in library. A problem still remains
2014-07-04 19:50:46 -04:00
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
Daniel Butum
680cd3370a
Merge remote-tracking branch 'upstream/master'
2014-07-04 18:19:45 +03:00
vlj
b3489678e7
Prevent null SunCamViewMatrix from crashing stk.
2014-07-04 15:08:43 +02:00
Daniel Butum
361d4dfade
Optimize loop (thanks to cand)
2014-07-04 13:09:46 +03:00
Daniel Butum
27f2a18f37
Fix clang compilation (thanks to solstice)
2014-07-04 11:22:09 +03:00
nixt
dbe4cd02fa
First attempt at correcting the rescue animation.
2014-07-04 12:43:34 +05:30
Sachith Hasaranga Seneviratne
eb4f585b29
Added ability to trigger explosions (graphical only) via scripts, currently uses the cake explosion_bomb.xml
2014-07-04 12:04:28 +05:30
Sachith Hasaranga Seneviratne
097a6b6394
Hardcoded explosion working in hacienda now. TODO move into scripts for custom locations
2014-07-04 11:44:40 +05:30
Sachith Hasaranga Seneviratne
850ec1124e
Added kart-physical object collision detection and made the barrels on hacienda removable via colliding with them (No speed logic implemented in scripts yet)
2014-07-04 11:14:44 +05:30
hiker
b69c92198e
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-07-04 08:51:07 +10:00
hiker
235800a119
Merge branch 'properties'
2014-07-04 08:46:05 +10:00
hiker
26fd76b904
Fixed warnings and unnecessary divisions.
2014-07-04 08:45:12 +10:00
hiker
736c7264b9
Merge branch 'properties' of https://github.com/solistice/stk-code into properties
2014-07-04 08:34:48 +10:00
hiker
2228897f46
Merge pull request #1384 from leyyin/master
...
Fix move on unitialised values in displayFPS
2014-07-04 08:32:37 +10:00
Bart Cools
c274a3beef
Inserted fix for wrong use of parameters. The kart bars are now set correctly, but the use of "magical numbers" in the bars should be avoided somehow
2014-07-03 23:42:34 +02:00
Daniel Butum
e2418aea13
Fix c++11 feature
2014-07-04 00:34:37 +03:00
Daniel Butum
efac42f746
Fix move on unitialised values in displayFPS
2014-07-03 17:22:00 +03:00
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
Sachith Hasaranga Seneviratne
84fe9b09b7
Added move to meshes, created an example in greenvalley
2014-07-03 14:01:58 +05:30
hiker
80d09825bb
Fix (potential) problem with exponential spring response (which is
...
not used atm).
2014-07-03 16:53:12 +10:00
nixt
184e45bb6d
Correct the landing after rescue for non-horizontal tracks.
2014-07-03 11:13:49 +05:30
hiker
926f5fc641
Merge branch 'properties'
2014-07-03 15:25:08 +10:00
Sachith Hasaranga Seneviratne
8292b4bce7
Moved triggers in green-valley in preparation for implementing 'move' for track objects
2014-07-03 09:56:29 +05:30
hiker
15dbc752d8
Added a space, hoping that this will trigger an automatic run of cmake
...
to discover new files to build.
2014-07-03 14:23:35 +10:00
hiker
be3882845c
Merge branch 'properties' of https://github.com/solistice/stk-code into properties.
...
Fixed conflict.
Conflicts:
src/guiengine/widgets/model_view_widget.cpp
2014-07-03 14:17:45 +10:00
Sachith Hasaranga Seneviratne
b47ad6df4d
Added script folders for all tracks
2014-07-03 08:15:25 +05:30
Sachith Hasaranga Seneviratne
3573452519
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-07-03 07:39:09 +05:30
vlj
ad913bc961
Fix crash without advanced pipeline.
2014-07-02 22:37:52 +02:00
vlj
fd5061057d
Fix for instanced object with default material.
2014-07-02 22:37:51 +02:00
vlj
d5c91dcfe4
Remove Untextured material.
2014-07-02 22:37:51 +02:00
vlj
80cab0ed28
Use a default texture for default material when there is none
2014-07-02 22:37:50 +02:00
vlj
475d738d4b
Merge remote-tracking branch 'origin/NewRTTMinimap'
2014-07-02 00:24:03 +02:00
Bart Cools
d8f65cf3fa
moved test scripts to tools directory
2014-07-01 14:32:24 +02:00
Bart Cools
4a13eebc00
Merge branch 'master' into properties
2014-07-01 13:55:10 +02:00
Bart Cools
b1426dd31d
small changes to the tests to get some initial results
2014-07-01 13:33:35 +02:00
Bart Cools
41a5b5275b
properties group node is not really necessary
2014-07-01 13:32:26 +02:00
Bart Cools
0fa6df587f
Removed redundant kart configuration
2014-07-01 12:25:02 +02:00
Bart Cools
8862be1efc
Final fix for properties, every missing field / overwrite should now be handled
2014-07-01 10:59:42 +02:00
Bart Cools
1bbd294750
Forgot to add documentation to a single node
2014-07-01 10:43:00 +02:00
Bart Cools
a73462759b
Moved the default kart-type to <general-kart-defaults> to better catch missing values in the kart-type nodes. Also moved the documentation again to properly fit the fields.
2014-07-01 10:37:00 +02:00
hiker
2b6e1b8432
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-07-01 09:51:56 +10:00
Deve
ff6af6b072
Change power of bouncy edges in soccer field as temporary solution for #1367 .
...
Ideally power of bounce should depend on soccer ball weight.
2014-06-30 18:20:31 +02:00
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
hiker
621539849a
Removed unused code.
2014-06-30 16:45:00 +10:00
vlj
61aaccca33
Clean vao_shadow_pass on instanced.
2014-06-29 22:30:18 +02:00
vlj
5cce35041b
Some cleanup
2014-06-29 22:28:50 +02:00
vlj
b861c3fb73
Use fixed attribute location for instanced objects.
2014-06-29 22:19:10 +02:00
vlj
bc7e2cd517
Some cleanups
2014-06-29 16:26:12 +02:00
hiker
be76aae256
Interpolate the normal for the gravity to allow smoother changes of
...
gravity - though it does not improve the bumpiness on twisted road section.
2014-06-29 22:53:35 +10:00
vlj
14cfa57f2a
Change "faceness" of lap line.
2014-06-28 16:05:21 +02:00
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
Vincent Lejeune
8f59d8cac0
Add a weight for vignette.
2014-06-28 00:20:44 +02:00
Bart Cools
109f783fa4
Finally implemented the correct way to parse the data
2014-06-27 23:26:02 +02:00
Deve
45abf1c45a
Fixed compilation error
2014-06-27 21:19:36 +02:00
vlj
bde17a28d5
Fix for GL 3.1 context
2014-06-27 20:58:52 +02:00
hiker
9e44c5980a
Fixed --track command line option.
2014-06-27 15:39:33 +10:00
Marianne Gagnon
21cb22f13a
Workaround crash. Vlj, please look at this, this is probably not an idea fix!
2014-06-26 21:43:47 -04:00
Marianne Gagnon
394fb9be9b
Merge branch 'master' into NewRTTMinimap
2014-06-26 20:23:02 -04:00
Sachith Hasaranga Seneviratne
52fd23566a
Completed move of all tutorial messages to scripts
2014-06-26 20:47:37 +05:30
Bart Cools
000fa2cf73
Fixed skill bars to return correct values. Also minor fix in kart properties
2014-06-26 13:43:53 +02:00
Bart Cools
c3e862f40c
fix for different kart properties, now based on kart type set in kart.xml
2014-06-26 12:53:17 +02:00
Bart Cools
0fa746c805
Changes to stk_config to make 3 groups of karts, which will default to the medium, and can be set in the kart.xml
2014-06-26 12:09:22 +02:00
hiker
5eb447d3e6
Adjust graphical offset by rotation to fix graphical position not exactly
...
the same as physicsl position when kart drives on wall.
2014-06-26 16:55:33 +10:00
hiker
76cf9ed141
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-26 16:52:15 +10:00
hiker
e3939fdc7c
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-26 16:22:19 +10:00
vlj
79838bffe3
Add 50% transparency to minimap.
2014-06-26 00:46:55 +02:00
Deve
d0091d9977
Fixed accidentaly noticed typo in comment
2014-06-25 22:22:54 +02:00
Deve
a56d6405dc
Simplify code for checking best refresh rate on linux, which I added previously.
2014-06-25 22:22:54 +02:00
Sachith Hasaranga Seneviratne
3437977806
Added Player Action Enums to scripts
2014-06-25 20:32:59 +05:30
Sachith Hasaranga Seneviratne
21c1f43ba3
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-06-25 19:48:13 +05:30
vlj
9bc2203adf
Remove break at wrong position
2014-06-25 01:43:51 +02:00
hiker
6905812425
Fixed typo in warning message.
2014-06-25 09:31:10 +10:00
vlj
a93b96d0b1
Use UBO matrixes in displace.
2014-06-25 01:22:03 +02:00
vlj
45e5fba979
Simplify vao management for non instanced nodes.
2014-06-25 01:13:23 +02:00
vlj
8e6fba3185
Some fixes
2014-06-24 23:57:29 +02:00
vlj
948c5e8aa2
Use explicit attribute location.
...
Should help implementing basevertex later, and simplify vao creation a
lot.
2014-06-24 23:17:41 +02:00
vlj
edc38c9933
Use object_pass.vert for transparent objects.
2014-06-24 22:20:01 +02:00
vlj
69e342490e
Fix ssao blur without compute.
2014-06-24 19:13:18 +02:00
konstin
a8343b2885
Merge branch 'master' of https://github.com/supertuxkart/stk-code into a
2014-06-24 16:42:18 +02:00
Sachith Hasaranga Seneviratne
a7416d1231
Added PlayerAction Enums as PA::ENUMNAME corresponding to the similiar value defined as PA_ENUMNAME under player actions
2014-06-24 19:30:20 +05:30
Sachith Hasaranga Seneviratne
07d5527ee0
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-06-24 18:16:55 +05:30
Sachith Hasaranga Seneviratne
df7b46a439
Key bindings now available via scripts
2014-06-24 18:12:42 +05:30
Sachith Hasaranga Seneviratne
a219585a41
Started adding configuration key bindings to scripting to move all tutorial messages to scripting
2014-06-24 08:45:27 +05:30
Marianne Gagnon
9ed57bdd46
Set ambient light when rendering minimap
2014-06-23 20:09:54 -04:00
Marianne Gagnon
1be98dc5db
Support animated textures in non-static objects too
2014-06-23 20:02:31 -04:00
Marianne Gagnon
4c3cce42ee
new minimap RTT fixes, getting there!
2014-06-23 19:45:48 -04:00
Marianne Gagnon
e9acaa8e4d
Do not hardcode minimap size
2014-06-23 19:34:29 -04:00
konstin
01623da5e9
remove +1
2014-06-23 16:13:54 +02:00
Vincent Lejeune
4d6aa9d942
Override clear color inside makeMiniMap
...
Track clear color was used, resulting in wrong alpha channel value.
2014-06-23 14:54:16 +02:00
Vincent Lejeune
1a8b35c796
Set blendfunc when calling draw2DImageFromRTT.
2014-06-23 14:46:02 +02:00
Arthur-D
d4bbb50e0a
Fixed accidental and embarrassing error.
2014-06-23 13:28:06 +02:00
Arthur-D
31d8234776
Added friend message icon.
2014-06-23 13:11:42 +02:00
hiker
01a3a446bb
Adjust the text width computation to take the left/right border of
...
the achievement background into account.
2014-06-23 17:24:07 +10:00
nixt
e0d2777c7d
[Optimization] Moved code for computing quad bounding boxes to constructor.
2014-06-23 12:47:24 +05:30
hiker
299816ac6f
Fixed sort order of achievements- and friend-messages.
2014-06-23 16:40:30 +10:00
hiker
3e77f4be0a
Fix windows compiler warnings.
2014-06-23 16:17:38 +10:00
Arthur-D
1a590e0fe1
Added new achievement background
2014-06-23 05:38:56 +02:00
Marianne Gagnon
d5e1bb6631
Make progress on new minimap RTT : it was actually 2 issues. First the new code calls camera->setAspectRatio which resets the matrix; second, we rendered the minimap from the back, and backface culling is now active
2014-06-22 21:28:25 -04:00
Marianne Gagnon
ca2ee5d226
New minimap rtt branch : now something is visible
2014-06-22 20:06:58 -04:00
hiker
6ed86fe09c
Fixed linux compilation.
2014-06-23 09:28:01 +10:00
hiker
6231e618d8
Added new message system to show achievements in race (and not as a
...
dialog later). Work in progress ... it doesn't look particulary nice yet ;)
2014-06-23 09:13:44 +10:00
hiker
8004e9d42c
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-23 09:05:22 +10:00
vlj
d2fc258124
Tweak ssao (again)
...
Random factor is less perdicable, no more spiral.
2014-06-23 01:03:55 +02:00
vlj
be26ac7213
Fix crash with intel
2014-06-23 00:24:02 +02:00
hiker
afdfa15134
Merge remote-tracking branch 'origin/master'
2014-06-23 08:17:34 +10:00
vlj
a461a1f807
Remove tick for GI.
2014-06-23 00:12:39 +02:00
vlj
aaee62ca82
Reverse delete order of fbo.
...
Should be safer.
2014-06-22 18:08:26 +02:00
vlj
f76cd6e7a9
Implement bilateral with fragment codepath.
2014-06-22 18:04:46 +02:00
vlj
8f5dd6edae
Some tweak to ssao.
2014-06-22 18:04:46 +02:00
Vincent Lejeune
3219e564d0
Implemented bilateral for compute path.
2014-06-22 18:04:45 +02:00
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
vlj
d8edf64caf
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-06-22 02:32:43 +02:00
vlj
c377bdff58
Merge branch 'master' into NewRTTMinimap
2014-06-22 02:24:26 +02:00
vlj
7e8486d670
Merge remote-tracking branch 'origin/shadowdebug'
2014-06-22 02:21:15 +02:00
vlj
a7dbdc7a54
Use EAC_OFF
2014-06-22 02:17:50 +02:00
vlj
83cfe79404
Fix disappearing shadows
2014-06-22 02:12:17 +02:00
Marianne Gagnon
484f4b7e00
Merge branch 'master' into NewRTTMinimap
2014-06-21 18:56:11 -04:00
konstin
b13e6b9a96
Merge branch 'master' of https://github.com/supertuxkart/stk-code into a
2014-06-21 23:40:49 +02:00
Vincent Lejeune
6e85ac4eab
Fix GI matrix generation.
2014-06-21 19:54:12 +02:00
Vincent Lejeune
88a5d08e91
Report opengl vendor and renderer.
2014-06-21 19:29:35 +02:00
Vincent Lejeune
1e959a0e10
Tigher fit of shadow map.
2014-06-21 18:09:22 +02:00
konstin
98f8ddb4e9
fix path to icon
2014-06-21 17:18:01 +02:00
konstin
59a14df340
fix track group spinner
2014-06-21 17:16:23 +02:00
konstin
f4ce845b6f
Merge branch 'master' of https://github.com/supertuxkart/stk-code into a
2014-06-21 16:20:53 +02:00
konstin
7e9361bc8b
avoid reading deallocated memory
2014-06-21 16:19:37 +02:00
hiker
49fad934cd
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-21 09:35:45 +10:00
Vincent Lejeune
71969acd22
Use a precomputed invmatrix in gi.frag
...
(General) matrix inversion is costly, it's better if it's done a single
time on cpu. Improve performance.
2014-06-20 23:10:31 +02:00
Vincent Lejeune
cb161a2774
Remove code never executed.
2014-06-20 22:56:56 +02:00
Vincent Lejeune
4c9d1888f8
Factorize transparent mesh rendering.
2014-06-20 22:52:19 +02:00
Sachith Hasaranga Seneviratne
588ec991a8
Moved all simple messages into scripts
2014-06-20 12:24:52 +05:30
Sachith Hasaranga Seneviratne
388e9cb208
Started moving tutorial hard coded messages ito scripts
2014-06-20 11:36:10 +05:30
Sachith Hasaranga Seneviratne
b32b9ffe85
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-06-20 11:28:34 +05:30
hiker
78864c5df0
Removed unused variables.
2014-06-20 15:44:59 +10:00
hiker
eaded3bf46
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-20 11:04:15 +10:00
hiker
82d8cbf875
Fixed display or kart name in top left corner (caused by calling
...
add on the label widget twice).
2014-06-20 11:00:43 +10:00
auriamg
17511d7d32
Merge pull request #1371 from Flakebi/master
...
Change xml style of screens and fix some issues with screens
2014-06-19 20:03:18 -04:00
Sachith Hasaranga Seneviratne
94e6138298
Added current tutorial scripts to new structure
2014-06-19 19:09:51 +05:30
Sachith Hasaranga Seneviratne
f86b5f91af
Trigger scripts now work by binding to the FUNCTION pointed by the trigger action instead of by the FILENAME. Started adding files into a structure similiar to that present in the tracks/ directory
2014-06-19 19:02:00 +05:30
Bart Cools
a9de201874
apply new patches to before the dubious applied/reverted merge
2014-06-19 15:01:34 +02:00
Bart Cools
07b6579529
Fixed the GUI properties for multiplayer view, though the screen is way too full right now. Some changes (to GUI or screen) have to be done!
2014-06-19 15:01:34 +02:00
Bart Cools
cdb0e88895
Make creation of new skills more generic
2014-06-19 15:01:11 +02:00
Bart Cools
084a4a46f3
GUI Property now more modifiable (with SkillLevelWidget in vector and types in an enum)
2014-06-19 15:01:11 +02:00
hiker
45ac7d5e03
Fixed compiler warnings.
2014-06-19 15:01:11 +02:00
Bart Cools
43971c1e79
Fix for the changing ProgressBar.. The only thing now needed for properties GUI is making it fancy, and change the way it's placed with multiple players
2014-06-19 15:01:11 +02:00
Bart Cools
9b89868320
reflect changes in network kart selection
2014-06-19 15:01:11 +02:00
Bart Cools
e2abf6648f
ProgressBar shows, made 3 SkillLevelWidgets, only updating the widgets when hovering over new kart isn't working yet
2014-06-19 15:01:11 +02:00
Bart Cools
e7852648fa
Changes to the Skill Level Widget, only bar refuses to show
2014-06-19 15:01:11 +02:00
Bart Cools
d5d2ef991a
Fix for sometimes disappearing skill bar
2014-06-19 14:58:11 +02:00
Bart Cools
7ac7955808
First work on GUI support for different properties
2014-06-19 14:58:11 +02:00
Bart Cools
e47f85a32c
bit of testing with the scripts for optimal settings
2014-06-19 14:42:46 +02:00
Bart Cools
95bb6835ae
first work at adding kart properties widget to the kart selection screen
2014-06-19 14:42:46 +02:00
Bart Cools
a3c751728b
addition of python script to parse test output
2014-06-19 14:42:46 +02:00
Bart Cools
26967a41db
changes to progress bar to make the percentage label optional
2014-06-19 14:42:46 +02:00
Bart Cools
b94fe0fcde
Profile data now saved without escape characters
2014-06-19 14:42:46 +02:00
Bart Cools
79727500c0
Script to run batch profile tests
2014-06-19 14:42:46 +02:00
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
Flakebi
e16a7de617
Change xml style of screens and fix some issues with screens
2014-06-19 09:49:36 +02:00
Vincent Lejeune
76b76c6872
Try to fix crash on linux with proprietary drivers
2014-06-18 20:50:30 +02:00
Sachith Hasaranga Seneviratne
97c17692e8
Added setCurrentFrame to skeletal animations
2014-06-18 17:53:18 +05:30
Sachith Hasaranga Seneviratne
2db62da4ce
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-06-18 13:13:16 +05:30
Sachith Hasaranga Seneviratne
069c25653c
Added ability for scripts to run other scripts and bound getFrameNumber for Skeletal animations to get current frame
2014-06-18 13:12:51 +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
Marianne Gagnon
cd9c2653b6
Initial work on porting minimap to new RTT
2014-06-17 19:26:12 -04:00
Vincent Lejeune
32e6942b55
Merge branch 'master' into shadowdebug
2014-06-18 01:02:51 +02:00
Vincent Lejeune
bd6c8c4839
Fix shadowdebug not using right viewfrustrum
2014-06-18 00:43:41 +02:00
Vincent Lejeune
6bc9446b91
Fix build
2014-06-18 00:27:39 +02:00
Vincent Lejeune
e2ef26e667
Add wireframe frustrum view.
2014-06-18 00:27:03 +02:00
Marianne Gagnon
b9c45b7e0f
Undo dubious code that causes crashes
2014-06-17 18:14:24 -04:00
Marianne Gagnon
6a4e46af5c
Fix more issues on feature unlocked screen
2014-06-17 18:13:40 -04:00
Vincent Lejeune
bc83bb1339
Fix attempt for OS X
2014-06-17 22:24:02 +02:00
Sachith Hasaranga Seneviratne
b7e3329d83
Added setLoop to skeletal animations, Test : rapidly nodding sheep in green valley, also incorporates trigger creation at start in the test.
2014-06-17 21:11:05 +05:30
Sachith Hasaranga Seneviratne
77ee20a5e2
Added script triggering at startup via start.as - meant to customize track object settings, and to create triggers / set their initial states as necessary
2014-06-17 18:50:55 +05:30
Sachith Hasaranga Seneviratne
a6e2884456
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-06-17 17:49:10 +05:30
Sachith Hasaranga Seneviratne
ee73767572
Added possibility of triggering scripts via update method (ie everytime tracks etc are updated, this script will be called
2014-06-17 17:48:47 +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
Marianne Gagnon
a31ed23bc0
Fix compilation. Hopefully I broke nothing
2014-06-16 19:12:48 -04:00
Sachith Hasaranga Seneviratne
351643c851
Merged master into ScriptEngine by resolving conflict in sources.cmake
2014-06-16 20:56:46 +05:30
Sachith Hasaranga Seneviratne
f55d1c004e
Added better example to haybail example to showcase pausing and unpausing
2014-06-16 20:51:58 +05:30
Sachith Hasaranga Seneviratne
f0622f425d
Added pausing capabilities to curve based (IPO) animations, bound ThreeDanimation class to scripts as type Animator
2014-06-16 20:42:48 +05:30
hiker
6dd4c6f803
Use the new stkaddons feeature to allow more than one achievements to
...
be sent at a time. This means only one server request when local
achievements are synched to the online account.
2014-06-16 23:22:27 +10:00
hiker
fa2913c937
Try to force an automatic rerun of cmake by a dummy modification of this file.
2014-06-16 22:09:25 +10:00
hiker
a50177c96a
Removed messages.?pp files (and used the strings directly where they
...
are needed).
2014-06-16 22:05:50 +10:00
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
samuncle
6175d9f5bb
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-06-16 02:46:32 +02:00
samuncle
f8f0a46ed4
Now if a not instancied object use the grass vert it will use grass frag too
2014-06-16 02:45:39 +02:00
hiker
9cc34fd76b
Changed order of libraries to hopefully make font_tool compile for Arthur.
2014-06-16 09:39:37 +10:00
hiker
f1c8fcc6d4
Fix 1366.
2014-06-15 22:14:50 +10:00
hiker
e1a750672f
Fix #1364 .
2014-06-15 22:01:52 +10:00
Sachith Hasaranga Seneviratne
0c24507821
Added Test for getMesh
2014-06-14 14:45:17 +05:30
Sachith Hasaranga Seneviratne
4c3b8f435b
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-06-14 14:11:43 +05:30
Sachith Hasaranga Seneviratne
f29ed1c2a3
Bound Meshes to Scripts
2014-06-14 14:11:19 +05:30
samuncle
08369d1fcb
Added a new particle system for the torches and bring back the vignette
2014-06-14 00:42:57 +02:00
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
hiker
6425befc5e
Synchronise achievements from a local account to an online account.
2014-06-13 23:27:52 +10:00
vlj
4daa239c5c
Fix light with ssao disabled.
2014-06-13 13:45:37 +02:00
vlj
1a9f0a83b4
Add bypassUBO for ColoredLine
2014-06-13 13:41:07 +02:00
vlj
698d892f73
Fix for OSX compilation
...
OSX supports GL up to 4.0 and is unlikely to ship gl header for later
version.
2014-06-13 13:39:23 +02:00
Sachith Hasaranga Seneviratne
7d63813afd
Added wrapper for PhysicalObject->removeBody and bound it to scripts
2014-06-13 08:30:11 +05:30
Sachith Hasaranga Seneviratne
390642cb5f
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-06-13 08:00:56 +05:30
hiker
364c7434f6
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-13 09:09:36 +10:00
hiker
d36ff8b6db
Call reset function of RaceGUIBase, which fixes #1363 (missing thunderbird).
2014-06-13 09:07:52 +10:00
Marianne Gagnon
e3a2246e25
More work on cutscene screens
2014-06-12 18:43:20 -04:00
Marianne Gagnon
bc2209284b
Some fixes with menu-cutscenes
2014-06-12 18:25:54 -04:00
Marianne Gagnon
4ea1b7c6b1
Merge branch 'focus'
2014-06-12 18:01:41 -04:00
hiker
ed978cc6e7
Merge branch 'Flakebi-master'
2014-06-12 22:27:28 +10:00
hiker
8228a5bc15
Merge branch 'master' of https://github.com/Flakebi/stk-code into Flakebi-master
2014-06-12 22:09:49 +10:00
hiker
025d7fa114
Tweaked position of font somewhat. Fixed missing rank display
...
when kart is standing still.
2014-06-12 22:00:00 +10:00
hiker
d72decfa65
Fixed using the last used track when specifying -N.
2014-06-12 16:54:09 +10:00
hiker
e33fc3c1d6
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-12 16:00:45 +10:00
hiker
cfe93f96f2
Speed up the rank animation, and don't make the old value completely
...
disappear (which makes the animation even faster).
2014-06-12 15:58:40 +10:00
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
Marianne Gagnon
540df39128
fix crash when using track debug. unfortunately, visual aids are not yet functional
2014-06-11 20:50:53 -04:00
Marianne Gagnon
e5532c32ff
Improve code to switch between GUI-cutscenes. Still not fully functional, but better
2014-06-11 19:37:04 -04:00
hiker
859dc3fbbd
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-12 09:34:22 +10:00
hiker
60f707b55d
Fixed gcc compiler warning.
2014-06-12 09:33:52 +10:00
hiker
1dc63849c9
Use a sigmar as big digit font and display time and
...
lap using this font (temporarily till we agree on a font).
2014-06-12 09:27:45 +10:00
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
hiker
9ae8446fae
Added -c CHARLIST option which will only export the characters
...
specified in the character list. Fixed auto-selection of export
used characters only.
2014-06-12 08:11:51 +10:00
Sachith Hasaranga Seneviratne
14d64e9fae
Bound function to check if a physical object is a flattener for testing
2014-06-11 12:30:48 +05:30
Sachith Hasaranga Seneviratne
f3a41a2631
Bound Physical Object class to scripts
2014-06-11 11:58:57 +05:30
Sachith Hasaranga Seneviratne
41a4619120
added bound setEnable method to TrackObject in scripts
2014-06-11 11:24:54 +05:30
Sachith Hasaranga Seneviratne
e567adb0ca
Bound TrackObject type to scripts
2014-06-11 10:52:04 +05:30
Sachith Hasaranga Seneviratne
113c87dccf
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-06-11 10:51:23 +05:30
Marianne Gagnon
ffe657b1c2
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-06-10 19:59:37 -04:00
Marianne Gagnon
8a4b4ae213
Update cutscene shortcuts
2014-06-10 19:59:30 -04:00
hiker
97a23e83cb
Merge branch 'big_digit'
2014-06-11 09:22:57 +10:00
hiker
28737270d9
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-11 09:19:41 +10:00
hiker
89d8a19dab
Fixed shader compilation errors.
2014-06-11 09:11:07 +10:00
Marianne Gagnon
d6c983cac3
Add support to load new style glossmap (more work remains to do before this is complete)
2014-06-10 18:59:36 -04:00
hiker
a5c7b295be
Don't add the index offset for Asian fonts if no pot files are given.
2014-06-11 08:18:35 +10:00
hiker
e55d976aa2
Added simple animation when the player rank changes.
2014-06-10 16:58:43 +10:00
hiker
77400211ca
Added some tests to avoid NAN values (which I have seen once).
2014-06-10 09:19:02 +10:00
hiker
02b0cfd069
Use big digit font to display the kart rank inside of the speedometer.
2014-06-09 22:38:19 +10:00
nixt
9e95fb4a7a
Update terrain info based on start position and a direction.
2014-06-09 17:44:39 +05:30
vlj
753e22600d
Reverse shadowmap views.
2014-06-08 22:22:58 +02:00
vlj
8cbeca44fd
Add a way to display shadow map.
2014-06-08 22:18:32 +02:00
Sachith Hasaranga Seneviratne
75ed68ac58
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-06-08 20:32:08 +05:30
vlj
e959d6c857
MLAA: Use srgb for auxiliary buffer.
2014-06-08 03:28:24 +02:00
vlj
9bc89e0f40
Lower MLAA threshold.
2014-06-08 03:06:20 +02:00
vlj
877bf938bd
Fix different color with/without mlaa.
2014-06-08 02:50:02 +02:00
vlj
f4ca8f1f39
Fix low brightness without mlaa.
2014-06-08 02:32:56 +02:00
vlj
59ad95b93f
Fix ribbon not using ambient.
2014-06-08 02:26:40 +02:00
Marianne Gagnon
61d6caa521
Work on feature unlocked scene
2014-06-07 19:51:34 -04:00
vlj
31c773079e
Add a performance counter for MLAA
2014-06-08 00:25:34 +02:00
vlj
94900fe2c8
Add a performance counter for GUI
2014-06-08 00:20:44 +02:00
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
Sachith Hasaranga Seneviratne
5498084cde
Bound Vec3 class to scripts
2014-06-07 08:07:18 +05:30
vlj
ed98c4c8ff
Fix linux with 4.3+ context.
2014-06-07 02:16:00 +02:00
vlj
b27b68f768
Fix attempt for linux
...
Actually remove the code block if not on windows.
2014-06-07 02:04:15 +02:00
vlj
559d4f3b9f
Remove GI param test when reseting Ambient.
2014-06-07 01:49:23 +02:00
vlj
56896bab23
Minify ssao buffer.
2014-06-06 22:36:43 +02:00
Flakebi
9a37cd2c2b
Change focus cycle so invisible and deactivated widgets are skiped
2014-06-06 22:23:52 +02:00
hiker
508431b030
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-06 21:56:23 +10:00
hiker
d0879cf075
Removed file that should never have been added in the first place ;)
2014-06-06 21:53:57 +10:00
Flakebi
de4e45280b
Remember password better
2014-06-06 11:31:52 +02:00
Flakebi
03255a4156
Merge upstream/master into Flakebi/master
2014-06-06 10:06:25 +02:00
Lauri Kasanen
52b4651b9e
Fix typo in 76d564f
2014-06-06 11:04:50 +03:00
nixt
182122720e
Undo workaround for operator-(Vec3, btVector3) and remove Log message for debugging.
2014-06-06 06:43:41 +05:30
hiker
b0417758d5
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-06 10:59:09 +10:00
hiker
76d564f61f
Try to fix compilation with pre opengl 4 drivers.
2014-06-06 10:58:32 +10:00
nixt
b81a8fb0a7
Forgot to change all instances of pointInQuad to pointInQuad3D
2014-06-06 05:41:13 +05:30
Marianne Gagnon
be5577045d
Work on new feature unlocked cutscene, starting to work correctly, more testing (and art work) needed
2014-06-05 20:06:27 -04:00
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
hiker
3cd2b97202
Added missing operator-(Vec3, btVector3). Without this operator
...
additional typecast where necessary on VS when computing
Vec3-btVector3.
2014-06-06 09:36:12 +10:00
hiker
d5d7f5bd92
Fixed logout of old player when switching to a new player. Fixed
...
disabling the account name (to prevent people from changing their
online name).
2014-06-06 08:05:25 +10:00
Flakebi
cd8c27cbec
Save 'remember-password' setting per user
2014-06-05 22:07:00 +02:00
konstin
3679bf4617
adding a comment; fix #930
2014-06-05 18:59:16 +02:00
Flakebi
db4699781a
Fix my fix
2014-06-05 18:47:15 +02:00
Flakebi
e490874a90
Fix compiler warnings
2014-06-05 18:27:19 +02:00
konstin
acc32703ed
Merge branch 'master' of https://github.com/supertuxkart/stk-code into a
2014-06-05 18:26:28 +02:00
konstin
173725a9d4
add a restart button + better looking on 600x800
2014-06-05 18:26:11 +02:00
Flakebi
bf76fbff6e
Fix bug with deactivated widgets where visibility is changed
2014-06-05 16:16:08 +02:00
hiker
b61e8e24db
Disable online flag in register screen if user did not enable
...
internet in the dialog. Removed unused function.
2014-06-05 21:28:30 +10:00
Sachith Hasaranga Seneviratne
85f6a7b576
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-06-05 12:39:07 +05:30
Sachith Hasaranga Seneviratne
795a6022e5
Revert "Revert "Merge sources.cmake change""
...
This reverts commit 0290564310 .
2014-06-05 12:38:38 +05:30
hiker
48b9016384
Fixed compiler warnings.
2014-06-05 17:07:54 +10:00
hiker
c2a3b3870d
Fixed crash on windows (caused by a variable beeing a large negative
...
value).Vlj, can you please have a look!
2014-06-05 17:02:53 +10:00
Sachith Hasaranga Seneviratne
0290564310
Revert "Merge sources.cmake change"
...
This reverts commit 03bff8819f , reversing
changes made to 540c7818aa .
2014-06-05 11:46:11 +05:30
Sachith Hasaranga Seneviratne
03bff8819f
Merge sources.cmake change
2014-06-05 11:30:28 +05:30
vlj
588ec08bc1
Merge branch 'CS'
2014-06-05 03:33:02 +02:00
Vincent Lejeune
03b66f4f59
Use immutable storage for depth/shadows/RSM
2014-06-05 03:19:19 +02:00
Vincent Lejeune
5b400b7ccb
Add some new gpu timers.
2014-06-05 03:19:19 +02:00
vlj
eb45954684
Implement Gaussian blur using Compute Shader
...
The filters are ~3.5 time faster with CS.
2014-06-05 03:19:18 +02:00
vlj
8cc1df3dd1
Update glext.h
2014-06-05 03:19:17 +02:00
Vincent Lejeune
cead5081be
Fix MLAA
2014-06-05 02:56:25 +02:00
Marianne Gagnon
02c68d5b02
Merge branch 'NewRTTWidget'
2014-06-04 20:46:24 -04:00
Marianne Gagnon
2b0f28669e
Merge branch 'NewRTTWidget' of https://github.com/supertuxkart/stk-code into NewRTTWidget
2014-06-04 20:29:40 -04:00
Marianne Gagnon
9af15c7bdf
Fix sky not cleared when exiting race, would show up on kart selection screen
2014-06-04 20:29:37 -04:00
Vincent Lejeune
87da1f9186
Fix attempt for black ribbon without gi.
2014-06-05 02:26:33 +02:00
Vincent Lejeune
bed088bd51
Fix proposal for dark stk track with gi enabled.
2014-06-05 02:18:53 +02:00
hiker
46ca3a2679
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-05 10:14:19 +10:00
hiker
b417a5c612
Fix deactivating entry field.
2014-06-05 10:12:26 +10:00
hiker
67c6e1b61e
Merge branch 'Flakebi-master'
2014-06-05 09:52:43 +10:00
Vincent Lejeune
f995c31372
Add sun to rtt
2014-06-05 01:44:15 +02:00
Vincent Lejeune
219bfbca93
Fix crashes and add a hunk I forgot
2014-06-05 01:34:12 +02:00
Vincent Lejeune
5f1413e140
Merge branch 'master' into NewRTTWidget
2014-06-05 01:30:45 +02:00
Vincent Lejeune
3f619e8e21
Fix ambient if no shadow are present.
2014-06-05 01:08:31 +02:00
hiker
5619509ebb
Prevent NANs/crash.
2014-06-05 08:59:24 +10:00
hiker
e3513b10c6
Merge branch 'master' of https://github.com/Flakebi/stk-code into Flakebi-master
2014-06-05 08:23:47 +10:00
hiker
781820abef
Fix the online name (to force people to use only one online name).
...
This prevents people from passing achievements from one online
account to another (once two way synching is in place).
2014-06-05 08:17:59 +10:00
hiker
8960b79181
Wait for request_manager to be ready to be deleted (i.e. current request
...
have been properly aborted, and sign out done). Also shut down more of
STK after signaling the request manager to shut down, so that the user does
not notice the time for the sign out. Also added docs.
2014-06-05 07:56:51 +10:00
hiker
c579267e9a
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-05 07:51:46 +10:00
Flakebi
be39fc4f96
Reset speed when porting to a challenge
2014-06-04 19:06:45 +02:00
Flakebi
7ea68064d8
Fix improvements
2014-06-04 18:27:32 +02:00
Flakebi
4b70feede1
Improve scripts
2014-06-04 17:56:09 +02:00
Flakebi
d7b3e0f46a
Fix RegisterScreen
2014-06-04 16:45:54 +02:00
Flakebi
af6c121a22
Run whitespaces.py
2014-06-04 15:10:20 +02:00
Flakebi
4069e233fe
Unify some things
2014-06-04 15:06:35 +02:00
Arthur-D
cad6d5b3ae
Set player icons as 128x128 instead of 160x120 so the image ratio is correct.
2014-06-04 14:55:13 +02:00
Flakebi
4ae98f4610
Clean up when closing the window
2014-06-04 12:53:11 +02:00
Flakebi
39e5b57233
Add visual effect for disabled textfields
2014-06-04 12:49:41 +02:00
hiker
49a9ac54d5
Added a 'non-abortable' flag to the signout request. Re-enabled cancelling
...
ongoing downloads to allow for a quicker exit of STK.
2014-06-04 17:05:35 +10:00
hiker
c62cc7fbaa
Added CanBeDeleted class, which implements a timeout function. It is
...
used to make sure that (in this case) the NewsManager thread does not
need the file manager anymore when stk exists (which can only happen
on very very quick exists, and slow downloads). This avoids a potential
crash that the NewsManager thread could access the file manager after
the file manager was deleted.
2014-06-04 16:51:29 +10:00
Marianne Gagnon
9c1e371803
Allow disabling text boxes
2014-06-03 19:13:25 -04:00
Marianne Gagnon
6982a3de59
Work on porting feature unlocked screen to new cutscene system
2014-06-03 18:48:37 -04:00
vlj
803dc41ebb
Accidently reverted a commit that fixed a crash.
2014-06-04 00:08:14 +02:00
vlj
f0b3cbfcd0
Gather bloom effect to avoid extra texture read.
...
I have a .5ms win here...
2014-06-03 20:46:01 +02:00
vlj
55ddffaf54
Another round of big triangle port.
2014-06-03 20:28:42 +02:00
vlj
e5a5c78045
Use a big triangle instead of 2 to cover full screen.
...
This allows to rasterize a single primitive instead of two, and avoid
trashing the cache between the 2 triangles drawing.
2014-06-03 19:56:59 +02:00
vlj
d4fe539385
Do not write specular value in gi/diffuseenvmap
2014-06-03 17:40:21 +02:00
hiker
8c7b586f45
Fix 'remember password' setting being not remembered.
2014-06-03 21:10:39 +10:00
hiker
24f8918061
Fixed assertion in GP editor.
2014-06-03 15:52:33 +10:00
Sachith Hasaranga Seneviratne
540c7818aa
Scripts can now create action triggers by themselves. Example in tutorial
2014-06-03 10:09:03 +05:30
hiker
71b79cc72f
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-03 13:50:52 +10:00
hiker
663287930f
Sort karts by locked/unlocked state (and then alphabetically).
2014-06-03 13:50:28 +10:00
hiker
3d88bfa297
use isInGroup, and minor cosmetic changes.
2014-06-03 13:45:58 +10:00
hiker
9a366f8ee1
Simplified isInGroup test.
2014-06-03 13:42:41 +10:00
Sachith Hasaranga Seneviratne
146a71f46a
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-06-03 07:15:06 +05:30
vlj
e571afc43b
Speed up SSAO again
...
Use log2(xy) = log2(x) + log2(y), and approximate log2(alpha) =
log2(previous alpha) + .5.
Log2 is indeed a costly instruction.
2014-06-03 03:41:05 +02:00
vlj
164ffa2b4f
Spped up SSAO
...
Avoid using cos/sin too much, use sum of cos/sin formula instead.
2014-06-03 03:14:39 +02:00
vlj
783464ee81
Fix SSAO perf
...
I was using wrong mipmap count for linear depth rtt.
2014-06-03 01:59:22 +02:00
Marianne Gagnon
b5e6e5e054
Remove bogus check
2014-06-02 19:46:50 -04:00
Sachith Hasaranga Seneviratne
b14f79288d
Added ability for karts to jump to arbitrary locations on the map albeit somewhat inaccurately for now via the method jumpKartTo(kartID, targetx,target y) Notation is standard blender xyz
2014-06-02 21:26:27 +05:30
Sachith Hasaranga Seneviratne
88ea69fdc7
Added setVelocity to script functions for karts
2014-06-02 20:27:20 +05:30
konstin
0db8531a5d
Merge branch 'master' of https://github.com/supertuxkart/stk-code into a
2014-06-02 16:57:14 +02:00
konstin
ce661a4dd4
add a reverse spinner
2014-06-02 16:56:59 +02:00
Sachith Hasaranga Seneviratne
d908489ca7
Added script driven kart teleports
2014-06-02 19:55:37 +05:30
Sachith Hasaranga Seneviratne
2f57a14c87
On hitting a physical object with any item, the physical object is now removed (vanishes), can be tested on tutorial by shooting bowling balls at the boxes
2014-06-02 16:09:33 +05:30
Sachith Hasaranga Seneviratne
e08bbb5138
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-06-02 13:08:53 +05:30
Sachith Hasaranga Seneviratne
43f78a6a54
Added accessor methods for ID, set disabling/enabling/status checking to work for IDs as well
2014-06-02 13:07:51 +05:30
hiker
0d789c3bd2
Don't create icons for guests (which are never shown).
2014-06-02 17:07:57 +10:00
hiker
eea9d6dbd8
Added FIXME and some comments so that we can look at this
...
strange call again when more networking code is added.
2014-06-02 16:30:53 +10:00
hiker
827286105e
Fix #1347 .
2014-06-02 15:54:23 +10:00
Marianne Gagnon
375fffaa80
Improvements to GPLose scene, similar to previous work on GPWin
2014-06-01 21:07:45 -04:00
Marianne Gagnon
0057e40e6d
Work on cutscene+menu combination. Fix bugs in GPWin cutscene, make them easier to work with in general
2014-06-01 21:03:48 -04:00
Marianne Gagnon
c7606cf6ef
Fix for nvidia
2014-06-01 20:19:31 -04:00
Marianne Gagnon
31f23b437e
Fix win-GP scene scale, so that effects render correctly
2014-06-01 20:18:28 -04:00
Vincent Lejeune
db9b9834d0
Separate point light and sun light in renderlights.
2014-06-02 01:23:18 +02:00
hiker
0358e55e2e
Added 'back' button to user screen.
2014-06-02 08:21:36 +10:00
hiker
c733378bf3
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-06-02 08:09:20 +10:00
hiker
5c959e07a2
Fixed multiplayer kart selection. Now guests are created on demand,
...
and are not saved to the players.xml file anymore.
2014-06-02 08:08:42 +10:00
vlj
63992a3908
Play with glTexStorage2D
...
Should reduce memory movements.
2014-06-01 02:48:03 +02:00
vlj
baf128059d
Add 3 new gl api calls
2014-06-01 02:24:19 +02:00
Marianne Gagnon
aff3b32bc6
compilation fix when c++2011 is enabled
2014-05-31 19:47:32 -04:00
auriamg
2877cedd1c
Merge pull request #1317 from konstin/random-gp
...
Changes in preparation for Random GP
2014-05-31 18:44:59 -04:00
konstin
03768db82a
avoid duplicate tracks
2014-05-31 22:32:55 +02:00
Vincent Lejeune
f31e5763d2
Fix condition.
2014-05-31 22:24:32 +02:00
konstin
ae2e6f77ad
Avoid duplicate name in GP editor
2014-05-31 22:12:01 +02:00
vlj
21317f561f
Remove sun specular if there is no shadow in track.
...
Avoid the ghost specular in star track.
2014-05-31 18:00:16 +02:00
Vincent Lejeune
5d095d4d24
Use options to determine if a fbo is needed.
2014-05-31 17:49:00 +02:00
konstin
6521e3d496
fix crash due to a dangling pointer
2014-05-31 17:28:20 +02:00
konstin
6bf1a33ddc
fix compilation failure due to merging
2014-05-31 16:50:01 +02:00
konstin
b7b116634d
solving merge conflicts with upstream
2014-05-31 15:28:52 +02:00
konstin
2534abeed2
trying to merge upstream
2014-05-31 15:11:05 +02:00
vlj
e9cb12a1fb
Used wrong condition.
2014-05-31 02:57:21 +02:00
vlj
5945ee878b
Start GI at the second tick.
2014-05-31 02:53:16 +02:00
hiker
5906cdb070
Merge branch 'NewRTTWidget' of github.com:supertuxkart/stk-code into NewRTTWidget
2014-05-31 10:45:55 +10:00
Marianne Gagnon
588b4189ac
Merge branch 'master' into NewRTTWidget
2014-05-30 20:44:38 -04:00
hiker
e39f2164b5
Removed OnlineProfile from ActivePlayer, since it was not used at all.
2014-05-31 10:26:02 +10:00
hiker
a0ee4d0bc5
Don't save guest players to the players.xml file.
2014-05-31 10:25:08 +10:00
vlj
6643f749b1
Remove unneeded profilers.
2014-05-31 02:04:32 +02:00
vlj
0f833b0619
Remove unneeded shaders/wrong assignements.
2014-05-31 01:59:33 +02:00
vlj
2d921ca588
Add a profiler for Dof
2014-05-31 01:52:10 +02:00
Marianne Gagnon
5e132f7410
Add GI to video options
2014-05-30 19:49:21 -04:00
vlj
ef91bf9549
Force RTT usage even in basic mode.
2014-05-31 01:26:47 +02:00
konstin
02677b38c2
Refactoring, renaming and cleaning-up
2014-05-30 20:26:44 +02:00
vlj
aa0691015a
Fix crash with 3.1 context when cleaning rtt.
2014-05-30 15:34:24 +02:00
hiker
a907df37ad
Save the last three stdout.log files (which is useful in diagnosing
...
crashes caused by e.g. a problem in a previous run).
2014-05-30 16:00:28 +10:00
Sachith Hasaranga Seneviratne
ad71674b2c
Added IDs to track objects, coding style fixes
2014-05-30 08:15:34 +05:30
Sachith Hasaranga Seneviratne
79d267ad9e
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-05-30 07:45:23 +05:30
hiker
8ea5110fd4
Fix crash caused by uninitialised variable.
2014-05-30 11:30:44 +10:00
Marianne Gagnon
a055d42829
A few tweaks
2014-05-29 21:08:12 -04:00
hiker
bb09ec9e37
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-05-30 11:03:46 +10:00
hiker
23e56e9454
Fixed indentation.
2014-05-30 11:03:32 +10:00
hiker
c705ad7732
Combined windows and non-windows handling of redirecting log to file (no
...
idea why there was ever made a distinction).
2014-05-30 10:54:08 +10:00
Vincent Lejeune
44f70454ad
Fix dof overwriting alpha value.
2014-05-30 02:32:01 +02:00
Marianne Gagnon
80b8851a9a
Fix merge
2014-05-29 20:04:10 -04:00
Marianne Gagnon
7e9252e5b3
Merge branch 'master' into NewRTTWidget
2014-05-29 20:00:58 -04:00
Sachith Hasaranga Seneviratne
038aaa6f3b
Hitting a physical object with an object now triggers a message (Test in tutorial by shooting at the boxes). All currently suppported collision types now denote the type in the message that appears.
2014-05-29 18:51:48 +05:30
Sachith Hasaranga Seneviratne
870f438b06
Removing animations now also removes the corresponding PhysicalObject as well. Additionally opened up the PhysicalObject class to allow for the setting of the interaction type with the future goal of exposing it to scripts
2014-05-29 17:37:13 +05:30
Sachith Hasaranga Seneviratne
329d11421b
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-05-29 10:40:36 +05:30
hiker
1cb7445e1b
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-05-28 21:41:56 +10:00
hiker
b18d7e75ac
Rewrote insertionSort to only require operator< (no >),
...
and removed the unnecessary operators.
2014-05-28 21:41:07 +10:00
Sachith Hasaranga Seneviratne
6015b66f9a
All existing script functions decoupled from script engine, moved into namespaces of Kart,Track and Physics.(Corresponding to their game engine equivalents
2014-05-28 13:51:13 +05:30
Sachith Hasaranga Seneviratne
8b9629fb5e
Cleaned up a bit
2014-05-28 13:21:45 +05:30
Sachith Hasaranga Seneviratne
34fec63f9c
Added Kart sub-namespace
2014-05-28 13:13:45 +05:30
hiker
dd04c11260
Sort tracks first by locked/unlocked status, then alphabetically.
...
Added support for special sort names for each track (e.g. 'The Island'
can be sorted as 'Island' etc).
2014-05-28 17:15:00 +10:00
Sachith Hasaranga Seneviratne
0fd792ac5b
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-05-28 12:27:41 +05:30
vlj
220719e507
Allow to toggle off GI.
2014-05-28 07:47:06 +02:00
vlj
40df4afc74
Support some debug option for GI
2014-05-28 07:47:06 +02:00
vlj
af16682a9e
Add GI support
2014-05-28 07:47:06 +02:00
Vincent Lejeune
5caf028a71
Add RH support
2014-05-28 07:47:06 +02:00
Vincent Lejeune
180bd939e0
Add RSM support
2014-05-28 07:47:06 +02:00
vlj
b3a8b13a10
Add all necessary fbo for RH
2014-05-28 07:47:06 +02:00
vlj
c96bc37975
Support 3 rtts
2014-05-28 07:47:06 +02:00
vlj
2dba00c45a
Support for layered without depth stencil
2014-05-28 07:47:06 +02:00
Marianne Gagnon
aa1418050d
Bugfix when GLSL disabled
2014-05-27 19:00:55 -04:00
hiker
fc228c96c4
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-05-28 08:57:45 +10:00
hiker
3f1029c55e
Fixed overwritten icons (which prevents player from using their
...
own icons).
2014-05-28 08:57:00 +10:00
auriamg
544d2206ef
Merge pull request #1343 from Flakebi/master
...
Add deactivated buttons and fix device-screen
2014-05-27 18:52:49 -04:00
konstin
feeab733e4
more intellegent track adding and removing
2014-05-27 20:49:02 +02:00
Flakebi
e5b4121aef
Fix behaviour of device-screen: Go to input-screen if pressing on the back button
2014-05-27 16:15:19 +02:00
Flakebi
d5de7d49d9
Add graphics for deactivated buttons
2014-05-27 16:07:53 +02:00
hiker
0494cc3164
1) Fixed saving of sessions ('save-session=1' was sent instead of
...
'save-session=true').
2) Made logout request same priority as stk-quit request, which means
that the logout request will executed before the quit, resulting
in players properly being marked as logged out.
2014-05-27 23:44:25 +10:00
sachith500
41a56c0cec
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-05-27 11:57:58 +05:30
sachith500
6f58864df0
Added namespaces Scripting, Scripting::Physics. Moved collision script code and function,callback binding to Scripting::Physics
2014-05-27 11:57:44 +05:30
hiker
36d705f021
Added 'always-show-login-screen' option, moved 'remember-password'
...
option from UI-options to UserScreen.
2014-05-27 15:36:44 +10:00
hiker
4ada050ca7
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-05-27 12:28:12 +10:00
hiker
a24e0cf5aa
Also hide the 'online' label if a user is renamed.
2014-05-27 10:44:01 +10:00
sachith500
8c5606be08
Karts involved in collisions addressable by ID
2014-05-26 20:30:27 +05:30
sachith500
31f7ea7c89
Added very basic collisions
2014-05-26 18:03:41 +05:30
sachith500
3cb24f55d5
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-05-26 16:58:16 +05:30
hiker
726070b331
Use Log::, fix coding style issues.
2014-05-26 16:58:50 +10:00
Marianne Gagnon
5bc824a6d4
More improvements to new RTT
2014-05-25 19:26:40 -04:00
Marianne Gagnon
986563fdf8
Fix transparency
2014-05-25 18:45:54 -04:00
hiker
4cc59a56ce
Fixed renaming of local player, removed old rename dialog.
2014-05-26 08:25:33 +10:00
konstin
0d959a72aa
implement dynamic track listing (thanks to unitraxx for the help with the updating)
2014-05-25 21:16:42 +02:00
hiker
64492fb6cb
Merge branch 'pgabor-master'
2014-05-25 22:43:14 +10:00
hiker
79081f8ce8
Merge branch 'master' of https://github.com/pgabor/stk-code into pgabor-master
2014-05-25 22:38:03 +10:00
vlj
2cf9bb6d2c
Use UBO in MLAA
2014-05-25 03:21:08 +02:00
vlj
5ce3a6221a
Extent RTT_MLAA_COLORS to use alpha value
2014-05-25 03:13:53 +02:00
vlj
670c25dd26
Return alpha value in tonemap.
2014-05-25 03:13:19 +02:00
Marianne Gagnon
8afc03deff
Optimize kart switching
2014-05-24 20:57:38 -04:00
vlj
081a379dc0
RTT background is transparent without mlaa
2014-05-25 02:55:32 +02:00
vlj
0bd5d0973d
Set alpha to 0
2014-05-25 02:42:39 +02:00
Marianne Gagnon
bdc13d3bb9
Fix multiplayer kart select with new RTT widget
2014-05-24 20:34:39 -04:00
Marianne Gagnon
add14147a3
Fix RTT widghet clearModels() method
2014-05-24 20:22:34 -04:00
hiker
a07c931921
Removed file accidentally added (thanks to Konstin for noticing).
2014-05-24 22:12:04 +10:00
hiker
3b721d3803
New zipper icon by Connor.
2014-05-24 12:31:43 +10:00
hiker
22f5b39223
Fix linux compilation.
2014-05-24 12:16:44 +10:00
hiker
36cbb18e27
Fixed compiler warnings.
2014-05-24 12:07:47 +10:00
hiker
63bbf6e092
Converted files to standard unix format.
2014-05-24 12:00:25 +10:00
hiker
fc32fcc865
Fix crash when deleting the current player (also prevent the user from
...
deleting the last user, since STK (after login) needs a current player).
2014-05-24 11:52:09 +10:00
Marianne Gagnon
90ab6fec3a
Fixes to new RTT widget
2014-05-23 21:45:47 -04:00
hiker
6ca40916f7
Used proper icons for user screen.
2014-05-24 11:22:12 +10:00
Marianne Gagnon
5ce2b0b922
Work on new RTT widget, let there be light
2014-05-23 21:15:23 -04:00
vlj
a6f266ea40
Forgot to uncomment some lines
2014-05-24 03:02:27 +02:00
vlj
03ee8622de
Better fix for absent track
2014-05-24 03:01:08 +02:00
vlj
a4405ed6a0
Fix orientation
2014-05-24 02:56:28 +02:00
Marianne Gagnon
40d62e7c6c
Fix update
2014-05-23 20:51:02 -04:00
vlj
c6f4c8e0aa
Dirty fix for null track
2014-05-24 02:38:07 +02:00
hiker
ab70c55d02
Fixed infinite recursion.
2014-05-24 10:31:20 +10:00
hiker
05e6414cb8
Try to fix travisci compilation.
2014-05-24 10:24:37 +10:00
vlj
b461e4ba11
Merge branch 'NewRTTWidget' of https://github.com/supertuxkart/stk-code into NewRTTWidget
2014-05-24 02:23:51 +02:00
vlj
0acc7d18d0
Fill Matrix data before rendering Scene
2014-05-24 02:23:48 +02:00
hiker
e879dcf0a8
Merge remote-tracking branch 'origin/master' into new_login
2014-05-24 10:06:50 +10:00
hiker
3739e7515d
Support old configs (i.e. if icons don't exist, they will be
...
created at startup).
2014-05-24 10:05:54 +10:00
Marianne Gagnon
b1f34a09e7
One step forward
2014-05-23 19:56:24 -04:00
Marianne Gagnon
8417fd3394
A couple improvements to new RTT widget. Still does not work
2014-05-23 19:50:13 -04:00
konstin
aab6a1fcb6
adding sliders to dialogue
2014-05-23 22:55:25 +02:00
vlj
a1465b9039
Factorize draw code for pass1 shaders
2014-05-23 17:04:38 +02:00
vlj
9929678ba4
Fix a regression introduced by skybox fix
2014-05-23 16:55:55 +02:00
hiker
11d80d47ad
Added support for player icons.
2014-05-23 22:43:19 +10:00
sachith500
867f1607dd
Action triggers addressable by name, scripts can enable/disable action triggers
2014-05-23 14:39:03 +05:30
sachith500
cfef3e5456
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine
2014-05-23 08:54:38 +05:30
Deve
da41a06ae4
Add fallback for such exotic window managers as "larswm" which don't support netwm.
...
It's because Cand complains :)
2014-05-22 18:39:28 +02:00
sachith500
3c67a6159f
Moved scripts to stk-code/data/scripts and provided access to them via file_manager
2014-05-22 18:17:30 +05:30
sachith500
4578ddc073
Added animation enabling and reactivation
2014-05-22 12:39:46 +05:30
hiker
911faa0676
Fix #1339 .
2014-05-22 16:06:32 +10:00
sachith500
5056f2cc7e
Merge branch 'master' of https://github.com/supertuxkart/stk-code into newchanges
2014-05-22 11:35:21 +05:30
Marianne Gagnon
60fead1eea
Progress on new RTT widget, now I see a white rectangle
2014-05-21 20:13:36 -04:00
vlj
bca5beeaa7
Add a draw2dImage function to display glsl rtt
2014-05-22 01:29:40 +02:00
hiker
de8c6ac8b8
When a player logs in with an online account, reset any other saved
...
session for this online account (since these token are now invalid).
2014-05-22 08:21:41 +10:00
hiker
f4688fa621
Added support to change the online account for the same player.
2014-05-22 08:12:55 +10:00
hiker
c551ea0c14
Added online name of the player to be logged in/out to the sign in/out
...
message.
2014-05-22 07:45:19 +10:00
hiker
498c6b46db
Removed m_save_session, some code cleanup.
2014-05-22 07:44:26 +10:00
samuncle
d5f781433d
Adding a new particle system for falling leaves
2014-05-21 23:23:08 +02:00
sachith500
e96cf33cf5
Cleaned up a bit
2014-05-21 19:59:56 +05:30
sachith500
1db3d7bfd2
Deleted unused files
2014-05-21 19:59:41 +05:30
vlj
0b091e3095
Reset viewport size in model_view_widget
2014-05-21 14:30:10 +02:00
clbr
a52ad1318c
Merge pull request #1338 from amtkhdkr/mybranch
...
Email Validation
2014-05-21 13:53:36 +03:00
amtkhdkr
9c7f2d4de9
Whitespace cleanup
2014-05-21 16:18:56 +05:30
amtkhdkr
b7ab039cc6
Whitespace cleanup
2014-05-21 16:16:24 +05:30
amtkhdkr
efdaac1040
Use core::stringw functions
2014-05-21 16:14:44 +05:30
amtkhdkr
3577660f84
Rolling back changes,no need to edit here
2014-05-21 13:11:52 +05:30
amtkhdkr
397c2e4a33
Tested changes for wchar
2014-05-21 13:04:44 +05:30
Sachith Hasaranga Seneviratne
3023a12f2b
Scripting Engine built and tested with merges from latest master
2014-05-21 12:51:21 +05:30
amtkhdkr
091ff10039
Spaces removed
2014-05-21 12:05:27 +05:30
amtkhdkr
50119a493c
Checked for valid email id.
2014-05-21 11:57:56 +05:30
amtkhdkr
cd573d8446
Checked for valid email id.
...
Email id is checked for (z)(z)*@(z).(z)
where z is an alphanumeric character.
Following emails are valid: abc@xyz.com a@abc.com
d@ddyC00l@abc.com foo@ab.com
Following are invalid: abc foo@ @foo.com @.com .com@
2014-05-21 11:41:32 +05:30
samuncle
bffc615a49
Tweak the scattering value to reduce the effect
2014-05-21 02:36:48 +02:00
Marianne Gagnon
8b8a17de21
Improve material compat fallback + update one handwritten materials XML
2014-05-20 20:04:21 -04:00
Marianne Gagnon
441d941c41
First attempts at new RTT widget, does not work yet
2014-05-20 19:55:28 -04:00
hiker
1472e69c66
Merge remote-tracking branch 'origin/master' into new_login
2014-05-20 22:17:03 +10:00
hiker
8441dbbd32
Fixed saving login credentials. It's now possible to switch
...
user (and automatically a logout and login is triggered).
2014-05-20 22:13:26 +10:00
Marianne Gagnon
106c23a09b
Merge remote-tracking branch 'origin/master' into MaterialsRefactor
2014-05-19 20:48:08 -04:00
vlj
b87f420496
Spheremap: fix low brightness
2014-05-20 02:46:50 +02:00
Marianne Gagnon
f778f68649
Merge remote-tracking branch 'origin/master' into MaterialsRefactor
2014-05-19 20:37:44 -04:00
vlj
c79d96df69
Add lightviz to instanced node
2014-05-20 02:35:50 +02:00
vlj
c88d66a862
Add lightviz to spheremap
2014-05-20 02:35:49 +02:00
Marianne Gagnon
778649f182
More material work
2014-05-19 20:01:51 -04:00
Marianne Gagnon
6410cf8776
Start refactoring materials
2014-05-19 19:30:44 -04:00
vlj
3f1c85a897
Merge pull request #1336 from supertuxkart/shader-fix
...
Fix shader problems when UBO is disabled.
2014-05-20 00:19:02 +02:00
konstin
4339b96489
Merge branch 'master' of https://github.com/supertuxkart/stk-code into devel
2014-05-19 19:53:31 +02:00
Stephen Just
493b7b7c69
Fix whitespace in glwrap.cpp
2014-05-19 10:02:35 -06:00
Stephen Just
0167e6d95a
Fix up whitespace in shaders.cpp
2014-05-19 09:59:13 -06:00
Stephen Just
f4992b80fc
Fix errors when compiling shaders with UBOs disabled
2014-05-19 09:57:31 -06:00
konstin
520fce6185
change the scaling of the objects in GPInfoDialog to be able to free space for randomGPInfoDialog
2014-05-19 16:33:29 +02:00
hiker
ebcce3da32
Avoid freeing potentially uninitialised variable.
2014-05-19 13:58:37 +10:00
Sachith Hasaranga Seneviratne
888c514dc7
Fixed Typo
2014-05-19 09:00:48 +05:30
Sachith Hasaranga Seneviratne
27de7c6f3c
MERGE STK into scripting branch
2014-05-19 08:27:15 +05:30
hiker
9ae67f5c7a
Merge remote-tracking branch 'origin/master' into new_login
2014-05-19 12:36:17 +10:00
vlj
84235b6491
Fix attempt for intel mesa
2014-05-19 00:25:25 +02:00
vlj
42db6d2bba
Forget another change
2014-05-19 00:13:17 +02:00
vlj
6b8df482df
Forget a hunk
2014-05-19 00:06:38 +02:00
vlj
df70681574
Fix attempt for linux
2014-05-19 00:05:52 +02:00
vlj
33f19e55b8
Fix for shadows.
2014-05-18 23:47:52 +02:00
vlj
31487814fe
Fix compile
2014-05-18 23:28:39 +02:00
Vincent Lejeune
0ccac4c552
Forget to remove some unused shaders.
2014-05-18 19:59:03 +02:00
Vincent Lejeune
eca3999d52
Do some cleaning
2014-05-18 19:56:25 +02:00
Vincent Lejeune
bf71c2f71d
Factorize code drawing shadows.
2014-05-18 19:45:52 +02:00
Vincent Lejeune
838b44fc00
Remove Cautics effect
...
It's not used anywhere and I have no way to test it so it's useless.
2014-05-18 19:28:53 +02:00
konstin
fd4df66878
Merge branch 'master' of https://github.com/supertuxkart/stk-code into devel
2014-05-18 15:28:20 +02:00
konstin
0fdfe16a93
first try for a Random GP generator
2014-05-18 15:27:57 +02:00
hiker
2d4f2c5b28
Try to fix one more potential linux compilation problem.
2014-05-18 22:32:58 +10:00
hiker
c1194600c3
Try to fix my fix for linux compilation ;)
2014-05-18 22:09:04 +10:00
hiker
c9c3b289be
Try to fix linux compilations problems (apparently on some systems
...
Screen is defined, which then interferes with out Screen class).
2014-05-18 22:00:28 +10:00
konstin
359c846df4
Merge branch 'master' of https://github.com/supertuxkart/stk-code into devel
2014-05-18 11:54:46 +02:00
Marianne Gagnon
f0e3ee8832
Fix kart shadow vs kart animation (for the main player only)
2014-05-17 21:57:06 -04:00
vlj
32b2359f21
Spheremap: Flip y and add light.
2014-05-18 03:39:53 +02:00
vlj
30f35cadde
Fix texture sampled by spheremap
2014-05-18 03:28:57 +02:00
vlj
a2e1724389
Use correct mapping for spheremap
2014-05-18 03:19:18 +02:00
vlj
dc7e6cb99f
Revert to spheremapped reflection
2014-05-18 03:01:24 +02:00
Marianne Gagnon
b91484a2ef
try to fix linux compilation
2014-05-17 19:29:59 -04:00
konstin
b9bf1e678a
Merge branch 'master' of https://github.com/supertuxkart/stk-code into devel
2014-05-17 22:12:30 +02:00
vlj
7fcd7a3301
Add a fake skybox where no skybox is available
...
For spheremap shaders
2014-05-17 17:26:51 +02:00
konstin
b3247ef215
Merge branch 'master' of https://github.com/supertuxkart/stk-code into devel
2014-05-17 17:14:29 +02:00
vlj
8673d36885
Merge branch 'fboencapsulate'
2014-05-17 17:05:31 +02:00
vlj
af34fa54e7
Fix displace effect.
2014-05-17 17:03:50 +02:00
Deve
b1395a8fe0
Install assets in data directory
2014-05-17 16:28:05 +02:00
Deve
4331a5c0a3
Few more checks for assets
2014-05-17 14:37:55 +02:00
hiker
4aa1fde07d
Don't show password field if player has a saved session.
...
If player changes online username, make password field visible again
and clear saved session data. In case of login problem, clear
saved session data.
2014-05-17 12:40:14 +10:00
hiker
40564534d2
Fixed callbacks in case of using the tabbed version of the UserScreen.
2014-05-17 12:17:19 +10:00
hiker
6f4579d55d
Only auto-login player if last time they played they were online.
2014-05-17 12:05:49 +10:00
hiker
1946df97be
Fixed start with no players (including aborting the create user screen),
...
added 'lastWasOnline' flag to enable saving of a login token even
when the account is used offline in between.
2014-05-17 11:43:05 +10:00
hiker
cf297c67b4
Fixed heading.
2014-05-17 11:40:16 +10:00
vlj
9c98012e09
Fix dof and transparent fog.
2014-05-17 03:09:21 +02:00
vlj
883b39591f
Width and height are passed by UBO
2014-05-17 02:39:55 +02:00
vlj
c465900ee3
Use rtt with fitting size.
2014-05-17 02:05:31 +02:00
Marianne Gagnon
4ff8b813fa
Create RTTs only when loading a track
2014-05-16 19:30:39 -04:00
vlj
12ecd4e58e
Attempt to fix travis ci
2014-05-17 00:56:16 +02:00
Vincent Lejeune
fef87b4853
Reenable splitscreen
2014-05-16 19:37:16 +02:00
Vincent Lejeune
a8a97d28ce
Move final blit to render.cpp
2014-05-16 19:28:15 +02:00
hiker
b38a31f303
Simplified handling of current player: instead of storing a flag
...
in each player, PlayerManager now just uses its m_current_player
to write this information in the players.xml file.
2014-05-16 15:39:33 +10:00
hiker
63b270283d
Merge remote-tracking branch 'origin/master' into new_login
2014-05-16 14:34:09 +10:00
hiker
c4ed2fbc7c
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-05-16 14:29:06 +10:00
hiker
fd0b017b5f
Fixed compiler warnings (m_ssao is bool, not int).
2014-05-16 14:28:12 +10:00
hiker
71603816fa
Merge remote-tracking branch 'origin/master' into new_login
2014-05-16 14:21:13 +10:00
Marianne Gagnon
b049acb81d
Make STKMeshSceneNode destructor virtual, as it should
2014-05-15 21:17:01 -04:00
hiker
94457e7a53
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-05-16 09:56:19 +10:00
hiker
7544850012
Merge branch 'solistice-properties'
2014-05-16 09:55:50 +10:00
hiker
636f34160a
Finished using Log:: instead of printf, removed separate 'profile'
...
level, instead use 'profile' as component.
2014-05-16 09:54:32 +10:00
Marianne Gagnon
2b7dc07cda
Fix crash-on-second-load bug
2014-05-15 19:41:44 -04:00
hiker
629ecc8ecb
Removed old player management screen.
2014-05-16 08:50:10 +10:00
vlj
ecca6911d1
Encapsulate fbos in a class
2014-05-16 00:37:26 +02:00
hiker
1102702f5b
Removed saving of all online ids in players.xml file.
2014-05-16 08:31:58 +10:00
hiker
6650827784
Fixed various bugs in menu not showing up.
2014-05-16 08:24:15 +10:00
konstin
1e1633b88f
Merge branch 'master' of https://github.com/supertuxkart/stk-code into devel
2014-05-15 21:49:46 +02:00
Bart Cools
61d9b7a0ea
Output of logging profile tests changed to the stdout.log instead of standard output. type of output also changed to space separated values instead of tsv
2014-05-15 18:30:16 +02:00
hiker
0459c33f66
Added a tabbed version of the user screen, and integrated it into
...
the option menu of STK.
2014-05-15 22:59:21 +10:00
hiker
f4a5949198
Fixed invalid memory read (thanks to valgrind).
2014-05-15 15:37:23 +10:00
hiker
cc03578056
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-05-15 12:41:35 +10:00
hiker
a3c01a6b2a
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-05-15 11:17:36 +10:00
hiker
d3f6aa5e52
Fixed some memory problems reported by valgrind.
2014-05-15 11:17:05 +10:00
Marianne Gagnon
78d8199de8
disable crash reporter in debug mode
2014-05-14 20:10:23 -04:00
Marianne Gagnon
aae7d01e57
Try to make the custom GUI settings popup work on any resolution
2014-05-14 19:29:39 -04:00
hiker
717a989bf8
Fixed --profile-laps command line parameter.
2014-05-15 09:08:18 +10:00
hiker
137b5033dd
Merge remote-tracking branch 'origin/master' into new_login
...
Conflicts:
src/karts/controller/skidding_ai.cpp
2014-05-15 08:58:29 +10:00
hiker
4f14ddb944
Fixed crash when local user name is empty.
2014-05-15 08:57:02 +10:00
hiker
71d4e380b3
Disabled guest account.
2014-05-15 08:56:46 +10:00
hiker
5966cefed9
Merge pull request #1325 from solistice/properties
...
small patch for --no-graphics mode and small bug fix
2014-05-15 08:42:31 +10:00
konstin
53a432ea70
making the dialog work with a predefined GP
2014-05-14 21:41:12 +02:00
konstin
3f5c2138c3
Start Using InitAfterDrawingTheHeader
2014-05-14 21:13:08 +02:00
konstin
556e537ce5
Adding RandomGPInfoDialog-class with few content
2014-05-14 21:05:48 +02:00
konstin
e981489f06
moving part of the constructor to a method for a new derived class
2014-05-14 20:44:15 +02:00
konstin
9d2a075289
reverting malicious change
2014-05-14 20:05:29 +02:00
konstin
1e91b9813f
Merge branch 'devel' of https://github.com/konstin/stk-code into devel
2014-05-14 20:03:33 +02:00
konstin
84d1d8e511
moving picture 20px to the left
2014-05-14 20:03:13 +02:00
konstin
42f39db170
removing old comment and moving the picture 10px to the left
2014-05-14 20:01:12 +02:00
konstin
d997780cd7
moving the definition of the size of a GPInfoDialog to it's header
2014-05-14 19:57:13 +02:00
Bart Cools
f521ba0242
fix issue #1328
2014-05-14 17:57:22 +02:00
Bart Cools
6a6ba94a16
added check for --no-graphics argument
2014-05-14 17:37:28 +02:00
Bart Cools
1fdeaf375a
Merge branch 'master' of https://github.com/supertuxkart/stk-code into properties
2014-05-14 14:19:08 +02:00
Bart Cools
585b79f555
small patch for --no-graphics mode
2014-05-14 14:06:09 +02:00
hiker
ce52bf90e4
Merge branch 'new_login' of github.com:supertuxkart/stk-code into new_login
2014-05-14 14:10:10 +10:00
hiker
d9daf928e5
Merge remote branch 'origin/master' into new_login
2014-05-14 14:06:06 +10:00
vlj
229b461a6c
SSAO: Less abrupt transition
2014-05-14 03:26:43 +02:00
vlj
1d4bcd5ade
SSAO: Increase beta constant to avoid error
2014-05-14 02:27:17 +02:00
vlj
86c8b9f83d
Some tweaking to make ssao more apparent
2014-05-14 02:12:18 +02:00
Marianne Gagnon
474bbb4373
Try to convert icon rendering to new helper function (for GL3 support)
2014-05-13 20:00:16 -04:00
vlj
dd81f02fea
Fix for #1324
2014-05-14 01:51:40 +02:00
Marianne Gagnon
9410a0fd90
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-05-13 19:39:42 -04:00
Marianne Gagnon
03ad82267a
Fix OSX 10.7 compilation
2014-05-13 19:39:19 -04:00
vlj
0ccac5d316
Replace texture2D by texture in dof.frag
2014-05-14 00:59:51 +02:00
vlj
1073335f4d
Fix sun light
2014-05-14 00:50:25 +02:00
vlj
5fd41a2f2c
Light: Import distance properly.
...
Also remove some silly default param for addlight that could make
argument passing not obvious.
2014-05-14 00:32:36 +02:00
hiker
09e8a39938
More testing.
2014-05-14 07:56:45 +10:00
konstin
d6e9358fd5
Merge branch 'master' of https://github.com/supertuxkart/stk-code into devel
2014-05-13 20:05:27 +02:00
Vincent Lejeune
59484ea09a
DS buffer is not linear and cant be mipmapped
...
Use the method provided by SAO paper (ie convert to linear and then
mipmap)
2014-05-13 19:40:30 +02:00
hiker
844886075b
Fixed format for TODO file.
2014-05-13 22:52:14 +10:00
hiker
352393856c
Test commit.
2014-05-13 22:51:12 +10:00
hiker
c1575266ac
Merge remote-tracking branch 'upstream/master'
2014-05-13 22:47:07 +10:00
Vincent Lejeune
20959f970a
Avoid displacement related fbo bind in non advanced pipeline
2014-05-13 01:12:43 +02:00
Marianne Gagnon
bcc46b149e
Remove call to createMeshWelded, now handled in B3D exporter
2014-05-12 19:03:40 -04:00
vlj
26d48cdad0
SSAO: Stronger blur + tweak param
...
Use another algorithm to have gaussian blur that lets us customise
radius more easily.
2014-05-12 23:59:17 +02:00
vlj
bba9e3ca2c
Add a 17 tap blur filter
...
and use it for SSAO
2014-05-12 20:49:47 +02:00
vlj
967d7a0316
Use mipmap nearest
2014-05-12 20:16:37 +02:00
vlj
8e17ae90b6
Resolution independent ssao
2014-05-12 20:13:12 +02:00
Deve
0b463f5222
Allow to run xrandr instead of vidmode as an option
2014-05-12 20:08:15 +02:00
konstin
d6b75dc2ea
Merge branch 'master' of https://github.com/supertuxkart/stk-code into devel
2014-05-12 19:45:43 +02:00
Vincent Lejeune
96babc81ad
Reenable custom light radius
2014-05-12 19:37:00 +02:00
Deve
e8b4926b0b
Fixed #1313 .
...
In some cases STK was barely playable because of very low refresh rates (25-30Hz).
This may be caused by last changes in display drivers. I remember that previously refresh rates for resolution were in order from the lowest to the greatest. Now I see it in reversed order.
Irrlicht didn't check refresh rates and always set the last available for specified resolution.
Now we use the highest available refresh rate.
Perhaps we should use xrandr library instead of vidmode. It should be much smarter and maybe would solve some multimonitor issues.
2014-05-12 18:43:36 +02:00
vlj
23ba597a1c
SSAO: Use int rounding
2014-05-12 18:39:33 +02:00
konstin
6f9ae6e510
get back into working state
2014-05-12 14:59:09 +02:00
konstin
a52656e52a
Merge branch 'master' of https://github.com/supertuxkart/stk-code into random-gp
2014-05-12 14:17:15 +02:00
vlj
229b72f84a
Render SSAO at fullscreen resolution.
2014-05-12 01:06:33 +02:00
vlj
384c9f2c77
Merge branch 'SAO'
2014-05-12 00:35:08 +02:00
vlj
4fcec02123
Remove ssao depth guard.
2014-05-12 00:34:44 +02:00
vlj
7e1625da5e
Tweak SSAO params.
2014-05-12 00:30:36 +02:00
vlj
f8544493b6
Improve SSAO perf
2014-05-12 00:14:50 +02:00
vlj
11b7d20ad8
Use the mipmap trick to speed up ssao.
2014-05-12 00:03:42 +02:00
Vincent Lejeune
41e02e0880
Allow depth test on debug physic view
2014-05-11 18:20:30 +02:00
Vincent Lejeune
567974aeed
Use dFdX/dFdY to compute normals in SSAO.
2014-05-11 18:09:48 +02:00
konstin
82a36fe7de
Finally just commenting it out (easier to manage)
2014-05-11 18:09:41 +02:00
konstin
2a01df93d2
removing duplicate code
2014-05-11 18:04:28 +02:00
Vincent Lejeune
e5410e23a2
Use Alchemy SSAO
2014-05-11 18:00:30 +02:00
konstin
eabd10127f
move check for a valid number of tracks in a GP to GrandPrixData
2014-05-11 17:52:56 +02:00
konstin
57db9cf858
obvious stuff
2014-05-11 17:47:09 +02:00
konstin
3a8bba6cad
remove unnecessary in tracks_screen.cpp
2014-05-11 17:42:50 +02:00
konstin
bfc68472fb
remove unnecessary assertions
2014-05-11 17:30:22 +02:00
konstin
e48834627b
Merge branch 'master' of https://github.com/supertuxkart/stk-code into random-gp
2014-05-11 17:16:21 +02:00
samuncle
518a5fd8ef
Fix pre-c++2011 + improved waterfall effect
2014-05-11 02:58:23 +02:00
Marianne Gagnon
00ea15b7bb
Yet another fix to pre-c++2011 compilation..... (not trying to raise my commit count, I swear!!)
2014-05-10 20:53:51 -04:00
Marianne Gagnon
7808fc8a09
Yet another fix to pre-c++2011 compilation.....
2014-05-10 20:50:18 -04:00
Marianne Gagnon
522ad01a27
More to fix pre-c++2011 build
2014-05-10 20:46:56 -04:00
Marianne Gagnon
c0a7c76886
Fix pre-c++2011 build, hopefully
2014-05-10 20:43:43 -04:00
Marianne Gagnon
fbd33420c2
cull by distance, to improve performance
2014-05-10 20:38:10 -04:00
Vincent Lejeune
e16c6af04a
Forget a sizeof(float).
2014-05-11 02:24:17 +02:00
Vincent Lejeune
325ec8e754
Fix wrong buffer size and factorize state changes.
2014-05-11 02:13:04 +02:00
Vincent Lejeune
b286069108
Use batched draw call to draw lines.
2014-05-11 01:59:59 +02:00
Marianne Gagnon
4e9f199008
Save raw floats and not vectors
2014-05-10 19:50:24 -04:00
Marianne Gagnon
bdabbedf28
fix silly mistake in previous commit
2014-05-10 19:31:30 -04:00
Marianne Gagnon
486d5c291f
Batch physics debug rendering
2014-05-10 19:26:14 -04:00
Vincent Lejeune
46a832a67f
Reenable physic debug mode
2014-05-11 00:52:19 +02:00
Vincent Lejeune
648d076e00
Premultiply alpha for particles too.
2014-05-10 20:58:43 +02:00
Vincent Lejeune
6936f30b36
Premultiply alpha for billboards.
2014-05-10 20:49:30 +02:00
Vincent Lejeune
6bf67523b9
Prettier gpu timing label.
2014-05-10 20:16:27 +02:00
Vincent Lejeune
5d3b6bba4d
Avoid shadow disappearance
2014-05-10 20:00:52 +02:00
Vincent Lejeune
a3f1e4bad1
Explicitly use S3TC texture compression.
2014-05-10 02:52:58 +02:00
Vincent Lejeune
f7aa586eb2
Check if compression was successful before caching
...
Fix a crash on radeon.
2014-05-10 02:41:45 +02:00
Vincent Lejeune
b72c1ad0c5
Fix for disappearing objects.
2014-05-10 02:28:02 +02:00
vlj
af67c8c3b8
Merge pull request #1309 from gupascal/hd-textures-option
...
A "Use High definition textures" option
2014-05-10 01:37:23 +02:00
vlj
07f68db6c3
Fix wrong mouse poisition report.
...
m_mouse_pos was always (0, -1) in some case, which makes profiling hard.
2014-05-09 19:55:06 +02:00
vlj
cd6e7f3d90
Fix an assert.
2014-05-09 19:32:52 +02:00
vlj
b4e9a00574
Fix profiler
2014-05-09 18:54:06 +02:00
vlj
5b511fedd8
Lights: Culling was not using correct cam position
2014-05-09 18:46:07 +02:00
vlj
bc2c355cd8
Shadows: Emit an error instead of sending wrong corners.
2014-05-09 18:41:24 +02:00
vlj
c5e31c96b1
Simplify mesh temporary.
...
Until we move this code to the exporter.
2014-05-09 15:11:18 +02:00
vlj
94c65434df
Add some more perfs counter to post process
2014-05-09 15:07:07 +02:00
vlj
59f586c5ee
Add some more gpu timer.
2014-05-09 14:54:42 +02:00
vlj
3e6ab6d7b6
Factorize SSAO in its own code.
2014-05-09 14:44:53 +02:00
Marianne Gagnon
d78482ac67
Better react to small screens
2014-05-08 20:50:34 -04:00
Marianne Gagnon
9ab068a72d
Remove accidentally committed file
2014-05-08 20:40:39 -04:00
konstin
eae8183bf5
readding random gp displaying
2014-05-08 22:44:42 +02:00
konstin
73acf5e0ef
Removing Random GP for pull request
2014-05-08 22:36:37 +02:00
konstin
5ea5de69cf
preparing tracks_screen by adding a randon GP icon
2014-05-08 20:57:19 +02:00
konstin
58950f6b94
Merge branch 'master' of https://github.com/supertuxkart/stk-code into random-gp
2014-05-08 20:43:49 +02:00
Guillaume P
32b6f42ef4
Fix Travis CI build.
2014-05-08 20:40:22 +02:00
Guillaume P
326c707458
Clear the reminder of the origin file name of textures in Track::cleanup().
2014-05-08 20:20:35 +02:00
Guillaume P
deb74f4a00
Merge remote-tracking branch 'remotes/upstrem/master' into hd-textures-option
...
Conflicts:
src/graphics/glwrap.cpp
2014-05-08 18:40:14 +02:00
Guillaume P
af91b8b4ae
Extend caching abilities to compressed textures. Also, improve the structure of cache directories to fit new needs.
2014-05-08 18:04:22 +02:00
hiker
8d4b33f221
Removed tabs, and use a separate screen instead. Some more refactoring
...
to make remember-me a global setting.
2014-05-08 22:17:15 +10:00
Stephen Just
1070fd7395
Fix segfault on Linux/Mesa
...
For some reason, glGetString(GL_EXTENSIONS) is failing. This will need more investigation
2014-05-07 23:19:39 -06:00
hiker
15f43a0537
Merge branch 'master' into new_login
2014-05-08 13:35:40 +10:00
Vincent Lejeune
5f6829b071
Simplify some code and have a function that render a scene from a cam pov
2014-05-08 03:14:00 +02:00
Vincent Lejeune
1746835cae
Factorize godray visibility test in its own function.
2014-05-08 02:14:31 +02:00
Vincent Lejeune
8a64d411d9
Remove debug arount scoped timer.
2014-05-08 02:07:03 +02:00
Marianne Gagnon
e1a5f8254b
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-05-07 19:35:35 -04:00
Marianne Gagnon
c8638ec968
Add basic support to display GPU markers in the profiler
2014-05-07 19:35:31 -04:00
Vincent Lejeune
4c9e2afe31
Cast some char to unsigned char
2014-05-08 01:25:37 +02:00
Vincent Lejeune
a73f03a2c4
Make use of gl_amd_vertex_shader_layer when available
2014-05-08 01:16:02 +02:00
vlj
cc368103b0
Remove an extra EndQuery
2014-05-08 00:03:21 +02:00
vlj
fd7399d983
Use instancing to expand shadows instead of GS
2014-05-07 23:57:07 +02:00
hiker
6fb9832fc2
Added box around screen, hide 'guest' if no online login is requested.
2014-05-07 17:10:02 +10:00
hiker
6c9fbb8dec
Fixed hanging dialog if no password was entered.
2014-05-07 16:55:26 +10:00
hiker
1eed1272ad
If a player is already selected when entering the UserScreen,
...
display the name of the player instead of 'login'.
2014-05-07 16:47:08 +10:00
hiker
83c29b0778
Instead of individual 'remember-me' settings, use one global setting.
2014-05-07 16:39:09 +10:00
hiker
d4b263761e
Fix #1231 - stk-code/data not found on windows (secondary report).
2014-05-07 13:23:22 +10:00
hiker
6fab5e89fd
Merge remote branch 'origin/master' into new_login
2014-05-07 13:04:35 +10:00
hiker
0be01a5977
Added rename functionality.
2014-05-07 08:00:03 +10:00
konstin
a22b407568
removing git blame output file in src
2014-05-06 19:46:20 +02:00
vlj
8e21810282
Encapsulate GPUTimer calls
2014-05-06 17:50:29 +02:00
hiker
737c8a9983
Added 'delete player' functionality.
2014-05-06 16:52:36 +10:00
hiker
bb18d65ccd
Select the current player by default.
2014-05-06 11:39:55 +10:00
hiker
bef811e098
Fixed login problems (e.g. only online log in worked), improved handling
...
of error message, removed need for m_login_successful.
2014-05-06 08:21:53 +10:00
Stephen Just
efb85943d1
Fix for #1297 . DoF shader compiles in mesa now. The other problem noted
...
in the issue was just texture compression + intel.
2014-05-05 07:59:20 -06:00
hiker
d847e8de00
Renamed StoryModeLobby to UserScreen.
2014-05-05 21:17:46 +10:00
hiker
6010831654
Removed original login screen, made the new login screen a tab.
...
Removed guest tab (and started to use a checkbox for that for now).
Work in progress.
2014-05-05 20:46:48 +10:00
Vincent Lejeune
65e4177f5c
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-05-05 01:47:00 +02:00
Vincent Lejeune
d316263660
Tweak light extent again to improve perf
2014-05-05 01:46:57 +02:00
hiker
00cf9a3dbe
Merge remote branch 'origin/master' into new_login
2014-05-05 09:20:37 +10:00
hiker
fc3213a47d
Fixed linux compilation.
2014-05-05 09:17:19 +10:00
hiker
5ff9d7f198
Block new StoryModeLobbyScreen while login is in progress (and display ...
...
while this is happening). This allows to show error messages (e.g. user can
re-enter the password if login failed, without having to go to another menu
or perhaps even missing the fact that they are not logged in).
2014-05-05 08:59:27 +10:00
Marianne Gagnon
654651215a
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-05-04 18:54:46 -04:00
Marianne Gagnon
5acb763ac8
Work on cutscenes
2014-05-04 18:54:37 -04:00
Vincent Lejeune
849467d281
Unload texture transformation state cache.
2014-05-04 20:25:16 +02:00
Vincent Lejeune
d6d7c6179c
Simplify pointlight.vert
2014-05-04 19:46:21 +02:00
Vincent Lejeune
94ae8fb21e
Use a more tighly fitting quad for pointlights.
2014-05-04 19:21:09 +02:00
Marianne Gagnon
30929ef0a7
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-05-03 20:22:26 -04:00
Marianne Gagnon
ceb8265203
Merge branch 'NewGPCutscene'
2014-05-03 20:22:07 -04:00
Marianne Gagnon
bee4dcf36c
Work on new GPWin screen. Seems to work well now
2014-05-03 20:21:34 -04:00
Marianne Gagnon
6b3d1a4770
More work on porting GP win scene
2014-05-03 19:42:38 -04:00
Marianne Gagnon
dc5d7f707d
Work on GP end cutscene
2014-05-03 19:19:00 -04:00
vlj
35df307c3f
Tweak light extend.
2014-05-03 23:44:27 +02:00
vlj
5e62347d11
Fix attempt for #1308
2014-05-03 17:36:27 +02:00
Guillaume P
ab824f0ac3
Remove the use of cbegin and cend. (c++11 features)
2014-05-03 14:39:09 +02:00
Guillaume P
a863757365
Merge remote-tracking branch 'remotes/upstrem/master' into hd-textures-option
...
Conflicts:
data/gui/custom_video_settings.stkgui
src/states_screens/dialogs/custom_video_settings.cpp
2014-05-03 10:32:47 +02:00
Guillaume P
b4b2e44a08
Regenerate a cached texture when the original is newer.
2014-05-03 10:15:16 +02:00
Guillaume P
de5375ab9f
Add subdirectories in the cache directory to organize textures of each track.
2014-05-03 09:35:51 +02:00
Marianne Gagnon
423a833bb8
Add DOF checkbox to the graphics options
2014-05-02 19:02:58 -04:00
Marianne Gagnon
1b7c9ee1e2
Initial work to port GP win/lose cutscenes to new system
2014-05-02 18:47:43 -04:00
Vincent Lejeune
2d34bd0f47
Do not built grass shadow shader
2014-05-02 23:47:24 +02:00
Vincent Lejeune
b22066d0ab
Implement GL_ELAPSED_TIME query
...
This allows to measure gpu execution time very accurately.
2014-05-02 23:47:12 +02:00
Guillaume P
14508bc2ac
Merge remote-tracking branch 'remotes/upstrem/master' into hd-textures-option
2014-05-02 19:18:58 +02:00
Guillaume P
7a3ba812d7
Use smaller textures when HD textures option is disabled. Generate them if they are not already in the cache directory.
2014-05-02 19:16:54 +02:00
vlj
2a1623d8ca
Use a more efficient screen to view conversion
...
Also use the opportunity to use UBO where possible.
2014-05-02 18:11:34 +02:00
vlj
2f1578ba32
Potential fix for #1305
2014-05-02 13:54:23 +02:00
vlj
401471fc18
Allow to toggle dof off
2014-05-02 13:44:10 +02:00
Marianne Gagnon
3ce6dde466
try increasing light count
2014-04-30 19:43:27 -04:00
hiker
d7219f3a2d
Added 'ok' button to 'new player' dialog. I can't seem to get them next
...
to each other, so for now they are just on top of each other.
2014-04-30 16:57:22 +10:00
hiker
bb737d0448
Added error sfx.
2014-04-30 16:57:04 +10:00
hiker
af9fb24d2e
Handle disabled internet (and provide a message to the user if he
...
tries to login with internet disabled).
2014-04-30 16:37:05 +10:00
hiker
a52b92083e
Fixed typo.
2014-04-30 12:25:34 +10:00
hiker
5c7d29830d
Fixed compiler warning.
2014-04-30 12:23:54 +10:00
hiker
3b8d988cd2
Fixed compiler warnings.
2014-04-30 11:34:53 +10:00
hiker
5124ba2bed
Merge remote-tracking branch 'origin/master' into new_login
2014-04-30 11:28:13 +10:00
konstin
b0169d2896
small corrections in grand_prix_data.cpp
2014-04-30 10:55:38 +10:00
konstin
367acd7738
Almost rewrite of GrandPrixData::reload()
2014-04-30 10:54:42 +10:00
konstin
d747b6af3f
Minor changes to the grand prix editor
2014-04-30 10:39:27 +10:00
hiker
3487f70740
Minor correction to patch from konstin.
2014-04-30 10:35:06 +10:00
konstin
ca08ee9d86
fixed identing, added comments, corrected spelling, etc.
2014-04-30 10:19:23 +10:00
Marianne Gagnon
4bddf29320
Fix bullet assertion failure
2014-04-29 19:48:54 -04:00
hiker
13024bf6ef
On first time start the player is automatically asked to create a new
...
player with a sensible default name.
2014-04-30 08:42:43 +10:00
hiker
ecef685b32
Adding new players now works.
2014-04-30 07:54:49 +10:00
Guillaume P
fac9cafa96
Create the directory where resized textures will be cached.
2014-04-29 18:57:36 +02:00
hiker
b412d0507d
Merge pull request #1303 from leyyin/master
...
Fix some bugs in the online screens
2014-04-29 16:25:18 +10:00
Marianne Gagnon
8d2b56a34a
Improve flying mode, part 2
2014-04-28 19:55:41 -04:00
Marianne Gagnon
389ec42bde
Improve flying mode
2014-04-28 19:55:30 -04:00
hiker
6f5c523e86
Fixed display of players, thanks to auria.
2014-04-29 09:46:00 +10:00
hiker
396e3bb54e
Merge remote-tracking branch 'origin/master' into new_login
2014-04-29 09:10:37 +10:00
hiker
812da3e0c0
Some work on new login screen, though wip atm.
2014-04-29 09:02:44 +10:00
Guillaume P
03fbdc260d
Add a new option for high-definition textures.
2014-04-28 18:42:23 +02:00
hiker
2f17264f39
Very eary first version of a new login screen.
2014-04-28 16:41:47 +10:00
hiker
b3291caea2
Moved 'startup now' code in separate function to make main more readable.
2014-04-28 07:51:24 +10:00
Vincent Lejeune
18aa119890
Tweak light attenuation.
...
Doesnt really change the look of the light but reduce their extent.
2014-04-27 18:31:00 +02:00
Vincent Lejeune
9ac57c3919
Tigher fit of light extent
2014-04-27 18:04:39 +02:00
Marianne Gagnon
2ee7f7a2e8
Bugfix : use ambient light from the sun when SH maps are not used
2014-04-26 20:04:16 -04:00
Daniel Butum
a769563878
Fix back button size in guest login screen
2014-04-26 14:03:14 +03:00
Daniel Butum
5ecfed293d
Fix back button in the register screen and login as guest
2014-04-26 13:42:30 +03:00
Daniel Butum
fc5da9eb9a
Fix back button in login screen and fix 'move on uninitialised value in MusicInformation'
2014-04-26 13:33:09 +03:00
vlj
a2e202a695
Missing "track->hasShadows" check
2014-04-26 02:22:33 +02:00
Marianne Gagnon
924e09b3e9
Very slight tweak
2014-04-25 20:02:16 -04:00
vlj
2ca11c3166
Auria provided tonemap coefficients
2014-04-26 02:00:50 +02:00
vlj
3e4254b3a7
Tonemap: Use J. Hable filmic operator
...
It gives better result on stk enterprise, slightly saturating blacks.
2014-04-25 17:57:10 +02:00
Marianne Gagnon
97b6db3fdc
Honor the per-track flag to disable god rays
2014-04-24 19:24:23 -04:00
vlj
c5fbd5ff84
Reenable ability to change exposure/lwhite.
2014-04-25 00:59:02 +02:00
vlj
5b8b1a8b57
Temporary comment out exposure/lwhite settings
2014-04-25 00:29:33 +02:00
Vincent Lejeune
7239154a3a
NormalMap should cast shadows too
2014-04-24 21:23:32 +02:00
Vincent Lejeune
84ddd7119e
Use glPolygonOffset to remove shadow acne
...
It's a 2002 trick from M. Kilgard
2014-04-24 21:02:24 +02:00
vlj
85e720a58f
Shadow: tweak bias to remove acnee
2014-04-24 18:33:05 +02:00
vlj
ef07b25202
Make possible to tweak exposure/lwhite in adm
2014-04-24 17:47:17 +02:00
hiker
84a1e32ade
Let cmake test if stk-assets exists in the expected place. If not,
...
cmake is aborted with an error message. The option -DCHECK_ASSETS=off
option can be used to disable this test. The latter is also used
for travis.
2014-04-24 14:22:38 +10:00
hiker
9c35da4b6c
Merge branch 'master' of https://github.com/abhishek1995/stk-code into abhishek1995-master
2014-04-24 14:01:37 +10:00
hiker
370e2e4935
Merge remote-tracking branch 'origin/master' into new_login
2014-04-24 12:26:29 +10:00
samuncle
ba3cce6046
Limit the DoF influence
2014-04-24 02:44:34 +02:00
Marianne Gagnon
3f17545541
Use hasShadows flag from Track
2014-04-23 19:19:11 -04:00
Marianne Gagnon
2e53328847
Add debug sliders for vlj
2014-04-23 19:03:23 -04:00
hiker
ea2b797bb3
Keep track of online ids used in the player.xml file.
2014-04-24 08:17:44 +10:00
hiker
d7684668db
Fixed comments.
2014-04-24 08:16:19 +10:00
vlj
b939d06be5
Properly add Depth of Field
2014-04-23 22:08:37 +02:00
vlj
22d993dfbe
Merge branch 'tonemap'
...
Conflicts:
data/shaders/tonemap.frag
2014-04-23 18:20:30 +02:00
vlj
f83eb399fd
Revert "Revert "Fix a typo in tonemap.frag""
...
This reverts commit 812b2afcd8 .
2014-04-23 18:19:46 +02:00
vlj
19d2f1f9ac
Revert "Revert "Use a less intrusive delta value""
...
This reverts commit 230076ffcb .
2014-04-23 18:19:00 +02:00
vlj
77795c796f
Revert "Revert "Enable tonemap.""
...
This reverts commit e57339841b .
2014-04-23 18:18:43 +02:00
vlj
fb56a4086f
Fix normalmap roughness
2014-04-23 18:09:48 +02:00
Vincent Lejeune
1bb4926ba2
Reorder post processes effects.
2014-04-23 18:09:48 +02:00
Vincent Lejeune
eb0c948e41
Tweak exposure/whiepoint/saturation
2014-04-23 18:09:47 +02:00
hiker
7bab6fdb82
Removed swap file added accidentally.
2014-04-23 14:39:16 +10:00
Vincent Lejeune
96c8180dfc
Remove color_in, it's been superseeded
...
Keep the shader because it will be partly used for dof.
2014-04-22 19:51:36 +02:00
Vincent Lejeune
da15aebcda
SSAO: Clamp to 0.
2014-04-22 18:22:39 +02:00
Vincent Lejeune
6f16831d00
Revert "Some color are negative, clamp them in loglum"
...
This reverts commit 43df357cfb .
2014-04-22 18:18:18 +02:00
hiker
2e3adee1a2
Merge branch 'master' of https://github.com/whichrakesh/stk-code into whichrakesh-master
...
Fix counting of bananas only for current player. Fixed conflicts.
Conflicts:
src/achievements/achievement_info.hpp
2014-04-22 17:20:40 +10:00
hiker
469ac9c433
Don't fire a cake if the target kart is invulnerable. Some cosmetic
...
changes to reduce line length, and added more comments.
2014-04-22 16:53:12 +10:00
hiker
ef341344e7
Merge branch 'skiddingAI' of https://github.com/gupascal/stk-code into gupascal-skiddingAI
2014-04-22 14:29:35 +10:00
hiker
886e7614e2
Fixed -help command line options (which was broken elsewhere before).
2014-04-22 14:24:32 +10:00
hiker
1bff514c27
Merge branch 'master' of https://github.com/leyyin/stk-code into leyyin-master
2014-04-22 14:14:49 +10:00
hiker
c8d679139f
Improved documentation.
2014-04-22 14:13:27 +10:00
Vincent Lejeune
17ba0f515c
Revert "Use some realist order of magnitude of light"
...
This reverts commit 2aa6676050 .
2014-04-22 02:32:42 +02:00
Vincent Lejeune
b0e56ca2b0
Use some diffent value/equation for tonemap
2014-04-22 02:29:22 +02:00
Marianne Gagnon
5373390fac
Load textures for ambient lights separately from skybox textures
2014-04-21 20:25:51 -04:00
Vincent Lejeune
e57339841b
Revert "Enable tonemap."
...
This reverts commit a0e63dea46 .
2014-04-22 00:44:58 +02:00
Vincent Lejeune
230076ffcb
Revert "Use a less intrusive delta value"
...
This reverts commit d7e3976ef5 .
2014-04-22 00:44:49 +02:00
Vincent Lejeune
812b2afcd8
Revert "Fix a typo in tonemap.frag"
...
This reverts commit b8d5719a82 .
2014-04-22 00:44:39 +02:00
Vincent Lejeune
d4718df127
Revert "Use some realist order of magnitude of light"
...
This reverts commit 2aa6676050 .
2014-04-22 00:44:08 +02:00
Vincent Lejeune
b8d5719a82
Fix a typo in tonemap.frag
...
Also tweak whitepoint and exposure. They should be manually set by track
somehow.
2014-04-21 22:37:26 +02:00
vlj
2aa6676050
Use some realist order of magnitude of light
2014-04-21 19:40:10 +02:00
vlj
d7e3976ef5
Use a less intrusive delta value
2014-04-21 19:39:39 +02:00
vlj
43df357cfb
Some color are negative, clamp them in loglum
...
I have yet to investigate how the pipeline can produce negative values
somewhere.
2014-04-21 19:29:13 +02:00
vlj
a0e63dea46
Enable tonemap.
2014-04-21 02:33:12 +02:00
vlj
2e1b0ac9f4
Avoid negative value when Yxy->RGB
2014-04-21 02:19:09 +02:00
vlj
8947242de4
Add proper tonemap, although disabled.
...
It currently generates way too much HDR.
2014-04-21 01:52:44 +02:00
vlj
1d40851600
Fix light shaft
2014-04-21 00:52:18 +02:00
vlj
d0afcce32d
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-04-20 02:56:10 +02:00
vlj
878a639a84
Another ssao tweak.
2014-04-20 02:56:07 +02:00
Marianne Gagnon
f0b61c98d7
No longer create an obsolete irrlicht water node. To be replaced by a better water shader
2014-04-19 20:24:43 -04:00
Marianne Gagnon
8e579d4874
Add UBOs flag to graphics options
2014-04-19 20:23:49 -04:00
vlj
e8b36f2490
Fix for shadow acne in chocolate.
2014-04-20 02:20:09 +02:00
vlj
87248b46f3
Tweak shadows CSM split.
2014-04-20 02:01:29 +02:00
vlj
fde29887f0
Fix roughness in instanced mesh.
2014-04-20 01:24:38 +02:00
Marianne Gagnon
478e904d1c
Remove debug logging
2014-04-19 19:15:38 -04:00
vlj
18b2b341e7
Dont stick to integer coordinate for CSM.
2014-04-20 00:24:37 +02:00
vlj
1291d0cc93
Increase shadow fidelity.
2014-04-20 00:21:30 +02:00
vlj
a457b9f423
Shadows: Clean shaders.
2014-04-20 00:04:49 +02:00
vlj
dd3e15b298
Debug: display cascade in shadow debug mode
2014-04-19 23:57:27 +02:00
vlj
5d3d44e400
Avoid an extra blit in bloom.
2014-04-19 23:29:42 +02:00
vlj
ce6397c5e7
Remove an leftover return.
2014-04-19 23:20:40 +02:00
vlj
c353a60443
Glow: Use blit.
2014-04-19 23:20:12 +02:00
Daniel Butum
c7e9b87e90
Fix memory leak on early exit(0) in handleCmdLinePreliminary()
2014-04-19 20:44:30 +03:00
Vincent Lejeune
d7eaaf4885
Add a m_ubo_disabled switch in user config file.
...
This should be used to workaround a bug in intel windows drivers.
2014-04-19 18:38:57 +02:00
vlj
c695875654
PointLight: Use a 1/(1 + d + k d^2) attenuation
...
This is not physically accurate, but a 1/d^2 attenuation makes light
extend too broad, and went too high if close from the source.
2014-04-19 02:04:39 +02:00
Marianne Gagnon
f6d52511ea
Merge branch 'Issue_1263'
2014-04-18 18:24:31 -04:00
Marianne Gagnon
583d65d988
Update video settings dialog
2014-04-18 18:16:27 -04:00
Vincent Lejeune
c2d9e9fc42
Directly draw on default fbo if dyn lights are disabled
2014-04-18 19:06:57 +02:00
Vincent Lejeune
9437b16c00
Dont print glGetError result, prefer DEBUG_OUTPUT
2014-04-18 18:50:13 +02:00
Vincent Lejeune
b77a20f621
Bloom: Blit fbo instead of using a shader
2014-04-18 18:45:00 +02:00
Vincent Lejeune
9b926ce713
Do not write to 2 buffers outside of renderLights()
2014-04-18 18:34:02 +02:00
Guillaume P
cca44705cb
Merge remote-tracking branch 'remotes/upstrem/master' into skiddingAI
2014-04-18 08:49:54 +02:00
Guillaume P
43441cf3cc
A kart is now considered as slow if he is slower than the current kart.
2014-04-18 08:49:18 +02:00
hiker
c9fd09725a
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-17 15:40:36 +10:00
hiker
a8bf73633f
Renamed CurrentUser to OnlinePlayerProfile.
2014-04-17 15:39:51 +10:00
hiker
f6d22922d2
Fixed linux compilation.
2014-04-17 13:18:31 +10:00
hiker
22b599d257
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-17 12:11:33 +10:00
hiker
056aa5ed6f
Refactor so that PlayerProfile provides a proper interface plus
...
function/states for local use, and CurrentUser implements the
missing functions.
2014-04-17 08:19:04 +10:00
hiker
447ca89c0a
Removed CurrentUser usage from all files except PlayerManager
...
and PlayerProfile.
2014-04-16 11:13:35 +10:00
samuncle
5011f49968
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-04-16 01:20:23 +02:00
samuncle
1620f87dd8
Add a new particle system
2014-04-16 01:19:03 +02:00
Vincent Lejeune
1a908b254f
Use more compatible fbo format
2014-04-15 14:48:27 +02:00
hiker
46bfbe13bf
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-15 16:26:22 +10:00
hiker
5ec71c5b06
Moved getProfile from CurrentUser to PlayerManager::getCurrentOnlineProfile().
2014-04-15 16:25:55 +10:00
Marianne Gagnon
e4afea5cca
Reduce rimlight effect to a more reasonable strenght
2014-04-14 19:56:26 -04:00
Marianne Gagnon
70cb9cec59
Update graphics options screen
2014-04-14 19:32:44 -04:00
hiker
8b05f69031
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-15 09:08:04 +10:00
hiker
3b85f601b1
Support automatic online login even if current user is not saved
...
(i.e. online login is now started after the player is selected).
2014-04-15 09:07:13 +10:00
hiker
f33a9f7cf6
Fixed #1282 : STK crash on startup for the first time.
2014-04-15 09:06:50 +10:00
Marianne Gagnon
9993e31601
First pass to update video options menu
2014-04-14 19:05:33 -04:00
Marianne Gagnon
60a3cfb3fd
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-04-14 18:32:36 -04:00
Vincent Lejeune
ea1ba4147d
Try to fix additive blend for object
2014-04-14 23:50:12 +02:00
vlj
4c85f6255b
Remove the ability to disable pixel shaders
...
It doesn't work with GL 3.1 and mesa drivers (which requires a core
context)
2014-04-14 22:11:20 +02:00
vlj
b7f6084fba
Add a config option to disable dynamic lights
2014-04-14 22:06:24 +02:00
vlj
63db2d33c0
Fix a memleak
2014-04-14 21:50:14 +02:00
vlj
b0041633ee
Handle skybox texture compression.
2014-04-14 21:48:38 +02:00
vlj
de1bbad76c
Add some more graphic config options.
2014-04-14 21:46:51 +02:00
vlj
1d84ea850b
Add an option for Tex compression
...
Also turn m_ssao into bool.
2014-04-14 21:37:50 +02:00
vlj
308c9c3b94
Fix too dark screen with MLAA enabled.
2014-04-14 03:48:35 +02:00
Vincent Lejeune
5b47891514
Apply MLAA after color_in.
2014-04-14 03:30:42 +02:00
Vincent Lejeune
ba27eb42ef
Bloom: Weight the different sized contribution.
2014-04-14 02:45:15 +02:00
Vincent Lejeune
59df5a90bc
Bloom: Tweak the threshold.
2014-04-14 02:15:28 +02:00
Vincent Lejeune
d342dd78d8
Bloom: Use power of two quads.
2014-04-14 02:15:13 +02:00
Vincent Lejeune
123a192963
Use half res FBO for SSAO
...
SSAO is a medium frequency effect, using half res fbo is fine and
improve performance and look by doing an additionnal bilinear filtering.
Also tune up some values.
2014-04-14 01:01:36 +02:00
Vincent Lejeune
4c37cadd5f
Fix crash when loading instanced node without texture.
2014-04-13 22:56:14 +02:00
auriamg
4388f230a4
Merge pull request #1286 from marcoll/master
...
Avoid the use of the new GP editor as a cheating aid
2014-04-13 15:55:33 -04:00
Marc Coll Carrillo
82cc7af4f6
Avoid the use of the new GP editor as a cheating aid
2014-04-13 21:34:28 +02:00
Guillaume P
3febfecbef
Merge remote-tracking branch 'remotes/upstrem/master' into skiddingAI
2014-04-13 20:31:28 +02:00
Marianne Gagnon
99a50ec70c
misc little changes
2014-04-13 14:25:10 -04:00
Vincent Lejeune
f98ff2a5fc
Fix skid mark color
...
We convert the vertex color value to srgb, optimally the vertex color
should already be corrected on cpu side but it would break fallback
colors...
2014-04-13 18:00:15 +02:00
Vincent Lejeune
3cd85a829e
Compress/convert to srgb per material basis.
...
This allows to remove manual conversion in normalmap shader.
2014-04-13 17:53:52 +02:00
samuncle
1f14e26bde
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-04-13 01:01:59 +02:00
samuncle
04e5bb1239
Tweak the new camera
2014-04-13 01:01:24 +02:00
Vincent Lejeune
59c50ebbdd
Use ITexture instead of GLuint in GLMesh
2014-04-12 22:33:27 +02:00
Marianne Gagnon
a2d60cc97d
move camera closer to kart
2014-04-11 21:24:07 -04:00
vlj
d873d2d4fd
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-04-12 02:17:31 +02:00
vlj
3828e70f5a
Fix for glow effect
2014-04-12 02:15:02 +02:00
hiker
fcedb80a89
Fixed some compiler warnings.
2014-04-12 09:49:46 +10:00
hiker
b8c304b229
Merge branch 'SmoothMoveCamera' of https://github.com/divvy81/stk-code into smooth
2014-04-12 09:28:18 +10:00
Vincent Lejeune
68a71f6e22
Use for_in macro in stkmeshscenenode too.
2014-04-12 00:47:32 +02:00
Vincent Lejeune
849709ec1d
Revert some CPP2011 related changes.
2014-04-12 00:07:19 +02:00
vlj
443b758e20
Add shaders to MSVC target.
2014-04-11 20:56:23 +02:00
vlj
bc1776d0ff
Merge pull request #1281 from konstin/master
...
Fixing compilation issues on linux
2014-04-11 20:50:06 +02:00
konstin
9d22b74b54
Fixing compilation issues on linux
2014-04-11 20:14:20 +02:00
vlj
8775a5e006
Properly clean FBO and RTT.
2014-04-11 17:53:28 +02:00
hiker
71ddeda94f
Tried to avoid compilation problem on travis (though afaik there are
...
still other issues with building on travis atm), though atm only
by a quick hack.
2014-04-12 01:48:55 +10:00
Dk
d1dcf826a8
Merge remote-tracking branch 'upstream/master' into SmoothMoveCamera
2014-04-11 17:48:16 +05:30
hiker
488c1231c9
Moved getUserState from CurrentUser to PlayerManager::getCurrentOnlineState().
2014-04-11 16:37:48 +10:00
hiker
3a5a0a56b2
Moved isRegisteredUser from CurrentUser into PlayerManager::isCurrentLoggedIn.
2014-04-11 16:20:04 +10:00
hiker
071aa01f35
Changed all calls to CurrentUser::getID() to PlayerManager::getCurrentOnlineId().
2014-04-11 16:06:51 +10:00
Marianne Gagnon
00e85b4637
Use PtrVector to get for_in iteration
2014-04-10 20:04:33 -04:00
vlj
a6abda9115
Yet another attemp to c++0x support in travisCI
2014-04-11 01:17:42 +02:00
vlj
ce9e9790d5
Improve VS generation in cmake.
2014-04-11 01:08:29 +02:00
vlj
0d90ecda16
Another attempt at fixing ci build.
2014-04-11 01:01:38 +02:00
vlj
4259d438b0
Use cmake file pattern tools
2014-04-11 00:57:16 +02:00
vlj
f58cf57768
Add gnu++11 flag to unix build.
2014-04-11 00:42:33 +02:00
vlj
09d13e2bfe
Try to fix travis ci build.
2014-04-11 00:37:50 +02:00
hiker
df88a013c2
Fixed more conflicts, removed compiler warnings.
2014-04-11 08:14:38 +10:00
hiker
54c7d67b90
Merge branch 'master' of github.com:supertuxkart/stk-code
...
Conflicts:
src/graphics/render.cpp
src/graphics/shaders.cpp
src/graphics/stkmesh.cpp
2014-04-11 08:08:13 +10:00
hiker
27a5959fcc
Added stack trace to LeakCheck on windows. Re-enabled stack
...
trace printing (though off as default).
2014-04-11 08:00:10 +10:00
Vincent Lejeune
cbc677febb
Merge branch 'BatchedDrawCalls'
2014-04-10 23:28:42 +02:00
vlj
42482e0c41
Some more conversion
2014-04-10 23:03:57 +02:00
vlj
3a55bbe796
Generalize use of UBO.
2014-04-10 21:16:44 +02:00
Vincent Lejeune
fee89a3a3e
Start decoupling tree based draw sequence.
2014-04-10 21:16:43 +02:00
Vincent Lejeune
55097aba91
Add shader file as comment for easier debug
2014-04-10 21:16:43 +02:00
Vincent Lejeune
9ba636f661
Gather View Projection and shadows matrix generation.
2014-04-10 21:16:42 +02:00
Guillaume P
76025ff784
It's even better with the key of the added repository.
2014-04-10 21:14:15 +02:00
Guillaume P
9a6eb2e34a
Clean up and re-enable notifications in travis config.
2014-04-10 21:14:15 +02:00
Guillaume P
9a386c0ee3
Update before_install section in travis config file.
2014-04-10 21:14:14 +02:00
Guillaume P
4586887bf2
Disable notifications.
2014-04-10 21:14:13 +02:00
hiker
8483f58f9d
Moved saved session data from UserConfig to PlayerProfile - which
...
means that now each player can individually save an online session.
2014-04-10 21:14:13 +02:00
hiker
a6f4f50281
Fixed documentation.
2014-04-10 21:14:12 +02:00
hiker
6a3698232e
Removed unused parameters.
2014-04-10 21:14:11 +02:00
hiker
ec213fbe28
Removed signedInAs function.
2014-04-10 21:14:11 +02:00
hiker
79edc5fa48
Made getCurrentUser() a static function.
2014-04-10 21:14:10 +02:00
hiker
1d71f8f1e1
Moved ServerJoinRequest from CurrentUser into RequestConnection
...
(from which file it is also used in online_screen). And cosmetic
changes everywhere.
2014-04-10 21:14:09 +02:00
hiker
1299db94e6
Cosmetic changes only.
2014-04-10 21:14:08 +02:00
vlj
4cff5ce739
Merge pull request #1279 from gupascal/travis-update
...
Update travis config for mesa
2014-04-10 21:06:29 +02:00
Guillaume P
5dbd228b95
It's even better with the key of the added repository.
2014-04-10 08:50:45 +02:00
Guillaume P
0542a85204
Clean up and re-enable notifications in travis config.
2014-04-10 08:43:14 +02:00
hiker
502987d3e0
Now each PlayerProfile has a (currently still called) CurrentUser
...
which manages online connection data. Work-in-progress to use
only one object for all player data (instead of two atm: PlayerProfile
and CurrentUser).
2014-04-10 16:32:58 +10:00
Guillaume P
8f0ecee80c
Update before_install section in travis config file.
2014-04-10 08:15:29 +02:00
Guillaume P
b0c130017a
Disable notifications.
2014-04-10 08:02:51 +02:00
Dk
95b858a2d8
Merge branch 'SmoothMoveCamera' of https://github.com/divvy81/stk-code into SmoothMoveCamera
2014-04-10 07:07:32 +05:30
Dk
e0d22a28d6
Camera Moves Back Smoothly
2014-04-10 07:06:13 +05:30
Dk
ca1328eb3e
Merge remote-tracking branch 'upstream/master' into SmoothMoveCamera
2014-04-10 06:34:21 +05:30
Marianne Gagnon
f42e4203cd
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-04-09 18:55:22 -04:00
Marianne Gagnon
c2fb05cc61
Compute tangents for core track mesh, allowing normal maps
2014-04-09 18:55:17 -04:00
Dk
50ca35ca96
Rescue Camera is working properly
2014-04-09 22:30:05 +05:30
Dk
d25ea99665
Revert "Camera After Rescue comes to normal quickly"
...
This reverts commit 0345f26a7b .
git commit -m "revert"
2014-04-09 22:24:32 +05:30
Dk
9f4368da08
Merge remote-tracking branch 'upstream/master' into SmoothMoveCamera
2014-04-09 21:06:49 +05:30
Dk
0345f26a7b
Camera After Rescue comes to normal quickly
2014-04-09 21:06:07 +05:30
hiker
481b5f22bb
Fixed compiler warnings.
2014-04-09 19:07:58 +10:00
hiker
5182cdb18b
Fixed line endings.
2014-04-09 19:07:44 +10:00
hiker
25c96d88ec
Moved saved session data from UserConfig to PlayerProfile - which
...
means that now each player can individually save an online session.
2014-04-09 08:33:42 +10:00
hiker
de697f26c8
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-09 08:28:01 +10:00
Vincent Lejeune
55489bc188
Use UBO instead of copying Shadow VP matrixes.
2014-04-08 21:45:04 +02:00
Vincent Lejeune
d67834574b
Remove some instance of setTransform.
2014-04-08 14:15:29 +02:00
Vincent Lejeune
4f92d9bc6b
Remove unused code.
2014-04-08 13:49:13 +02:00
Vincent Lejeune
f65b460f1c
Remove some reference to ETS_WORLD.
2014-04-08 13:49:11 +02:00
hiker
8c197a24b2
Fixed documentation.
2014-04-08 16:52:29 +10:00
hiker
c599359737
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-08 12:52:59 +10:00
vlj
62c6029e7a
Clean another line.
2014-04-08 02:05:55 +02:00
vlj
84488b192f
Another round at cleaning.
2014-04-08 02:02:08 +02:00
vlj
246d581e4c
Some cleaning.
2014-04-08 01:52:19 +02:00
hiker
384bdb1124
Removed unused parameters.
2014-04-08 08:19:14 +10:00
hiker
38051c0191
Removed signedInAs function.
2014-04-08 08:09:28 +10:00
hiker
43593d6312
Made getCurrentUser() a static function.
2014-04-08 08:06:52 +10:00
hiker
5956f2fdf7
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-08 08:00:51 +10:00
Vincent Lejeune
c5fd99a096
Clamp to edge when blurring fbo.
2014-04-07 22:38:20 +02:00
Vincent Lejeune
8fc3453eda
Fix instancied glossy map.
2014-04-07 22:29:06 +02:00
Vincent Lejeune
eb0dfb4530
Bigger light extend wrt energy.
2014-04-07 22:20:43 +02:00
Vincent Lejeune
939e574cd8
Make bloom effect more subtle.
2014-04-07 22:19:25 +02:00
vlj
e00ce85d7c
Support FresnelSchlick factor.
2014-04-07 21:35:10 +02:00
vlj
858c8c7605
Fix normalmap too
2014-04-07 21:35:10 +02:00
vlj
79c6424703
Use specularmap as glossiness map.
2014-04-07 21:35:09 +02:00
vlj
cafc07680a
Use Blinn Phong model.
2014-04-07 21:35:09 +02:00
Vincent Lejeune
0b318b9c7e
Improve quad's fit of pointlight extend
2014-04-07 21:04:03 +02:00
Vincent Lejeune
8aa5031fc0
FBO: Combined TMP1 and TMP2 should embed DS.
2014-04-07 17:47:49 +02:00
hiker
d88f513ad6
Moved ServerJoinRequest from CurrentUser into RequestConnection
...
(from which file it is also used in online_screen). And cosmetic
changes everywhere.
2014-04-07 21:15:42 +10:00
hiker
cb8daa4977
Cosmetic changes only.
2014-04-07 16:52:09 +10:00
hiker
9b1b66689b
Moved achievement notification for server from CurrentUser to
...
Achievement.
2014-04-07 13:19:07 +10:00
Marianne Gagnon
569d68dfe1
Add asset to 'clearWindow' to catch invalid uses
2014-04-06 21:05:09 -04:00
Marianne Gagnon
06a3d770e5
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-04-06 20:57:37 -04:00
Marianne Gagnon
61ad56f088
Fix recovery dialog
2014-04-06 20:57:28 -04:00
gl3nn
8d3d65270a
Don't allow showing the notification dialog without using the dialog
...
queue anymore.
2014-04-07 02:12:45 +02:00
hiker
73e8fb3556
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-07 09:42:09 +10:00
vlj
3c3b076458
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-04-07 01:03:27 +02:00
vlj
ca2b5a7237
Fix normal map and srgb
2014-04-07 01:03:14 +02:00
Marianne Gagnon
a413fa3f15
Add proper instancing fallback when shaders are off
2014-04-06 18:46:25 -04:00
Marianne Gagnon
456d57f7ce
Instancing : don't crash when shaders are off
2014-04-06 18:31:15 -04:00
hiker
cb959acb44
Added 'action' parameter to setUserDetail, and made it work when
...
the user is not logged in, so that it can be used for the recovery request.
2014-04-07 08:25:48 +10:00
hiker
6b7dcedc02
Don't log the value of 'current', 'new1' and 'new2' (which are used
...
when changing passwords).
2014-04-07 08:13:33 +10:00
vlj
dd51124680
Fix specular light buffer not written to.
2014-04-06 17:40:51 +02:00
Vincent Lejeune
ada1d2617c
Clear SSAO fbo at least once.
...
On intel driver (windows) texture swizzling seem not to work everytime
so use an untouched rtt instead of swizzling SSAO rtt if ssao is
disabled.
2014-04-05 21:21:01 +02:00
Vincent Lejeune
150ee87471
Use glFrameBufferTexture on shadows buffer
...
We're sure there is at least gl 3.2 support.
2014-04-05 20:53:38 +02:00
Vincent Lejeune
a951a8c885
Wrong glsl check when compressing textures.
2014-04-05 20:48:50 +02:00
Vincent Lejeune
04176d52a8
Do not create shadow vao for ctx < gl 3.2
2014-04-05 20:16:15 +02:00
Max Teufel
4f7bc981bd
Declare use of OpenGL 3.2 on OS X
2014-04-05 19:33:45 +02:00
Vincent Lejeune
012cf599b4
Use 2D version of glFramebufferTexture
...
glFramebufferTexture is not supported on GL 3.1 context, while
glFramebufferTexture2D is.
Also fix an inverted comparaison.
2014-04-05 19:22:03 +02:00
hiker
8e8f02a1dc
Bugfix: if the recovery dialog was shown and cancelled, no more mouse
...
events got sent to the LoginDialog. Seems to be the same problem that was
reported in #1216 , and properly fixed in
d954fc6c72 . Auria, can you check if this is correct?
2014-04-06 01:27:04 +11:00
hiker
0a107897ca
Moved user search and password change from CurrentUser into the
...
corresponding dialogs.
2014-04-06 01:25:31 +11:00
hiker
800a012283
Removed unnecessary copy of Addon.
2014-04-05 22:25:35 +11:00
hiker
a9ecf5b601
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-05 22:00:30 +11:00
hiker
4a3cf13bc4
Moved voting code from CurrentUser to VoteDialog.
2014-04-05 21:59:56 +11:00
Vincent Lejeune
2264f8e3a7
Disable srgb texture compression for Intel
...
RGB texture compression works fine but it looks like srgb TC isnt
properly supported.
A later TODO would be to convert rgb to srgb in cpu and use compression
again.
2014-04-05 03:13:45 +02:00
Dk
746e23c0f1
Camera even moved more closer
2014-04-05 06:39:42 +05:30
vlj
a57e81a37c
Use custom FBO instead of Irrlicht's ones.
...
This allows STK to use multisampled FBO.
2014-04-05 02:42:05 +02:00
Dk
4b6ea54704
Merge remote-tracking branch 'upstream/master' into SmoothMoveCamera
2014-04-05 00:24:44 +05:30
Dk
ff2f3c0896
Camera while moving back is fixed
2014-04-05 00:24:07 +05:30
Vincent Lejeune
ca214230e3
MLAA: Load the right shader for step 2
...
No wonder why it didnt work as expected before...
2014-04-04 19:42:05 +02:00
hiker
85bd942de7
Removed unnecessary variable.
2014-04-04 21:00:22 +11:00
hiker
21f145b951
Moved requestGetAddonVote from CurrentUser into VoteDialog.
...
Some cosmetic only changes to VoteDialog to follow style guide.
2014-04-04 16:46:28 +11:00
hiker
34d79a8cd2
Fixed warning about modal dialog shown while previous dialog is open.
2014-04-04 16:44:55 +11:00
hiker
c663839d98
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-04 15:39:48 +11:00
hiker
59cbfbab6b
Fixed compiler warning.
2014-04-04 13:51:27 +11:00
hiker
6bf328e199
Try to fix clang compilation (note that std::swap does not work
...
on std::vector<bool>).
2014-04-04 13:50:35 +11:00
hiker
de694cc5fe
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-04 08:36:24 +11:00
hiker
dcba93aa7e
Moved canceling of friend requests into UserInfoDialog.
2014-04-04 08:15:48 +11:00
vlj
6a3556b4ba
Shaders'outputs use premultiplied alphas
2014-04-03 14:46:35 +02:00
vlj
8552ddae1c
MLAA: Fix gamma in the shaders.
...
MLAA looks correct now.
2014-04-03 14:15:51 +02:00
Dk
18335676e4
Smooth Move Camera
2014-04-03 16:35:11 +05:30
Dk
7e7e2a3394
Merge remote-tracking branch 'upstream/master' into SmoothMoveCamera
2014-04-03 15:45:45 +05:30
Dk
a8f4ffac70
Camera Moves Smoothly
2014-04-03 15:37:44 +05:30
hiker
e8e4b7ad5f
Fixed unnecessary double precision computation.
2014-04-03 17:13:54 +11:00
hiker
af94314462
Merge branch 'crash-impulsion' of https://github.com/gupascal/stk-code into gupascal-crash-impulsion
2014-04-03 17:00:51 +11:00
hiker
d9267a937a
Moved 'removeFriendRequest' into UserInfoDialog.
2014-04-03 16:58:38 +11:00
Vincent Lejeune
afa2e2e98d
Use a A8R8G8B8 fbo to apply mlaa.
2014-04-03 00:55:30 +02:00
Vincent Lejeune
964d9a25f1
Some port fixes for MLAA
2014-04-03 00:27:46 +02:00
Vincent Lejeune
33b44c8c97
Port MLAA to new pipeline.
2014-04-03 00:14:58 +02:00
hiker
712d4cf84e
Updated documentation for Christmas mode.
2014-04-03 08:20:43 +11:00
Vincent Lejeune
26c797e79e
Fix kart shadows.
2014-04-02 00:09:49 +02:00
Vincent Lejeune
5573ee4e34
Follow more closely Crysis subsurface scatt.
2014-04-01 23:35:32 +02:00
Vincent Lejeune
f41b737913
Merge grass_pass*.vert
2014-04-01 23:16:30 +02:00
Vincent Lejeune
23e5ec709d
Add a fake subsurface scattering for grass.
2014-04-01 23:13:16 +02:00
vlj
0fb6515bca
Instancing: Support for alpha ref shadow.
2014-03-31 22:06:37 +02:00
vlj
52018bbdea
Instancing: Support shadow.
2014-03-31 21:52:42 +02:00
Vincent Lejeune
008e5e747a
GPUParticles: some factorisation.
2014-03-31 20:49:14 +02:00
Vincent Lejeune
27cccd6102
Fix sources.cmake
2014-03-31 20:12:02 +02:00
Vincent Lejeune
7ebeaa45e8
Some cleaning.
2014-03-31 20:04:34 +02:00
Vincent Lejeune
427ca42f49
Enable texture compression.
2014-03-31 19:44:11 +02:00
Vincent Lejeune
e034cd31a0
Fix context creation for intel.
2014-03-31 19:29:20 +02:00
Vincent Lejeune
551e6cc9c8
Add support for alpha ref instancied materials.
2014-03-31 19:16:26 +02:00
Vincent Lejeune
8c3c380ded
Actually enable scale.
2014-03-31 18:25:12 +02:00
Vincent Lejeune
bb311618e3
Instancing: Add support for scale transformation.
2014-03-31 18:10:45 +02:00
Vincent Lejeune
e1e791ff73
reenable diffuse env map
2014-03-31 17:33:30 +02:00
Vincent Lejeune
35f91e73ca
Merge branch 'properlinearpipeline'
...
* properlinearpipeline:
Disable auto exposure for now.
Using formula from an article suggested by samuncle
Improve bright attenuation although not perfect
Plug in brightness adaptation
Add some code to average log luminance.
Write a shader to convert CIE to RGB.
Factorize luminance computation.
Improve ao and bloom.
Remove some unused code
Fix negative value that introduces a bug on nvidia
Expand HDR use.
Convert texture from srgb and use srgb fbo
2014-03-31 17:26:08 +02:00
Vincent Lejeune
33f31dbf30
Disable auto exposure for now.
2014-03-31 17:25:04 +02:00
vlj
251e7f669e
Using formula from an article suggested by samuncle
2014-03-31 17:25:04 +02:00
vlj
af93a04987
Improve bright attenuation although not perfect
2014-03-31 17:25:03 +02:00
vlj
58615c0207
Plug in brightness adaptation
2014-03-31 17:25:03 +02:00
vlj
6e8b45a6d8
Add some code to average log luminance.
2014-03-31 17:25:02 +02:00
vlj
a2ab6fc80c
Write a shader to convert CIE to RGB.
2014-03-31 17:25:01 +02:00
Vincent Lejeune
881d0b9954
Factorize luminance computation.
2014-03-31 17:24:53 +02:00
vlj
8fc383206f
Improve ao and bloom.
2014-03-30 23:47:19 +02:00
vlj
77b289fed6
Remove some unused code
2014-03-30 23:38:18 +02:00
vlj
0dae1cf911
Fix negative value that introduces a bug on nvidia
2014-03-30 21:57:01 +02:00
vlj
6d3901f6a2
Clean skybox handling
2014-03-30 21:51:46 +02:00
Vincent Lejeune
1481a110a5
Use utils function for renderbloom/blend
2014-03-30 20:49:14 +02:00
vlj
bfdba01f2b
Expand HDR use.
2014-03-30 19:15:25 +02:00
vlj
10e2218b8c
Convert texture from srgb and use srgb fbo
2014-03-30 18:19:59 +02:00
Marianne Gagnon
9a5e3d9c9c
Try to handle case where addons XML file cannot be loaded
2014-03-30 11:48:38 -04:00
Marianne Gagnon
7cd93708cf
Merge remote-tracking branch 'konstin/spaces' : Remove trailing spaces, use spaces and not tabs for indentation
2014-03-30 11:25:16 -04:00
konstin
4d3e835021
re-adding -help
2014-03-30 16:19:09 +01:00
Marianne Gagnon
d08e81ab56
Improve behavior when using instancing with physics objects
2014-03-29 18:39:15 -04:00
konstin
7cc83e1475
running whitespaces.py update 1
2014-03-29 11:33:43 +01:00
konstin
badf97dc77
whitespaces.py update 1
2014-03-29 11:32:50 +01:00
konstin
663fffdebb
Revert "Running whitespaces.py; no more trailing whitespaces & tabs -> 4 spaces"
...
This reverts commit 65e2dcf2f0 .
2014-03-29 11:32:04 +01:00
vlj
91c4e9de94
Fix orientations.
2014-03-29 02:19:08 +01:00
Marianne Gagnon
b7c07536f0
Merge branch 'Instancing'
2014-03-28 21:10:52 -04:00
Marianne Gagnon
d90c3753df
Pass absolute rotation, not relative rotation
2014-03-28 21:05:21 -04:00
vlj
1bac60c48a
Attempt to fix orientations.
2014-03-29 02:04:20 +01:00
vlj
f4eeb68fd4
Merge branch 'Instancing'
2014-03-29 01:22:57 +01:00
vlj
ca1a1e37d9
Fix normals for normal object.
2014-03-29 01:22:08 +01:00
Marianne Gagnon
fb90388e10
Apply patch by Marc Coll to improve upon his work on GP progress display
2014-03-28 19:16:56 -04:00
Marianne Gagnon
9406d69a72
Cleanup instancing nodes when cleaning track
2014-03-28 18:46:52 -04:00
konstin
fc2d55d6a5
Fixing #1263 and little bit refactoring
2014-03-28 22:10:43 +01:00
konstin
65e2dcf2f0
Running whitespaces.py; no more trailing whitespaces & tabs -> 4 spaces
2014-03-28 20:08:39 +01:00
konstin
233f9947ff
Adding whitespaces.py, a small script for code clean
2014-03-28 20:08:02 +01:00
vlj
81b1e9fb94
Move the wind portion into the world matrix
...
It should make the normal correct although I didnt notice any visual difference.
2014-03-28 02:39:20 +01:00
vlj
35c8a14938
Forgot to clean some VAOs.
2014-03-28 01:55:10 +01:00
vlj
008b070aab
Properly clean GL buffers in instancing node.
2014-03-28 01:43:59 +01:00
vlj
c70b9ba0f8
Explicitly build the inverse matrix
...
Some drivers does not support inverse function although they advertise
glsl 140 support, and it's faster to do it manually as we know the
structure of the matrix.
2014-03-27 19:12:55 +01:00
vlj
3538fd46d2
Look like instance orientation was wrong.
2014-03-27 01:33:02 +01:00
vlj
b384716cc4
getWind() changes.
2014-03-27 01:25:04 +01:00
Marianne Gagnon
348a20288f
Apply patch by Marc Coll to have better progress reports during long GPs, thanks!
2014-03-26 20:14:29 -04:00
Vincent Lejeune
1740407e1e
Use GS instancing to speed up shadow gen a little.
2014-03-26 22:27:11 +01:00
Vincent Lejeune
b9d0088ff9
Parse more context in windows build.
2014-03-26 22:13:02 +01:00
Vincent Lejeune
14500d65ab
Reverse order of templates in glwrapp.hpp
2014-03-26 21:18:36 +01:00
Vincent Lejeune
f49dfbc51f
Fix flip particle shader.
2014-03-26 20:58:13 +01:00
Vincent Lejeune
0f451c8f9d
List files when shader link fails.
2014-03-26 20:49:58 +01:00
Vincent Lejeune
9f0620c122
Add a #define to switch between dof and non dof
2014-03-26 19:42:25 +01:00
vlj
8b652ababb
Merge object_pass*.vert
2014-03-26 19:04:46 +01:00
vlj
ae5c7b8c3d
Implement UI single color overload
2014-03-26 19:04:45 +01:00
Guillaume P
c04ee0f345
When a kart has crashed, make the impulsive force a little more realistic. (depending on the kart velocity).
2014-03-25 16:59:20 +01:00
vlj
71881ac64d
Add orientation to grass material
2014-03-25 16:49:03 +01:00
hiker
24dc70427f
Fixed compiler warnings.
2014-03-25 20:54:20 +11:00
Vincent Lejeune
9fef40318e
Fixes for grass instancied material.
2014-03-25 00:09:32 +01:00
Vincent Lejeune
72556fddc3
Don't use glDebugMessageCallbackARB if null
2014-03-24 21:47:24 +01:00
vlj
a866b3f416
Add Grass material support for instancing.
2014-03-24 16:40:40 +01:00
Sachith Hasaranga Seneviratne
7232e6c11e
Scripts can now squash karts by id and for a defined period of time
2014-03-24 11:32:46 +05:30
Sachith Hasaranga Seneviratne
6385937668
Revert "Trigger now has access to kart that triggered it"
...
This reverts commit 88de3ebfb7 .
2014-03-24 11:12:51 +05:30
Sachith Hasaranga Seneviratne
f9cdb05751
Revert "Revert "Removed unnecessary comment""
...
This reverts commit e967e9a1f9 .
2014-03-24 11:12:04 +05:30
Sachith Hasaranga Seneviratne
e967e9a1f9
Revert "Removed unnecessary comment"
...
This reverts commit 954e963d1a .
2014-03-24 11:10:43 +05:30
Sachith Hasaranga Seneviratne
88de3ebfb7
Trigger now has access to kart that triggered it
2014-03-24 09:05:28 +05:30
Marianne Gagnon
d798398478
Merge branch 'Instancing' of https://github.com/supertuxkart/stk-code into Instancing
2014-03-23 18:55:51 -04:00
Marianne Gagnon
bb28e26eff
Cleanup for instancing
2014-03-23 18:55:45 -04:00
vlj
3423cbf60b
Some fixes.
2014-03-23 20:05:51 +01:00
Vincent Lejeune
76cf04f548
Clean code to make it extendable later
2014-03-23 19:50:33 +01:00
Vincent Lejeune
5c8ef365a5
Merge instanced_object_pass vertex shaders.
2014-03-23 19:28:07 +01:00
Vincent Lejeune
5dd2d28134
Merge branch 'master' into Instancing
2014-03-23 19:20:23 +01:00
Marianne Gagnon
ae92b4007b
Add initial basic support for loading instancing nodes
2014-03-22 20:55:30 -04:00
vlj
73755a3431
clamp overload was ambiguous.
2014-03-23 01:09:14 +01:00
samuncle
f7f3cb1cbe
Add depth of field to the color_level shader. As vincent requested. Something cleaner need to be done
2014-03-23 00:59:06 +01:00
Marianne Gagnon
5750b860c9
Add missing icon
2014-03-22 19:49:48 -04:00
Marianne Gagnon
ce1cbd44da
Use new single-color overload in font where possible
2014-03-22 19:38:48 -04:00
vlj
a21d162d5a
Add an overload for draw2DImage with a single color
2014-03-23 00:29:47 +01:00
vlj
6fc2248d7a
GPUParticles: some factorisation
2014-03-23 00:19:57 +01:00
vlj
9752689d15
Do not render billboard outside of transparent pass
2014-03-22 23:18:07 +01:00
vlj
c0b2b23692
Factorise cubevbo/vao in shader.cpp
2014-03-22 23:09:33 +01:00
vlj
6538d16eb3
Fix a shader compile failure on nvidia.
2014-03-22 22:32:52 +01:00
vlj
fd82494ee8
Add file path when a compiler error arise.
2014-03-22 22:32:01 +01:00
Vincent Lejeune
2cbf8dafc7
SkyShader: attrib position is not always 0.
2014-03-22 20:05:56 +01:00
Vincent Lejeune
efa7316fc5
Definitively fix stencil bug thx to graphitemaster from irc
2014-03-22 19:19:59 +01:00
Vincent Lejeune
29749d5dbd
Merge commit 'f3e2da881a4d394c4ca902548e788f5b4c0bdd81'
...
* commit 'f3e2da881a4d394c4ca902548e788f5b4c0bdd81':
Do not build shadow shader without gs support.
Add a function to query supported glsl ver
Some drivers dont support const array
2014-03-22 18:54:51 +01:00
Vincent Lejeune
f3e2da881a
Do not build shadow shader without gs support.
2014-03-22 18:36:21 +01:00
Vincent Lejeune
ae3cf30070
Add a function to query supported glsl ver
2014-03-22 18:36:20 +01:00
Vincent Lejeune
aa39246404
Some drivers dont support const array
2014-03-22 18:36:19 +01:00
Unitraxx
c647fa5081
Merge pull request #1252 from mcsab/master
...
Reset-per-lap achievement support
2014-03-22 01:12:28 +01:00
Csaba Molnar
ca19a428b2
merge, comment fix, never-consistence fix
2014-03-22 01:02:52 +01:00
Vincent Lejeune
320558c205
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-03-22 00:52:53 +01:00
Csaba Molnar
3a5812dd6c
Merge branch 'master' of https://github.com/supertuxkart/stk-code
...
Conflicts:
data/achievements.xml
2014-03-22 00:52:33 +01:00
Vincent Lejeune
1f1e79477d
Add missing utils/log.hpp in glwrap.hpp
2014-03-22 00:24:00 +01:00
Marianne Gagnon
33b3880320
Add the author of the GP editor to the credits
2014-03-21 18:56:47 -04:00
Vincent Lejeune
340eaa9352
Factorize getLightFactor
2014-03-21 18:36:47 +01:00
Vincent Lejeune
01b88fde9d
Factorize DecodeNormal from misc shaders.
2014-03-21 18:17:21 +01:00
Vincent Lejeune
77e5f413c7
Factorize EncodeNormal from Pass1 shaders.
2014-03-21 18:10:54 +01:00
Vincent Lejeune
f0e96bb7f2
Use variadic function to load shader
2014-03-21 18:09:10 +01:00
Vincent Lejeune
9728226ee3
Forgot to dereference a value.
2014-03-21 15:58:21 +01:00
Guillaume P
0faa3b2eac
Don't fire a cake if the target kart is driving too slow.
2014-03-21 14:36:31 +01:00
Guillaume P
c857bbaec0
Merge remote-tracking branch 'remotes/upstrem/master' into skiddingAI
2014-03-21 14:05:42 +01:00
Sachith Hasaranga Seneviratne
954e963d1a
Removed unnecessary comment
2014-03-21 15:40:08 +05:30
Sachith Hasaranga Seneviratne
4dd0d4c0bb
Added better Message
2014-03-21 15:36:59 +05:30
Sachith Hasaranga Seneviratne
c1b8927b31
Cleaned up a bit
2014-03-21 15:31:28 +05:30
Marianne Gagnon
89e070c7f3
Revert dubious change from GP patch
2014-03-20 21:30:10 -04:00
Marianne Gagnon
2f2547420d
Apply Marc Coll's Grand Prix editor, thanks! There will be refinements to come for sure, but this is a very nice start
2014-03-20 21:13:05 -04:00
vlj
68935decaa
Reenable Debug Output on windows.
2014-03-21 01:44:14 +01:00
vlj
a35b7d1e2d
Do not reload Caustic/displace texture each frame
2014-03-21 01:43:45 +01:00
auriamg
dee2a0300e
Merge pull request #1259 from cosmincav/master
...
Added achievement: unstoppable
2014-03-20 20:08:43 -04:00
vlj
f06ad3c785
Reenable transparent + fog material.
2014-03-20 18:25:44 +01:00
vlj
b3f59437b1
Fix rubber band effect for plunger.
2014-03-20 18:06:59 +01:00
cosmin.crecana
8616ce546a
achievement_unstoppable
2014-03-20 15:30:11 +02:00
Sachith Hasaranga Seneviratne
4334d9a022
Added haybail.as
2014-03-20 15:05:33 +05:30
vlj
a3eee305ca
Remove the max distance for lights
2014-03-19 23:07:40 +01:00
vlj
822081deb4
Only reupload buffer for skidding mark
2014-03-19 23:00:45 +01:00
Vincent Lejeune
4128371b7f
Do not switch program if it's not used.
2014-03-19 19:02:29 +01:00
Vincent Lejeune
782e280bfc
Factorize PointLightShader vao and vbo.
2014-03-19 18:42:48 +01:00
Arthur-D
9c3d854a2a
Merge pull request #1257 from matthiaskrgr/patch-1
...
travis: revert all changes done to notification section
2014-03-19 03:17:52 +01:00
Matthias Krüger
04f635d9cb
travis: revert all changes done to notification section
2014-03-19 02:33:58 +01:00
Vincent Lejeune
1e8bc6bc41
Try to avoid updating skidmark each frames.
2014-03-19 01:54:07 +01:00
Arthur-D
5a77c2082a
Merge pull request #1256 from matthiaskrgr/patch-1
...
travis: rm unneeded deps, don't build via script
2014-03-19 01:40:46 +01:00
Matthias Krüger
15f0445ce3
travis: rm unneeded deps, don't build via script
2014-03-19 01:38:27 +01:00
Vincent Lejeune
9a6d15a865
Attempt to fix skidding mark's color
2014-03-19 01:25:54 +01:00
Arthur-D
d9c5d415cd
Merge pull request #1255 from matthiaskrgr/patch-1
...
travis: remove some useless options, condense irc message, skip joins in...
2014-03-19 01:20:53 +01:00
Vincent Lejeune
433903be5d
Reenable skidmark, although their color is wrong
2014-03-19 01:07:32 +01:00
Matthias Krüger
66d2404243
travis: remove some useless options, condense irc message, skip joins in channel
2014-03-19 00:57:50 +01:00
auriamg
37ee2d73b3
Merge pull request #1254 from nathan-osman/bluetooth-check
...
Check for libbluetooth on Unix platforms.
2014-03-18 19:37:00 -04:00
Marianne Gagnon
9042a4e0f2
Fix bogus merge, sorry
2014-03-18 19:26:36 -04:00
Marianne Gagnon
4948f5acb2
Merge branch 'master' of https://github.com/sudip1401/stk-code
...
Conflicts:
data/achievements.xml
src/achievements/achievement_info.hpp
2014-03-18 19:16:43 -04:00
Vincent Lejeune
dd5997d277
Start working on instancing library node
2014-03-18 23:47:53 +01:00
Vincent Lejeune
4af050e1c0
Bring back minimap.
2014-03-18 23:47:40 +01:00
Csaba Molnar
83ae6909b5
Tab fix
2014-03-18 23:47:40 +01:00
Csaba Molnar
571b3a8e34
Wrong include corrected (\ -> /).
...
Drift counting fixed.
2014-03-18 23:47:39 +01:00
Csaba Molnar
806da15a12
Skidding achievement
2014-03-18 23:47:38 +01:00
hiker
506b64b587
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-03-18 21:18:30 +11:00
hiker
2173ae8280
Try to work around the currently reported build problem by travis.
2014-03-18 21:17:40 +11:00
sudip1401
0bca25504a
Poweruplover achievement
2014-03-18 13:18:50 +05:30
hiker
03b1994041
Merge branch 'master' of https://github.com/konstin/stk-code into konstin-master
2014-03-18 16:22:59 +11:00
hiker
0f4fb50fd6
Merge branch 'master' of https://github.com/KroArtem/stk-code into KroArtem-master
2014-03-18 16:15:14 +11:00
Nathan Osman
6b8f12b1b5
Check for libbluetooth on Unix platforms.
2014-03-17 19:02:53 -07:00
hiker
cd7e9ff8a9
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-03-18 10:47:53 +11:00
hiker
3d5fbaa92f
Merge branch 'master' of https://github.com/gupascal/stk-code into gupascal-master
...
Fixed some merging issues.
Conflicts:
data/achievements.xml
src/achievements/achievement_info.hpp
2014-03-18 10:44:11 +11:00
Marianne Gagnon
3d6fd8e792
Add patch to mention firing back in tutorial
2014-03-17 18:52:36 -04:00
Csaba Molnar
249635f01a
onLapEnd() fix
2014-03-17 22:30:17 +01:00
Csaba Molnar
e8eabc80c9
Fixing achievement description
2014-03-17 22:26:53 +01:00
Csaba Molnar
60f1d8ae20
Achievement reset-after-lap beta
2014-03-17 22:07:55 +01:00
sudip1401
72920ab0ab
Poweruplover achievement
2014-03-18 02:20:51 +05:30
hiker
e9367dd1c9
Fixed potential crash if RelationInfo should not exist, which I saw
...
once while a decline was in progress), started some minor refactoring.
2014-03-18 07:48:52 +11:00
sudip1401
89d7663112
Poweruplover achievement
2014-03-18 02:04:01 +05:30
KroArtem
4dec9c3fc5
having fun reverting changes
2014-03-17 23:56:49 +04:00
konstin
de50ea46e8
Allow karts to specifie a different sound effect for their engine; closes #1234
2014-03-17 17:01:34 +01:00
Sachith Hasaranga Seneviratne
9ac9cfbdca
Added additional script support for removing track objects tested with farm track with the haybail.as script
2014-03-17 18:12:03 +05:30
Guillaume P
45ab7e6907
Clean up some minor coding style issues
2014-03-17 08:21:49 +01:00
Guillaume P
3f35a48dda
Now IA don't fire a cake if the kart is driving too slow. Also correct some comments.
2014-03-17 08:14:35 +01:00
Guillaume P
b4fe033331
Revert "Now IA don't fire a cake if the kart is driving too slow. Also correct some comments."
...
This reverts commit 9030291340 .
2014-03-17 08:10:21 +01:00
Sachith Hasaranga Seneviratne
35be1f142a
track objects can be enabled/disabled/their status can be checked on, TODO: move this to scripting
2014-03-17 09:26:24 +05:30
KroArtem
66c5d4a645
removed unused functions
2014-03-16 15:28:46 +04:00
Sachith Hasaranga Seneviratne
c8e0d56ce9
Added Build target for AngelScript, Updated Readme,txt
2014-03-16 16:50:14 +05:30
Sachith Hasaranga Seneviratne
7e4cf23ee3
Removed unnecessary projectfiles
2014-03-16 16:36:18 +05:30
Sachith Hasaranga Seneviratne
df67597ec7
added AS library
2014-03-16 14:44:05 +05:30
Sachith Hasaranga Seneviratne
5b9e214b83
Added additional instructions to readme.txt
2014-03-16 13:01:19 +05:30
Sachith Hasaranga Seneviratne
686dd6c335
Updated new files with the script
2014-03-16 12:44:12 +05:30
Sachith Hasaranga Seneviratne
f1a4df7127
Added stuff to track object presentation
2014-03-16 12:26:35 +05:30
pgabor
f84f49dfc8
Adding a Wiimote with other one alredy placed - Bug: #1209 fixed
2014-03-15 21:15:04 +01:00
KroArtem
d4e90f83f2
revert unique_ptr back to auto_ptr
2014-03-15 23:30:15 +04:00
Vincent Lejeune
ce12ebe9ce
Bring back minimap.
2014-03-15 20:05:04 +01:00
auriamg
847ceca671
Merge pull request #1243 from mcsab/master
...
Skidding achievement
2014-03-15 15:01:41 -04:00
Csaba Molnar
c175f2450e
Tab fix
2014-03-15 19:58:25 +01:00
Marianne Gagnon
037688b020
Fix terminal warning flood, and improve error detection. Thanks to vlj for help
2014-03-15 14:39:27 -04:00
Csaba Molnar
bc3850ebdb
Wrong include corrected (\ -> /).
...
Drift counting fixed.
2014-03-15 19:18:03 +01:00
Vincent Lejeune
1b4863d7aa
Add asserts before binding vao and fix 0 glow vao
2014-03-15 18:59:22 +01:00
Marianne Gagnon
0425cf2ef4
Implement color variation in particle system
2014-03-15 13:35:51 -04:00
Guillaume P
5af377da07
Fix a build issue for Travis CI.
2014-03-15 15:58:17 +01:00
KroArtem
a3a851b300
Merge remote-tracking branch 'upstream/master'
2014-03-15 18:30:17 +04:00
Guillaume P
8a34be1ab3
Add a new Gold Driver achievement.
2014-03-15 15:12:28 +01:00
Guillaume P
9030291340
Now IA don't fire a cake if the kart is driving too slow. Also correct some comments.
2014-03-15 10:52:01 +01:00
Sachith Hasaranga Seneviratne
acbfb96bbf
Added script files
2014-03-15 10:55:03 +05:30
Sachith Hasaranga Seneviratne
2fe031d24d
Added CmakeLists entry and comments to point to where to switch between linux and windows
2014-03-15 10:52:15 +05:30
hiker
de820054b6
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-03-15 11:55:28 +11:00
hiker
3f738b60d5
Fixed crash in UserInfoDialog if an invalid response is received (friend id
...
is not contained in the response --> profile not found --> crash. Now
the friend id is stored in the request itself, and not needed in the response
from the server). Moved RejectFriendRequest into UserInfoDialog.
2014-03-15 11:54:04 +11:00
Csaba Molnar
385f108b16
Skidding achievement
2014-03-15 00:38:16 +01:00
Marianne Gagnon
3fb98fe85f
Work around crash in render code. Vlj, please review this, this is likely not the proper fix
2014-03-14 19:35:35 -04:00
hiker
aa169d0191
Moved AcceptFriendRequest into UserInfoDialog.
2014-03-15 10:27:13 +11:00
hiker
f76536ca31
Moved FriendRequest into corresponding GUI object.
2014-03-15 10:13:44 +11:00
hiker
e63ad2754d
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-03-15 09:48:14 +11:00
hiker
e77287d3ce
Moved signup request from CurrentUser to register screen.
2014-03-15 09:34:23 +11:00
KroArtem
ccd6019f48
Merge remote-tracking branch 'upstream/master'
2014-03-15 01:15:48 +04:00
Vincent Lejeune
5e03e461bc
Revert to compatibility context for linux build.
2014-03-14 17:04:44 +01:00
Vincent Lejeune
cb344520ef
Merge branch 'BatchedDrawCalls'
2014-03-14 16:57:18 +01:00
Vincent Lejeune
0c5d5ce96e
IBL: Fix sampling ignoring cubemap rotation
2014-03-14 16:51:07 +01:00
Vincent Lejeune
740c251808
Use Instancing for lights.
2014-03-14 16:51:06 +01:00
Vincent Lejeune
6cad7339e3
Factorize texture binding.
2014-03-14 16:51:05 +01:00
Vincent Lejeune
cf2035ca0a
Batch draw calls
2014-03-14 16:51:05 +01:00
hiker
c0a70830c2
Moved ServerCreationRequest from CurrentUser into the server creation screen.
2014-03-14 22:18:02 +11:00
hiker
6afc12c866
Moved recovery request into recovery dialog. Fixed recovery dialog to
...
work now (except the URL sent from the server is still wrong).
2014-03-14 16:44:58 +11:00
Rakesh Ranjan Nayak
9b50c9f8bd
merged code with upstream master
2014-03-13 22:47:06 +05:30
Rakesh Ranjan Nayak
59e0e3c9be
added an achievement banana lover
2014-03-13 22:33:20 +05:30
Rakesh Ranjan Nayak
8f55faeed3
added achievement banana lover
2014-03-13 22:28:52 +05:30
hiker
7e1a59fe99
Mark fulfilled achievements in blue.
2014-03-13 17:18:28 +11:00
hiker
cecb725228
Display correct results for achieved achievements.
2014-03-13 17:12:51 +11:00
hiker
a5f9d26f88
Fixed display of achievements when not logged in.
2014-03-13 08:31:06 +11:00
Guillaume P
955b27bf75
Add a Marathoner achievement.
2014-03-12 14:15:16 +01:00
hiker
4eb4ce1511
Bugfix: onRaceEnd was not called for achievements (resulting in
...
achievements not being reset at end of a race).
2014-03-12 22:40:43 +11:00
hiker
be9d7292f2
Replaced template function to simplify setting online request data with
...
function (since template doesn't compile on linux without -std=gnu++0x or so).
2014-03-11 17:13:37 +11:00
hiker
642797bdde
Cosmetic changes to follow our coding style. Also fixed incorrect
...
'waiting for friends' message while waiting for achievements.
2014-03-11 17:03:07 +11:00
auriamg
14424ee10f
Merge pull request #1238 from gupascal/master
...
Fix a compilation issue with VS10.
2014-03-09 19:54:07 -04:00
Vincent Lejeune
e9e60339bf
Fix non compiling shader on mesa
2014-03-09 21:06:02 +01:00
Guillaume P
16cff9097b
Fix a compilation issue with VS10.
2014-03-09 10:10:34 +01:00
auriamg
6c3a5375d7
Merge pull request #1235 from GiedriusS/master
...
Fixed a typo in TODO.md
2014-03-08 19:16:30 -05:00
auriamg
112c46fa14
Merge pull request #1236 from divvy81/downstream
...
Change of color player kart when any player quits
2014-03-08 19:11:14 -05:00
Marianne Gagnon
56a8fe8fbe
Some cleanup in particles. Make 'scale affector' behavior uniform between GPU particles and fallback irrlicht particles
2014-03-08 19:02:42 -05:00
Dk
b4d922512e
1195 Multiplayer Kart selection screen commit 22
2014-03-08 21:08:06 +05:30
Giedrius Statkevičius
8968c3b510
Fixed a typo in TODO.md
2014-03-08 16:13:31 +02:00
hiker
796d43ebb2
For now avoid the use of the template, since it doesn't work on linux.
2014-03-08 12:24:44 +11:00
hiker
0146a1265c
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-03-08 11:49:33 +11:00
hiker
56b53cc3c0
Another try to fix linux compilation.
2014-03-08 11:49:18 +11:00
hiker
841d360b93
Fixed one problem with linux compilation.
2014-03-08 11:38:07 +11:00
hiker
51f3a6d555
Added static template function to CurrentUser to create html requests,
...
which will prefill the HTML request with the details of the current user.
So far used only in online_profile.
2014-03-08 10:29:40 +11:00
hiker
809cb27d89
Fixed crash when clicking on empty achievement list.
2014-03-07 16:35:13 +11:00
hiker
f86646abb9
Fixed crash (when clicking on empty friend list).
2014-03-07 16:33:07 +11:00
hiker
3c1a7b1c7b
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-03-07 16:05:17 +11:00
hiker
c8749a3400
Fixed unnecessary include.
2014-03-07 16:04:59 +11:00
hiker
1ccac0db7c
Fix #1232 (GP causes crash).
2014-03-07 16:04:10 +11:00
nixt
8e9d518aa2
Increase curve radius to reduce braking when kart is close.
2014-03-07 07:41:55 +05:30
Marianne Gagnon
10caa7a2ec
Post-merge tidying up
2014-03-06 19:19:39 -05:00
auriamg
780201b1ad
Merge pull request #1226 from konstin/master
...
Solving Issue 1180 - Load addon GPs from local folder
2014-03-06 19:12:29 -05:00
hiker
58c325e6c3
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-03-07 11:02:53 +11:00
hiker
7cb7651c07
Renamed Profile to OnlineProfile to better distinguish the various profiles we use.
2014-03-07 11:02:07 +11:00
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
Vincent Lejeune
cbd7453f7b
Do not crash if old shaders dont compile
2014-03-07 00:03:26 +01:00
hiker
d19b5a2732
Fxed support for searching for data and assets based on the executable location.
2014-03-07 07:53:35 +11:00
konstin
f7953f4f12
Adding debug messages for 1180
2014-03-06 20:30:52 +01:00
Dk
52e910a438
1195 Multiplayer kart selection commit 21
2014-03-06 23:39:33 +05:30
Dk
7c8a32a10e
1195 MUltiplayer kart selection cmmit 21
2014-03-06 23:31:34 +05:30
abhishek1995
96fe29eb84
Update CMakeLists.txt
2014-03-06 21:13:53 +05:30
abhishek1995
62869dc92f
Update CMakeLists.txt
...
This commit includes checking whether ../data directory (from build directory) and ../../stk-assets directory (from build directory) exists or not. If they don't exist, then it gives error message for the corresponding directory. I have included the code for this on line 320.
2014-03-06 20:51:09 +05:30
konstin
9ddd5a2d5c
reducing the pull request to it's content
2014-03-06 11:58:09 +01:00
konstin
baa56f3254
Merge remote-tracking branch 'upstream/master'
2014-03-06 11:45:19 +01:00
konstin
b561f440ba
1180 Loading Grand Prix's from locale directory
2014-03-06 11:30:51 +01:00
hiker
0208dbaf8a
Fixed #38 , fixed #1230 (which is a duplicate).
2014-03-06 17:11:22 +11:00
hiker
58a5928b17
Fixed #1228 (crash when no default player is set and -N, -R, ... is used).
2014-03-06 17:06:41 +11:00
nixt
c192d5e53d
Fix nested namespace error and some warnings
2014-03-06 06:15:09 +05:30
auriamg
605e4c6dff
Merge pull request #1218 from divvy81/downstream
...
1195 Multiplayer kart selection
2014-03-05 18:04:03 -05:00
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
hiker
b0018d4e5f
Removed unnecessary variable.
2014-03-06 08:49:30 +11:00
hiker
352863a763
Handled case that friends are not in cache when looking at the friend list
...
(which can happen when you look at friends of friends, your own friends
are persistent).
2014-03-06 08:21:54 +11:00
hiker
ebc2299150
Added more comments, code style cleanup only.
2014-03-06 08:04:43 +11:00
hiker
6450c569ac
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-03-06 07:44:18 +11:00
hiker
b80e9217f5
Fix camera tilting (some debug left-over broke it).
2014-03-06 07:43:51 +11:00
Dk
796c8b823a
1195 Multiplayer karts selection screen commit 20
2014-03-06 00:18:12 +05:30
Dk
7d87d79d20
1195 Multiplayer Kart Selection commit 19
2014-03-05 23:22:41 +05:30
Dk
c5d23f7154
1195 Multiplayer kart selection commit 18
2014-03-05 23:02:23 +05:30
Dk
de7d0aa995
Merge remote-tracking branch 'multiplayer/downstream' into downstream
2014-03-05 21:39:20 +05:30
Dk
eddc512b16
1195 Multiplayer kar selection screen commit 17
2014-03-05 21:37:07 +05:30
divvy81
6f98d1d371
Update Ocean.stkskin
2014-03-05 21:15:04 +05:30
Dk
b5feb9740a
1195 Multiplayer kart selection commit 16
2014-03-05 21:08:17 +05:30
Dk
0e17d39f1a
1195 Multiplayer kart selection commit 15
2014-03-05 20:47:05 +05:30
Dk
1dab0daeb5
1995 Multiplayer kart selection screen commit 14
2014-03-05 20:16:48 +05:30
konstin
c09a3172f1
Solving Issue 1180 - Load addon GPs from local folder
2014-03-05 12:11:20 +01:00
hiker
eba8fd1e45
Remove passwords and tokens from Log:: output.
2014-03-05 10:34:28 +11:00
Vincent Lejeune
8600d3bc61
IBL: Spheremap now reflects skybox
2014-03-04 23:37:45 +01:00
Vincent Lejeune
391053e368
IBL: Implement IBL
2014-03-04 23:28:24 +01:00
hiker
02fa3ceed0
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-03-05 08:42:39 +11:00
Vincent Lejeune
718c1cacb0
Improved caustics effect.
2014-03-04 22:30:33 +01:00
hiker
586641120c
Fixed crash in online user search (triggered when pressing ESC while the
...
search is being executed).
2014-03-05 08:21:19 +11:00
Vincent Lejeune
8f127be9de
Fix caustic shader not picking caustic.png
2014-03-04 22:08:34 +01:00
Vincent Lejeune
ada5928aa2
Forgot a hunk
2014-03-04 18:47:10 +01:00
Vincent Lejeune
c93c921028
STKMesh: Support caustic material.
2014-03-04 18:42:33 +01:00
Vincent Lejeune
ada19f828c
Fix black glowing objects.
2014-03-04 17:52:23 +01:00
hiker
f549b729df
Remove camera tilting in flying mode.
2014-03-04 16:56:03 +11:00
hiker
3e478265bc
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-03-04 14:12:11 +11:00
Marianne Gagnon
a063d23b37
Fix intro cutscene
2014-03-03 18:57:10 -05:00
Vincent Lejeune
e1d879a1f2
STKMesh: Improve displace effect.
2014-03-03 23:59:12 +01:00
Vincent Lejeune
4ac634bb11
Fix motion blur edge.
2014-03-03 23:58:37 +01:00
hiker
46304e7f28
Removed m_fake_search, resorted functions to be in a more logical order,
...
added comments.
2014-03-04 08:15:46 +11:00
Dk
72346ee101
1195 Multiplayer kart select commit 13
2014-03-04 00:16:35 +05:30
Dk
99a19ee739
multiplayer kart selection commit 12
2014-03-03 23:53:15 +05:30
Dk
14467e320b
1195 Multiplayer kart selection screen
2014-03-03 23:32:43 +05:30
samuncle
7393fa0603
Add an attenuation based on depth
2014-03-03 16:38:26 +01:00
samuncle
ee76d9b579
Reduce the brightness of the vignette
2014-03-03 15:19:22 +01:00
samuncle
4b92ee1716
Add a vignette to simulate a real camera
2014-03-03 14:12:56 +01:00
hiker
7592200a44
Added more comments.
2014-03-03 21:55:46 +11:00
hiker
4fd6d29462
Removed debug code.
2014-03-03 16:37:54 +11:00
hiker
c1afacfc38
Added support for limited resizing of the online profile cache
...
if too many search results are found. Print warning (instead of
assert) to console if search results should be missing (because of
cache eviction).
2014-03-03 16:32:05 +11:00
hiker
7cdc064640
Fixed replay using the --ghost command line option.
2014-03-03 13:14:56 +11:00
hiker
f1ecf999b2
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-03-03 10:03:02 +11:00
hiker
38bdca2038
Fixed typo.
2014-03-03 09:17:45 +11:00
hiker
32d26f8855
Ignore doxygen output files in src/html.
2014-03-03 08:00:53 +11:00
Vincent Lejeune
9f83b1ab76
Remove unneeded varying in sky.frag.
2014-03-02 17:50:42 +01:00
Vincent Lejeune
da4896c3d8
SSAO: tweak fade distance.
2014-03-01 22:50:22 +01:00
hiker
0ec7542175
Added more comments.
2014-03-01 17:16:23 +11:00
hiker
e79a46ef38
Fixed crash when --track or --kart is used and no default player exists.
...
Also only print an error message if --track or --kart do not work (e.g.
the track/kart is not unlocked, or no default player exists) instead of
aborting STK.
2014-03-01 17:14:56 +11:00
Marianne Gagnon
d954fc6c72
Better fix for player info dialog
2014-02-28 19:54:18 -05:00
hiker
937533dbdb
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-03-01 11:35:46 +11:00
hiker
d1e02a6870
Removed commented out code.
2014-03-01 11:34:48 +11:00
hiker
9f6d6949f6
Merge branch 'master' of https://github.com/dimitrijejankov/stk-code into dim
2014-03-01 11:31:32 +11:00
Dimitrije Jankov
c8cba7df07
Fixes the player_info_dialog not loading...
2014-03-01 01:11:25 +01:00
Marianne Gagnon
093ac337d1
Fix GP info dialog
2014-02-28 18:28:42 -05:00
hiker
7e9682bde6
Merge branch 'master' of https://github.com/dimitrijejankov/stk-code into dim
2014-03-01 09:47:59 +11:00
Dk
33a5dbacfd
1195 multiplayer Kart selection
2014-03-01 00:05:24 +05:30
Dk
84cc9dd972
1195 Multiplayer kart selection
2014-03-01 00:01:32 +05:30
Vincent Lejeune
168780a3ac
Clean some code.
2014-02-28 17:56:45 +01:00
Vincent Lejeune
baba5f79d1
Remove some unused shaders.
2014-02-28 17:30:25 +01:00
Vincent Lejeune
af862cb6c5
#version autoadded to shaders and turn some v120
2014-02-28 17:29:05 +01:00
Dimitrije Jankov
a354648497
Fix for
...
Author: hikerstk
Atm the user config.xml file is in UTF (since previously it stored the
name of players which requires special characters). The player
information is now stored in a separate file, so the config.xml can be
written as ascii now (avoiding problems some people have that they can't
see or edit the file)
2014-02-28 15:32:38 +01:00
hiker
1903aee114
Changed lower and upper bound (at lower speed less speed should be
...
lost), capped speed fraction. Tweaked parachutes parameters somewhat.
2014-02-28 23:57:49 +11:00
Dk
15faf7dbee
1195-Multiplayer kart selection
2014-02-28 16:51:27 +05:30
Bart Cools
c131312b33
Implemented the possibility to give yourself "negative" attachments (parachutes, anvils, bombs) to be able to playtest more efficiently
2014-02-28 11:10:35 +01:00
Bart Cools
89a336ff9a
Tweaked the logic of parachutes to be more modifiable. There now is an upper bound percentage and lower bound percentage which will be applied if you are driving faster and slower respectively. Also added those values in stk_config.xml to make playtesting easier (ticket #1135 )
2014-02-28 11:10:25 +01:00
Dimitrije Jankov
9fc0d5be77
This fixes the issues my patch has caused...
...
1) if I start without existing user config files, it crashes (current
player is NULL)
2) the m_remember_me variable is not used
3) if I understand the code correctly, it sets the current player to a
guest player to indicate that there is no current player atm (which is
then used to start the login window). If this correct, then it would be
better to indicate this by setting the current player to NULL. Reason is
that this way we can easily detect incorrect usage elsewhere (since we
will get a crash, instead of storing data in the guest player, and we
will only later detect that something was not saved as expected).
2014-02-28 10:23:09 +01:00
hiker
14d6e6ae7e
Added missing initialisation of m_is_default.
2014-02-28 19:01:40 +11:00
Dimitrije Jankov
d0f93d3b98
Fixed the skiping of the lobby screen :)
2014-02-28 02:36:53 +01:00
Dimitrije Jankov
2ef991e9e7
Removed the m_default_player from the user_config.hpp because the
...
default user is loaded from the players.xml file
2014-02-28 00:38:35 +01:00
hiker
0ddeb3b434
More documentation, and usage of typedef instead of std::vector<...>.
2014-02-28 09:19:10 +11:00
hiker
bef02c116c
Bugfix: addPersistent/addToCache would call Profile::merge(), which
...
deletes the original profile --> the profile accessed after this call
was invalid.
2014-02-28 08:51:02 +11:00
hiker
76787599d9
Moved some class declarations into functions. Added comments.
2014-02-28 08:48:07 +11:00
hiker
db0c75b988
Make sure that the used bit of a profile is always set when updating
...
the cache bits (even though it probably doesn't matter, but that's
hard to understand, this way is cleaner).
2014-02-28 08:12:03 +11:00
hiker
efdb78f012
Added comments, sorted some functions so that all cache functions
...
are next to each other etc. No actual code change.
2014-02-27 16:55:32 +11:00
hiker
a686c43dd8
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-02-27 15:36:51 +11:00
hiker
42b72cc2a8
Added comments, minor code changes only.
2014-02-27 15:29:30 +11:00
Marianne Gagnon
a5eba8bf83
remove leftover floating ribbon in giftbox model
2014-02-26 19:50:19 -05:00
Vincent Lejeune
108e82afc2
Fix Sara's moving textures.
2014-02-27 01:49:03 +01:00
Vincent Lejeune
9941b18d7f
Rework moving textures support.
2014-02-27 01:22:34 +01:00
hiker
d734d310ab
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-02-27 09:36:11 +11:00
Vincent Lejeune
7532ea1768
Skybox: Do some cleaning.
2014-02-26 22:28:06 +01:00
Vincent Lejeune
9ffa4681d3
Better when actually include the shaders.
2014-02-26 21:53:29 +01:00
Vincent Lejeune
61ea376ff2
Use cubemap for skyboxes
2014-02-26 19:08:24 +01:00
hiker
1c6d63acc7
Added separate create() function for ProfileManager, and some cosmetic changes.
2014-02-26 16:34:46 +11:00
hiker
4d6b110e56
Removed unnecessary #include of user_config.hpp in other hpp files
...
(to reduce the amount of recompilation when user_config.hpp is changed).
2014-02-26 12:52:16 +11:00
hiker
04fe9b6329
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-02-26 12:07:51 +11:00
hiker
2916e3e351
Removed typedef (which is a work around for certain mesa versions)
...
from windows and osx.
2014-02-26 12:06:59 +11:00
Marianne Gagnon
2a8476305d
Fix uninitialized variable
2014-02-25 20:06:02 -05:00
hiker
96a0c599d1
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-02-26 11:55:38 +11:00
hiker
b68b57676f
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-02-26 11:14:06 +11:00
Marianne Gagnon
196cbdee09
Fix bogus error level
2014-02-25 19:14:51 -05:00
hiker
244d00280c
Applied patch from jpirie for fixing mesa 10 compilation problems.
2014-02-26 11:13:03 +11:00
Vincent Lejeune
c4a38b413f
Remove cullface disable in ref tested texture.
2014-02-26 00:43:29 +01:00
hiker
36c9c4d6c3
Fix the display of achievement progress: avoid that a value can be
...
larger than the goal value (otherwise after racing one track 12 times
the progress for Christoffel would should 12/10).
2014-02-26 10:36:02 +11:00
Marianne Gagnon
e1830b4e8a
Replace printf with log
2014-02-25 18:31:43 -05:00
hiker
0b33474f2f
For now disable shader by default, to avoid people not being able to
...
run stk at all (#1212 ).
2014-02-26 10:24:09 +11:00
Vincent Lejeune
6e6667a2ea
Check minor gl version
2014-02-26 00:00:50 +01:00
hiker
4139d145cf
Create a default user config file if no user config file exists.
...
This is for now useful for crash problems (e.g. to disable shaders).
2014-02-26 09:41:38 +11:00
hiker
ac2619007f
Fixed translation.
2014-02-26 09:16:40 +11:00
hiker
c6288af326
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-02-26 08:40:51 +11:00
hiker
b17d2ca0e2
Started to add support for offline achievement viewings (still not
...
fully working).
2014-02-26 08:19:24 +11:00
hiker
7644a5960f
Fixed bug (instance variables were access after the object was deleted);
...
addded code to show the achievement screen.
2014-02-26 08:17:49 +11:00
hiker
6cce1199e9
Fixed typo in new achievement (attribute must be named goal).
2014-02-26 07:41:06 +11:00
Vincent Lejeune
65c0750525
Clean some unneeded code and fix ssao viz.
2014-02-25 19:01:35 +01:00
hiker
f8a462a39f
Added support for different types of achievement checking: besides
...
'all-at-least' (all keys must be >= the corresponding goal value) now also
'one-at-least' (at least one key is >= a constant goal value) is supported.
Implemented 'Arch Enemy' achievement: hit the same kart at least 5 times
in one race.
2014-02-25 17:20:24 +11:00
hiker
2cb1f1fc78
Let only hits from the current player trigger an achievement.
2014-02-24 23:25:56 +11:00
hiker
99fe4388d4
Added an enum to reference the achievements by a name instead of
...
an integer number.
2014-02-24 17:14:42 +11:00
Marianne Gagnon
6eaa1e6db8
Fix crash in tracks without skybox
2014-02-23 19:35:30 -05:00
Marianne Gagnon
317f147406
Fix normals in item boxes and bananas
2014-02-23 19:05:09 -05:00
hiker
71f61f71c6
Fixed compilation errors - no idea why VS compiled it ok previously :(
2014-02-24 08:26:51 +11:00
hiker
4f266639aa
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-02-24 08:22:55 +11:00
hiker
5fc300d7bb
Removed Single and MapAchievent (and Singe/MapAchievementInfo), instead
...
using the generic key-value mapping Map* has provided for everything.
Changed format of achievements.xml to be more compact.
2014-02-24 08:21:15 +11:00
Vincent Lejeune
2d1acf5353
Godray: improve the effect and its stability.
2014-02-23 20:16:03 +01:00
Vincent Lejeune
04fc4c3be7
Reenable Godray (on all track atm)
2014-02-23 20:02:15 +01:00
Vincent Lejeune
778cdcf3ce
Godray/Godfade now declared in new pipeline.
2014-02-23 18:59:24 +01:00
KroArtem
30977b7913
Merge remote-tracking branch 'upstream/master'
2014-02-23 19:41:00 +04:00
Vincent Lejeune
a00abffb01
MotionBlur: Use direct GL calls.
2014-02-23 00:13:22 +01:00
Vincent Lejeune
58ef59dcd9
Split stkmesh into mesh and actual scene node
2014-02-22 23:31:27 +01:00
hiker
b4099b5354
Made the story mode xml file format more compact by saving only the
...
highest level at which a challenge was solved (lower levels will
automatically be marked as solved).
2014-02-22 11:44:21 +11:00
KroArtem
d2179e960d
#1156 , fix quotes in CMakeLists files, see http://cmake.org/Wiki/CMake/Language_Syntax#Quoting for more info
2014-02-21 23:09:10 +04:00
KroArtem
08fcb42e7b
Merge remote-tracking branch 'upstream/master'
2014-02-21 20:59:41 +04:00
hiker
90343ff276
Fixed missing initialisation of m_reset_after_race, and added
...
error message in case of missing achievement data.
2014-02-21 23:39:14 +11:00
hiker
b214799a35
Some refactoring in he Achievement classes, code style cleanup.
2014-02-21 22:15:36 +11:00
hiker
8307e0d8a3
Fixed memory leak.
2014-02-21 16:54:52 +11:00
hiker
1921dbdacd
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-02-21 13:38:55 +11:00
Vincent Lejeune
1325fa7940
Fix UI clipping.
2014-02-20 18:43:51 +01:00
Vincent Lejeune
8ba0fcb8e0
STKMesh: Transparent texture can move now.
2014-02-20 18:31:00 +01:00
nixt
28309e0afd
Add more documentation.
2014-02-20 19:42:45 +05:30
hiker
8f36220b61
Renamed AchievementsSlot to AchievementsStatus.
2014-02-20 23:03:25 +11:00
hiker
700953f295
Removed unnecessary save function.
2014-02-20 22:37:27 +11:00
hiker
a3a5d5fc3b
Moved achievements data into PlayerProfile (and data is saved in players.xml
...
now instead of in a separate achievements.xml file).
2014-02-20 22:04:03 +11:00
Vincent Lejeune
40c4155bd2
STKMesh: Support for (non ref) moving texture
2014-02-20 00:01:02 +01:00
hiker
55665e21a3
Removed some compiler warnings.
2014-02-20 08:55:35 +11:00
hiker
b0b9712fb9
Removed friend relation between StoryModeStatus and UnlockManager.
2014-02-20 08:44:57 +11:00
samuncle
e3f85ba41b
Tweak the cam tilt
2014-02-17 23:47:07 +01:00
hiker
ceecec0fa0
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-02-18 08:52:19 +11:00
hiker
fb1c73718a
Try to remove shaking of camera somewhat.
2014-02-18 08:51:03 +11:00
samuncle
4a5f09dca3
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-02-17 22:37:23 +01:00
samuncle
073a049389
Correction of a syntax error
2014-02-17 22:36:00 +01:00
hiker
23301d822a
Experimentally adjust camera up vector depending on kart roll, which means
...
the camera will now follow the gravity changes.
2014-02-18 08:18:33 +11:00
hiker
a34d47d72a
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-02-18 07:53:30 +11:00
hiker
8cd1e2e491
Renamed the node name in the player.xml file to better describe what
...
it is, removed unused variable.
2014-02-18 07:38:44 +11:00
Vincent Lejeune
e5a174d85b
Add compatibility keyword on and remove some unused shaders
2014-02-17 15:34:57 +01:00
hiker
94da45238c
Renamed GameSlot to StoryModeStatus to better describe its function.
2014-02-17 23:16:53 +11:00
hiker
f2e6126f8d
Renamed Challenge to ChallengeStatus (to better describe what
...
this class is doing).
2014-02-17 22:20:23 +11:00
hiker
1f7028f997
Ignore all bld* directories.
2014-02-17 20:12:15 +11:00
hiker
2b4729a145
Renamed player.?pp to player_profile.?pp (to follow our style
...
guide); removed unnecessary #includes.
2014-02-17 20:10:29 +11:00
hiker
6685966616
Fixed flying.
2014-02-17 17:00:11 +11:00
hiker
2595d31eba
Implemented crude work around for drivers that do not support
...
opengl 3.3.
2014-02-17 16:52:40 +11:00
hiker
9ec80210af
Added simple script that makes all challenges trivial
...
(0 laps, no time or energy limit).
2014-02-17 11:50:13 +11:00
hiker
b313c680fc
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-02-17 11:44:09 +11:00
Marianne Gagnon
8c187f6e5a
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-02-16 19:06:03 -05:00
Marianne Gagnon
148ab7deb3
Improve profiler to CSV export
2014-02-16 19:05:30 -05:00
Joerg
721439748c
Merge pull request #44 from lurk26/patch-1
...
Update README.md
2014-02-17 11:04:18 +11:00
hiker
753e5199b9
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-02-17 10:58:11 +11:00
hiker
c84264a44e
Fixed linux compilation bug.
2014-02-17 10:57:40 +11:00
Marianne Gagnon
8763b95603
Merge branch 'master' of https://github.com/supertuxkart/stk-code
...
Conflicts:
src/utils/profiler.cpp
2014-02-16 18:11:17 -05:00
Marianne Gagnon
1e8c2ff523
Use plain ofstream to write profiler CSV
2014-02-16 18:10:29 -05:00
Joerg
90095882ee
Merge pull request #46 from hiker/new_login
...
Merged into our master.
2014-02-17 10:06:37 +11:00
Marianne Gagnon
289505d909
Add missing profiler
2014-02-16 17:42:06 -05:00
hiker
7a1670bc8a
Merge branch 'master' of github.com:supertuxkart/stk-code into new_login
...
Conflicts:
src/utils/profiler.cpp
2014-02-17 09:41:55 +11:00
hiker
a3f3613e1e
Merge branch 'hiker/new_login'
2014-02-17 08:23:48 +11:00
hiker
8cccc72b9a
Fixed merge from upstream.
2014-02-17 07:48:18 +11:00
hiker
10db4d6c2c
Removed unused variable.
2014-02-17 07:47:01 +11:00
lurk26
c322579248
Update README.md
...
Updated compiling instructions for Windows.
2014-02-16 18:29:30 +05:30
hiker
7b993cd210
Fixed VS compilation.
2014-02-16 21:31:41 +11:00
hiker
c2b4f42c93
Merge remote-tracking branch 'upstream/master' into new_login
2014-02-16 15:11:50 +11:00
nixt
c13b263ba0
Add lots of comments.
2014-02-16 02:52:03 +05:30
KroArtem
12a9b92af0
replace auto_ptr by unique_ptr as auto_ptr is deprecated
2014-02-16 00:32:40 +04:00
Vincent Lejeune
d5d57bbae0
Shadows: Softer edge and smoother cascade transitions
2014-02-15 20:45:47 +01:00
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
Marianne Gagnon
fd8496ffba
Fix linux/gcc compilation
2014-02-13 18:57:51 -05:00
Marianne Gagnon
8227e1c092
Add first rudimentary way to dump profiler measurements to CSV. More work to do!
2014-02-12 21:06:12 -05:00
auriamg
0e722b30a3
Merge pull request #41 from sachith500/bug1118
...
Bugfix for 1118
2014-02-12 18:33:50 -05:00
Vincent Lejeune
57079cbff5
Shaders: Declare penumbraH/V and shadowgen
2014-02-12 23:32:18 +01:00
Vincent Lejeune
3d3333905d
Some factorization.
2014-02-12 22:41:32 +01:00
Vincent Lejeune
0243546e4d
Use an openGL 3.3 compatibility context when available.
2014-02-12 22:16:10 +01:00
Vincent Lejeune
3d61056b81
Revert "STKMesh: Force readonly materials."
...
This reverts commit 8c5a5b9b20 .
2014-02-12 18:46:28 +01:00
Vincent Lejeune
8c5a5b9b20
STKMesh: Force readonly materials.
...
We never changed materials on the fly but better safe than sorry.
2014-02-12 18:31:21 +01:00
Vincent Lejeune
bff2208947
Remove rain effect.
...
Rain enabled map crashes with non glsl codepath, and having a particle
effect handled separatly from others effect made it unmaintainable.
Rain must be implemented using gfx file with eventually a custom
property.
2014-02-12 17:51:18 +01:00
Vincent Lejeune
0cf6e4266a
Graphics: Clean some dead code.
...
Still leave some shadow related code as comment, I will need later to
port cand's work on penumbra shadow.
2014-02-12 17:51:17 +01:00
Sachith Hasaranga Seneviratne
56656b581d
Bugfix for 1118
...
Hide countdown as soon as race ends to prevent the drawGlobalTimer() method in race_gui from checking for failed challenges.
https://sourceforge.net/apps/trac/supertuxkart/ticket/1118
Signed-off-by: Sachith Hasaranga Seneviratne <sachith500@gmail.com >
2014-02-12 22:04:21 +05:30
Vincent Lejeune
70f89a8bce
Shadow: Use 4 cascades.
...
Now that we use GS and textures array it's easier to add a cascade.
4 is still not optimal but I'd like to avoid cascade count inflation as
much as possible ; 4 x 1024x1024 has the bandwidth requirement of the
single 2048x2048 shadowmaps we previously had.
2014-02-11 21:49:46 +01:00
Vincent Lejeune
934d1f10b8
Shadow: Use Geometry Shader for better perfs.
...
The 3 cascades are now rendered in a single pass, using 2D array texture and
a GS to do the dispatch ("layered rendering").
It's possible to use instancing instead but it requires the AMD_vertex_shader_layer
extension which is oddly part of opengl 4.2.
2014-02-11 21:07:44 +01:00
hiker
07a5d90aa0
Merge remote-tracking branch 'upstream/master' into new_login
2014-02-11 22:36:13 +11:00
hiker
ff585e4c73
Automatically compute active challenges when changing the current player.
2014-02-11 22:35:23 +11:00
hiker
7bba1ae478
Fixed saving first-time use of the story mode.
2014-02-11 22:28:41 +11:00
hiker
5b50f64310
Ignore emacs backup files (*~).
2014-02-11 13:41:16 +11:00
auriamg
b060b7651a
Merge pull request #37 from KroArtem/master
...
Fix coverity issues (memleaks, copy-paste error)
2014-02-10 19:23:45 -05:00
hiker
7b45db42e7
Removed debug print.
2014-02-11 10:13:23 +11:00
hiker
2fe21fc3b2
Added operator<<(const bool&), to get proper true/false written
...
instead of 0/1 - but it doesn't work yet :(
2014-02-11 09:52:46 +11:00
hiker
83bc8c83e6
Fixed empty user config.xml files.
2014-02-11 08:54:44 +11:00
hiker
810c536d43
Fixed various minor bugs.
2014-02-11 08:12:10 +11:00
hiker
0228b82ef4
Fixed incomplete merge.
2014-02-11 07:41:35 +11:00
Vincent Lejeune
da6e6daeaa
Create a BO with texture_2d_array for shadows.
2014-02-10 19:01:24 +01:00
Vincent Lejeune
c8844486fa
Shadow: Tweak bias
2014-02-10 15:58:09 +01:00
Vincent Lejeune
515bcbc750
Shadow: very crude csm support
2014-02-10 15:42:17 +01:00
Vincent Lejeune
ad2dcff431
Revert "Fixed running on hd3000 (8192 was too big for my system, not sure"
...
This reverts commit 748dcf1e15 .
2014-02-10 15:39:52 +01:00
hiker
8fc76729f9
Merge remote-tracking branch 'upstream/master' into new_login
2014-02-10 21:37:40 +11:00
hiker
8b7754cd4f
Merge remote-tracking branch 'upstream/master' into new_login
...
Conflicts:
src/challenges/game_slot.cpp
src/states_screens/kart_selection.cpp
src/tracks/track.cpp
2014-02-10 21:37:04 +11:00
hiker
748dcf1e15
Fixed running on hd3000 (8192 was too big for my system, not sure
...
what values should be used best, I used the previous code here).
2014-02-10 21:35:13 +11:00
hiker
230e1789f2
Made sorting of players descending (instead of using > in operator<),
...
removed kart and unique id from game slot, replaced some forgotten calls to
unlock_manager with calls to PlayerManager.
2014-02-10 17:00:16 +11:00
hiker
16521fce5a
Removed loading and saving of challenge.xml file.
2014-02-10 15:28:13 +11:00
Vincent Lejeune
4fd130b2ac
Shadow: Grass now cast shadows.
2014-02-09 23:24:01 +01:00
hiker
8d1591b260
Removed all references to current user/slot from unlock manager.
2014-02-10 08:57:16 +11:00
Vincent Lejeune
18896ff95e
Shadow: Support for alpha tested meshes.
2014-02-09 22:56:50 +01:00
hiker
5acf3e1681
Various compilation fixes, some cosmetic changes.
2014-02-10 08:41:54 +11:00
Vincent Lejeune
19d490a26d
Lights: Remove unused export value.
2014-02-09 21:18:15 +01:00
Vincent Lejeune
1c510881a7
Shadow: Fix broken specular with shadows enabled.
2014-02-09 21:16:16 +01:00
Vincent Lejeune
5d5ac34648
Shadow: soften edge a little
2014-02-09 20:03:54 +01:00
Vincent Lejeune
63db565fd7
Shadow: Better bias.
2014-02-09 19:42:22 +01:00
Vincent Lejeune
f0ef8e9913
Shadow: reenable shadows
...
It's just plain basic shadowmaps, a lot of tweak is still necessary but
it gives a way to see how light values are affected in some places.
(cave in chocolate for instance)
2014-02-09 19:20:55 +01:00
KroArtem
dfe267e9ec
Merge remote-tracking branch 'upstream/master'
2014-02-09 17:23:47 +04:00
KroArtem
33ea1a6ef5
fix coverity issues
2014-02-09 17:04:15 +04:00
hiker
97be85777d
Started to move current player info from unlock manager into
...
player_manager.
2014-02-09 23:22:45 +11:00
KroArtem
452af6f423
fix typo
2014-02-09 02:16:14 +04:00
KroArtem
cdeab373c3
add assert in case ftell fails
2014-02-09 02:04:22 +04:00
KroArtem
49d14e5046
copy-paste error
2014-02-09 01:50:02 +04:00
KroArtem
c4fd2eda08
fixing some memleaks
2014-02-09 01:36:32 +04:00
nixt
39ef5f1655
Merge remote-tracking branch 'origin/master' into battleAI
2014-02-09 00:37:48 +05:30
Vincent Lejeune
ab05cb45b8
Shaders: Remove some unused shaders.
2014-02-08 18:19:16 +01:00
auriamg
3fdae349b2
Merge pull request #36 from KroArtem/master
...
Clean src/modes and src/karts from old logging code
2014-02-07 18:36:54 -05:00
KroArtem
1861c6533a
small fix: mismatching allocation/deallocation
2014-02-08 01:21:39 +04:00
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
KroArtem
fde38a35af
clean src/addons
2014-02-07 16:45:38 +04:00
KroArtem
591e421b10
clean src/io
2014-02-07 16:23:46 +04:00
KroArtem
746c1ddf5d
clean src/items
2014-02-07 15:38:20 +04:00
KroArtem
c0b13b01ff
clean src/modes from printf/cout/cerr
2014-02-07 02:17:49 +04:00
hiker
3fee08d743
Merge branch 'new_login' of github.com:hiker/stk-code into new_login
2014-02-06 23:09:49 +11:00
hiker
045bfeaf13
Removed m_all_players from UserConfigParams (though there are stil
...
bugs in the new code).
2014-02-06 23:08:55 +11:00
hiker
dd860f46f9
Fixed linux compilation.
2014-02-06 15:56:41 +11:00
hiker
78b73aa3c8
Added new player manager, and started to replace the saved data
...
from user_config with player manager.
2014-02-06 14:43:47 +11:00
KroArtem
a61ee58a39
clean src/karts from cout, printf and cerr
2014-02-06 01:26:30 +04:00
Vincent Lejeune
653a695eda
Fix fog looking weird on transparent.
...
But mixing alpha with 0 instead of 1.
2014-02-05 15:07:57 +01:00
Vincent Lejeune
62964430a6
Unset AF when not requested
...
AF was never unset thus making it enabled everywhere even when there was
a 1:1 fragment/texel mapping.
This makes a significant performance boost when AF is enabled.
2014-02-05 15:07:18 +01:00
auriamg
7d0216c110
Merge pull request #32 from KroArtem/master
...
Get rid of printf/cout in kart_selection.cpp, cppcheck fixes
2014-02-04 16:10:37 -08:00
hiker
62d46b7ec0
Renamed XMLWriter to UTFWriter (which is the correcter name).
2014-02-05 08:22:38 +11:00
KroArtem
ca4bfa525e
revert changes in race_manager.hpp
2014-02-04 04:38:52 +04:00
KroArtem
ddbc2299b7
Merge remote-tracking branch 'upstream/master'
2014-02-04 03:50:08 +04:00
KroArtem
a7b2490be6
cppcheck fixes
2014-02-04 03:43:44 +04:00
KroArtem
2772fafcf0
cppcheck fixes, use logging in kart_selection.cpp
2014-02-04 02:53:50 +04:00
Vincent Lejeune
19c9cd217f
Reenable Anisotropic Filtering
2014-02-03 20:30:40 +01:00
Vincent Lejeune
1d6df18b0a
Remove 2 extras printf in shaders.cpp
2014-02-03 20:15:20 +01:00
Vincent Lejeune
5964809f3c
Forget to add transparentfog.frag shader.
2014-02-03 20:14:12 +01:00
Vincent Lejeune
8a341dc800
Add a transparent fog aware shader
2014-02-03 20:04:01 +01:00
Vincent Lejeune
6e93178d68
Fog: Do not use camposition in the shader.
2014-02-03 20:04:00 +01:00
Deve
57b38b4371
Partially fixed #1067 .
...
beforeAddingWidget() wasn't accounting for the extra space required for the random track.
This was causing the ribbon widget in soccer mode to get drawn incorrectly.
I also changed it in easter egg and tracks screen.
Thanks to sachith500.
2014-02-03 19:29:27 +01:00
Deve
35941194bb
If challenges in overworld are GPs, they now indicate so. Thanks to sachith500.
2014-02-03 18:25:36 +01:00
hiker
4d3ba6509e
Added first script to find unused files in STK.
2014-02-03 14:31:08 +11:00
KroArtem
e0a6ec717e
cppcheck: unused functions
2014-02-03 00:53:18 +04:00
Vincent Lejeune
477dc093e3
GPUParticle: Use .hpp extension and reformat files now that I discovered how to force VS to emit space instead of indent.
2014-02-02 21:13:03 +01:00
Vincent Lejeune
deb6883a67
Graphics: try to fix some coverity reported issues.
2014-02-02 21:05:57 +01:00
Vincent Lejeune
9595884354
Fix linux build
2014-02-02 20:52:18 +01:00
Vincent Lejeune
541edc76a0
Shaders:Clean some dead code
2014-02-02 20:41:39 +01:00
Vincent Lejeune
cd43ee3c9d
Lightprepass: Remove now useless lightblend shader.
2014-02-02 20:18:05 +01:00
gl3nn
06b7ba09f5
Bool to string fix for challenges. String to bool applied for
...
achievements.
2014-02-02 15:50:10 +01:00
Deve
9b2b6c1c78
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-02-02 10:54:40 +01:00
Deve
57d0975c50
Avoid some code duplication. Thanks to sachith500.
2014-02-02 10:53:33 +01:00
Vincent Lejeune
fbc47dd6ca
Do not use GL_PACK_INVERT_MESA when screenshooting
...
Oddly enough it is reported as FeatureAvailable in Windows.
This fixes the screenshot bug.
2014-02-02 02:56:10 +01:00
Vincent Lejeune
2bb1254fa4
Fix bloom shader
2014-02-02 02:13:04 +01:00
Vincent Lejeune
afd5d1917c
Fix Opengl pre 3.0 context creation.
2014-02-02 01:03:01 +01:00
Vincent Lejeune
19fd67995d
Use system's glext.h/glxext.h on linux.
2014-02-02 00:47:27 +01:00
Marianne Gagnon
b726ff79b1
Fix bug found by coverity scan. Hopefully I didn't break anything
2014-02-01 18:36:29 -05:00
auriamg
aa324f31e6
Merge pull request #25 from KroArtem/master
...
more coverity fixes, get rid of printf in device_manager.cpp
2014-02-01 15:20:43 -08:00
hiker
b6112997b5
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-02-01 23:23:33 +11:00
Deve
1aa4be85f3
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-02-01 12:25:56 +01:00
Deve
091a7c7c5d
Add sachith500 patch which allow to display message when doors are closed in overworld.
...
I sightly modified it - currently less changes are needed in the exporter.
2014-02-01 12:24:50 +01:00
samuncle
a27b946755
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-02-01 04:19:59 +01:00
samuncle
c9a54b99d9
Use the small font to display FPS in order to reduce the size of the debug view
2014-02-01 04:15:26 +01:00
KroArtem
8f69e0b043
fix compilation
2014-02-01 04:21:55 +04:00
KroArtem
8a731691fd
more coverity fixes, get rid of printf
2014-02-01 03:54:34 +04:00
Arthur-D
842bc33b13
Merge pull request #24 from maxanton/TravisBadge
...
Add travis-ci badge to README.md
2014-01-31 10:17:45 -08:00
Max Teufel
069b560350
Add newline after travis-ci badge
2014-01-31 18:00:24 +01:00
Max Teufel
bb6a15abed
Add travis-ci badge to README.md
2014-01-31 17:57:17 +01:00
hiker
ab5d40ce59
Ignore README.dependencies and bld* directories.
2014-01-31 16:25:49 +11:00
hiker
2a66d53e8f
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-01-31 15:47:07 +11:00
hiker
31063f6ae5
Removed unnecessary \n.
2014-01-31 15:45:53 +11:00
hiker
ade89ba89a
Merge branch 'master' of https://github.com/KroArtem/stk-code into kroartem
2014-01-31 15:39:53 +11:00
hiker
30fdf82436
Adding Tomreyn's travis build files - this time to master ;)
2014-01-31 15:22:52 +11:00
hiker
5e8c8f2715
Fixed linux compilation.
2014-01-31 11:31:26 +11:00
Marianne Gagnon
a38a3b1b9a
Try to fix compilation
2014-01-30 19:14:19 -05:00
auriamg
316b24d087
Merge pull request #22 from sachith500/bug1056
...
Fixed bug #1056 Addons search last updated option text is cropped
2014-01-30 16:00:55 -08:00
hiker
9ef4885db6
Merge branch 'gravity_from_normal'
2014-01-31 08:36:28 +11:00
Sachith Hasaranga Seneviratne
fa72b7716e
Fixed bug #1056 Addons search last updated option text is cropped
...
changed addons_screen.stkgui to ensure the filterdate spinner had adequate space.
Signed-off-by: Sachith Hasaranga Seneviratne <sachith500@gmail.com >
2014-01-30 12:56:54 +05:30
hiker
fe04a73849
Disable upright constraint when having changed gravity.
2014-01-30 17:19:57 +11:00
hiker
9db2d405ef
Removed hardcoded 'up' direction for the raycast for terrain detection.
2014-01-30 17:08:39 +11:00
hiker
8313bcb0d2
Trigger rescue only when the kart is not on gravity terrain.
2014-01-30 12:29:05 +11:00
hiker
c80a78dcf2
Made some pointers const.
2014-01-30 12:27:12 +11:00
Marianne Gagnon
8156b8a66b
Rewrite bizarre code in a way that makes more sense
2014-01-29 19:45:56 -05:00
Marianne Gagnon
87f5fd988e
Don't use raw char*, use std::string instead. Fixes leaks.
2014-01-29 19:39:38 -05:00
Marianne Gagnon
3e253be31e
Misc code improvements
2014-01-29 19:20:57 -05:00
Marianne Gagnon
b7e7808500
Fix failed override attempt
2014-01-29 19:08:17 -05:00
auriamg
d57710b717
Merge pull request #18 from sachith500/bug1056
...
addons_screen minor fix
2014-01-29 15:31:57 -08:00
KroArtem
b80548a46e
fix some coverity issues
2014-01-30 03:19:41 +04:00
Artem
6025db77c3
Merge pull request #1 from supertuxkart/master
...
merge
2014-01-29 14:08:19 -08:00
Sachith Hasaranga Seneviratne
0811d13d18
addons_screen minor fix
...
2 weeks = 14 days not 12
Signed-off-by: Sachith Hasaranga Seneviratne <sachith500@gmail.com >
2014-01-29 23:27:04 +05:30
hiker
199b747ef0
Fixed some compiler warnings.
2014-01-29 22:04:18 +11:00
hiker
e775d8eb98
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-01-29 15:14:42 +11:00
hiker
2479000137
Minor cleanup: renamed resetAllKarts back to unloadAllKarts (to avoid
...
confusion since resetAllKarts in world is called before a race),
and removed unused function.
2014-01-29 15:09:28 +11:00
Vincent Lejeune
e93cfd8b8e
Also factorize particles related state changes.
2014-01-29 02:18:19 +01:00
Vincent Lejeune
a9258500b8
Factorize displace and glow state changes.
2014-01-29 02:08:52 +01:00
Vincent Lejeune
4c7ba19642
This shouldnt be there
2014-01-29 01:57:56 +01:00
Vincent Lejeune
5ae0d2f4dc
Factorize solid state changes.
2014-01-29 01:57:55 +01:00
Vincent Lejeune
c6e466fdcc
Factorise transparent state changes.
2014-01-29 01:57:55 +01:00
Vincent Lejeune
57808f0815
Disable water, bgnodes and textbillboards.
2014-01-29 01:57:34 +01:00
Vincent Lejeune
8b46454859
Add an assertion
2014-01-29 01:35:43 +01:00
Vincent Lejeune
1fa0a9e9cc
Display unhandled materials in debug mode
2014-01-29 01:35:43 +01:00
Vincent Lejeune
c994ed720d
Fix a typo
2014-01-29 01:33:07 +01:00
Vincent Lejeune
e9d995504d
Fix normal maps
2014-01-29 01:21:53 +01:00
auriamg
35405e43b8
Merge pull request #15 from sachith500/master
...
Ticket #1149 - clarify story mode for players.
2014-01-28 15:01:48 -08:00
Vincent Lejeune
098303dced
GPUParticles: Use transparent_effect pass
2014-01-28 21:40:53 +01:00
Vincent Lejeune
5be8dbedab
Increase buffer size in displayfps
2014-01-28 21:35:12 +01:00
Vincent Lejeune
fd968a0acf
OGL32CTX: Factorize UI shaders
...
This should fix UI disappearing after resolution change.
2014-01-28 21:26:16 +01:00
Vincent Lejeune
9955aa6970
STKMeshes: Support for transparent_add_color mat
2014-01-28 20:12:56 +01:00
Vincent Lejeune
143e3a355d
Display rendered objects count instead of ktris.
...
Things go well untill we have more than 200 objects on my system, no
matter how big they are.
2014-01-28 20:05:16 +01:00
Sachith Hasaranga Seneviratne
e50c902bf2
Ticket #1149
...
Message in story mode now additionally points players to the minimap.
Signed-off-by: Sachith Hasaranga Seneviratne <sachith500@gmail.com >
2014-01-28 21:51:46 +05:30
hiker
9192557cd4
Merge branch 'resoCrashFix' of https://github.com/KristofDM/stk-code into KristofDM-resoCrashFix
2014-01-28 22:00:32 +11:00
hiker
1709ccc36d
Started to set the gravity for selected material based on the
...
normal of the triangle where the kart is on.
2014-01-28 21:42:23 +11:00
Marianne Gagnon
f1f8900c5d
Add a couple profiler markers
2014-01-27 18:59:53 -05:00
Vincent Lejeune
f50e6f817d
Use another normal encoding method from a crytek slide.
2014-01-27 23:29:46 +01:00
Vincent Lejeune
1c98cf0b61
Normalize normals when they are used to get more precision
2014-01-27 22:31:01 +01:00
Vincent Lejeune
5771dd98c7
Fix typo
2014-01-27 22:31:01 +01:00
Deve
a65d538b05
Upload patch from ubuntu backports for supertuxkart.desktop file
...
and add polish translation.
2014-01-27 21:52:05 +01:00
Vincent Lejeune
d642bc1489
Lightprepass: Only store normals in rtt
...
Use a more economical rtt format.
2014-01-27 21:47:25 +01:00
Vincent Lejeune
0bbba17e5e
STKBillboard: Fix a typo
2014-01-27 20:33:56 +01:00
Vincent Lejeune
22ccf3bab3
GPUParticle: Use depthbuffer
2014-01-27 20:33:21 +01:00
Vincent Lejeune
dbcf60003b
SunLight: Use DepthBuffer
2014-01-27 20:25:45 +01:00
Vincent Lejeune
ecac127dd6
Fog: Use depthbuffer.
2014-01-27 20:25:19 +01:00
Vincent Lejeune
bc57d246e7
Fog: Factorize setUnifors()
2014-01-27 20:25:07 +01:00
Vincent Lejeune
0b531b20f7
SSAO: Use depth buffer.
2014-01-27 20:24:57 +01:00
Vincent Lejeune
5515f51f65
SSAO: Factorize setUniforms()
2014-01-27 20:24:47 +01:00
Vincent Lejeune
5e68334ce9
PointLight: Use depthbuffer
2014-01-27 20:22:01 +01:00
Vincent Lejeune
ac25b2b8b7
PointLight: Factorize setUniforms
2014-01-27 20:21:51 +01:00
Vincent Lejeune
5694d8b41a
Expose depthbuffer texture
2014-01-27 20:21:41 +01:00
KristofDM
fca20ae088
Final fix for issue #13 .
2014-01-27 18:14:50 +01:00
Vincent Lejeune
c77ffb1882
STKBillboard: Create new SceneNode wrapper.
2014-01-27 17:33:08 +01:00
Marianne Gagnon
9c29ae0b26
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-01-26 19:21:50 -05:00
Marianne Gagnon
601726db70
Fix harmless GCC warning
2014-01-26 19:21:07 -05:00
Vincent Lejeune
8a04c48cec
Reset skybox texture when loading track.
2014-01-27 01:14:20 +01:00
Vincent Lejeune
ac8a729bcd
SSAO: Actually simplifying code was a mistake.
2014-01-27 00:56:58 +01:00
Vincent Lejeune
684d265924
SSAO: Disable alpha test and simplify code
2014-01-27 00:53:52 +01:00
Vincent Lejeune
993d1e26dc
Revert "SSAO: Remove the strenght parameter"
...
This reverts commit b92f0b6ecc .
2014-01-27 00:52:20 +01:00
Vincent Lejeune
63882318a7
SSAO: Fix typo and use 16 samples
2014-01-27 00:47:35 +01:00
Vincent Lejeune
b92f0b6ecc
SSAO: Remove the strenght parameter
2014-01-27 00:41:41 +01:00
Vincent Lejeune
31991ecd7e
SSAO: Improve randomness using NEAREST filtering
2014-01-27 00:09:36 +01:00
Vincent Lejeune
bf22a1122b
GPUParticles: Force alpha additive for flip particles
2014-01-26 23:34:21 +01:00
Vincent Lejeune
a6c9f11374
SSAO: Use sampling points proposed by Auria.
2014-01-26 23:17:32 +01:00
Vincent Lejeune
270c2e2c52
Lightprepass: Handle skybox ourselves
2014-01-26 23:00:17 +01:00
hiker
41a9b14859
Fixed missing collisions in mansionl (caused by negative default mass
...
for objects). Added assert to bullet to catch this kind of problem early.
2014-01-26 23:36:44 +11:00
Marianne Gagnon
30011be115
My tweaks to SSAO, to improve randomness and final blending
2014-01-25 22:03:47 -05:00
hiker
083c2d42bd
Properly fixed position of physical bodies when they are animated
...
(thanks to auria).
2014-01-26 13:35:35 +11:00
Marianne Gagnon
3d054ea91b
Bunch of small code cleanup
2014-01-25 21:05:07 -05:00
auriamg
4355c6450e
Merge pull request #12 from KroArtem/master
...
fix some cppcheck warnings
2014-01-25 17:23:24 -08:00
Vincent Lejeune
8b5df4143f
Fix attempt for black objects.
2014-01-26 01:56:08 +01:00
Vincent Lejeune
88561aa838
STKMesh: Implement (single) texture detail support for objectpass shaded objects.
2014-01-26 01:33:13 +01:00
Vincent Lejeune
2e994502e3
Properly handle unlit object.
2014-01-26 01:09:25 +01:00
KroArtem
fe9cd74934
fix some cppcheck warnings
2014-01-25 23:21:12 +04:00
Stephen Just
8d0bf49cbd
Update gitignore file
2014-01-25 15:44:59 +00:00
Vincent Lejeune
06ba2fcb6a
STKMesh: Use transparent shader for onttextureblend
2014-01-25 23:09:00 +01:00
Vincent Lejeune
f287cc611d
STKMesh: Factorize transparents for reusability
2014-01-25 23:07:07 +01:00
Vincent Lejeune
2e6f95712c
Use named passes
2014-01-25 23:02:24 +01:00
Vincent Lejeune
e6c419e695
SSAO: Improve the initial sampling values.
2014-01-25 22:59:09 +01:00
Vincent Lejeune
724aed6609
STKMesh may want to draw rimlimit materials
2014-01-25 22:57:51 +01:00
Marianne Gagnon
825ee2fdfe
Fix compilation
2014-01-24 21:02:21 -05:00
Marianne Gagnon
77f36e3e2f
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-01-24 19:13:59 -05:00
Marianne Gagnon
07eba6dfd7
Minor profiler updates
2014-01-24 19:13:53 -05:00
Vincent Lejeune
00b6705624
Revert "Factorize GL state changes to get better performances."
...
This reverts commit 17be149e02 .
2014-01-25 01:05:10 +01:00
Vincent Lejeune
17be149e02
Factorize GL state changes to get better performances.
2014-01-25 00:58:35 +01:00
Marianne Gagnon
8295a1e226
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-01-24 18:49:56 -05:00
Marianne Gagnon
190cc9fa9a
Clarify a couple error messages
2014-01-24 18:48:40 -05:00
hiker
8389f4afb6
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-01-25 10:41:00 +11:00
Marianne Gagnon
878d0dcf05
Improve profiler a bit
2014-01-24 18:38:47 -05:00
Vincent Lejeune
c7b2f82e8f
Revert "Move final blit in renderGLSL instead of pp"
...
This reverts commit 16d87cf820 .
2014-01-25 00:22:44 +01:00
Vincent Lejeune
16d87cf820
Move final blit in renderGLSL instead of pp
2014-01-24 21:37:34 +01:00
Vincent Lejeune
a8ce8c9344
STKAnimatedMesh: Fix setMesh.
...
We don't clean our vram however.
2014-01-24 21:12:55 +01:00
Vincent Lejeune
324c1c1e95
STKMesh: Properly handle setMesh
2014-01-24 21:07:49 +01:00
Vincent Lejeune
c9ecaffb2b
STKAnimatedMesh: First pass id is 0, not 1
2014-01-24 20:34:23 +01:00
Vincent Lejeune
8bd6d7945c
STKAnimatedMesh: Support for rimlit karts
2014-01-24 20:29:54 +01:00
Vincent Lejeune
559e0a96ca
Remove wrong glHint
...
Spotted by ARB_DEBUG_OUTPUT
2014-01-24 20:27:18 +01:00
hiker
fb8347e135
When the physics are updated from the graphics, subtract the
...
graphical offset again to make sure physics and graphics are in sync.
2014-01-24 23:46:52 +11:00
hiker
93cb4b2090
The position and rotation of an IPO animated physical object from a library
...
must be transformed by the transform of its (graphical) parent (only library
nodes have a graphical parents) to be correct.
2014-01-24 23:44:46 +11:00
hiker
9651a9f224
Minor code cleanup, renamed a variable and function.
2014-01-24 22:25:55 +11:00
Vincent Lejeune
a257c1a35c
STKAnimatedMesh:
...
Avoid copying mesh in the second pass.
2014-01-24 00:19:10 +01:00
Vincent Lejeune
b362185593
STKAnimatedMesh: Plug the Light prepass system
...
Now animated object are rendered like static object with our pipelines.
rimlimit shader needs to be ported though.
2014-01-23 23:26:43 +01:00
Vincent Lejeune
24fa173c60
STKMesh: Staticify draw function for reusability.
2014-01-23 22:12:03 +01:00
Vincent Lejeune
176e46e5a9
STKAnimatedMesh: Uses custom render.
...
But not direct gl draw call yet.
2014-01-23 21:35:56 +01:00
Vincent Lejeune
b738b1eab3
Revert fog move after transparent pass.
2014-01-23 20:17:17 +01:00
Vincent Lejeune
12f961ee97
Fix lightviz always actived
2014-01-23 20:15:29 +01:00
Vincent Lejeune
f60af23ecd
LightPrepass: Disable light on non stkmeshes
2014-01-23 20:05:35 +01:00
Vincent Lejeune
4ebb0ee8d8
OGL32CTX: Fix minimap/kart selection orientation
2014-01-23 20:05:07 +01:00
Vincent Lejeune
9a5bf69ca8
STKMesh: Add an animated variant
...
Not customised atm.
2014-01-23 19:14:13 +01:00
hiker
2bfdfc0373
Fixed crash when trying to vote.
2014-01-23 13:25:50 +11:00
hiker
6066dba9d0
Fixed compiler error.
2014-01-23 13:24:08 +11:00
Marianne Gagnon
70fed45ec1
Fix skin crash
2014-01-22 20:15:35 -05:00
Marianne Gagnon
069f15937a
Improve profiler a little
2014-01-22 19:40:40 -05:00
Marianne Gagnon
1d2473e585
Colorize profiler bars so we can see something
2014-01-22 19:21:45 -05:00
Marianne Gagnon
583092bbf8
Don't return pointer to temporary object
2014-01-22 19:03:55 -05:00
hiker
1e721906e7
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-01-23 09:55:52 +11:00
hiker
57ff391cc3
Re-enable voting for addons.
2014-01-23 09:55:32 +11:00
hiker
d4b95e81b4
Moved hash function from StringUtils into player, there is no
...
other use of that function.
2014-01-23 09:54:48 +11:00
nixt
e6ba8c3b1d
Fix some errors due to merge
2014-01-23 04:05:29 +05:30
Vincent Lejeune
66894dfeaf
LightPrepass: Reenable light debug view
2014-01-22 23:11:49 +01:00
Vincent Lejeune
fc9144786b
Use texture swizzle when SSAO is disabled
2014-01-22 22:52:46 +01:00
nixt
cc78233258
Merged from master
2014-01-23 03:17:32 +05:30
Vincent Lejeune
b94f8f0c18
Light: Factorize some code.
2014-01-22 22:22:54 +01:00
Vincent Lejeune
68976a7a8e
STKMesh: Found the correct swizzle for untextured geometry
2014-01-22 19:07:59 +01:00
Vincent Lejeune
d13032ca9b
STKMesh: Support for untextured object
...
The color are not the correct one though...
2014-01-22 18:47:22 +01:00
Vincent Lejeune
38fc539520
Enable debug
2014-01-22 18:06:39 +01:00
hiker
6b27179b96
Added missing initialisation, some cosmetic changes.
2014-01-22 17:26:03 +11:00
hiker
c72544b49d
Added missing calls to Screen::init().
2014-01-22 16:54:57 +11:00
hiker
476d7db741
Disable online/login widget while login/logout are in progress (to
...
avoid race conditions, i.e. a new login arriving at server before
previous logout was processed).
2014-01-22 16:43:59 +11:00
hiker
2821913b47
Go back to main menu when login out.
2014-01-22 16:34:45 +11:00
hiker
836b9fae9c
Improved layout of login screen.
2014-01-22 16:20:45 +11:00
Vincent Lejeune
23e5a6c304
Fix kart selection upside down bug
2014-01-22 03:26:04 +01:00
Vincent Lejeune
0926c7be51
Fix Water
2014-01-22 03:16:01 +01:00
samuncle
65a72f2ba8
Correcting a bug with the linker
2014-01-22 02:26:30 +01:00
Vincent Lejeune
3410b3df6f
OGL32CTX: Fix mipmap in gui
2014-01-22 02:11:28 +01:00
Vincent Lejeune
c9ad17cae1
OGL32CTX: Fix draw of karts and minimap
...
But it is rendered upside down...
2014-01-22 01:45:21 +01:00
hiker
e891adc8a4
Improved cmake configuration to copy the dlls into the bin
...
folder, which makes it much easier to start STK from within VS
(just set supertuxkart to be the startup project). Note that
this requires the new dependencies_for_0.8.2.zip to be installed!
2014-01-22 10:23:08 +11:00
hiker
a6108181e8
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-01-22 10:01:41 +11:00
Vincent Lejeune
4cbbf91e4e
Light: Sunlight uses the new shaders.
2014-01-21 23:45:53 +01:00
gl3nn
4438db3bbf
Fixes #11
2014-01-21 23:11:22 +01:00
Vincent Lejeune
5f942a9d8b
OGL32CTX: Replace a couple of draw2DImage/draw2DRectangle
2014-01-21 23:01:58 +01:00
hiker
0d51477f5b
Disabled online menu by default (use --online to get access to it).
2014-01-22 08:52:22 +11:00
Vincent Lejeune
271a26eaf0
OGL32CTX: Always return true when a feature is queried
2014-01-21 22:25:19 +01:00
Vincent Lejeune
f880d13175
Fix FBO related queries with OGL3.2+
2014-01-21 22:25:18 +01:00
hiker
5918f43ce6
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-01-22 08:06:28 +11:00
hiker
1930c362d5
Updated source file list (forgot to update this when removing some files).
2014-01-22 08:05:47 +11:00
Vincent Lejeune
5c2b39794c
Render fog on top of transparent and fix bubbles
2014-01-21 21:49:19 +01:00
hiker
5474b5528f
Removed unnecessary parameter from onUpdate calls.
2014-01-22 07:43:17 +11:00
Vincent Lejeune
cebcfabf05
GPUParticle: Simulation uses vao now.
2014-01-21 21:21:03 +01:00
Vincent Lejeune
9da56ddefc
STKMesh, GPUParticles: Some factorization.
2014-01-21 20:58:24 +01:00
Vincent Lejeune
1f4e697e48
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-01-21 20:34:25 +01:00
Vincent Lejeune
63a611b9ea
GPUParticles: Use VAO
2014-01-21 20:34:20 +01:00
samuncle
5efa395acb
SSAO is stronger now
2014-01-21 20:06:06 +01:00
Vincent Lejeune
43e4db99b1
GPUParticles: Factorize shader loading in shader.h/cpp
2014-01-21 19:36:55 +01:00
Vincent Lejeune
0d57f4db0d
Hack to make displacing object non animated and thus STKMeshes.
2014-01-21 18:42:19 +01:00
Vincent Lejeune
f95c6f0277
STKMesh:Displace support
2014-01-21 18:42:18 +01:00
Vincent Lejeune
7faed75a84
STKMesh: Add support for Displacing
2014-01-21 18:42:18 +01:00
Vincent Lejeune
478a9ab5d3
STKMesh: Some simplifications.
2014-01-21 18:42:18 +01:00
hiker
f0365fc7a0
Removed old login dialog. Fixed tabs in login screen that
...
were not properly focused.
2014-01-21 17:14:23 +11:00
hiker
50ef878e39
Enabled at least VERIFYPEER.
2014-01-21 11:24:07 +11:00
hiker
b9b2f9626e
Support running stk from the cmake bin directory.
2014-01-21 08:59:55 +11:00
hiker
f346bc444e
Fixed linux compilation.
2014-01-21 08:59:00 +11:00
hiker
6c02f99bca
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-01-21 08:13:55 +11:00
hiker
0cefc1d79c
Fixed crash in first-time-start of STK when glsl reported to
...
be available, but doesn't work.
2014-01-21 08:13:03 +11:00
hiker
f33d547c54
Moved verbose option to be done even if a file is downloaded.
2014-01-21 08:12:08 +11:00
Vincent Lejeune
a67f5bf511
STKMesh: Use forward rendering for transparent
...
Transparent objects may be double sided (like bubble),
it doesn't make sense to use a deferred renderer.
2014-01-20 21:42:38 +01:00
Vincent Lejeune
f3a9b24880
STKMesh: Start support for transparent object.
...
Highly experimental, only applies on the blob shadow under karts.
2014-01-20 20:43:39 +01:00
Vincent Lejeune
ceb1fdc88a
SSAO: Use a single texture fetch for random.
2014-01-20 20:43:03 +01:00
Vincent Lejeune
aeba31c4cf
Profiler: Fix the rendering and use finer grain.
2014-01-20 20:06:04 +01:00
hiker
260f4f148d
Reworked the login and register dialog to be a screen - still
...
work in progress (and guest login does not work yet).
2014-01-20 21:39:59 +11:00
Vincent Lejeune
0817ec4ee0
STKMesh:Another round of factorization.
2014-01-19 21:35:09 +01:00
Deve
c34e752b23
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-01-19 21:34:14 +01:00
Deve
dcfd55502c
Added experimental change which allow to use alt-tab and other shortcuts on linux when game is run in fullscreen mode.
...
This method is used in many other projects and should work good. Currently modern games
use window manager fullscreen rather than grab whole mouse and keyboard.
Tested on Gnome, Unity and Openbox and it works well. Though it should be tested also on
other desktop environments.
Also performance impact should be tested.
I added simple workaround for Gnome, which sometimes creates fullscreen window smaller
than display.
If some problems will occur, feel free to revert it.
2014-01-19 21:31:54 +01:00
Vincent Lejeune
e26f8d4bc8
Some welcomed factorization.
2014-01-19 21:17:51 +01:00
Vincent Lejeune
32836cf93d
Use 8 samples instead of 16
2014-01-19 20:57:58 +01:00
Vincent Lejeune
24443829db
STKMesh: Support grass shader
2014-01-19 20:56:10 +01:00
Vincent Lejeune
99dad9c304
Remove unused normalmap/splatting providers
2014-01-19 19:54:20 +01:00
Vincent Lejeune
859be83074
Explicitly define fragment exported values.
2014-01-19 19:31:00 +01:00
Vincent Lejeune
bf52c2abf8
Undefine ARB_DEBUG_OUTPUT
2014-01-19 19:00:59 +01:00
Vincent Lejeune
e4acf49e91
Fix a crash with snow enabled tracks.
2014-01-19 18:54:00 +01:00
Vincent Lejeune
fb6649eaad
texture2D is deprecated, use texture instead
2014-01-19 18:53:35 +01:00
Vincent Lejeune
496146b617
Use linear filtering for glow effect
2014-01-19 18:21:19 +01:00
Vincent Lejeune
d6d8301f17
SSAO: Use a noise texture rather than a function
2014-01-19 18:20:57 +01:00
Vincent Lejeune
ab3cb86359
Use nearest sampling for some others rtts
2014-01-19 02:38:52 +01:00
Vincent Lejeune
f54b9efebd
Use nearest filtering for some rtt
2014-01-19 02:28:10 +01:00
Vincent Lejeune
4d66503dae
STKMesh: Use objectref now
2014-01-19 02:15:17 +01:00
Marianne Gagnon
5ce82f9f55
Add a bunch of profiling markers. Gives us some idea where time is spent. Not perfect but better than nothing
2014-01-18 19:48:20 -05:00
Vincent Lejeune
2609e5c709
LightPrepass: start porting object_ref
2014-01-19 01:32:08 +01:00
Vincent Lejeune
9ddfa9261a
Revert to a specific define for ARB_DEBUG_OUTPUT
...
It does not work well with nvidia driver.
2014-01-19 00:43:12 +01:00
Vincent Lejeune
bd972be83a
Remove some unused shaders
2014-01-19 00:26:54 +01:00
Vincent Lejeune
e8f8aae5f3
Fix build on linux
2014-01-19 00:02:30 +01:00
Vincent Lejeune
a33195bc15
STKMesh: Avoid recomputing MVP several times
2014-01-18 22:15:55 +01:00
Vincent Lejeune
603fdbb70a
Factorize mesh shader.
2014-01-18 21:59:48 +01:00
Vincent Lejeune
6df85e260c
Shaders: FullScreenShader are not loaded at startup.
...
Besides being cleaner it also help finding error in shaders.
2014-01-18 21:35:52 +01:00
Vincent Lejeune
6a995ab178
STKMesh: Clean our buffers when deleted.
2014-01-18 20:47:53 +01:00
Vincent Lejeune
a1f5e47cba
Use ARB_DEBUG_OUTPUT on windows in Debug mode.
...
Hopefully the extension will work properly with every driver...
2014-01-18 20:28:13 +01:00
Vincent Lejeune
00cf026051
Tweak glow so that black halo is less visible.
2014-01-18 20:11:18 +01:00
Vincent Lejeune
47099fb1a3
Use glow vao.
2014-01-18 19:56:35 +01:00
Vincent Lejeune
5f7e6b2834
Some fixes to the renderer.
2014-01-18 19:47:18 +01:00
Vincent Lejeune
dec2cb29ec
STKMesh: Support splatting
2014-01-18 19:03:10 +01:00
Vincent Lejeune
fbe9b26127
STKMesh: Support spheremap material
2014-01-18 18:10:22 +01:00
Vincent Lejeune
002bb9c276
Remove unused spheremap.vert/frag
2014-01-18 17:26:01 +01:00
Vincent Lejeune
42e6da443a
Simplify Spheremap shader.
2014-01-18 03:25:54 +01:00
gl3nn
0058002260
Merge branch 'master' of https://github.com/supertuxkart/stk-code.git
2014-01-18 02:31:19 +01:00
gl3nn
27a28514e7
Fix the game state of when dialogs should be popped up.
2014-01-18 02:28:22 +01:00
Marianne Gagnon
2e21d40ce4
Support tangent meshes in MeshTools
2014-01-17 19:33:54 -05:00
gl3nn
ca8d9560b7
Forgot to take out the log statement.
2014-01-18 01:23:48 +01:00
Vincent Lejeune
32ec3c0f07
STKMesh: Use a better error message instead of crashing
2014-01-18 01:18:40 +01:00
Marianne Gagnon
5a2ad7c8aa
Create mesh with tangents if needed in track objects too
2014-01-17 19:16:01 -05:00
gl3nn
9ac3702da4
Merge branch 'master' of https://github.com/supertuxkart/stk-code.git
2014-01-18 01:07:32 +01:00
gl3nn
3941b782b8
Fix for the overloaded toString() function that takes booleans as
...
parameter.
2014-01-18 01:07:01 +01:00
Marianne Gagnon
95103c988f
respect the new flag and avoid creating animated meshes where unecessary
2014-01-17 18:55:47 -05:00
Vincent Lejeune
eb86182710
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-01-18 00:48:13 +01:00
Vincent Lejeune
605becfbdc
OGL32CTX: Enable glsl based on GL major version.
2014-01-18 00:47:31 +01:00
Marianne Gagnon
ec40e2f7fc
Undo the hack to always use tangents with LOD meshes, now that the exporter correctly exports the tangent flag
2014-01-17 18:36:38 -05:00
auriamg
18484df443
Merge pull request #4 from thelittlegumnut/Ticket_#1148
...
Ticket #1148
2014-01-17 15:07:48 -08:00
Vincent Lejeune
787866909d
SSAO: Do not use trilinear filtering
...
Normals RTT is not mipmapped and thus bad things happened above a
certain value in the depth buffer because of trilinear filtering.
2014-01-17 23:59:08 +01:00
Vincent Lejeune
693e2c7e33
STKMesh: Support NormalMapped meshes.
2014-01-17 23:50:06 +01:00
Vincent Lejeune
7da65c15f0
Enable tangents on every lod instance and fix normalmap
...
This will increase the memory footprint of lod object,
however this is the only way I found to make meshbuffer using
GE_NORMAL_MAP to provide the necessary info to this shader.
Now the pedestal in overlord looks perfectly normal mapped.
2014-01-17 21:55:25 +01:00
Vincent Lejeune
8e1d76dd8f
Throw a fatal error if we ask a normalmap effect and the underlying mesh doesnt have one.
2014-01-17 21:15:43 +01:00
Vincent Lejeune
620be813eb
Forget an extra qualifier
2014-01-17 19:33:44 +01:00
Vincent Lejeune
5a5a39f586
OGL32CTX: Use the userconfig parameter to decide to use glsl.
...
Queried extensions does seems to disable glsl when using a core context.
2014-01-17 19:28:26 +01:00
Vincent Lejeune
2500c6cb49
Fix compilation on non VS build
2014-01-17 19:22:00 +01:00
Vincent Lejeune
ef163b29df
LightPrepass: Remove Forced bloom.
...
This will be implemented using emissive material but our material loaders doesn't support it.
2014-01-17 19:21:23 +01:00
Max Teufel
2721e2d82a
Using GitHub Flavored Markdown in INSTALL.md to fix some mistakes from commit b903f8788c
2014-01-17 19:00:16 +01:00
Vincent Lejeune
77c9289645
LightPrepass: Reenable glow pass.
2014-01-17 18:52:44 +01:00
Max Teufel
b903f8788c
INSTALL rewritten in Markdown. Note: This commit maybe needs a correction because the Ubuntu command is very long.
2014-01-17 17:45:53 +01:00
thelittlegumnut
9730e05b1d
Changed challenge completion strings.
2014-01-17 19:34:22 +11:00
gl3nn
97c19ece3c
Merge branch 'master' of https://github.com/supertuxkart/stk-code.git
2014-01-17 04:58:29 +01:00
Torben Carrington
15401c0b02
Fixed music starting in menu, also corrected using the startRightNow parameter in MusicManager::startMusic()
2014-01-16 19:13:23 -08:00
vlj
6ac970d9a3
STKMesh: Use SSAO
2014-01-16 23:14:59 +01:00
Vincent Lejeune
c7fe307a52
LightPrepass: Split the rendering in 2 phases.
2014-01-16 17:51:33 +01:00
Vincent Lejeune
734f320f75
STKMesh: Filter stkmesh using stencil and disable lightblend on them.
2014-01-16 17:51:30 +01:00
Vincent Lejeune
7cda534451
STKMesh: Enable it unconditionnaly, but dont use it on shader_ref
2014-01-16 17:51:26 +01:00
Max Teufel
1b45204c0a
TODO rewritten in Markdown.
2014-01-16 17:43:22 +01:00
Max Teufel
19b495d9a0
Remove unneeded CHANGES file.
2014-01-16 17:43:22 +01:00
Max Teufel
62ece5cd59
CHANGELOG rewritten in Markdown.
2014-01-16 17:43:22 +01:00
hiker
da7bad92e6
Don't return error code if a file to be removed does not exist.
...
Improved error handling in addons.xml download.
2014-01-16 15:29:47 +11:00
Marianne Gagnon
472274561d
Update INSTALL file
2014-01-15 18:41:17 -05:00
Deve
57ea6ae0d0
Update .gitignore file
2014-01-15 20:31:15 +01:00
Deve
c2c7d618f4
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-01-15 19:57:44 +01:00
Deve
2bb859dcd7
Actually testing commit. Update .gitignore file.
2014-01-15 19:56:06 +01:00
Arthur-D
65c0c95490
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-01-15 19:34:16 +01:00
Max Teufel
4dd5ab3b65
README rewritten in Markdown. Fixed some minor mistakes too.
2014-01-15 19:30:31 +01:00
Joerg Henrichs
0a1016db71
STKMesh: Some factorisation
2014-01-15 13:19:55 +11:00
Joerg Henrichs
c622ba258c
Made stk-assets the default name of the assets data directory.
2014-01-15 11:56:34 +11:00
Joerg Henrichs
981036656d
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-01-15 11:53:32 +11:00
Joerg Henrichs
4f740fd6a5
Some refactoring
2014-01-15 11:51:48 +11:00
Joerg Henrichs
0464274b84
STKMesh: Fix glUniform wrong call
2014-01-15 11:51:01 +11:00
Marianne Gagnon
bc6be28f7d
Add ignore file
2014-01-14 19:50:51 -05:00
Joerg Henrichs
949877b826
Fixed compiler warning.
2014-01-15 11:49:37 +11:00
Joerg Henrichs
0adddd4401
STKMesh: Force GL_REPEAT to wrapped texture component.
...
It fixes bad uv in valley.
2014-01-15 11:48:40 +11:00
Joerg Henrichs
e6bfc695cb
SSAO: Honor the user parameter.
2014-01-15 11:47:24 +11:00
vincentlj
f338fbacb1
SSAO: Use a proper rand() function to generate fragment local coordinate system.
...
This new level of randomness get rid of most banding effect, SSAO now looks quite good.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-14 14:22:01 +00:00
hikerstk
9ee06a5fe0
Replaced boolstr with toString specialisation for bool;
...
fixed translations in current user. Otherwise many many
cosmetic only changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15071 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-14 11:47:25 +00:00
vincentlj
dafc30b2d0
Force blending mode for draw2d.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15070 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-14 01:31:26 +00:00
vincentlj
23d0b42b5f
Light: Simplify slightly shader
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15069 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-14 01:24:28 +00:00
vincentlj
a5c84822cc
Fix colortexturedquad shader/vertexpointer.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15068 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-14 01:05:03 +00:00
vincentlj
d5c06c8583
Fix colored rectangle color.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15067 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-14 00:11:59 +00:00
vincentlj
1cdb8ec8f3
OGL32CTX: Use VAO for draw2DImage, remove ALPHA_TEST as it is deprecated
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15066 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-14 00:00:21 +00:00
vincentlj
492dae5358
Fix windows build
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15065 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 23:56:59 +00:00
vincentlj
6697a2d7af
Another batch of conversion to draw2DImage
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15064 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 23:19:47 +00:00
vincentlj
c283f82729
Use draw2DImage for other components in race gui
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15063 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 23:07:29 +00:00
vincentlj
a60f549760
Fix draw2drectangle and spread use of draw2Dimage
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15062 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 22:59:45 +00:00
vincentlj
35f37a62c2
Font looks better now.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15061 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 22:28:10 +00:00
vincentlj
43a206ff2c
Characters are now black again.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15060 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 22:16:04 +00:00
vincentlj
c88d89a4f0
SSAO: Some tweaks.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15059 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 18:59:59 +00:00
vincentlj
df62ac5949
OGL32CTX: Render gui using shaders.
...
Font is temporarily white.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15058 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 18:31:47 +00:00
vincentlj
a16402e676
OGL32CTX: Missed a draw2DImage call
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15057 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 18:22:47 +00:00
vincentlj
6f680c1a8e
OGL32CTX: Use our draw2DImage for scalable_font.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15056 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 18:18:40 +00:00
vincentlj
e23d9c23e9
Clean SSAO Provider.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 18:02:39 +00:00
vincentlj
d84bc88d47
SSAO: Use direct gl calls.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 17:56:05 +00:00
vincentlj
e2a6ce7889
Remove an unneeded drawAll.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15053 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 17:41:19 +00:00
vincentlj
959ad054de
Clean Fog provider.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15052 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 17:37:33 +00:00
vincentlj
badb01c68b
Use custom gl calls for fog.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15051 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 17:30:25 +00:00
vincentlj
6f2f7c480a
Use direct call for some gaussian3blur invokation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15050 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 16:54:48 +00:00
vincentlj
f2ef95a7b5
Found another instance of PassThrough Shader usage.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 16:40:31 +00:00
vincentlj
4063fe83a9
Remove rain effect provider it's not used anymore.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15048 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 16:05:46 +00:00
vincentlj
c02d99ed9f
GPUParticles: Do not grow when size is 0
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 16:05:26 +00:00
vincentlj
c520db663f
OGL32CTX: Some fixes.
...
The track is now displayed (even with light) but not the karts, animations...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 15:28:37 +00:00
vincentlj
6a8396ea33
Forget a passthrough call and fix texturedquad shader.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15045 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 15:22:58 +00:00
vincentlj
3504f04a4e
Remove unneeded flip shader.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15044 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 14:54:07 +00:00
vincentlj
7d1df19342
Use a passthrough shader for some fullscreen effect.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15043 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 14:50:16 +00:00
vincentlj
645d4504ab
Clean GaussianBlur6 shaders.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 14:31:31 +00:00
vincentlj
62e5fbf6ad
Use direct call for Gaussian 6 Blur.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15041 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 14:23:30 +00:00
vincentlj
9b4288b576
Lights: Clean lightblend provider.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15040 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 13:43:18 +00:00
vincentlj
a21f77706a
Lights: Also use direct calls for lightblend.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 13:38:59 +00:00
vincentlj
4f209d38c6
Light: Readd blending so that sunlight is not killed by pointlight.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 13:15:51 +00:00
vincentlj
1edba6d394
Clean PointLight Provider and snow provider.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15037 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 13:07:12 +00:00
vincentlj
f654967b07
Lights: Use custom gl calls.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15036 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 12:56:27 +00:00
hikerstk
d53e3180ac
Fixed enabling internet in the GUI (i.e. re-init of
...
news manager and addons manager will happen now).
For online menu a dialog is now presented to explain why
it can't be selected if internet is disabled. Addons can
be selected with internet is disabled if there are
existing addons (so that it's possible to remove addons
without internet access).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15035 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 11:35:12 +00:00
hikerstk
428f74d859
Removed old network_http and related data structure. Its function
...
is now either in the addons/news_manager, or in Online::RequestManager.
Also added leack check and copy-preventing to online/Request.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15034 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 05:21:48 +00:00
hikerstk
c8d066ce37
Fixed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15033 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 03:02:08 +00:00
vincentlj
468d5458bc
Clean color_level shader providers.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15032 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 00:11:31 +00:00
vincentlj
164f1dda11
Use direct gl calls for color_levels.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15031 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 00:04:53 +00:00
vincentlj
6d57947c73
Remove some leftover comments.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 23:52:13 +00:00
vincentlj
1da42b81a6
Remove PPDisplace provider.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 23:47:34 +00:00
vincentlj
47d7f4fdd4
Use direct gl calls for ppdisplace.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 23:43:00 +00:00
vincentlj
98f58d257c
Clean bloom shader provider.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 23:27:31 +00:00
vincentlj
f8e17ecffa
Use direct gl calls for BloomBlend too.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15026 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 23:19:28 +00:00
hikerstk
a49d85fa3e
Replaced pop_back, which is not available on all compilers (for
...
std::string).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15025 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 22:43:45 +00:00
samuncle
1ca7413aed
Add better lantern post
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 21:34:43 +00:00
vincentlj
9968ff1ccf
Use custom opengl call for bloom fullscreen shader.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15022 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 21:07:14 +00:00
samuncle
2dea6ded0d
Add another track to test the library
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 20:46:33 +00:00
samuncle
b278f7abd5
Second object to be added in the library :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15020 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 20:43:06 +00:00
samuncle
7252df884a
First generic texture to be used in a track
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15019 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 20:41:33 +00:00
auria
37851c7508
Add absolute position getter to trackobject
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15018 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 20:19:58 +00:00
vincentlj
c5edf82a6c
GPUParticles: This should fix boxemitters.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15017 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 19:49:23 +00:00
auria
795ac13c95
Removed unused music
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15016 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 19:10:18 +00:00
vincentlj
e4dd3c9ed6
GPUParticle: Fix sudden amount of particle for boxemitter
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15015 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 18:40:04 +00:00
auria
a32f760d03
clarify music licenses
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15014 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 18:36:36 +00:00
auria
03618a5bc5
Apply slighly modified version of patch from ticket #1121
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15013 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 18:04:00 +00:00
vincentlj
55d085bf6d
STKMesh: Now use separate shader for ref/noref object
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15012 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 17:40:39 +00:00
vincentlj
8e7e84c984
STKMesh: Use VAO for faster rendering
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15011 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 17:03:02 +00:00
vincentlj
1e84b57269
STKMesh: Some improvements
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15010 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 16:25:47 +00:00
vincentlj
61003eda91
STKMesh: Some refactorisation work
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15009 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 15:53:41 +00:00
vincentlj
fda86ed45c
STKMesh: Rendering in minel is working (except transparent part)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15008 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 15:27:24 +00:00
vincentlj
f6b7fb3853
Fix what looks like type
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15007 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 14:34:34 +00:00
hikerstk
b136e16f7a
Preparation to remove network_http (its work will be
...
taken over by the reqeust manager).
Initialise news and addons manager in a separate thread
and not from the network_http thread anymore. Icons are
also downloaded now from the request manager instead
of the network_http.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15006 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 11:20:32 +00:00
samuncle
9804cbddeb
Better lanterns
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15004 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 02:26:46 +00:00
samuncle
0058097123
Better lantern
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15003 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 02:26:08 +00:00
vincentlj
ebaec55f4d
STKMesh: Rendering works...sortof
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 00:26:18 +00:00
vincentlj
b5a9932169
STKMesh: Forget to add byref modifier
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-11 23:26:58 +00:00
vincentlj
15dc149799
STKMesh: Rendering implemented although it's a big red shader
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15000 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-11 22:57:48 +00:00
vincentlj
d255f4f049
STKMesh: Some more code to load vertex data, but rendering is still using old path
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-11 18:12:04 +00:00
vincentlj
2aea7a2624
STKMesh: Add some code that just mimic CMeshNode behavior
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14998 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-10 22:10:21 +00:00
vincentlj
c3a4f7d8ce
Use a custom stk mesh
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14997 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-10 21:30:17 +00:00
vincentlj
9b1853ef21
GPUParticles: Remove the unused PointEmitter class.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-10 21:12:38 +00:00
vincentlj
80faf282dc
GPUParticles: Fix glsl versions.
...
Only heightmap sim require version 140.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-10 17:42:43 +00:00
vincentlj
ba61e2cbe4
GPUParticles: Finish refactorisation.
...
Heightmap are enabled again for snow.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14994 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-10 17:40:25 +00:00
vincentlj
af81015fcd
GPUParticles: Use different shaders to avoid unneeded uniforms.
...
Heightmap affector is temporarly disabled.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14993 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-10 17:26:57 +00:00
vincentlj
45067e59cf
OGL32CTX: Revert to use gl_TextureMatrix[]
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14992 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-10 01:29:32 +00:00
vincentlj
0a50518fb9
Remove code loading snow shaders.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14991 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-10 00:59:15 +00:00
vincentlj
90f701c42d
OGL32CTX: Attempt to replace implicitly defined uniforms for objectpass
...
This breaks animated textures in xr591...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-10 00:31:22 +00:00
vincentlj
857f675f35
OGL32CTX: Replace another series of implicit declared uniforms
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-10 00:30:56 +00:00
hikerstk
ba1e6465ef
Fixed #1146 - removing directories didn't work (listFiles() returns absolute
...
paths (now??)).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14988 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 23:07:01 +00:00
hikerstk
0566d785b1
Fix crash when re-trying to delete an addon (that was deleted
...
previously, but had an error).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14987 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 23:03:00 +00:00
hikerstk
e2f636153b
Fixed crash #1146 ('install' widgets is removed in case
...
of an installed icon, so m_install was NULL).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 22:52:18 +00:00
vincentlj
9a99c3dae6
OGL32CTX: Replace implicitly defined uniforms in displace
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 17:32:51 +00:00
vincentlj
75b492b871
OGL32CTX: Replace implicitly declared uniforms in bubble
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 17:32:38 +00:00
vincentlj
751d09d35f
GPUParticles: Remove snow shader as we use another now.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 17:09:50 +00:00
vincentlj
986f3a6098
OGL32CTX: Remove implicitly defined uniforms in normalmap
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14982 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 17:08:23 +00:00
vincentlj
e6d774a3ac
OGL32CTX: Remove implicitly defined uniforms in splatting
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 17:08:15 +00:00
vincentlj
9ba803140a
OGL32CTX: Remove implicitly defined uniforms in grass
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14980 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 17:08:03 +00:00
vincentlj
9d7ab41c11
OGL32CTX: Replace ftransform by gl_ModelViewProjectionMatrix * gl_Vertex.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 16:09:27 +00:00
hikerstk
54e6396df6
Renamed HTTPManager to RequestManager, and split request
...
into three files request, http_request and xml_request.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 04:57:58 +00:00
vincentlj
99fde5faa4
GPUParticles: Kill snow flake when it hit the ground according to the heightmap.
...
(Actually we move it outside of the player view)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 01:49:06 +00:00
vincentlj
105761151d
GPUParticles: Another snow tweak
...
Slightly more particles, constrained rotation direction, lower speed (vector and rotation)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 01:32:17 +00:00
vincentlj
73ba827763
GPUParticles: Tweak snow parameters.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 01:16:46 +00:00
vincentlj
42c16b32cb
OGL32CTX: Replace deprecated "varying" by in/out semantic and make them explicit.
...
gl_Texcoord[]/gl_Color should be explocitly passed as in/out.
Compilers can pack varyings if the architecture does benefit from it (for instance intel mesa driver) but on the other hand they usually don't change size of varying even if there is only a single component used.
So storing vec2 into vec4 may waste performances.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 00:17:28 +00:00
vincentlj
2ba340b6cb
OGL32CTX: Add vertex shader where default one was assumed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 23:11:10 +00:00
vincentlj
632f75c130
OGL32CTX: Create a GL 3.1 context on windows (backward compatible)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14972 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 21:50:46 +00:00
vincentlj
53e32a9848
GPUParticles: bump shaders version to 140 to enable texture buffer support.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 19:09:04 +00:00
vincentlj
35ed664a8e
GPUParticles: Fix folded snow particles.
...
I forgot I was using instanced quad...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14970 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 19:02:56 +00:00
vincentlj
28d02f9622
GPUParticles: Implement particle flip.
...
Snow quads suffers from folding, I have to investigate and/or ask hiker.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 18:34:57 +00:00
hikerstk
c5c17747cb
Fixed linux compilation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14968 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 12:13:26 +00:00
hikerstk
a1c964f71d
Some refactoring and cleanup of the online request handling:
...
added setter/getter, renamed functions to have better names,
removed synchronousRequest from http_manager. Should be no
change in functionality.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 12:08:46 +00:00
samuncle
ff7a3d01c4
Minor update on the skybox shader
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 08:48:46 +00:00
auria
31b03dc50e
tweak reset planes to minimize their impact on the snow particles heightmap
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14964 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 23:46:21 +00:00
auria
26e0f61e23
Properly clean up LOD nodes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 23:24:43 +00:00
vincentlj
17667d9be0
GPUParticles: Also clean texture when object is deleted.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14962 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 21:27:18 +00:00
vincentlj
5b8ca4fcd7
GPUParticles: Implement HeightMapAffector equivalent.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14961 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 21:06:06 +00:00
deveee
0be4825ef2
Minor correction in garage action
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 08:17:22 +00:00
hikerstk
b6e98d9e2f
Fixed #1143 - untextured ground is not a valid start position.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 05:48:16 +00:00
auria
4f75e31b72
Fix billboard fade effect when billboard is parented
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 02:22:03 +00:00
auria
bbcc2afa61
Use light absolute position for culling, the relative position was incorrectly used
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 02:12:17 +00:00
hikerstk
1265abd4a0
Remove definition of NDEBUG for VS (since VS will define this
...
automatically in release builds), and add -DDEBUG in VS only
for debug builds.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 02:04:31 +00:00
auria
fb3b2a9f80
ozoneone provided a new version of the snow song
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 01:20:30 +00:00
auria
e4fdbc6724
Fix LOD issues in snow mountain, causing assertion failures
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14952 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 01:17:16 +00:00
vincentlj
d776fdc4e7
OGL32CTX: Add vao functions even if we don't use them atm.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 00:52:49 +00:00
hikerstk
7cdca13d7b
Fixed all(?) warnings about signed and unsigned comparisons.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 00:09:19 +00:00
auria
b1c8898b54
Bump track XML version number to 6
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14948 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 00:05:40 +00:00
vincentlj
51023ceb81
GPUParticles: Fix adjusted_initial_velocity computation.
...
Thank to Auria and hiker for their help.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14947 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 00:04:43 +00:00
auria
6e3466c838
load material.xml from libraries
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-06 23:29:12 +00:00
vincentlj
88bb3a8da8
GPUParticles: Add support for increase factor
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-06 22:58:04 +00:00
vincentlj
7a95d46448
GPUParticles: Use smoothstep for fade out and remove direction modulation by size.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-06 22:35:54 +00:00
hikerstk
6808a9df1a
Fixed warning and incorrect color values (for non-shader).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-06 21:10:50 +00:00
deveee
75cfde3d69
Fixed compilation in debug mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-06 20:05:23 +00:00
vincentlj
841aa05cc0
GPUParticles: Use gl_vertexID to improve particle emission rate handling.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14941 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-06 18:05:21 +00:00
hikerstk
3e8741c442
Fixed typo.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-06 12:28:24 +00:00
hikerstk
6ee751e3c3
Added new class to handle command line parameters, which
...
simplifies parameter handling in main (e.g. it's not
necessary to list and ignore parameters in the 2nd
pass, when they were handled in the first pass).
Removed some command line options for which there
is a guy (e.g. --weather), or which are not really
useful (--list-karts).
All parameters to options must now consistently be
specified using '=', e.g.: --log=1 and --kart=tux.
Also removed support for 'classic' camera (which was
not used anymore). Removed now unneccessary #include
in user_config.hpp, which made some #include changes
in other files necessary.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-06 12:23:16 +00:00
auria
068eb8ece2
Add ozoneone's new snow song
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-06 02:55:37 +00:00
samuncle
47a2d1529a
Add more lanterns using the library
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14937 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-06 02:03:42 +00:00
samuncle
d9fd3ccfe0
Add high adhesion for the tunnel so we can do the sunt featured in top gear
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14936 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-06 00:29:11 +00:00
vincentlj
fb57b75cc0
GPUParticles: Attempt at fixing the green flash bug in minel
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 23:32:24 +00:00
stephenjust
78ca6f2b9c
Don't crash when shaders are disabled when drawing snow
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14934 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 22:56:27 +00:00
vincentlj
62f815ff68
Debug output: Use a comment to tell not to remove that code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 21:39:54 +00:00
vincentlj
ffc1524bf7
GPUParticles: Use fallback if glsl is disabled.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 21:39:42 +00:00
samuncle
e03c1cf13e
Better splat map
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14931 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 21:34:54 +00:00
stephenjust
9bf632fb4b
Fix crash loading tracks when shaders are disabled
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14930 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 21:14:28 +00:00
vincentlj
2fe8eafbe1
OGL Debug : looks like not all driver on linux support arb debug output :(
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 21:14:10 +00:00
vincentlj
869386c338
Centralize view and proj matrix to avoid recomputation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14928 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 21:12:19 +00:00
vincentlj
7778a71c0a
OGL32CTX: Use correct type in coloredquad.frag
...
Spotted by arb debug output too.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14927 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 18:54:40 +00:00
vincentlj
aad565a9bf
GPUParticles: Use size value so that it doesn't get optimized away
...
Spotted by arb debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 18:44:52 +00:00
vincentlj
ce62c0b3b7
OGL32CTX: Fix osx build
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 17:57:22 +00:00
vincentlj
8a33f14da5
OGL32CTX: Request a 3.0 backward compatible context in linux.
...
This allows to enable ARB_DEBUG_OUTPUT extension.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 17:48:36 +00:00
vincentlj
d44c28ca9e
OGL32CTX: GL_QUADS was deprecated, use TRIANGLE_STRIP
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 17:34:01 +00:00
samuncle
d7a26c7c67
Add smooth transition between textures
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 12:55:08 +00:00
samuncle
5f2955ec63
I added a screenshoot to avoid the error in log console
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 00:31:02 +00:00
vincentlj
d28a869444
Fix skybox frag shader
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 00:08:11 +00:00
vincentlj
fa068d7810
OGL32CTX: Ask #version 130 for all our shaders
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 00:08:00 +00:00
vincentlj
57d5d658a0
OGL32CTX: Fixes sourcerect in draw2DImage replacement
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14918 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 23:28:59 +00:00
vincentlj
1a883f740f
OGL32CTX: Fix build issue
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14917 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 22:15:28 +00:00
vincentlj
7bb1e671b2
OGL32CTX: Port draw2DRectangle too
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 22:10:56 +00:00
vincentlj
3598643332
OGL32CTX: Uses draw2DImage in skin.cpp
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 21:43:49 +00:00
vincentlj
bfc7efa5cc
OGL32CTX: Remove it in default build.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14914 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 21:34:06 +00:00
vincentlj
169f29f7b2
OGL32CTX: Spread use of Draw2DImage custom function.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14913 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 21:31:57 +00:00
samuncle
2731d07df0
Add a pink lantern to test the library
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 20:47:49 +00:00
samuncle
bd69c8c0d7
Add the skybox shader for harvest. For the moment it's still an object in the transparent pass. The object should be in the skybox pass
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14909 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 20:43:18 +00:00
samuncle
b2f2cb62f7
Add the first object to test the library (It's programmer's art for the moment :P)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 20:42:04 +00:00
samuncle
54a9a94ed2
Oups I forget to remove some debug printf :3
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14907 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 20:34:38 +00:00
samuncle
aedb68a88a
Minor correction for a window path
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14906 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 20:29:02 +00:00
vincentlj
c18248220a
OGL32CTX: Move an include outside of win32 #ifdef, and always define OGL32CTX for apple
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 17:32:42 +00:00
vincentlj
9555bf8c7f
OGL32CTX: Use alpha when required
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14904 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 17:15:29 +00:00
vincentlj
b28044e603
OGL32CTX: Implement a draw2DImage function using shaders.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 17:12:30 +00:00
vincentlj
aa1bdcf10f
GPUParticles: Move opengl function to newly created glwrap.cpp
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14902 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 16:09:33 +00:00
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
auria
4e4a6bc6d5
Re-export a bunch of tracks to go along the new LOD format
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 23:45:37 +00:00
auria
d095e14039
Bugfix with new lod
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 23:44:13 +00:00
vincentlj
10947608d8
GPUParticles: Honor decrease in emission rate.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 20:01:09 +00:00
vincentlj
ccf226d8e8
GPUParticles: Use a struct instead of hardcoded stride/offset values
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 18:52:48 +00:00
vincentlj
977494c88f
GPUParticles: More refactoring
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14892 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 18:21:13 +00:00
vincentlj
d8302dcaee
GPUParticles: Refactoring
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 18:07:11 +00:00
vincentlj
d63b5af530
GPUParticles: Tell irrlicht that we disable cullface test.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 17:40:14 +00:00
vincentlj
96841f5731
GPUParticles: Avoid particle respawning at too old location.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 17:20:26 +00:00
vincentlj
39d79c555a
GPUParticles: Reset irrlicht blending state.
...
It fixes some flickering artifact.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 16:53:55 +00:00
vincentlj
1b564a81a7
GPUParticles: Attribute initial lifetime to box emitter.
...
This is needed so that effect looks stationnary.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14887 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 15:59:39 +00:00
auria
5da3b32be9
support rotation and scale on library objects
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 01:42:45 +00:00
auria
4c11ca65f0
Properly parent light nodes and add them to the scene manager
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 01:35:42 +00:00
auria
ea7231170a
Remove unused light distance property
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14884 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 01:27:15 +00:00
vincentlj
c25e1c2472
GPUParticles: Use a better fake material that modelize well which states we touch.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14883 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 01:06:21 +00:00
vincentlj
2a1a28c459
GPUParticles: Avoid emitting particle at (0,0,0)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-02 00:53:41 +00:00
vincentlj
66ab51789f
GPUParticles: Implements SphereEmitter.
...
Explosion looks a bit like a geyser of flame, needs tweaking.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 21:36:13 +00:00
auria
93643d660f
misc minor stuff
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14880 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 21:21:48 +00:00
auria
0f97aee66a
Remove the old LOD loading code, we now support only the new much cleaner way. Will need to re-export all tracks that use LOD, meanwhile LOD objects will be missing from tracks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14879 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 21:18:06 +00:00
vincentlj
9fe6b6a6e9
GPUParticles: Clean vbo memory when ParticleSystemProxy is deleted
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14878 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 20:32:18 +00:00
vincentlj
419bea3bfd
GPUParticles: Avoid recompiling the same shaders over and over, and use a global vbo for quads.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14877 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 20:20:21 +00:00
vincentlj
9c163db7c7
GPUParticles: Add an parameter to turn alpha additive particle on/off.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14876 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 19:52:32 +00:00
vincentlj
be93478687
GPUParticles: Fix orientation of reemitted particles.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14875 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 19:13:57 +00:00
auria
6b7e33a267
Convert a bunch of prints to our logging system, it's long overdue we fix that
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14874 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 19:11:01 +00:00
vincentlj
09926f6f4e
GPUParticles: Modulate direction length to avoid banding with lot of particles.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 18:59:15 +00:00
auria
3abc10338e
Add Krobonil's new song for lighthouse
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 18:20:51 +00:00
vincentlj
28ebf0c08c
GPUParticles: Implement box emitter
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14870 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 18:11:28 +00:00
auria
245910d3a7
Apply patch to improve paths on osx
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14869 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 16:43:03 +00:00
vincentlj
823a40e45e
GPUParticles: Fix particles randomly becoming blocky in some track.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14868 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 03:06:23 +00:00
vincentlj
7f45adeeb0
GPUParticles: Enforce GL_BLEND
...
This fixes some issue with Harvest experienced by samuncle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 02:45:47 +00:00
samuncle
baefa0a4ec
I added an alpha channel to the texture to see if it works with the new GPU particle system
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 02:45:25 +00:00
vincentlj
217d512d5f
This shouldn't have been added to previous commit, sorry.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 02:17:58 +00:00
vincentlj
94d9eb056a
GPUParticle: Use Irrlicht blending state
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14864 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 01:59:02 +00:00
vincentlj
0fc2f664b6
GPUParticles: Forgot to reset vertexattrib divisor
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14863 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 01:51:52 +00:00
vincentlj
a38522da70
GPUParticle: Implement size parameter.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 01:11:44 +00:00
vincentlj
1d3a33bf8e
GPUParticles: Use quad instead of POINT_SPRITE
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 20:39:00 +00:00
auria
be691c9afc
Do not report the new <lod> XML node as an unknown node type
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 20:27:13 +00:00
auria
56dcb9b3a2
Add support for a new way of loading LOD definitions, that should eventually fully replace the previous method (instead of exporting LOD definitions as standard objects that can appear anywhere in the XML file, group them in a <lod> section, this way we can load all LOD definitions right at the start of the load sequence, instead of the delayed creation hacks we do atm). Old code still in place for now, since we have a lot of tracks using the old way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14857 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 19:49:53 +00:00
auria
6fb8188e07
Fix finding data files on OSX
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14856 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 19:22:05 +00:00
auria
692d5a582d
Fix OSX compilation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14855 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 19:11:23 +00:00
auria
5cd71bdc96
Fix LOD objects in a library
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14854 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 18:45:18 +00:00
auria
3cdf3409bf
Refactor LOD to allow parenting
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 18:09:13 +00:00
vincentlj
9fbd2b19b1
GPUParticle: Implements generic fade out and rework particles lifetime.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 17:25:10 +00:00
hikerstk
9417541adf
Uodated list of dependencies.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14851 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 09:30:41 +00:00
samuncle
a152cf4577
I have corrected missing texture in harvest. I also added a skybox, to test my new skybox shader
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14850 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 01:06:36 +00:00
samuncle
d5e598f7f6
I had some problem with -fno-rtti when I tried to build then trunk
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14849 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 01:03:46 +00:00
vincentlj
8670aa86dc
GPUParticle: Fix some parameters not used correctly.
...
Some previous value (like dt) came from debug attempt.
This fixes the particles behind the wheels of the wagon in minel.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 00:58:42 +00:00
auria
43f4d1cdfb
Update track objects with the ability to have a parent, getting us one step closer to the library
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14847 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 00:24:07 +00:00
vincentlj
e2dc4d98df
GPUParticle: Fix typo in header file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 00:18:31 +00:00
vincentlj
e7a355c38e
GPUParticle: Use a fake material to avoid Irrlicht to bypass material update.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14845 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 00:06:08 +00:00
auria
0829c150ca
Simplify code to use the file manager instead of hardcoding paths
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-30 23:10:43 +00:00
auria
392f63d1a1
More work for library nodes. Remove some code that hardcoded search paths, let's just use our file manager for that, it does it right and easier
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-30 23:00:59 +00:00
vincentlj
fc5a802135
GPUParticles: Subclass CParticleSystemSceneNode to make implementation cleaner
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-30 22:52:32 +00:00
auria
36fc36c7fb
Add initial library object loading code. Not complete yet. Samuncle, this is for you ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-30 22:32:30 +00:00
vincentlj
7645883508
GPUParticles: Remove PE when the particle emitter is removed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14839 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-30 14:10:32 +00:00
vincentlj
d4b9ccf499
GPUParticles: Particles don't follow their source.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14838 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-30 13:57:55 +00:00
vincentlj
ebb45f8de6
GPUParticles: Use an ugly hack to get correct position
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-29 23:55:55 +00:00
vincentlj
88f39e4186
GPUParticles: Properly handle parent for gpuparticles
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14836 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-29 22:53:28 +00:00
vincentlj
ab447c1bed
GPUParticle: Disable depth write instead of disabling depth test.
...
It's probably faster.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14835 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-29 22:53:17 +00:00
vincentlj
ea1e5077a2
GPUParticles: Disable depth test to avoid rendering artifacts
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-29 22:26:59 +00:00
vincentlj
64fa58d198
GPUParticles: Add them to scenemanager root instead of a percamera node
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14833 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-29 22:26:50 +00:00
vincentlj
871e2b998b
GPUParticles: Implement softness and use maxangle spread
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-29 20:36:21 +00:00
vincentlj
636f6412ab
GPUParticles: Use some parameters, and texture, to display particles.
...
Still not enabled.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-29 19:24:19 +00:00
vincentlj
a2d1a86bac
Lights: Make possible for gpu drivers to unroll loop.
...
GPU doesn't like indirect addressing and thus it's better to have unrolled loop. This is only possible for loop with a static iteration count.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-29 18:37:45 +00:00
vincentlj
4c725ac8f4
GPUParticles: Got PointEmitter to draw something at last.
...
Still WIP, uses a #ifdef to disable it but I wanted to keep a working commit
somewhere in case I mess up somewhere.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14829 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-29 18:23:36 +00:00
deveee
681f095140
Move action-trigger to the center of garage.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14826 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-28 22:30:29 +00:00
auria
db44852d8b
Make lights fade in when they appear
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-28 22:02:29 +00:00
auria
ad3ea6c5e0
Remove uneeded code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-28 02:10:12 +00:00
auria
4c2c76088a
Change pt-BR name to be more accurate
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-28 02:09:08 +00:00
samuncle
1bb766a84f
Add animated light :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-28 01:58:43 +00:00
auria
6b4d91effa
Misc code style improvements and warning fixes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 23:56:42 +00:00
auria
14655bcdb9
Change lights to be TrackObjects, so that they can be animated. Exporter part not yet committed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 23:55:57 +00:00
vincentlj
e72e2de8ca
GPUParticle: Make RainNode a child of GPUParticle
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 22:52:44 +00:00
deveee
4dd0c066df
Fixed problem with distance in my previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 22:02:52 +00:00
vincentlj
187abe584b
GPUParticles: Reenable rain, windows build is fixed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 22:02:12 +00:00
vincentlj
df2bd304ab
GPUParticles: Put it in its own file
...
Disable rain while doing ping-pong between os to get windows opengl callback
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 20:56:29 +00:00
vincentlj
6d0e6a67b2
PointLight:Fix shader arithmetic type mismatch reported by mesa
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 17:03:02 +00:00
vincentlj
616a2e7a75
Rain: Precompute as many shader data as possible
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 17:01:45 +00:00
vincentlj
9826af0747
Rain: Avoid making a draw call that won't be used and make some cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 16:37:24 +00:00
vincentlj
224b246f17
Irrlicht: make setRenderStates3DMode public
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 16:37:15 +00:00
samuncle
8695d355eb
New color correction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14809 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 04:08:34 +00:00
samuncle
7b90be2e29
Add a massive vegetation under water to test
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 03:52:08 +00:00
auria
f1aac9e317
Adjust logging to make STK less annoying to debug under visual studio : output the logging directly to VS's output pane, instead of having to reply on the small cmd.exe popup that closes as soon as the application exits
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 03:02:33 +00:00
vincentlj
053170fc27
Rain: Use transform feedback to decouple simulation from rendering
...
It's the base for a future gpu based particle system
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 02:50:25 +00:00
samuncle
cb21815054
Improved the specularity by adding a little offset to the energy
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 02:41:58 +00:00
deveee
27e397d2c7
Fixed #1086 - Popup message was displayed constantly when you were in garage in overworld.
...
TODO: Compare distance between garage and kart with for example length
of the kart or distance of object defined in scene.xml.
Currently (m_garage_pos-m_kart_pos).length2_2d() gives much higher values than
getKart(0)->getKartModel()->getLength() and I must look at this closer.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 02:12:16 +00:00
samuncle
32a61d770e
Allow kart to use specular map
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 02:06:08 +00:00
vincentlj
0506b98540
Lights: Add a metric to measure light count pressure in a scene.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 01:00:20 +00:00
vincentlj
30a030bd4c
Light: Pseudo sort lights distance using bucket to evict them fast.
...
Lower max light level to 16 as it proves sufficient.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14801 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 00:34:41 +00:00
vincentlj
4d0b9236b2
Lights: improve bandwidth usage
...
It should improve performance a lot, but it handles at most 32 simultaneous lights on screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14800 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-26 22:55:15 +00:00
vincentlj
508d866a2b
Lights: Improve culling system
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14799 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-26 20:14:49 +00:00
samuncle
46cce1e347
I updated the requirements to something a but more realistic
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14798 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-26 19:42:11 +00:00
vincentlj
4f36e43b14
Fix unexported FragData
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-26 18:28:35 +00:00
vincentlj
5512a72d62
Lights: Remove hard edge and attenuate specular
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14796 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-26 18:00:54 +00:00
samuncle
067564c7cf
A little change to make the SSAO better (IMHO) other opinions are welcome)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14795 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-26 02:55:10 +00:00
samuncle
5c03faab06
Better glow
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14794 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-26 01:21:03 +00:00
samuncle
122567f0d3
Increase the max distance of the displacement effect
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-26 01:01:12 +00:00
samuncle
9be8adaa15
Reduce the color correction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14792 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-26 00:02:55 +00:00
samuncle
22440ddc60
Minor correction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-25 23:39:06 +00:00
samuncle
55f7817286
Some tweak to test the new light system
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-25 23:29:32 +00:00
vincentlj
c2b18a0a1c
Light: Export the correct value for specmap in grass/splatting shaders
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-25 20:48:27 +00:00
vincentlj
3a6e75b656
Light: Fix skybox bug with specmap and update grass/splatting shader
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-25 20:40:14 +00:00
samuncle
702b9cca97
Add an alpha channel to test the specular map
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-25 20:23:51 +00:00
vincentlj
ec3fd4fa13
Light: Support for specularmap
...
The specular map is embedded in the alpha component of texture.
Alpha value of 1. means no specular, alpha of 0. means 100% specular.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14786 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-25 20:19:18 +00:00
samuncle
4435ffbaa0
Better lights (with color correction, and glow :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14785 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-25 19:36:07 +00:00
samuncle
6b4f44acbc
We don't need lightmap
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-25 05:54:21 +00:00
samuncle
42829e3c8d
I have add some dynamic lights in the old mine just to test the new pipeline
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-25 05:52:08 +00:00
samuncle
292fbadc33
Correction of a bug caused by the skybox
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-25 02:58:30 +00:00
vincentlj
c9b8734717
Plug-in energy parameter into pointlight shader
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-24 23:07:42 +00:00
vincentlj
8c44b06e9f
Revert "Test commit, to be reverted"
...
This reverts commit 6cbdcff4da246b940cad4affc2beff101dd3fcc0.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-24 22:35:19 +00:00
vincentlj
65b32757f3
Separate Diffuse and Specular components
...
This allows to bypass alpha test, and have colored specular lights.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14777 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-24 20:51:53 +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
vincentlj
5f23483bd9
Fix some shaders not building with mesa
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-24 02:47:33 +00:00
vincentlj
7f51c9737b
Test commit, to be reverted
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-24 01:59:35 +00:00
vincentlj
88ac0ba6cf
Attempt to mimic blender light behavior.
...
The attenuation assumes a power distributed on the whole sphere surface.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-24 01:44:40 +00:00
vincentlj
dec4cd1453
Change light visualization.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-24 01:33:42 +00:00
vincentlj
bd52770ceb
SSAO: Avoid sampling outside of RTT_NORMAL_AND_DEPTH textures.
...
It should remove artifact at the edge of the screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-24 00:37:58 +00:00
samuncle
ea7ac5391a
Better normal (I think everything is corrected now. Vlj if you find more normal to be corrected please ask me
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-24 00:36:52 +00:00
vincentlj
49131c68af
Rain: Fade instead of intersecting geometry
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-24 00:33:57 +00:00
samuncle
7633db8c03
A majority of normal have been corrected to be SSAO friendly
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-23 23:48:25 +00:00
vincentlj
f17f8b62cb
SSAO: Use the correct distance for range checking
...
It should remove halo around kart heads.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-23 23:25:14 +00:00
samuncle
d6a532151d
Color correction is removed due to vlj's demand. Now we can test safely HDR
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-23 22:45:15 +00:00
vincentlj
3fc63a9f27
SSAO:Ensure sampled point are inside the unit sphere.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14760 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-23 20:25:58 +00:00
vincentlj
a3cc62a985
SSAO: Use a costheta factor to ease transition
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-23 20:02:11 +00:00
vincentlj
a9db4c7c3f
Generate random value for SSAO sampling
...
It should improve SSAO at least with grass.
However this make the algorithm even more sensitive to bad normals.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-23 18:14:02 +00:00
vincentlj
352009b2ce
RTT_COLOR uses float format.
...
This allows for hdr, however there is no tone mapping at the moment.
color_level.frag can be currently used for such purpose, it gives a nice look
in harvest, although it is way too bright.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-23 17:00:42 +00:00
vincentlj
34d83859cd
Add support for specular light
...
Note that specular light is applied unconditionnaly, thus every object will shine.
TODO : Specular map should be defined using texture or a material flag.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-23 17:00:34 +00:00
vincentlj
5db6705889
Move SSAO code into renderLight in order to use a lighter rtt (8 bits instead of 32)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-23 17:00:27 +00:00
vincentlj
45db87de8a
Merge normals and depth RTT into a single one
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-23 16:59:55 +00:00
deveee
8b76971a54
Minor changes in soccer setup gui
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14752 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-22 17:44:09 +00:00
deveee
bc2eefe1dc
Fixed displaying more than 2 karts in soccer setup screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14751 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-22 16:14:26 +00:00
samuncle
cc7b5d2229
Some normal are corrected
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-22 03:32:08 +00:00
vincentlj
07abdebbfa
Add range check for ssao + fix for nvidia
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14748 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-22 03:03:07 +00:00
samuncle
3423227e9e
I have added a better grass texture
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14747 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-22 01:44:04 +00:00
samuncle
0f9081ef56
Increase the size of the grass
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14746 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-22 01:35:20 +00:00
samuncle
a66096f978
Add a grass texture for harvest
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14745 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-22 01:16:30 +00:00
samuncle
43d919ec6a
Reduced the LOD distance of the kart. The player won't notice since he is focused on the race
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14744 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-22 00:08:17 +00:00
deveee
1a2d26b894
- Fixed crash when goal is scored after time limit
...
- Set time max value to 15 - playing one game 45 minutes doesn't have a sense
- Remember time value in user config
- Little beter look of soccer setup
- Set goal-limit mode as default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14743 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-21 17:04:46 +00:00
samuncle
52ebb9a300
Little value for the distance of animated kart. You won't notice the difference (expect that the christmas hat isn't displayed with the non animated version
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-21 14:36:40 +00:00
deveee
49be95b966
Some code cleanup in soccer world
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-20 21:11:22 +00:00
deveee
ae2a41f2d0
Fixed problem with karts which were assigned to wrong team in soccer mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-20 00:29:37 +00:00
auria
c6fd5cde1c
Apply patch by vlj to improve rendering, thanks a lot!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-20 00:11:57 +00:00
samuncle
73f9779324
Animated texture corrected. Thanks to vlj :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-19 23:58:26 +00:00
auria
118705f19a
Apply patch by Vlj to put normals in eyespace coordinates and reenable normal mapping, thanks!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-19 00:13:17 +00:00
hikerstk
c450c97472
Allowed the music directory to be external. Renamed
...
getMusicFile to searchMusic and getTextureFile to
searchTexture. Removed m_root_dir from file_manager.
Added convenience function getTexture to irr_driver
which takes an asset type, so now less code is needed
to load textures (though that's proably not used
everywhere yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-18 22:29:08 +00:00
deveee
0337ae19e0
Some code cleanup in soccer setup screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-18 19:40:36 +00:00
deveee
b7a80dd686
Wait for animation before continue using mouse - soccer setup screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-18 12:15:53 +00:00
deveee
25d4bf488a
Fixed start game with disabled shaders
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-18 10:09:03 +00:00
auria
6ec9bf1d0f
apply egypt song tweaked mixing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14732 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-18 00:00:16 +00:00
hikerstk
73c498daf3
Start to support 'externa' data directories. Most directories
...
from data can now be moved out (except music). STK prints
an overview of which directory is taken from where. More
cleanups and improvements will come.
Also moved skins into a separate directory under data (from
data/skins), since it's likely that skins will be part
of a binary package (i.e. changes to skins not really
related to code), while gui files will more likely stay
with the code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-17 23:48:47 +00:00
deveee
248551bcb6
Minor modification in previous commit - play sound only once
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14730 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-17 21:13:27 +00:00
deveee
8947227175
Allow to confirm players using mouse in soccer setup screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-17 21:01:20 +00:00
deveee
79e01c5c56
Hopefully fixed problem with tutorial which sometimes was starting in a loop
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14728 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-17 21:00:56 +00:00
samuncle
7147490b90
Add a light + color corretion (to make tests)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-17 01:06:27 +00:00
funto66
2c1853e54d
Remove some more useless autotools files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14726 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-16 23:21:37 +00:00
funto66
c225eb6d32
Remove now useless m4 scripts (we fully switched to CMake)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-16 23:10:15 +00:00
deveee
0188e90a65
Fixed crash when you start tutorial
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-16 21:37:20 +00:00
samuncle
ed3472efd3
Add lights to test the light prepass system
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-16 19:04:20 +00:00
samuncle
08f211129b
Now the sunlight doesn't kill point light. Thanks to Vlj for the correction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-16 18:33:00 +00:00
deveee
5c58d07278
Avoid code duplication in debug.cpp file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-13 10:34:58 +00:00
deveee
3ba8f1bd38
Add parachute to debug menu
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14720 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-13 09:06:54 +00:00
deveee
052b7eb07f
Add powerups for all local players in debug mode.
...
Often I need to check something in multiplayer mode - for example bubblegum shield.
Why F1, F2, F3 etc. was removed? ;-(
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-12 17:51:14 +00:00
hikerstk
55cd9dd09a
Made 'min_speed' available for zipper only, re-exported spaceship track.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-12 05:37:15 +00:00
auria
c10ed78570
remove problematic code that crashes for some people only, will figure that out later
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14715 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-12 01:10:28 +00:00
samuncle
017b49daed
Just a quick 'n' dirty fix to have an idea how new texture migh look in the new pipeline
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-12 01:04:22 +00:00
auria
ae337751de
Remove cand's water-wave node for now and revert back to irrlicht's for the moment. The problem with cand's is that it ignores all our material flags, which is not acceptable
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-12 00:50:27 +00:00
auria
22d6dd56ea
Undo change that would limit STK to 35 FPS
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-12 00:39:19 +00:00
auria
e9e3a8afff
remove seemingly useless if in shader
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 23:46:40 +00:00
hikerstk
bce4a075ba
Added support for a texture specific minimum speed. This fixes issues with
...
AI karts (esp. EndController) not being able to do long jumps. Added setting
for minimum speed to Enterprise track (EndController were not able to finish
the jump on the ramp).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 22:12:14 +00:00
samuncle
1a776381d5
Correction of the ssao vs fog bug (thanks to vlj). Minor tweaks for fps display and debug menu
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 22:11:32 +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
auria
1fb46ca162
Reduce intensity of glowing objects like giftboxes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 01:16:40 +00:00
auria
d18068f2f4
Remove forgotten debug log
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 01:03:59 +00:00
auria
afe826a814
Fix disabling lights on additive materials; fix disabling fog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 01:02:20 +00:00
auria
b09b879238
typo fix
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 01:01:24 +00:00
auria
aa848f0afd
small fixes to material
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 00:40:51 +00:00
auria
b27a5363bd
Fix objects that are unaffected by lights
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 00:37:07 +00:00
samuncle
08299c6e58
Minor correction to use correct blending
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-10 02:01:18 +00:00
samuncle
14432a8689
Now the grass shader can be used with the new pipeline.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-10 01:58:22 +00:00
samuncle
7e8159ccd6
Now the grass shader can be used with the new pipeline. Todo make a basic ubershader
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-10 01:57:20 +00:00
auria
95ffca1bf0
Remove alpha to coverage
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 23:38:53 +00:00
hikerstk
0076bec269
Converted glow color back fro floating point to integers (upon artists requests).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14691 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 20:02:43 +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
samuncle
f2df11e5a0
Now there the FPS display has a background so it's more readable
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 14:07:42 +00:00
nixt
ef792f3d01
Revert r14686: Accidentally applied to trunk. When did I get trunk privileges?
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 14:07:28 +00:00
nixt
5113dc3337
SVN messed up data/shaders in my branch. 76 files in local copy, 21 on SF. Re-adding folder to branch.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 13:11:09 +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
hikerstk
09dc33d07e
Moved the glowing data from stk_config.xml to items.xml.
...
Unfortunately I can't test (since the shaders don't work for me).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 12:24:26 +00:00
deveee
375b1a1f06
Revert r14655. It is already fixed in r14660 and redeclaration breaks compilation.
...
Tested on VC2010 - it compiles and runs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 09:50:37 +00:00
hikerstk
3af325d672
Fixed VS 2012 compilation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 03:15:50 +00:00
samuncle
fe2c682ed1
Use the color violet for displaying FPS. Everything related to debug/etc should be in violet
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 02:59:29 +00:00
samuncle
4c1dd1ada4
Minor tweak to change the background of the debug menu
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 02:28:11 +00:00
auria
aebd8d2996
Minor tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 02:15:54 +00:00
auria
0383a9ec55
more debug menu love
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14677 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 02:03:16 +00:00
auria
55018ee089
Extend funto's debug menu
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 01:51:03 +00:00
auria
31c29c7a92
Fix visible line in front of kart in SSAO
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 00:39:07 +00:00
funto66
39046749d2
Add a debug menu + option to reload shaders (memory leak, yeah, but it's just for debugging)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14674 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 00:09:35 +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
auria
9a2b4cc3ab
Further modularisation of rendering
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14672 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 21:27:56 +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
hikerstk
5cf8c7bf77
Languages are now sorted alphabetically.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 20:47:49 +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
auria
db0a3d37a2
Undo samuncle's commit that added specular lights, but in a way that would only work on nvidia gpus
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 20:19:46 +00:00
auria
f96a647a9c
Modularize the rendering a little (I am aware this results in a very small loss of performance, but given the large amount of virtual method calls we make every frame, should be pretty insignificant, and will make the rendering much easier to follow). Fix VS 2013 support issues. Improve material to reject mutually exclusive settings that result in render bugs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 20:06:44 +00:00
auria
7bb321a108
fix vs2013 compilation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 17:19:04 +00:00
auria
668e8dc719
Apply supermat patch to remove a couple leftover hit messages, thanks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 17:10:20 +00:00
samuncle
1880cf9492
Palm trees are corrected #1120 . It was caused by the flag of the Z-Buffer that was disabled
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 14:04:46 +00:00
funto66
a6d4d423da
Fix compilation on VC2010
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 08:10:20 +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
samuncle
0f96fe219b
Correction of the window bug #1120
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14657 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 02:51:38 +00:00
auria
85191ef9b1
Fix compilation on VS < 2013, tested and confirmed to work by nixt
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14655 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 02:39:38 +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
auria
c6681f05bc
Fix crash when adding new device
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-07 17:02:22 +00:00
auria
b6002111b7
Add new music for minigolf
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14650 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-07 16:53:32 +00:00
auria
b8e42e3fe2
Apply patch tested by SuperMat to fix clang compilation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-07 16:23:40 +00:00
samuncle
627004a536
Add glow support for banana and bubblegum
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-06 23:19:43 +00:00
samuncle
b0ce591330
Better outline (glow) color for: banana, bubblegum, box and nitro
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-06 23:18:49 +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
hikerstk
723c4683ce
Fixed STK hanging on exit (at least in one case ;) ).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14645 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-06 13:13:16 +00:00
hikerstk
f7cf407208
Deallocated http manager earlier (in case that it is using a command
...
which needs any of the objects that have been deleted while cleaning up).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14644 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-06 13:12:45 +00:00
hikerstk
94abdc5b05
Improved work around for graphics cards that do not allow stencil for FBOs
...
(like Intel hd3000). If a FBO with stencil can not be allocated, disable
stencil, and switch off pixel shaders.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-06 12:05:21 +00:00
hikerstk
ee2cea0aca
Removed abbreviated language names from language selection widget.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-06 11:57:14 +00:00
hikerstk
86b1b67c61
Fixed windows compilation (missing lib), and some compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-06 03:54:31 +00:00
hikerstk
b074dc5f09
Moved all VS specific math code (i.e. for round(), isnan) into vs.hpp
...
and used it everywhere (I hope).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14640 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-06 03:49:55 +00:00
deveee
33525285d7
Fixed compilation problem
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-05 17:30:44 +00:00
deveee
ec13bcf802
Merge branch 'hilnius'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-05 17:28:55 +00:00
deveee
33e09e8f59
Solved conflicts before merge hilnius branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@14637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-05 17:28:04 +00:00
deveee
bc46c305f3
Solved conflicts before merge hilnius branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-05 17:27:23 +00:00
samuncle
5b5fd87a8b
Add two per track parameter for color correction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 16:33:14 +00:00
samuncle
7f214d4458
Restore flip shader and put the color correction in a dedicated shader
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 14:24:02 +00:00
samuncle
6b0962f876
Add the callback for the color correction shader
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 14:21:27 +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
auria
85bfec00a0
Correct VS compilation (VS 2013 is 18, not 17)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 01:54:54 +00:00
hikerstk
8032fdb3b0
Converted line endings consistently to unix.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 01:46:55 +00:00
auria
a358c4d8ee
Change risky cast into dynamic_cast, fixing crash
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 01:38:29 +00:00
hikerstk
46bb243955
Added constant 'stencil' to make it easier to disable stencils for people
...
with cards that don't support it (like apparently hd3000).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 00:46:34 +00:00
auria
68820bb325
VS 2013 fixes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 00:36:44 +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
hikerstk
7c2e48e2c6
Fixed VS compilation (MAX_PRIORITY is a #define somewhere), and while
...
it can probably be disabled, it's just annoying to search the reason for
a rather incomprehensible error message all over again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14622 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-03 23:54:11 +00:00
hikerstk
697a7cf111
Oops - forgot files in previous commit.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14621 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-03 23:11:29 +00:00
hikerstk
d41bbbaa2f
Merged uni's branch with trunk. No guarantee that everything works ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14620 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-03 23:02:06 +00:00
funto66
3b6aab44b5
Fix compilation with Visual Studio 2010
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14619 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-03 22:38:49 +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
hikerstk
0f098329a6
Removed mergeinfo in that branch.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 23:46:08 +00:00
hikerstk
4e134fbe82
Tried more fixed values.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 23:44:33 +00:00
hikerstk
15788359a6
Updated another mergeinfo file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 23:41:35 +00:00
hikerstk
94bf328e1e
Changed svn:mergeinfo to indicate that all revisions where merged (to solve
...
merging issues we have).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14612 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 23:32:08 +00:00
auria
faa7fd7ca5
fix typo that broke SSAO
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14611 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 23:22:03 +00:00
hikerstk
bc2432bb57
Merged with trunk, final part.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 04:43:14 +00:00
hikerstk
63d5961dd0
Merged with trunk, part 3.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14607 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 04:39:40 +00:00
hikerstk
71341a13f6
Merged with trunk, part 2.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14606 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 04:36:51 +00:00
hikerstk
bced8cdb9f
Merged with trunk, part 1 (due to previous failures I am splitting this
...
patch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 04:27:55 +00:00
samuncle
0a1431aed5
Corrected a bug on intel driver
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 23:46:12 +00:00
samuncle
9fdfb27a67
Add color correction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 22:48:12 +00:00
hikerstk
ad0fd41d52
Fixed compiler warnings on VS.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 22:16:43 +00:00
samuncle
77db3a2a6e
A basic test (TODO, if this is accepted I should make a new shader for only this effect
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14601 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 21:52:07 +00:00
samuncle
cd85c8418b
Better grass texture (more colorfull)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 21:51:49 +00:00
samuncle
aa95ccd5f4
Better grass texture
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14599 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 20:02:14 +00:00
auria
eaef91fc4b
Fix multiple crashes when new pipeline is turned off
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 19:42:14 +00:00
auria
f383440d7f
More post-graphics-merge tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 19:18:14 +00:00
auria
e5fbd5d1fb
First reorganisation of graphics options. Remove old MSAA anti-aliasing, offer only new MLAA. Organise options in more logical groups, improve overall popup layout
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 19:05:44 +00:00
samuncle
4e2a553b1f
The test map harvest for the new shader pipeline
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 17:51:27 +00:00
samuncle
063ea38cc6
A new bias (it works better with harvest
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14594 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 17:47:30 +00:00
auria
d1b8bc6073
Apply modified version of patch to remove remaining hit messages
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 17:23:48 +00:00
auria
d843c1812d
add back accidentally deleted music
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 17:06:54 +00:00
auria
8cf0030a27
Apply patch to fix OSX compilation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 16:51:08 +00:00
auria
5899a26aad
Merge cand's graphical improvements branch!! There are many known issues folks, so don't cry victory just now, this is just the beginning. Especially, shadows do not work correctly at this time
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-30 21:33:06 +00:00
auria
8c17d21282
Deprecate old texture
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-30 20:19:04 +00:00
auria
d8645620e0
Add new egypt music by 0zone0ne
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-30 20:08:07 +00:00
funto66
3a659d45dd
Add basic crash reporting functionality on Windows
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-29 22:33:11 +00:00
hikerstk
ac0b0eb7fb
Fixed name of supertuxkart.appdata, added (untested) installation support for that file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-28 06:20:36 +00:00
hikerstk
11a0cf4b16
Added 'appdata' file for linux installations (see http://people.freedesktop.org/~hughsient/appdata/
...
for details).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14584 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-28 06:14:43 +00:00
hikerstk
26744f16d1
Removed minimal race gui.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14583 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-28 06:06:45 +00:00
hikerstk
b1c6ca2865
Updated translations (based on 0.8.1).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14582 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-28 06:02:48 +00:00
hikerstk
05607e862e
Goodbye hit messages (note: I had to rebuild from scratch
...
to avoid some strange crashes).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-27 21:43:34 +00:00
auria
e877e27f4f
Add new version of overworld music bu OzoneOne
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-26 23:29:32 +00:00
hikerstk
87cc616a6c
Fixed orientation of final 4 wheels that are added to an arena
...
in battle mode (plus some minor code cleanup).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14578 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-25 11:27:59 +00:00
hikerstk
50c451ac35
Bugfix: forgot to set the actual type.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-25 09:26:29 +00:00
hikerstk
c136bc2bd0
Fixed #1109 by adding a proper constructor to the Settings class
...
(which will make sure all fields are initialised).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-25 06:01:16 +00:00
hikerstk
7797e1cbc3
Updated Asian fonts.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-24 21:57:33 +00:00
samuncle
6e46086db7
Add the animation of the cart (like the old old mine)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-24 16:24:56 +00:00
hikerstk
a1eaada6da
Changed default settings for wiimote.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-24 10:05:49 +00:00
samuncle
05955679ce
I forgot some modifications
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14560 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-24 01:30:42 +00:00
samuncle
7a0f6a635c
Add a stop sign
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14558 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-24 01:27:16 +00:00
samuncle
d811af4ea6
A better screenshoot
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-24 00:22:26 +00:00
hikerstk
af605462b2
Enabled wiimote-debug output in release builds, changed debug
...
output to show the now used and derived value.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-23 22:55:35 +00:00
samuncle
86385f6107
Add an animation for arrows inside the castel (some player are lost)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-23 22:50:34 +00:00
samuncle
b06284f759
Add a glow effect arround crystal
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-23 22:19:50 +00:00
samuncle
fe9127ed49
Better lightmap using complementary colors
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-23 21:47:42 +00:00
samuncle
78b65ee2b6
Add an animation for the arrows. The right path should be more clear now
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14543 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-23 21:15:23 +00:00
samuncle
bb50d719a3
I forgot a detail :(. The trunk of the palm tree wasn't on ground
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14541 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-23 21:08:38 +00:00
samuncle
db3f1b2c68
Fixing some flying objects
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-23 21:03:14 +00:00
samuncle
27a3009114
Add credit to the author of the trailer :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14534 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-23 17:29:26 +00:00
samuncle
a000aaf9f4
A better screenshoot for zen garden
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14533 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-23 16:51:11 +00:00
samuncle
84e6c4fea8
Even more lights for mansion
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14530 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-23 16:46:13 +00:00
samuncle
ad3270ff37
Better sign for inns, bars, etc
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14525 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-23 16:22:32 +00:00
samuncle
9ec46b1f41
Add the texture for ants
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14521 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-23 15:29:57 +00:00
samuncle
f0b4a2ea7c
Now ants are in data/texture
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14520 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-23 15:29:00 +00:00
auria
9e7e80eed3
Restore missing OSX files and adjust CMakeList
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14518 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-22 00:27:33 +00:00
hikerstk
ea9b7fe05c
Removed 'for Windows' from the name.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-21 22:59:16 +00:00
hikerstk
24f13806b0
Disabled hardcoded setting of difficulty to hard when using profile
...
(difficulty can be set with --mode, this way every difficulty can be tested).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-21 10:21:49 +00:00
hikerstk
a97430c882
'Better' fix for incorrect time in easter egg mode - thanks to
...
Devee for diagnosing the problem!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14512 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-21 01:50:46 +00:00
auria
5ea57efaac
Fix small glitch in the overworld
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14509 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-21 00:49:24 +00:00
auria
5ab8b2b563
Fix crash on empty ribbons, required for what's coming next
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-21 00:14:57 +00:00
hikerstk
5a7fb84267
Fixed incorrect overloaded getTexture function (char * where handled
...
as bool, not std::string), avoided more crashes on missing textures,
adde better warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-20 22:37:12 +00:00
deveee
195daa8794
Avoid to run Easter Egg mode as Grand Prix.
...
I added new files to avoid a mess.
Proposed for 0.8.1
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14504 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-20 18:29:10 +00:00
samuncle
6871e604c7
Better lightmap
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14503 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-20 15:47:31 +00:00
deveee
8ea98eae71
Display time in race result of Easter Egg mode properly.
...
It was broken since Easter Egg starts as linear world. My proposition is to include it to 0.8.1 branch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14494 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-20 14:43:17 +00:00
hikerstk
e6660d7c74
Improved warning messages: most warnings about textures not
...
found will now be prefixed with a line indicating what kart
or track it comes from. Fixed crash in referee when a texture
did not exist. Irrlicht's warnings about missing textures
while loading a mesh will be prefixed by a line about which
kart/track is missing as well.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14491 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-20 10:56:42 +00:00
auria
1c78060772
Fix another non-pot icon
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-20 00:11:56 +00:00
auria
13bffe33f3
Fix a little bunch of non-pot textures (there are more)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-20 00:00:58 +00:00
auria
1db85badf2
Fix a few non-pot textures. Of course there are many more
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-19 23:49:15 +00:00
auria
f8feba2337
new icon by totoplus
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-19 23:48:30 +00:00
hikerstk
6828007a51
Updated VS 2008 release project file (not necessary for cmake
...
based 2012 compilation) - saving this just in case that we
want to support XP longer.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-19 11:59:07 +00:00
hikerstk
a17db8d168
1) Fixed #1103 (installer does not remove shortcuts) by running installer as
...
admin which apparently is default in win7), and then setting SetSHellVarContext All
to tell the installer that the shortcuts are in AllUser.
2) Moved images out of supertuxkart directory (otherwise the images will be installed
with STK), added missing image.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-19 09:55:50 +00:00
hikerstk
4b057e320b
Removed old and outdated build support for VS and XCode.
...
CMake must be used now.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-19 01:12:46 +00:00
auria
685589a19c
Silence warnings that could occur when sound is disabled
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-19 01:09:19 +00:00
auria
fc37766a6f
fix harmless spinner warning
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14474 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-19 01:02:36 +00:00
yasin-ghannam
6de5854ef8
Fix Soccer Setup Screen Check box placement.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14473 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-18 02:15:05 +00:00
yasin-ghannam
287ff4c8ee
Added time limited-match instead of only goal-limited ones.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14472 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-18 01:58:10 +00:00
hikerstk
096c883552
Added new installer (which includes some commented out sections
...
which can be used to customise text), and new logo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-17 23:58:42 +00:00
hikerstk
fb186d676c
Enable wiiuse by default.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14469 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-17 23:01:21 +00:00
samuncle
9825884124
Minor corrections + ants
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14466 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-17 22:29:01 +00:00
samuncle
4b99301b27
Minor modifications for the jump
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14465 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-17 21:15:15 +00:00
auria
6d3a45cdd9
Delete unused file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14464 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-17 19:43:34 +00:00
hikerstk
4057787955
Updated Asian fonts, see r14461 on 0.8.1.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14462 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-17 10:42:51 +00:00
hikerstk
77ed273821
Fixed VS compilation of font tool. The font_toop
...
option is now also marked as advanced. I also tried
to fix linux compilation, but that's untested (r14459 on 0.8.1).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14460 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-17 01:04:48 +00:00
deveee
75a339b099
Force speed of a kart to be equal to 0 while rescue/explosion animation.
...
It solves problem with speed-weighted objects. Perhaps also others, for example some sounds depend on speed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-16 19:43:42 +00:00
deveee
a6952261e2
Stop sounds on close Grand Prix win screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14456 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-16 18:32:11 +00:00
hikerstk
c0783283e0
Fixed VS compilation (without WIN32_LEAN_AND_MEAN
...
VS defines MAX_PRIORITY as a macro).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14384 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-04 09:58:24 +00:00
hikerstk
0be530faf0
Fixed compiler warnings (and removed some tabs).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-04 09:56:33 +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
hikerstk
401f5caac2
Fixed compiler warnings (forcing int to be true or false or so).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@14282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-21 04:32:05 +00:00
hikerstk
41804c99da
Fixed windows compilation (without WIN32_LEAN_AND_MEAN
...
windows will define a macro MAX_PRIORITY, which clashes
with the constant of the same name in http_manaher).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@14281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-21 04:29:40 +00:00
hilnius
a64f187844
revision not in the gsoc report
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@14236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-11 22:29:05 +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
hilnius
26321be49d
implementing the race vote network communications
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@14135 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-22 20:40:14 +00:00
hilnius
a637ce6e36
some buxfixes + implementation of the max player count
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@14127 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-21 20:56:39 +00:00
hilnius
241a7f63e1
adding comments
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@14123 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-21 18:26:02 +00:00
hilnius
c9cb74a9e5
fixing bugs, adding comments, structures and functions for the map vote system
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@14122 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-21 18:18:50 +00:00
unitraxx
0979de10c5
Documentation for CurrentUser and Messages
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-16 18:31:00 +00:00
unitraxx
8b6cf84748
Documentation for online requests
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-16 00:09:38 +00:00
unitraxx
b0ba070140
HTTPManager documentation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-15 19:30:50 +00:00
unitraxx
f836df5eba
More small fixes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-15 19:16:36 +00:00
unitraxx
a855752f0c
Initial documenting for the profile manager and profiles and some FIXME's fixed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-15 18:08:32 +00:00
hilnius
0ce03186ee
merging uni's branch and fixing compilation problems
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-15 10:12:54 +00:00
hilnius
262f70205c
merging trunk and fixing compilation issues
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-15 10:05:34 +00:00
hilnius
5f4270acc6
adding some comments and fixing the kart selection screen bug
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-15 09:45:22 +00:00
unitraxx
c775662e4a
fix rfc for achievements when no default profile is selected
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-14 22:52:21 +00:00
unitraxx
99e7b565bc
Password changing done! (and some other small fixes)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-14 01:07:22 +00:00
unitraxx
f710250867
The account settings tab is only visible when visiting your own profile
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13677 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-13 23:22:12 +00:00
unitraxx
503e261a36
A new tab/screen for account settings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-13 23:02:56 +00:00
unitraxx
2c1d02095a
Changes to HTTPManager and it's clean-up sequence. Main thread now "joins" the network thread and thus waits for all the requests to be done. (Remember me to start a discussion on the memory leak checker!)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-12 18:23:56 +00:00
hilnius
20418a82af
Lot of changes to make a cleaner startup in no-graphics mode and having a clean exit with all threads being stopped etc...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-12 15:54:32 +00:00
unitraxx
e71d99aa2d
small clean up improvement
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-12 02:44:52 +00:00
unitraxx
5ba1493990
Some fixes in the sequence of quiting STK. Though the thread still gets killed before the request is done.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-12 02:29:05 +00:00
unitraxx
ed37d53be6
improvements regarding save-session (client-side)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-12 00:29:38 +00:00
unitraxx
90b8f6d0fc
Description of the achievement now pops up when you click on one and some bug fixes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-11 20:25:13 +00:00
unitraxx
fc45d76d27
Special case for viewing your own achievements. (Shows the progress)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-11 19:23:54 +00:00
unitraxx
cbca9404e3
Big ass commit regarding achievement viewing of other people via their profile.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13658 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-10 20:41:57 +00:00
unitraxx
095d5a58c1
Core for viewing achievements of others
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-09 23:10:36 +00:00
hilnius
0bddb320cd
Adding packet logging + fixing lost packets (that are now kept for 2 seconds while waiting protocols that should receive them to be started).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-09 19:15:31 +00:00
unitraxx
add8007dcb
Couple of bugfixes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13650 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-09 15:37:35 +00:00
hikerstk
d7960cc5bd
Removed regular polling debug output.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-08 11:20:50 +00:00
hilnius
6c9473dc1b
fixing all kind of problems with connection. Now everything works even if weird network configurations (like mine). It might not work behind professional (work) NATs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-07 18:49:48 +00:00
unitraxx
74ec8980d5
client-sid of achievements fetching/syncing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-06 17:56:05 +00:00
unitraxx
f38106ce77
Achievements looking good. Only server syncing and server-side need to be done.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-06 00:06:59 +00:00
unitraxx
c67c5a6fb1
Achievements progress now actually gets saved.. how cool is that?
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-05 23:20:39 +00:00
hilnius
ff8fda6219
cleaning way of stopping the listening thread (now uses a mutex locked/unlocked) Fixed some other bugs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-05 20:19:44 +00:00
unitraxx
d6f6383833
While one issue is fixed, another one popped up. Pretty late, I'll look at it tomorrow. (Feel free to have a look ;) )
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-05 02:41:08 +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
unitraxx
03be63ea5b
Even more achievements stuff. Unlock manager is a mess!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-04 19:44:10 +00:00
unitraxx
178fc8613d
Moar achievements stuff. Hooks and server stuff still TODO.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-04 01:57:04 +00:00
unitraxx
c0c744b45b
Fixed const iterator issue and something with the string utils.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13619 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-02 23:22:10 +00:00
hikerstk
56de36925c
Oops - missing file in previous commit.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13618 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-02 23:14:17 +00:00
hikerstk
991662fc9f
Fixed circular includes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-02 23:02:15 +00:00
unitraxx
91e77a14c3
Lots of additions to achievements! core almost done.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-02 20:53:55 +00:00
unitraxx
e21ef8d40b
Combined some file manager methods that had duplicated code into one getConfigFile method. Also fixed compile issues with the achievements stuff. (latter still WIP)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-01 21:11:15 +00:00
unitraxx
046269cebb
moar achievement stuff
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13612 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-31 02:06:56 +00:00
unitraxx
cd7e986486
Achievements start
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-30 22:28:57 +00:00
hikerstk
074ef2237d
Fixed compilation errors (left over references to file that was
...
removed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-30 04:39:51 +00:00
hilnius
50db118a91
fixing usleep unistd include
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-29 17:59:56 +00:00
hilnius
71fb252654
removed some useless files + improvements in end-race GUI interaction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-29 17:57:56 +00:00
unitraxx
7e8d167a89
Decent clean-up when closing STK. Send a message to the server if still signed in. (Server-code will not be pushed immediately, so testers might experience errors.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-28 22:45:11 +00:00
hikerstk
abef4345c5
Fixed typo (which only happens when compiling with wiimote).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13584 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-28 11:59:40 +00:00
hikerstk
dadca72349
Fixex VS compilation: need to link with Iphlpapi.lib,
...
and apparently 'interface' is reserved (or #defined) in VS.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13583 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-28 06:52:11 +00:00
hikerstk
de14757419
Fixed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13582 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-28 03:39:44 +00:00
hikerstk
c940616909
Fixed compilation on linux.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-28 03:36:51 +00:00
hikerstk
ffb2ee7c22
Replaced usleep (which isn't available on windows) with new
...
custom function in Time::. Replaced calls to irrlicht's
device's sleep function (since it can cause a crash if the
device doesn't exists, which can happen when a thread calls
device->sleep while changing screen resolution).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-28 03:17:44 +00:00
unitraxx
e0e8dff768
Last bug filtered out!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-28 00:23:31 +00:00
unitraxx
c24bdc66bd
Fixed some holes and other improvements.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13578 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-27 23:24:25 +00:00
hilnius
8233b8067d
merging uni's and trunk branches. Not everything tested right now
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-27 01:02:41 +00:00
unitraxx
217ec5ce9c
Lots of improvements, mainly related to login (dialog)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-27 00:07:29 +00:00
hikerstk
1591eb4126
1) Bugfix: member variables where accessed after deleting this
...
2) Removed unnecessary member variable, some code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13575 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-26 23:02:06 +00:00
hilnius
93ec81f309
now to know the public ip address, the GetPublicAddress protocol uses randomly selected STUN servers from the UserConfig file. If the server doesn't answer after two seconds, the protocol will reset and pick a random server again.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-26 14:14:52 +00:00
unitraxx
fe85a75036
small fix for polling result
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13573 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-26 14:06:19 +00:00
hikerstk
74c819fd8d
Fixed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13572 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-26 13:27:03 +00:00
hikerstk
c2e11c5783
Fixed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13571 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-26 13:24:58 +00:00
hikerstk
7b970b643a
Added (somewhat experimental) code to detect the local
...
IP address on windows (and to discover if 127.0.0.1 can
be used to connect to a client on the local machine).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-26 11:09:39 +00:00
hikerstk
96c04daa6a
Fixed VS compilation error.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13569 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-26 11:07:20 +00:00
hikerstk
d08583b19f
Applied same patch from hilnius branch to fix compilation (to
...
avoid conflicts when merging later).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-26 04:38:05 +00:00
unitraxx
616fc2b5be
dialog bug fix
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-26 00:06:30 +00:00
hikerstk
ee8ec31e62
Fixed VS compilation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13564 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-25 23:37:12 +00:00
unitraxx
5fa970b517
Fixed registration dialog bug and changed event checking in online screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-25 23:22:28 +00:00
hikerstk
ce67d78d1e
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13562 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-25 13:24:49 +00:00
hikerstk
9896c7ae3b
Fixed usage of usleep and round for visual studio.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13561 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-25 12:02:18 +00:00
hilnius
ff1ef8b0b6
addded a List UserConfigParam and a StringListUserConfigParam that contains a list of STUN servers (to avoid hard-coding the STUN server domain name.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13560 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-24 16:47:56 +00:00
unitraxx
b3a905dcc2
Related to previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13559 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-24 00:06:36 +00:00
unitraxx
f9f4047155
Glitch fix
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-23 23:47:48 +00:00
unitraxx
2ee5a1b188
Small adjustments to the notification and user info dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13556 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-23 19:53:03 +00:00
unitraxx
639d79fa10
Some general improvements. There is still a bug somewhere that on rare occasions triggers an assertion when signing in.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-23 19:37:39 +00:00
hilnius
39a0e7a67e
fixed a bug in the algorithm that sorts players at the end of the race
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13554 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-23 15:14:56 +00:00
unitraxx
bfc32bdd14
Remove friend and cancel request added in the client. Server-side still need to be implemented.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-23 00:49:46 +00:00
unitraxx
ed7b4b875a
Some dialog queue improvement.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13552 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-22 16:57:04 +00:00
unitraxx
5ada92b251
Cache issues fixed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13545 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-22 15:35:40 +00:00
unitraxx
136185969f
Another bugfix (Todo constraints and cache issues)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13541 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-22 02:25:08 +00:00
unitraxx
225994df55
Small sequence fault in setting the error color, when a server mistake occurs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-22 01:50:39 +00:00
unitraxx
ff877b60ca
And you now get immediate notifications for new friend requests! (easily extendable for future personal message notifications)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13537 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-22 01:22:09 +00:00
unitraxx
c3c1e1b054
When someone accepts your friend request while you are online, besides the notification, the status in the friendlist gets also updated.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-22 00:43:53 +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
hilnius
8e7338a13e
game no longer crashes at the end of the race, the end of race sequence seems ok for 1 player at least
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13532 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-21 19:04:46 +00:00
hilnius
e3261775e3
forgottent commit on former computer
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13531 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-21 13:54:50 +00:00
unitraxx
1f45958323
Fixed some iterator issue and a bug in the notification messages
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13530 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-21 01:15:00 +00:00
unitraxx
fc789d6b3d
When you ask someone to be your friend, it now shows immediately in your friends list. (as pending of course)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13526 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-21 00:06:13 +00:00
unitraxx
72a3015e1a
Dialog screens now pop up when a friend comes online ! hurray
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-20 20:58:34 +00:00
unitraxx
a4bb17d2ca
Some bugs/things I forgot
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13521 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-20 18:13:52 +00:00
unitraxx
8e6495139e
Related to previous commit. Changes to the modal dialog core. (Not 100% sure if every dialog still works.) Some core changes to profile, profile manager, and the related callbacks for friending.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13520 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-20 17:36:20 +00:00
unitraxx
445706793e
Big commit. Everything related to friending & friendslist GUI, dialog queue and callbacks for the 3 requests.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13518 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-20 01:10:07 +00:00
unitraxx
d40dd67e96
Some additions to some stuff. Mostly the profile manager, where I've added a separate queue for persistent profiles. (I.e. the current user and his friends.) We should definitely put a max on the number of friends. (Pretty low, and remove the limit for premium ;) )
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-19 19:31:50 +00:00
unitraxx
f43c5c915f
GUIEngine addition. Now a queue of dialog windows.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-19 18:08:51 +00:00
unitraxx
ac6ce5a4f0
Cleaning up some obsolete code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13513 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-19 16:24:15 +00:00
unitraxx
ea7d42c1b8
Friendslist gets automatically fetched after signing in. And some general bugfixes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-19 00:19:18 +00:00
unitraxx
c758ecbe43
Polling timer depends on whether you're in game or in menu.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-18 23:46:36 +00:00
unitraxx
0c4780a39e
Auto signing in, happens in the background on startup now.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-18 23:42:44 +00:00
unitraxx
2428a5f3b0
CurrentUser is now linked to a profile. Thread safeness obsolete, so removed. User class deleted. Adapted hilnius' code to conform.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13504 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-18 22:59:23 +00:00
unitraxx
37f3f55da8
Face one of the refactoring! callbacks on http requests get now called by the main thread. So absolutely zero thread-safety has to be taken care of, outside of HTTPManager and its requests.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13503 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-18 22:22:00 +00:00
unitraxx
17b9479fce
Quite the mess I'm committing, but it's kind of a back up for the massive refactoring I'm about to do now. It will be great! (hope so)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13502 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-18 21:08:27 +00:00
unitraxx
70bb8df317
Start of the GUI additions. Need some refactoring first.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13501 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-18 14:54:41 +00:00
unitraxx
9003af59e1
Additions to user memory mananegement in cache. Added the add, accept and decline friend core to the client.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13500 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-18 14:31:38 +00:00
yasin-ghannam
a400e48c57
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/soccer@13499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-18 12:43:19 +00:00
yasin-ghannam
43f8963a01
Goal SFX added.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/soccer@13498 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-18 12:25:08 +00:00
yasin-ghannam
51a7b2b387
Goal scoring corrected. "GOAL!" appears when a goal is scored (Music will be added soon). Karts start positions fixed so that each kart faces the goal of the opposite team, not its own.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/soccer@13497 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-18 07:36:32 +00:00
unitraxx
66c9c1fac7
More info shown now in the friendslist. Client now knows when a friend request is pending etc.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13494 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-17 21:39:51 +00:00
unitraxx
f0cf45b9b4
Client core for relationship info.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-17 20:22:55 +00:00
unitraxx
05a495810e
Some general useability improvements
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13491 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-17 00:27:35 +00:00
unitraxx
0f0caf5f35
Lots of changes. When you click a user name now (in friends-list or search result), you get a pop-up, where you can click to join and watch the profile.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-17 00:11:03 +00:00
unitraxx
8e530bd505
Small additions from the lost commit. (Also pushed the search files to the server, which apparently I didn't)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-16 15:55:43 +00:00
unitraxx
10600e94f9
Memory management in friends fetching back ok. Something weird happened with my commit this morning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13488 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-16 01:19:12 +00:00
unitraxx
c8df03e7ce
first SSL layer
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13487 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-16 01:11:19 +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
hilnius
98f3b20bcb
merging uni's branch and trunk
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-15 12:35:23 +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
unitraxx
eb1bd40c0c
small update to the friends fetching. The server request deletes itself in its callback.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-15 01:51:21 +00:00
unitraxx
c15f5537d4
Textbox border change. GUI changes accordingly. Checkbox in login dialog isn't properly aligned though.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-15 01:24:49 +00:00
unitraxx
2711744ed8
merge with trunk
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-15 00:20:28 +00:00
stephenjust
2373f4f053
Add certificate file for tuxfamily - still need to make sure it's installed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-13 23:18:08 +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
unitraxx
c1e36b02de
User searching! Very close to adding friends now ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13469 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-12 23:58:22 +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
unitraxx
b2a0198c34
Small fix in server selection
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13461 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-11 21:39:36 +00:00
unitraxx
c687151d11
Stable version of profile where your friends are actually showed with their username in a small list.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13459 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-11 19:47:25 +00:00
unitraxx
098b191e9e
see previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-11 17:24:36 +00:00
unitraxx
c8eea98342
The actual fetchitng and showing of your friends in the friendslist
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13456 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-11 01:22:27 +00:00
unitraxx
d8734acbe6
Profile fetching implementation as cache
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-11 00:59:10 +00:00
hilnius
23dba6ec0e
lan works now automatically. needs a fix for windows
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-09 18:21:14 +00:00
unitraxx
aa5c5a9f6b
Ok client-side everything now works perfect for addon voting. Be sure to use the new config file and change to server_addons= http://downloads.tuxfamily.org/stkaddons/assets-uni/xml if you want to test
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-08 00:42:35 +00:00
unitraxx
c111165703
Halfway friends list fetching. (Yeah it's quite a mess atm.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13438 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-08 00:19:11 +00:00
unitraxx
b0ff13299c
GUI work for profiles. A common inherited base screen for the different tabs. Friends screen added.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-07 15:03:33 +00:00
hilnius
d265c7e7be
adding code to synchronize also hits on bananas
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-07 12:48:16 +00:00
hilnius
372689f0bb
fixing multiple bugs in item selection events protocol
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-07 12:32:38 +00:00
hilnius
367892e055
working powerup synchronization (not tested but should work ;p)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-06 23:46:15 +00:00
hilnius
7bf6b3cc25
removing a mistake that was making karts not do item checks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13427 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-06 23:38:57 +00:00
unitraxx
bf5eccf4ed
Some nice optimization update to the rating widget. The calculation of the stars was quite weird?
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-06 23:17:00 +00:00
unitraxx
366ae7009d
Lots of stuff. Mutex optimization. Addon voting. Some profile stuff continued. Progress+++
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-06 22:45:33 +00:00
hilnius
149875d83c
moving some code to make the server execute it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-06 20:59:19 +00:00
hilnius
67c2cb2395
fixing a problem in the server lobby room protocol (that bug had been introduced some revisions ago
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-06 20:44:25 +00:00
hilnius
46c994f6fb
fixing a problem in the server lobby room protocol (that bug had been introduced some revisions ago
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-06 20:42:41 +00:00
hilnius
9e77350108
adding small debug info
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-06 19:16:27 +00:00
hilnius
9151770aa0
fillig the GameEventsProtocol with events that concern powerup collect
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-06 19:10:33 +00:00
unitraxx
856a21a47e
start of profiles
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-05 02:03:33 +00:00
unitraxx
757d9e3683
Some general dialog improvements
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-04 13:33:14 +00:00
unitraxx
63e927b277
Responsibility shifting for the deactivated case
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-03 01:58:29 +00:00
unitraxx
40de2f62ae
More rating bar and addon voting geniousness (server-side still needs update)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-03 01:54:39 +00:00
unitraxx
6198c43728
Awesome rating bar widget is awesome
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-02 02:25:58 +00:00
unitraxx
ed689232e0
Quick commit to save my progress as my internet connection is clearly unstable
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-02 01:28:50 +00:00
hilnius
9ec58bbcb1
working karts online selection
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-01 23:28:21 +00:00
hilnius
55bd9e18fd
lot of code refactoring, now protocols can choose whether they receive network messages (and more generally events) in a synchronous mode (along with the main loop) or in an asynchronous mode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-01 19:55:09 +00:00
hilnius
b394bd9295
lot of code refactoring, now protocols can choose whether they receive network messages (and more generally events) in a synchronous mode (along with the main loop) or in an asynchronous mode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-01 19:49:57 +00:00
hilnius
a51f7bfb74
modify the race_id management to ensure that we always have ids between 0 and the number of players
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-01 11:51:23 +00:00
unitraxx
f4c7cf439e
Fixed a small issue. The main issue is still the bad allignment of the widget though.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-01 01:04:51 +00:00
hilnius
057c8f46be
adding things in order to be able to leave the world at the end of a network race
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-01 01:03:07 +00:00
unitraxx
a4c5c4b8ec
Some advancements with the addon voting
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-01 01:02:35 +00:00
unitraxx
9a4c93f2de
Implemented a callback listener for the login dialog. Added a vote dialog for addons.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-31 20:47:06 +00:00
hilnius
ea2b52a663
merging hilnius's branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-31 18:03:11 +00:00
hilnius
1b5c6fd804
merging trunk
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-31 17:06:15 +00:00
unitraxx
8656a12d12
Undoing last commit which was not what I wanted after all.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-30 22:05:06 +00:00
unitraxx
75e286932f
An attempt to merge with hilnius' branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-30 21:39:27 +00:00
hikerstk
57183584ff
Fixed VS compilation, and sorted includes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-30 13:04:29 +00:00
hilnius
a20c200b77
merging uni's branch. one bug appeared back
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-30 00:41:47 +00:00
hilnius
bcd15a8851
now network GUI interacts properly with the server, can go up to the selection (still cannot ask for selection)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-29 23:43:28 +00:00
hilnius
840faec44b
missing include
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-29 15:30:17 +00:00
hilnius
8a79bbadfd
better control of events to leave the server properly if the user is in the kart selection phase and decides to leave
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-29 15:27:25 +00:00
hilnius
ad18d9299d
fixing last issues with the inherited kart selection screen : the screen is now deleted when back is pressed, and re-instantiated when it's loaded again. If not, there was a problem with two screens instantiating the same '.stkgui' file. The screen is not deleted when the user clicks a kart (eg when starting normal game) to allow a working popScreen()
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-29 12:42:21 +00:00
unitraxx
8c1d84ce74
Some fixes to my GUI Engine additions, so that they are compatible with the rest of the game.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-28 19:31:17 +00:00
unitraxx
1d90f554e8
Merging with trunk, aesthetic changes, and added virtual keyword to the destructor of Track_object.hpp because of errors.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-28 17:27:06 +00:00
unitraxx
6699284237
Some preparations to make the merge with the addons' network manager go smoothly.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-28 14:11:20 +00:00
hilnius
79c5fc03e9
moving class declarations of objects used by the KartSelectionScreen to kart_selection.hpp
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-28 12:28:26 +00:00
hikerstk
eed1c88b4c
Merged r13349 from trunk, which fixes creation VS project files from cmake.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-28 05:24:59 +00:00
hikerstk
151535cc79
Fixed VS compilation errors and warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-28 05:22:02 +00:00
hikerstk
cea8482845
Merged r13349 from trunk, which fixes creation of VS project files with cmake.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-28 02:03:06 +00:00
hikerstk
5efcb986e4
Fixed VS compilation (mostly by including winsock2.h before libcurl).
...
Also replaced binary numbers (non-standard) with hex numbers, and a few
minor cosmetic changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-28 01:28:14 +00:00
hilnius
f3b03488c4
as always had forgotten to add the new files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-27 23:13:34 +00:00
hilnius
b737ad753a
adding a way to have a network kart selection screen inheriting the normal kart_selection_screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-27 23:13:03 +00:00
unitraxx
4091c4c965
Recovery dialog finally added. Some additional GUI changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-27 20:55:10 +00:00
hikerstk
6441c4548c
Fixed typo(??) in list of sources.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-26 23:49:08 +00:00
hilnius
0f469cd3d9
fixing server joining issues
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-26 23:47:43 +00:00
hilnius
8c6c1d2c4d
adding forgotten files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-26 13:02:35 +00:00
hilnius
3e0fcb6d00
adding possibility for the server to decide when to start the selection
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13354 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-26 12:49:05 +00:00
unitraxx
328e186014
Small bug fix + removing the private user state getter
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 14:53:25 +00:00
unitraxx
ea11bfa725
CurrentUser doesn't use acquire and releqse anymore. Mutexes added to the members.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 14:01:20 +00:00
unitraxx
261957bf72
acquire/release approach removed for ServersManager. Added MutexLocker to synchronised.hpp. CurrentUser will folow after sleepy times.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 02:22:53 +00:00
hilnius
d95065b685
quick join now works.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 01:40:52 +00:00
hilnius
87e9deea78
established back login from command line
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 01:21:03 +00:00
hilnius
cc2a967969
adding back some things in uni's code that i had removed for debugging
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 01:14:22 +00:00
hilnius
1ebfd0ada4
fixed server connection
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 01:07:42 +00:00
hilnius
ddc9e8d5ba
update
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 00:26:44 +00:00
hilnius
c5c6c6195f
merging uni's branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-24 15:43:54 +00:00
unitraxx
aba6b9f0e6
add a synchronousRequest option to the HTTPManager
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13336 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-24 13:08:45 +00:00
unitraxx
0979eb009c
WillemS had a compilation error concerning the namespace os of irrlicht. Tried a fix, waiting for confirmation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-24 12:53:19 +00:00
unitraxx
85579c3d9b
Client-side code related to previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-23 23:54:55 +00:00
unitraxx
7bd614ab12
Registration process fine-tuned. Using icons now and the asynchronous layer. Still TODO : activation and recovery.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13331 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-23 22:29:05 +00:00
unitraxx
a632aca9c9
Some "create server" improvements in both screen and flow. Creating one doesn't actually let you join the server, but pops up the server info dialog of it, which gives you the option to join.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-23 20:58:24 +00:00
unitraxx
cdab5caf35
Replaced all non-related GUI code actions done after a reply to request callbacks. Servers manager now allows getting by ID and sort index.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13326 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-23 16:34:38 +00:00
unitraxx
182cd15477
Fixed the bug in rejoining a lobby. Added a lot of mutex stuff, which wasn't actually related to the problem at all.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-23 01:37:49 +00:00
unitraxx
311fb7bf4b
Fixed reloading bug in server selection
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-22 20:00:08 +00:00
hilnius
66b4724a76
fix a bug that appeared when starting a normal race
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-22 09:38:04 +00:00
unitraxx
bf2d907ccf
small fixes to let server joining work. (temporary version though.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-22 00:23:42 +00:00
unitraxx
20e6fe74b2
server creating and joining. (server side code not complete)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-21 23:30:04 +00:00
unitraxx
c2159306e8
Some documentation and thread-safeness. ___Remind me to ask some questions about mutex___!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-21 20:26:27 +00:00
unitraxx
8360c06b15
Deprecated old internet access method. Adapted my servers_manager and users to the new system.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-21 17:41:02 +00:00
hilnius
84a2df059b
adding rotations to the kart updates protocol
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-21 15:34:16 +00:00
unitraxx
af12be28fa
Login dialog can't be closed now during a sign in request.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13308 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-21 15:25:17 +00:00
unitraxx
1cdad60b17
Another enhancement for my HTTPManager which needed a lot of changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-21 15:21:48 +00:00
unitraxx
dea145952b
Apparently the onEscapePressed callback for a dialog didn't operate as advertised. I fiex.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-21 15:19:15 +00:00
hilnius
a4a3e486d1
modifications that were done on server
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13305 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-21 14:03:36 +00:00
hilnius
0de91b3612
working protocol for controller events
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13304 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-21 14:00:46 +00:00
unitraxx
3a630d4985
Some memory management
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13303 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-21 01:17:00 +00:00
unitraxx
e84159f0c9
Made a response queue for the http manager. Adapted everything to use it. Enhanced registration process. Loading messages use the global timer.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13302 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-21 00:47:48 +00:00
hilnius
b206aeb0bc
adding log to debug
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-21 00:17:45 +00:00
hilnius
3bf42045f6
correcting a bug in the controller events protocol
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-20 23:07:15 +00:00
hilnius
38f32b14cc
adding protocols for game events (still not written) and controller events (partially written)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-20 17:32:23 +00:00
unitraxx
eafcbc7103
Client side checking for the client and deactivating actions during sign in request.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-20 15:52:59 +00:00
unitraxx
4a96c67697
Added method to check if a widget is active or not
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-20 15:46:25 +00:00
unitraxx
e065870037
Server joining and creating is now asynchronous. Enhanced LabelWidget to use (error) colors.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-20 14:21:17 +00:00
unitraxx
ac40b8111b
Decent killing of the network singleton and thread.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-20 02:14:36 +00:00
unitraxx
ebc3696de1
Signing out is now also asynchronous. Made the extending of the requests easier.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-20 01:38:44 +00:00
unitraxx
8c9834a236
Automatically signing in, is now very smooth.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-19 22:41:54 +00:00
unitraxx
54333c17b0
Fix. Asynchronous calls can now have callbacks. Thead-safeness improved.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-19 22:12:36 +00:00
unitraxx
ad198a6e70
Temporary commit so that I can easily revert if shit goes down. And it will go down. Thread callbacks madness!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-19 21:20:32 +00:00
hilnius
07d0e5560b
server changes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-19 16:09:32 +00:00
hilnius
5c3251e797
stupid pointer not initialized error made the server crash when a second person was connecting to it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13288 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-19 16:04:44 +00:00
hilnius
2567602ef3
adding address printing debug info
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-19 15:36:52 +00:00
hilnius
1940387f9a
adding info to debug easier
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-19 15:18:08 +00:00
hilnius
2574c28c5c
fix to avoid the lag
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-19 14:40:32 +00:00
hilnius
68336bdcdc
increased the update rate to let the game be playable
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-19 14:18:21 +00:00
hilnius
c6ef045f2a
had forgot to initiate the btTransform
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13283 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-19 14:15:13 +00:00
hilnius
4c14995c72
fix to move karts for real
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-19 13:46:17 +00:00
unitraxx
ae6bc57b95
Added Server and ServersManager to the online namespace and edited everything that uses those.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 23:02:18 +00:00
unitraxx
8ec5adeec0
Signin in now fully uses asynchronous http requesting. Implemented a nice "loading dots" gimmick for loading.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 22:49:19 +00:00
unitraxx
3724fc3dae
First working version of asynchronous http requests. It's still a mess! Renamed some files and made use of an online namespace.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 21:18:40 +00:00
hilnius
cd063a8eb2
moving log to more relevant places
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 18:04:47 +00:00
hilnius
3327e609c6
stupid mistake in a line was making everything bug
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 17:56:32 +00:00
hilnius
97891cd5ef
fix a bug that was making the position updates protocol do too much updates (normally it's 1 per second
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 16:37:40 +00:00
hilnius
b9bf6b9e12
more debug info
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 16:29:27 +00:00
hilnius
28241f66b2
adding variables to debug easier
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 16:13:10 +00:00
hilnius
176c175206
dually enhanced thread protocols management to avoid protocols asking their own deletion multiple times (which of course causes a segfault)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 15:58:46 +00:00
hilnius
ea1c6947ab
adding more thread-safety
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 14:20:09 +00:00
hilnius
8edf1b6f9e
trying to fix a bug concerning the state modification during asynchronous messages
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-18 13:55:42 +00:00
hilnius
93bad9b586
fix a bug that made the server crash during an assertion
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-16 22:50:00 +00:00
hilnius
75e75c43ee
adding a workaround to be able to start a network client from a server (with --no-graphics option)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-16 22:27:28 +00:00
hilnius
766f9dfe70
correcting some bugs in the kart position update protocol
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-16 15:00:49 +00:00
hilnius
ddae296064
had forgot the important files in last commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-16 14:46:54 +00:00
hilnius
3be0d70ce0
adding a protocol to update positions over network during a race
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-16 14:45:48 +00:00
hilnius
9e712c87b7
finally when a game starts online the online player karts are set-up successfully
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13258 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-16 12:50:59 +00:00
hilnius
0625379706
slight modification in the synchronization protocol to handle correctly multiple clients on the server (token management was not working).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 23:28:20 +00:00
hilnius
e139380a59
cleaning the logs now everything works. Now a player can connect to a server, select a kart (all in console), and the server can start a game. The game starts on clients when the server tells it.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 16:50:17 +00:00
hilnius
d6618969f4
there was a stupid operator<< instead of >> in network_string. That explains other bugs that happened (32-bits words were truncated to 8-bits)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 16:44:19 +00:00
hilnius
f2d11aa425
really weird bug
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 16:23:02 +00:00
hilnius
9bf6dde4f3
improving synchronization protocol
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 16:10:50 +00:00
hilnius
dec7a74c99
fix a bug in asynchronous protocols update management
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 15:58:08 +00:00
hilnius
ec65fb96aa
synchronization protocol double/int conversion error fix
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 15:44:21 +00:00
hilnius
dc3b5fe35c
correcting a bug in events propagation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13250 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 15:32:36 +00:00
hilnius
e954bde7ee
more debug info in console
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 15:06:11 +00:00
hilnius
1d1728553d
switching timer count to double instead of int
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 15:00:59 +00:00
hilnius
83d64e6fc2
adding log
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 14:50:28 +00:00
hilnius
3bb6122f8e
modifying the protocol system to have bon synchronous and asynchronous updates (required by gui and graphics to avoid crashes because of threads)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 14:31:14 +00:00
hilnius
72dd260bd1
fix on the countdown
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 13:53:47 +00:00
hilnius
4134f65dd7
a player can now start an online game. synchronization should work now
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 13:50:39 +00:00
hilnius
13aa1d52c8
fix a blocking infinite while
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 13:44:17 +00:00
hilnius
e95bafca44
adding even more log
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 12:56:19 +00:00
hilnius
12107053c0
adding log to better understand what is happening
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 12:51:02 +00:00
hilnius
cebbfdeb06
fix a bug that was making the game freeze (one protocol asked to start a protocol, and before the start of this protocol, was making infinite loop depending on the latter's existence)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 12:43:39 +00:00
hilnius
d3ac41f984
there was a problem in the server code : main loop never starting
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 12:31:18 +00:00
hilnius
b36e089ff9
can now start a game after a server requested it. synchronization does not work for now
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 12:27:32 +00:00
hilnius
ab4a1995c0
online race startup sequence - adding players config in the state_manager
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 11:38:47 +00:00
hilnius
853d244882
was a problem with starting protocol in setup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 11:15:15 +00:00
hilnius
4bde8a9337
adding a countdown feature to the synchronization protocol
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13230 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 11:10:51 +00:00
unitraxx
ecaa073eb5
Made the few buttons there are in lobby, do something.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 01:32:09 +00:00
unitraxx
c2c314a2c2
Fixed issue that requesting to join a server signed you out.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13228 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 01:20:06 +00:00
unitraxx
395b000bee
Removed the addons_screen references to the tab_stop method which were left behind
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 00:37:05 +00:00
unitraxx
ebc1af345d
Remove the tab hack completely
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 00:32:19 +00:00
unitraxx
67854a7efd
You need to sign in now, for the features where it's needed. Also made a temporary implementation for quick play.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 00:25:56 +00:00
hilnius
db376f9745
a bit more log
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 22:54:45 +00:00
hilnius
6fdf7cb55e
some things forgot in last commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 22:37:22 +00:00
unitraxx
567f6302ed
Removed the old tab hack from scalable font. (Could someone check if done correctly?) and made it possible for table entries to have both left-aligned and centered content.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 22:24:06 +00:00
hikerstk
36653fada6
Updated VS project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 22:09:06 +00:00
unitraxx
a0b20697d2
Removed space for icon, if there is none.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 21:52:51 +00:00
unitraxx
bc236c0f99
adjusted addons_screen and server_selection to use the new capabilities of the list widget
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 21:47:48 +00:00
unitraxx
de6cc44b2a
List widget now supports multiple columns, each cell can have an icon and or text.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13216 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 21:33:33 +00:00
hilnius
c50a24a25d
adding a protocol to start a game, added features in the synchronization protocol
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 21:19:22 +00:00
unitraxx
2d0d407d7f
Small bugfixes in the CGUIListBox
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 01:01:56 +00:00
unitraxx
b44f547057
Copied the CGUIListBox widget to make an STK version.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 00:34:47 +00:00
hilnius
75df500884
synchronization protocol works. the command 'synchronize' in the command line after being connected (both on client and serv) will start the protocol on both and calculate the average ping
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13212 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 00:00:20 +00:00
hilnius
8a2f6a9888
debug info in synchronization protocol
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-13 23:35:34 +00:00
hilnius
e002d4f1bd
correcting the synchronization protocol
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-13 23:31:56 +00:00
hilnius
2f08ee8902
had forgot to add new files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13209 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-13 23:16:40 +00:00
hilnius
c1534075d3
adding a protocol to synchronize client/servers and a little bit of code to test it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13208 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-13 23:12:53 +00:00
unitraxx
ec34fcafa7
Stay signed in works now (with checkbox in sign in dialog.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-13 22:25:17 +00:00
unitraxx
3463a01e85
Remember session (without GUI) and starting to integrate online-multiplayer and addons networking code. (Limited to config file for now.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13202 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-13 15:59:27 +00:00
unitraxx
200127102d
Big commit related to server joining.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13196 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-12 23:12:31 +00:00
hilnius
ebc4c60e2c
reducing thread consumption. One thread is still updated as often as possible, but i don't know which.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-12 15:03:32 +00:00
hilnius
12075a19b7
fixing some memory leaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13194 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-12 14:08:33 +00:00
unitraxx
8dd9314eaf
server fetching and selection
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13193 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-12 01:07:26 +00:00
hikerstk
706c231691
Avoid crash in case of ENENT_..._NONE messages (which typically
...
don't have packet data).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13189 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 22:41:56 +00:00
hilnius
d0059d32d4
had forgot one line
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13188 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 22:09:33 +00:00
hilnius
09bccbe3e2
may fix things on hiker's windows :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13187 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 22:07:38 +00:00
hilnius
d08239064b
had forgot a line
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13186 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 15:56:10 +00:00
hilnius
d5ab7a666d
connection/disconnection of peers is now handled by both server and clients, when players select karts, other player are notified. the storage of players on a server is fine.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13185 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 15:35:31 +00:00
hilnius
44d18fff28
adding the formerly connected peer in welcome messages for newly connected peers so that they know who is already in the game
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13184 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 14:05:18 +00:00
hilnius
f03e366809
adding debug logging to see why when two players are connected, only one gets all the kart update messages
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13183 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 13:39:36 +00:00
hilnius
4334472a3a
event more pointers, now everything works
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13182 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 13:30:16 +00:00
hilnius
64c1ee950f
more pointers for less bugs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13181 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 12:59:53 +00:00
hilnius
ea8cb2f5c4
fixing other pointer multi-thread problems
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 12:22:35 +00:00
hilnius
66de06e0e5
improving management of peers to avoid fails due to multi-threading
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 12:03:28 +00:00
hilnius
8e8d7110fe
final fix that should fix all thread-pointer-peer-segfault-double free bugs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 01:14:12 +00:00
hilnius
dfc55a2f0b
silly error causing double delete correction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 00:38:33 +00:00
hilnius
f15a9b58c4
should resolve segfaults
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 00:25:39 +00:00
hilnius
7665f30828
sync work
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 00:03:47 +00:00
hilnius
b00bb5c050
fixing segfault and comparison operators
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13171 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-10 23:03:45 +00:00
hilnius
3c3868210f
improving again the protocol system, fixing some pointer issues that might appear
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-10 22:46:23 +00:00
hilnius
212b77fef3
adding features in the client lobby room protocol, separating client and server lobby room protocols in their own files to have clearer code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13162 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-10 20:15:17 +00:00
hilnius
8ca4b62038
bored of writing commit messages >.<
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13161 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-10 13:44:30 +00:00
hilnius
6199524440
fixing buts appearing after some time being connected
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13158 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 23:46:09 +00:00
hilnius
72ed28a992
repairing some bugs appearing after a certain time being connected
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13157 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 23:35:53 +00:00
hilnius
bcc4fafa94
adding back sources.cmake
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13156 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 22:05:52 +00:00
hilnius
4446f530db
adding command line features for a client to connect to a server
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 22:05:06 +00:00
hilnius
54aaa39309
correcting a bug
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13154 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 19:13:35 +00:00
hilnius
ae2e656059
updating hilnius branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13151 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 17:37:45 +00:00
hilnius
7cf9cfa8d9
branch was too much full of bugs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 14:21:50 +00:00
hilnius
a55016301e
fixing segfault issues when trying to exit, the protocol update thread is now launched by the protocol manager (and not the network manager)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 14:07:28 +00:00
hilnius
4bd4386208
fixing a crash due to gui modal dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 13:14:48 +00:00
hilnius
008c2d57b2
fixing a crash due to gui modal dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 13:14:48 +00:00
hilnius
60e4a2bb5e
adding possibilities to connect directly with command-line options, adding console entry for the client server manager'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 12:42:44 +00:00
unitraxx
bd3ee05f10
Small fix to comply with changed server-code. (Not tested - though is relatively small change.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 02:04:35 +00:00
hikerstk
49631c0027
Updated VS 9 project file, and fixed compilation problems.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 01:22:58 +00:00
hilnius
587fcdec32
correcting little bugs in the lobby room protocol
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13133 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 22:53:50 +00:00
hilnius
dc4a32c204
correcting some bug in message exchanging
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13132 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 22:47:24 +00:00
hilnius
b1f823ea71
hmmm that's so good ! working connection, better protocols, fixed ALL the endianness problems (sure this time :p)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13131 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 22:06:57 +00:00
hilnius
0ee94ed9ed
adding console entry for server, server stopping features (unregistering from database), now server_conn can use back the lock that was here
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13129 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 21:04:23 +00:00
hilnius
7476d2a3ca
after more little-big endian issues, people can now connect
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13128 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 16:50:20 +00:00
hilnius
136b9d2b15
little-big endian issue failed before
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13127 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 16:02:08 +00:00
hilnius
39436d464c
little-big endian issue
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13126 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 15:57:46 +00:00
hilnius
ac6534615c
fixing a ENet connection issue
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13125 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 15:47:28 +00:00
hilnius
4a93c84adb
server-client connection should work now
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13124 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 15:34:12 +00:00
hilnius
293e53bbd1
supposedly working server-client connection
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13122 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 15:03:36 +00:00
hilnius
ff28a8b7f0
finalizing weird commits
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13121 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 14:40:28 +00:00
hilnius
f56f1ec3b1
weird commit number 2 to fix issues
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13120 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 14:36:39 +00:00
hilnius
c3bf8a0358
weird commit number 2 to fix issues
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13120 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 14:36:39 +00:00
hilnius
fd0e627906
weird commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13119 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 14:06:23 +00:00
hilnius
1e94193b8b
splitting --no-graphics option into --no-graphics and --with-profile options
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-07 22:55:21 +00:00
hilnius
acf1ff548a
fixing a segfault caused by mipmaps in --no-graphics mode and adding a connect to peer protocol (for the server)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13116 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-07 22:23:13 +00:00
hilnius
9aa25a4e97
Modifications in protocols to use the http connector and xml to get information from the database. Correcting the --server option which wasn't working. Now launching supertuxkart --server will connect the user 'server':'serverpass' and start automatically a ServerLobbyRoomProtocol that listens to incoming peer connections.
...
Improvement of logging. Some were fatal whereas they shouldn't.
Improvement of the protocol system. There were mutex permanent locking.
Protocols that do not use http are now non-blocking (except maybe one).
A user can 'quick join' the server by logging then pressing the 'quick play' button in the online panel.
Improvement of packet serialization/unserialization
Added a ping protocol to ping peers as long as they don't respond
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13112 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-07 19:49:51 +00:00
unitraxx
2bf2ed0002
Start of creating servers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13108 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-07 00:45:31 +00:00
hilnius
711ba681f1
protocol 'specification'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13104 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-06 14:32:44 +00:00
unitraxx
3ef2c4772a
Merge my branch with networking branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-06 14:10:32 +00:00
hilnius
2f7bcd60bb
starting a merge
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13102 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-06 13:03:14 +00:00
hilnius
e0e64680a5
merging trunk and networking. 'data/gui/menu_story_focus.png' has its networking version kept (dunno why the two files were different, they seemed same to me)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-06 11:48:23 +00:00
unitraxx
4208a28f7d
Merge and lobby GUI tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13100 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-06 01:28:31 +00:00
unitraxx
bf13bed7a2
Merge with trunk
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13097 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-06 00:38:39 +00:00
unitraxx
83b270cccd
Lobby settings screen. Quick draft that will be used to test the server functionality. (Looks ugly now, need to merge with trunk again.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13096 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-05 23:26:44 +00:00
unitraxx
8617e0e15c
Key navigation now works perfect. (Had to be changed due to the fix Auria provided for the GUI Engine)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13095 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-05 23:23:28 +00:00
hilnius
78b9a7d6a7
adding a new string class to easily format packets. added features in the lobby protocol
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13089 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-05 16:16:02 +00:00
hilnius
ed6e4ebfb4
correcting the ai kart bug due to the former networking removal
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-05 12:01:29 +00:00
hilnius
6b35cbb8fd
adding connection stuff in the lobby protocol, and a xls file in doc/ to describe the protocol
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13084 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-04 22:49:45 +00:00
hilnius
01ceeaa23a
Adding the base class that will contain all information about all players, correcting events passing inside the protocols manager
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13081 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-04 20:36:50 +00:00
hilnius
2a0a9a3617
merging uni's and hilnius's branches in networking
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-04 17:24:20 +00:00
hilnius
253a3ec1e8
cleaning destructors, using log:: instead of printf or std::cout, cleaning more paths, removed useless fnctions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13076 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-04 16:59:30 +00:00
hilnius
7a174fd122
cleaning the includes to meet stk's standard
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13075 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-04 13:19:32 +00:00
hilnius
91b85accf7
starting branch to merge network and lobby
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13064 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-03 22:58:13 +00:00
hilnius
1f42aaedb5
removing hilnius-testing branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13062 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-03 13:43:13 +00:00
unitraxx
b52c905f9e
Beginning of networking lobby.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13057 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-03 00:12:00 +00:00
hilnius
29697049ed
network rework
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13053 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-01 22:46:23 +00:00
unitraxx
49717d8cca
Fixed what should happen when pressing enter in the register and sign in dialog.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13051 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-01 01:06:11 +00:00
unitraxx
5ecf73d90f
Fixed sign out issue. I forgot that asserts only get checked with debug builds.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13050 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-30 23:41:30 +00:00
unitraxx
a6b492129e
[_GSoC Uni_] 'Screen' has now a callback 'onDialogClose' which gets called by 'ModalDialog' after being dismissed. (Also removed a debug line in RibbonWidget)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13048 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-30 22:16:29 +00:00
unitraxx
965a429bca
[_GSoC Uni_] Changed the online screen to use deactivated icons, now that's possible (again), instead of icons with a locked badge for actions that aren't allowed for unregistered users. Also changed initial focus of the screen, depending on the state of the user.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-30 16:35:53 +00:00
unitraxx
340b22ef87
[_GSoC Uni_] Added Icons suggested by the designers on the forum.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13040 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-30 15:47:39 +00:00
unitraxx
d183cd3451
[_GSoC Uni_] Added extra flag to Widget, to allow hiding of widgets before they are added. Note that only RibbonWidget supports this at the moment and that other widgets should be adapted before making use of this feature (not so hard though). What it basically does is, not taking into account hidden widgets for lay-out calculation and navigation and not making an IGUIElement for the widget as it is not needed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-30 15:14:26 +00:00
unitraxx
6d37125348
[_GSoC Uni_] Merge to revision 13035
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13036 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-30 00:56:57 +00:00
hilnius
613e97d0d6
breaking everything that was working. cannot even start a race now, need to rewrite the network manager and part of the race startup sequence
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13032 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-29 22:57:18 +00:00
unitraxx
4e2ef1347a
[_GSoC Uni_] Updated the interface code for the online part and some small adjustments to the underlying code. -- Ready for user testing! Can connect to the api server now. Activation not yet needed, mail addresses will not be saved, don't pick an important password. (Users will sometimes be deleted during development anyway.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13031 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-29 22:55:15 +00:00
unitraxx
0850ccf617
[_GSoC Uni_] Added a method to ribbon_widget to look for a child on id and get a widget returned.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-29 22:50:20 +00:00
unitraxx
dea6a6d721
[_GSoC Uni_] Extended ribbon_widget to only take in mind active children. Overall improvement of GUI and code organization.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-29 02:27:56 +00:00
unitraxx
f99f27cbf1
[_GSoC Uni_] Signing out. Online screen (beta) improvements.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 01:33:15 +00:00
unitraxx
075b3aa3c7
[GSoC Uni_] Enhanced online_screen. Let 'Sign In' and 'Register' connect to the server. Renaming GUI file. Added debug code to connector.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12991 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-27 01:38:16 +00:00
unitraxx
83ff1cbe79
[GSoC Uni_] Made login and register dialogs navigable without mouse.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12987 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-26 17:29:52 +00:00
unitraxx
488b55f0e8
[GSoC Uni_] Registration has now 3 fases. Login also uses the new red error messages. This commit works for all testers as it doesn't connect to a server.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-26 01:41:28 +00:00
unitraxx
32c9aff78e
Edited label widget to allow color changing after the widget has been added.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12980 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-26 00:19:23 +00:00
hilnius
36673a2112
doxygen commenting a lot of code, improved thread-safety, improved coding standards
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-26 00:05:17 +00:00
unitraxx
f553d962d5
[GSoC Uni_] Moved online gaming related gui xml files to a separate folder. Changed the login dialog to have an input message and started with a registration dialog.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-25 15:16:03 +00:00
unitraxx
18828d5668
[GSoC Uni_] Sign-In Dialog fixed. Removed debug code in http_connector.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-25 00:08:03 +00:00
unitraxx
7e36035228
[GSoC Uni_] Several improvements. No point in having a decent commit message, if it's for me only ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-24 19:20:16 +00:00
hilnius
f52469159b
the way events pass trough the protocol system is now clean.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12918 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-23 00:53:26 +00:00
hilnius
cd19ef2d78
cleaning the way events come out from Enet, improving peer management (removing double peers)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-22 23:45:46 +00:00
unitraxx
fe47e50341
[GSoC Uni_] Writing and fetching from database (registering) works. Lots of debug code to be cleaned up.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12913 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-22 02:47:28 +00:00
unitraxx
295a86017a
[GSoC Uni] XML parsing of the server reply. Username & Password back to std::string.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-21 02:12:38 +00:00
hilnius
bd1afde029
added thread-safety, starting to implement a clean way to transmit packets from lower to upper layers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12909 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-21 00:26:19 +00:00
unitraxx
2e35f293df
[GsoC Uni_] Small commit to ask a question concerning stringw
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12906 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-20 22:49:46 +00:00
unitraxx
ffb23fbc6d
[GSoC uni] temporarily removed connection with server.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-20 14:40:33 +00:00
hilnius
97394b5ac9
a client can connect trough a host behind a NAT (tested
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12902 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-20 13:04:32 +00:00
unitraxx
a3ec5c3d97
[GSoC uni] Small increment.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-20 02:15:05 +00:00
unitraxx
be11ce1cd0
[uni GSoC] Connection with server OK. Remark : won't work if you don't have a locally set up server, change the adress in the config accordingly and have the code of my stkaddons branch running.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-19 18:49:20 +00:00
hilnius
1b12026b19
Working mutliple-user connection trough enet, using STUN protocol. Needs to be tested on WAN to be sure it works.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-19 16:07:51 +00:00
hilnius
3d62fd1214
creating inherited singletons
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12887 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-19 14:01:25 +00:00
hilnius
6b1e1b94a5
adding the network singleton interface, cleaning the protocols code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-19 11:45:32 +00:00
unitraxx
98274f59d5
Base for having users and connection with server.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12884 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-19 01:12:45 +00:00
hilnius
714a85b507
Adding protocols to publish/hide information in the SQL database. The protocol that allows a client to identify himself, retreive a server public IP:port and connect to it is finished. Remains the server-protocol for it. Protocol management improved (protocols can be paused/unpaused).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12883 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-18 22:25:03 +00:00
hilnius
918af26024
cleaning http function
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-18 15:31:04 +00:00
unitraxx
aa9eb45c8b
[uni GSoC] Removed ununnecessary file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12877 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-18 02:47:02 +00:00
unitraxx
609c908101
[uni GSoC] Some initial GUI code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12876 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-18 02:44:00 +00:00
unitraxx
f863609de8
[uni GSoC] dialogs/login_dialog.cpp:39: undefined reference to 'vtable for LoginDialog'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12875 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-18 01:53:26 +00:00
hilnius
f63ab88f88
removing unnecessary files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12874 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-18 00:42:54 +00:00
hilnius
57b7534a6d
basic protocol intrication, sending address info online, a client can set his public transport adress (ip:port) in a sql database
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-18 00:42:11 +00:00
hilnius
9e990e76e0
untrack files that shouldn't be tracked
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-17 20:53:14 +00:00
hilnius
1cac3c7815
improving socket management
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12870 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-17 18:06:02 +00:00
hilnius
27a7f1da6b
stun working
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-17 12:48:44 +00:00
hilnius
2469902478
stun update
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-17 12:46:42 +00:00
hilnius
d933eae338
base commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-16 23:54:02 +00:00
unitraxx
d21b8d890a
New branch for unitraxx's gsoc work.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12864 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-16 23:20:04 +00:00
hilnius
7eed6c59e8
Setting up the branch for hilnius.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-04 00:19:23 +00:00
computerfreak97
122e716d74
Added command line option for network debugging: --debug=network.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@9272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-15 04:50:46 +00:00
computerfreak97
8094fdf92d
Added debug info to networking branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@9249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-13 14:45:04 +00:00
computerfreak97
415644bbc4
Got enet working in networking branch. Thanks Auria for your help
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@9247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-13 01:04:49 +00:00
hikerstk
75d51131a7
Removed accidentally committed 'backup' version.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@9246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-12 04:45:11 +00:00
computerfreak97
987305239e
Actually update to the most recent enet :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@9244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-12 04:27:12 +00:00
computerfreak97
e4251b2bc6
Update to most recent enet
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@9243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-12 03:55:00 +00:00
hikerstk
07a98ef06b
Created networking branch for computerfreak.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@9242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-12 03:07:31 +00:00