summaryrefslogtreecommitdiff
path: root/src/mail.c
AgeCommit message (Collapse)Author
2021-06-28Resolve ewram ptr in mail.cPikalaxALT
2020-04-29Use fadescreen constants, sync common scripts after pc.incGriffinR
2019-08-26Translate skipped Mail texteasyaspi314 (Devin)
2019-08-23[WIP] English Debug menu translations! (Plus some build system fixes)easyaspi314 (Devin)
I'm back!            す Éß テ-ブ↑& ÒÛªù! (かなテーブルを捨てろよ!/Throw away the kana table!) When compiled in English with DEBUG, instead of óじばÌ (mojibake), you now get actual English translations! No more switching from the game, to the kana chart, and if you don't know Japanese, Google Translate, just to read one sentence. Additionally, the few unknown translations should use proper encoding or Romaji. I decided to use a nicer macro system: static const u8 sStrHello[] = DTR("こんにちは", "Hello"); This prevents ifdef HELL, as the mixed Japanese and English would be messy. Additionally, some special character issues were corrected. Things untranslated/bugs: - Tomomichi's dummy functions. Of course, they don't do much. - The title screen battle menu. This uses a Gen 2 style tile rendering and the way it is rendered is incredibly overcomplicated. - A few phrases which I couldn't get a clear translation for. I don't know much Japanese lol. - Song names. Just tedious with the limited buffer size. - A few layout issues. Some dimensions should be tweaked to avoid text box ovetflows. - Potential buffer overflows, which I want to try to avoid - (ASan for GBA? :morphon:) - While I use the DEBUG_TRANSLATE flag (automatic with ENGLISH && DEBUG) for C code, the asm data only checks for ENGLISH && DEBUG. Additionally, they are ugly. - Haven't tested all builds yet. - Some code formatting issues. I also made it so this will compile with the system preprocessor (including Clang), and my agbcc binutils (which will attempt to be selected automatically if you don't have DKP). Clang needs a few flags (it can't do asm enums with line numbers and it does trigraphs in standard mode), but it is no longer flipping out. I am going to restart my build system project. It was getting way off track, and ucpp was too difficult to maintain (one of the main reasons for the silence).
2018-10-17Further synchronisationSlawter666
2018-06-10Label move_tutor_menu.cMarcus Huderle
2018-05-21Standardize args to palette blend functionsMarcus Huderle
2018-02-18remove subdirectoriescamthesaxman
2017-08-12split out src/ directory into categorized subdirectories.ProjectRevoTPP
2017-05-26Make rom build againMarijn van der Werf
2017-05-26Sort includesMarijn van der Werf
2017-05-26Add headersMarijn van der Werf
2017-05-22Add strings2.hMarijn van der Werf
2017-05-09use macros to set DISPCNT and BG*CNT registers (#286)Cameron Hall
* use macros to set DISPCNT and BG*CNT registers * add a few more
2017-05-09name mail_data.c functionsYamaArashi
2017-05-08fix some nonmatching functions (#284)Cameron Hall
* fix some nonmatching functions * delete trailing whitespace
2017-04-27Sort includesMarijn van der Werf
2017-03-18reorganize and add new headers for many filesProjectRevoTPP
2017-01-28tabs to spacesYamaArashi
2017-01-21formattingYamaArashi
2017-01-17Sort includesMarijn van der Werf
2017-01-05item constantsYamaArashi
2017-01-02name_string_util.sYamaArashi
2017-01-02label and document berry.c, decompress.c, item_use.c and label ↵ProjectRevoTPP
gBattleTypeFlags (#146) * make ROM match again * clean up item_use.c labels and clarify functions. * label and clarify some functions in decompress.c * label and clarify berry.c * rename 20239F8 to gBattleTypeFlags * formatting
2017-01-01mail data in save block 1YamaArashi
2016-12-17Rename `charset` and use macro for build languageMarijn van der Werf
2016-12-15fix nonmatching sub_80F8E80YamaArashi
2016-12-16Decompile mailMarijn van der Werf