[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Enigma-cvs] enigma/src game.cc,1.50,1.51
From: |
Ralf Westram <address@hidden> |
Subject: |
[Enigma-cvs] enigma/src game.cc,1.50,1.51 |
Date: |
Mon, 27 Oct 2003 11:57:31 +0000 |
Update of /cvsroot/enigma/enigma/src
In directory subversions:/tmp/cvs-serv13536/src
Modified Files:
game.cc
Log Message:
- screenshots are saved inside screenshots subdirectory
Index: game.cc
===================================================================
RCS file: /cvsroot/enigma/enigma/src/game.cc,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** game.cc 22 Oct 2003 21:35:20 -0000 1.50
--- game.cc 27 Oct 2003 11:57:28 -0000 1.51
***************
*** 25,29 ****
#include "sound.hh"
#include "help.hh"
- #include "system.hh"
#include "px/sdl.hh"
--- 25,28 ----
***************
*** 612,619 ****
options::MouseSpeed = int(ms+.5);
!
! char msg[200];
! sprintf(msg, "Mouse speed: %d", ms);
! display::GetStatusBar()->show_text(msg, display::TEXT_2SECONDS);
}
--- 611,615 ----
options::MouseSpeed = int(ms+.5);
! display::GetStatusBar()->show_text(strf("Mouse speed: %d", ms),
display::TEXT_2SECONDS);
}
***************
*** 653,657 ****
case SDLK_F10:
{
! string fname = level_pack->get_info(icurrent_level)->filename +
".bmp";
video::Screenshot(fname.c_str());
}
--- 649,653 ----
case SDLK_F10:
{
! string fname =
string("screenshots/")+level_pack->get_info(icurrent_level)->filename + ".bmp";
video::Screenshot(fname.c_str());
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Enigma-cvs] enigma/src game.cc,1.50,1.51,
Ralf Westram <address@hidden> <=