From 3d980cf5756aee9fc619e4d667f1427967dda53b Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Thu, 30 Jul 2020 12:19:03 +0200 Subject: Improved Xray and Fullbright --- src/gui/tracers.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/gui/tracers.cpp (limited to 'src/gui/tracers.cpp') diff --git a/src/gui/tracers.cpp b/src/gui/tracers.cpp new file mode 100644 index 000000000..74c37b4e8 --- /dev/null +++ b/src/gui/tracers.cpp @@ -0,0 +1,26 @@ +/* +Dragonfire +Copyright (C) 2020 Elias Fleckenstein + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#include "tracers.h" +#include "constants.h" + +void Tracers::draw(video::IVideoDriver* driver) +{ + driver->draw3DLine(v3f(0, 0, 0) * BS, v3f(1, 1, 1) * BS, video::SColor(255, 0, 0, 0)); +} -- cgit v1.2.3