Commit Graph

2449 Commits

Author SHA1 Message Date
auria
d891996797 Fixed crash in game dialogs + Fixed input sensing issue
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4008 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 17:27:14 +00:00
auria
92ab67d95b More license cleanup (more about cleaning license files than the textures themselves)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4007 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 17:15:41 +00:00
auria
8cc5028215 Replaced sound with problematic license with a repalcement from debian
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4006 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 16:59:08 +00:00
auria
27b4537cd2 Tweaks to event handling to fix keyboard navigation and dialogs (more work still needed)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4005 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 16:08:13 +00:00
auria
10b589b168 More work on in-game dialogs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4004 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 15:46:24 +00:00
auria
928d26bba7 Further tweaks to modal dialogs look
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4003 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 15:20:20 +00:00
auria
748993e791 Change forgotten in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 15:13:53 +00:00
auria
344194f20d Improved dialog skin + skinability of some stuff
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4000 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 15:07:50 +00:00
auria
c9cbd546d4 Return to race and Exit race now both work in the paused dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 01:50:37 +00:00
auria
4c2a826ab9 Fixed mouse focus issue in pause dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3998 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 01:17:09 +00:00
auria
004c727d54 Further improved looks of pause dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3997 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 01:10:13 +00:00
auria
b5fc0fdf1a Improved looks of pause dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 01:06:53 +00:00
hikerstk
02b7c4b155 Bugfix: a pointer to a temporary char array was used after the temporary char
was freed (const char* trans = irr::core::stringc(_(next->m_v.m_string)).c_str();
the stringc is deleted after the assignment, and trans then points to the freed
memory). 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 12:18:20 +00:00
hikerstk
9e2d3e6418 Bugfix: --screensize/-s option did not work anymore.
Thanks to Hendrik Dark for the patch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3994 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 03:56:47 +00:00
hikerstk
cced894e0f 1) Quad based drivelines are now more flexible - the main driveline
can be split into several driveline sections. Connections between
   main and non-main drivelines are computed depending on distance, 
   and driveline sections can have individual attributes (atm: invisible
   - which will not show those drivelines in the minimap in the future).
2) Support for old-style drivelines was removed. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3993 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 03:48:19 +00:00
hikerstk
227772aaff Updated VS project file to include recently added files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3992 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 03:45:09 +00:00
auria
26170d94a7 More work on escape-menu in game (pause)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3991 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 02:03:47 +00:00
auria
6356f9d8bd Fixed absolute path in xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-03 15:09:41 +00:00
auria
6abe2523bc Started implementing in-game pause dialog (not usable yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3987 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-03 01:50:13 +00:00
auria
a18c750e1b Fixed a few bugs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-03 01:06:32 +00:00
hikerstk
86743991ae Updated project file, removed VS compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 02:08:24 +00:00
auria
3efcb92b74 Made end-of-race menu buttons do something (none actually works; @hiker: there seems to be crashes when trying to cleanup, this is your area
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:46:02 +00:00
auria
6c1dbb2999 Fixed events being blocked for in-game dialogs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:25:17 +00:00
auria
51ed985653 More improvements to end-of-race dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3982 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:20:38 +00:00
auria
2eef253158 Improved end-or-race dialog + backported a fix found there to track info dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:01:10 +00:00
auria
3ad53d1999 Fixed display issue in race results screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3980 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 22:15:17 +00:00
auria
5ff086d156 Fixed handling of wide strings in StringUtils::insertValues (the wide overlaod) + fixed aain assert import
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 21:18:07 +00:00
auria
4200a2b054 Added missing include (broke compilation on some systems)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 21:05:29 +00:00
auria
d1cff1f1c4 More work on dialogs (race end dialog further re-implemented)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 21:02:31 +00:00
auria
2d234f6fbb Improved insert_values : 1) fixed bug 2) Allow for arbitrary number of parameters (well, as much as C++ allows without variadic templates)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 20:40:55 +00:00
auria
b615f71818 Improved error message so next time i get such error i'm not as clueless ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 20:38:54 +00:00
auria
22f6c6e008 First (rough) version of an end-of-race dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 18:11:26 +00:00
davemk
00fab4a1f6 revert to copying raycast info for wheel suspension.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 15:38:38 +00:00
hikerstk
8020d3eede Removed debug file name.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3972 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 01:00:43 +00:00
auria
9ad338fde6 Lap count widget now works
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-31 13:13:31 +00:00
hikerstk
390d076e7a Added starting line and reset-starting-line line so that some lap counting is possible.
Notice: the lap reset line is in a debug position (5 units ahead of the lap counting line), allowing
quick debugging (by driving in somewhat wider circles).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3970 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-31 00:59:14 +00:00
auria
61b86879f8 Fixed kart spinner being 'empty' the second time (and subsequent)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 23:12:00 +00:00
auria
d35635f1f6 Disabled clearing of the back buffer since it's unused and would only slow down rendering uselessly (this implies all tracks will need skydomes, but i think we agree we don't want the blue sky of death anyway)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3968 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 23:10:34 +00:00
mbjornstk
e8df3135c1 Change base colour of marks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 20:10:28 +00:00
auria
c3dfb2949f Tweaked i18n code to at least handle latin-1 characters, potentially fixed compilation with gettext off
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 19:57:51 +00:00
auria
6dd131dd4e Removed debug code (PS: the doubt I expressed in my previous commit are confirmed : the function I used to do the conversion only handles ASCII)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 19:19:25 +00:00
auria
458e1a19da made text readable (i'm not really confident it works for everyone and all languages though)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3964 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 19:18:05 +00:00
auria
c3f0f7ab82 Massive conversion from std::string to stringw for all strings that need to be translated. Currently, translation is broken (strings i try to transalte appear as junk) -- since irrlicht GUI widgets all use wchar_t, using std::string in UTF-8 just didn't make it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 18:21:59 +00:00
hikerstk
06aea85a37 Updated files in VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3962 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 12:51:34 +00:00
auria
cb0679f93e New GUI can now appear in other languages (unfortunately, non-ASCII characters don't show up. I need to find how to make gettext play fine with irrlicht strings...) Note that stuff in other files (namely track, GP names, challenges) are not convered by this commit, so after they're all converted to XML we need to implement this for them too.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3961 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 02:00:53 +00:00
auria
b39414cf8e Many more I18N clarifications, and fine-tuning of extracting strings from XML files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 01:50:22 +00:00
auria
9a6f3ef547 Improved extraction of strings from XML files (now with a python script that also supports comments to the translators; also, uses expat, which detected lots of errors through my XML files XD)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 01:28:46 +00:00
auria
e655b6330b Updated french translation so that I can test transaltion of menus eventually
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 00:00:15 +00:00
auria
b6d0226fe2 Updated pot generation script to fetch strings from XML too (most of them are not translated in game yet however)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 21:16:51 +00:00
auria
79c34d17a5 Fixed resolution switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 20:31:46 +00:00