More work on Market functionality and UI

* Now loads all market items.
* Can filter market items.
* Will load market offers on items.
* Edited some UI images.
This commit is contained in:
BeniS
2012-07-21 06:20:06 +12:00
parent 49f4c1c94b
commit 483487ab09
23 changed files with 396 additions and 66 deletions

View File

@@ -338,6 +338,7 @@ void OTClient::registerLuaFunctions()
g_lua.bindClassMemberFunction<ItemType>("getClientId", &ItemType::getClientId);
g_lua.registerClass<ThingType>();
g_lua.bindClassMemberFunction<ThingType>("getId", &ThingType::getId);
g_lua.bindClassMemberFunction<ThingType>("getMarketData", &ThingType::getMarketData);
g_lua.registerClass<Item, Thing>();