From 172056e7598d3447c682a694d824041076f3255e Mon Sep 17 00:00:00 2001 From: "chirs241097@gmail.com" Date: Mon, 24 Feb 2014 03:25:05 +0000 Subject: M trunk/CHANGELOG.TXT M trunk/background.h M trunk/effects.h M trunk/global.h M trunk/hge/CxImage/ximagif.cpp M trunk/hge/CxImage/ximaint.cpp M trunk/hge/CxImage/ximapng.cpp M trunk/hge/graphics.cpp M trunk/hge/input.cpp M trunk/hge/resource.cpp M trunk/hge/sound.cpp M trunk/hge/system.cpp M trunk/hgehelp/hgefont.cpp M trunk/levels.h M trunk/libcgh.h M trunk/libcghEx.cpp M trunk/menuitem.cpp M trunk/menuitem.h M trunk/menus.h M trunk/music.h M trunk/scorec.h M trunk/scoresystem.h M trunk/towernbullet.h --- libcghEx.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcghEx.cpp') diff --git a/libcghEx.cpp b/libcghEx.cpp index f959e19..7ae9aa5 100644 --- a/libcghEx.cpp +++ b/libcghEx.cpp @@ -4,7 +4,7 @@ #include "libcgh.h" #include #include -static const char* LIBCGH_SRC_FN="libcghEx.cpp"; +//static const char* LIBCGH_SRC_FN="libcghEx.cpp"; void CircleIndicator::Init(double _r,double _thk,BYTE _a,bool _gr,HTEXTURE _Texture,TextureRect _TR,DWORD _cc) { @@ -64,10 +64,10 @@ double LinearProgresser::GetDelta(){return val-a;} double LinearProgresser::GetElapsed(){return Elapsed;} bool HangUpText::Active(){return TFont&&!done;} -void HangUpText::Init(char *Font,char *_Text,double _tlim,double _alim,double _dlim,DWORD _color) +void HangUpText::Init(const char *Font,const char *_Text,double _tlim,double _alim,double _dlim,DWORD _color) { TFont=new hgeFont(Font); - memcpy(Text,_Text,sizeof(_Text)); + strcpy(Text,_Text); Limit=_tlim;alim=_alim;dlim=_dlim;TFont->SetColor(_color); Progresser.Init(0,dlim,Limit);Progalpha.Init(0,255,Limit/2); } -- cgit v1.2.3