supertux.git
10 years agoMerge branch 'feature/smart-ptr'
Ingo Ruhnke [Wed, 1 Oct 2014 16:43:48 +0000 (18:43 +0200)]
Merge branch 'feature/smart-ptr'

10 years agoRemoved obsolete comment
Ingo Ruhnke [Mon, 1 Sep 2014 23:18:17 +0000 (01:18 +0200)]
Removed obsolete comment

10 years agoReplaced ::iterator stuff with auto
Ingo Ruhnke [Mon, 1 Sep 2014 23:09:40 +0000 (01:09 +0200)]
Replaced ::iterator stuff with auto

10 years agoReplaced Ref and RefCounter with std::shared_ptr<>
Ingo Ruhnke [Mon, 1 Sep 2014 19:37:16 +0000 (21:37 +0200)]
Replaced Ref and RefCounter with std::shared_ptr<>

10 years agoAdded experimental Halloween tiles and backgrounds
Ingo Ruhnke [Wed, 1 Oct 2014 16:39:18 +0000 (18:39 +0200)]
Added experimental Halloween tiles and backgrounds

10 years agoFixed return type foobar in the curl progress callback
Ingo Ruhnke [Mon, 29 Sep 2014 14:25:16 +0000 (16:25 +0200)]
Fixed return type foobar in the curl progress callback

10 years agomissing file
Benjamin Leduc [Sat, 27 Sep 2014 11:48:02 +0000 (11:48 +0000)]
missing file

10 years agoaddition of appdata
Benjamin Leduc [Fri, 26 Sep 2014 21:01:16 +0000 (21:01 +0000)]
addition of appdata

10 years agoTranslation updates
Benjamin Leduc [Thu, 25 Sep 2014 21:08:24 +0000 (21:08 +0000)]
Translation updates

10 years agoUsing un-optimized version of liane.
Tobias Markus [Wed, 17 Sep 2014 20:35:57 +0000 (22:35 +0200)]
Using un-optimized version of liane.
Optimized version had background issues.

10 years agoFix grammar mistake in README.md
Tobias Markus [Wed, 17 Sep 2014 09:41:20 +0000 (11:41 +0200)]
Fix grammar mistake in README.md
[ci skip]

10 years agoUpdate CMake requirement to latest version
Tobias Markus [Mon, 15 Sep 2014 11:59:17 +0000 (13:59 +0200)]
Update CMake requirement to latest version

10 years agoAll environment variables in one line
Tobias Markus [Sun, 14 Sep 2014 15:11:09 +0000 (17:11 +0200)]
All environment variables in one line

10 years agoUsing variables for version numbers in travis.yml
Tobias Markus [Sun, 14 Sep 2014 15:05:06 +0000 (17:05 +0200)]
Using variables for version numbers in travis.yml

10 years agoReset angle before starting kill animation
Tobias Markus [Sat, 13 Sep 2014 09:37:17 +0000 (11:37 +0200)]
Reset angle before starting kill animation

10 years agoUsing j5 for all make statements
Tobias Markus [Wed, 10 Sep 2014 05:43:36 +0000 (07:43 +0200)]
Using j5 for all make statements

10 years ago-j4 for all dependencies
Tobias Markus [Tue, 9 Sep 2014 17:14:42 +0000 (19:14 +0200)]
-j4 for all dependencies

10 years agoRemoving IRC notifications and enabling email notifications to supertux-commit@lists...
Tobias Markus [Mon, 8 Sep 2014 11:54:12 +0000 (13:54 +0200)]
Removing IRC notifications and enabling email notifications to supertux-commit@lists.lethargik.org

10 years agoFixing notifications in travis.yml
Tobias Markus [Mon, 8 Sep 2014 05:50:32 +0000 (07:50 +0200)]
Fixing notifications in travis.yml

10 years agoRemoving branches from travis.yml
Tobias Markus [Sun, 7 Sep 2014 22:39:59 +0000 (00:39 +0200)]
Removing branches from travis.yml

10 years agoAdding build status to README.md
Tobias Markus [Sun, 7 Sep 2014 22:34:14 +0000 (00:34 +0200)]
Adding build status to README.md

10 years agoAdding working .travis.yml file
Tobias Markus [Sun, 7 Sep 2014 22:23:34 +0000 (00:23 +0200)]
Adding working .travis.yml file

10 years agoUpdate requirement about SDL_image to SDL2_image
Tobias Markus [Thu, 4 Sep 2014 08:33:35 +0000 (10:33 +0200)]
Update requirement about SDL_image to SDL2_image

10 years agoUpdate requirement about SDL to SDL2
Tobias Markus [Thu, 4 Sep 2014 08:32:17 +0000 (10:32 +0200)]
Update requirement about SDL to SDL2

10 years agoFixed format string warning in clang
Ingo Ruhnke [Sun, 31 Aug 2014 19:41:23 +0000 (21:41 +0200)]
Fixed format string warning in clang

10 years agoTranslation updates
Benjamin Leduc [Sun, 31 Aug 2014 08:59:47 +0000 (08:59 +0000)]
Translation updates

10 years agoFixed numerous issues that caused errors in clang
Ingo Ruhnke [Sun, 31 Aug 2014 06:12:18 +0000 (08:12 +0200)]
Fixed numerous issues that caused errors in clang

10 years agoReplaced boost::shared_ptr<> with std::shared_ptr<>
Ingo Ruhnke [Sun, 31 Aug 2014 05:42:49 +0000 (07:42 +0200)]
Replaced boost::shared_ptr<> with std::shared_ptr<>

10 years agoDisabled -Wlogical-op, as that fails on clang
Ingo Ruhnke [Sun, 31 Aug 2014 05:34:21 +0000 (07:34 +0200)]
Disabled -Wlogical-op, as that fails on clang

10 years agoSilenced two compiler warnings
Ingo Ruhnke [Sun, 31 Aug 2014 05:13:13 +0000 (07:13 +0200)]
Silenced two compiler warnings

10 years agoConverted tile from grayscale to RGB due to compatibility issues with Flexlay
Ingo Ruhnke [Sat, 30 Aug 2014 18:37:52 +0000 (20:37 +0200)]
Converted tile from grayscale to RGB due to compatibility issues with Flexlay

10 years agoChanged default window size from 800x600 to 1280x800
Ingo Ruhnke [Sat, 30 Aug 2014 17:39:31 +0000 (19:39 +0200)]
Changed default window size from 800x600 to 1280x800

10 years agoDon't clear the keymap when loading from file so that the default config is preserved
Ingo Ruhnke [Fri, 29 Aug 2014 21:04:10 +0000 (23:04 +0200)]
Don't clear the keymap when loading from file so that the default config is preserved

10 years agoFixed resize handling of lightmaps, they are now recreated on resize()
Ingo Ruhnke [Fri, 29 Aug 2014 06:28:38 +0000 (08:28 +0200)]
Fixed resize handling of lightmaps, they are now recreated on resize()

10 years agoFixed SDLLightmap::get_light()
Ingo Ruhnke [Fri, 29 Aug 2014 05:57:07 +0000 (07:57 +0200)]
Fixed SDLLightmap::get_light()

Coordinates were upside down and brought the resolution in line with
OpenGL.

10 years agoAdded missing <array> include to addon/downloader.cpp
Ingo Ruhnke [Thu, 28 Aug 2014 00:57:50 +0000 (02:57 +0200)]
Added missing <array> include to addon/downloader.cpp

10 years agoRemoved made public variables private in JoystickManager and KeyboardManager
Ingo Ruhnke [Thu, 28 Aug 2014 00:56:59 +0000 (02:56 +0200)]
Removed made public variables private in JoystickManager and KeyboardManager

10 years agoSwitched from CURLOPT_XFERINFOFUNCTION back to CURLOPT_PROGRESSFUNCTION, since some...
Ingo Ruhnke [Wed, 27 Aug 2014 21:26:25 +0000 (23:26 +0200)]
Switched from CURLOPT_XFERINFOFUNCTION back to CURLOPT_PROGRESSFUNCTION, since some old cURL versions don't support the former

10 years agoRemoved some obsolete stuff from supertux/globals.hpp
Ingo Ruhnke [Wed, 27 Aug 2014 21:17:25 +0000 (23:17 +0200)]
Removed some obsolete stuff from supertux/globals.hpp

10 years agoDeleted TODO and merged it into http://supertux.lethargik.org/wiki/TODO-List
Ingo Ruhnke [Wed, 27 Aug 2014 20:31:22 +0000 (22:31 +0200)]
Deleted TODO and merged it into supertux.lethargik.org/wiki/TODO-List

10 years agoAdded -Wnon-virtual-dtor and -Wcast-qual warning flags
Ingo Ruhnke [Wed, 27 Aug 2014 19:56:26 +0000 (21:56 +0200)]
Added -Wnon-virtual-dtor and -Wcast-qual warning flags

10 years agoUpdated the TODO a bit
Ingo Ruhnke [Wed, 27 Aug 2014 19:53:43 +0000 (21:53 +0200)]
Updated the TODO a bit

10 years agoOnly refresh menu items that have been created in the JoystickMenu to avoid crash
Ingo Ruhnke [Wed, 27 Aug 2014 08:24:55 +0000 (10:24 +0200)]
Only refresh menu items that have been created in the JoystickMenu to avoid crash

10 years agoFixed Controller enum to string conversion
Ingo Ruhnke [Wed, 27 Aug 2014 08:24:28 +0000 (10:24 +0200)]
Fixed Controller enum to string conversion

10 years agoMade Menu::get_item_by_id(int id) error message sligthly more useful
Ingo Ruhnke [Wed, 27 Aug 2014 08:23:58 +0000 (10:23 +0200)]
Made Menu::get_item_by_id(int id) error message sligthly more useful

10 years agoSplit Controller::PAUSE_MENU into ESCAPE and START, as they need to act different...
Ingo Ruhnke [Wed, 27 Aug 2014 08:12:05 +0000 (10:12 +0200)]
Split Controller::PAUSE_MENU into ESCAPE and START, as they need to act different in some contexts

10 years agoAdded default and cancel button to the Dialog
Ingo Ruhnke [Wed, 27 Aug 2014 07:37:56 +0000 (09:37 +0200)]
Added default and cancel button to the Dialog

10 years agoMerge branch 'feature/download-non-blocking'
Ingo Ruhnke [Tue, 26 Aug 2014 22:58:42 +0000 (00:58 +0200)]
Merge branch 'feature/download-non-blocking'

10 years agoMoved abort() and update() calls into TransferStatus, also fixed abort() handling...
Ingo Ruhnke [Tue, 26 Aug 2014 22:56:32 +0000 (00:56 +0200)]
Moved abort() and update() calls into TransferStatus, also fixed abort() handling, then-callbacks are now called

10 years agoChanged error handling in TransferStatus, then-callbacks are now always called and...
Ingo Ruhnke [Tue, 26 Aug 2014 22:50:48 +0000 (00:50 +0200)]
Changed error handling in TransferStatus, then-callbacks are now always called and have a 'success' flag

10 years agoA first try at error handling in the Downloader
Ingo Ruhnke [Tue, 26 Aug 2014 20:30:22 +0000 (22:30 +0200)]
A first try at error handling in the Downloader

This isn't fully working, as skipping the .then() callbacks skips over
important cleanup and leads to failure further down the line.

10 years agoSave and parse repository index when AddonManager loads
Ingo Ruhnke [Tue, 26 Aug 2014 20:29:08 +0000 (22:29 +0200)]
Save and parse repository index when AddonManager loads

Meaning the user doesn't have to redownload it each time he starts the
game.

10 years agoWait for an explicit "Close" by the user instead of closing the DownloadDialog automa...
Ingo Ruhnke [Tue, 26 Aug 2014 20:00:33 +0000 (22:00 +0200)]
Wait for an explicit "Close" by the user instead of closing the DownloadDialog automatically

Downloads are most of the time rather fast, having the window just pop
up and go away feels a bit irritating.

10 years agoRenamed AddonDialog to DownloadDialog, as it isn't AddonManager specific any more
Ingo Ruhnke [Tue, 26 Aug 2014 19:51:34 +0000 (21:51 +0200)]
Renamed AddonDialog to DownloadDialog, as it isn't AddonManager specific any more

10 years agoRemoved AddonManager::InstallRequest, the data can be hold in the lambda capture...
Ingo Ruhnke [Tue, 26 Aug 2014 19:48:48 +0000 (21:48 +0200)]
Removed AddonManager::InstallRequest, the data can be hold in the lambda capture instead

10 years agoUse a chain of callbacks instead of a single one in TransferStatusPtr
Ingo Ruhnke [Tue, 26 Aug 2014 19:44:58 +0000 (21:44 +0200)]
Use a chain of callbacks instead of a single one in TransferStatusPtr

This allows reusing it in AddonManager and not bothering with creating
it's own, but basically empty InstallStatus.

10 years agoImplemented non-blocking download for the repository index list
Ingo Ruhnke [Tue, 26 Aug 2014 10:55:14 +0000 (12:55 +0200)]
Implemented non-blocking download for the repository index list

10 years agoHandle all numeric characters as fixed width, even in variable spaced fonts
Ingo Ruhnke [Tue, 26 Aug 2014 10:54:08 +0000 (12:54 +0200)]
Handle all numeric characters as fixed width, even in variable spaced fonts

This reduces jitter when numeric values change, such as in the
download status dialog.

10 years agoAdded ugly workaround for Console crash at startup
Ingo Ruhnke [Tue, 26 Aug 2014 10:44:17 +0000 (12:44 +0200)]
Added ugly workaround for Console crash at startup

This is an ugly workaround for a crash at startup. Console::current()
becomes valid before the Console constructor is finished and loading
Surfaces and Fonts wants to write text to the Console, with Fonts that
aren't yet loaded, thus crashing

10 years agoMade AddonDialog output some prettier text, installation of Addons now seem to work
Ingo Ruhnke [Tue, 26 Aug 2014 07:07:52 +0000 (09:07 +0200)]
Made AddonDialog output some prettier text, installation of Addons now seem to work

Error handling is still largely missing for failed downloads and such

10 years agoAdded then-callback to AddonManager and use the then-callback of Downloader
Ingo Ruhnke [Tue, 26 Aug 2014 07:06:41 +0000 (09:06 +0200)]
Added then-callback to AddonManager and use the then-callback of Downloader

10 years agoAdded file writing and then-callback to Downloader
Ingo Ruhnke [Tue, 26 Aug 2014 07:05:30 +0000 (09:05 +0200)]
Added file writing and then-callback to Downloader

10 years agoImplemented delayed destruction of Dialog in MenuManager to avoid "delete this" type...
Ingo Ruhnke [Tue, 26 Aug 2014 07:03:24 +0000 (09:03 +0200)]
Implemented delayed destruction of Dialog in MenuManager to avoid "delete this" type problems

10 years agoRemoved AddonMenu sorting code, since Addons are order dependend they should never...
Ingo Ruhnke [Tue, 26 Aug 2014 06:35:30 +0000 (08:35 +0200)]
Removed AddonMenu sorting code, since Addons are order dependend they should never be sorted

Meaning a skin pack with new graphics might shadow graphic files in
another skin pack. Adding a manual way to reorder addons via Peek_Up/Down keys
might be a good idea.

10 years agoHooked up progress reporting into the AddonDialog, non-blocking downloads are working now
Ingo Ruhnke [Tue, 26 Aug 2014 05:33:15 +0000 (07:33 +0200)]
Hooked up progress reporting into the AddonDialog, non-blocking downloads are working now

Code still misses proper Addon install once the Download is completed

10 years agoReplaced fancy C++11 lambda with old style static function wrap in Downloader
Ingo Ruhnke [Tue, 26 Aug 2014 05:24:44 +0000 (07:24 +0200)]
Replaced fancy C++11 lambda with old style static function wrap in Downloader

The C++11 lambda would work, but the lambda has to be cast to a
C-style function pointer first, cURL however doesn't provide function
pointer definitions for quick and easy casting and since it takes
arguments as va_arg it crashes and burns when passing in a raw lambda.
Old style _wrap is simply easier then casting to the proper function type.

10 years agoAdded AddonDialog and connected it into the whole non-blocking update stuff
Ingo Ruhnke [Tue, 26 Aug 2014 04:59:30 +0000 (06:59 +0200)]
Added AddonDialog and connected it into the whole non-blocking update stuff

10 years agoAdded some async code to AddonManager
Ingo Ruhnke [Tue, 26 Aug 2014 04:22:13 +0000 (06:22 +0200)]
Added some async code to AddonManager

10 years agoAdded slightly cleaner way to communicate TransferStatus
Ingo Ruhnke [Mon, 25 Aug 2014 22:57:26 +0000 (00:57 +0200)]
Added slightly cleaner way to communicate TransferStatus

10 years agoSome initial code to get Downloader non-blocking
Ingo Ruhnke [Mon, 25 Aug 2014 20:03:46 +0000 (22:03 +0200)]
Some initial code to get Downloader non-blocking

10 years agoAdding note about optional glbinding dependency and how to configure for it
Tobias Markus [Mon, 25 Aug 2014 21:16:14 +0000 (23:16 +0200)]
Adding note about optional glbinding dependency and how to configure for it

10 years agoAdded cURL to the list of dependecies
Ingo Ruhnke [Mon, 25 Aug 2014 17:45:45 +0000 (19:45 +0200)]
Added cURL to the list of dependecies

10 years agoMerge branch 'feature/menu-dialogs'
Ingo Ruhnke [Mon, 25 Aug 2014 07:54:29 +0000 (09:54 +0200)]
Merge branch 'feature/menu-dialogs'

10 years agoUse same colors for Dialog as for Menu
Ingo Ruhnke [Mon, 25 Aug 2014 07:50:32 +0000 (09:50 +0200)]
Use same colors for Dialog as for Menu

10 years agoAdded mouse support to the Dialog class
Ingo Ruhnke [Mon, 25 Aug 2014 04:46:34 +0000 (06:46 +0200)]
Added mouse support to the Dialog class

10 years agoAdded little toy test for Dialog when exiting SuperTux
Ingo Ruhnke [Mon, 25 Aug 2014 04:30:20 +0000 (06:30 +0200)]
Added little toy test for Dialog when exiting SuperTux

10 years agoAdded callback functions to Dialog
Ingo Ruhnke [Mon, 25 Aug 2014 04:30:01 +0000 (06:30 +0200)]
Added callback functions to Dialog

10 years agoImplemented Dialog::draw()
Ingo Ruhnke [Mon, 25 Aug 2014 03:43:14 +0000 (05:43 +0200)]
Implemented Dialog::draw()

10 years agoAdded Rectf::grown(float border) method
Ingo Ruhnke [Mon, 25 Aug 2014 03:37:53 +0000 (05:37 +0200)]
Added Rectf::grown(float border) method

10 years agoRenamed MenuManager::current() to MenuManager::current_menu()
Ingo Ruhnke [Mon, 25 Aug 2014 01:37:52 +0000 (03:37 +0200)]
Renamed MenuManager::current() to MenuManager::current_menu()

10 years agoAdded some initial dialog code, doesn't do anything yet
Ingo Ruhnke [Mon, 25 Aug 2014 01:31:58 +0000 (03:31 +0200)]
Added some initial dialog code, doesn't do anything yet

10 years agoMade member variables private and removed friendship to Menu in MenuManager
Ingo Ruhnke [Mon, 25 Aug 2014 01:24:08 +0000 (03:24 +0200)]
Made member variables private and removed friendship to Menu in MenuManager

10 years agoAdded const some member function qualifiers in Controller
Ingo Ruhnke [Mon, 25 Aug 2014 01:18:50 +0000 (03:18 +0200)]
Added const some member function qualifiers in Controller

10 years agoMerge branch 'feature/addon-manager'
Ingo Ruhnke [Mon, 25 Aug 2014 07:52:57 +0000 (09:52 +0200)]
Merge branch 'feature/addon-manager'

10 years agoAdded official addon repository URL back in, downloading new addons should now work...
Ingo Ruhnke [Mon, 25 Aug 2014 00:45:25 +0000 (02:45 +0200)]
Added official addon repository URL back in, downloading new addons should now work again

10 years agoRenamed "http_url", just "url"
Ingo Ruhnke [Sun, 24 Aug 2014 07:21:10 +0000 (09:21 +0200)]
Renamed "http_url", just "url"

10 years agoCatch errors when enabling addons, i.e. when the addon was deleted but is still in...
Ingo Ruhnke [Sun, 24 Aug 2014 07:20:49 +0000 (09:20 +0200)]
Catch errors when enabling addons, i.e. when the addon was deleted but is still in the config

10 years agobuild-addon-index.py will now build the .zip files from src/
Ingo Ruhnke [Sun, 24 Aug 2014 07:10:20 +0000 (09:10 +0200)]
build-addon-index.py will now build the .zip files from src/

10 years agoLoad/save the Addon enabled/disabled state to the config file
Ingo Ruhnke [Sun, 24 Aug 2014 02:12:02 +0000 (04:12 +0200)]
Load/save the Addon enabled/disabled state to the config file

10 years agoRemoved some overly verbose debug output
Ingo Ruhnke [Sun, 24 Aug 2014 01:54:42 +0000 (03:54 +0200)]
Removed some overly verbose debug output

10 years agoAdded "Nothing New" indicator after check for new packages with no new results
Ingo Ruhnke [Sun, 24 Aug 2014 01:48:41 +0000 (03:48 +0200)]
Added "Nothing New" indicator after check for new packages with no new results

10 years agoFixed MenuEntry id generation in AddonMenu
Ingo Ruhnke [Sun, 24 Aug 2014 01:13:54 +0000 (03:13 +0200)]
Fixed MenuEntry id generation in AddonMenu

10 years agoAdded script to generate index for addon repository
Ingo Ruhnke [Sat, 23 Aug 2014 21:39:23 +0000 (23:39 +0200)]
Added script to generate index for addon repository

10 years agoKeep proper track of MD5 checksums of addons
Ingo Ruhnke [Sat, 23 Aug 2014 19:07:25 +0000 (21:07 +0200)]
Keep proper track of MD5 checksums of addons

10 years agoMake sure that duplicate Addon install requests don't lead to duplicates in the insta...
Ingo Ruhnke [Sat, 23 Aug 2014 19:03:44 +0000 (21:03 +0200)]
Make sure that duplicate Addon install requests don't lead to duplicates in the installed_addon list

10 years agoAdded check for MD5 and version number to Addon online check
Ingo Ruhnke [Sat, 23 Aug 2014 18:37:11 +0000 (20:37 +0200)]
Added check for MD5 and version number to Addon online check

10 years agoUpdated copyright header
Ingo Ruhnke [Sat, 23 Aug 2014 07:01:34 +0000 (09:01 +0200)]
Updated copyright header

10 years agoLarge scale refactor/rewrite of the AddonManager, adding cleaner separation between...
Ingo Ruhnke [Wed, 20 Aug 2014 01:27:50 +0000 (03:27 +0200)]
Large scale refactor/rewrite of the AddonManager, adding cleaner separation between repository addons and installed ones

10 years agoRemoved unneeded curl includes
Ingo Ruhnke [Wed, 20 Aug 2014 00:03:30 +0000 (02:03 +0200)]
Removed unneeded curl includes

10 years agoSome more AddonManager refactoring
Ingo Ruhnke [Tue, 19 Aug 2014 20:45:24 +0000 (22:45 +0200)]
Some more AddonManager refactoring