[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src blitter_impl.hxx,1.7,1.8
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src blitter_impl.hxx,1.7,1.8 |
Date: |
2 Apr 2003 20:47:48 -0000 |
Update of /var/lib/cvs/Games/Pingus/src
In directory dark:/tmp/cvs-serv16138
Modified Files:
blitter_impl.hxx
Log Message:
disabling out of bounce check
Index: blitter_impl.hxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/blitter_impl.hxx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- blitter_impl.hxx 2 Apr 2003 20:37:47 -0000 1.7
+++ blitter_impl.hxx 2 Apr 2003 20:47:45 -0000 1.8
@@ -205,7 +205,7 @@
for (int y = 0; y < pheight; ++y)
for (int x = 0; x < pwidth; ++x)
{
-// start: bounce check
+#ifdef PINGUS_DO_ROTBLITTER_BOUNDCHECK
int i = TransF::get_index(pwidth, pheight, x, y);
if (i < 0 || i >= pwidth * pheight)
{
@@ -219,8 +219,7 @@
std::cout << "Source: Out of bounce: " << i << " " << pwidth
<< "x" << pheight
<< " " << typeid(TransF()).name() << std::endl;
}
-// end: bounce check
-
+#endif
target_buf[TransF::get_index(pwidth, pheight, x, y)] =
source_buf[y * pwidth + x];
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src blitter_impl.hxx,1.7,1.8,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src blitter_impl.hxx,1.6,1.7
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src blitter_impl.hxx,1.8,1.9 exit_menu.cxx,1.15,1.16 pingus_main.cxx,1.63,1.64 pingus_main.hxx,1.9,1.10 result_screen.cxx,1.9,1.10 start_screen.cxx,1.8,1.9
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src blitter_impl.hxx,1.6,1.7
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src blitter_impl.hxx,1.8,1.9 exit_menu.cxx,1.15,1.16 pingus_main.cxx,1.63,1.64 pingus_main.hxx,1.9,1.10 result_screen.cxx,1.9,1.10 start_screen.cxx,1.8,1.9
- Index(es):