Disabling the use of temporary directories for now.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2718 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
Changes towards version 0.7:
|
Changes towards version 0.7:
|
||||||
|
- No longer creating and mounting a temporary directory. It is longer used,
|
||||||
|
but it might be again at some point, for loadable modules. - SvdB
|
||||||
- Added RNG functions that work on a supplied state - SvdB
|
- Added RNG functions that work on a supplied state - SvdB
|
||||||
- Fixed a crash on startup if uqm.cfg did not exist, flagged and fixed
|
- Fixed a crash on startup if uqm.cfg did not exist, flagged and fixed
|
||||||
by jdorje - Michael
|
by jdorje - Michael
|
||||||
|
|||||||
@@ -262,10 +262,6 @@ SOURCE=..\sc2code\libs\file\files.c
|
|||||||
|
|
||||||
SOURCE=..\sc2code\libs\file\filintrn.h
|
SOURCE=..\sc2code\libs\file\filintrn.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=..\sc2code\libs\file\temp.c
|
|
||||||
# End Source File
|
|
||||||
# End Group
|
# End Group
|
||||||
# Begin Group "graphics"
|
# Begin Group "graphics"
|
||||||
|
|
||||||
@@ -635,6 +631,18 @@ SOURCE=..\sc2code\libs\math\random.h
|
|||||||
SOURCE=..\sc2code\libs\math\sqrt.c
|
SOURCE=..\sc2code\libs\math\sqrt.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Group
|
# End Group
|
||||||
|
# Begin Group "md5"
|
||||||
|
|
||||||
|
# PROP Default_Filter ""
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\sc2code\libs\md5\md5.c
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\sc2code\libs\md5\md5.h
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
# Begin Group "memory"
|
# Begin Group "memory"
|
||||||
|
|
||||||
# PROP Default_Filter ""
|
# PROP Default_Filter ""
|
||||||
@@ -1491,6 +1499,10 @@ SOURCE=..\sc2code\libs\mathlib.h
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\sc2code\libs\md5.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\sc2code\libs\memlib.h
|
SOURCE=..\sc2code\libs\memlib.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|||||||
@@ -20,16 +20,18 @@
|
|||||||
#define _FILE_H
|
#define _FILE_H
|
||||||
|
|
||||||
#include "port.h"
|
#include "port.h"
|
||||||
|
#include "libs/uio.h"
|
||||||
|
|
||||||
// for bool
|
// for bool
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
|
#if 0
|
||||||
// from temp.h
|
// from temp.h
|
||||||
#include "libs/uio.h"
|
|
||||||
void initTempDir (void);
|
void initTempDir (void);
|
||||||
void unInitTempDir (void);
|
void unInitTempDir (void);
|
||||||
char *tempFilePath (const char *filename);
|
char *tempFilePath (const char *filename);
|
||||||
extern uio_DirHandle *tempDir;
|
extern uio_DirHandle *tempDir;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// from dirs.h
|
// from dirs.h
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
uqm_CFILES="dirs.c files.c temp.c"
|
uqm_CFILES="dirs.c files.c"
|
||||||
|
|||||||
+6
-2
@@ -169,8 +169,8 @@ main (int argc, char *argv[])
|
|||||||
UQM_PATCH_VERSION, UQM_EXTRA_VERSION,
|
UQM_PATCH_VERSION, UQM_EXTRA_VERSION,
|
||||||
__DATE__, __TIME__);
|
__DATE__, __TIME__);
|
||||||
#ifdef NETPLAY
|
#ifdef NETPLAY
|
||||||
log_add (log_User, "Netplay protocol version %d.%d. Requiring remote "
|
log_add (log_User, "Netplay protocol version %d.%d. Minimum required "
|
||||||
"UQM version %d.%d.%d.",
|
"remote UQM version is %d.%d.%d.",
|
||||||
NETPLAY_PROTOCOL_VERSION_MAJOR, NETPLAY_PROTOCOL_VERSION_MINOR,
|
NETPLAY_PROTOCOL_VERSION_MAJOR, NETPLAY_PROTOCOL_VERSION_MINOR,
|
||||||
NETPLAY_MIN_UQM_VERSION_MAJOR, NETPLAY_MIN_UQM_VERSION_MINOR,
|
NETPLAY_MIN_UQM_VERSION_MAJOR, NETPLAY_MIN_UQM_VERSION_MINOR,
|
||||||
NETPLAY_MIN_UQM_VERSION_PATCH);
|
NETPLAY_MIN_UQM_VERSION_PATCH);
|
||||||
@@ -418,7 +418,9 @@ main (int argc, char *argv[])
|
|||||||
HFree ((void *) options.addons);
|
HFree ((void *) options.addons);
|
||||||
prepareMeleeDir ();
|
prepareMeleeDir ();
|
||||||
prepareSaveDir ();
|
prepareSaveDir ();
|
||||||
|
#if 0
|
||||||
initTempDir ();
|
initTempDir ();
|
||||||
|
#endif
|
||||||
|
|
||||||
InitTimeSystem ();
|
InitTimeSystem ();
|
||||||
InitTaskSystem ();
|
InitTaskSystem ();
|
||||||
@@ -454,7 +456,9 @@ main (int argc, char *argv[])
|
|||||||
TFB_FlushGraphics ();
|
TFB_FlushGraphics ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
unInitTempDir ();
|
unInitTempDir ();
|
||||||
|
#endif
|
||||||
uninitIO ();
|
uninitIO ();
|
||||||
|
|
||||||
#ifdef NETPLAY
|
#ifdef NETPLAY
|
||||||
|
|||||||
Reference in New Issue
Block a user