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
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
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
Fantasmos
823d3112ad
Begun making template for dictionary
2017-10-27 22:31:54 +11:00
Fantasmos
af7fefee1e
note errors
2017-10-26 11:32:43 +11: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
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
0f17d7e23a
Fix #2917
2017-10-25 09:14:26 +08: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
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
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