]> git.localhorst.tv Git - space.git/blobdiff - src/graphics/primitive.h
move to SDL2
[space.git] / src / graphics / primitive.h
diff --git a/src/graphics/primitive.h b/src/graphics/primitive.h
deleted file mode 100644 (file)
index 6dcc6fe..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#ifndef SPACE_PRIMITIVE_H_
-#define SPACE_PRIMITIVE_H_
-
-#include "Color.h"
-#include "../math/Vector.h"
-
-#include <SDL/SDL.h>
-
-
-namespace space {
-
-void Fill(SDL_Surface *, Color);
-void Fill(SDL_Surface *, Uint32 color);
-
-void HLine(SDL_Surface *, Vector<int> pos, int len, Color);
-void HLine(SDL_Surface *, Vector<int> pos, int len, Uint32 color);
-void VLine(SDL_Surface *, Vector<int> pos, int len, Color);
-void VLine(SDL_Surface *, Vector<int> pos, int len, Uint32 color);
-
-void FillRect(SDL_Surface *, Vector<int> pos, Vector<int> size, Color);
-void FillRect(SDL_Surface *, Vector<int> pos, Vector<int> size, Uint32 color);
-void OutlineRect(SDL_Surface *, Vector<int> pos, Vector<int> size, Color);
-void OutlineRect(SDL_Surface *, Vector<int> pos, Vector<int> size, Uint32 color);
-
-void Cross(
-       SDL_Surface *,
-       Vector<int> pos,
-       int extent,
-       Color);
-
-void Grid(
-       SDL_Surface *,
-       Vector<int> from,
-       Vector<int> to,
-       Vector<int> size,
-       Color);
-void Grid(
-       SDL_Surface *,
-       Vector<int> from,
-       Vector<int> to,
-       Vector<float> size,
-       Color);
-
-void Grid2(
-       SDL_Surface *,
-       Vector<int> from,
-       Vector<int> to,
-       Vector<int> size,
-       Vector<int> n,
-       Color,
-       Color);
-void Grid2(
-       SDL_Surface *,
-       Vector<int> from,
-       Vector<int> to,
-       Vector<float> size,
-       Vector<int> n,
-       Color,
-       Color);
-
-}
-
-#endif