hikerstk
fbb9e5f8d2
Refactoring: interpolating values is now handled in a separate class
...
InterpolationArray. This class is now used for the skidding probability
of the AI and the turn radius of all karts (which depends on speed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-16 05:51:46 +00:00
auria
95a8ba37e0
Make animated textures work with LOD
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11186 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-06 01:13:03 +00:00
auria
8dcc237c28
Fix tons of warnings when building with Mingw. Yes I know I did a few changes in bullet. I don't care, the warnings were too annoying
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-20 01:51:28 +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
hikerstk
a25fb4a71c
Replaced core::stringc with std::string.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-10 22:45:57 +00:00
auria
2c9db720c0
Add initial way to make some bubbles traversable and others solid. More tweaking will be necessary
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-10 02:04:46 +00:00
auria
92eb0ebd2a
Ran a small bash script to remove all of those annoying strings. The only thing they gave us were the need to rebuild after committing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 18:43:36 +00:00
auria
0455efd20d
Massive refactor in challenge code to allow having more than 1 progression
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-05 22:00:42 +00:00
auria
cede3074bf
Fix build issue
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-08 02:00:33 +00:00
hikerstk
a4c709e822
Another try to fix freebsd compilation: instead of a separate function for
...
time_t, add 32 and 64 bit int version (from stdint.h and/or some specific
windows typedefs).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10134 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-08 01:14:49 +00:00
hikerstk
fdc495b5bd
Third try (or so) to fix freebsd compilation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10108 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-06 10:32:33 +00:00
hikerstk
c3c1c023d6
Yet another try to fix freebsd compilation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-04 02:12:09 +00:00
hikerstk
1d44201493
Also remove the actual implementation of the function
...
for freebsd.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10092 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-02 22:50:33 +00:00
hikerstk
b9ea877ca3
Removed overloaded function for freebsd (where apparently time_t is same
...
as int).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10089 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-02 03:15:19 +00:00
auria
d04bc58413
Quite a bit of work on Doxygen docs to contain an overview of the STK source code base
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-25 17:46:14 +00:00
hikerstk
76df1fa694
Added leak checking.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 22:40:35 +00:00
hikerstk
3b63f1c299
Fixed ref counting in irr_driver (file_manager was not released), added
...
ref counting to file system object in file manager (not strictly necessary,
but cleaner).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9968 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 01:09:23 +00:00
hikerstk
a93d05d046
Fixed unnecessary creation of an irrlicht NULL device (one in file_manager,
...
one was created just to get the list of modes, before the actual device
is then created). This fixes a minor memory leak (the 2nd NULL device was not
freed), encapsulates all device creation into irr_driver (and not in
file_manager).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-12 11:28:35 +00:00
hikerstk
b8f84d5d75
Removed warning in case that a partially downloaded file (*.part)
...
is found in tmp when exiting stk.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-08 00:18:23 +00:00
hikerstk
0e0f238cb0
Automatically remove all zip files in addons/tmp that are older
...
than 24 hours (to help in case that a zip file is needed to
debug). Also some minor cosmetic changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 22:56:10 +00:00
auria
d8815794b9
Fixed a lot of old logging code left from before the log level was a bit mask. We don't have too many log bits so atm they are classified a lot in 'misc'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-15 23:39:09 +00:00
hikerstk
54b83c7123
Fixed typos.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-14 05:06:12 +00:00
hikerstk
62e5f76979
Improved documentation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9019 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-23 11:26:30 +00:00
hikerstk
b4d3d5e5bb
Fixed several copy&paste errors in checkAndCreateAddonsDir
...
(instead of creating m_addons_dir, the code was creating
m_config_dir, so the addons directories would not be created
correctly) - see #280 .
Also improved error handling and error messages. The file_manager
now checks for $XDG_DATA_HOME, $HOME/.local/share, $HOME/.stkaddons
or else "." as a base directory for addons (under which it will
create supertuxkart/addons).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9018 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-23 07:18:05 +00:00
hikerstk
af147c3c37
Fixed minor typos in comments.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-15 13:04:15 +00:00
hikerstk
7c628c1239
Fixed typo.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:50:20 +00:00
hikerstk
4fee01b72c
Added 'addons' subdirectory to linux addons directory. This allows later
...
if necessary to have different versions of addons directory (which is what
Windows and Macs already support).
NOTE for linux users: this means that currently installed addons will not
be found anymore. I would recommend to delete existing files in
.local/share/supertuxkart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:07:52 +00:00
auria
8788a07010
Minor includes cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 23:04:19 +00:00
auria
4157f7dc10
More work on 'thou shalt not include irrlicht.h everywhere carelessly'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:45:17 +00:00
auria
d501753ef2
Clean up irrlicht includes; avoiding including the huge irrlicht.h when we only need one specific class, especially in header files; use forwards when possible
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:03:28 +00:00
auria
3d743e8e2d
Use a better path for add-ons on OSX, before I had chosen a poor location and addon files were among config files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8560 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 01:29:18 +00:00
hikerstk
449f99be62
Used bitmask for verbosity.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-09 12:28:52 +00:00
hikerstk
92123f8681
Fixed incorrect 'priority' of texture search path:
...
data/texture/mossy_stone.png was loaded for jungle
instead of data/tracks/jungle/mossy_stone.png.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-01 14:30:50 +00:00
hikerstk
6867018d52
Enabled news (but not addons) in normal debug mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8086 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 12:10:07 +00:00
auria
de743669f8
Fix wide-string player names (only if irrlicht 1.8 is used)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8060 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 15:52:59 +00:00
hikerstk
954b420446
Started to add support for downloading news from the addon server
...
at a specified interval only (e.g. only download every 2nd day).
Not fully working yet, might not work on linux/mac atm.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-23 03:57:49 +00:00
hikerstk
ac80387d20
Fixed removeDirectory function on windows.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7584 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 23:13:29 +00:00
hikerstk
96300b062c
Fixed compilation bug on non-windows machines.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 22:15:01 +00:00
hikerstk
4ab6331ff4
Update to bullet-2.77.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 22:04:13 +00:00
mbjornstk
015443f582
Set props as per SVN-CONFIG for .[ch]pp, AKA SVN props clean up day. :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-21 01:54:38 +00:00
hikerstk
a4ee467c49
Started to add some error handling, fixed handling of zip files
...
with directories in them.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7467 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 05:44:33 +00:00
auria
685cbd1c14
Move particles into a new subdirectory
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7460 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 01:04:23 +00:00
auria
78370b27ad
Make file manager a bit less verbose, it's normal that createXMLTree does not always find the file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7453 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 19:42:52 +00:00
mbjornstk
341862bdcf
Add {} to make compiler happy about switch/case.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 02:35:13 +00:00
auria
7e9f6b5b20
Correct bug I introduced in XML reading, sorry
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 01:49:49 +00:00
auria
17a0f09296
Fixed a few more uses of atoi
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 00:25:21 +00:00
auria
24d0d549ba
Improve error handling in XML classes (namely, atoi must die) since I was bitten several times now by insufficient error handling. Also set up base architecture to support the new gfx mode 'my kart is animated but not Ai karts', though it doesn't work atm for the simple reason that at the time the model node is created we do not yet know if the kart is player or AI...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 00:06:59 +00:00
aeonphyxius
840a77ed38
add new tutorial folder and a file containing the configuration
...
first tutorial configuration file
Add to file_manager.cpp the method to check the tutorial file
tutorial data, to implement the XML loading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 00:27:03 +00:00
hikerstk
9dde70687f
Implemented icon caching, and updated to support the future
...
web page (unfortunately the web server isn't up to that
standard yet, so expect error messages, addons that don't
work etc.).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 22:49:55 +00:00
hikerstk
4571e76c03
Fixed non-addon compilation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 23:38:11 +00:00