Ignore:
Timestamp:
Jan 26, 2011, 1:33:36 AM (11 years ago)
Author:
sam
Message:

Change the way the Scene object works.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/deushax/debugsprite.cpp

    r259 r289  
    6161    int z = data->z;
    6262
    63     data->game->GetScene()->AddTile((data->tiler << 16) | 31,
    64                                     x - 16, y, z, 1);
    65     data->game->GetScene()->AddTile((data->tiler << 16) | 15,
    66                                     x - 16, y, z + 32, 1);
     63    Scene::GetDefault()->AddTile((data->tiler << 16) | 31,
     64                                 x - 16, y, z, 1);
     65    Scene::GetDefault()->AddTile((data->tiler << 16) | 15,
     66                                 x - 16, y, z + 32, 1);
    6767}
    6868
Note: See TracChangeset for help on using the changeset viewer.