Skip to content

Commit

Permalink
feat(gui): add .set files to text preview
Browse files Browse the repository at this point in the history
  • Loading branch information
NachosChipeados authored and craftablescience committed Jan 10, 2025
1 parent a6718b8 commit 475a86d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/gui/extensions/SingleFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ class SingleFile : public Folder {
VPKPP_REGISTER_PACKFILE_OPEN(".remap", &SingleFile::open);
VPKPP_REGISTER_PACKFILE_OPEN(".pop", &SingleFile::open);
VPKPP_REGISTER_PACKFILE_OPEN(".edt", &SingleFile::open);
VPKPP_REGISTER_PACKFILE_OPEN(".set", &SingleFile::open);

// Textures
VPKPP_REGISTER_PACKFILE_OPEN(".tga", &SingleFile::open);
Expand Down
3 changes: 2 additions & 1 deletion src/gui/previews/TextPreview.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ class TextPreview : public QWidget {
".gitignore", ".gitattributes", ".gitmodules", // Git
".gd", ".gdshader", ".tscn", ".tres", ".import", ".remap", // Godot
".zpc", ".zpdata", // Zombie Panic Survival
".pop", // TF2
".pop", // Team Fortress 2
".edt", // Synergy
".set", // Titanfall & Apex Legends
};

TextPreview(FileViewer* fileViewer_, Window* window_, QWidget* parent = nullptr);
Expand Down

0 comments on commit 475a86d

Please sign in to comment.