[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src savegame_manager.cxx,1.4,1.5 stat_man
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src savegame_manager.cxx,1.4,1.5 stat_manager.cxx,1.6,1.7 system.cxx,1.12,1.13 theme.cxx,1.15,1.16 |
Date: |
11 Apr 2003 12:45:41 -0000 |
Update of /var/lib/cvs/Games/Pingus/src
In directory dark:/tmp/cvs-serv15099/src
Modified Files:
savegame_manager.cxx stat_manager.cxx system.cxx theme.cxx
Log Message:
- moved bridger tutorial more towards the end
Index: savegame_manager.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/savegame_manager.cxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- savegame_manager.cxx 1 Apr 2003 16:00:08 -0000 1.4
+++ savegame_manager.cxx 11 Apr 2003 12:45:39 -0000 1.5
@@ -31,7 +31,7 @@
if (instance_)
return instance_;
else
- return (instance_ = new SavegameManager(System::get_statdir() +
"stat/savegame.xml"));
+ return (instance_ = new SavegameManager(System::get_statdir() +
"savegames/savegames.xml"));
}
SavegameManager::SavegameManager(const std::string& arg_filename)
Index: stat_manager.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/stat_manager.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- stat_manager.cxx 1 Apr 2003 15:13:33 -0000 1.6
+++ stat_manager.cxx 11 Apr 2003 12:45:39 -0000 1.7
@@ -32,7 +32,7 @@
if (instance_)
return instance_;
else
- return (instance_ = new StatManager(System::get_statdir() +
"stat/stats.xml"));
+ return (instance_ = new StatManager(System::get_statdir() +
"savegames/variables.xml"));
}
void
Index: system.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/system.cxx,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- system.cxx 10 Apr 2003 17:11:58 -0000 1.12
+++ system.cxx 11 Apr 2003 12:45:39 -0000 1.13
@@ -228,7 +228,7 @@
create_dir(statdir + "themes/");
// Savegames (FIXME: rename to savegames/?)
- create_dir(statdir + "stat/");
+ create_dir(statdir + "savegames/");
// Backups of edited levels in the level editor
create_dir(statdir + "backup/");
@@ -251,7 +251,7 @@
System::get_statdir()
{
#ifdef WIN32
- return "stat/";
+ return "user/";
#else /* !WIN32 */
char* homedir = getenv("HOME");
Index: theme.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/theme.cxx,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- theme.cxx 21 Mar 2003 22:08:06 -0000 1.15
+++ theme.cxx 11 Apr 2003 12:45:39 -0000 1.16
@@ -228,7 +228,7 @@
if (verbose > 1) std::cout << "Filename: " << status_file << std::endl;
if (verbose > 1) std::cout << "Rawfile: " << status_file.substr(0,
status_file.rfind(".")) << std::endl;
- status_file = System::get_statdir() + "stat/" + rawname + ".pst";
+ status_file = System::get_statdir() + "savegames/" + rawname + ".pst";
if (verbose > 1) std::cout << "Filename to open: " << status_file <<
std::endl;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src savegame_manager.cxx,1.4,1.5 stat_manager.cxx,1.6,1.7 system.cxx,1.12,1.13 theme.cxx,1.15,1.16,
grumbel <=