(20111215) 12:00

This commit is contained in:
2011-12-15 12:00:00 +01:00
parent a80dda1a85
commit 0855d72749
38 changed files with 875 additions and 202 deletions

View File

@@ -1,9 +1,12 @@
#ifndef _GAMELIB_H_
#define _GAMELIB_H_
#include "Time.h"
#include "Util.h"
#include "Draw.h"
#include "Input.h"
#include "Audio.h"
#include "Anim.h"
#include "Entity.h"
@@ -14,11 +17,34 @@
int GameLib_Init(int w,int h,char *title,int fps);
/////////////////////////////
// GameLib_AddEntity
//
// Adds an entity to the game.
void GameLib_AddEntity(Entity *e);
/////////////////////////////
// GameLib_UnrefEntity
//
// removes the reference to the entity.
int GameLib_UnrefEntity(Entity *e);
/////////////////////////////
// GameLib_DelEntity
//
// Adds an entity to the game.
int GameLib_DelEntity(Entity *e);
/////////////////////////////
// GameLib_Loop
//
// Loops the game.
void GameLib_Loop();
void GameLib_Loop(
void (*gameproc)(),
void (*gamepostproc)());
/////////////////////////////