22#ifndef AGS_ENGINE_AC_VIEW_FRAME_H
23#define AGS_ENGINE_AC_VIEW_FRAME_H
25#include "ags/engine/ac/runtime_defines.h"
26#include "ags/shared/ac/view.h"
27#include "ags/shared/ac/dynobj/script_audio_clip.h"
28#include "ags/engine/ac/dynobj/script_view_frame.h"
29#include "ags/shared/gfx/bitmap.h"
41int ViewFrame_GetFlipped(ScriptViewFrame *svf);
42int ViewFrame_GetGraphic(ScriptViewFrame *svf);
43void ViewFrame_SetGraphic(ScriptViewFrame *svf,
int newPic);
44ScriptAudioClip *ViewFrame_GetLinkedAudio(ScriptViewFrame *svf);
45void ViewFrame_SetLinkedAudio(ScriptViewFrame *svf, ScriptAudioClip *clip);
46int ViewFrame_GetSound(ScriptViewFrame *svf);
47void ViewFrame_SetSound(ScriptViewFrame *svf,
int newSound);
48int ViewFrame_GetSpeed(ScriptViewFrame *svf);
49int ViewFrame_GetView(ScriptViewFrame *svf);
50int ViewFrame_GetLoop(ScriptViewFrame *svf);
51int ViewFrame_GetFrame(ScriptViewFrame *svf);
56int CalcFrameSoundVolume(
int obj_vol,
int anim_vol,
int scale = 100);
59void CheckViewFrame(
int view,
int loop,
int frame,
int sound_volume = 100);
61void DrawViewFrame(Shared::Bitmap *ds,
const ViewFrame *vframe,
int x,
int y,
bool alpha_blend =
false);
Definition: formatinfo.h:28