ACCESS: Fix some parameters in ANT
This commit is contained in:
parent
c3660acf63
commit
15da1cc639
2 changed files with 10 additions and 10 deletions
|
@ -768,7 +768,7 @@ void AmazonScripts::setInactive() {
|
||||||
mWhile(_game->_rawInactiveY);
|
mWhile(_game->_rawInactiveY);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AmazonScripts::plotTorchSpear(int indx, const int *buf) {
|
void AmazonScripts::plotTorchSpear(int indx, const int *&buf) {
|
||||||
int idx = indx;
|
int idx = indx;
|
||||||
|
|
||||||
ImageEntry ie;
|
ImageEntry ie;
|
||||||
|
@ -780,7 +780,7 @@ void AmazonScripts::plotTorchSpear(int indx, const int *buf) {
|
||||||
_vm->_images.addToList(ie);
|
_vm->_images.addToList(ie);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AmazonScripts::plotPit(int indx, const int *buf) {
|
void AmazonScripts::plotPit(int indx, const int *&buf) {
|
||||||
int idx = indx;
|
int idx = indx;
|
||||||
ImageEntry ie;
|
ImageEntry ie;
|
||||||
ie._flags = 8;
|
ie._flags = 8;
|
||||||
|
@ -807,7 +807,7 @@ void AmazonScripts::plotPit(int indx, const int *buf) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int AmazonScripts::antHandleRight(int indx, const int *buf) {
|
int AmazonScripts::antHandleRight(int indx, const int *&buf) {
|
||||||
int retval = indx;
|
int retval = indx;
|
||||||
if (_game->_pitDirection == NONE) {
|
if (_game->_pitDirection == NONE) {
|
||||||
_game->_pitDirection = UP;
|
_game->_pitDirection = UP;
|
||||||
|
@ -828,7 +828,7 @@ int AmazonScripts::antHandleRight(int indx, const int *buf) {
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
int AmazonScripts::antHandleLeft(int indx, const int *buf) {
|
int AmazonScripts::antHandleLeft(int indx, const int *&buf) {
|
||||||
int retval = indx;
|
int retval = indx;
|
||||||
if (_game->_pitDirection == UP) {
|
if (_game->_pitDirection == UP) {
|
||||||
_game->_pitDirection = NONE;
|
_game->_pitDirection = NONE;
|
||||||
|
@ -848,7 +848,7 @@ int AmazonScripts::antHandleLeft(int indx, const int *buf) {
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
int AmazonScripts::antHandleStab(int indx, const int *buf) {
|
int AmazonScripts::antHandleStab(int indx, const int *&buf) {
|
||||||
int retval = indx;
|
int retval = indx;
|
||||||
if (_vm->_inventory->_inv[78]._value != 1) {
|
if (_vm->_inventory->_inv[78]._value != 1) {
|
||||||
if (_game->_stabFl) {
|
if (_game->_stabFl) {
|
||||||
|
|
|
@ -75,11 +75,11 @@ protected:
|
||||||
void guardSee();
|
void guardSee();
|
||||||
void setGuardFrame();
|
void setGuardFrame();
|
||||||
void guard();
|
void guard();
|
||||||
void plotTorchSpear(int indx, const int *buf);
|
void plotTorchSpear(int indx, const int *&buf);
|
||||||
void plotPit(int indx, const int *buf);
|
void plotPit(int indx, const int *&buf);
|
||||||
int antHandleRight(int indx, const int *buf);
|
int antHandleRight(int indx, const int *&buf);
|
||||||
int antHandleLeft(int indx, const int *buf);
|
int antHandleLeft(int indx, const int *&buf);
|
||||||
int antHandleStab(int indx, const int *buf);
|
int antHandleStab(int indx, const int *&buf);
|
||||||
void ANT();
|
void ANT();
|
||||||
void loadBackground(int param1, int param2);
|
void loadBackground(int param1, int param2);
|
||||||
void plotInactive();
|
void plotInactive();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue