[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/editor editor_event.cxx,1.49,1.50
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/editor editor_event.cxx,1.49,1.50 |
Date: |
4 Mar 2003 10:26:20 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/editor
In directory dark:/tmp/cvs-serv8319/editor
Modified Files:
editor_event.cxx
Log Message:
splitted PLF stuff from PingusResource to reduce dependencies a bit
Index: editor_event.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/editor_event.cxx,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- editor_event.cxx 3 Mar 2003 20:32:18 -0000 1.49
+++ editor_event.cxx 4 Mar 2003 10:26:18 -0000 1.50
@@ -36,6 +36,7 @@
#include "../my_gettext.hxx"
#include "../pingus_error.hxx"
#include "../pingus_resource.hxx"
+#include "../plf_res_mgr.hxx"
#include "../system.hxx"
#include "action_window.hxx"
#include "editor.hxx"
@@ -512,7 +513,9 @@
try
{
std::string levelfile = editor->save_tmp_level();
- ScreenManager::instance()->push_screen(new PingusGameSession
(PingusResource::load_plf_raw(levelfile)), true);
+ // FIXME: Insert here something that checks if a level needs a reload
+ ScreenManager::instance()->push_screen
+ (new PingusGameSession (PLFResMgr::load_plf_from_filename(levelfile)),
true);
}
catch(const PingusError& err)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/editor editor_event.cxx,1.49,1.50,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src plf_res_mgr.cxx,NONE,1.1 plf_res_mgr.hxx,NONE,1.1 Makefile.am,1.135,1.136 pingus_main.cxx,1.49,1.50 pingus_resource.cxx,1.23,1.24 pingus_resource.hxx,1.12,1.13 theme.cxx,1.13,1.14
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldmap level_dot.cxx,1.9,1.10
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src plf_res_mgr.cxx,NONE,1.1 plf_res_mgr.hxx,NONE,1.1 Makefile.am,1.135,1.136 pingus_main.cxx,1.49,1.50 pingus_resource.cxx,1.23,1.24 pingus_resource.hxx,1.12,1.13 theme.cxx,1.13,1.14
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldmap level_dot.cxx,1.9,1.10
- Index(es):