sm64pc/include/eu_translation.h

35 lines
1.0 KiB
C
Raw Normal View History

2019-08-25 06:46:40 +02:00
#ifndef EU_TRANSLATION_H
#define EU_TRANSLATION_H
#include "types.h"
2020-03-02 04:42:52 +01:00
// PAL changes most text to arrays for each language. This define allows these
// differences to be combined.
#ifdef VERSION_EU
#define LANGUAGE_ARRAY(cmd) cmd[LANGUAGE_FUNCTION]
#else
#define LANGUAGE_ARRAY(cmd) cmd
#endif
2019-08-25 06:46:40 +02:00
// EU translations are contained in three segment 0x19 compressed data blocks
extern u8 _translation_en_mio0SegmentRomStart[];
extern u8 _translation_en_mio0SegmentRomEnd[];
extern u8 _translation_fr_mio0SegmentRomStart[];
extern u8 _translation_fr_mio0SegmentRomEnd[];
extern u8 _translation_de_mio0SegmentRomStart[];
extern u8 _translation_de_mio0SegmentRomEnd[];
extern void *dialog_table_eu_en[];
2019-12-02 03:52:53 +01:00
extern void *course_name_table_eu_en[];
2019-08-25 06:46:40 +02:00
extern void *act_name_table_eu_en[];
extern void *dialog_table_eu_fr[];
2019-12-02 03:52:53 +01:00
extern void *course_name_table_eu_fr[];
2019-08-25 06:46:40 +02:00
extern void *act_name_table_eu_fr[];
extern void *dialog_table_eu_de[];
2019-12-02 03:52:53 +01:00
extern void *course_name_table_eu_de[];
2019-08-25 06:46:40 +02:00
extern void *act_name_table_eu_de[];
#endif /* EU_TRANSLATION_H */