projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
41f2397
)
more small improvements
author
Matthias Braun
<matze@braunis.de>
Sat, 20 May 2006 12:14:46 +0000
(12:14 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sat, 20 May 2006 12:14:46 +0000
(12:14 +0000)
SVN-Revision: 3553
src/sector.hpp
patch
|
blob
|
history
diff --git
a/src/sector.hpp
b/src/sector.hpp
index
6f3b659
..
02af026
100644
(file)
--- a/
src/sector.hpp
+++ b/
src/sector.hpp
@@
-169,11
+169,12
@@
private:
/**
* Does collision detection of an object against all other static
/**
* Does collision detection of an object against all other static
- * objects (and the tilemap) in the level. Collisions are sorted
- * and collision response against the first hit in time is done.
+ * objects (and the tilemap) in the level. Collision response is done
+ * for the first hit in time. (other hits get ignored, the function
+ * should be called repeatedly to resolve those)
*
* returns true if the collision detection should be aborted for this object
*
* returns true if the collision detection should be aborted for this object
- * (because of ABORT_MOVE in the collision response)
+ * (because of ABORT_MOVE in the collision response
or no collisions
)
*/
bool collision_static(MovingObject* object, const Vector& movement);
*/
bool collision_static(MovingObject* object, const Vector& movement);