1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

- moved ColorPutter's to separate SDL_Pixels.h file

- added Channels namespace for accessing subpixels in format-independent way
- fixed several big-endian issues
- re-generated buld system
This commit is contained in:
Ivan Savenko
2012-05-17 10:44:48 +00:00
parent 416c08260a
commit 97aeaa9f28
25 changed files with 1121 additions and 960 deletions

View File

@@ -3,6 +3,8 @@
#ifdef _WIN32
#include <windows.h>
#else
#include <sys/prctl.h>
#endif
/*
* CThreadHelper.cpp, part of VCMI engine
@@ -71,6 +73,6 @@ void setThreadName(long threadID, const std::string &name)
{
}
#else
//*nix counterpart?
prctl(PR_SET_NAME, name.c_str(), 0, 0, 0);
#endif
}