removed now unnecessary class, renamed project

This commit is contained in:
Anna Rose 2011-06-28 21:21:31 -04:00
parent a40773d8b0
commit 9961d177fd
4 changed files with 1 additions and 55 deletions

View File

@ -1,6 +1,6 @@
# Simple makefile for now, we'll use something more complex if/when we need it
PROJECT=graphgame
PROJECT=treewars
CXX=g++
CXXFLAGS=-DDEBUG -g `sdl-config --cflags`
LDFLAGS=`sdl-config --libs`

1
game.h
View File

@ -8,7 +8,6 @@
#define _GAME_H_
#include "gamedata.h"
#include "sdlrenderer.h"
#include "gamestate.h"
#include <stack>

View File

@ -1,23 +0,0 @@
#include "sdlrenderer.h"
#include "drawutils.h"
#include "debug.h"
SDLRenderer::SDLRenderer(SDL_Surface* display)
{
this->display = display;
}
bool SDLRenderer::init()
{
}
void SDLRenderer::render(GameData& data)
{
}
void SDLRenderer::cleanup()
{
}

View File

@ -1,30 +0,0 @@
/* This class handles all of the messy details of SDL rendering
* We typically want to call init() when we start up, and
* render() when we want to render a frame
*
* Note that this class does NOT call SDL_init() - that should be
* done before init()ing here
*
* cleanup() does the SDL destructor work - call it explicitly in case
* we want to keep the object around and re-init it...
*/
#ifndef _SDLRENDERER_H_
#define _SDLRENDERER_H_
#include "gamedata.h"
#include <SDL.h>
class SDLRenderer
{
public:
SDLRenderer();
bool init();
void render(GameData& data);
void cleanup();
private:
};
#endif