102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
functions.h File Reference

Go to the source code of this file.

Functions

BOOL Video_InitializeAVIPlayer (char const *window_handle_text)
MCIERROR Video_ShutdownAVIPlayer (void)
BOOL Video_OpenAVIFile (char const *movie_path)
MCIERROR Video_CloseAVIFile (void)
BOOL Video_PlayAVIFullscreen (void)
BOOL Video_IsAVIPlaying (void)
BOOL Video_InitPlayer (HWND hwnd)
BOOL Video_CloseMovieFile (void)
BOOL Video_OpenMovieFile (HWND hwnd, char const *movie_path, IDirectDraw7 *unused_ddraw, char use_alt_video_rect)
int32_t Video_PlayMovieLoop (void)
void Video_ShutdownPlayerSystems (void)
void Video_PlayMovieFile (char const *movie_path, char use_alt_video_rect)
void Video_PlayMovieIntro (int32_t movie_index)
int32_t Video_SetMovieSyncAdjust (int32_t movie_handle, int32_t sound_handle, int32_t sync_adjust)
int32_t Video_GetMovieSoundRate (int32_t movie_handle)
int32_t Video_GetMovieSoundPrecision (int32_t movie_handle)
int32_t Video_GetMovieSoundChannels (int32_t movie_handle)
int32_t Video_GetMovieXSize (int32_t movie_handle)
int32_t Video_GetMovieYSize (int32_t movie_handle)
int32_t Video_GetMovieCurrentFrame (int32_t movie_handle)
int32_t Video_GetMovieTotalFrames (int32_t movie_handle)
int32_t Movie_InitSoundSystem (HWND hwnd)
int32_t Movie_InitVideoSystem (HWND hwnd, BOOL fullscreen_exclusive)
int32_t Movie_ShutdownMovie (int32_t *movie_handle)
int32_t Movie_ShutdownVideo (int32_t *surface_handle)
int32_t Movie_ShutdownSound (int32_t *sound_handle)
int32_t Movie_ReturnPlaybackMode (void)
int32_t Movie_StopTimer (int32_t movie_handle)
int32_t Movie_StartTimer (int32_t movie_handle)
int32_t Movie_MapVideo (int32_t surface_handle, int32_t flags)
int32_t Movie_InitMoviePlayback (int32_t movie_handle, int32_t surface_handle, int32_t sound_handle)
int32_t Movie_InitSound (int32_t *sound_handle_out, uint32_t buffer_bytes, uint32_t bytes_per_sample, BOOL precision_is_not_four_bytes, uint32_t block_bytes, int32_t channels, int32_t sample_rate, int32_t sample_precision, uint32_t sound_sync_mode)
int32_t Movie_InitPlaybackMode (HWND hwnd, int32_t surface_handle, BOOL force640x480x16, BOOL attach_window_clipper)
int32_t Movie_InitVideo (int32_t *surface_handle_out, int32_t movie_handle, int32_t movie_width, int32_t movie_height, int32_t mapping_x, int32_t mapping_y, uint32_t mapping_arg7, uint32_t mapping_arg8, uint32_t output_width, uint32_t output_height, BOOL zero_mapping_origin, BOOL preserve_destination_mapping, uint32_t streamer_flags)
int32_t Movie_InitMovie (int32_t *movie_handle_out, void(*streaming_callback)(), uint32_t callback_interval_bytes, char const *movie_path, uint32_t buffer_size)
int32_t Movie_PlayFrame (int32_t movie_handle, int32_t surface_handle, int32_t sound_handle, void *alpha_effects_handle, RECT const *destination_rect, uint32_t codec_frame_arg6, uint32_t codec_frame_arg7, uint32_t codec_start_arg15)
int32_t Movie_ShutdownSoundSystem (void)
int32_t Movie_ShutdownVideoSystem (void)

Function Documentation

◆ Movie_InitMovie()

int32_t Movie_InitMovie ( int32_t * movie_handle_out,
void(* streaming_callback )(),
uint32_t callback_interval_bytes,
char const * movie_path,
uint32_t buffer_size )

Definition at line 98 of file movie_backend.c.

◆ Movie_InitMoviePlayback()

int32_t Movie_InitMoviePlayback ( int32_t movie_handle,
int32_t surface_handle,
int32_t sound_handle )

Definition at line 70 of file movie_backend.c.

◆ Movie_InitPlaybackMode()

int32_t Movie_InitPlaybackMode ( HWND hwnd,
int32_t surface_handle,
BOOL force640x480x16,
BOOL attach_window_clipper )

Definition at line 84 of file movie_backend.c.

◆ Movie_InitSound()

int32_t Movie_InitSound ( int32_t * sound_handle_out,
uint32_t buffer_bytes,
uint32_t bytes_per_sample,
BOOL precision_is_not_four_bytes,
uint32_t block_bytes,
int32_t channels,
int32_t sample_rate,
int32_t sample_precision,
uint32_t sound_sync_mode )

Definition at line 77 of file movie_backend.c.

◆ Movie_InitSoundSystem()

int32_t Movie_InitSoundSystem ( HWND hwnd)

Definition at line 7 of file movie_backend.c.

◆ Movie_InitVideo()

int32_t Movie_InitVideo ( int32_t * surface_handle_out,
int32_t movie_handle,
int32_t movie_width,
int32_t movie_height,
int32_t mapping_x,
int32_t mapping_y,
uint32_t mapping_arg7,
uint32_t mapping_arg8,
uint32_t output_width,
uint32_t output_height,
BOOL zero_mapping_origin,
BOOL preserve_destination_mapping,
uint32_t streamer_flags )

Definition at line 91 of file movie_backend.c.

◆ Movie_InitVideoSystem()

int32_t Movie_InitVideoSystem ( HWND hwnd,
BOOL fullscreen_exclusive )

Definition at line 14 of file movie_backend.c.

◆ Movie_MapVideo()

int32_t Movie_MapVideo ( int32_t surface_handle,
int32_t flags )

Definition at line 63 of file movie_backend.c.

◆ Movie_PlayFrame()

int32_t Movie_PlayFrame ( int32_t movie_handle,
int32_t surface_handle,
int32_t sound_handle,
void * alpha_effects_handle,
RECT const * destination_rect,
uint32_t codec_frame_arg6,
uint32_t codec_frame_arg7,
uint32_t codec_start_arg15 )

Definition at line 105 of file movie_backend.c.

◆ Movie_ReturnPlaybackMode()

int32_t Movie_ReturnPlaybackMode ( void )

Definition at line 42 of file movie_backend.c.

◆ Movie_ShutdownMovie()

int32_t Movie_ShutdownMovie ( int32_t * movie_handle)

Definition at line 21 of file movie_backend.c.

◆ Movie_ShutdownSound()

int32_t Movie_ShutdownSound ( int32_t * sound_handle)

Definition at line 35 of file movie_backend.c.

◆ Movie_ShutdownSoundSystem()

int32_t Movie_ShutdownSoundSystem ( void )

Definition at line 112 of file movie_backend.c.

◆ Movie_ShutdownVideo()

int32_t Movie_ShutdownVideo ( int32_t * surface_handle)

Definition at line 28 of file movie_backend.c.

◆ Movie_ShutdownVideoSystem()

int32_t Movie_ShutdownVideoSystem ( void )

Definition at line 119 of file movie_backend.c.

◆ Movie_StartTimer()

int32_t Movie_StartTimer ( int32_t movie_handle)

Definition at line 56 of file movie_backend.c.

◆ Movie_StopTimer()

int32_t Movie_StopTimer ( int32_t movie_handle)

Definition at line 49 of file movie_backend.c.

◆ Video_CloseAVIFile()

MCIERROR Video_CloseAVIFile ( void )

Definition at line 50 of file avi.c.

◆ Video_CloseMovieFile()

BOOL Video_CloseMovieFile ( void )

Definition at line 45 of file playback.c.

◆ Video_GetMovieCurrentFrame()

int32_t Video_GetMovieCurrentFrame ( int32_t movie_handle)

Definition at line 331 of file playback.c.

◆ Video_GetMovieSoundChannels()

int32_t Video_GetMovieSoundChannels ( int32_t movie_handle)

Definition at line 310 of file playback.c.

◆ Video_GetMovieSoundPrecision()

int32_t Video_GetMovieSoundPrecision ( int32_t movie_handle)

Definition at line 303 of file playback.c.

◆ Video_GetMovieSoundRate()

int32_t Video_GetMovieSoundRate ( int32_t movie_handle)

Definition at line 296 of file playback.c.

◆ Video_GetMovieTotalFrames()

int32_t Video_GetMovieTotalFrames ( int32_t movie_handle)

Definition at line 338 of file playback.c.

◆ Video_GetMovieXSize()

int32_t Video_GetMovieXSize ( int32_t movie_handle)

Definition at line 317 of file playback.c.

◆ Video_GetMovieYSize()

int32_t Video_GetMovieYSize ( int32_t movie_handle)

Definition at line 324 of file playback.c.

◆ Video_InitializeAVIPlayer()

BOOL Video_InitializeAVIPlayer ( char const * window_handle_text)

Definition at line 12 of file avi.c.

◆ Video_InitPlayer()

BOOL Video_InitPlayer ( HWND hwnd)

Definition at line 18 of file playback.c.

◆ Video_IsAVIPlaying()

BOOL Video_IsAVIPlaying ( void )

Definition at line 66 of file avi.c.

◆ Video_OpenAVIFile()

BOOL Video_OpenAVIFile ( char const * movie_path)

Definition at line 37 of file avi.c.

◆ Video_OpenMovieFile()

BOOL Video_OpenMovieFile ( HWND hwnd,
char const * movie_path,
IDirectDraw7 * unused_ddraw,
char use_alt_video_rect )

Definition at line 58 of file playback.c.

◆ Video_PlayAVIFullscreen()

BOOL Video_PlayAVIFullscreen ( void )

Definition at line 58 of file avi.c.

◆ Video_PlayMovieFile()

void Video_PlayMovieFile ( char const * movie_path,
char use_alt_video_rect )

Definition at line 191 of file playback.c.

◆ Video_PlayMovieIntro()

void Video_PlayMovieIntro ( int32_t movie_index)

Definition at line 215 of file playback.c.

◆ Video_PlayMovieLoop()

int32_t Video_PlayMovieLoop ( void )

Definition at line 143 of file playback.c.

◆ Video_SetMovieSyncAdjust()

int32_t Video_SetMovieSyncAdjust ( int32_t movie_handle,
int32_t sound_handle,
int32_t sync_adjust )

Definition at line 289 of file playback.c.

◆ Video_ShutdownAVIPlayer()

MCIERROR Video_ShutdownAVIPlayer ( void )

Definition at line 27 of file avi.c.

◆ Video_ShutdownPlayerSystems()

void Video_ShutdownPlayerSystems ( void )

Definition at line 183 of file playback.c.