X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fhigh_scores.h;h=76d6739e2c1507f7b9b960ae529bd6781e0fb836;hb=546364c9567ef212ea9276201facf73f5ada696a;hp=c15ade6c92ae303fd25cbf81cc5c6df21000c732;hpb=6e7cc3b4259e75a61df2984571d0ab1994c7cceb;p=supertux.git diff --git a/src/high_scores.h b/src/high_scores.h index c15ade6c9..76d6739e2 100644 --- a/src/high_scores.h +++ b/src/high_scores.h @@ -1,15 +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 char hs_name[62]; /* highscores global variables*/ +extern std::string hs_name; /* highscores global variables*/ void save_hs(int score); void load_hs(); -FILE * opendata(char * mode); + +#endif