CorsixTH engine (the C++ part)
Open source implementation of Theme Hospital
Loading...
Searching...
No Matches
Macros | Functions | Variables
lua_sdl.h File Reference
#include <SDL.h>
#include "lua.hpp"

Go to the source code of this file.

Macros

#define SDL_USEREVENT_TICK   (SDL_USEREVENT + 0)
 
#define SDL_USEREVENT_MUSIC_OVER   (SDL_USEREVENT + 1)
 
#define SDL_USEREVENT_MUSIC_LOADED   (SDL_USEREVENT + 2)
 
#define SDL_USEREVENT_MOVIE_OVER   (SDL_USEREVENT + 3)
 
#define SDL_USEREVENT_SOUND_OVER   (SDL_USEREVENT + 4)
 

Functions

int luaopen_sdl (lua_State *L)
 
int l_load_music_async_callback (lua_State *L)
 

Variables

constexpr int usertick_period_ms = 18
 

Macro Definition Documentation

◆ SDL_USEREVENT_MOVIE_OVER

#define SDL_USEREVENT_MOVIE_OVER   (SDL_USEREVENT + 3)

◆ SDL_USEREVENT_MUSIC_LOADED

#define SDL_USEREVENT_MUSIC_LOADED   (SDL_USEREVENT + 2)

◆ SDL_USEREVENT_MUSIC_OVER

#define SDL_USEREVENT_MUSIC_OVER   (SDL_USEREVENT + 1)

◆ SDL_USEREVENT_SOUND_OVER

#define SDL_USEREVENT_SOUND_OVER   (SDL_USEREVENT + 4)

◆ SDL_USEREVENT_TICK

#define SDL_USEREVENT_TICK   (SDL_USEREVENT + 0)

Function Documentation

◆ l_load_music_async_callback()

int l_load_music_async_callback ( lua_State L)

◆ luaopen_sdl()

int luaopen_sdl ( lua_State L)

Variable Documentation

◆ usertick_period_ms

constexpr int usertick_period_ms = 18
constexpr