Commit Graph

2424 Commits

Author SHA1 Message Date
auria
2f1c755596 Added sound effect to using the Swapper powerup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 02:37:54 +00:00
hikerstk
1f0ea20045 Fixed makefile for linux build.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 01:22:23 +00:00
auria
8c9905d071 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 01:03:32 +00:00
auria
ff0c445d58 Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4715 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 01:02:08 +00:00
hikerstk
da3de6d131 Big code refactoring: instead of having auto_kart, player_kart, the karts
now use a 'controller' object which is responsible for its steering, e.g.
a default_ai_controller, player_controller etc. This makes it easier to
switch a player kart to use a end-of-race computer controller to drive
the kart once the race is finished (though that's not implemented yet).
I expect some bugs with restarting race, and perhaps end of race
behaviour at this stage.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 00:54:28 +00:00
auria
7a2d4a2a0e Removed a FIXME that's not relevant anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 00:47:59 +00:00
hikerstk
a42629d458 Bugfix: rounding errors could cause acos(x) with x>1, resulting in a crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-14 23:29:59 +00:00
auria
ba8507f80d Fixed the 'random track' icon appearing locked
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-14 22:52:35 +00:00
auria
9f37de3c5d Minor code style tweaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-14 21:25:07 +00:00
auria
fa81852562 Some work on GPs. @Joerg : when moving to the next race, the models of the first aren't removed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-14 21:23:38 +00:00
auria
9122b67481 Fixed crash when starting a GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 02:03:59 +00:00
auria
903f29e734 Do not try showing the full 'locked' sentence under each locked GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:59:39 +00:00
auria
219cc77c1e Handle better locked GPs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:53:16 +00:00
auria
6d4078d3c7 Fixed absolute vs relative paths for images, fixing lots of warnings printed on the terminal
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:44:07 +00:00
auria
512326776e GP info screen now shows cycling screenshots of its tracks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:20:52 +00:00
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
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
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
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
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
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
hikerstk
8be9c3397a Added first version of switch collectable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-04 22:53:24 +00:00
hikerstk
192fc34572 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-04 22:37:33 +00:00
hikerstk
c2f3841de4 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-04 22:35:43 +00:00
hikerstk
76991060a7 1) Updated project files for new source files.
2) Removed irr* build targets, made debug/release be the appropriate
   targets (using irrlicht).
3) Removed STK_* environment variables, instead all dependencies are
   expected in the dependencies directory.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-04 22:35:18 +00:00
auria
9f57a7988a Fixed path issues in Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-04 19:04:36 +00:00
auria
5d2d0973f2 Added back support for detecting bogus resolutions when switching, and revert to the previous working one when user can't click confirmation button
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-04 00:45:24 +00:00
auria
af02da1267 Eclude from resolution choices resolutions that are too small (and that STK's GUI does not support)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-03 21:56:45 +00:00
auria
f1c9b285fa Fixed resolution switching closing STK. Includes a totally ugly workaround a irrlicht behaviour I don't understand
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-03 21:47:36 +00:00
auria
a0588268f7 Fixed crash when Trying to moving up to the spinner name after confirming kart selection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-03 01:57:12 +00:00
auria
411dffeea2 Fixed issues with active players and input (were not resetted properly)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4624 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-03 01:52:42 +00:00
auria
cf87636737 Improved feature unlocked a bit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4623 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-03 01:46:42 +00:00
auria
e8a5c1b3c5 Improved feature unlocked a bit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4622 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-03 01:43:18 +00:00
hikerstk
fcf956afbb Bugfix: the last searched setting from a materials.xml file would
take effect, not the first one (e.g. the shared one instead of
a track/kart - specific one).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-02 12:01:24 +00:00
auria
5bfebb1425 Fixed bug that allowed players that had backed from the kart selection screen to use their device to make selections later on
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-02 01:08:47 +00:00
auria
8dbb31caf9 Removed very silly copde i accidentally committed in previous revision
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-02 00:34:11 +00:00
auria
b6b47c37b6 Select player identity by default for players > 0, so they can choose their identity
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-02 00:32:42 +00:00
auria
4a04398267 Tweaks to feature unlocked animation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4612 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-02 00:17:32 +00:00
auria
4abd5310f7 Improved handling of empty 'squares' in scrolling ribbon grids
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-01 22:03:16 +00:00
auria
68381a83e1 Fixed many warnings printed on the console
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-01 21:38:17 +00:00
auria
9ab332b452 Added new chest animation by MiniBjorn
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-01 21:02:30 +00:00
auria
4595c5adb3 Fixed lighthouse trees (adding a couple code cleanup that I did while searching for the issue)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-01 20:03:32 +00:00
hikerstk
17b20de61e Items will now (as a default) be dropped to the ground.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-01 11:34:19 +00:00
hikerstk
8ab0dbeb7f Removed unsupported vc8 project files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-01 02:12:38 +00:00
hikerstk
5def2dd4f6 Fixed bullet debug view.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-31 23:08:23 +00:00
auria
e17df53539 Fixed compilation with irr 1.6
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-31 21:27:50 +00:00
auria
5772c9e8ad Implemented U/V clamp support for materials
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-31 20:51:34 +00:00
auria
cd237feb15 update highscores display when number of laps changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4582 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-31 19:19:32 +00:00
auria
28b24f04fe Tentatively added support for locking karts (can't test, because the gnu, our locked kart, is locked by a challenge that does not yet load i think)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-31 19:03:50 +00:00
auria
7d9ef44162 Added back the 'all groups' tab to kart and track selection screens
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-31 18:57:21 +00:00
auria
cd787f9085 Kart and track groups tabs are now dynamically determined at runtime instead of being hardcoded
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-31 18:52:24 +00:00
auria
a49cf4923b Added Chinese translation, minor updates to credits
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-31 18:34:36 +00:00
auria
9779048407 Improved clipping text issue
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-31 16:52:39 +00:00
auria
e6350fe72e Updated credits to use UTF-16, fixing accentuated characters (I'm not 100% sure the code will run on big-endian machines, gotta test)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4566 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-30 20:41:28 +00:00
auria
fd5730a0da Better cursor show/hide management (esp. cursor will show in in-game dialogs)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-30 19:53:06 +00:00
auria
6705f0899a Fixed a bug with fallback fonts and invisible characters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4564 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-30 19:32:19 +00:00
hikerstk
4d0d99678f Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4559 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-30 04:21:28 +00:00
hikerstk
384469b950 Replaced octree with normal mesh, which is actually faster.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4558 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-29 02:50:26 +00:00
hikerstk
bcd1c63c21 Commented out debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-29 02:47:52 +00:00
mbjornstk
17949c6ffe Better var names and make obvious that until counter expires FPS will not show.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-29 02:03:45 +00:00
mbjornstk
f1353892c1 Ignore FPS values at start, too many times they are misleading.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4554 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-29 00:38:40 +00:00
auria
b256e43ab2 Added features to manually control size of each texture in a font (this is useful for our 'composite font', where chinese characters are larger than latin ones)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-29 00:19:17 +00:00
hikerstk
2f9f6a4db4 Fixedc typo in previous commits.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4552 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-28 12:01:28 +00:00
hikerstk
ef373115d3 Missing file in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4551 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-28 11:54:01 +00:00
hikerstk
eb54b77c36 Added function to print some render statistics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4550 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-28 11:50:47 +00:00
hikerstk
e0e1d760fa Added support for lightmaps, but this is completely untested atm.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-28 04:37:56 +00:00
hikerstk
aca45713c2 Position of slipstream graphical effect now depends on the 'target' kart, and
is using the height of the terrain instead of the karts' positions (since then
the suspension will make the slipstream jump). Pretty much work-in-progress,
and not activated atm.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-27 12:33:59 +00:00
hikerstk
c25297b7a3 Made destructor virtual (and some cosmetical changes).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4546 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-27 12:29:35 +00:00
hikerstk
0fa80bd594 Fixed mirrored display of minimap if track has a driveline with maximum z < 0.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4545 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-27 12:28:35 +00:00
hikerstk
da7fc76a49 Removed compiler warnings (and also saved one multiplication - whow).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4544 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-27 12:11:24 +00:00
hikerstk
d42f514213 Fixed absolute paths for arenas_screen.?pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4543 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-27 08:57:04 +00:00
auria
998cc50ed0 RIP domestic manners
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4535 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-24 23:57:50 +00:00
auria
8ff73c895c Tweaks to credits screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4533 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-24 16:59:16 +00:00
auria
3920dfe101 Improved black border effect for title font
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4531 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-24 16:48:13 +00:00
auria
f2e2a37407 Added fallback mechanism to font, as well as some graphical effect, so that the orange title font can now be used with any language
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4530 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-24 16:26:31 +00:00
auria
0e9266fd1c Added missing string to the pot
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4528 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-24 15:34:46 +00:00
auria
60425bf01d Added preliminary support for greek and russian. Chinese is also supported if the SungTil files are present (I'm not committing them yet since they're quite large, so we need to decide first if we want to ship them by default or separately)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4525 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-24 01:30:33 +00:00
auria
05f21d45ee Moved fonts to the (duh) /fonts directory in /data
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4524 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-24 00:26:41 +00:00
auria
11d999f8c5 Implemented lazy font loading, so that if we add chinese characters they are not loaded unless needed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4519 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-23 19:55:19 +00:00
auria
702fc9b92e Improved file names consistency
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-21 22:55:08 +00:00
auria
f3fa19bfa8 Added new font, thanks to Arthur_D
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4501 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-20 17:00:41 +00:00
hikerstk
52ce4576e8 Cleanly removed unused variable (which caused stk not to start previously).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4500 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-20 09:33:36 +00:00
hikerstk
fe74d19a12 Removed unused 'collideable' attribute for materials, renamed 'maxSpeed'
to 'max-speed' to be consistent with other names in stk.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-20 02:34:43 +00:00
auria
f3586353f0 Make slipstream look a bit better
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4498 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-20 02:13:58 +00:00
auria
4628c09cbc Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4496 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-20 01:33:03 +00:00
hikerstk
a9ca58ff97 Renamed 'slowdownTime' in materials.xml file to 'slowdown' which more
accurately reflects what it is. Re-scaled the slowdown from '10' =
normal to '1' =normal and removed stk_config paramter for this scaling
factor.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4495 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-20 01:23:57 +00:00
hikerstk
a37bb29ff0 Removed compiler warnings (code is correct, but people might get
confused about && abd || precedence).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4494 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-20 01:13:58 +00:00
hikerstk
81d074a694 Added some slip stream graphical effects (which are disabled by default) - pretty much work in progress.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-19 23:15:25 +00:00
hikerstk
3d7c364eaa Avoid warning with visual studio.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-19 23:11:09 +00:00
hikerstk
f1c45b0609 Changed name of the user config files from supertuxkart.cfg to
config.xml.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4491 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-19 22:15:35 +00:00
auria
2236237e02 improvements to layout engine & improvements to help menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4488 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-19 02:43:57 +00:00
auria
3f28d198f4 Fixed the 'property overloading' in GUI XML files that caused a couple internal strings to be exported to pot files, confusing translators
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-16 00:02:27 +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
auria
bf40d0191e Don't abort STK when there's a bogus challenge file (e.g. a LISP file left from 0.6)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4472 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-15 19:01:45 +00:00
auria
258976d284 Always use irrDriver::getTexture and never IVideoDriver::getTexture, then it's easier to debug bogus calls. Order files alphabetically in Xcode (/me needs to take first grade again -.-)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-15 18:33:33 +00:00
auria
a567f5a498 Removed no more needed print
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4470 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-15 18:19:55 +00:00
hikerstk
037069a257 Improved handling of directory for user configuration files to work even if $HOME/.config
does not exist, and moved handling of files and directories from user_config to file_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4467 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-15 01:46:03 +00:00
hikerstk
797ac71d4b Kart shadows can now be loaded from the data/texture directory, too.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4461 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-13 14:43:17 +00:00
hikerstk
4f70ed5bed Updated VS project.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4459 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-13 02:27:53 +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
hikerstk
4455f89920 Removed unnecessary include.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4453 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-13 01:58:20 +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
3c675b3206 Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4445 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-13 00:56:31 +00:00
hikerstk
b9e8e0891c Bugfix for bugfix: make the stars not only stop rotating, but to
disappear completely when restarting a race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-12 23:13:38 +00:00
hikerstk
901f8ae7d4 Bugfix: the rotating stars were being shown when restarting a race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-12 23:00:10 +00:00
hikerstk
60840e5851 Made the AI a bit more competitive by not slowing the mid- and
high-level AI down when skidding.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-12 22:55:03 +00:00
hikerstk
bc378d4ebd Bugfix: restarting a race would not reset the AI properly, causing them to be rescued over and over.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-12 11:15:50 +00:00
hikerstk
d6b91f8fc3 Applied Stephen Just's patch 2926028: search for data directory relative to the executable,
which allows STK to be started/debugged in VS without having to set a working directory.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-12 02:02:13 +00:00
hikerstk
b34f4d238b Added informative message when a texture can not be found before
aborting.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4438 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 23:56:16 +00:00
hikerstk
70f5f1044b Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 23:51:59 +00:00
hikerstk
b5588b1154 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 23:51:27 +00:00
mbjornstk
42c395fd5f Cosmetic changes, last lap colour and fastest lap wording.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 23:40:12 +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
71616e256e Removed calls to gettext in each frame, instead the tranlsation is only done once when
the object is created.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 22:08:33 +00:00
hikerstk
f079754dee Switched projectg settings to use UTF encoding.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 21:55:36 +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
auria
a77d77f26a Translate strings in paused dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4425 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 00:09:04 +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
hikerstk
9eb8995399 Fixed compilation problem (no idea why it ever compiled on VS).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 22:50:13 +00:00
hikerstk
2f268dce77 Added some code to add a 'push to the side' when crashing into a kart.
This code is for now disabled in the stk_config.xml file, since it needs
changes to the physics to be better playable.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 12:16:32 +00:00
hikerstk
2c60045223 Disabled new AI so that we know at least to which AI bug reports apply to.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 12:12:07 +00:00
hikerstk
5967f75b20 Bugfix for animations with physics represenation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 12:10:39 +00:00
hikerstk
0c8465a913 Added iconv to library list.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 11:57:11 +00:00
hikerstk
afeb1c95aa Bugfix: GP names were converted twice: once from the lisp reader, then again here.
Translating the name twice can result in a crash, since the gettext expects utf-8 (or
latin?) as input, but gets utf-16 in wchar, which later results in iconv not being able
to convert the utf-16 (which is supposed to be utf-8 which gettext returns if it can
translate things).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4418 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-09 14:13:53 +00:00
mbjornstk
0b09240e5e Make rands in direct hits use floats correctly (they were ints at the wrong
time, so results were 0.0f always) and limit minimal distance in non direct
hits (maybe should use other value, just a matter of testing).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 02:35:01 +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
mbjornstk
9739d1e1b3 Make marks fade to transparent (not 100% sure), instead of white ghost.
Pretty much an exercise in guessing if things are premul or not, and what has
to be pure black or can be a more real dark grey. Maybe needs more changes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 01:09:14 +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
f54b6c96a7 Fixed compilation under irrlicht 1.6
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 23:23:00 +00:00
auria
a91591b7c4 Fixed compile warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 23:05:43 +00:00
auria
dd9fedd810 Use texture clamping to enhance GUI look
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 23:04:59 +00:00
auria
72c8240bfc Use the irrlicht 1.7 feature that enables smooth scaling in the GUI (ahhhh, my eyes =). A few known issues have been introduced, they will hopefully be fixed soonish.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4406 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 22:55:38 +00:00
hikerstk
81bb0ac8dc Fixed memory leaks due to missing destructor.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 01:14:46 +00:00
auria
b5ec0d717d Fixed a couple annoying bullet warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-06 16:47:30 +00:00
hikerstk
e6296c1987 Fixed speedometer display for irrlicht 1.7 (no change for irr 1.6).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-05 11:31:10 +00:00
hikerstk
dcec9bafcf Added support for irrlicht 1.7.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-05 03:38:35 +00:00
hikerstk
d39b76f433 Applied Graham's 'reverse camera' patch, which changes to reverse camera when driving
backwards faster than a certain speed (defined in user config).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-05 01:13:53 +00:00
auria
f463c00dc7 Removed fixed TODO, updated comments
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 19:33:51 +00:00
auria
1a84cc65c7 Made the 'random' kart item not select an already taken kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 19:32:36 +00:00
auria
8fbb10598f Hardcoded constants cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 19:16:29 +00:00
auria
491bc9d1e9 The code that prevents 2 players from selecting the same kart should not prevent them from both selecting 'random'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 19:15:22 +00:00
auria
eacc02bcd8 Prevent 2 players from selecting the same kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 18:59:07 +00:00
auria
364dfcea2e Improved multi-focus look in kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 18:41:04 +00:00
auria
33e95fca6a Fixed reported bug with musical note placement in in-game music credits
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 18:05:56 +00:00
hikerstk
deff7613e1 Removed VS compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 02:53:37 +00:00
hikerstk
20ac0d3230 Removed VS compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-03 03:38:49 +00:00
auria
2dd0a904b6 Improved buttons to have their size depend on text contents; made the 'enter' key trigger a PA_FIRE action
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 20:55:19 +00:00
auria
5c432893f3 Gracefully exit when closing window
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4384 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 16:28:55 +00:00
auria
c0322cac00 Added more documentation to the input screen, answering a few of our recurrent FAQs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 02:08:25 +00:00
auria
4768654113 Fixed subtle input issue (problem assigning mouse to the right player when keyboard config used is not the first)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 01:55:20 +00:00
auria
7b8fc1e592 Fixed compilation warnings, + warn if many keys are assigned to the same action in input settings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 01:46:29 +00:00
auria
9aba0daeb3 Config dir cleanup by Graham Harrias (thanks\!)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-01 17:01:32 +00:00
auria
f58bc8708b Fixed resolution change messing up kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 21:28:59 +00:00
auria
27decfcd2a Fixed hiding cursor (responsible was copy and paste)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 21:07:38 +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
auria
75149a100c Karts in kkart selection screens are now animation aware and will display the center frame (though elephant still seems slightly off-center, not sure why)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 19:41:59 +00:00
auria
9859e0c4ad Fixed Hikerian mistake
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 19:40:59 +00:00
auria
955eab93d2 Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 19:24:21 +00:00
auria
a6efeb5faa Improved capabilities of icon widget, and use that for track screenshot instead of locally duplicated code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 19:09:10 +00:00
auria
ebe6dc5521 Make track screenshot keep right aspect ratio, and clarify a bit existing aspect capbilities in icon widget
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 18:43:28 +00:00