102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
movies_private.h
Go to the documentation of this file.
1
#ifndef DTTR_MOVIES_PRIVATE_H
2
#define DTTR_MOVIES_PRIVATE_H
3
4
#include <stdbool.h>
5
#include <stdint.h>
6
7
#include <SDL3/SDL.h>
8
9
typedef
enum
{
10
DTTR_MOVIE_PLAYING
= 0,
11
DTTR_MOVIE_ENDED
= 1,
12
DTTR_MOVIE_ESCAPE
= 2,
13
DTTR_MOVIE_QUIT
= 3,
14
}
dttr_movie_result
;
15
16
void
dttr_movies_init
();
17
void
dttr_movies_cleanup
();
18
void
dttr_movies_start
(
const
char
*path);
19
void
dttr_movies_tick
();
20
bool
dttr_movies_handle_event
(
const
SDL_Event
*
event
);
21
dttr_movie_result
dttr_movies_stop
();
22
bool
dttr_movies_is_playing
();
23
24
#endif
// DTTR_MOVIES_PRIVATE_H
event
void void DWORD HANDLE event
Definition
com_directdrawsurface7.c:1193
SDL_Event
union SDL_Event SDL_Event
Definition
dttr_mods.h:20
dttr_movies_start
void dttr_movies_start(const char *path)
Definition
movies.c:644
dttr_movies_stop
dttr_movie_result dttr_movies_stop()
Definition
movies.c:741
dttr_movies_cleanup
void dttr_movies_cleanup()
Definition
movies.c:635
dttr_movie_result
dttr_movie_result
Definition
movies_private.h:9
DTTR_MOVIE_QUIT
@ DTTR_MOVIE_QUIT
Definition
movies_private.h:13
DTTR_MOVIE_ENDED
@ DTTR_MOVIE_ENDED
Definition
movies_private.h:11
DTTR_MOVIE_PLAYING
@ DTTR_MOVIE_PLAYING
Definition
movies_private.h:10
DTTR_MOVIE_ESCAPE
@ DTTR_MOVIE_ESCAPE
Definition
movies_private.h:12
dttr_movies_is_playing
bool dttr_movies_is_playing()
Definition
movies.c:748
dttr_movies_init
void dttr_movies_init()
Definition
movies.c:606
dttr_movies_tick
void dttr_movies_tick()
Definition
movies.c:668
dttr_movies_handle_event
bool dttr_movies_handle_event(const SDL_Event *event)
Definition
movies.c:705
modules
sidecar
src
movies
movies_private.h
Generated by
1.16.1