[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/input/axes button_axis.hxx,1.2,1.3 du
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/input/axes button_axis.hxx,1.2,1.3 dummy_axis.hxx,1.2,1.3 inverted_axis.hxx,1.2,1.3 joystick_axis.hxx,1.2,1.3 mouse_axis.hxx,1.2,1.3 multiple_axis.hxx,1.2,1.3 |
Date: |
27 Sep 2002 11:26:50 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/input/axes
In directory dark:/tmp/cvs-serv24897/input/axes
Modified Files:
button_axis.hxx dummy_axis.hxx inverted_axis.hxx
joystick_axis.hxx mouse_axis.hxx multiple_axis.hxx
Log Message:
- splitted Entrance
- changed operator= return value
Index: button_axis.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/input/axes/button_axis.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- button_axis.hxx 26 Aug 2002 13:53:04 -0000 1.2
+++ button_axis.hxx 27 Sep 2002 11:26:47 -0000 1.3
@@ -54,7 +54,7 @@
private:
ButtonAxis (const ButtonAxis&);
- ButtonAxis operator= (const ButtonAxis&);
+ ButtonAxis& operator= (const ButtonAxis&);
};
}
Index: dummy_axis.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/input/axes/dummy_axis.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- dummy_axis.hxx 26 Aug 2002 13:53:04 -0000 1.2
+++ dummy_axis.hxx 27 Sep 2002 11:26:47 -0000 1.3
@@ -48,7 +48,7 @@
private:
DummyAxis (const DummyAxis&);
- DummyAxis operator= (const DummyAxis&);
+ DummyAxis& operator= (const DummyAxis&);
};
}
Index: inverted_axis.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/input/axes/inverted_axis.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- inverted_axis.hxx 26 Aug 2002 13:53:04 -0000 1.2
+++ inverted_axis.hxx 27 Sep 2002 11:26:48 -0000 1.3
@@ -48,7 +48,7 @@
private:
InvertedAxis (const InvertedAxis&);
- InvertedAxis operator= (const InvertedAxis&);
+ InvertedAxis& operator= (const InvertedAxis&);
};
}
Index: joystick_axis.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/input/axes/joystick_axis.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- joystick_axis.hxx 26 Aug 2002 13:53:04 -0000 1.2
+++ joystick_axis.hxx 27 Sep 2002 11:26:48 -0000 1.3
@@ -24,37 +24,37 @@
namespace Input {
- namespace Axes {
-
- /**
- @brief represents an axis of a joystick
-
- XML definition: <joystick-axis angle="?" id="joystick id" axis="axis of
the joystick"/>
- */
- class JoystickAxis : public Axis {
+namespace Axes {
- private:
- int id;
- int axis;
- float pos;
- float angle;
+ /**
+ @brief represents an axis of a joystick
- public:
+ XML definition: <joystick-axis angle="?" id="joystick id" axis="axis of
the joystick"/>
+ */
+ class JoystickAxis : public Axis {
- JoystickAxis (int id_, int axis_, float angle_);
+ private:
+ int id;
+ int axis;
+ float pos;
+ float angle;
- virtual const float& get_pos () const;
- virtual const float& get_angle () const;
-
- virtual void update (float);
-
- private:
- JoystickAxis (const JoystickAxis&);
- JoystickAxis operator= (const JoystickAxis&);
- };
+ public:
- }
-}
+ JoystickAxis (int id_, int axis_, float angle_);
+
+ virtual const float& get_pos () const;
+ virtual const float& get_angle () const;
+
+ virtual void update (float);
+
+ private:
+ JoystickAxis (const JoystickAxis&);
+ JoystickAxis& operator= (const JoystickAxis&);
+ };
+
+} // namespace Axes
+} // namespace Input
#endif
Index: mouse_axis.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/input/axes/mouse_axis.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- mouse_axis.hxx 26 Aug 2002 13:53:04 -0000 1.2
+++ mouse_axis.hxx 27 Sep 2002 11:26:48 -0000 1.3
@@ -24,36 +24,36 @@
namespace Input {
- namespace Axes {
+namespace Axes {
- /**
- @brief represents an axis of the mouse
-
- XML definition: <mouse-axis angle="?" axis="0/1"/>
- */
- class MouseAxis : public Axis {
+ /**
+ @brief represents an axis of the mouse
+
+ XML definition: <mouse-axis angle="?" axis="0/1"/>
+ */
+ class MouseAxis : public Axis {
- private:
- int axis;
- float angle;
- float pos;
- float old_pos;
-
- public:
- MouseAxis (int axis_, float angle_);
+ private:
+ int axis;
+ float angle;
+ float pos;
+ float old_pos;
+
+ public:
+ MouseAxis (int axis_, float angle_);
- virtual const float& get_pos () const;
- virtual const float& get_angle () const;
-
- virtual void update (float);
-
- private:
- MouseAxis (const MouseAxis&);
- MouseAxis operator= (const MouseAxis&);
- };
+ virtual const float& get_pos () const;
+ virtual const float& get_angle () const;
+
+ virtual void update (float);
+
+ private:
+ MouseAxis (const MouseAxis&);
+ MouseAxis& operator= (const MouseAxis&);
+ };
- }
-}
+} // namespace Axes
+} // namespace Input
#endif
Index: multiple_axis.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/input/axes/multiple_axis.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- multiple_axis.hxx 26 Aug 2002 13:53:04 -0000 1.2
+++ multiple_axis.hxx 27 Sep 2002 11:26:48 -0000 1.3
@@ -54,7 +54,7 @@
private:
MultipleAxis (const MultipleAxis&);
- MultipleAxis operator= (const MultipleAxis&);
+ MultipleAxis& operator= (const MultipleAxis&);
};
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/input/axes button_axis.hxx,1.2,1.3 dummy_axis.hxx,1.2,1.3 inverted_axis.hxx,1.2,1.3 joystick_axis.hxx,1.2,1.3 mouse_axis.hxx,1.2,1.3 multiple_axis.hxx,1.2,1.3,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/input/buttons double_button.hxx,1.2,1.3 dummy_button.hxx,1.2,1.3 joystick_button.hxx,1.2,1.3 key_button.hxx,1.2,1.3 mouse_button.hxx,1.2,1.3 multiple_button.hxx,1.2,1.3 triple_button.hxx,1.2,1.3
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/input/scrollers axis_scroller.hxx,1.2,1.3 dummy_scroller.hxx,1.2,1.3 inverted_scroller.hxx,1.2,1.3 joystick_scroller.hxx,1.2,1.3 mouse_scroller.hxx,1.2,1.3 multiple_scroller.hxx,1.2,1.3 pointer_scroller.hxx,1.2,1.3
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/input/buttons double_button.hxx,1.2,1.3 dummy_button.hxx,1.2,1.3 joystick_button.hxx,1.2,1.3 key_button.hxx,1.2,1.3 mouse_button.hxx,1.2,1.3 multiple_button.hxx,1.2,1.3 triple_button.hxx,1.2,1.3
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/input/scrollers axis_scroller.hxx,1.2,1.3 dummy_scroller.hxx,1.2,1.3 inverted_scroller.hxx,1.2,1.3 joystick_scroller.hxx,1.2,1.3 mouse_scroller.hxx,1.2,1.3 multiple_scroller.hxx,1.2,1.3 pointer_scroller.hxx,1.2,1.3
- Index(es):