--- a/qmlFrontend/hwengine.cpp Sat Nov 01 00:23:22 2014 +0300
+++ b/qmlFrontend/hwengine.cpp Sat Nov 01 22:51:07 2014 +0300
@@ -18,6 +18,7 @@
runLocalGame_t *flibRunLocalGame;
flibInit_t *flibInit;
flibFree_t *flibFree;
+ resetGameConfig_t * flibResetGameConfig;
getThemesList_t *flibGetThemesList;
freeThemesList_t *flibFreeThemesList;
getThemeIcon_t *flibGetThemeIcon;
@@ -53,6 +54,7 @@
flibFreeThemesList = (freeThemesList_t*) hwlib.resolve("freeThemesList");
flibGetThemeIcon = (getThemeIcon_t*) hwlib.resolve("getThemeIcon");
+ flibResetGameConfig = (resetGameConfig_t*) hwlib.resolve("resetGameConfig");
flibGetTeamsList = (getTeamsList_t*) hwlib.resolve("getTeamsList");
flibTryAddTeam = (tryAddTeam_t*) hwlib.resolve("tryAddTeam");
flibTryRemoveTeam = (tryRemoveTeam_t*) hwlib.resolve("tryRemoveTeam");
@@ -183,3 +185,8 @@
{
flibTryRemoveTeam(teamName.toUtf8().constData());
}
+
+void HWEngine::resetGameConfig()
+{
+ flibResetGameConfig();
+}