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
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
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
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
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
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
a5a90be806
1) Started to add split screen (though not all parts of the race gui are displayed correctly yet).
...
2) The name of an AI kart will now only get the AI name added if it's profile mode (to prevent
the name with AI name to be displayed in game)
3) Some code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-23 05:20:05 +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
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
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
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
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
auria
11bb21770f
Replaced hardcoded number (maximum number of players) with a clean constant
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 00:41:45 +00:00
hikerstk
96dc2a8fe2
Cleaned up StringUtils: used 'better' names (e.g. getPath()
...
instead of path()), and used our convention of using capitalization
for words (and not _). Started adding support for additional track
directories, but that's not working yet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-24 05:56:53 +00:00
hikerstk
d8b212aa44
1) Fixed render-to-texture bug (which resulted in black background instead of
...
transparent one for the kart selection screen and mini map).
2) Added very first version of minimap (scale is wrong, no kart display yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-20 12:35:34 +00:00
auria
ab4cdcae00
A player can now remove himself by pressing rescue at the kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 19:24:42 +00:00
auria
f987fff348
more work on multiplayer kart selection screen & multioplayer input
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 16:50:57 +00:00
auria
d9cdb5415a
removed old ugly unused code from ptr_vector [so hiker can't complain about it anymore ;)]
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 02:04:20 +00:00
hikerstk
18f898f34e
Added missing file from previous commit.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-09 01:13:01 +00:00
hikerstk
f332c3a345
Moved timeToString into StringUtils.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 12:34:39 +00:00
hikerstk
8c1bba8abb
Added initial support for checklines (though atm they don't do anything yet).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-06 13:35:33 +00:00
auria
a7abbf4c82
More work towards multiplayer (player 1 is now assigned an input device when pressing 'new game'). Cleanup when restarting game not implemented
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-04 20:00:18 +00:00
hikerstk
88600d7d2e
1) Animations can now be bullet rigid bodies, which means collisions are
...
possible.
2) The track exporter supports now exporting a single animation model only even
if the model is used in several animations.
3) Changed the rad to/from degree macros to be uses as multiplication factors,
i.e. RAD_TO_DEGREE*x instead if RAD_TO_DEGREE(x). This allows more compact
code if vectors are convered (RAD_TO_DEGREE*vec3 instead of three separate
macro invocations, once for each component)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 00:51:31 +00:00
auria
23192bfe21
Allowed deleting players
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-28 20:46:20 +00:00
auria
5b5d4f3ee9
Updated Xcode project + updated translation code to work with libintl framework on mac
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-26 00:07:56 +00:00
hikerstk
ee90eca26e
1) Created new config subdir and moved the last remaining files into
...
appropriate subdirs (only main.cpp and main_loop.?pp are now directly
in the src directory).
2) Cleaned up all #include directives, so that all files now use
the right subdirectories.
3) Some minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3606 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-11 10:00:43 +00:00
hikerstk
25b9d9643c
Replaced all remaining HEADER_.*_H with HEADER_.*_HPP .
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 02:17:43 +00:00
hikerstk
075c9dbb86
Moved more files into appropriate subdirs, update build
...
system for VS (verified) and autoconf (not verified).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 12:37:29 +00:00
hikerstk
62f5c82882
Removed VS warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-25 04:29:09 +00:00
auria
c7873c7a39
minor cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3519 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 19:14:34 +00:00
auria
bbce1a0407
refactored Xcode project to use pre-built frameworks (making it much easier) + more minor cleanup (removed some useless plib stuff left in code)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 18:29:58 +00:00
auria
56b99ce73e
Implemented credits screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-17 19:07:27 +00:00
auria
f4a76bc2ae
removed 95% remaining dependencies on plib
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-11 01:28:18 +00:00
hikerstk
9316d3ed28
Fixed incorrect pitch.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-04 12:23:48 +00:00
hikerstk
8a60edf241
Moved file manager to io subdir, made irrlicht compilation default,
...
started removing #ifdefs HAVE_IRRLICHT.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 03:49:31 +00:00
hikerstk
511be41e70
Start adding support for physical objects (e.g. road cone).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-11 05:10:56 +00:00
mbjornstk
210fe11806
More EOL prop setting and fixing of files with mixed EOLs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-01 00:46:47 +00:00
mbjornstk
fc46307f54
Fixing all remaining "executable" flags.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3205 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-27 02:54:25 +00:00
hikerstk
62bc9990ca
Irrlicht only: Added preliminary support for reading materials.xml files
...
(though the information is not used atm).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-27 00:15:09 +00:00
hikerstk
1cbed5cfe2
Irrlicht only: improved XML handling, support xml files
...
for .track and .loc files, started working on items.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-20 01:42:34 +00:00
hikerstk
0267f7630c
Irrlicht only:
...
1) Added better support for reading XML files.
2) Fixed keyboard handling (for some keys only
key releases were recognised).
3) #ifdef-ed out more plib parts that would cause a
crash with irrlicht.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-17 02:57:28 +00:00
hikerstk
3b7bfd5367
Update to irrlicht only, non-irrlicht part should be unchanged.
...
- Tracks and kart models are now loaded and converted into
bullet physics.
- A simple camera is implemented, so a loaded track can be
displayed (note: the current SVN version does not contain
a track converted for irrlicht yet)
- Otherwise the irrlicht version is not working, i.e. no
menus atm, ...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-10 05:30:59 +00:00
hikerstk
7e03777aa1
Fixed compilation problem on some platforms.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3080 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-30 01:12:10 +00:00
hikerstk
43e7b4bd45
Removed all snprintf statements and constants for maximum
...
message sizes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3065 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 21:49:28 +00:00