this pr depends on the WINJoystick pr so ignore the first commit.
The TexturePacker still uses SDL so SDL and SDL_image isn't removed from our build dependencies yet.
I'm unsure about the ifdefs in Powermanager.cpp and AdvancedSettings.cpp. Do we still depend on SDL for full screen or can we just remove that?
@jmarshallnz , @davilla : Any comments about using HAS_SDL for indicating full screen capability?
HAS_SDL will not be present on embedded and they can do full screen.
So can we remove the ifdef around full screen completely? Powermanager.cpp and AdvancedSettings.cpp that is.
btw I searched for code lines to determine endianness but found so many examples that I dunno which could be safely used. So I decided to use boost but I'm open for suggestions.
That seems to work:
#define LITTLE_ENDIAN 0x41424344UL
#define BIG_ENDIAN 0x44434241UL
#define PDP_ENDIAN 0x42414443UL
#define ENDIAN_ORDER ('ABCD')
I've kicked boost out and just disabled big endian on windows for now (unlikely that we need it soon).
I'll let the HAS_SDL ifdefs for full screen in because I dunno what happens if a user sets m_fullscreen to false via advancedsettings on embedded.
If no one objects I pull this in the next days.
@davilla : maybe replacing the ifdef HAS_SDL by something like a target embedded might be more suitable? At least for all devices which doesn't support window mode if I read it right.
[WIN32] get rid of SDL for XBMC. TexturePacker still needs it.
Make it possible to hide All Episodes in advancedsettings
We are reusing the advancedsetting <videolibrary><hideallitems>