git repos / blockattack-game

commit 3c624138

sago007 · 2016-12-23 16:33
3c624138f2b1451f82fbce44f582e29eeb3aaa97 patch · browse files
parent 34c3d60c61ebb33919910f4dc30c90c1959edc47

Removed some functions that gave warnings and should not be used anyway (as they are not working properly)

Changed files

M source/code/Libs/NFont.cpp before
diff --git a/source/code/Libs/NFont.cpp b/source/code/Libs/NFont.cpp index d008c6c..7449efc 100644 --- a/source/code/Libs/NFont.cpp +++ b/source/code/Libs/NFont.cpp
@@ -416,11 +416,6 @@ NFont::NFont()
init();
}
-NFont::NFont(const NFont& font)
-{
- init();
- // FIXME: Duplicate font data
-}
#ifdef NFONT_USE_SDL_GPU
NFont::NFont(TTF_Font* ttf)
@@ -484,13 +479,6 @@ NFont::~NFont()
FC_FreeFont(font);
}
-
-NFont& NFont::operator=(const NFont& font)
-{
- // FIXME: Duplicate font data
- return *this;
-}
-
void NFont::init()
{
font = FC_CreateFont();
@@ -1073,11 +1061,6 @@ void NFont::setBaseline()
}
-void NFont::setBaseline(Uint16 Baseline)
-{
-
-}
-
void NFont::setDefaultColor(const Color& color)
{
FC_SetDefaultColor(font, color.to_SDL_Color());