mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-23 08:02:07 -05:00
I am a dumb fuck
where the fuck are these LANG_ defines from, winapi?
This commit is contained in:
parent
1ba31e1266
commit
613a23e5e3
1 changed files with 7 additions and 6 deletions
|
@ -6,6 +6,7 @@
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
#include "PR/ultratypes.h"
|
#include "PR/ultratypes.h"
|
||||||
#include "game/memory.h"
|
#include "game/memory.h"
|
||||||
|
#include "game/save_file.h"
|
||||||
#include "pc/configfile.h"
|
#include "pc/configfile.h"
|
||||||
#include "discordrpc.h"
|
#include "discordrpc.h"
|
||||||
|
|
||||||
|
@ -160,13 +161,13 @@ static void set_details(void) {
|
||||||
courseNameTbl = segmented_to_virtual(seg2_course_name_table);
|
courseNameTbl = segmented_to_virtual(seg2_course_name_table);
|
||||||
#else
|
#else
|
||||||
switch (gInGameLanguage) {
|
switch (gInGameLanguage) {
|
||||||
case LANG_ENGLISH:
|
case LANGUAGE_ENGLISH:
|
||||||
courseNameTbl = segmented_to_virtual(course_name_table_eu_en);
|
courseNameTbl = segmented_to_virtual(course_name_table_eu_en);
|
||||||
break;
|
break;
|
||||||
case LANG_FRENCH:
|
case LANGUAGE_FRENCH:
|
||||||
courseNameTbl = segmented_to_virtual(course_name_table_eu_fr);
|
courseNameTbl = segmented_to_virtual(course_name_table_eu_fr);
|
||||||
break;
|
break;
|
||||||
case LANG_GERMAN:
|
case LANGUAGE_GERMAN:
|
||||||
courseNameTbl = segmented_to_virtual(course_name_table_eu_de);
|
courseNameTbl = segmented_to_virtual(course_name_table_eu_de);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -193,13 +194,13 @@ static void set_state(void) {
|
||||||
actNameTbl = segmented_to_virtual(seg2_act_name_table);
|
actNameTbl = segmented_to_virtual(seg2_act_name_table);
|
||||||
#else
|
#else
|
||||||
switch (gInGameLanguage) {
|
switch (gInGameLanguage) {
|
||||||
case LANG_ENGLISH:
|
case LANGUAGE_ENGLISH:
|
||||||
actNameTbl = segmented_to_virtual(act_name_table_eu_en);
|
actNameTbl = segmented_to_virtual(act_name_table_eu_en);
|
||||||
break;
|
break;
|
||||||
case LANG_FRENCH:
|
case LANGUAGE_FRENCH:
|
||||||
actNameTbl = segmented_to_virtual(act_name_table_eu_fr);
|
actNameTbl = segmented_to_virtual(act_name_table_eu_fr);
|
||||||
break;
|
break;
|
||||||
case LANG_GERMAN:
|
case LANGUAGE_GERMAN:
|
||||||
actNameTbl = segmented_to_virtual(act_name_table_eu_de);
|
actNameTbl = segmented_to_virtual(act_name_table_eu_de);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue