Commit Graph

46 Commits

Author SHA1 Message Date
Alayan
185772ca4a
Fix a strict-aliasing violation
See #5035, based on a commit by @miller-alex
2024-05-10 15:48:37 +02:00
Benau
1c99ba2562 Fix clang warnings 2022-03-31 11:55:23 +08:00
David CARLIER
2899cf8977 Mac M1 build fix proposal avoiding mixing up with homwbrew for Rosetta
as well.
2021-01-09 22:33:42 +00:00
Benau
46649e6b7d Fix always self-moving object in offline game 2020-08-05 12:10:17 +08:00
Benau
10e7ac603f Fix possible bullet crash 2020-03-09 16:12:49 +08:00
Benau
d7003ab9c3 Remove global variable in btQuantizedBvh 2020-02-28 09:32:11 +08:00
Benau
eed95e7c92 Remove global variable in btCollisionDispatcher 2020-02-28 09:31:11 +08:00
Benau
8008753aa5 Remove global variables in btOverlappingPairCache 2020-02-28 09:31:07 +08:00
Benau
1cb966d04d Remove global variable in btSequentialImpulseConstraintSolver 2020-02-28 09:31:02 +08:00
Benau
a58c443247 Remove global variables in btGjkPairDetector 2020-02-28 09:30:56 +08:00
Benau
05ed086d28 Remove global variables in btAlignedAllocator 2020-02-28 09:30:52 +08:00
Benau
336883e2e7 Remove global variables in btRigidBody 2020-02-28 09:30:47 +08:00
Benau
306eb1b531 Disable built-in bullet profiler which uses global variables
It breaks client and server in same process later
2020-02-24 09:26:22 +08:00
David Carlier
ba150e8659 bullet build warning fix replacing by C++ casting 2020-01-25 21:53:12 +00:00
Benau
c7308b82b0 Add iOS flags handling in cmake 2019-07-12 14:53:55 +08: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
8a1d0bae34 Fixed some 64-bit related compiler warnings on VS. 2017-04-07 00:41:08 +10:00
Benau
2127e44cc2 Remove clang compling warning 2017-01-12 09:54:20 +08: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
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
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
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
Odd0002
47bac3b33d Fix debug build on GCC 5.3.0 2016-03-26 22:36:22 -05:00
Marianne Gagnon
33defa44b7 Merge most modifications by egirsova to build 64-bits on OS X 2016-03-21 20:16:59 -04: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
hiker
cd8fd7fb16 Merge remote-tracking branch 'origin/master' into Flakebi-fixes 2015-07-20 09:10:05 +10: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
3b9e85af0b Converted bullet's TravelCM (i.e. in cm) into Travel (i.e. in m). 2015-07-09 00:06:19 +10: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
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
Flakebi
366f8a26bb Fix more clang warnings 2015-02-05 02:44:06 +01:00
hiker
6f980b7605 Adding more btAsserts. 2014-11-12 19:14:59 +11:00
hiker
157bc445b9 Added more asserts for #1678. 2014-11-12 13:28:33 +11:00
hiker
cbd43704ac Added more asserts. 2014-11-12 07:53:24 +11:00
hiker
11916dd187 Different implementation of soft-landing. 2014-09-30 23:13:48 +10: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
Flakebi
e490874a90 Fix compiler warnings 2014-06-05 18:27:19 +02: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
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
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
auria
2da4e7b1f6 Apply patch to make sure CMake builds static binaries of libraries
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-19 22:39:43 +00:00
auria
cab6469443 Complete Cmake OSX 10.7 support. Hopefully Cmake is now ready to take over the manually maintained Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-14 23:10:20 +00:00
hikerstk
84fcb13914 Added wiiuse project file (read README for details on how
to use it).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-31 22:24:06 +00:00
hikerstk
bc4c86b898 Fixed memory leak in bullet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12227 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-10 06:00:20 +00:00
auria
011d6c98f0 Move libs to a new directory
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-18 23:09:12 +00:00