simplify code

This commit is contained in:
GenevensiS
2025-04-08 01:47:45 +02:00
parent dca935a966
commit 28b2862bd8
2 changed files with 7 additions and 9 deletions
+2 -2
View File
@@ -51,8 +51,8 @@ public:
/// Load fonts (.ttf or .otf) from the given directory and its subdirectories, returns true if there were errors
static bool PreloadResourceFonts(String fontsDirectoryPath, bool recursive);
/// Adds font file paths from the given directory into fontFilePaths, returns true if fonts were found
static bool TallyResourceFonts(String fontsDirectoryPath, vector<String>& fontFilePaths, bool recursive);
/// Adds font file paths from the given directory into fontFilePaths
static void TallyResourceFonts(String fontsDirectoryPath, vector<String>& fontFilePaths, bool recursive);
/// Update the scritables, returns true if there is a change
bool update(Context& ctx);
/// Add the given dependency to the dependent_scripts list for the variables this font depends on