summaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
2020-08-19Merge pull request #788 from kazblox/masterGriffinR
Fix NONMATCHINGs and actual English Debug support
2020-06-08Preliminary support for English rev0 debug. Matching but still needsKaz
cleaning up. Rename DEBUG_TRANSLATE to DEBUG_FIX now that we have actual English Debug ROMs. Add Sapphire German "first edition" debug support, now that we have a hash for it. Fix an obvious nonmatching.
2020-05-06Sync surf.inc, dynamic_npc_graphics.incGriffinR
2019-12-14Merge branch 'master' of github.com:pret/pokeruby into modern_gccPikalaxALT
2019-10-19Merge pull request #754 from camthesaxman/emerald_diffhuderlem
resolve more emerald differences
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).
2019-07-31resolve more battle system differencescamthesaxman
2019-07-07Stack-free IWRAM clearPikalaxALT
2019-06-26Make Ruby compile with gcc-8PikalaxALT
2018-04-28through sub_811A15C (two nonmatching)PikalaxALT
2018-02-18remove subdirectoriescamthesaxman
2017-08-12split out src/ directory into categorized subdirectories.ProjectRevoTPP
2017-05-26Sort includesMarijn van der Werf
2017-05-26Add headersMarijn van der Werf
2017-05-21Various intro namingNieDzejkob
2017-05-21Identify gUnknown_3001764NieDzejkob
2017-05-05Various German patchesMarijn van der Werf
2017-04-27Sort includesMarijn van der Werf
2017-02-19define gFlashMemoryPresent in load_save.cYamaArashi
2017-02-19gFlashMemoryPresent variableYamaArashi
2017-01-04more labels (#159)ProjectRevoTPP
* labels for tv.c and tv.s * match function prologue a little bit better * whoops * label and document lottery_corner.c * gSoftResetDisabled * add labels for main_menu.c * labels for metatile_behavior.c
2016-12-17Rename `charset` and use macro for build languageMarijn van der Werf
2016-12-12Fix new errorsMarijn van der Werf
2016-12-04Fix warnings in main.cMarijn van der Werf
2016-12-02[WIP] Extract all external function declarations to headers (#114)Marijn van der Werf
* Extract other external function declarations * Fix GBA compilation * Revert `sub_803C434` to asm
2016-11-30Declare more non-static functions in header files (#111)Marijn van der Werf
* Declare more non-static functions in header files * Use `(void)` for functions without arguments. * Move global-included data to seperate headers * Don't import types or global in header * Fix fieldmap imports * Revert in-code changes * Add missing newlines
2016-10-02put function prototypes in main.hYamaArashi
2016-09-30clean up sound codeYamaArashi
2016-09-25begin using common symbolsYamaArashi
2016-08-18make game version equal 1 for sapphireYamaArashi
2016-07-24RNG headerYamaArashi
2016-06-10switch order of fill macros from dest, value to value, destYamaArashi
2016-06-05sprite tile allocation macrosYamaArashi
2016-06-05link.cYamaArashi
2016-05-21sprite.c and updated preprocYamaArashi
2016-05-15main.cYamaArashi