Commit Graph

2345 Commits

Author SHA1 Message Date
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
auria
f5cec6b741 Fixed resolution switch related crashes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 18:30:13 +00:00
auria
60854b0d10 Fixed bug of game modes that don't reset properly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 18:17:16 +00:00
auria
16c60413d5 Cleanup in ribbon code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 18:14:05 +00:00
auria
9faed0a64b Added support for multi-line ribbon labels (it doesn't look sexy atm, but fixes unreadable text issues)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 18:08:23 +00:00
auria
62ee51e383 Cleanup up a few font-related harcoded constants or duplicated code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 18:00:23 +00:00
auria
2b152135da Fixed rare focus issue in modal dialogs, and generally improved code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 17:43:06 +00:00
auria
8f2fc46211 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 17:09:58 +00:00
hikerstk
637aab7cf7 First version of improved track object support - not fully functional yet, but
should allow for movable and static track objects. Also fixes problems with
incorrect radius for spheres.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 00:08:20 +00:00
hikerstk
e47cc19b85 Fixed VS compiler problems and warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-29 23:59:51 +00:00
mbjornstk
de968f2df2 Change from 8 to 7 stars (no symmetry) and make them dance up and down (tilt
that changes with time, like edge of coin that is stopping after falling).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-29 00:31:33 +00:00
auria
7bc47f2ffd Improved stars effect with fade in and fade out
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4359 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-28 20:06:41 +00:00
auria
5e5f91247b Added 'starts rotating around head' effect for hit karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4358 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-28 19:37:59 +00:00
auria
2fb710f30b Implemented adding keyboard configs through the GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-28 18:13:24 +00:00
auria
df422703ac Much cleanup and documentation in input code, which was done on the way of fixing a bug that dealt with multiple and/or custom keyboard configs and menu navigation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-27 19:12:44 +00:00
auria
2caccb8c6e Fixed input bug that occurred when going back in menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4354 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-27 18:41:19 +00:00
auria
75d7e0afd1 Use orange font in pause dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-27 17:02:15 +00:00
auria
4ab27d4b00 Fixed a few text clipping issues
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-27 16:52:56 +00:00
auria
be081d92ce Improved dialog zoom-in effect with spinners
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-27 16:23:38 +00:00
auria
6c4bce0acf Fixed FIXME (and thus handle better scalable font in ribbons)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-27 16:15:08 +00:00
auria
71f9a6d44f Fixed explosion fade-out
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-24 02:58:50 +00:00
mbjornstk
2f3523cd52 Improve explosions. Fading still not working but needed.
Once fading works, maybe increase quantity for thicker start.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-24 01:00:47 +00:00
mbjornstk
5da301b8e1 Show final lap message, original patch by Stephan Hillebrand.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-23 16:58:10 +00:00
hikerstk
849659a29c Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-23 05:20:50 +00:00
auria
6c2f86e9b8 Fixed appending issue
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 22:05:24 +00:00
auria
7d1c82d73c Fixed a lot of translation crap related to XML, hacky challenge files, no GUI, etc...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 21:57:15 +00:00
auria
93e569c3a2 Fixed keyboard navigation bug when a dialog was shown
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 20:54:43 +00:00
auria
6127b2b4b3 Better documented previosu changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 20:25:08 +00:00
auria
b979bf556b Worked on a few input issues
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 20:18:22 +00:00
auria
72c2b7a021 Made explosions better-looking. Fade-out affector still seems buggy; at one point it worked, now no more
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 20:03:12 +00:00
auria
5434a1a376 Handle locked tracks gracefully
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4336 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:16:26 +00:00
auria
1571ae669e Fixed an (harmless) error message that was printed on the console
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:08:06 +00:00
auria
63db1de1d4 Debugged challenges : several challenge files were incorrect XML
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:03:26 +00:00
auria
d087c66647 Don't silently dismiss challenge errors, even though we expect many of them it's useful to see some of them
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:02:32 +00:00
auria
2d061606de Use clearer name for erroneous ribbon items
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:01:33 +00:00
auria
d77ed9fdea Removed no more useful debug print
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4331 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:01:03 +00:00
auria
d31e96f03c Removed annoying and useless print
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:00:26 +00:00
auria
290e4777f1 Minor identation fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 18:59:57 +00:00
auria
509ab5934f Started dealing with [?] squares in ribbons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 18:39:55 +00:00
auria
631ac7de5d Moving towards adding support for multiple keyboard configs through the GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-19 19:48:41 +00:00
auria
7703fa76ae Started adding back support for 3 strikes mode (which doesn't work since no arena was converted yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-19 19:25:12 +00:00
auria
a950d93332 Dialog cleanup; made end of track dialog usable without mouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-19 19:09:07 +00:00
auria
542320a2e6 Fixed glitch with "selection bubble"
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-19 18:49:06 +00:00
mbjornstk
5fe41e5625 Run expand -t4 to convert tabs to spaces. No other whitespace fixes, but
there are still trailing spaces and lines with 5 spaces as indent (fix them
as the files are changed for other reasons). src/guiengine/CGUIFont.* and
src/bullet/ not processed to allow cleaner updates from upstream.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-18 00:36:35 +00:00
hikerstk
5a938b4bf9 Removed more tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 23:45:42 +00:00
hikerstk
3a81b033cd Removed tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 23:42:50 +00:00
hikerstk
f8920355fe Removed tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 23:38:47 +00:00
auria
5eac1154c2 When pressing escape to leave track info dialog, focus is now properly restored on previously selected track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 22:18:14 +00:00
auria
e77fc3cb0c Fixed one aspect ratio problem (when using child_width/height properties and DynamicRibbon)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 22:06:23 +00:00
auria
a5278e6257 Use new badging facility to show the green check on selected karts, simplifying code and fixing bugs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 21:36:45 +00:00
hikerstk
9aba7a2b1e Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 02:44:09 +00:00
hikerstk
0ddcb9dc2c File missing in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 00:24:38 +00:00
hikerstk
d4c537c7e8 1) Added support for ignoring materials
2) Replaced tabs with spaces.
3) Removed unnecessary function parameter for loadTrackInfo.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4308 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 00:22:29 +00:00
hikerstk
de0e948c9a Simplified camera code somewhat, added support for final-camera, and made reverse
faster.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-16 21:37:33 +00:00
hikerstk
9b29581c4e Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4302 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-16 01:44:16 +00:00
hikerstk
b65fbd8a23 Removed tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-16 01:00:15 +00:00
auria
5dfc5e0b02 Fixed feature unlocked screen leaving a light in the scene tree
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-15 03:06:49 +00:00
auria
8a2e507d93 Fixed glitches during zoom-in effect, caused by unsigned arithmetic
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-15 03:04:09 +00:00
auria
1690b0fedf Fixed other glitch (track dialog)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-15 02:48:59 +00:00
auria
8eacc7d8c7 Fixed one glitch (keyboard navigation), created another (track screenshot gone) =)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-15 02:34:27 +00:00
mbjornstk
a9bdacbe80 Try to enable fading (but seems to do nothing visible).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-15 01:29:38 +00:00
auria
ffc5d397e8 Fixed one of the glitches introduced in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 20:43:49 +00:00
auria
68ba369ff4 Lots of small fixes and cleanup; major change : totally bypass irrLicht's icon rendering in the GUI, which is insufficient for our needs. Use a new system that's much more flexible. Improved locking icon on the way. A few minor glitches introduced, to be fixed soon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 20:15:09 +00:00
hikerstk
29c1623f29 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 04:34:00 +00:00
hikerstk
907616f927 Fixed several typos/bugs in filenames.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 02:08:25 +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
68ceea8619 Fixed time-trial mode - no more boxes will be added to the track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-10 02:10:19 +00:00
hikerstk
81eeb36edb Added a minimum speed karts need in order to use slipstreaming. Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-09 03:50:44 +00:00
hikerstk
f78baf0c82 Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-09 03:48:27 +00:00
hikerstk
9e133ac141 Bugfix: distance-from-start calculations could become inconsistent at places where two drivelines
merge together, resulting in kart-order changing more or less randomly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-08 12:13:30 +00:00
hikerstk
e75cfe25ba Hopefully fixes crash happening when restarting races.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-08 00:52:53 +00:00
hikerstk
bf5f9bb050 1) Updated project file for latest changes.
2) Removed compiler warnings.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-07 00:45:49 +00:00
mbjornstk
22d233b46c Wrap some lines with {} so g++ 4.3 does not abort.
For reference, and in case there is a better fix, the error reported was:
graphics/camera.cpp:124: error: jump to case label
graphics/camera.cpp:117: error:   crosses initialization of "const int y2"
graphics/camera.cpp:116: error:   crosses initialization of "const int x2"
graphics/camera.cpp:115: error:   crosses initialization of "const int y1"
graphics/camera.cpp:114: error:   crosses initialization of "const int x1"


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 21:03:59 +00:00
auria
363849fd24 When a player leaves, check if we're ready to start
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 19:42:50 +00:00
auria
11694b93a9 Prevent players that have confirmed a kart selection from leaving game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 19:36:15 +00:00
auria
958c107969 non-game-master players are now also prevented from altering race setup screens using mouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 19:29:35 +00:00
auria
e20f805e61 In multiplayer mode, players other than the game master should not be able to select stuff in race setup menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 19:22:57 +00:00
auria
51d6af8853 Minor naming cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 18:58:33 +00:00
auria
b83131fea2 Fixed glitch when selecting kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 18:47:56 +00:00