From 88c41117f5b37c0f927d1cee464d8b59c4f5cd30 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 31 Mar 2016 21:53:54 -0400 Subject: [PATCH] Fill in some stuff that is needed to compile. I had better versions of this stuff, which I still need to re-merge. --- Sources/Engine/Base/FileName.h | 2 ++ Sources/Engine/Base/Stream.cpp | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/Sources/Engine/Base/FileName.h b/Sources/Engine/Base/FileName.h index 8636630..3a61d31 100644 --- a/Sources/Engine/Base/FileName.h +++ b/Sources/Engine/Base/FileName.h @@ -29,6 +29,8 @@ public: /* Constructor from character string for insertion in exe-file. */ inline CTFileName(const char *pString, int i) : CTString(convertFromWin32(pString+i)), fnm_pserPreloaded(NULL) {} + void SetAbsolutePath(void) {} // !!! FIXME + /* Assignment. */ CTFileName &operator=(const char *strCharString); inline void operator=(const CTString &strOther) { diff --git a/Sources/Engine/Base/Stream.cpp b/Sources/Engine/Base/Stream.cpp index 378e355..d3f9261 100644 --- a/Sources/Engine/Base/Stream.cpp +++ b/Sources/Engine/Base/Stream.cpp @@ -897,6 +897,11 @@ void CTFileStream::Open_t(const CTFileName &fnFileName, CTStream::OpenMode om/*= _plhOpenedStreams->AddTail( strm_lnListNode); } +static void MakeSureDirectoryPathExists(const CTFileName &fnmFullFileName) +{ + STUBBED("!!! FIXME: get the code back in from Ryan's original port."); +} + /* * Create a new file or overwrite existing. */