FULLPIPE: Now StaticANIObject is loaded fully

This commit is contained in:
Eugene Sandulenko 2013-07-13 11:51:22 +03:00
parent 0b6591e491
commit 1c1d8db613
5 changed files with 257 additions and 9 deletions

View file

@ -57,7 +57,7 @@ bool Background::load(MfcArchive &file) {
_bigPictureArray = (BigPicture ***)calloc(_bigPictureArray1Count, sizeof(BigPicture **));
debug(0, "bigPictureArray[%d][%d]", _bigPictureArray1Count, _bigPictureArray2Count);
debug(6, "bigPictureArray[%d][%d]", _bigPictureArray1Count, _bigPictureArray2Count);
for (int i = 0; i < _bigPictureArray1Count; i++) {
_bigPictureArray[i] = (BigPicture **)calloc(_bigPictureArray2Count, sizeof(BigPicture *));
@ -138,6 +138,11 @@ bool GameObject::load(MfcArchive &file) {
return true;
}
void GameObject::setOXY(int x, int y) {
_ox = x;
_oy = y;
}
Picture::Picture() {
_x = 0;
_y = 0;