netpanzer-cvs
[Top][All Lists]
Advanced

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

[netPanzer-CVS] netpanzer/src/NetPanzer/Classes WorldInputCmdPr...


From: Hankin Chick
Subject: [netPanzer-CVS] netpanzer/src/NetPanzer/Classes WorldInputCmdPr...
Date: Sat, 15 Nov 2003 05:47:03 -0500

CVSROOT:        /cvsroot/netpanzer
Module name:    netpanzer
Branch:         
Changes by:     Hankin Chick <address@hidden>   03/11/15 05:47:03

Modified files:
        src/NetPanzer/Classes: WorldInputCmdProcessor.cpp 

Log message:
        Don't do border scrolling in windowed mode.

Patches:
Index: netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp
diff -u netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp:1.25 
netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp:1.26
--- netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp:1.25     Wed Nov 
12 03:28:31 2003
+++ netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp  Sat Nov 15 
05:47:02 2003
@@ -155,6 +155,12 @@
         return;
     }
 
+    if(((bool)gameconfig->fullscreen)!=true) {
+        // don't do border scrolling on windowed mode because
+        //  the window isn't always on the edge of the screen.
+        return;
+    }
+
     if(mouse_pos.x >= (screen_size.x - 1)) {
         WorldViewInterface::scroll_right(scroll_increment);
     }




reply via email to

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