projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renamed timer_type to Timer
[supertux.git]
/
src
/
title.cpp
diff --git
a/src/title.cpp
b/src/title.cpp
index
016b13d
..
deddd5a
100644
(file)
--- a/
src/title.cpp
+++ b/
src/title.cpp
@@
-46,7
+46,7
@@
static texture_type logo;
static texture_type img_choose_subset;
static bool walking;
static texture_type img_choose_subset;
static bool walking;
-static
timer_type
random_timer;
+static
Timer
random_timer;
static SDL_Event event;
static SDLKey key;
static SDL_Event event;
static SDLKey key;
@@
-389,7
+389,7
@@
void display_credits()
{
int done;
int scroll, speed;
{
int done;
int scroll, speed;
-
timer_type
timer;
+
Timer
timer;
int n,d;
int length;
FILE* fi;
int n,d;
int length;
FILE* fi;
@@
-502,7
+502,7
@@
void display_credits()
SDL_Delay(35);
SDL_Delay(35);
- if(timer
_get_left(&timer
) < 0)
+ if(timer
.get_left(
) < 0)
{
frame++;
timer.start(50);
{
frame++;
timer.start(50);