#include <playfli.h>
Collaboration diagram for playfli:

Public Member Functions | |
| playfli (const char *fli_name) | |
| playfli (char *buffer, std::size_t len) | |
| ~playfli () | |
| void | info (fliinfo *fi=NULL) |
| int | play (Image_window *win, int first_frame=0, int last_frame=-1, unsigned long ticks=0, int brightness=100) |
| void | put_buffer (Image_window *win) |
| Palette * | get_palette () |
Private Member Functions | |
| void | initfli () |
Private Attributes | |
| DataSource * | fli_data |
| int | fli_size |
| int | fli_magic |
| int | fli_frames |
| int | fli_width |
| int | fli_height |
| int | fli_depth |
| int | fli_flags |
| int | fli_speed |
| Image_buffer * | fli_buf |
| int | streamstart |
| int | streampos |
| int | frame |
| Palette * | palette |
| int | nextpal |
| int | thispal |
| int | changepal |
Classes | |
| struct | fliinfo |
Definition at line 29 of file playfli.h.
| playfli::playfli | ( | const char * | fli_name | ) |
Definition at line 49 of file playfli.cc.
References fli_data, initfli(), and U7open().
Here is the call graph for this function:

| playfli::playfli | ( | char * | buffer, | |
| std::size_t | len | |||
| ) |
| playfli::~playfli | ( | ) |
| void playfli::info | ( | fliinfo * | fi = NULL |
) |
Definition at line 84 of file playfli.cc.
References fi, fli_depth, fli_frames, fli_height, fli_speed, and fli_width.
Referenced by BG_Game::end_game(), ExCineFlic::load_flic(), and SI_Game::play_intro().
| int playfli::play | ( | Image_window * | win, | |
| int | first_frame = 0, |
|||
| int | last_frame = -1, |
|||
| unsigned long | ticks = 0, |
|||
| int | brightness = 100 | |||
| ) |
Definition at line 103 of file playfli.cc.
References Palette::apply(), changepal, Image_buffer::copy8(), Image_window::create_buffer(), fli_buf, fli_data, fli_frames, fli_height, fli_speed, fli_width, frame, Palette::get_brightness(), Game_window::get_frame_skipping(), Image_window::get_height(), Game_window::get_instance(), Image_window::get_width(), nextpal, palette, Image_window::put(), DataSource::read(), DataSource::read1(), DataSource::read2(), DataSource::read4(), DataSource::seek(), Palette::set_brightness(), Palette::set_palette(), Image_window::show(), DataSource::skip(), streampos, streamstart, and thispal.
Referenced by BG_Game::end_game(), Game::play_flic(), SI_Game::play_intro(), and ExCineFlic::play_it().
Here is the call graph for this function:

| void playfli::put_buffer | ( | Image_window * | win | ) |
Definition at line 282 of file playfli.cc.
References fli_buf, fli_height, fli_width, Image_window::get_height(), Image_window::get_width(), and Image_window::put().
Referenced by ExCineFlic::play_it().
Here is the call graph for this function:

| Palette* playfli::get_palette | ( | ) | [inline] |
Definition at line 60 of file playfli.h.
References palette.
Referenced by BG_Game::end_game(), and ExCineFlic::fade_out().
| void playfli::initfli | ( | ) | [private] |
Definition at line 63 of file playfli.cc.
References changepal, fli_buf, fli_data, fli_depth, fli_flags, fli_frames, fli_height, fli_magic, fli_size, fli_speed, fli_width, frame, DataSource::getPos(), nextpal, palette, DataSource::read2(), DataSource::read4(), DataSource::skip(), streampos, streamstart, and thispal.
Referenced by playfli().
Here is the call graph for this function:

DataSource* playfli::fli_data [private] |
int playfli::fli_size [private] |
int playfli::fli_magic [private] |
int playfli::fli_frames [private] |
int playfli::fli_width [private] |
int playfli::fli_height [private] |
int playfli::fli_depth [private] |
int playfli::fli_flags [private] |
int playfli::fli_speed [private] |
Image_buffer* playfli::fli_buf [private] |
Definition at line 48 of file playfli.h.
Referenced by initfli(), play(), put_buffer(), and ~playfli().
int playfli::streamstart [private] |
int playfli::streampos [private] |
int playfli::frame [private] |
Palette* playfli::palette [private] |
Definition at line 52 of file playfli.h.
Referenced by get_palette(), initfli(), play(), and ~playfli().
int playfli::nextpal [private] |
int playfli::thispal [private] |
int playfli::changepal [private] |
1.5.1