X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fhigh_scores.h;h=76d6739e2c1507f7b9b960ae529bd6781e0fb836;hb=ee6972038331a3c26a2a6a0bdb2baca25475b1d2;hp=d5dd38d68973fcc2860e5dcdc199708710b567e8;hpb=cf865a9388d9dce0422510c5369a2471191d1299;p=supertux.git diff --git a/src/high_scores.h b/src/high_scores.h index d5dd38d68..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