From 0bd1b782d0134180ae1af692533f1c59e29a03de Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 18 Jun 2011 09:04:31 +0300 Subject: [PATCH] modified health bar a bit --- data/heart.png | Bin 220 -> 308 bytes src/game.cpp | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/heart.png b/data/heart.png index ddd273dd2f09fa7574ebb3f4ec6d802be1d259bb..6bc183e04f21cba17b52009e89bb52072d5a0afd 100644 GIT binary patch delta 243 zcmVo!7SdSgjX7Q?9umm{KH?9%E=8e$oUH6T)!rcaEM3T7rOmY ze1_vZfBqT*PH}=^uD=mYXLA!GIx!($I%}`QZ8rYVL5=gu+H4>nrDd;8R^M%JNVd5l@x7Xk$&xit|^Q5g$DU4RNu{;F6eE#B*Y_OWZQbt*&!4Tg268 tyd%9Af(J}{9;EjlOi2es+9LiRd;%3#YZlbcs4M^g002ovPDHLkV1jfCYM=lB delta 155 zcmV;M0A&BP0^9+RNq>GxL_t(Ijh&KF5`Z8GL?2x|I=TJCjM8EzU+S_C1~dSNh6o3% z^w2ECGbLOCcqZM!%%Np-hA2I>qwvbA>U|2R%zb=zumn&8TL$>Ej=%95;!YP1cEn+) z`q05@7m*W1hss|3%F6r#%pl4v0SZ!?OF$3l?*G^A&@w2;4HW)0ARIfrOl|-G002ov JPDHLkV1m_yM0NlG diff --git a/src/game.cpp b/src/game.cpp index 4d943f45..7ad7746a 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -362,7 +362,7 @@ void draw_hotbar(video::IVideoDriver *driver, gui::IGUIFont *font, core::rect(core::position2d(0,0), core::dimension2di(heart_texture->getOriginalSize())), NULL, colors, true); - p += v2s32(20,0); + p += v2s32(16,0); } if(halfheartcount % 2 == 1) { @@ -375,7 +375,7 @@ void draw_hotbar(video::IVideoDriver *driver, gui::IGUIFont *font, driver->draw2DImage(heart_texture, rect, core::rect(core::position2d(0,0), srcd), NULL, colors, true); - p += v2s32(20,0); + p += v2s32(16,0); } } } -- 2.30.2