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" 41 int ViewFrame_GetFlipped(ScriptViewFrame *svf);
42 int ViewFrame_GetGraphic(ScriptViewFrame *svf);
43 void ViewFrame_SetGraphic(ScriptViewFrame *svf,
int newPic);
44 ScriptAudioClip *ViewFrame_GetLinkedAudio(ScriptViewFrame *svf);
45 void ViewFrame_SetLinkedAudio(ScriptViewFrame *svf, ScriptAudioClip *clip);
46 int ViewFrame_GetSound(ScriptViewFrame *svf);
47 void ViewFrame_SetSound(ScriptViewFrame *svf,
int newSound);
48 int ViewFrame_GetSpeed(ScriptViewFrame *svf);
49 int ViewFrame_GetView(ScriptViewFrame *svf);
50 int ViewFrame_GetLoop(ScriptViewFrame *svf);
51 int ViewFrame_GetFrame(ScriptViewFrame *svf);
56 int CalcFrameSoundVolume(
int obj_vol,
int anim_vol,
int scale = 100);
59 void CheckViewFrame(
int view,
int loop,
int frame,
int sound_volume = 100);
61 void DrawViewFrame(Shared::Bitmap *ds,
const ViewFrame *vframe,
int x,
int y,
bool alpha_blend =
false);
Definition: achievements_tables.h:27
Graphics::Surface * scale(const Graphics::Surface &srcImage, int xSize, int ySize)
Definition: formatinfo.h:28