|
|
1.1 root 1: #include <SDL.h>
2: #include <SDL_thread.h>
3:
4: #pragma once
5:
6: #ifndef __ND_SDL_H__
7: #define __ND_SDL_H__
8:
9: #ifdef __cplusplus
10: extern "C" {
11: #endif
12:
13: extern const int DISPLAY_VBL_MS;
14: extern const int VIDEO_VBL_MS;
15: extern const int BLANK_MS;
16:
1.1.1.2 ! root 17: void nd_sdl_init(void);
! 18: void nd_sdl_uninit(void);
! 19: void nd_sdl_pause(bool pause);
! 20: void nd_sdl_destroy(void);
! 21: void nd_start_interrupts(void);
! 22: void nd_vbl_handler(void);
! 23: void nd_video_vbl_handler(void);
1.1 root 24:
25: #ifdef __cplusplus
26: }
27: #endif
28:
29: #endif /* __ND_SDL_H__ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.