mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
* partially written hero moving
* improvements in include system
This commit is contained in:
@ -2,6 +2,7 @@
|
|||||||
#include "CAbilityHandler.h"
|
#include "CAbilityHandler.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "CGeneralTextHandler.h"
|
#include "CGeneralTextHandler.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
void CAbilityHandler::loadAbilities()
|
void CAbilityHandler::loadAbilities()
|
||||||
{
|
{
|
||||||
std::string buf = CGameInfo::mainObj->bitmaph->getTextFile("SSTRAITS.TXT");
|
std::string buf = CGameInfo::mainObj->bitmaph->getTextFile("SSTRAITS.TXT");
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "CAdvmapInterface.h"
|
#include "CAdvmapInterface.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
|
#include "CPreGameTextHandler.h"
|
||||||
|
|
||||||
extern TTF_Font * TNRB16, *TNR, *GEOR13, *GEORXX; //fonts
|
extern TTF_Font * TNRB16, *TNR, *GEOR13, *GEORXX; //fonts
|
||||||
|
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
#include "SDL_Extensions.h"
|
#include "SDL_Extensions.h"
|
||||||
#include <boost/logic/tribool.hpp>
|
#include <boost/logic/tribool.hpp>
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
|
#include "CPathfinder.h"
|
||||||
|
#include "mapHandler.h"
|
||||||
|
|
||||||
class AdventureMapButton
|
class AdventureMapButton
|
||||||
: public ClickableL, public ClickableR, public Hoverable, public KeyInterested, public CButtonBase
|
: public ClickableL, public ClickableR, public Hoverable, public KeyInterested, public CButtonBase
|
||||||
|
@ -4,8 +4,10 @@
|
|||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "CObjectHandler.h"
|
#include "CObjectHandler.h"
|
||||||
#include "CCastleHandler.h"
|
#include "CCastleHandler.h"
|
||||||
|
#include "CDefObjInfoHandler.h"
|
||||||
#include "SDL_Extensions.h"
|
#include "SDL_Extensions.h"
|
||||||
#include "boost\filesystem.hpp"
|
#include "boost\filesystem.hpp"
|
||||||
|
#include "CLodHandler.h"
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#include "CArtHandler.h"
|
#include "CArtHandler.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "CGeneralTextHandler.h"
|
#include "CGeneralTextHandler.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
|
|
||||||
void CArtHandler::loadArtifacts()
|
void CArtHandler::loadArtifacts()
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "CBuildingHandler.h"
|
#include "CBuildingHandler.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
|
|
||||||
void CBuildingHandler::loadBuildings()
|
void CBuildingHandler::loadBuildings()
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,23 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "CCallback.h"
|
#include "CCallback.h"
|
||||||
#include "CPathfinder.h"
|
#include "CPathfinder.h"
|
||||||
|
#include "CHeroHandler.h"
|
||||||
|
#include "CGameInfo.h"
|
||||||
|
#include "CAmbarCendamo.h"
|
||||||
|
#include "mapHandler.h"
|
||||||
|
|
||||||
bool CCallback::moveHero(int ID, int3 destPoint)
|
bool CCallback::moveHero(int ID, int3 destPoint)
|
||||||
{
|
{
|
||||||
|
if(ID<0 || ID>CGI->heroh->heroInstances.size())
|
||||||
|
return false;
|
||||||
|
if(destPoint.x<0 || destPoint.x>CGI->ac->map.width)
|
||||||
|
return false;
|
||||||
|
if(destPoint.y<0 || destPoint.y>CGI->ac->map.height)
|
||||||
|
return false;
|
||||||
|
if(destPoint.z<0 || destPoint.z>CGI->mh->ttiles[0][0].size()-1)
|
||||||
|
return false;
|
||||||
|
CPath * ourPath = CGI->pathf->getPath(CGI->heroh->heroInstances[ID]->pos, destPoint, CGI->heroh->heroInstances[ID]);
|
||||||
|
if(!ourPath)
|
||||||
|
return false;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
#include "SDL_thread.h"
|
#include "SDL_thread.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
|
#include "CGameState.h"
|
||||||
|
#include "CCallback.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
int internalFunc(void * nothingUsed)
|
int internalFunc(void * nothingUsed)
|
||||||
@ -19,14 +21,29 @@ int internalFunc(void * nothingUsed)
|
|||||||
readed.str(pom);
|
readed.str(pom);
|
||||||
std::string cn; //command name
|
std::string cn; //command name
|
||||||
readed >> cn;
|
readed >> cn;
|
||||||
|
int3 src, dst;
|
||||||
|
|
||||||
|
int heronum;
|
||||||
|
int3 dest;
|
||||||
|
|
||||||
switch (*cn.c_str())
|
switch (*cn.c_str())
|
||||||
{
|
{
|
||||||
case 'P':
|
case 'P':
|
||||||
std::cout<<"Policzyc sciezke."<<std::endl;
|
std::cout<<"Policzyc sciezke."<<std::endl;
|
||||||
int3 src, dst;
|
|
||||||
readed>>src>>dst;
|
readed>>src>>dst;
|
||||||
LOCPLINT->adventureInt->terrain.currentPath = CGI->pathf->getPath(src,dst,CGI->heroh->heroInstances[0]);
|
LOCPLINT->adventureInt->terrain.currentPath = CGI->pathf->getPath(src,dst,CGI->heroh->heroInstances[0]);
|
||||||
break;
|
break;
|
||||||
|
case 'm': //number of heroes
|
||||||
|
std::cout<<"Number of heroes: "<<CGI->heroh->heroInstances.size()<<std::endl;
|
||||||
|
break;
|
||||||
|
case 'H': //position of hero
|
||||||
|
readed>>heronum;
|
||||||
|
std::cout<<"Position of hero "<<heronum<<": "<<CGI->heroh->heroInstances[heronum]->pos<<std::endl;
|
||||||
|
break;
|
||||||
|
case 'M': //move hero
|
||||||
|
readed>>heronum>>dest;
|
||||||
|
CGI->state->cb->moveHero(heronum, dest);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
//SDL_Delay(100);
|
//SDL_Delay(100);
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "CCreatureHandler.h"
|
#include "CCreatureHandler.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
|
|
||||||
void CCreatureHandler::loadCreatures()
|
void CCreatureHandler::loadCreatures()
|
||||||
{
|
{
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
#include "SDL_thread.h"
|
#include "SDL_thread.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "SDL_framerate.h"
|
#include "SDL_framerate.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
|
|
||||||
extern SDL_Surface * screen;
|
extern SDL_Surface * screen;
|
||||||
|
|
||||||
@ -194,7 +195,6 @@ void CCursorHandler::initCursor()
|
|||||||
xpos = ypos = 0;
|
xpos = ypos = 0;
|
||||||
behindCur = SDL_CreateRGBSurface(SDL_SWSURFACE, 32, 32, 32, rmask, gmask, bmask, amask);
|
behindCur = SDL_CreateRGBSurface(SDL_SWSURFACE, 32, 32, 32, rmask, gmask, bmask, amask);
|
||||||
xbef = ybef = 0;
|
xbef = ybef = 0;
|
||||||
std::vector<Entry> pom = CGI->spriteh->entries.vectorize();
|
|
||||||
adventure = CGI->spriteh->giveDef("CRADVNTR.DEF");
|
adventure = CGI->spriteh->giveDef("CRADVNTR.DEF");
|
||||||
combat = CGI->spriteh->giveDef("CRCOMBAT.DEF");
|
combat = CGI->spriteh->giveDef("CRCOMBAT.DEF");
|
||||||
deflt = CGI->spriteh->giveDef("CRDEFLT.DEF");
|
deflt = CGI->spriteh->giveDef("CRDEFLT.DEF");
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "CDefObjInfoHandler.h"
|
#include "CDefObjInfoHandler.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
bool DefObjInfo::operator==(const std::string & por) const
|
bool DefObjInfo::operator==(const std::string & por) const
|
||||||
|
52
CGameInfo.h
52
CGameInfo.h
@ -1,38 +1,40 @@
|
|||||||
#ifndef CGAMEINFO_H
|
#ifndef CGAMEINFO_H
|
||||||
#define CGAMEINFO_H
|
#define CGAMEINFO_H
|
||||||
|
|
||||||
#include "CPreGame.h"
|
|
||||||
#include "StartInfo.h"
|
#include "StartInfo.h"
|
||||||
#include "CSpellHandler.h"
|
|
||||||
#include "CAbilityHandler.h"
|
|
||||||
#include "CCreaturehandler.h"
|
|
||||||
#include "CArtHandler.h"
|
|
||||||
#include "CHeroHandler.h"
|
|
||||||
#include "CAmbarCendamo.h"
|
|
||||||
#include "CBuildingHandler.h"
|
|
||||||
#include "CObjectHandler.h"
|
|
||||||
#include "CMusicHandler.h"
|
|
||||||
#include "CSemiLodHandler.h"
|
|
||||||
#include "CDefObjInfoHandler.h"
|
|
||||||
#include "CLodHandler.h"
|
|
||||||
#include "CTownHandler.h"
|
|
||||||
#include "CGeneralTextHandler.h"
|
|
||||||
#include "CGameInterface.h"
|
|
||||||
#include "CGameState.h"
|
|
||||||
#include "mapHandler.h"
|
|
||||||
#include "CConsoleHandler.h"
|
|
||||||
#include "CPathfinder.h"
|
|
||||||
#include "CCursorHandler.h"
|
|
||||||
#include "CScreenHandler.h"
|
|
||||||
#include "SDL.h"
|
#include "SDL.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
||||||
|
class CMapHandler;
|
||||||
|
class CArtHandler;
|
||||||
|
class CHeroHandler;
|
||||||
|
class CCreatureHandler;
|
||||||
|
class CAbilityHandler;
|
||||||
|
class CSpellHandler;
|
||||||
|
class CAmbarCendamo;
|
||||||
|
class CPreGameTextHandler;
|
||||||
|
class CBuildingHandler;
|
||||||
|
class CObjectHandler;
|
||||||
|
class CMusicHandler;
|
||||||
|
class CSemiLodHandler;
|
||||||
|
class CDefObjInfoHandler;
|
||||||
|
class CTownHandler;
|
||||||
|
class CLodHandler;
|
||||||
|
class CGeneralTextHandler;
|
||||||
|
class CConsoleHandler;
|
||||||
|
class CPathfinder;
|
||||||
|
class CCursorHandler;
|
||||||
|
class CScreenHandler;
|
||||||
|
class CGameState;
|
||||||
|
class CMapHandler;
|
||||||
|
class CGameInterface;
|
||||||
|
class CPreGame;
|
||||||
/*
|
/*
|
||||||
CGameInfo class
|
CGameInfo class
|
||||||
for allowing different functions for modifying game informations
|
for allowing different functions for modifying game informations
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class CMapHandler;
|
|
||||||
class CGameInfo
|
class CGameInfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -45,7 +47,7 @@ public:
|
|||||||
CSpellHandler * spellh;
|
CSpellHandler * spellh;
|
||||||
CMapHandler * mh;
|
CMapHandler * mh;
|
||||||
CAmbarCendamo * ac;
|
CAmbarCendamo * ac;
|
||||||
CPreGameTextHandler * preth ;
|
CPreGameTextHandler * preth;
|
||||||
CBuildingHandler * buildh;
|
CBuildingHandler * buildh;
|
||||||
CObjectHandler * objh;
|
CObjectHandler * objh;
|
||||||
CMusicHandler * mush;
|
CMusicHandler * mush;
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
#include "CMessage.h"
|
#include "CMessage.h"
|
||||||
#include "SDL_Extensions.h"
|
#include "SDL_Extensions.h"
|
||||||
#include "SDL_framerate.h"
|
#include "SDL_framerate.h"
|
||||||
|
#include "CScreenHandler.h"
|
||||||
|
#include "CCursorHandler.h"
|
||||||
using namespace CSDL_Ext;
|
using namespace CSDL_Ext;
|
||||||
CButtonBase::CButtonBase()
|
CButtonBase::CButtonBase()
|
||||||
{
|
{
|
||||||
|
20
CGameState.h
20
CGameState.h
@ -1,28 +1,18 @@
|
|||||||
#ifndef CGAMESTATE_H
|
#ifndef CGAMESTATE_H
|
||||||
#define CGAMESTATE_H
|
#define CGAMESTATE_H
|
||||||
|
|
||||||
#include "CSpellHandler.h"
|
class CHeroInstance;
|
||||||
#include "CAbilityHandler.h"
|
class CTownInstance;
|
||||||
#include "CCreaturehandler.h"
|
|
||||||
#include "CArtHandler.h"
|
|
||||||
#include "CHeroHandler.h"
|
|
||||||
#include "CAmbarCendamo.h"
|
|
||||||
#include "CBuildingHandler.h"
|
|
||||||
#include "CObjectHandler.h"
|
|
||||||
#include "CMusicHandler.h"
|
|
||||||
#include "CSemiLodHandler.h"
|
|
||||||
#include "CDefObjInfoHandler.h"
|
|
||||||
#include "CLodHandler.h"
|
|
||||||
#include "CTownHandler.h"
|
|
||||||
class CCallback;
|
class CCallback;
|
||||||
|
|
||||||
struct PlayerState
|
struct PlayerState
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
int color;
|
int color;
|
||||||
std::vector<std::vector<std::vector<bool> > >fogOfWarMap;
|
std::vector<std::vector<std::vector<bool> > >fogOfWarMap;
|
||||||
std::vector<int> resources;
|
std::vector<int> resources;
|
||||||
std::vector<CHeroInstance> heroes;
|
std::vector<CHeroInstance *> heroes;
|
||||||
std::vector<CTownInstance> towns;
|
std::vector<CTownInstance *> towns;
|
||||||
};
|
};
|
||||||
|
|
||||||
class CGameState
|
class CGameState
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "CGeneralTextHandler.h"
|
#include "CGeneralTextHandler.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
void CGeneralTextHandler::load()
|
void CGeneralTextHandler::load()
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "CGeneralTextHandler.h"
|
#include "CGeneralTextHandler.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
|
#include "CAbilityHandler.h"
|
||||||
|
|
||||||
CHeroHandler::~CHeroHandler()
|
CHeroHandler::~CHeroHandler()
|
||||||
{
|
{
|
||||||
|
2
CMT.cpp
2
CMT.cpp
@ -40,6 +40,8 @@
|
|||||||
#include "CConsoleHandler.h"
|
#include "CConsoleHandler.h"
|
||||||
#include "CCursorHandler.h"
|
#include "CCursorHandler.h"
|
||||||
#include "CScreenHandler.h"
|
#include "CScreenHandler.h"
|
||||||
|
#include "CPathfinder.h"
|
||||||
|
#include "CGameState.h"
|
||||||
|
|
||||||
#if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(__CYGWIN__)
|
#if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(__CYGWIN__)
|
||||||
# include <fcntl.h>
|
# include <fcntl.h>
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#include "CDefHandler.h"
|
#include "CDefHandler.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "SDL_Extensions.h"
|
#include "SDL_Extensions.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
|
|
||||||
SDL_Color tytulowy, tlo, zwykly ;
|
SDL_Color tytulowy, tlo, zwykly ;
|
||||||
SDL_Rect genRect(int hh, int ww, int xx, int yy);
|
SDL_Rect genRect(int hh, int ww, int xx, int yy);
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
#include "CObjectHandler.h"
|
#include "CObjectHandler.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "CGeneralTextHandler.h"
|
#include "CGeneralTextHandler.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
|
#include "CAmbarCendamo.h"
|
||||||
|
|
||||||
void CObjectHandler::loadObjects()
|
void CObjectHandler::loadObjects()
|
||||||
{
|
{
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "CPathfinder.h"
|
#include "CPathfinder.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
|
#include "CAmbarCendamo.h"
|
||||||
|
#include "mapHandler.h"
|
||||||
CPath * CPathfinder::getPath(int3 &src, int3 &dest, CHeroInstance * hero) //TODO: test it (seems to be finished, but relies on unwritten functions :()
|
CPath * CPathfinder::getPath(int3 &src, int3 &dest, CHeroInstance * hero) //TODO: test it (seems to be finished, but relies on unwritten functions :()
|
||||||
{
|
{
|
||||||
if(src.z!=dest.z) //first check
|
if(src.z!=dest.z) //first check
|
||||||
|
BIN
CPreGame.cpp
BIN
CPreGame.cpp
Binary file not shown.
@ -1,6 +1,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "CPreGameTextHandler.h"
|
#include "CPreGameTextHandler.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
std::string CPreGameTextHandler::getTitle(std::string text)
|
std::string CPreGameTextHandler::getTitle(std::string text)
|
||||||
{
|
{
|
||||||
std::string ret;
|
std::string ret;
|
||||||
|
@ -4,7 +4,9 @@
|
|||||||
#include "SDL_thread.h"
|
#include "SDL_thread.h"
|
||||||
#include "SDL_framerate.h"
|
#include "SDL_framerate.h"
|
||||||
#include "SDL_Extensions.h"
|
#include "SDL_Extensions.h"
|
||||||
|
#include "CCursorHandler.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
|
#include "CDefHandler.h"
|
||||||
|
|
||||||
extern SDL_Surface * screen, * screen2;
|
extern SDL_Surface * screen, * screen2;
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "CSpellHandler.h"
|
#include "CSpellHandler.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
|
|
||||||
void CSpellHandler::loadSpells()
|
void CSpellHandler::loadSpells()
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "CTownHandler.h"
|
#include "CTownHandler.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
CTownHandler::CTownHandler()
|
CTownHandler::CTownHandler()
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include "CMessage.h"
|
||||||
|
|
||||||
bool isItIn(const SDL_Rect * rect, int x, int y)
|
bool isItIn(const SDL_Rect * rect, int x, int y)
|
||||||
{
|
{
|
||||||
|
4
int3.h
4
int3.h
@ -68,4 +68,8 @@ inline std::istream & operator>>(std::istream & str, int3 & dest)
|
|||||||
str>>dest.x>>dest.y>>dest.z;
|
str>>dest.x>>dest.y>>dest.z;
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
inline std::ostream & operator<<(std::ostream & str, int3 & sth)
|
||||||
|
{
|
||||||
|
return str<<sth.x<<' '<<sth.y<<' '<<sth.z;
|
||||||
|
}
|
||||||
#endif //INT3_H
|
#endif //INT3_H
|
@ -5,6 +5,8 @@
|
|||||||
#include "SDL_Extensions.h"
|
#include "SDL_Extensions.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
|
#include "CLodHandler.h"
|
||||||
|
#include "CDefObjInfoHandler.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
extern SDL_Surface * ekran;
|
extern SDL_Surface * ekran;
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "CDefHandler.h"
|
#include "CDefHandler.h"
|
||||||
#include <boost/logic/tribool.hpp>
|
#include <boost/logic/tribool.hpp>
|
||||||
|
#include "CObjectHandler.h"
|
||||||
const int Woff = 4; //width of map's frame
|
const int Woff = 4; //width of map's frame
|
||||||
const int Hoff = 4;
|
const int Hoff = 4;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user