Refactor of Language functions out of lowlevel/FileTools.cpp and into a new class lowlevel/Language.cpp
Using new Language.cpp location for language-related functions.
Call enemy:on_dead() when falling into hole, lava or water (fix #350).
Merge branch 'master' into texture
We already update when surface has changed
Use current display mode to get the current renderer pixel format, instead of using an arbitrary one. It's not useful if the pixel format change once Solarus is loaded (fullscreen mode ?)
Merge branch 'texture' of github.com:christopho/solarus into texture
Dont swap pixel masks if big endian
Use SDL_GetDesktopDisplayMode instead of SDL_GetCurrentDisplayMode. The initialization is always in desktop mode anyway
Avoid multiple preprocessor uses to swap from little endian
Merge branch 'texture' of github.com:christopho/solarus into texture
Fix documentation typo
Don't force accelerated renderer, it is the default value anyway
Center the windows when changing the mode to a desktop mode
Temporarily use the common pixel format : some pixel tranfers seems to not support the desktop or/and the current one
Add methods to simulate game commands. Patch from mrunderhill.
Merge branch 'texture' of github.com:christopho/solarus into texture
Remove trailing whitespaces.
Use the window format to get pixel masks
Merge conflict