Comments update.

svn-id: r32801
This commit is contained in:
Kari Salminen 2008-06-26 15:16:15 +00:00
parent 358d2ec44a
commit 68c598a3f3
2 changed files with 6 additions and 2 deletions

View File

@ -1760,6 +1760,12 @@ int16 getZoneFromPositionRaw(byte *page, int16 x, int16 y, int16 width) {
return zoneVar;
}
/*!
* \todo Check whether updating the zoneQuery table is appropriate every time
* this function is called because this function is called also from elsewhere
* than simply o1_checkCollision (e.g. from addAni). In Operation Stealth's
* disassembly this probably isn't the case, so there may be weird side-effects.
*/
int16 checkCollision(int16 objIdx, int16 x, int16 y, int16 numZones, int16 zoneIdx) {
int16 lx = objectTable[objIdx].x + x;
int16 ly = objectTable[objIdx].y + y;

View File

@ -650,8 +650,6 @@ int FWScript::o2_loadBg() {
return 0;
}
/*! \todo Check the current implementation for correctness
*/
int FWScript::o2_wasZoneChecked() {
byte param = getNextByte();
_compare = (param < NUM_MAX_ZONE && zoneQuery[param]) ? 1 : 0;