efbb: match etrophy API changes

SVN revision: 77828
This commit is contained in:
Bruno Dilly 2012-10-10 21:50:53 +00:00
parent aa508a31d3
commit 6dd726751d
1 changed files with 4 additions and 3 deletions

View File

@ -907,7 +907,7 @@ _level_win(void * data)
etrophy_gamescore_level_score_add(game->gamescore,
level_level_id_get(game->cur_level),
NULL, total, 0);
NULL, total);
_next_level(game, retry_layout);
evas_object_show(retry_layout);
}
@ -1158,7 +1158,8 @@ static Etrophy_Gamescore *
_gamescore_load(Game *game)
{
Etrophy_Gamescore *gamescore;
Eina_List *locks, *l;
const Eina_List *locks;
Eina_List *l;
Level *level;
gamescore = etrophy_gamescore_load("efbb");
@ -1169,7 +1170,7 @@ _gamescore_load(Game *game)
{
Etrophy_Lock *etrophy_lock;
etrophy_lock = etrophy_lock_new(level_level_id_get(level),
ETROPHY_LOCK_STATE_LOCKED, 0);
ETROPHY_LOCK_STATE_LOCKED);
etrophy_gamescore_lock_add(gamescore, etrophy_lock);
}
/* first level should be unlocked */