Commit Graph

7666 Commits

Author SHA1 Message Date
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
auria
d1240cb1bf Revert accidental commit to data/stk_config.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 00:27:52 +00:00
auria
3c2b69fb5c Apply a bunch of CMake patches by riebl, thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 00:18:51 +00:00
auria
32c9213ccf Fix some code I can't make sense of anymore and would result in accessing index -1
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-04 23:17:26 +00:00
auria
cc33573368 Minor improvements to CMake build system suggested by riebl so that we are more standard and values corectly appear in CMake GUIs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-04 20:07:44 +00:00
auria
c980c6e3cf Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10918 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-04 13:53:06 +00:00
mbjornstk
16ff23c405 Record low-high Ktris range in FPS display.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10917 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-03 22:15:49 +00:00
mbjornstk
1baa949396 Add new skidding files to build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-02 20:41:19 +00:00
hikerstk
3acb609edf Updated cmake file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-02 04:33:33 +00:00
hikerstk
88c16e7cbe 1) Refactored skidding so that all skidding handling is now done
in a separate object (Skidding) of Kart.
2) Renamed m_drift of the kart control structure to m_skid
   to be consistent with the usage in STK.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10914 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-02 04:17:38 +00:00
mbjornstk
64e49ca09b Add missing \n in help text.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10913 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-02 02:05:53 +00:00
hikerstk
01f57291fe Fixed my previous commit, which stopped the AI from skidding with
the old skidding mode, not as intended with the new skidding code.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-02 00:52:02 +00:00
hikerstk
285789111f Disable skidding in the AIs if the new skidding code is enabled (since
the AIs can't handle the new skidding at all).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-01 23:33:26 +00:00
hikerstk
1f3cf63680 1) Removed unused angular velocity setting for skidding.
2) Stop misusing m_skidding to force skid sfx when a bubble
   gum was hit or the kart is breaking.
3) Somehwat simplified skidding code.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-29 21:27:39 +00:00
hikerstk
650af20260 Fixed #550: zippers have much less effect.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10909 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-29 09:10:16 +00:00
hikerstk
1e90311e5e Use the visual rotation in replay files, so that skidding is properly shown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-29 05:44:37 +00:00
mbjornstk
19ad29ff90 Update build system for replay code reorganization.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10907 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-29 03:58:35 +00:00
hikerstk
188042d646 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10906 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-28 22:42:58 +00:00
hikerstk
30151b9176 Updated cmake file list.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-28 22:42:36 +00:00
hikerstk
3fc43d4d14 Refactored replay by splitting it into one base class, and dedicated
classes for recording and for replaying. Added compression (by use of
interpolation) settings to stk_config - atm only using a certain
frequency (delta-t setting in stk_config) is used.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10904 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-28 22:33:49 +00:00
hikerstk
4f1961044c Avoid crash in case of a kart-track collision while during resetAllKarts (which
apparently happens in doing-the-dishes with 20 karts).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-28 03:36:18 +00:00