Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

flash.cc File Reference

#include "swf.h"
#include "graphic16.h"
#include "graphic24.h"
#include "graphic32.h"

Include dependency graph for flash.cc:

Go to the source code of this file.

Functions

FlashHandle FlashNew ()
int FlashParse (FlashHandle flashHandle, int level, char *data, long size)
void FlashGetInfo (FlashHandle flashHandle, struct FlashInfo *fi)
long FlashGraphicInit (FlashHandle flashHandle, FlashDisplay *fd)
void FlashSoundInit (FlashHandle flashHandle, char *device)
void FlashZoom (FlashHandle flashHandle, int zoom)
void FlashOffset (FlashHandle flashHandle, int x, int y)
long FlashExec (FlashHandle flashHandle, long flag, FlashEvent *fe, struct timeval *wakeDate)
void FlashSetGetSwfMethod (FlashHandle flashHandle, void(*getSwf)(char *url, int level, void *clientData), void *clientData)
void FlashSetCursorOnOffMethod (FlashHandle flashHandle, void(*cursorOnOff)(int, void *), void *clientData)
void FlashSetGetUrlMethod (FlashHandle flashHandle, void(*getUrl)(char *, char *, void *), void *clientData)
void FlashClose (FlashHandle flashHandle)
void FlashSettings (FlashHandle flashHandle, long settings)
void flash_dump (void)

Variables

int shape_size
int shape_nb
int shaperecord_size
int shaperecord_nb
int style_size
int style_nb


Function Documentation

void flash_dump void   ) 
 

Definition at line 268 of file flash.cc.

References printf.

void FlashClose FlashHandle  flashHandle  ) 
 

Definition at line 247 of file flash.cc.

Referenced by LibFlashPlugin::close().

long FlashExec FlashHandle  flashHandle,
long  flag,
FlashEvent fe,
struct timeval *  wakeDate
 

Definition at line 142 of file flash.cc.

References checkFlashTimer(), Program::continueMovie(), FeMouseMove, FLASH_CMD_MASK, FLASH_CONT, FLASH_EVENT, FLASH_REWIND, FLASH_STATUS_WAKEUP, FLASH_STEP, FLASH_STOP, FLASH_WAKEUP, FlashMovie::gd, FlashMovie::handleEvent(), FlashMovie::main, FlashMovie::msPerFrame, Program::nbFrames, Program::nextStepMovie(), NULL, Program::pauseMovie(), FlashMovie::processMovie(), CInputScript::program, Program::rewindMovie(), FlashMovie::scheduledEvent, FlashMovie::scheduledTime, setFlashTimer(), FlashMovie::sm, and FlashEvent::type.

Referenced by LibFlashPlugin::videoReadScaledFrame().

void FlashGetInfo FlashHandle  flashHandle,
struct FlashInfo fi
 

Definition at line 72 of file flash.cc.

References FlashInfo::frameCount, CInputScript::frameCount, FlashInfo::frameHeight, FlashInfo::frameRate, CInputScript::frameRate, CInputScript::frameRect, FlashInfo::frameWidth, CInputScript::m_fileVersion, FlashMovie::main, FlashInfo::version, Rect::xmax, Rect::xmin, Rect::ymax, and Rect::ymin.

Referenced by LibFlashPlugin::open().

long FlashGraphicInit FlashHandle  flashHandle,
FlashDisplay fd
 

Definition at line 85 of file flash.cc.

References FlashDisplay::bpp, CInputScript::frameRect, FlashMovie::gd, FlashMovie::main, GraphicDevice::setMovieDimension(), Rect::xmax, Rect::xmin, Rect::ymax, and Rect::ymin.

Referenced by LibFlashPlugin::open().

FlashHandle FlashNew  ) 
 

Definition at line 36 of file flash.cc.

References FlashMovie::main.

Referenced by LibFlashPlugin::open().

void FlashOffset FlashHandle  flashHandle,
int  x,
int  y
 

Definition at line 132 of file flash.cc.

References FlashMovie::gd, and GraphicDevice::setMovieOffset().

int FlashParse FlashHandle  flashHandle,
int  level,
char *  data,
long  size
 

Definition at line 48 of file flash.cc.

References FLASH_PARSE_ERROR, FLASH_PARSE_START, CInputScript::level, FlashMovie::main, CInputScript::next, NULL, CInputScript::ParseData(), CInputScript::program, and Program::rewindMovie().

Referenced by getSwf(), and LibFlashPlugin::open().

void FlashSetCursorOnOffMethod FlashHandle  flashHandle,
void(*)(int, void *)  cursorOnOff,
void *  clientData
 

Definition at line 225 of file flash.cc.

References FlashMovie::cursorOnOff, and FlashMovie::cursorOnOffClientData.

void FlashSetGetSwfMethod FlashHandle  flashHandle,
void(*)(char *url, int level, void *clientData)  getSwf,
void *  clientData
 

Definition at line 213 of file flash.cc.

References FlashMovie::getSwf, and FlashMovie::getSwfClientData.

Referenced by LibFlashPlugin::open().

void FlashSetGetUrlMethod FlashHandle  flashHandle,
void(*)(char *, char *, void *)  getUrl,
void *  clientData
 

Definition at line 236 of file flash.cc.

References FlashMovie::getUrl, and FlashMovie::getUrlClientData.

Referenced by LibFlashPlugin::open().

void FlashSettings FlashHandle  flashHandle,
long  settings
 

Definition at line 257 of file flash.cc.

References FlashMovie::main, Program::modifySettings(), and CInputScript::program.

void FlashSoundInit FlashHandle  flashHandle,
char *  device
 

Definition at line 112 of file flash.cc.

References FlashMovie::sm.

Referenced by LibFlashPlugin::open().

void FlashZoom FlashHandle  flashHandle,
int  zoom
 

Definition at line 122 of file flash.cc.

References FlashMovie::gd, and GraphicDevice::setMovieZoom().


Variable Documentation

int shape_nb
 

Definition at line 266 of file flash.cc.

Referenced by Shape::Shape().

int shape_size
 

Definition at line 266 of file flash.cc.

Referenced by Shape::Shape().

int shaperecord_nb
 

Definition at line 266 of file flash.cc.

Referenced by ShapeRecord::ShapeRecord().

int shaperecord_size
 

Definition at line 266 of file flash.cc.

Referenced by ShapeRecord::ShapeRecord().

int style_nb
 

Definition at line 266 of file flash.cc.

Referenced by FillStyleDef::FillStyleDef().

int style_size
 

Definition at line 266 of file flash.cc.

Referenced by FillStyleDef::FillStyleDef().


Generated on Sat Nov 5 16:23:42 2005 for OPIE by  doxygen 1.4.2