mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
Implement enums for lang references
This commit is contained in:
1 parent
56ff30460a
commit
fc4d1cc39c
125 files changed
+7497
-3517
No files matched your search
@@ -414,16 +414,16 @@ void objectivesCheckAll(void)
|
||||
g_ObjectiveStatuses[i] = status;
|
||||
|
||||
if (objectiveGetDifficultyBits(i) & (1 << coreGetDifficulty())) {
|
||||
sprintf(buffer, "%s %d: ", langGet(L_MISC(44)), availableindex + 1); // "Objective"
|
||||
sprintf(buffer, "%s %d: ", langGet(L_MISC_044), availableindex + 1); // "Objective"
|
||||
|
||||
if (status == OBJECTIVE_COMPLETE) {
|
||||
strcat(buffer, langGet(L_MISC(45))); // "Completed"
|
||||
strcat(buffer, langGet(L_MISC_045)); // "Completed"
|
||||
objectivesShowHudmsg(buffer, HUDMSGTYPE_OBJECTIVECOMPLETE);
|
||||
} else if (status == OBJECTIVE_INCOMPLETE) {
|
||||
strcat(buffer, langGet(L_MISC(46))); // "Incomplete"
|
||||
strcat(buffer, langGet(L_MISC_046)); // "Incomplete"
|
||||
objectivesShowHudmsg(buffer, HUDMSGTYPE_OBJECTIVECOMPLETE);
|
||||
} else if (status == OBJECTIVE_FAILED) {
|
||||
strcat(buffer, langGet(L_MISC(47))); // "Failed"
|
||||
strcat(buffer, langGet(L_MISC_047)); // "Failed"
|
||||
objectivesShowHudmsg(buffer, HUDMSGTYPE_OBJECTIVEFAILED);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user