summaryrefslogtreecommitdiff
path: root/engine/gfx
AgeCommit message (Collapse)Author
2021-03-04Verify data table sizes with table_width and assert_table_length macrosRangi
This was discussed in #706 It also uncovered some off-by-one issues with defining some constants. A few structs now use rsreset/_RS to define their offset constants, as discussed in #739
2021-01-09Rename GetFarHalfword to GetFarWordRangi
Fixes #796
2020-12-23Remove "Buffer" suffix from two HRAM labelsRangi
2020-11-09Replace $0 with 0 for "ld l, a / ld h, 0" idiomRangi
2020-11-08Rename "dummy game" to "memory game"Rangi
2020-11-01Identify some more labels, and make some more consistentRangi
2020-10-30UnusedSpriteAnimGFX was to sprite anims as AnimObjGFX is to battle animsRangi
2020-10-30Extract more RGB data to .pal filesRangi
2020-10-30Identify wSpriteAnimDict key constantsRangi
2020-10-30Identify mobile Name Card exchange labelsRangi
2020-10-28Identify more WRAM labels, and start a <X>_DummyFunction label conventionRangi
2020-10-28Replace many '; unused' with '; unreferenced'Rangi
2020-10-26Use more assertions to ensure correct code and dataRangi
2020-10-26Comment, remove, or revise many unreferenced labelsRangi
2020-10-23Identify some more labels, mostly WRAMRangi
2020-10-22Identify a few more labels and dataRangi
2020-10-22Identify more sprite graphics and map object labels, and have consistent ↵Rangi
anonymous jumptable labels
2020-10-05Identify some more unnamed labelsRangi
2020-10-05Identify more unnamed labelsRangi
2020-10-04Identify more unnamed labelsRangi
2020-10-04Identify some more unnamed labelsRangi
2020-10-04Identify SGB blk/pal packetsRangi
2020-08-27GS_INTRO_STAR/SPARKLE -> GS_GAMEFREAK_LOGO_STAR/SPARKLEmid-kid
These two sprite animations are related to the Game Freak Logo splash screen, not the actual intro.
2020-08-27Small changes to better match pokegoldmid-kid
2020-08-27Fix some constants surrounding sprite animationsmid-kid
Also commented the use of the field surrounding the struct initialization functions. SPRITEANIMSTRUCT_0C -> SPRITEANIMSTRUCT_VAR1 SPRITEANIMSTRUCT_0D -> SPRITEANIMSTRUCT_VAR2 SPRITEANIMSTRUCT_0E -> SPRITEANIMSTRUCT_VAR3 SPRITEANIMSTRUCT_0F -> SPRITEANIMSTRUCT_VAR4 BATTLEANIMSTRUCT_01 -> BATTLEANIMSTRUCT_OAMFLAGS BATTLEANIMSTRUCT_ANON_JT_INDEX -> BATTLEANIMSTRUCT_JUMPTABLE_INDEX BATTLEANIMSTRUCT_0F -> BATTLEANIMSTRUCT_VAR1 BATTLEANIMSTRUCT_10 -> BATTLEANIMSTRUCT_VAR2
2020-08-27Document splash screen animationmid-kid
2020-08-27Move all splash screen files to gfx/splashmid-kid
2020-08-05Remove a verifiably false commentmid-kid
wSpriteAnimCount starts at 0, keeps incrementing and never decrements. When it reaches $ff, the next value is 1. Its purpose is unknown, as this value is used nowhere else.
2020-08-05`d` is the multiplier for Sprites_Sinemid-kid
2020-08-05Use TRUE for hCGBPalUpdatemid-kid
2020-07-21Use LOAD/ENDL for OAM DMA code in HRAM (requires rgbds 0.4.1)Rangi
2020-07-04SCGB_PARTY_MENU_HP_PALS -> SCGB_PARTY_MENU_HP_BARS, and SCGB_RAM -> SCGB_DEFAULTRangi
2020-06-21Replace "Unreferenced" labels with "; unreferenced" commentsRangi
2020-06-17Harmonize engine/{movie, pokemon} with pokegold (renames GetSRAMBank to ↵Rangi
OpenSRAM) To do: engine/{menus, overworld}
2020-06-17Harmonize engine/{gfx, items, link, math} with pokegoldRangi
2020-06-16[in progress] Harmonize more constant and data files with pokegoldRangi
2020-06-16Harmonize some more symbols with pokegoldRangi
2020-06-10Define pokeanim setup commands like std scripts, predefs, and specialsRangi
No need for a macro workaround in rgbds 0.4.0
2020-06-03Separate UnusedBattleObjectPals from PartyMenuOBPalsRangi
2020-05-18Update some routine labels, including unreferenced onesRangi
2020-05-17Miscellaneous cleanup noted in #709Rangi
2020-04-30Miscellaneous updatesRangi
- `PREDEFPAL_00` -> `PREDEFPAL_ROUTES` (observed from `LoadSGBLayout.GetMapPalsIndex.route`) - `$0` -> `PLAYER` (standard person ID) - Fix some whitespace formatting
2020-04-18Miscellaneous fixes, including one for the Pokédex design flaw by ax6Rangi
2020-04-08Remove unused nonmatching files for electro_ball.png and sgb_border.binRangi
electro_ball.png needed to preserve one whitespace tile which tools/gfx would normally remove. Preserving a list of tile indexes has been added as a general feature to tools/gfx. sgb_border.bin needed to remove the 20x18 center area of $00 bytes. This is achievable with the standard tr utility.
2020-04-06Enable rgbds warnings and remove CFLAGS=-O2 (default is now -O3)Rangi
2020-03-21rgbds supports 'X - 1' instead of 'X + -1'Rangi
2020-02-28Identify remaining gfx/unknown filesRangi
2020-02-26Identify gfx/unknown/4985a.asm as gfx/tilesets/forest-tree/unused.pngRangi
2020-02-13Standardize on lowercase Tilemap and Attrmapmid-kid
We used to have a mixture of TileMap and and Tilemap, as well as the similar AttrMap. Standardize on one.
2020-02-13InitSpriteAnimStruct <-> _InitSpriteAnimStructmid-kid
These were the wrong way around, as the function in home should not be prefixed