Commit Graph

417 Commits

Author SHA1 Message Date
hikerstk
c70b63ff40 Removed test code, and made apple use xterm colors.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-14 00:41:06 +00:00
hikerstk
5d8c0d7be1 Added log infrastructure. Only a few files of STK are actually using it,
but all (f)printfs should be replaced. Note that I had to rename
tinygettext/log.?pp to avoid linking problems on windows.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-14 00:38:07 +00:00
hikerstk
7472512175 Fixed compiler warnings (_C can be defined).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-07 21:29:50 +00:00
hikerstk
e8900f69e6 Fixed #796 (**:**:** as time), which happens if the race is aborted
before a kart has moved (due to a division by zero). Now 99:59:00
is displayed instead, but in case that there should be other 
circumstances that trigger this problem, use 99:59:99 instead of
**:**:**.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-23 13:13:38 +00:00
hikerstk
3b4c5f3bbb Made steering for keyboards less sensitive (or slower)
at smaller steering angles, and a bit more fast at higher
steering angles (resulting in overall the same time-till-full steer).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-15 01:20:36 +00:00
hikerstk
9aad59398b Fix one more potential crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-14 06:03:00 +00:00
hikerstk
93da1096fc Fixed crash in STK if a version number was only
two digits (like "0.5" instead of "0.5.0"). This
happens with the classic sand track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11936 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-14 04:31:11 +00:00
hikerstk
7b43e95fa8 Removed unnecessary parameter of InterpolationArray constructor.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-30 05:47:02 +00:00
hikerstk
fa21cb89f5 Fixed typo ... which resulted in the AI braking most of the time.
Welcome back, competitive AI ;)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-18 05:33:42 +00:00
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
hikerstk
669e18be67 Renamed getFloatTimeSincEpoch into getRealTime (since this time
does not need nor is based on a fixed epoch). Changed getTimeSinceEpoch
back to the previous implementation which returns time in seconds since
1.1.1970 - this is important to compare addon download time.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11657 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-02 07:17:28 +00:00
hikerstk
0d97658552 Use irrlicht's timer instead our own self-made timer which apparently
has some problems on windows (causing incorrect animations).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-01 03:37:14 +00:00
hikerstk
72d856dc03 Fixed various float vs double compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-30 23:28:09 +00:00
auria
d92a5b1ba1 Make getFloatTimeSinceEpoch more precise to bring back smoothness during cutscenes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-30 22:24:41 +00:00
hikerstk
cc364e9f23 Simplified leak checks (removed one unnecessary class), and made
the data structure thread safe to avoid a race condition that would
(very infrequently) crash the game.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-07 01:54:27 +00:00
hikerstk
f63011d003 Added default constructor, which simplifies usage of this object.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-07 01:35:41 +00:00
auria
cc4affabd4 Add date in screenshots. Sorry, GMT time
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-01 00:03:39 +00:00
stephenjust
27a2e6902d Add support for hiding add-ons which are marked as being present in the current version of the game.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-20 03:40:16 +00:00
auria
aced31cbfa Add support for playing sounds at given points during the cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-16 23:35:51 +00:00
auria
dd487346aa Introduce (in a totally optional way) the C++2011 feature to explicitely mark overrides. This bit us quite a few times in the past, so if we start using this more then those with GCC 4.7 will at least catch the errors when they happen :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-14 00:04:26 +00:00
hikerstk
fdbeca93a2 Converted line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-08 07:09:51 +00:00
hikerstk
e3a1d40588 Supply special operator== and operator!= functions to avoid the
use of those functions from btQuadWord (which also test the W
component, which is for our case wrong).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-29 23:07:41 +00:00
auria
bfd81cb56e Fix compilation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11150 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 18:55:38 +00:00
auria
6e81376db3 Add code to try to catch gettimeofday bug on linux where 0xffffffff is returned
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11149 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 18:46:31 +00:00
auria
7e5f51b270 Identify players by a unique ID and no more by their name, so that when you rename a player game slots are no longer so confused. This is a somewhat painful change, please report any breakage
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-24 01:28:43 +00:00
hikerstk
d0fb8aa78a A first version of the cannon that uses linear interpolation for the
bezier curves to allow smooth (i.e. constant speed) travel along
the curve.
This is WIP. Known bug: the kart jumps at the beginning and
end of the cannon animation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11122 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 13:14:18 +00:00
hikerstk
cddea4ae65 Added proper operator[] functions so that Vec3[i] can be
used on the left side of an assignment.
Also fixed coding style and added documentation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11106 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-10 12:43:15 +00:00
auria
5bdca7e90f Improve display of requirements on force fields
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-26 01:13:45 +00:00
stephenjust
d7d8df28ee Fix VC warnings. Hopefully didn't break non-vc compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10599 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 03:32:10 +00:00
auria
ac799f4b9b Fix issue under windows
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 03:03:04 +00:00
auria
d7b12da059 Add a few time facilities that were useful to test what takes long
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10582 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-07 22:01:51 +00:00
auria
f9f8052f09 Improve error handling in string utils
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-22 21:01:17 +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
hikerstk
e92827f357 Cosmetic changes only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-24 00:22:39 +00:00
auria
cb6a1a45af Tweaks to credits : remove outdated translators section from the CREDIT file, use the credits that Launchpad puts in the .po file instead
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10062 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-29 22:34:45 +00:00
auria
afbcceefda Remove accidentally committed leak_check change
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-21 01:17:45 +00:00
auria
cc59b47845 Add a comment for translators, forgot that in the previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10025 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-21 01:15:32 +00:00
hikerstk
95a42cbb9d Fixed compilation error on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 22:55:53 +00:00
hikerstk
798576ef12 Cosmetic changes only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9918 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-29 23:03:00 +00:00
hikerstk
ae9b3b8e0f Added missing <stdio.h>, which is necessary on linux
(and sorted includes a bit).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-23 00:17:52 +00:00
auria
07afe4c87b Fix quite a few leaks in the GUI engine, and introduce my quick leak-detection macros in dbeug mode (with Joerg's approval)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-22 18:08:04 +00:00
auria
5e905e4322 Added support for the gettext context feature
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 18:07:59 +00:00
auria
1908a58f95 Apply patch by rjaguar3 to display locale-specific dates
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 15:43:51 +00:00
auria
185b76a08a Don't use sizeof to get size of array, it doesn't work
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-19 01:43:40 +00:00
hikerstk
8c7a1fd635 Fixed compiler warnings on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9529 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 05:26:25 +00:00
hikerstk
1708aeaafb Used time_t as the time type on all platforms to avoid
casting; added function to convert time to a readable
string to the namespace; and cleaned up code in addon.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9528 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 04:49:06 +00:00
auria
9be7bf48ba In the XML standard, entities must start with 'x' if they are hex
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 01:32:19 +00:00
auria
99a05b145e Stop tempting the devil and use the proper type for time
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9513 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 00:47:09 +00:00
hikerstk
c9057d6e74 Added encoding of special characters when writing
addons_installed.xml.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9511 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 23:32:18 +00:00
hikerstk
5eff0a1773 Removed the warning " [StringUtils] WARNING: Invalid HTML entity in
'Berny & STKRudy85' (we only support &#...; type HTML entities)"; #364.

The reason for this warning message is that irrXML already decodes "&amp;"
(in attribute values) - so even though the '&' is encoded correctly in
the xml as '&amp;', STK only receives a '&' from irrlicht, which then triggers the
warning message. On the other hand, irrXML does not decode &#...; hex
values. 

So short of changing our encoding of "&" I don't see another choice
except just removing this warning.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 23:29:14 +00:00
auria
c19572dcfb Add code to resolve all numeric XML entities
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-30 20:14:30 +00:00
hikerstk
2b17b36640 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-22 03:26:37 +00:00
funto66
93ed8113d3 Added markers for World::update() and made the profiler optional
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 10:33:42 +00:00
funto66
6b0e202d2b Displaying time values in the profiler
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 10:21:20 +00:00
funto66
49ea3a9cf9 Improved the profiler: a bar is displayed to show the end of the analyzed frame, there are more markers, now the profiler can be frozen/unfrozen by clicking on it...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 00:04:12 +00:00
funto66
de401bc234 Added a first (unfinished) version of a graphical profiler
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-09 19:13:17 +00:00
auria
9f33ff77e8 Added support for some XML entities in add-ons description
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9060 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-25 22:38:19 +00:00
auria
ef233d2ae3 Fixed compilation on non-Windows systems
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-24 15:34:16 +00:00
hikerstk
670531876a Added support to detect the language setting in Windows.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-24 13:42:24 +00:00
hikerstk
da8ec214ce Added a very first version of a swatter (or inflatable hammer).
Details are in the wiki (http://supertuxkart.sourceforge.net/Items).
Note that the model is _obviously_ a placeholder, and I  used
the icon for the bomb (which isn't used in game atm) for the
swatter. I hope someone can provide a better model and icon.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9011 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-22 12:27:48 +00:00
auria
4e55c0f0c5 Add support for the rare case that the system language is actually a list of languages, separated by colons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8902 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 19:08:13 +00:00
mbjornstk
47f8d29011 Remove more useless exec properties.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8798 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-01 21:19:18 +00:00
auria
6e4cee9341 Includes cleanup; especially avoid including in headers, creating implicit dependencies and horrible chains of recursive includes. Avoid iostream when possible because this header is not small
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 19:52:24 +00:00
auria
06e3560897 Simplify for_in code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:44:25 +00:00
auria
a37008d014 More work on 'thou shalt not include irrlicht.h everywhere carelessly', plus add debug checks to track.hpp in a desperate attempt to make STK Arthur_D-proof
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:31:25 +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
hikerstk
8cd2eb1e16 Renamed Synchronised::get()/set() to getAtomic()/setAtomic()
to better indicate what those functions are doing.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8611 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-16 21:49:58 +00:00
hikerstk
498a0a104e 1) Moved news message handling into a separate object.
2) Added prioritised request list to network manager.
3) Fixed ticket 217 (crash at shutdown), which happens if 
   the background thread downloading the icons is still
   active when STK is quit (and then accessing managers
   that have been deleted).
4) Handled partial downloads correctly: files are now
   downloaded with ".part" appended to the filename,
   and only upon a successful download renamed to 
   the original name.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8552 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-12 23:51:00 +00:00
auria
0f57b0b46a Rename macros to avoid name clases
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8512 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-03 23:50:36 +00:00
auria
a4c846bbe3 Experimental test, Joerg I hope you won't hate me ;) Switch some GUI code to for_each instead of for, i think it's easier to read
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8511 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-03 23:46:03 +00:00
auria
e0361f53f1 Not really necessary cleanup :) : port kart properties to use Ptrvector, which makes code a bit smaller and (IMHO) easier to read
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-03 23:14:00 +00:00
hikerstk
a638dd5867 Fixed ticket #168 (could not switch between traditional and simplified
Chinese). This only happens on case insensitive file systems (where
the name of the .po files are returned in lowercase, meaning the
country part is lower case as well and therefore not recognised).
This patch corresponds to 8337 and 8341 on 0.7.1 branch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-14 02:07:27 +00:00
auria
46eb48864a Fix translation hint
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-04 21:05:48 +00:00
hikerstk
29b19703da Disabled usage of SSE (vectorization) in release mode, since
it causes the executable to crash.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-01 04:50:43 +00:00
hikerstk
78ee0dd2bc Fixed list of languages (which didn't work after removing
the .mo files).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-31 10:44:04 +00:00
hikerstk
5dad1ed342 Fixed compilation problem on VS.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8134 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-31 01:15:43 +00:00
auria
b548b1bc93 Rename VERSIOn to STKVERSION
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8132 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 23:41:25 +00:00
auria
1c270cde1f Add VERSION to constants.hpp, please remove that define from Visual Studio file and autotools
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8131 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 23:31:29 +00:00
auria
66cb1f729b Allow translating wide stirngs too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8121 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 16:28:50 +00:00
auria
952a8ed312 Fix bug in insertion sort algorithm
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8105 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-29 22:03:02 +00:00
hikerstk
d953a188c7 Fixed compilation on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8031 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-23 04:39:28 +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
72c3bf2cc8 Removed commented out code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8024 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-22 21:42:17 +00:00
hikerstk
35a964200f Fixed bug in sorting function (sorting could be incorrect when
start was != 0). This might also fix ticket 96.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8016 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-21 06:12:40 +00:00
auria
b8d5763aca Add tooltip to explain what each GFX level does (as suggested in Trac) + remove NLS_ENABLED checks, with tinygettext translation is always available.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7988 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-18 16:50:22 +00:00
hikerstk
83e7e47c61 Fixed warning ... again, this time I'll actually do it in trunk, not in
an old branch :)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-17 23:01:08 +00:00
auria
e5829c26f9 Fixed RTL with tinygettext
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/tinygettext@7944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 15:20:08 +00:00
auria
6b30d89282 More work on tinygettext
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/tinygettext@7943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 15:18:04 +00:00
auria
d3604d050c Make tinygettext work
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/tinygettext@7942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 15:05:25 +00:00
hikerstk
85d125fda7 Enabled inlining of some Vec3 functions (this was originally
avoided to decrease recompile time).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 22:30:25 +00:00
hikerstk
4d8b8e5dea Renamed ptr_vector to PtrVector so that is follows
our naming convention, also changed contentsVector
to m_contents_vector, and removed unused add method
(which is using an iterator, which would not work
when using aligned_arrays on windows anyway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 22:20:53 +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
hikerstk
8a24515cff Fixed crash in fribidi (if fribid was not used, a pointer
to a temporary string was returned).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 00:46:31 +00:00
auria
4b3c1fa16d Remove old vararg style, the new one works just fine
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 00:28:23 +00:00
hikerstk
cb1342e449 Fixed compilation errors, but code still crashes on VS ... work in progres!!!!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7511 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-24 00:18:26 +00:00
auria
009960fc8a Clean up call to fribidi, add capabilities to insert values to the _ macro
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 23:39:10 +00:00
hikerstk
b242ee7abc Removed hack to reverse 'i%' output from bidi, since a better
solution appears to exist.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 23:10:26 +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
4f9fcf0a9b Fixed bug for RTL languages.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-20 02:41:04 +00:00
hikerstk
ef35dfc72e Fixed special formatting sequences (e.g. %i, $1$s)for RTL languages (bug 3159482).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-20 01:55:30 +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
auria
5076006d34 Fixed compilation on some systems
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 21:28:25 +00:00
auria
5f4e34328b Retrieve language list by scanning the /data/po dir
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 21:20:10 +00:00
auria
bba25d6ee2 First drafts of a language selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 20:49:32 +00:00
hikerstk
c164bfefc0 Added lock and unlock method, plus a method to get
access to the actual data. This allows custom locking
(e.g. a synchronised vector might want a [] and erase
operation to be locked, to be sure to copy a element
before erasing it).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 06:02:12 +00:00
hikerstk
2a28fefb31 Support for fribidi version 0.10 added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:11:02 +00:00
hikerstk
6a3269f7d1 Fixed RTL language support on windows 32 (since wchar_t is 2 bytes, but
fribid returns 4 bytes the type cast was incorrect). Also fixed FIXME.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 03:40:27 +00:00
auria
83e4bd054e Fix RTL languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-09 23:59:12 +00:00
hikerstk
3c729b4b0f 1) Added proper handling and detection of installed addons
2) Moved addon related data files into a separate 'addons' directory.
3) Directory names of addons are now lower case.
(Still addons are not stable enough to be used!)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 21:49:17 +00:00
auria
6ad54434e0 Correct a few FIXMEs + minor style improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7227 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:23:52 +00:00
auria
e7734931f2 Added support for %0 type syntax in StringUtils::insertValue, since tools that verify translations integrity don't all like the older %0 syntax I used
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7199 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 01:29:04 +00:00
hikerstk
ce986d623d Many style changes and code improvements to addons management.
The addons icon is now greyed out in case of an error (and till
the list of addons is downloaded, though usually that is done by
the time the main gui is shown). Moved synchronisations/threading
from addons_manager to network_http. Added 'Synchron' template
to hide usage of mutex to provide synchronised accesses to a variable.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 22:48:44 +00:00
auria
51cc6b8d5c Improved StringUtils::insertValues to only print warnings, not crash, when something is wrong
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 01:30:38 +00:00
auria
9f27068fb7 Fixed kart paths randomness issue (and probably many others) : don't continuously call srand, srand is made to be called ONCE only, repeatedly calling srand gives very poor randomisation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-19 01:55:29 +00:00
aeonphyxius
90a0bf28cc build under linux + codeblocks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 15:08:28 +00:00
hikerstk
940fb65e8a Bugfix: if an xml attribute for an integer array is an empty string,
an array of length 1 with a 0 would be returned instead of an empty
array.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6529 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-14 21:08:40 +00:00
hikerstk
fc202a57f5 Some code cleanup: made input data structure to follow the m_
notation, removed unnecessary include.
Added new field to input that stores the character (i.e. the
visual character) of a key (but it's not used yet).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6504 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 20:59:49 +00:00
hikerstk
6a6d574823 Prevented buffer overflows in case of invalid times (which could happen e.g.
as result of estimated times on a track with invalid drivelines), see also
bug 3078740.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-01 11:00:22 +00:00
hikerstk
7f3f598193 Fixed crashes in grand_prix lose, win, feature animation etc.
KartModel instances come now in two different types:
master instances which are part of KartProperties and
should never call attachModel (or have wheels attached),
and copies of the master instances (which are used by karts
and other classes when the kart is actually displayed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 13:30:31 +00:00
auria
244b40bfbf Added support for deleting added keyboard configurations
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 22:40:54 +00:00
auria
2171874f26 Implement silly hack to get whether the current language is RTL (but at least it works)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5877 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-03 18:57:44 +00:00
auria
f43d9d4d35 Ported race paused dialog to XML files + fixed many small things with dialogs-from-xml on the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 23:24:08 +00:00
mbjornstk
27c007a8fa Use float constants.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 00:24:09 +00:00
hikerstk
9698b08b87 (Hopefully) fixed missing return value in w_gettext.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5599 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 00:13:31 +00:00
hikerstk
c1c7daf2fa 1) Added support for new camera mode: end camera positions and types
can now be specified in the scene file. Currently supported are:
   - normal 'ahead of kart' camera (which is what we used so far)
   - fixed camera: camera is at a fixed position, always looking
     at the kart.
2) Removed camera.hpp dependency from kart.hpp.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-28 23:33:07 +00:00
xapantu
d336617eaf Fix a bug with fribidi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5569 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 17:19:28 +00:00
auria
f43a3da3ad Improvement to fribidi code : if fribidi says it failed to convert the string, don't read the output buffer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 16:46:30 +00:00
xapantu
be70408b38 Fix a bug with fribidi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5567 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 10:26:47 +00:00
hikerstk
bc22ee6df5 Fixed rouding error in time handling, e.g. 0:0:996 was displayed
as 0:0:100 and not as 0:1:0.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5559 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-25 13:48:13 +00:00
auria
2bcb1d4c17 Added autotools support for fribidi (hopefully it works, please folks help me test with and without\!)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5501 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-12 17:18:28 +00:00
hikerstk
b9a63ebb0d Added rouding to time display, since otherwise the
1/100-th seconds can be incorrect.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-08 23:06:54 +00:00
auria
a2825c4b36 Added support for Hebrew (and, more generally, RTL languages). fribidi must be available and ENABLE_BIDI must be defined (however the autotools build system currently does not check for fribidi presence so if you build with autotools it will always be off)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-30 19:11:39 +00:00
auria
f19d7af777 Added some support for randomized in-game messages. Improved i18n support along the way, StringUtils::insert('... %S ... %S ...') in no good, in the translated version the sentence may require the strings to be inserted in opposite order
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-12 00:33:49 +00:00
hikerstk
9c30a9a77d Fixed crash in case that a race takes more than 100 minutes. Now
a race can take up to 68 days ... good enough I'd say.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-11 13:20:14 +00:00
hikerstk
e201176255 Reused function to create timing strings; added support for 1/100 s .
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 22:45:30 +00:00
auria
d114f2844b Extracted default group name into constants.hpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 23:40:50 +00:00
hikerstk
e9413ccf46 The probability of which item is collected now depends on the race
position. The actual distribution is defined in powerup.xml (and
probably needs some adjustments).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 01:11:22 +00:00
hikerstk
f2fbe0bcdd Cosmetic change only (have same-named functions declared next to each other).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-28 23:29:23 +00:00
hikerstk
c38da65c16 Fixed pitch and roll for bubble gums ... again :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5212 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-19 13:12:03 +00:00
hikerstk
ca9eb71087 Removed unused file coord.hpp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-16 00:01:25 +00:00
hikerstk
9889050ce2 Fixed pitch and roll of items (esp. chewing gums).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-12 12:21:00 +00:00
hikerstk
d50bd9dbe6 Merged the switch_coordinate_system branch with trunk. This means
that now all coordinate systems are y up, z forwards - including
the file format. For now only one track has been ported, the
rest will follow shortly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-12 02:16:11 +00:00
hikerstk
1df83662f6 1) Fixed cakes.
2) Changed several animated meshes/scene nodes to use more
   general mesh/scene nodes.
3) General many more fixes for changed coordinate systems.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-04 12:35:58 +00:00
hikerstk
bd33113f20 Fixed incorrect heading and pitch in vec3, fixed rescue (again),
fixed checklines, improved camera (still not fully working), fixed
incorrect 'wrong heading' messages.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 13:20:22 +00:00
hikerstk
4ca3f0e493 Fixed getHeading and getPitch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 12:14:55 +00:00
auria
379939e97e Show times in GP dialogs too + prevent a crash (does not fix it, tho)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 03:01:32 +00:00
hikerstk
092a59a7d2 Very first changes. Doesn't really work yet and will most likely crash - not recommended to use :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 13:27:01 +00:00
auria
0cdd087f89 Minor improvements to translation debugging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4473 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-15 19:11:34 +00:00
hikerstk
34ed2943db Bugfix: incorrect type declaration of IS_LITTLE_ENDIAN.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-13 02:26:43 +00:00
auria
ef7beff5af Endianness detection cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4446 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-13 00:57:17 +00:00
auria
1cd161e7d9 Fixed i18n on OS X too (may not work on PPC macs)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 23:22:44 +00:00
hikerstk
211c6cdb4e Fixed translations on windows (esp. when non-translated strings are used).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 21:50:30 +00:00
hikerstk
9f1d5893d4 Added missing include for linux, fixed order of #includes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 03:34:36 +00:00
auria
4a63edfd5e Fixed STUPID mistake in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 03:14:47 +00:00
auria
081b0a295d i18n improvements (no more need for iconv)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4427 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 03:12:35 +00:00
hikerstk
cf0e69b48f Removed #include of kart and player_kart from world.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 23:12:29 +00:00
auria
0f964187fe Deal with iconv prototype changing with versions (hopefully right this time)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 01:36:15 +00:00
auria
bba70f8c5a Deal with iconv prototype changing with versions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 01:30:43 +00:00
hikerstk
da2ef9b203 Fixed compilation under linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 00:57:21 +00:00
auria
11d864ae7c Attempt at using iconv. Fails miserably for me atm because gettext will only return latin-1 and not UTF-8 like I ask it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 00:23:31 +00:00
auria
47db6ffa41 Fixed crash on reschange caused by very subtle pointer management issue; added various debug checks to make sure this doesn't happen again -.- those debug checks should have unnoticeable performance effect on a release build
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 20:59:56 +00:00
hikerstk
77a5659dc0 Added new template, which is necessary for some compilers (e.g.
SunStudio).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 01:41:50 +00:00
hikerstk
1a13a5ccc8 Added <locale.h> include, which is necessary for certain compilers (e.g. SunStudio).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4277 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 01:40:54 +00:00
hikerstk
a5a90be806 1) Started to add split screen (though not all parts of the race gui are displayed correctly yet).
2) The name of an AI kart will now only get the AI name added if it's profile mode (to prevent
   the name with AI name to be displayed in game)
3) Some code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-23 05:20:05 +00:00
hikerstk
86743991ae Updated project file, removed VS compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 02:08:24 +00:00
auria
5ff086d156 Fixed handling of wide strings in StringUtils::insertValues (the wide overlaod) + fixed aain assert import
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 21:18:07 +00:00
auria
4200a2b054 Added missing include (broke compilation on some systems)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 21:05:29 +00:00
auria
2d234f6fbb Improved insert_values : 1) fixed bug 2) Allow for arbitrary number of parameters (well, as much as C++ allows without variadic templates)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 20:40:55 +00:00
auria
c3dfb2949f Tweaked i18n code to at least handle latin-1 characters, potentially fixed compilation with gettext off
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 19:57:51 +00:00
auria
458e1a19da made text readable (i'm not really confident it works for everyone and all languages though)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3964 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 19:18:05 +00:00
auria
c3f0f7ab82 Massive conversion from std::string to stringw for all strings that need to be translated. Currently, translation is broken (strings i try to transalte appear as junk) -- since irrlicht GUI widgets all use wchar_t, using std::string in UTF-8 just didn't make it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 18:21:59 +00:00
auria
11bb21770f Replaced hardcoded number (maximum number of players) with a clean constant
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 00:41:45 +00:00
hikerstk
96dc2a8fe2 Cleaned up StringUtils: used 'better' names (e.g. getPath()
instead of path()), and used our convention of using capitalization
for words (and not _). Started adding support for additional track
directories, but that's not working yet.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-24 05:56:53 +00:00
hikerstk
d8b212aa44 1) Fixed render-to-texture bug (which resulted in black background instead of
transparent one for the kart selection screen and mini map).
2) Added very first version of minimap (scale is wrong, no kart display yet).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-20 12:35:34 +00:00
auria
ab4cdcae00 A player can now remove himself by pressing rescue at the kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 19:24:42 +00:00
auria
f987fff348 more work on multiplayer kart selection screen & multioplayer input
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 16:50:57 +00:00
auria
d9cdb5415a removed old ugly unused code from ptr_vector [so hiker can't complain about it anymore ;)]
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 02:04:20 +00:00
hikerstk
18f898f34e Added missing file from previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-09 01:13:01 +00:00
hikerstk
f332c3a345 Moved timeToString into StringUtils.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 12:34:39 +00:00
hikerstk
8c1bba8abb Added initial support for checklines (though atm they don't do anything yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-06 13:35:33 +00:00
auria
a7abbf4c82 More work towards multiplayer (player 1 is now assigned an input device when pressing 'new game'). Cleanup when restarting game not implemented
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-04 20:00:18 +00:00
hikerstk
88600d7d2e 1) Animations can now be bullet rigid bodies, which means collisions are
possible.
2) The track exporter supports now exporting a single animation model only even
   if the model is used in several animations.
3) Changed the rad to/from degree macros to be uses as multiplication factors,
   i.e. RAD_TO_DEGREE*x instead if RAD_TO_DEGREE(x). This allows more compact
   code if vectors are convered (RAD_TO_DEGREE*vec3  instead of three separate
   macro invocations, once for each component)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 00:51:31 +00:00
auria
23192bfe21 Allowed deleting players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-28 20:46:20 +00:00
auria
5b5d4f3ee9 Updated Xcode project + updated translation code to work with libintl framework on mac
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-26 00:07:56 +00:00
hikerstk
ee90eca26e 1) Created new config subdir and moved the last remaining files into
appropriate subdirs (only main.cpp and main_loop.?pp are now directly
   in the src directory).
2) Cleaned up all #include directives, so that all files now use
   the right subdirectories.
3) Some minor code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3606 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-11 10:00:43 +00:00
hikerstk
25b9d9643c Replaced all remaining HEADER_.*_H with HEADER_.*_HPP .
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 02:17:43 +00:00
hikerstk
075c9dbb86 Moved more files into appropriate subdirs, update build
system for VS (verified) and autoconf (not verified).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 12:37:29 +00:00
hikerstk
62f5c82882 Removed VS warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-25 04:29:09 +00:00
auria
c7873c7a39 minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3519 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 19:14:34 +00:00
auria
bbce1a0407 refactored Xcode project to use pre-built frameworks (making it much easier) + more minor cleanup (removed some useless plib stuff left in code)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 18:29:58 +00:00
auria
56b99ce73e Implemented credits screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-17 19:07:27 +00:00
auria
f4a76bc2ae removed 95% remaining dependencies on plib
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-11 01:28:18 +00:00
hikerstk
9316d3ed28 Fixed incorrect pitch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-04 12:23:48 +00:00
hikerstk
8a60edf241 Moved file manager to io subdir, made irrlicht compilation default,
started removing #ifdefs HAVE_IRRLICHT.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 03:49:31 +00:00
hikerstk
511be41e70 Start adding support for physical objects (e.g. road cone).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-11 05:10:56 +00:00
mbjornstk
210fe11806 More EOL prop setting and fixing of files with mixed EOLs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-01 00:46:47 +00:00
mbjornstk
fc46307f54 Fixing all remaining "executable" flags.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3205 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-27 02:54:25 +00:00
hikerstk
62bc9990ca Irrlicht only: Added preliminary support for reading materials.xml files
(though the information is not used atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-27 00:15:09 +00:00
hikerstk
1cbed5cfe2 Irrlicht only: improved XML handling, support xml files
for .track and .loc files, started working on items.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-20 01:42:34 +00:00
hikerstk
0267f7630c Irrlicht only:
1) Added better support for reading XML files.
2) Fixed keyboard handling (for some keys only
   key releases were recognised).
3) #ifdef-ed out more plib parts that would cause a 
   crash with irrlicht.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-17 02:57:28 +00:00
hikerstk
3b7bfd5367 Update to irrlicht only, non-irrlicht part should be unchanged.
- Tracks and kart models are now loaded and converted into
  bullet physics. 
- A simple camera is implemented, so a loaded track can be
  displayed (note: the current SVN version does not contain
  a track converted for irrlicht yet)
- Otherwise the irrlicht version is not working, i.e. no
  menus atm, ...


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-10 05:30:59 +00:00
hikerstk
7e03777aa1 Fixed compilation problem on some platforms.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3080 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-30 01:12:10 +00:00
hikerstk
43e7b4bd45 Removed all snprintf statements and constants for maximum
message sizes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3065 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 21:49:28 +00:00
hikerstk
012f503d60 Added more flexible functions to simulate s(n)printf,
removed more snprintf.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3058 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 04:43:18 +00:00
hikerstk
067d3daf79 1) Renamed scene to stk_scene (since scene is a namespace in irrlicht).
Note that with irrlicht the scene objects is most likely going to
   be replaced anyway.
2) Removed more snprintf.
3) Removed unused modes from VS project file, added new mode for irrlicht.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 00:38:28 +00:00
hikerstk
6f34674b4c 1) Moved more files around.
2) Replaced many (though not all yet) snprintf with ostringstream
   (getting rid of the maximum length of messages).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3034 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-23 05:23:22 +00:00
hikerstk
6ce3803165 Moved more files into subdirs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-22 22:27:13 +00:00
hikerstk
340fc18548 1) Applied Jonan's patch to fix the layout for many files.
2) Moved STK specific extensions to bullet out of
   bullet src tree.
3) Started to move more files into separate subdirs.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-22 12:02:40 +00:00
hikerstk
dd4c85d9c3 Made random number generators random again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 01:15:51 +00:00
hikerstk
c20d6008d3 Moved Particle- and Smoke system into graphics subdir.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2540 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 22:56:57 +00:00
hikerstk
cce4da5a62 Moved Vec3 and Coord into utils subdir.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 22:43:50 +00:00
hikerstk
0fae019d40 Removed unused function.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-11 03:52:38 +00:00
hikerstk
f0ff625227 1) Applied Peter's patch to support 16 bit windows (and remove the "ssgInit called
without a valid OpenGL context" error, instead a better error message is printed.
2) Changed sdldrv to follow our layout, added some documentation, fixed a few 
   warnings.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 05:03:12 +00:00
auria
fc5bce275a updated menus for battle mode. 1) don't add AI karts 2) don't show useless screens like kart amount or AI difficulty
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-20 15:53:47 +00:00
hikerstk
32df4eb50b 1) The physics are now using the actual dimension of the track when
creating the world (which might give a performance boost).
2) Moved ssg_help into utils directory, added a namespace,
   and changed parameters to use Vec3 (instead of 3 floats).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 06:07:29 +00:00
hikerstk
08f955e23d Fixed compilation problem on Macs (and other platforms).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-09 12:38:20 +00:00
hikerstk
da69106378 Very first alpha version of network multiplayer.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 14:34:04 +00:00