projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- added support for variable width fonts (not fully finished, needs some more cleanup...
[supertux.git]
/
src
/
game_session.cpp
diff --git
a/src/game_session.cpp
b/src/game_session.cpp
index
69a1265
..
c1ae83c
100644
(file)
--- a/
src/game_session.cpp
+++ b/
src/game_session.cpp
@@
-408,7
+408,7
@@
GameSession::draw_pause(DrawingContext& context)
{
context.draw_filled_rect(
Vector(0,0), Vector(SCREEN_WIDTH, SCREEN_HEIGHT),
{
context.draw_filled_rect(
Vector(0,0), Vector(SCREEN_WIDTH, SCREEN_HEIGHT),
- Color(.2
, .2, .2, .5
), LAYER_FOREGROUND1);
+ Color(.2
f, .2f, .2f, .5f
), LAYER_FOREGROUND1);
}
void
}
void
@@
-586,7
+586,7
@@
GameSession::start_sequence(const std::string& sequencename)
end_sequence->start();
sound_manager->play_music("music/leveldone.ogg", false);
end_sequence->start();
sound_manager->play_music("music/leveldone.ogg", false);
- currentsector->player->invincible_timer.start(7.3);
+ currentsector->player->invincible_timer.start(7.3
f
);
// Stop all clocks.
for(std::vector<GameObject*>::iterator i = currentsector->gameobjects.begin();
// Stop all clocks.
for(std::vector<GameObject*>::iterator i = currentsector->gameobjects.begin();