mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-29 06:33:07 +00:00
HDB: Add spawnBlocking()
This commit is contained in:
parent
00e6ce2680
commit
c0db320111
@ -656,8 +656,9 @@ struct CineBlit {
|
||||
CineBlit() : x(0), y(0), pic(NULL), name(""), id(""), masked(false) {}
|
||||
};
|
||||
|
||||
#define onEvenTile(x, y) ( !(x & 31) && !(y & 31) )
|
||||
#define hitPlayer(x, y) ( e->onScreen && g_hdb->_ai->checkPlayerCollision( x, y, 4 ) && !g_hdb->_ai->playerDead() )
|
||||
#define onEvenTile(x, y) ( !(x & 31) && !(y & 31) )
|
||||
#define hitPlayer(x, y) ( e->onScreen && g_hdb->_ai->checkPlayerCollision( x, y, 4 ) && !g_hdb->_ai->playerDead() )
|
||||
#define spawnBlocking(x, y, level) g_hdb->_ai->spawn(AI_NONE, DIR_NONE, x, y, NULL, NULL, NULL, DIR_NONE, level, 0, 0, 0)
|
||||
|
||||
class AI {
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user