forked from Segs/Segs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Scene importer work. * CMake: Add editor plugin creation helper macro * Common/Runtime: Record the depth of scene inclusion stack, mark runtime data state as ready on a successful load. * Add segs_plugin_coh_scene plugin to the editor sub-project. * Switched to c++17, same as the engine * More importer work * Saner qt logging in the editor. * Make RuntimeData non-copyable * Introduce a wrapper class that abstracts the underlying filesystem. * Update ace to version supporting glibc >= 2.30 * Update sdk version + stop deleting 'prebuilt' directory
- Loading branch information
Showing
42 changed files
with
1,210 additions
and
141 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# no files and subdirectories | ||
* | ||
*/ | ||
!.gitignore |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#include "serialization_common.h" | ||
|
||
#include <QtCore/QDir> | ||
|
||
QIODevice *QFSWrapper::open(const QString &path, bool read_only, bool text_only) | ||
{ | ||
QFile *res = new QFile(path); | ||
if (!res->open((read_only ? QFile::ReadOnly : QFile::ReadWrite) | (text_only ? QFile::Text : QFile::NotOpen))) | ||
{ | ||
delete res; | ||
return nullptr; | ||
} | ||
return res; | ||
} | ||
|
||
bool QFSWrapper::exists(const QString &path) | ||
{ | ||
return QFile::exists(path); | ||
} | ||
|
||
QStringList QFSWrapper::dir_entries(const QString &path) | ||
{ | ||
return QDir(path).entryList(QDir::Files | QDir::NoSymLinks); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.