/* Copyright (C) 2023 kichikuou * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ #ifndef SYSTEM4_MOVIE_H #define SYSTEM4_MOVIE_H struct movie_context; struct sact_sprite; struct movie_context *movie_load(const char *filename); void movie_free(struct movie_context *mc); bool movie_play(struct movie_context *mc); bool movie_draw(struct movie_context *mc, struct sact_sprite *sprite); bool movie_is_end(struct movie_context *mc); int movie_get_position(struct movie_context *mc); bool movie_set_volume(struct movie_context *mc, int volume /* 0-100 */); #endif /* SYSTEM4_MOVIE_H */