[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx,1.26,1.27 globals.cxx
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx,1.26,1.27 globals.cxx,1.3,1.4 |
Date: |
26 Oct 2002 17:29:04 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv1601
Modified Files:
pingus_main.cxx globals.cxx
Log Message:
made max_cpu_usage default, added min_cpu_usage option
Index: pingus_main.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/pingus_main.cxx,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- pingus_main.cxx 20 Oct 2002 21:38:54 -0000 1.26
+++ pingus_main.cxx 26 Oct 2002 17:29:02 -0000 1.27
@@ -215,7 +215,7 @@
{"enable-bg-manipulation", no_argument, 0, 148},
{"use-datafile", no_argument, 0, 150},
{"use-scriptfile", no_argument, 0, 151},
- {"max-cpu-usage", no_argument, 0, 153},
+ {"min-cpu-usage", no_argument, 0, 153},
{"min-frame-skip", required_argument, 0, 154},
{"max-frame-skip", required_argument, 0, 155},
#ifdef HAVE_LIBCLANGL
@@ -501,7 +501,7 @@
break;
case 153:
- max_cpu_usage = true;
+ max_cpu_usage = false;
break;
case 154:
@@ -557,7 +557,7 @@
" --enable-action-help Enable action button help
strings(default)\n"
" --no-cfg-file Don't read ~/.pingus/config\n"
" --config-file FILE Read config from FILE (default:
~/.pingus/config)\n"
- " --max-cpu-usage Use all of the cpu power available,
instead of trying to\n"
+ " --min-cpu-usage Reduces the CPU usage by issuing
sleep()\n"
" reduce CPU usage, might speed up the
game on slower machines\n"
" --min-frame-skip N Skip at least N frames, larger values
speed the game up\n"
" --max-frame-skip N Skip at most N frames\n"
Index: globals.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/globals.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- globals.cxx 8 Oct 2002 18:06:25 -0000 1.3
+++ globals.cxx 26 Oct 2002 17:29:02 -0000 1.4
@@ -48,7 +48,7 @@
std::string config_file;
bool background_manipulation_enabled = true;
bool use_datafile = false;
-bool max_cpu_usage = false;
+bool max_cpu_usage = true;
bool use_opengl = false;
bool action_help = true;
bool show_input_debug_screen = false;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx,1.26,1.27 globals.cxx,1.3,1.4,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src game_session.cxx,1.22,1.23 game_session.hxx,1.13,1.14
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/data/images/core/misc Makefile.am,1.5,1.6
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src game_session.cxx,1.22,1.23 game_session.hxx,1.13,1.14
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/data/images/core/misc Makefile.am,1.5,1.6
- Index(es):