projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New Norwegian Translation
[supertux.git]
/
lib
/
special
/
frame_rate.h
diff --git
a/lib/special/frame_rate.h
b/lib/special/frame_rate.h
index
c5cd18e
..
646498d
100644
(file)
--- a/
lib/special/frame_rate.h
+++ b/
lib/special/frame_rate.h
@@
-29,12
+29,15
@@
namespace SuperTux
FrameRate(double fps);
void start();
void set_fps(double fps);
FrameRate(double fps);
void start();
void set_fps(double fps);
+ void set_frame_limit(bool);
double get();
void update();
double get();
void update();
+ void smooth_hanger();
private:
unsigned int last_update_time;
unsigned int update_time;
unsigned int frame_ms;
private:
unsigned int last_update_time;
unsigned int update_time;
unsigned int frame_ms;
+ bool frame_limit;
};
} //namespace SuperTux
};
} //namespace SuperTux