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

* partially written hero moving

* improvements in include system
This commit is contained in:
mateuszb
2007-08-29 12:18:31 +00:00
parent 2030a6793f
commit 2d7dbbefc3
29 changed files with 104 additions and 45 deletions

View File

@@ -4,6 +4,7 @@
#include "SDL_thread.h"
#include "CGameInfo.h"
#include "SDL_framerate.h"
#include "CLodHandler.h"
extern SDL_Surface * screen;
@@ -194,7 +195,6 @@ void CCursorHandler::initCursor()
xpos = ypos = 0;
behindCur = SDL_CreateRGBSurface(SDL_SWSURFACE, 32, 32, 32, rmask, gmask, bmask, amask);
xbef = ybef = 0;
std::vector<Entry> pom = CGI->spriteh->entries.vectorize();
adventure = CGI->spriteh->giveDef("CRADVNTR.DEF");
combat = CGI->spriteh->giveDef("CRCOMBAT.DEF");
deflt = CGI->spriteh->giveDef("CRDEFLT.DEF");