X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fhigh_scores.h;h=76d6739e2c1507f7b9b960ae529bd6781e0fb836;hb=8385faa306eca6d96ab11ed7dae293d85e9c4e4f;hp=1e7421f4a0fc34898a16e53f86a4d9ec56124fb9;hpb=32db2afef54f9f49a116dac6fd8b75b0f248e349;p=supertux.git diff --git a/src/high_scores.h b/src/high_scores.h index 1e7421f4a..76d6739e2 100644 --- a/src/high_scores.h +++ b/src/high_scores.h @@ -1,12 +1,32 @@ -/* +// $Id$ +// +// SuperTux +// Copyright (C) 2004 Adam Czachorowski +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +// 02111-1307, USA. - by Adam Czachorowski - gislan@o2.pl +#ifndef SUPERTUX_HIGH_SCORES_H +#define SUPERTUX_HIGH_SCORES_H -*/ +#include -# include +extern int hs_score; +extern std::string hs_name; /* highscores global variables*/ void save_hs(int score); -int load_hs(); -FILE * opendata(char * mode); +void load_hs(); + +#endif