DREAMWEB: Move even more stuff to DreamBase
This commit is contained in:
parent
9972fc613a
commit
9ebcaa33e7
7 changed files with 264 additions and 283 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue