1 | // Aseprite Document Library |
2 | // Copyright (C) 2019 Igara Studio S.A. |
3 | // Copyright (C) 2001-2015 David Capello |
4 | // |
5 | // This file is released under the terms of the MIT license. |
6 | // Read LICENSE.txt for more information. |
7 | |
8 | #ifndef DOC_HANDLE_ANIDIR_H_INCLUDED |
9 | #define DOC_HANDLE_ANIDIR_H_INCLUDED |
10 | #pragma once |
11 | |
12 | #include "doc/frame.h" |
13 | |
14 | namespace doc { |
15 | |
16 | class Sprite; |
17 | class Tag; |
18 | |
19 | frame_t calculate_next_frame( |
20 | const Sprite* sprite, |
21 | frame_t frame, |
22 | frame_t frameDelta, |
23 | const Tag* tag, |
24 | bool& pingPongForward); |
25 | |
26 | } // namespace doc |
27 | |
28 | #endif |
29 | |