pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src Makefile.am,1.127,1.128 display_graph


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src Makefile.am,1.127,1.128 display_graphic_context.cxx,1.8,1.9 pingus_main.cxx,1.40,1.41
Date: 16 Feb 2003 18:40:49 -0000

Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv24772

Modified Files:
        Makefile.am display_graphic_context.cxx pingus_main.cxx 
Log Message:
some minor cleanup


Index: Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/Makefile.am,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -d -r1.127 -r1.128
--- Makefile.am 12 Feb 2003 22:40:47 -0000      1.127
+++ Makefile.am 16 Feb 2003 18:40:47 -0000      1.128
@@ -43,9 +43,6 @@
              win32/Getopt.h  \
              win32/Getopt1.c \
              win32/config.h  \
-             boost/config.hpp \
-             boost/smart_ptr.hpp \
-             boost/utility.hpp   \
              make_docs.sh
 
 bin_PROGRAMS = pingus
@@ -214,6 +211,7 @@
 pingu_info.hxx \
 pingu_map.cxx \
 pingu_map.hxx \
+pingus.hxx \
 pingus_counter.cxx \
 pingus_counter.hxx \
 pingus_counter_bar.cxx \

Index: display_graphic_context.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/display_graphic_context.cxx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- display_graphic_context.cxx 17 Oct 2002 00:10:46 -0000      1.8
+++ display_graphic_context.cxx 16 Feb 2003 18:40:47 -0000      1.9
@@ -97,7 +97,7 @@
   if (width < 10 && height < 10)
     return ;
 
-  float screen_relation = get_width () / get_height ();
+  float screen_relation = float(get_width ()) / float(get_height ());
   float rect_reation = width / height;
   
   if (rect_reation > screen_relation)

Index: pingus_main.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/pingus_main.cxx,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- pingus_main.cxx     25 Jan 2003 18:34:36 -0000      1.40
+++ pingus_main.cxx     16 Feb 2003 18:40:47 -0000      1.41
@@ -229,6 +229,7 @@
       // FIXME: is the number stuff correct?
       {"fs-preload",      no_argument,       0, 130},
       {"fast",            no_argument,       0, 132},
+      {"fast-mode",            no_argument,       0, 132},
       {"disable-previews",no_argument,       0, 133}, 
       {"maintainer-mode", no_argument,       0, 134},
       {"disable-auto-scrolling",   no_argument,       0, 137},
@@ -528,7 +529,7 @@
           "                            multible times to increase verbosity\n"
           "   -V, --version            Prints version number and exit\n"
           //   "   --fs-preload             Preload all Levelpreviews\n"a
-          "   --fast                   Disable some cpu intensive features\n"
+          "   --fast-mode              Disable some cpu intensive features\n"
           //   "   --disable-previews       Disables all level preview in the 
level selector\n"
           "   -e, --editor             Launch the Level editor 
(experimental)\n"
           "   --disable-auto-scrolling Disable automatic scrolling\n"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]