#include "gamedata.h"
#include "Buzz_inc.h"
#include "externs.h"
#include <assert.h>
#include "mmfile.h"
#include "av.h"
#include "logging.h"
Go to the source code of this file.
Functions | |
void | AbzFrame (char plr, int num, int dx, int dy, int width, int height, char *Type, char mode) |
void | DispBaby (int x, int y, int loc, char neww) |
static int | find_replay (REPLAY *rep, struct oGROUP *grp, char player, int num, const char *type) |
find and fill REPLAY structure and return 0, or -1 if failed. | |
LOG_DEFAULT_CATEGORY (LOG_ROOT_CAT) | |
void | Replay (char plr, int num, int dx, int dy, int width, int height, char *Type) |
|
void AbzFrame | ( | char | plr, | |
int | num, | |||
int | dx, | |||
int | dy, | |||
int | width, | |||
int | height, | |||
char * | Type, | |||
char | mode | |||
) |
Definition at line 351 of file replay.c.
References find_replay(), FT_VIDEO, INFO2, mm_close(), mm_decode_video(), mm_open_fp(), mm_video_info(), Rep, seq_filename(), sOpen(), video_overlay, and video_rect.
void DispBaby | ( | int | x, | |
int | y, | |||
int | loc, | |||
char | neww | |||
) |
Definition at line 306 of file replay.c.
References DV(), fin, GV(), gxPutImage(), gxSET, gxSetDisplayPalette(), pal, sOpen(), and GXHEADER::vptr.
static int find_replay | ( | REPLAY * | rep, | |
struct oGROUP * | grp, | |||
char | player, | |||
int | num, | |||
const char * | type | |||
) | [static] |
find and fill REPLAY structure and return 0, or -1 if failed.
if grp != NULL and oGROUP at offset rep->off[0] is found, then fill grp too
0 in all other cases
Definition at line 113 of file replay.c.
References fread_oGROUP(), oGROUP::ID, REPLAY::Off, REPLAY::Qty, sizeof_oGROUP, and sOpen().
Referenced by AbzFrame(), and Replay().
LOG_DEFAULT_CATEGORY | ( | LOG_ROOT_CAT | ) |
void Replay | ( | char | plr, | |
int | num, | |||
int | dx, | |||
int | dy, | |||
int | width, | |||
int | height, | |||
char * | Type | |||
) |
uses FSEQ.DAT
Definition at line 174 of file replay.c.
References oLIST::aIdx, bioskey(), DEBUG2, DEBUG3, find_replay(), Table::fname, Table::foffset, fread_oFGROUP(), fread_oGROUP(), fread_Table(), FT_VIDEO, get_time(), grGetMouseButtons(), oFGROUP::ID, oGROUP::ID, idle_loop_secs(), INFO2, max, mm_close(), mm_decode_video(), mm_open_fp(), mm_video_info(), mode, oGROUP::oLIST, oFGROUP::oLIST, Rep, screen_dirty, seq_filename(), sizeof_oFGROUP, sizeof_oGROUP, sizeof_Table, sOpen(), video_overlay, video_rect, and WaitForMouseUp().