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
+3 -3
View File
@@ -189,7 +189,7 @@ public:
for (size_t j = 0; j < clients.size(); ++j)
{
clients[j]->Poll();
TS_ASSERT_OK(LDR_NonprogressiveLoad());
TS_ASSERT_OK(PS::Loader::NonprogressiveLoad());
clients[j]->LoadFinished();
}
@@ -272,7 +272,7 @@ public:
for (size_t j = 0; j < clients.size(); ++j)
{
clients[j]->Poll();
TS_ASSERT_OK(LDR_NonprogressiveLoad());
TS_ASSERT_OK(PS::Loader::NonprogressiveLoad());
clients[j]->LoadFinished();
}
@@ -367,7 +367,7 @@ public:
clients[2]->Poll();
TS_ASSERT_OK(LDR_NonprogressiveLoad());
TS_ASSERT_OK(PS::Loader::NonprogressiveLoad());
clients[2]->LoadFinished();
wait(clients, 100);