start phasing out BASE_PATH and SLASH

This commit is contained in:
Glenn Maynard
2003-12-10 09:02:55 +00:00
parent eb15c238fd
commit 658c72c6ad
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
#include "Banner.h" #include "Banner.h"
#define CACHE_DIR BASE_PATH "Cache" SLASH #define CACHE_DIR "Cache/"
/* Call CacheBanner to cache a banner by path. If the banner is already /* Call CacheBanner to cache a banner by path. If the banner is already
* cached, it'll be recreated. This is efficient if the banner hasn't changed, * cached, it'll be recreated. This is efficient if the banner hasn't changed,
+1 -1
View File
@@ -18,7 +18,7 @@
#include <math.h> #include <math.h>
#include "arch/arch.h" #include "arch/arch.h"
#define AI_PATH BASE_PATH "Data" SLASH "AI.ini" #define AI_PATH "Data/AI.ini"
struct TapScoreDistribution struct TapScoreDistribution
{ {
+1 -1
View File
@@ -47,7 +47,7 @@
#include <set> #include <set>
#define CACHE_DIR BASE_PATH "Cache" SLASH #define CACHE_DIR "Cache/"
const int FILE_CACHE_VERSION = 131; // increment this when Song or Steps changes to invalidate cache const int FILE_CACHE_VERSION = 131; // increment this when Song or Steps changes to invalidate cache
+1 -1
View File
@@ -9,7 +9,7 @@
#include "song.h" #include "song.h"
#include "arch/arch.h" #include "arch/arch.h"
#define CACHE_DIR BASE_PATH "Cache" SLASH #define CACHE_DIR "Cache/"
SongCacheIndex *SONGINDEX; SongCacheIndex *SONGINDEX;
+3 -3
View File
@@ -672,8 +672,8 @@ static void RestoreAppPri()
} }
#define GAMEPREFS_INI_PATH BASE_PATH "Data" SLASH "GamePrefs.ini" #define GAMEPREFS_INI_PATH "Data/GamePrefs.ini"
#define STATIC_INI_PATH BASE_PATH "Data" SLASH "Static.ini" #define STATIC_INI_PATH "Data/Static.ini"
void ChangeCurrentGame( Game g ) void ChangeCurrentGame( Game g )
{ {
@@ -773,7 +773,7 @@ static void MountTreeOfZips( const CString &dir )
} }
} }
#define UNLOCKS_PATH BASE_PATH "Data" SLASH "Unlocks.dat" #define UNLOCKS_PATH BASE_PATH "Data/Unlocks.dat"
#ifdef _XBOX #ifdef _XBOX
char *xboxargv[] = { "d:\\default.xbe" }; char *xboxargv[] = { "d:\\default.xbe" };
+1 -1
View File
@@ -8,7 +8,7 @@
#include "RageFile.h" #include "RageFile.h"
#define TRANSLATION_PATH BASE_PATH "Data" SLASH "Translation.dat" #define TRANSLATION_PATH "Data/Translation.dat"
struct TitleTrans struct TitleTrans
{ {