Fixed release mode

- updated AlterFloorHeight()
- fixed chunkreader.h that used "ChunkReader::" in this own class.
- fixed ChunkId::FromString() not const for str.
- fixed some renderer wrong return value that caused error.
- fixed the debug mode not using the correct directx library !
- updated project include and libs required in release mode.
- fixed Sound_CheckBASSError() not const for message.
- fixed compileXXShader not const for the path.
- reverted GetFloor() change.
This commit is contained in:
TokyoSU 2019-12-14 22:41:38 +01:00
parent 3296db8dce
commit 4b6ffedf5e
9 changed files with 101 additions and 152 deletions

View file

@ -1240,9 +1240,9 @@ int CreatureVault(short itemNum, short angle, int vault, int shift)
void GetAITarget(CREATURE_INFO* creature)
{
#define GET_REACHED_GOAL abs(enemy->pos.xPos - item->pos.xPos) < REACHED_GOAL_RADIUS &&\
abs(enemy->pos.zPos - item->pos.zPos) < REACHED_GOAL_RADIUS &&\
abs(enemy->pos.yPos - item->pos.yPos) < REACHED_GOAL_RADIUS
#define GET_REACHED_GOAL abs(enemy->pos.xPos - item->pos.xPos) < REACHED_GOAL_RADIUS &&\
abs(enemy->pos.zPos - item->pos.zPos) < REACHED_GOAL_RADIUS &&\
abs(enemy->pos.yPos - item->pos.yPos) < REACHED_GOAL_RADIUS
ITEM_INFO* enemy;
ITEM_INFO* item;