2) Added support for 'nitro' mode: no wheelies, instead
collected energy can be used for a speed boost.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
with the ground (and as a result start rotating on the spot).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
a character can only be selected once, and is then not available for other
players anymore).
2) Fixed restart race (which would finish the race after about 11 seconds)
3) Moved widget related classes into gui dir.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
'in between' to move a few files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
used in GP as well.
2) Improved game-mode gui to use the new layout engine.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
removed, this kart would not get restarted correctly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Added some debug print in case of incorrect kart positions
(which I have seen once and never again).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Cleaned up unused kart physics parameters, added new suspension_travel_cm parameter.
3) Renamed TrackManager::getTrackCount() to getNumberOfTracks() (to follow the same pattern as
getNumberOfKarts()).
4) Minor code cleanup, warnings removal, ...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Added a 'final camera': this camera will move forward and turn
when a race is finished to show the finishing line. This is
currently only enabled for the race track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
of coins needed for the two coin collection challenges.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
resulted in displaying wrong/incorrect times during follow-the-leader
mode).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
information is now only managed by the race_manager, no
more in-between objects to transfer information along.
2) The scores for grand prix are now defined in the stk_config.dat
file (10, 8, 6, 5, 4, .., 1, 0, 0) points
3) Bugfix: unlock information wasn't saved anymore. Added specific
saving after unlocking, plus re-inserted the 'generic' save
at the end of STK again.
4) bugfix/work around: Visual Studio complains about incompatible
iterators in sdldrv - apparently caused by using erase, and
then keep on using the iterator.
5) Fixed bug when running a race in a GP again (scores/times
were added each time).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
Added the overall GP time to the GP end screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1452 178a84e3-b1eb-0310-8ba1-8eac791a3b58
If karts tie on points at the end of a grand prix, they are now
evaluated on overall race time too.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1451 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Cleanup of old unused, and non-bullet code
3) Fixed wheelies, though they are currently still
disabled in the stk_config.data file since the
AI crashes with the new wheelie implementation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
grand prix. It can be set to 'lowest points first'
or 'highest points first' in stk_config (patch by
Paul Elms).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
with about 10 karts in tuxtrack and islandtrack).
The number of karts is additionally now limited
to 10 (see stk_config.data), the only reason for this
is to avoid the same bug report when someone is using
more karts than the number of specified start locations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
old:
std::vector<CupData*> m_all_cups;
new:
std::vector<CupData> m_all_cups;
related:
changed RaceManager::setGrandPrix(const CupData &cup_) to const reference rather than pointer to CupData
(2) made vector CupData::m_tracks private and added getter
(3) CupData::m_name was passed in GrandPrixSelect::GrandPrixSelect() to WidgetSet as const char*
then it was passed to Widget::_text. changed the latter to std::string and passed it as std::string
(4) changed Widget::count_text to std::string as well ..
(5) tracked down all uses of Widget::count_text & Widget::_text to plib. changed
all funcs in between to work with std::string rather than const char*
Font::getBBox
WidgetSet::set_label
WidgetSet::get_label
WidgetSet::start
WidgetSet::state
WidgetSet::label
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1238 178a84e3-b1eb-0310-8ba1-8eac791a3b58