FULLPIPE: Now StaticANIObject is loaded fully
This commit is contained in:
parent
0b6591e491
commit
1c1d8db613
5 changed files with 257 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue