Commit Graph

4080 Commits

Author SHA1 Message Date
xapantu
8ea7b2d2b9 Improve error handling for network connexion (use a boolean now)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 14:21:14 +00:00
xapantu
29a5a265ee Adding a progress function for download, it is a bit too verbose...
Error handling

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5646 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 14:19:00 +00:00
xapantu
764c70a108 Uncomment the network code; it was commented and no files could be downloaded, it causes the crash when we started stk (I disabled it in commit 3861, it was an error :( )
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5645 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 12:34:59 +00:00
hikerstk
b53356d30c Added Rudy's animation of pidgin.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 04:14:38 +00:00
hikerstk
c8ea8e75db Added Rudy's new elephpant animation (which is currently not properly
looped).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 03:18:37 +00:00
hikerstk
acb59dffe5 Added Rudy's animations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 03:03:10 +00:00
mbjornstk
baf23285e7 Make minimap be proportional to real track. Icon position needs fixes, tho.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 00:29:26 +00:00
mbjornstk
27c007a8fa Use float constants.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 00:24:09 +00:00
hikerstk
6c7cdb1b7b Fixed crash in end camera - hopefully the last problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 00:10:58 +00:00
hikerstk
bc50f128ce Updated track exporter to support end cameras.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 23:42:35 +00:00
hikerstk
a4d5c1056d Fixed end camera if a track has no specific end camera defined (previously
an existing end camera from a previous race would be re-used).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 23:40:37 +00:00
hikerstk
5d5ffe511a VS curl-debug build directory is now ignored.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 23:30:16 +00:00
hikerstk
8b5d7b0510 Added support for 'introduction frames' to be played once before
an animation loop. Also added support for the non-standard
marker names used by Rudy.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 22:54:22 +00:00
hikerstk
3416a54bfd Added support for a sequence of frame to be played in an animation before
the actual animation loop starts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 22:51:45 +00:00
hikerstk
0243b12de9 Added missing variable initialisation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 22:49:13 +00:00
hikerstk
63d5f62cdb Removed unnecessary declaration.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 22:48:12 +00:00
auria
ada915c207 Fixed typo in Widget documentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 19:54:33 +00:00
auria
a77405d53a Fixed potentially dangerous name clash between Widget members and SkinWidgetContainer members + added the proper m_ prefix as per our style guidelines along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 19:25:20 +00:00
auria
d68e299da0 Fixed annoying visibility warnings wen building with Xcode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5624 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 18:36:59 +00:00
auria
56956bf752 Fixed potential crash in add-ons code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5622 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-03 23:48:54 +00:00
auria
a8224ea937 Fixed a couple issues in race GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5621 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-02 23:14:44 +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
079a25cbd8 Adding a mutex to avoid gui problem in the addons_loading dialog and desactive the next and previous button (and some code cleanup)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5618 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-02 16:54:08 +00:00
xapantu
088efbb96a code cleanup in addons_loading (remove the use of 'this' for the back button, I am going to remove all 'this')
move this->update_status to m_update_status in addons_screen
disable the focus on the image in the addon dialog

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-02 14:59:21 +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
auria
fb0bda3fe4 Added addons build config to Xcode project + added better error handling to the unzip function so it fails instead of crashing iun a couple places (xapantu: more work needed on error handling)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 16:50:34 +00:00
hikerstk
acf4092444 Added new VS configuration 'curl-debug' which adds support for libfribidi,
curl (and pthreads). Several functions could not be compiled under VS, for now
I have commented out the appropriate sections and added "FIXME_ADDON"
#ifdefs or comments.

NOTE: This will most likely break the addon manager on platforms on which it
is currently working!!!! It's mainly meant to show which parts of the code
need to be improved!!! Please grep for FIXME_ADDON, and if no easy fix exists,
just add #ifndef WIN32 for now.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 14:25:42 +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
b4d372489b A dirty hack to add addons direcotory support in kart loader and a fix for addons path
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 12:15:57 +00:00
xapantu
4669b7075b Working on the update screen: remove unneeded function and some code cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 10:02:57 +00:00
xapantu
5a2de08d45 code cleanup in addons.cpp:
move the function GetName, GetVersion... to the header file
some documentation
try to follow the code style guidelines

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 08:32:56 +00:00
auria
9476785986 Removed the include to pthread in the main screen, it's not used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 00:34:59 +00:00
hikerstk
61cc735179 Fixed memory overwrite that happens when the in-game menu is
displayed during the end animations.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5601 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 00:16:09 +00:00
hikerstk
5fcd69554e Updated VS project file, fixed minor compilation and style
problems (note: atm addons are not compiled on VS).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 00:14:56 +00:00
hikerstk
9698b08b87 (Hopefully) fixed missing return value in w_gettext.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5599 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 00:13:31 +00:00
auria
b686bf524b Updated Xcode project + minor fixed to xapantu's code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 23:53:16 +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
xapantu
f0094304da Adding the '--with-addons' option in configure.ac
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 17:07:42 +00:00
hikerstk
6c10ceeeb4 Fixed uninitialised variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 05:29:56 +00:00
hikerstk
09fe1ea784 Fixed uninitialised variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5594 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 05:23:37 +00:00
hikerstk
e646b2e443 Switch win/lose animation off when restarting a race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 22:58:20 +00:00
hikerstk
28f2b3742d 1) Fixed 'shaking' of kart, which happens esp. in end- and reverse camera
(reason was that camera used the previous kart position to adjust the camera
   settings, while the karts were shown at the new position. This becomes a 
   problem if bullet does more than one time step, since then the usually
   fixed offset is changes, which is visible).
2) Removed debug output.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 11:15:00 +00:00
hikerstk
0d527829ef Fixed VS compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 11:11:03 +00:00
hikerstk
b03dec0eb3 Made it less likely to get a switch (1/3 less likely then previously).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 01:45:14 +00:00
auria
6cb51e2492 More work on scalable race GUI : race GUI will now be not so small on high resolutions (we need higher-definition weapon icons\!)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 01:23:56 +00:00