[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r3662 - in trunk/pingus: . src
From: |
grumbel at BerliOS |
Subject: |
[Pingus-CVS] r3662 - in trunk/pingus: . src |
Date: |
Fri, 4 Jul 2008 08:57:53 +0200 |
Author: grumbel
Date: 2008-07-04 08:57:52 +0200 (Fri, 04 Jul 2008)
New Revision: 3662
Removed:
trunk/pingus/src/preview_renderer.cpp
trunk/pingus/src/preview_renderer.hpp
Modified:
trunk/pingus/SConstruct
Log:
Some more cleanup of old cruft
Modified: trunk/pingus/SConstruct
===================================================================
--- trunk/pingus/SConstruct 2008-07-04 06:54:00 UTC (rev 3661)
+++ trunk/pingus/SConstruct 2008-07-04 06:57:52 UTC (rev 3662)
@@ -206,7 +206,6 @@
'src/pingus_sub_menu.cpp',
'src/plf_res_mgr.cpp',
'src/option_menu.cpp',
-# 'preview_renderer.cpp',
'src/res_descriptor.cpp',
'src/resource.cpp',
'src/resource_manager.cpp',
Deleted: trunk/pingus/src/preview_renderer.cpp
===================================================================
--- trunk/pingus/src/preview_renderer.cpp 2008-07-04 06:54:00 UTC (rev
3661)
+++ trunk/pingus/src/preview_renderer.cpp 2008-07-04 06:57:52 UTC (rev
3662)
@@ -1,38 +0,0 @@
-// Pingus - A free Lemmings clone
-// Copyright (C) 2002 Ingo Ruhnke <address@hidden>
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 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 General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-#include <iostream>
-#include "world.hpp"
-//#include "gui/buffer_graphic_context.hpp"
-#include "preview_renderer.hpp"
-
-
-void
-PreviewRenderer::render(const PingusLevel& plf,
- const std::string& output_file)
-{
-#if 0 // FIXME:
- std::cout << "PreviewRenderer::render: " << output_file << std::endl;
- World* world = new World(*plf);
- BufferDrawingContext buffer(world->get_width(), world->get_height());
- world->draw(buffer);
- buffer.write(output_file);
- delete world;
-#endif
-}
-
-
-/* EOF */
Deleted: trunk/pingus/src/preview_renderer.hpp
===================================================================
--- trunk/pingus/src/preview_renderer.hpp 2008-07-04 06:54:00 UTC (rev
3661)
+++ trunk/pingus/src/preview_renderer.hpp 2008-07-04 06:57:52 UTC (rev
3662)
@@ -1,42 +0,0 @@
- // Pingus - A free Lemmings clone
-// Copyright (C) 2002 Ingo Ruhnke <address@hidden>
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 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 General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-#ifndef HEADER_PREVIEW_RENDERER_HPP
-#define HEADER_PREVIEW_RENDERER_HPP
-
-#include "plf_res_mgr.hpp"
-
-
-/** By given a PLF, the PreviewRenderer renders a CL_Canvas with a
- graphic of the complete level, it also allows to save it down to a
- file */
-class PreviewRenderer
-{
-private:
-public:
- /** Render the level given by levelfile to as pnm to the file given
- * by output_file
- *
- * @param plf PLF that describes the level
- * @param output_file filename of the file to which the result should be
written
- */
- static void render(const PingusLevel& plf, const std::string& output_file);
-};
-
-
-#endif
-
-/* EOF */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r3662 - in trunk/pingus: . src,
grumbel at BerliOS <=