X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fhigh_scores.h;h=76d6739e2c1507f7b9b960ae529bd6781e0fb836;hb=02d54bd21d3d72e46ecad8f6038666b0384d4eb8;hp=0b8d91ad3a83aafd2b2b13631678fc5da70a551c;hpb=05a38383bb378e05aadad886e87f0fe64fdc6ba0;p=supertux.git diff --git a/src/high_scores.h b/src/high_scores.h index 0b8d91ad3..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 - -int hs_score; -char hs_name[62]; /* highscores global variables*/ +extern int hs_score; +extern std::string hs_name; /* highscores global variables*/ void save_hs(int score); void load_hs(); -FILE * opendata(char * mode); + +#endif