Use the AMS_LOWMEM define to indicate memory size as the .lds files do in config...
[kugel-rb.git] / apps / plugins / lib / highscore.h
blobdb09172c7d55e00500729d7c1a50fbb3b9668b52
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2005 Linus Nielsen Feltzing
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
21 #ifndef HIGHSCORE_H
22 #define HIGHSCORE_H
24 struct highscore
26 char name[32];
27 int score;
28 int level;
31 int highscore_save(char *filename, struct highscore *scores, int num_scores);
32 int highscore_load(char *filename, struct highscore *scores, int num_scores);
33 int highscore_update(int score, int level, struct highscore *scores, int num_scores);
35 #endif