forked from jaildesigner-jailgames/jaildoctors_dilemma
renombrades les clases SSprite a SurfaceSprite
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
#include "core/system/debug.hpp" // Para Debug
|
||||
#include "external/jail_audio.h" // Para JA_PlaySound
|
||||
#include "game/gameplay/item_tracker.hpp" // Para ItemTracker
|
||||
#include "game/options.hpp" // Para Options, OptionsStats, options
|
||||
#include "game/gameplay/scoreboard.hpp" // Para ScoreboardData
|
||||
#include "game/options.hpp" // Para Options, OptionsStats, options
|
||||
#include "utils/defines.hpp" // Para BLOCK, PLAY_AREA_HEIGHT, PLAY_AREA_WIDTH
|
||||
#include "utils/utils.hpp" // Para LineHorizontal, LineDiagonal, LineVertical
|
||||
|
||||
@@ -931,7 +931,7 @@ void Room::setAnimatedTiles() {
|
||||
const int yc = (tile_map_[i] / tile_set_width_) * TILE_SIZE_;
|
||||
|
||||
AnimatedTile at;
|
||||
at.sprite = std::make_shared<SSprite>(surface_, x, y, 8, 8);
|
||||
at.sprite = std::make_shared<SurfaceSprite>(surface_, x, y, 8, 8);
|
||||
at.sprite->setClip(xc, yc, 8, 8);
|
||||
at.x_orig = xc;
|
||||
animated_tiles_.push_back(at);
|
||||
|
||||
Reference in New Issue
Block a user