예제 #1
0
파일: sdlstub.c 프로젝트: lunixbochs/spring
extern DECLSPEC int SDLCALL SDL_Init(Uint32 flags) {

	startSystemMilliSeconds = stub_sdl_getSystemMilliSeconds();

	stubSurface.w = 512;
	stubSurface.h = 512;

	return 0;
}
예제 #2
0
파일: sdlstub.c 프로젝트: AMDmi3/spring
extern DECLSPEC int SDLCALL SDL_Init(Uint32 flags) {

	startSystemMilliSeconds = stub_sdl_getSystemMilliSeconds();

	stubSurface.w = 512;
	stubSurface.h = 512;
	stubVideo.current_w = 512;
	stubVideo.current_h = 512;
	stubSubSystemsInit = SDL_INIT_EVERYTHING;

	return 0;
}
예제 #3
0
파일: sdlstub.c 프로젝트: AMDmi3/spring
extern DECLSPEC Uint32 SDLCALL SDL_GetTicks() {
	return stub_sdl_getSystemMilliSeconds() - startSystemMilliSeconds;
}