[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src client.cxx,1.31,1.32
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src client.cxx,1.31,1.32 |
Date: |
28 Oct 2002 22:40:25 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv2855/src
Modified Files:
client.cxx
Log Message:
corrected bug with angle handling
Index: client.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/client.cxx,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- client.cxx 28 Oct 2002 20:13:40 -0000 1.31
+++ client.cxx 28 Oct 2002 22:40:23 -0000 1.32
@@ -154,13 +154,14 @@
Client::process_scroll_event (Input::ScrollEvent* ev)
{
std::cout << "Client::process_scroll_event ()" << std::endl;
- playfield->scroll(ev->x_delta, ev->y_delta);
+ playfield->scroll(static_cast<int>(ev->x_delta),
static_cast<int>(ev->y_delta));
}
void
Client::process_axis_event (Input::AxisEvent* event)
{
- std::cout << "Client::process_axis_event ()" << std::endl;
+ std::cout << "Client::process_axis_event ()" << std::endl;
+ UNUSED_ARG(event);
}
bool
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src client.cxx,1.31,1.32,
torangan <=