[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r2940 - branches/pingus_sdl/src
From: |
grumbel at BerliOS |
Subject: |
[Pingus-CVS] r2940 - branches/pingus_sdl/src |
Date: |
Wed, 15 Aug 2007 23:33:21 +0200 |
Author: grumbel
Date: 2007-08-15 23:33:20 +0200 (Wed, 15 Aug 2007)
New Revision: 2940
Removed:
branches/pingus_sdl/src/plt_xml.cpp
Modified:
branches/pingus_sdl/src/SConscript
Log:
- removed some unused files
Modified: branches/pingus_sdl/src/SConscript
===================================================================
--- branches/pingus_sdl/src/SConscript 2007-08-15 21:32:19 UTC (rev 2939)
+++ branches/pingus_sdl/src/SConscript 2007-08-15 21:33:20 UTC (rev 2940)
@@ -61,9 +61,6 @@
# # 'input/axes/mouse_axis.cpp',
# # 'pingus_level_test.cpp',
# # 'sound/slot_manager.cpp',
-# # 'target_provider.cpp',
-# # 'theme.cpp',
-# # 'theme_selector.cpp',
# # 'xml_eval.cpp',
'action_holder.cpp',
@@ -223,7 +220,6 @@
'pingus_menu_manager.cpp',
'pingus_sub_menu.cpp',
'plf_res_mgr.cpp',
-# 'plt_xml.cpp',
# 'preview_renderer.cpp',
'res_descriptor.cpp',
'resource.cpp',
Deleted: branches/pingus_sdl/src/plt_xml.cpp
===================================================================
--- branches/pingus_sdl/src/plt_xml.cpp 2007-08-15 21:32:19 UTC (rev 2939)
+++ branches/pingus_sdl/src/plt_xml.cpp 2007-08-15 21:33:20 UTC (rev 2940)
@@ -1,81 +0,0 @@
-// $Id: plt_xml.cxx,v 1.13 2003/10/19 12:25:47 grumbel Exp $
-//
-// Pingus - A free Lemmings clone
-// Copyright (C) 2000 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 2
-// 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, write to the Free Software
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-#include <iostream>
-#include <ClanLib/core.h>
-#include "globals.hpp"
-#include "pingus_error.hpp"
-//#include "xml_file_reader.hpp"
-#include "plt_xml.hpp"
-
-
-PLTXML::PLTXML ()
-{
-}
-
-PLTXML::~PLTXML ()
-{
-}
-
-
-void
-PLTXML::parse (std::string filename)
-{
- CL_DomDocument doc(new CL_InputSource_File(filename), true);
-
- CL_DomElement root = doc.get_document_element();
-
- if (root.get_tag_name() != "pingus-level")
- {
- PingusError::raise("Error: " + filename + ": not a <pingus-world> file");
- }
- else
- {
- XMLFileReader reader(root);
- reader.read_string("name", world_name);
- reader.read_string("description", description);
- //reader.read_desc ("background", background_desc);
-
- FileReader levelreader;
- reader.read_section("level-list", levelreader);
- /** FIXME: Insert code here for parsing <level> tags */
- }
-}
-
-std::vector<std::string>
-PLTXML::get_levels ()
-{
- return level_list;
-}
-
-const std::string&
-PLTXML::get_name ()
-{
- return world_name;
-}
-
-const std::string&
-PLTXML::get_description ()
-{
-
- return description;
-}
-
-
-/* EOF */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r2940 - branches/pingus_sdl/src,
grumbel at BerliOS <=