1
0
forked from mirrors/0ad

Introduce a namespace in Loader

All functions had a `LDR_` prefix. The prefix is removed.
Functions and globals which are only used in Loader.cpp are now
contained in an anonymous namespace.
This commit is contained in:
phosit
2025-10-20 21:35:40 +02:00
parent f257ce8f9c
commit 1917d034fd
15 changed files with 94 additions and 81 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ static int ProgressiveLoad()
int progressPercent{0};
try
{
const LDR_ProgressiveLoadResult result{LDR_ProgressiveLoad(10e-3)};
const PS::Loader::ProgressiveLoadResult result{PS::Loader::ProgressiveLoad(10e-3)};
description = result.nextDescription;
progressPercent = result.progressPercent;
switch(result.status)