git repos / blockattack-game

commit 326722f4

sago007 · 2015-12-24 12:48
326722f4a8ba7a8b39d1152b947770d69746dced patch · browse files
parent c1bd83fb67da243264205555b9de635bfd8d5ece

Removed unused code

Changed files

M source/code/main.cpp before
diff --git a/source/code/main.cpp b/source/code/main.cpp index ceff1c8..4cb61fb 100644 --- a/source/code/main.cpp +++ b/source/code/main.cpp
@@ -265,20 +265,6 @@ void DrawIMG_Bounded(sago::SagoSprite &sprite, SDL_Renderer* target, int x, int
sprite.DrawBounded(target, SDL_GetTicks(),x,y,bounds);
}
-/*Draws a part of an image on a surface of choice*/
-/*void DrawIMG(sago::SagoSprite &sprite, Renderer* target, int x, int y, int w, int h, int x2, int y2) {
- SDL_Rect dest;
- dest.x = x;
- dest.y = y;
- SDL_Rect dest2;
- dest2.x = x2;
- dest2.y = y2;
- dest2.w = w;
- dest2.h = h;
- sprite.Draw()
-
-}*/
-
void NFont_Write(SDL_Renderer* target, int x, int y, const string& text) {
nf_standard_blue_font.draw(target, x, y, "%s", text.c_str());