Author: zaroth
Date: Sun May 29 12:17:41 2011
New Revision: 49698
URL: http://svn.gna.org/viewcvs/wesnoth?rev=49698&view=rev
Log:
Created game_controller_new, a new game controller class using
game_controller_abstract interface.
Added:
trunk/src/game_controller_new.cpp
trunk/src/game_controller_new.hpp
Modified:
trunk/src/CMakeLists.txt
trunk/src/SConscript
trunk/src/game.cpp
Modified: trunk/src/CMakeLists.txt
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/CMakeLists.txt?rev=49698&r1=49697&r2=49698&view=diff
==============================================================================
--- trunk/src/CMakeLists.txt (original)
+++ trunk/src/CMakeLists.txt Sun May 29 12:17:41 2011
@@ -359,6 +359,7 @@
formula_string_utils.cpp
formula_tokenizer.cpp
game_controller.cpp
+ game_controller_new.cpp
game_display.cpp
game_errors.cpp
game_events.cpp
Modified: trunk/src/SConscript
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/SConscript?rev=49698&r1=49697&r2=49698&view=diff
==============================================================================
--- trunk/src/SConscript (original)
+++ trunk/src/SConscript Sun May 29 12:17:41 2011
@@ -221,6 +221,7 @@
formula_string_utils.cpp
formula_tokenizer.cpp
game_controller.cpp
+ game_controller_new.cpp
game_display.cpp
game_errors.cpp
game_events.cpp
Modified: trunk/src/game.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game.cpp?rev=49698&r1=49697&r2=49698&view=diff
==============================================================================
--- trunk/src/game.cpp (original)
+++ trunk/src/game.cpp Sun May 29 12:17:41 2011
@@ -33,6 +33,7 @@
//#include "formula.hpp"
//#include "game_config.hpp"
#include "game_controller.hpp"
+#include "game_controller_new.hpp"
//#include "game_errors.hpp"
//#include "game_preferences.hpp"
//#include "gamestatus.hpp"
Added: trunk/src/game_controller_new.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_controller_new.cpp?rev=49698&view=auto
==============================================================================
--- trunk/src/game_controller_new.cpp (added)
+++ trunk/src/game_controller_new.cpp Sun May 29 12:17:41 2011
@@ -1,0 +1,16 @@
+/* $Id$ */
+/*
+ Copyright (C) 2011 by Lukasz Dobrogowski <[email protected]>
+ Part of the Battle for Wesnoth Project http://www.wesnoth.org/
+
+ 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.
+
+ See the COPYING file for more details.
+*/
+
+#include "game_controller_new.hpp"
Added: trunk/src/game_controller_new.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_controller_new.hpp?rev=49698&view=auto
==============================================================================
--- trunk/src/game_controller_new.hpp (added)
+++ trunk/src/game_controller_new.hpp Sun May 29 12:17:41 2011
@@ -1,0 +1,24 @@
+/* $Id$ */
+/*
+ Copyright (C) 2011 by Lukasz Dobrogowski <[email protected]>
+ Part of the Battle for Wesnoth Project http://www.wesnoth.org/
+
+ 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.
+
+ See the COPYING file for more details.
+*/
+
+#ifndef GAME_CONTROLLER_NEW_HPP_INCLUDED
+#define GAME_CONTROLLER_NEW_HPP_INCLUDED
+#include "game_controller_abstract.hpp"
+
+class game_controller_new : public game_controller_abstract
+{
+};
+
+#endif
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits