bill@newbreedsoftware.com
http://www.newbreedsoftware.com/supertux/
- April 11, 2000 - April 12, 2000
+ April 11, 2000 - December 9, 2003
*/
#include <stdio.h>
#include <SDL.h>
#include <SDL_image.h>
-#ifndef NOSOUND
-#include <SDL_mixer.h>
-#endif
-
#ifdef LINUX
#include <pwd.h>
#include <sys/types.h>
#include "globals.h"
#include "title.h"
#include "screen.h"
+#include "high_scores.h"
/* --- TITLE SCREEN --- */
SDL_Event event;
SDLKey key;
int done, quit, frame, pict;
+ char str[80];
/* Clear screen: */
/* Draw the title background: */
drawimage(title, 0, 0, UPDATE);
+
+
+ /* Draw the high score: */
+
+ sprintf(str, "High score: %d", load_hs());
+ drawcenteredtext(str, 460, letters_red, UPDATE);
/* --- Main title loop: --- */