[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src system.cxx,1.5,1.6 system.hxx,1.4,1.5
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src system.cxx,1.5,1.6 system.hxx,1.4,1.5 |
Date: |
15 Sep 2002 00:19:21 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv18971
Modified Files:
system.cxx system.hxx
Log Message:
- some unfinished stuff to fix up the backup file saving...
Index: system.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/system.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- system.cxx 17 Aug 2002 17:56:23 -0000 1.5
+++ system.cxx 15 Sep 2002 00:19:19 -0000 1.6
@@ -277,6 +277,12 @@
return get_statdir() + "cache/";
}
+std::string
+System::get_backupdir()
+{
+ return get_statdir() + "backup/";
+}
+
std::string
System::get_vardir()
{
Index: system.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/system.hxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- system.hxx 23 Aug 2002 15:49:51 -0000 1.4
+++ system.hxx 15 Sep 2002 00:19:19 -0000 1.5
@@ -97,6 +97,10 @@
to be cached, for example thumbnails */
static std::string get_cachedir();
+ /** Returns the pathname of a directory where pingus can store its
+ backup files when creating backup files in the editor */
+ static std::string get_backupdir();
+
/** Returns the directory were Pingus can store its system wide
variable game data (highscores, cache images, ...) */
static std::string get_vardir();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src system.cxx,1.5,1.6 system.hxx,1.4,1.5,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src pingus_counter_bar.cxx,1.1,1.2 plf.cxx,1.6,1.7 server.cxx,1.15,1.16
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor editor.cxx,1.32,1.33 editor_event.cxx,1.33,1.34
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src pingus_counter_bar.cxx,1.1,1.2 plf.cxx,1.6,1.7 server.cxx,1.15,1.16
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor editor.cxx,1.32,1.33 editor_event.cxx,1.33,1.34
- Index(es):