X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Fsetup.h;h=c667c348b38304164c924697ce86bcb8ba60dab8;hb=31b462a53d66e5d4fb8701c2b7d31180af1f5f6d;hp=b0b6a8d2dfbc998fda2d1f85082a7caed3d0f412;hpb=328e3b0f53ca41e626fda33427f5c51325bc700b;p=rocksndiamonds.git diff --git a/src/libgame/setup.h b/src/libgame/setup.h index b0b6a8d2..c667c348 100644 --- a/src/libgame/setup.h +++ b/src/libgame/setup.h @@ -266,6 +266,7 @@ void sortTreeInfoBySortFunction(TreeInfo **, int (*compare_function)(const void *, const void *)); void sortTreeInfo(TreeInfo **); +void freeTreeInfo(TreeInfo *); char *getHomeDir(void); char *getCommonDataDir(void); @@ -319,4 +320,11 @@ void SaveLevelSetup_LastSeries(void); void LoadLevelSetup_SeriesInfo(void); void SaveLevelSetup_SeriesInfo(void); +int LevelStats_getPlayed(int); +int LevelStats_getSolved(int); +void LevelStats_setPlayed(int, int); +void LevelStats_setSolved(int, int); +void LevelStats_incPlayed(int); +void LevelStats_incSolved(int); + #endif /* MISC_H */