1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00

* Removed trailing newline from settings.txt (caused warning)

* Sprite/Bitmap handlers moved to VCMI_Lib
* Moved volume sliders 1px down for better look
This commit is contained in:
Michał W. Urbańczyk
2009-05-09 16:18:27 +00:00
parent ae2909667d
commit 90fd75e66c
14 changed files with 36 additions and 32 deletions

View File

@ -46,10 +46,10 @@ template <typename T> inline void setData(T * data, boost::function<T()> func)
#define GET_DEF(DESTINATION, DEF_NAME) \
(GET_DATA \
(CDefHandler*,DESTINATION,\
boost::function<CDefHandler*()>(boost::bind(CDefHandler::giveDef,DEF_NAME,(CLodHandler*)NULL))))
boost::function<CDefHandler*()>(boost::bind(CDefHandler::giveDef,DEF_NAME))))
#define GET_DEF_ESS(DESTINATION, DEF_NAME) \
(GET_DATA \
(CDefEssential*,DESTINATION,\
boost::function<CDefEssential*()>(boost::bind(CDefHandler::giveDefEss,DEF_NAME,(CLodHandler*)NULL))))
boost::function<CDefEssential*()>(boost::bind(CDefHandler::giveDefEss,DEF_NAME))))
#endif // __CTHREADHELPER_H__