[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/editor editor.cxx,1.5,1.6 editor_even
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/editor editor.cxx,1.5,1.6 editor_event.cxx,1.8,1.9 |
Date: |
25 Jun 2002 14:54:03 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/editor
In directory dark:/tmp/cvs-serv27877/editor
Modified Files:
editor.cxx editor_event.cxx
Log Message:
- editor remembers now filenames from the command line
- jumper/faller now 'bounces' from walls and is less stucky, the
test/jumper.xml shows a situation in which it can still get stuck
Index: editor.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/editor.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- editor.cxx 20 Jun 2002 15:57:38 -0000 1.5
+++ editor.cxx 25 Jun 2002 14:54:01 -0000 1.6
@@ -486,6 +486,7 @@
// and we might save it.
object_manager->load_level(str);
+ last_level = str;
}
/*
Index: editor_event.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/editor_event.cxx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- editor_event.cxx 25 Jun 2002 12:20:33 -0000 1.8
+++ editor_event.cxx 25 Jun 2002 14:54:01 -0000 1.9
@@ -573,6 +573,8 @@
StringReader reader(_("Enter filename to save as (without .plf!)"),
editor->last_level);
+ // FIXME: The pattern '*' will not work on windows, we should use
+ // FIXME: *.xml or better switch to CL_DirectoryScanner
dir = System::opendir(System::get_statdir() + "levels/", "*");
for (System::Directory::iterator i = dir.begin(); i != dir.end(); i++)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/editor editor.cxx,1.5,1.6 editor_event.cxx,1.8,1.9,
grumbel <=