Commit Graph

3284 Commits

Author SHA1 Message Date
auria
a43196a8b4 Started populating GP info dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:01:52 +00:00
auria
cc4e1357ba Started implementing GP info dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 00:36:46 +00:00
auria
a2f03f2a0b Minor: some code style cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 00:16:34 +00:00
auria
a50bf44ea3 Minor: some code style cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 00:09:58 +00:00
auria
e426db317d Minor: some code style cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 00:07:13 +00:00
auria
84027f317b Fixed GPs aspect ratio
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 23:26:05 +00:00
auria
410226503d Fixed warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 23:24:07 +00:00
auria
32d631ff00 use cycling images for GPs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 22:20:58 +00:00
auria
77c29ca276 Max number of rows in a ribbon grid is no more hardcoded, can now be specified ion XML.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 17:45:10 +00:00
hikerstk
ca9bf74cba Added some debug output to find reason for assert.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 02:28:52 +00:00
auria
10116f628b Give some eye candy to the GP list in the tracks selection screen + clean code along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 02:21:07 +00:00
auria
f29de6a89e Initial work towards STK adding GPs to the selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 01:48:47 +00:00
mbjornstk
5649c3affd Make printf a bit easier to grep and console output more obvious.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 20:55:33 +00:00
auria
787a2839dd Fixed several FIXMEs in GUI code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 20:53:45 +00:00
auria
1f2311cf6f Fixed a FIXME, removed useless code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 20:16:30 +00:00
auria
fc45605bf4 Improved comments a bit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 20:16:16 +00:00
auria
6c9239dc28 Fixed typos in GUI engine doc
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 19:59:45 +00:00
hikerstk
328373289a 1) Moved access to world object from race_manager to static functions in
world.
2) Removed more dujplicated/unnecessary functions from race_manager
   (getPlayerKart, getTrack).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 07:11:52 +00:00
hikerstk
b9ffb6fa13 Removed g++ compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-10 23:55:19 +00:00
hikerstk
4a96f98182 Removed player- and network-kart lists from world, so now
there is only one list used to access all karts in world.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-10 22:59:17 +00:00
auria
b9051bd402 Committed kart-spot-colors on minimap, by Kory
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-10 22:01:46 +00:00
hikerstk
47a1a1dfa2 Removed m_local_player_karts vector from world.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-10 12:47:18 +00:00
hikerstk
ab567bc53c Removed test code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4677 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-10 12:01:37 +00:00
hikerstk
c6bf95a64c Started to remove the various kart lists in various objects.
1) Removed getKart from RaceManager.
2) Renamged RaceManager::getNumKarts() to getNumberOfKarts.
   This function should only be called when the world
   does not exist (or is not yet initialised). 	In all
   other cases world::getNumKarts() should be called.
3) Improved several 'const' functions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-10 11:40:33 +00:00
auria
f78001c7b2 Misc nitpicking
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-10 02:11:56 +00:00
hikerstk
4e36fc1f78 Moved WorldStatus enums into WorldStatus class.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-09 09:24:45 +00:00
hikerstk
96ba05ff2f Stop bubble gum from rotation (which was yet another accidental debug
commit).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4672 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-08 22:55:03 +00:00
hikerstk
9952e74095 Fixed item rotation (got broken by accidentally committing a
work-in-progress version of the file).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-08 22:46:15 +00:00
auria
c029127c9a Updated chinese translation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-08 15:52:48 +00:00
auria
6b450f8e5a Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-08 15:43:30 +00:00
hikerstk
9a68e6e130 1) Renamed clock.?pp (which stored the class TimedRace) to
world_status.?pp (storing the class WorldStatus).
2) Fixed end of race in case that player kart is last
   (race would never end till esc is pressed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-08 12:59:03 +00:00
mbjornstk
261ff94bb9 Animate clock hand, frames 1 to 61. Take two, r4666 had static file.
It seems exporter ignores modifiers, so using parenting of armature instead.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 23:57:20 +00:00
mbjornstk
3ec5686021 Animate the clock hand (frames 1 to 61 for full turn).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 23:35:39 +00:00
hikerstk
9b577d89c8 Fix crash when exiting stk.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 22:52:25 +00:00
hikerstk
0465313495 Fixed race finish time estimation at end of race for AI karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 21:58:16 +00:00
hikerstk
fde579bee8 Added comments, minor cosmetic changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 21:57:10 +00:00
mbjornstk
6f2a459096 Add bubblegum to cheats (F5) and make real gum become small nitro on swap.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 21:14:08 +00:00
auria
a5119510d1 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 16:16:12 +00:00
hikerstk
0f74ba0285 Bugfix: pitch and roll of items were not set, resulting esp. in
bananas not lying on the ground if the ground is non-horizontal.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 11:49:28 +00:00
hikerstk
5eaee4de39 Collected items do not appear from below now, but grow
(i.e. being scaled from 0 to 1). This allows it easily
to have items floating in mid air.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4658 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 10:35:45 +00:00
hikerstk
566e12d129 1) Removed bubblegum as a separate object, instead bubblegums are now
created as normal items. 
2) Now bubblebum can be used in swapping as well, so all nitro become
   bubblegums, and all bubblegums become items.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4657 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 08:49:36 +00:00
hikerstk
3116f475cd Instead of switching light off whenever a new mesh is set, change the light
settings once in the original 'master mesh'.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 03:59:03 +00:00
hikerstk
4aa664e124 Removed unused function.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4655 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 03:57:35 +00:00
hikerstk
4f39bd84db Improved the bugfix - so perhaps it works now all the time.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 03:40:33 +00:00
hikerstk
86f9741b73 Bugfix: placed bubble gum would lose smooth shading.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 03:33:45 +00:00
mbjornstk
d1a2795682 Group nitro textures for simpler editing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 02:48:50 +00:00
hikerstk
b49e5896f4 Fixed incorrect xml filenames in Makefile.am.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4651 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 02:35:43 +00:00
hikerstk
deab14743f Updated license for chest.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4650 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 02:29:40 +00:00
mbjornstk
b4da38e2f5 Remove "items" subdir.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 02:29:15 +00:00
hikerstk
93e15df841 1) Replaced all .projectile files with one powerup.xml file,
replaced items.item with items.xml. Cleaned up item_manager
   and removed support for different item styles (since it
   didn't work anyway)
2) If a swapper item is used while items are swapped, they will
   now un-swap.
3) Moved all models and textures from data/items to data/models.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 02:05:21 +00:00