Commit Graph

7686 Commits

Author SHA1 Message Date
hikerstk
1b53fc70ab Bugfix: the new skidding still applied a slowdown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 23:28:01 +00:00
undef-in-ed
fb7c95dd66 CMake: fix problem occurring with Wardje's setup
For Wardje both tests (with and without Xxf86vm) failed because of gcc
being unable to execute 'as'. His error log showed also tests executed
by FindX11 (provided by CMake itself) failed because of this.
Not sure what is broken exactly but this patch circumvents it.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10980 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 20:27:44 +00:00
undef-in-ed
d606e7eab9 CMake: integrate (optional) "dependencies" directory
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 12:51:08 +00:00
undef-in-ed
3234653cea CMake: linking of pthread
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 12:50:51 +00:00
undef-in-ed
70bb244bbb CMake: fix whitespace errors
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 12:50:36 +00:00
undef-in-ed
1e0625d4ab CMake: refactor FindIrrlicht a little bit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 12:50:15 +00:00
undef-in-ed
9c1d373c4b CMake: workaround for Xxf86vm when building on X11 platforms
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 12:49:44 +00:00
undef-in-ed
6e148e2aaf CMake: mimic folder hierarchy with source_group for MSVC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 12:41:52 +00:00
hikerstk
8108045c03 Adjusted debug camera somewhat to get a closer view
of the kart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10972 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 05:56:23 +00:00
hikerstk
b9f6b6f0d5 Fixed debug output (trying to print a std::vector ;) ), removed compiler
warnings (which indicate a possible bug).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 01:21:35 +00:00
auria
8f2ee68b16 App,y patch by Wardje to fix small errors on the main menu, thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10970 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-14 23:30:47 +00:00
hikerstk
9377234935 Improved ghost format to support events (like start/end
skidding), and to make it easier to concatenate ghost
data. Skidding events are already stored, but not used
in replay atm.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-14 23:15:31 +00:00
hikerstk
83fc0b2644 Improved steering after releasing the skid button.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10968 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-14 23:10:16 +00:00
hikerstk
bbb0954ae8 Applied Wardje's patch to have separate high scores for reverse mode.
Thanks a lot!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-14 22:37:56 +00:00
magned
6783ab7d6f Changed fabsf(steering)<0.3f to 0.9 in order to make it skid the other way even if steering is still at 90% to the other direction. It's complicated to explain.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-13 22:53:21 +00:00
hikerstk
330c269f42 Added a little jump (duration set in config file) when
starting to skid.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-13 22:34:50 +00:00
hikerstk
4e02fe9d6c Removed commented out code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10964 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-13 22:33:43 +00:00
hikerstk
288f43d481 Made the bonus speed given for a skidding boost configurable (the values
were for bonuses were changed, but are still not considered to be tweaked).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-13 20:51:50 +00:00
auria
bdac17c748 CMake can now also generate cygwin makefiles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10962 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-12 00:48:52 +00:00
mbjornstk
74da40989e Remove pixels from edge of image, they weren't fully transparent.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-11 00:24:29 +00:00
auria
f639458f26 CMake can now generate visual c++ projects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-10 23:16:57 +00:00
hikerstk
9d4bdd32a2 Updated VS 10 project files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-10 12:40:28 +00:00
hikerstk
73176a8d28 Made skidding more controllable: now once the kart
started to skid, you can influence the turn radius
to a certain degree (stk_config.xml, reduce-turn-min
and -max).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-08 23:30:26 +00:00
hikerstk
f0e65ed092 Ignore .dll* and .ilk* (so that debug/release versions of those
files are not shown anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-08 23:12:59 +00:00
hikerstk
629f9a27e2 Removed dependencies on controller.hpp from kart.hpp (to
reduce compile time on controller changes).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10952 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-08 22:56:33 +00:00
hikerstk
9d1e114bde Moved steering adjustment when skidding into skidding class.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-07 11:27:12 +00:00
hikerstk
2555cc6e59 Removed unnecessary if statement (since now virtual functions
work for ghost karts).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10948 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-07 03:18:53 +00:00
hikerstk
72070db1a0 Fixed memory leak: the virtual createPhysics function of
GhostKart was not called, since it was called during when
the contrsuctor of Kart was executed (at this time the
GhostKart vtable wasn't set up, so Kart::createPhysics)
was called - which resulted in a memory leak since all
physics parts of the kart were actually allocated (just
not used). To fix this, karts are not constructed in two
phases: first a constructor, followed by a call to init
(during which virtual function can be used).
Fixed several bugs were physics data for a GhostKart
were accessed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10947 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-07 02:41:41 +00:00
auria
1e9b237b52 Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 23:36:17 +00:00
hikerstk
0df352a805 Added file forgotten in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 23:24:15 +00:00
hikerstk
3c852e2891 Allow fonttool to be compiled on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 23:01:00 +00:00
hikerstk
e3c39b613a Applied riebl's patch to compile font tool under linux
and remove all compiler warnings.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 22:28:47 +00:00
auria
f59dab5914 Apply small patch by riebl to support more ways in which irrlicht may be installed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10941 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 21:18:32 +00:00
auria
b250a20e50 Apply other patch by riebl to CMake, hopefully one of the last ;) stop manually linking the frameworks on OSX since the find modules add them, and remove sh-file from the list of files to compile
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 20:57:35 +00:00
auria
0b54129fa3 Apply patch by riebl to CMake build system that moves thing around a bit to make them better organized
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 20:40:06 +00:00
mbjornstk
0a879c8e64 Add new skidding_properties.[ch]pp to build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 20:38:18 +00:00
auria
1dfd236705 Clarify license
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10937 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 19:29:40 +00:00
auria
1ff469d1a6 Apply another patch by riebl to move detection of Ogg/Vorbis to the find_package module in a subdir
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10936 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 17:07:16 +00:00
auria
c1a43b42aa Apply patch by rielb to make our use of custom build flags for release builds more CMake-standard
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 16:42:00 +00:00
auria
f75a7221f0 Apply patch by riebl to simplify install target
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10934 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 16:39:57 +00:00
auria
f3cd7480da Another imnprovement to CMake build system by riebl : don't rely on CWD for setting paths
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 16:35:11 +00:00
auria
62d76f1405 Apply patch by riebl : fix possible crash when OpenAL was disabled
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 16:33:06 +00:00
auria
8391f085ce Apply patch by riebl : adjust DummySFX so it can be used instead of SFXOpenAL
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10931 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 16:32:18 +00:00
auria
19e9470356 License clarification
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10930 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 16:05:35 +00:00
auria
c53895c941 Bugfix : don't ignore interaction property on animated objects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 15:34:25 +00:00
hikerstk
9bce8f574b Fixed linux compilation problems, updated cmake project files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10927 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 11:37:47 +00:00
hikerstk
65c73e9186 Refactored skidding to use a new base class SkiddingProperties.
This patch reduces the dependencies between KartProperties and
skidding core (and especially reduces compile time when skidding
core changes).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 11:28:04 +00:00
auria
3404d4cf46 Improvement to Cmake on OSX suggested by riebl, thanks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 01:46:38 +00:00
auria
ea1260df5b osx fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 01:15:27 +00:00
auria
09804299f4 Apply more cmake patches by riebl, the files are easier to read now, thanks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 01:07:26 +00:00