[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] [pingus] 4 new revisions pushed by address@hidden on 2013-0
From: |
pingus |
Subject: |
[Pingus-CVS] [pingus] 4 new revisions pushed by address@hidden on 2013-05-10 02:23 GMT |
Date: |
Fri, 10 May 2013 02:23:46 +0000 |
4 new revisions:
Revision: dea5f4d8b3e2
Author: Ingo Ruhnke <address@hidden>
Date: Thu May 9 19:22:20 2013
Log: added /old to .gitignore
http://code.google.com/p/pingus/source/detail?r=dea5f4d8b3e2
Revision: b3a0ac7cb459
Author: Ingo Ruhnke <address@hidden>
Date: Thu May 9 19:22:34 2013
Log: Fixed some compiler warnings
http://code.google.com/p/pingus/source/detail?r=b3a0ac7cb459
Revision: c9cc35ee4520
Author: Ingo Ruhnke <address@hidden>
Date: Thu May 9 19:22:51 2013
Log: Fixed &&/== mixup in Rect class
http://code.google.com/p/pingus/source/detail?r=c9cc35ee4520
Revision: 6c4139bd0d90
Author: Ingo Ruhnke <address@hidden>
Date: Thu May 9 19:23:14 2013
Log: Improved error message on surface load failure
http://code.google.com/p/pingus/source/detail?r=6c4139bd0d90
==============================================================================
Revision: dea5f4d8b3e2
Author: Ingo Ruhnke <address@hidden>
Date: Thu May 9 19:22:20 2013
Log: added /old to .gitignore
http://code.google.com/p/pingus/source/detail?r=dea5f4d8b3e2
Modified:
/.gitignore
=======================================
--- /.gitignore Tue Dec 27 05:18:52 2011
+++ /.gitignore Thu May 9 19:22:20 2013
@@ -7,6 +7,7 @@
/build-win32
/build-win32.old
/config.log
+/old
*~
*.o
/pingus-evil
==============================================================================
Revision: b3a0ac7cb459
Author: Ingo Ruhnke <address@hidden>
Date: Thu May 9 19:22:34 2013
Log: Fixed some compiler warnings
http://code.google.com/p/pingus/source/detail?r=b3a0ac7cb459
Modified:
/src/engine/display/font.cpp
/src/math/vector3f.hpp
=======================================
--- /src/engine/display/font.cpp Tue Aug 7 14:45:03 2012
+++ /src/engine/display/font.cpp Thu May 9 19:22:34 2013
@@ -168,7 +168,7 @@
Size get_size(const std::string& text) const
{
- return Size(get_width(text), get_height());
+ return Size(static_cast<int>(get_width(text)), get_height());
}
Rect bounding_rect(int x, int y, const std::string& str) const
=======================================
--- /src/math/vector3f.hpp Fri Nov 6 20:23:49 2009
+++ /src/math/vector3f.hpp Thu May 9 19:22:34 2013
@@ -88,7 +88,7 @@
{
float f = Math::sqrt(x * x + y * y + z * z);
- if (f)
+ if (f != 0.0f)
{
x /= f;
y /= f;
==============================================================================
Revision: c9cc35ee4520
Author: Ingo Ruhnke <address@hidden>
Date: Thu May 9 19:22:51 2013
Log: Fixed &&/== mixup in Rect class
http://code.google.com/p/pingus/source/detail?r=c9cc35ee4520
Modified:
/src/math/rect.hpp
=======================================
--- /src/math/rect.hpp Tue Sep 27 17:38:39 2011
+++ /src/math/rect.hpp Thu May 9 19:22:51 2013
@@ -331,7 +331,7 @@
//: Rect == Rect operator.
bool operator==(const Rectf &r) const
- { return (left == r.left && top == r.top && right == r.right && bottom
&& r.bottom); }
+ { return (left == r.left && top == r.top && right == r.right && bottom
== r.bottom); }
//: Rect != Rect operator.
bool operator!=(const Rect &r) const
==============================================================================
Revision: 6c4139bd0d90
Author: Ingo Ruhnke <address@hidden>
Date: Thu May 9 19:23:14 2013
Log: Improved error message on surface load failure
http://code.google.com/p/pingus/source/detail?r=6c4139bd0d90
Modified:
/src/engine/display/surface.cpp
=======================================
--- /src/engine/display/surface.cpp Tue Aug 7 14:45:03 2012
+++ /src/engine/display/surface.cpp Thu May 9 19:23:14 2013
@@ -69,7 +69,7 @@
SDL_Surface* surface = IMG_Load(pathname.get_sys_path().c_str());
if (!surface)
{
- raise_exception(std::runtime_error, "couldn't load: " << pathname);
+ raise_exception(std::runtime_error, "couldn't load: " <<
pathname.get_sys_path() << ": " << IMG_GetError());
}
else
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] [pingus] 4 new revisions pushed by address@hidden on 2013-05-10 02:23 GMT,
pingus <=