Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
etorth committed Jan 21, 2025
1 parent b2645c8 commit ab2455e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/src/texaniboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
extern PNGTexDB *g_progUseDB;
extern SDLDevice *g_sdlDevice;

TexAniBoard::TexAniBoard(dir8_t dir, int x, int y, uint32_t texID, size_t frameCount, size_t fps, bool fadeInout, bool loop, Widget *pwidget, bool autoDelete)
: Widget(dir, x, y, 0, 0, {}, pwidget, autoDelete)
TexAniBoard::TexAniBoard(Widget::VarDir dir, Widget::VarOff x, Widget::VarOff y, uint32_t texID, size_t frameCount, size_t fps, bool fadeInout, bool loop, Widget *pwidget, bool autoDelete)
: Widget(std::move(dir), std::move(x),std::move(y), 0, 0, {}, pwidget, autoDelete)
, m_fps(fps)
, m_accuTime(0.0)
, m_loop(loop)
Expand Down
2 changes: 1 addition & 1 deletion client/src/texaniboard.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TexAniBoard: public Widget
std::vector<uint32_t> m_texSeq;

public:
TexAniBoard(dir8_t, int, int, uint32_t, size_t, size_t, bool, bool loop = true, Widget * pwidget = nullptr, bool autoDelete = false);
TexAniBoard(Widget::VarDir, Widget::VarOff, Widget::VarOff, uint32_t, size_t, size_t, bool, bool loop = true, Widget * pwidget = nullptr, bool autoDelete = false);

public:
void update(double) override;
Expand Down

0 comments on commit ab2455e

Please sign in to comment.