mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 13:26:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			271 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			271 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include "common.cpp"
 | |
| 
 | |
| #include "../servers/sdl_driver.hpp"
 | |
| #include <SDL.h>
 | |
| 
 | |
| int main(int argc, char** argv)
 | |
| {
 | |
|   SDL_Init(SDL_INIT_VIDEO);
 | |
|   SDL_SetVideoMode(640, 480, 0, SDL_SWSURFACE);
 | |
|   input = new SDLDriver();
 | |
| 
 | |
|   mainLoop(argc, SDLK_q);
 | |
| 
 | |
|   SDL_Quit();
 | |
|   return 0;
 | |
| }
 |