Commit Graph

284 Commits

Author SHA1 Message Date
hikerstk
3c729b4b0f 1) Added proper handling and detection of installed addons
2) Moved addon related data files into a separate 'addons' directory.
3) Directory names of addons are now lower case.
(Still addons are not stable enough to be used!)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 21:49:17 +00:00
hikerstk
110af2b7ae Removed/replaced getKartFile/Dir functions in file_manager, which
should solve issues with addon karts not being found or textures
not correctly loaded.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 05:47:49 +00:00
auria
8ddb9aee41 Removed more useless FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:18:52 +00:00
hikerstk
4a6b709685 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:31:11 +00:00
auria
f196a544a2 Deactivate writing unicode XML until irrlicht devs fix thing son their side
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-02 19:02:31 +00:00
mbjornstk
976f2f463a Fix misplaced #endif and missing #ifdef ADDONS_MANAGER / #endif.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 23:50:19 +00:00
hikerstk
ce986d623d Many style changes and code improvements to addons management.
The addons icon is now greyed out in case of an error (and till
the list of addons is downloaded, though usually that is done by
the time the main gui is shown). Moved synchronisations/threading
from addons_manager to network_http. Added 'Synchron' template
to hide usage of mutex to provide synchronised accesses to a variable.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 22:48:44 +00:00
auria
5bd9afdd7f Big refactor : move a lot of strings and config files to use wide strings. For instance to be able to cope with foreign characters in player names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 01:29:36 +00:00
hikerstk
8ecee44a35 Renamed getConfigFile to getDataFile (since getConfigFile
would actually not return a directory under getConfigDir).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7041 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:59:06 +00:00
hikerstk
1c90d679e2 Removed unused animation_manager (track object manager takes care
of animations).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7040 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:15:59 +00:00
hikerstk
f5662118c6 Made addon manager compiler with windows (though not working yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:07:14 +00:00
auria
2e6ebaa63b Fixed memory leak (Joerg: phew, I'm not the only one writing stupid code ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 00:53:25 +00:00
hikerstk
7c36638e63 Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6745 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 20:54:45 +00:00
hikerstk
829b015314 Properly delete the first window (esp. on Linux) when switching resolutions.
ATM this results in a crash for me (though this patch should be correct, so
the reason for the crash must be something else).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 21:16:19 +00:00
auria
cb78ded2ed Tidy up logging + other minor fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 17:19:13 +00:00
auria
b957d7923a Perform decent error checking when getting music file, previous code would silently return an empty file. Fixed the use of the 'smart' function used too early when loading title music
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 19:19:31 +00:00
hikerstk
143ee6d455 Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6000 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 06:05:48 +00:00
hikerstk
f87c95b605 Added "/" to the end of some getXXXDir functions, so that the
"/" doesn't have to be added elsewhere all the time.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:56:42 +00:00
hikerstk
3e4cc2eab7 More NoCopy.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 05:36:40 +00:00
hikerstk
2f25be8333 Updated project file, removed compiler warnings, worked around
compilation problem on windows related to directory removal
for the add on server. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 01:04:50 +00:00
xapantu
58637fb82a Move removeDirectory to file_manager (for addons uninstall)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 16:30:17 +00:00
hikerstk
9d467210c5 Fised memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 23:00:41 +00:00
xapantu
2a3854db6b improve the checkandcreatedirectory recursive function file_manager using the stringutils split function
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5619 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-02 17:14:09 +00:00
xapantu
f4f78803b3 Adding a function (checkAndCreateDirectoryP) tp create directories recursively
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-02 09:35:55 +00:00
auria
e99d7592fb Fixed uglyness on OS X where directories called both SuperTuxKart and supertuxkart would be attempted to be created in App Support
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 18:11:22 +00:00
auria
58d8e91e20 Better error checking
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 18:06:18 +00:00
xapantu
3b1757449b Creating the directories for addons using file_manager
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 17:42:12 +00:00
xapantu
362abc0fc4 removing one of the two download functions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5612 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 17:16:10 +00:00
auria
5b20361094 Implemented get addons dir for OS X
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5611 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 16:59:22 +00:00
hikerstk
61b411a6a7 Removed unused variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5607 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 13:58:22 +00:00
xapantu
5a653e26e9 Adding the addons menu, I am going to write a mail to the ML
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 18:40:55 +00:00
auria
2810193fb2 Lots of small changes to make the output Doxygen file much more useful
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 20:36:13 +00:00
hikerstk
0d3120a4ea Removed unnecessary call (the directory was already added), which was
also incorrect and caused a warning to be printed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5200 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-15 23:53:31 +00:00
auria
6cba2be139 Fixed config dir fallback on linux/unix; last resort should be ~/.supertuxkart, not ~/supertuxkart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-21 01:50:59 +00:00
hikerstk
46ed8ff33e Removed unused functions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4745 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 23:50:52 +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
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
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
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
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
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
5b58714fff Revmoed support for irrlicht 1.5 (which doesn't have all functions we need anyway).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-04 01:09:40 +00:00
auria
8e1ee567b5 Fixed ARGB/RGBA in xml loader
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4163 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 17:07:06 +00:00
auria
f8fccf808f Moved STK preferences on mac from old-fashioned unix style ~/.supertuxkart to the more correct ~/Library/Application Support. Should have been done long ago; Motivated by Joerg's modifications on Windows that reminded me of this, and also to have the ability to open 0.6 without screwing my 0.7 settings ;P
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4124 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-16 01:47:03 +00:00
hikerstk
c49d14a229 Textures can now be shared between tracks/karts directories and
the textures directory. Note that now data/textures takes
precedence over a kart directory, while previously textures from
tracks/karts were loaded first.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 11:06:01 +00:00
hikerstk
1b877c9a16 Removed usage of deprecated irrlicht IO interface, cleaned up usage
of different file archives (since irrlicht now supports removing paths
from a file archive).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4100 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-09 00:37:29 +00:00
hikerstk
68981649b3 Ported to irrlicht 1.6: as default filesystems would ignore the path, resulting in incorrect
wheels being loaded for the karts (since atm all kart wheels have the same name).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4094 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-07 04:57:20 +00:00
auria
0f14b098cd Completely removed the IRR_SVN macro, makes it confusing for people trying to build STK from autotools. irrlicht version is now detected from irrLicht includes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4092 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-06 19:17:16 +00:00
hikerstk
88abe09dd6 1) Added --kartdir directive, allowing loading of
additional karts from other directories.
2) Fixed potential bug (--track might have allowed you to
   run a locked track)
3) --list-tracks and --list-karts can now keep on running
   (before STK would be ended) - but they are slower now
4) Renamed all kartname.irrkart file to kart.xml. I realised too
   late that those files had not been converted to xml yet.
   It will be fixed later.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3930 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 06:22:52 +00:00
hikerstk
4ce732574a 1) Added support for new --trackdir command line parameter (which specifies a directory with more
tracks).
2) Challenges are now saved in its own file (not in user config file anymore).
3) The TRACKNAME.{irrtrack,scene,graph,quads} files are now called {track,scene,graph,quads}.xml
   (so not containing the name of the track anymore). Beach and lighthouse tracks have been
   updated.
4) Track exporter uses the new filenames above.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-25 11:58:25 +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
cosmosninja
15902af969 Added XML support for the stk_config.data file and challenges; removed the LISP support.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-23 19:44:31 +00:00
hikerstk
c64608eec7 Added fixes to STK to work with current irrlicht SVN. All changes
are in #ifdef IRR_SVN - and at this stage linking fails for atm unknown
reasons. No changes to irrlicht 1.5 compilation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-05 12:45:11 +00:00
hikerstk
368604f379 Added speedometer.
NOTE: to use the speedometer, a patched version of irrlicht is needed. The replacement
files are included here, we hope that the necessary functions will be included in the
next irrlicht release (STK will still compile without a patched irrlicht version,
but not display the speedometer).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-27 11:56:09 +00:00
hikerstk
d9e90576c7 Added support for bezier interpolation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-01 12:04:26 +00:00
hikerstk
6cefc34b31 More work on animations (still work in progress)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-30 12:51:38 +00:00
auria
36bfc5e7fe The player list can now be extended in Options, and is saved to file and loaded too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 18:55:12 +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
864c1d6fff 1) More redesign of drivelines into quad graphs. Moved
graph related functions from Track to QuadGraph,
   removed plib usage. The AI is now able to drive
   a loop (re-using the same quad, before continuing
   on the original path). The beack track currently
   defines a simple look at the first right hand
   turn (the AI will drive down the hill, then
   up again and then keep on going).
2) During the conversion process some AI called
   function were significanly sped up, but it has
   to be tested if this has any ill effects for
   certain tracks or certain karts.
3) Tried to add support for moving sky domes, but
   that doesn't work yet.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3527 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-22 03:23:48 +00:00
hikerstk
224278556e Bugfix for windows, where a stat on a directory ending with
'/' does not work.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3524 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-19 12:09:53 +00:00
auria
2d86430956 Tried to fix file issues on Linux
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3522 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 23:18:40 +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
6a91218b62 replaced plib filesystem calls with irrlicht filesystem calls
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3518 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 19:11:58 +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
hikerstk
ffe39e467a 1) Started adding support for quad graphs to have a more flexible way
of specifying the track to use (mainly for the AI).
   For beach/lighthouse files to specify the graphs have been added
   (note that if the graph is a simple look, no .graph file is
   necessary, since it will default to a simple loop), and a script
   to convert from the current driveline structure to quad graphs
   has been added, too.
   This information is currently read in, but not yet used!
2) Some memory leaks were fixed, the filemanager functions getXML*
   were renamed to createXML* to indicate that the return pointer
   needs to be freed.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-15 01:20:09 +00:00
auria
b5f7ac87ce improved path flexibility in graphics files (can now access textures from data/textures too, will be useful in help to show weapons icons, etc.)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:33:37 +00:00
hikerstk
4ccd7662ef 1) Added support for animated textures.
2) Removed static_ssg source files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 23:45:20 +00:00
hikerstk
f860816241 1) Added support for nested tags to XMLNode.
2) Made all xml files well formed.
3) Minor code cleanups.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 02:52:01 +00:00
auria
06cfbc2aeb keyboards will now read their config from file (only default keyboard, support for multiple configs to come later)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 00:19:24 +00:00
hikerstk
247914b566 1) Support for transparency added (mainly lighthouse track).
2) More cleanup, tests, ...


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3304 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-26 23:31:00 +00:00
hikerstk
11b35c3fa9 Bugfix: detecing '.' as data root didn't work anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-17 02:19:11 +00:00
hikerstk
e158423562 Updated VS project file, and fixed several compilation problems.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-15 13:22:28 +00:00
auria
f5ced788ac Game menu now shows up :) Input is not yet handled, so not yet usable. Some dummy placeholder datafiles included for the sake of having something testable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-15 01:34:21 +00:00
auria
4acc6fc7c8 first introduction of new GUI code. It does *not* work, consider this a backup (and the removal of the old UI)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-13 13:50:24 +00:00
hikerstk
4a85118dbd Removed many warnings, mostly caused by texture that were not found.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-13 08:32:19 +00:00
hikerstk
921d9a34d5 Added more textures (by putting them for now in the same directory as the
model), fixed detection of terrain (e.g. triggering rescue when trying to
drive on water).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 23:35:15 +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
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
7dfda9e304 Minor bugfixes for linux compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-27 01:32:09 +00:00
hikerstk
253f495021 Irrlicht only: added support for height computation for items
(and other models loaded for a track), items now do rotate
and can be collected (though no icons are displayed yet,
nor do attachments work).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3196 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-25 13:14:27 +00:00
auria
a9b0a695d4 updated Xcode project for irrLicht + fixed compilation warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-24 00:03:38 +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