aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-23 17:32:21 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-23 17:32:21 +0200
commit61b5a353849f8c8a188c4f91c1aa89c9e7a1d10a (patch)
treedd35e0ed2bc2c51e532383f238b59340909e89ad /src/main.cpp
parent7e490e72139fbfe12535c71b27228dd82ef0250b (diff)
downloadminetest-61b5a353849f8c8a188c4f91c1aa89c9e7a1d10a.tar.gz
minetest-61b5a353849f8c8a188c4f91c1aa89c9e7a1d10a.tar.bz2
minetest-61b5a353849f8c8a188c4f91c1aa89c9e7a1d10a.zip
little tinkering
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/main.cpp b/src/main.cpp
index fe0bfb09c..da727811e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2245,14 +2245,7 @@ int main(int argc, char *argv[])
{
//TimeTaker timer9("auxiliary drawings");
// 0ms
-
- driver->draw2DLine(displaycenter - core::vector2d<s32>(10,0),
- displaycenter + core::vector2d<s32>(10,0),
- video::SColor(255,255,255,255));
- driver->draw2DLine(displaycenter - core::vector2d<s32>(0,10),
- displaycenter + core::vector2d<s32>(0,10),
- video::SColor(255,255,255,255));
-
+
//timer9.stop();
//TimeTaker //timer10("//timer10");
@@ -2274,6 +2267,16 @@ int main(int argc, char *argv[])
driver->draw3DBox(*i, video::SColor(255,0,0,0));
}
+ /*
+ Draw crosshair
+ */
+ driver->draw2DLine(displaycenter - core::vector2d<s32>(10,0),
+ displaycenter + core::vector2d<s32>(10,0),
+ video::SColor(255,255,255,255));
+ driver->draw2DLine(displaycenter - core::vector2d<s32>(0,10),
+ displaycenter + core::vector2d<s32>(0,10),
+ video::SColor(255,255,255,255));
+
}
//timer10.stop();