Fix up some file handling, add support for initializing a house file

This commit is contained in:
elasota
2020-01-03 00:13:41 -05:00
parent e00f506ee2
commit 32116bc17e
19 changed files with 708 additions and 475 deletions

View File

@@ -0,0 +1,15 @@
#pragma once
namespace GpFileCreationDispositions
{
enum GpFileCreationDisposition
{
kCreateOrOverwrite, // If exists: Overwrite. If not exists: Create.
kCreateNew, // If exists: Fail. If not exists: Create.
kCreateOrOpen, // If exists: Open. If not exists: Create.
kOpenExisting, // If exists: Open. If not exists: Fail.
kOverwriteExisting, // If exists: Overwrite. If not exists: Fail.
};
}
typedef GpFileCreationDispositions::GpFileCreationDisposition GpFileCreationDisposition_t;