(20111213)

This commit is contained in:
2011-12-13 17:00:00 +01:00
commit 8a84d0a0f5
45 changed files with 2001 additions and 0 deletions

26
GameLib.c Normal file
View File

@@ -0,0 +1,26 @@
#include <SDL/SDL.h>
#include "Draw.h"
#include "Input.h"
#include "Audio.h"
#include "Entity.h"
#include "GameLib.h"
/////////////////////////////
// GameLib_Init
//
// Initializes the game.
int GameLib_Init(int w,int h,char *title,int fps){
if(!Draw_Init(w,h,title,fps)){
return(0);
}
if(!Input_Init()){
return(0);
}
Audio_Init();
return(1);
}