DREAMWEB: Move even more stuff to DreamBase

This commit is contained in:
Max Horn 2011-12-15 13:41:30 +01:00
parent 9972fc613a
commit 9ebcaa33e7
7 changed files with 264 additions and 283 deletions

View file

@ -581,7 +581,7 @@ void DreamGenContext::checkOne() {
al = type;
}
void DreamGenContext::checkOne(uint8 x, uint8 y, uint8 *flag, uint8 *flagEx, uint8 *type, uint8 *flagX, uint8 *flagY) {
void DreamBase::checkOne(uint8 x, uint8 y, uint8 *flag, uint8 *flagEx, uint8 *type, uint8 *flagX, uint8 *flagY) {
*flagX = x / 16;
*flagY = y / 16;
const uint8 *tileData = getSegment(data.word(kBuffers)).ptr(kMapflags + (*flagY * 11 + *flagX) * 3, 3);