DREAMWEB: Move more stuff to DreamBase
This commit is contained in:
parent
0d7815e9bb
commit
c8d4f60852
4 changed files with 16 additions and 16 deletions
|
@ -457,13 +457,6 @@ void DreamGenContext::liftSprite(Sprite *sprite, SetObject *objData) {
|
|||
}
|
||||
}
|
||||
|
||||
void DreamGenContext::faceRightWay() {
|
||||
PathNode *paths = getRoomsPaths()->nodes;
|
||||
uint8 dir = paths[data.byte(kManspath)].dir;
|
||||
data.byte(kTurntoface) = dir;
|
||||
data.byte(kLeavedirection) = dir;
|
||||
}
|
||||
|
||||
Reel *DreamBase::getReelStart(uint16 reelPointer) {
|
||||
Reel *reel = (Reel *)getSegment(data.word(kReels)).ptr(kReellist + reelPointer * sizeof(Reel) * 8, sizeof(Reel));
|
||||
return reel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue