projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed a few things from svn:ignore that are no longer needed to to switch to Cmake
[supertux.git]
/
src
/
log.cpp
diff --git
a/src/log.cpp
b/src/log.cpp
index
b655247
..
ca54b1d
100644
(file)
--- a/
src/log.cpp
+++ b/
src/log.cpp
@@
-1,4
+1,4
@@
-// $Id
: log.hpp 3327 2006-04-13 15:02:40Z ravu_al_hemio
$
+// $Id$
//
// SuperTux Debug Helper Functions
// Copyright (C) 2006 Christoph Sommer <christoph.sommer@2006.expires.deltadevelopment.de>
//
// SuperTux Debug Helper Functions
// Copyright (C) 2006 Christoph Sommer <christoph.sommer@2006.expires.deltadevelopment.de>
@@
-21,10
+21,17
@@
#include "log.hpp"
#include "math/vector.hpp"
#include "log.hpp"
#include "math/vector.hpp"
+#include "math/rect.hpp"
std::ostream& operator<<(std::ostream& out, const Vector& vector)
{
std::ostream& operator<<(std::ostream& out, const Vector& vector)
{
-
out << '[' << vector.x << ',' << vector.y << ']';
-
return out;
+ out << '[' << vector.x << ',' << vector.y << ']';
+ return out;
}
}
+std::ostream& operator<<(std::ostream& out, const Rect& rect)
+{
+ out << "[" << rect.get_left() << "," << rect.get_top() << " "
+ << rect.get_right() << "," << rect.get_bottom() << "]";
+ return out;
+}