[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r3885 - trunk/pingus/src
From: |
grumbel at BerliOS |
Subject: |
[Pingus-CVS] r3885 - trunk/pingus/src |
Date: |
Sun, 20 Jul 2008 16:19:49 +0200 |
Author: grumbel
Date: 2008-07-20 16:19:49 +0200 (Sun, 20 Jul 2008)
New Revision: 3885
Modified:
trunk/pingus/src/pingu.hpp
Log:
Removed pointless pointer stuff
Modified: trunk/pingus/src/pingu.hpp
===================================================================
--- trunk/pingus/src/pingu.hpp 2008-07-20 14:19:43 UTC (rev 3884)
+++ trunk/pingus/src/pingu.hpp 2008-07-20 14:19:49 UTC (rev 3885)
@@ -17,10 +17,10 @@
#ifndef HEADER_PINGUS_PINGU_HPP
#define HEADER_PINGUS_PINGU_HPP
+#include "math/vector3f.hpp"
#include "direction.hpp"
#include "pingu_enums.hpp"
-class Vector3f;
class ActionHolder;
class PinguAction;
class SceneContext;
@@ -62,7 +62,7 @@
float pos_x;
float pos_y;
- Vector3f* const velocity;
+ Vector3f velocity;
bool request_set_action (PinguAction*);
void set_action (PinguAction*);
@@ -128,7 +128,7 @@
/// Set the pingu to the given coordinates
void set_pos (const Vector3f& arg_pos);
- const Vector3f& get_velocity () const { return *velocity; }
+ Vector3f get_velocity () const { return velocity; }
void set_velocity (const Vector3f& velocity_);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r3885 - trunk/pingus/src,
grumbel at BerliOS <=