usata-commits
[Top][All Lists]
Advanced

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

[Usata-commits] Changes to usata2/src/usata.cpp


From: David Lau
Subject: [Usata-commits] Changes to usata2/src/usata.cpp
Date: Thu, 20 Jan 2005 15:20:35 -0500

Index: usata2/src/usata.cpp
diff -u usata2/src/usata.cpp:1.20 usata2/src/usata.cpp:1.21
--- usata2/src/usata.cpp:1.20   Wed Jan 19 06:28:47 2005
+++ usata2/src/usata.cpp        Thu Jan 20 20:20:30 2005
@@ -10,7 +10,7 @@
 // included in the software distribution, or visit
 // http://www.fsf.org/licenses/gpl.html.
 //
-// $Id: usata.cpp,v 1.20 2005/01/19 06:28:47 skunix Exp $
+// $Id: usata.cpp,v 1.21 2005/01/20 20:20:30 skunix Exp $
 
 #include "usata.hpp"
 #include "config.hpp"
@@ -124,7 +124,7 @@
 
        std::string mode_string = conf.get("mode", 
std::string(DEFAULT_VIDEO_MODE));
        parsed_video_mode mode(parse_video_mode(mode_string));  
-
+       
        if (!mode.get<0>())
                throw std::runtime_error("yay!");
        
@@ -132,7 +132,7 @@
                                % mode.get<2>() << log::commit;
 
        system::VideoMode vm(mode.get<1>(), mode.get<2>(), false);
-       
+       vm.fullscreen = true;
        system::VideoMode vm2 = scan_modes(vm);
        if (vm2 == vm)
                logstream << "mode checks out." << log::commit;
@@ -162,7 +162,7 @@
                        updated=true;
                        scene_manager->update();
                }
-               if (cnt > 160)
+               if (cnt > 560)
                        quit=true;
 
                if (updated)




reply via email to

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