1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Dismissing heroes / minor.

This commit is contained in:
Michał W. Urbańczyk
2008-08-01 21:41:38 +00:00
parent bfad10a8e4
commit 1f4b4364df
8 changed files with 55 additions and 30 deletions

View File

@@ -9,17 +9,6 @@ extern SDL_Surface * screen;
void CCursorHandler::initCursor()
{
#if SDL_BYTEORDER == SDL_BIG_ENDIAN
int rmask = 0xff000000;
int gmask = 0x00ff0000;
int bmask = 0x0000ff00;
int amask = 0x000000ff;
#else
int rmask = 0x000000ff;
int gmask = 0x0000ff00;
int bmask = 0x00ff0000;
int amask = 0xff000000;
#endif
mode = number = xpos = ypos = 0;
help = CSDL_Ext::newSurface(32,32);
cursors.push_back(CDefHandler::giveDef("CRADVNTR.DEF"));