mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-09 13:14:02 +02:00
Probably last bugfixes for 0.3
This commit is contained in:
parent
a5664e408a
commit
8440ffb39b
@ -109,6 +109,7 @@
|
|||||||
InlineFunctionExpansion="2"
|
InlineFunctionExpansion="2"
|
||||||
EnableIntrinsicFunctions="true"
|
EnableIntrinsicFunctions="true"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
|
OmitFramePointers="true"
|
||||||
EnableFiberSafeOptimizations="true"
|
EnableFiberSafeOptimizations="true"
|
||||||
WholeProgramOptimization="true"
|
WholeProgramOptimization="true"
|
||||||
/>
|
/>
|
||||||
@ -124,6 +125,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
OutputFile="../EmptyAI.dll"
|
OutputFile="../EmptyAI.dll"
|
||||||
|
LinkTimeCodeGeneration="1"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCALinkTool"
|
Name="VCALinkTool"
|
||||||
|
@ -122,6 +122,8 @@ bool CCallback::moveHero(int ID, CPath * path, int idtype, int pathType)
|
|||||||
int nn=0; //number of interfece of currently browsed player
|
int nn=0; //number of interfece of currently browsed player
|
||||||
for(std::map<int, PlayerState>::iterator j=CGI->state->players.begin(); j!=CGI->state->players.end(); ++j)//CGI->state->players.size(); ++j) //for testing
|
for(std::map<int, PlayerState>::iterator j=CGI->state->players.begin(); j!=CGI->state->players.end(); ++j)//CGI->state->players.size(); ++j) //for testing
|
||||||
{
|
{
|
||||||
|
if (j->first > PLAYER_LIMIT)
|
||||||
|
break;
|
||||||
if(j->second.fogOfWarMap[stpos.x-1][stpos.y][stpos.z] || j->second.fogOfWarMap[endpos.x-1][endpos.y][endpos.z])
|
if(j->second.fogOfWarMap[stpos.x-1][stpos.y][stpos.z] || j->second.fogOfWarMap[endpos.x-1][endpos.y][endpos.z])
|
||||||
{ //player should be notified
|
{ //player should be notified
|
||||||
CGI->playerint[j->first]->heroMoved(curd);
|
CGI->playerint[j->first]->heroMoved(curd);
|
||||||
|
4
CMT.cpp
4
CMT.cpp
@ -203,8 +203,8 @@ void initGameState(CGameInfo * cgi)
|
|||||||
|
|
||||||
int _tmain(int argc, _TCHAR* argv[])
|
int _tmain(int argc, _TCHAR* argv[])
|
||||||
{
|
{
|
||||||
CLuaHandler luatest;
|
//CLuaHandler luatest;
|
||||||
luatest.test();
|
//luatest.test();
|
||||||
|
|
||||||
//CBIKHandler cb;
|
//CBIKHandler cb;
|
||||||
//cb.open("CSECRET.BIK");
|
//cb.open("CSECRET.BIK");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user