summaryrefslogtreecommitdiff
path: root/include/global.h
AgeCommit message (Collapse)Author
2021-10-23IDE support formatting and consistencyJademalo
2021-10-22Improve IDE SupportJademalo
2021-07-10Match sub_80EF624PikalaxALT
2021-07-08Fix style issuesPikalaxALT
2021-06-28Name funcs in credits.c; more ewram cleanupPikalaxALT
2021-06-24Document pokedex.c, 1PikalaxALT
2021-06-23Contest data and strings to C, 2PikalaxALT
2021-06-21Start syncing contest code documentation from EmeraldPikalaxALT
2021-06-17document ewram macros in BattleStartClearSetDataPikalaxALT
2021-02-16Mirror pokeemerald PR#1329 & PR#1335 to pokerubyDeokishisu
The `externalReservedData` field has been split up into `externalEventData` and `externalEventFlags`, which have their own structs. The new structs deal with interconnectivity between external games/peripherals and RS. US & JP Colosseum Bonus Discs', Colosseum and XD's, Pokémon Channel's, and PokémonBox: Ruby & Sapphire's interactions with these fields has been documented. The `giftRibbon#` fields in `PokemonSubstruct3` have also been renamed to their appropriate ribbons, and commented with distribution info if applicable. All relevant constants and functions dealing with the Pokémon data structure were renamed with these changes in mind.
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
2020-02-13Merge branch 'master' into modern_gccPikalaxALT
2020-02-12Standardize Event Object to Object EventGriffinR
2019-12-14Merge branch 'master' of github.com:pret/pokeruby into modern_gccPikalaxALT
2019-10-02Merge branch 'master' into debug-englishPikalaxALT
2019-10-02Merge branch 'master' into modern_gccPikalaxALT
2019-09-05Configure Travis to build nonmatching (#746)PikalaxALT
* Configure Travis to build nonmatching
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-03Implement debug info optionPikalaxALT
2019-04-23match sub_809C464PikalaxALT
2018-08-15Label unknowns and fillers, add constants to global.h, use constants in ↵Jo Ruby P
record_mixing.c and tv.c
2018-08-15load_save.c uses constants defined in global.hJo Ruby P
2018-07-26Fix nonmatching SetPlayerSecretBaseRecordMixingParty()Marcus Huderle
2018-07-26Fix nonmatching ChooseNextBattleTowerTrainer()Marcus Huderle
2018-06-20Rename map attribute structs to MapLayoutMarcus Huderle
2018-05-29Unify 'map object' and 'field object' terms into 'event object'Marcus Huderle
2018-05-09Misc labeling and cleanup, mostly item-relatedMarcus Huderle
2018-04-22Identify region in SaveBlock1 that is reserved for external games/events to ↵Marcus Huderle
write to
2018-04-09fix name of TVShow.bravoTrainerTower.pokemonNamePikalaxALT
2018-04-09debug_sub_808FA88PikalaxALT
2018-04-08through DebugMenu_8078254PikalaxALT
2018-04-03Include standard headers in global.hPikalaxALT
2018-03-19Label and use constants for weather cycle logicMarcus Huderle
2018-02-17remove unnecessary struct in battle tower dataCameron Hall
2018-02-17decompile more debug codeCameron Hall
2018-02-17decompile more debug codeCameron Hall
2018-01-30match sub_8116100PikalaxALT
2018-01-06use firered isagbprint.h and NDEBUGProjectRevoTPP
2018-01-06Merge branch 'master' of https://github.com/pret/pokerubyProjectRevoTPP
2018-01-06Merge branch 'master' into cable_carPikalaxALT
2018-01-05Merge branch 'master' into cable_carPikalaxALT
2018-01-04fix merge conflictscamthesaxman
2018-01-04decompile sub_80E9620 - sub_80EA184camthesaxman
2018-01-04Merge branch 'master' of https://github.com/pret/pokeruby into assertProjectRevoTPP
2018-01-03A little tidyingPikalaxALT
2018-01-03Merge branch 'master' into slot_machinePikalaxALT
2018-01-02Merge branch 'master' into decompile_easy_chatcamthesaxman
2018-01-01decompile sub_80E60D8 - sub_80E6AC4camthesaxman