Removed redundant graphics funcs and graphics.h

This commit is contained in:
rxi
2014-06-14 16:17:59 +01:00
parent ac6c57220e
commit 70fdd2ed1a
4 changed files with 0 additions and 31 deletions

View File

@@ -12,7 +12,6 @@ luaobj.c | Helper functions for lua udata objects
love.c | The core `love` module
system.c | `love.system` module
timer.c | `love.timer` module
graphics.h | `love.graphics` prototype and typedefs
graphics.c | `love.graphics` module
keyboard.h | `love.keyboard` prototype and typedefs
keyboard.c | `love.keyboard` module and keyboard interrupt handling

View File

@@ -26,19 +26,6 @@ int graphics_flip = 0;
void graphics_init(void) {
}
void graphics_deinit(void) {
}
/**
* Lua binds
*/
int l_graphics_getDimensions(lua_State *L) {
lua_pushinteger(L, graphics_screen->width);
lua_pushinteger(L, graphics_screen->height);

View File

@@ -1,14 +0,0 @@
/**
* Copyright (c) 2014 rxi
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the MIT license. See LICENSE for details.
*/
#ifndef GRAPHICS_H
#define GRAPHICS_H
void graphics_init(void);
void graphics_deinit(void);
#endif

View File

@@ -14,7 +14,6 @@
#include "lib/dmt/dmt.h"
#include "vga.h"
#include "luaobj.h"
#include "graphics.h"
#include "keyboard.h"
#include "image.h"
@@ -24,7 +23,6 @@ static lua_State *L;
static void deinit(void) {
/* Deinit and clear up everything. Called at exit */
vga_deinit();
graphics_deinit();
keyboard_deinit();
lua_close(L);
dmt_dump(stdout);
@@ -38,7 +36,6 @@ int main(void) {
/* Init everything */
atexit(deinit);
vga_init();
graphics_init();
keyboard_init();
/* Init lua */