Commit Graph

1044 Commits

Author SHA1 Message Date
h2o-DS
3d91c70010 Merge remote-tracking branch 'upstream/main' into zukan_data.narc 2024-11-03 19:01:47 -05:00
h2o-DS
f25be82d5b Cleaned up PokedexSort 2024-11-03 18:37:50 -05:00
Rachel
26fb0c6182 Clean up berry_init table 2024-11-02 09:38:04 -07:00
Rachel
e333256bac Document GameStart overlay routines 2024-11-02 09:38:04 -07:00
Rachel
e855dada7e Document berry_patches.c, clean up berry_data.c 2024-11-02 09:37:59 -07:00
Rachel
a94d1747a3 Document record_mixed_rng.c 2024-11-02 00:16:41 -07:00
Rachel
81b9a3c9c9 Document most of system_data.c 2024-11-02 00:14:41 -07:00
Rachel
119135dde3 Document location.c, TryLoadingSave, StartNewSave 2024-11-01 11:03:29 -07:00
Rachel
4f38efd12f Identify overlay057 -> game_start 2024-11-01 11:03:29 -07:00
Rachel
7112921468 Clean up and document extern functions in field_system.c 2024-11-01 11:03:28 -07:00
Rachel
ffeedcc209 Rename ov5_021D0D80.h -> fieldmap.h, zip gFieldMapTemplate into fieldmap.h 2024-11-01 10:46:18 -07:00
Rachel
efa00d6c23 Label overlay templates for title screen and opening cutscene 2024-11-01 10:46:18 -07:00
Rachel
6588099ab1 Document FieldProcessManager and static routines in field_system.c 2024-11-01 10:46:18 -07:00
Rachel
871fe50f41 Document static routines and Application struct in main.c 2024-11-01 10:46:18 -07:00
h2o-DS
37f9a480b4 Pokedex Sort Enums
Rolled back Pokedex_Sort name change
Added pokedex sorting enums
Renamed STRUCT_OV21_021D3A60 to PokedexProgress
2024-10-29 23:15:54 -04:00
Rachel
18cbafd334 Document FieldSystem_OpenOptionsMenu 2024-10-28 11:58:22 -07:00
Rachel
3f3360a78d Document OptionsMenu_Main 2024-10-28 11:58:22 -07:00
Rachel
8d420c874f Label some ARM9 routines used by options_menu 2024-10-28 11:58:20 -07:00
Rachel
e83ba5d3f1 Document Init and Exit routines 2024-10-28 11:55:38 -07:00
Rachel
dffa6b0fcf Document data structs used in options_menu 2024-10-28 11:55:38 -07:00
Rachel
0e0f4f1cde Identify overlay074 -> options_menu 2024-10-28 11:55:38 -07:00
RavePossum
97ba5d059e Mass rename FieldSystem unk_10 -> taskManager 2024-10-28 11:25:44 -04:00
RavePossum
ce56de29ce Mass rename FieldSystem unk_08 -> bgConfig 2024-10-28 11:03:03 -04:00
RavePossum
3b40e98735 Add field window constants file and label save info magic numbers 2024-10-27 19:56:01 -04:00
RavePossum
c88ab1d636 PR feedback - function names 2024-10-27 19:47:55 -04:00
RavePossum
da3a51ab8d int heapID -> enum HeapId heapID in save window 2024-10-27 19:46:19 -04:00
RavePossum
39ab1c4e93 Scattershot document some pokedex functions used in the save info window (I'm sorry) 2024-10-27 19:46:19 -04:00
RavePossum
3dc2858e34 ov5_021E1D20 -> save_info_window 2024-10-27 19:46:19 -04:00
RavePossum
418f0a5eaa tiny bit of documentation for a related poketch function 2024-10-27 19:46:19 -04:00
RavePossum
3e7e1e2e5c mass rename save info window struct and functions, a bit of surrounding documentation 2024-10-27 19:46:19 -04:00
RavePossum
5fc8cab7ea Document a decent chunk of the save info window 2024-10-27 19:46:19 -04:00
RavePossum
68c31be0e3 Make field save structs transparent 2024-10-27 19:43:10 -04:00
Rachel
83e9746c4e Document and clean up render_window.c 2024-10-27 13:46:56 -07:00
Rachel
cb750ffcfd Identify extern functions in render_window.h 2024-10-27 13:46:56 -07:00
Rachel
36db6a0609 Identify unk_0200DA60 -> render_window 2024-10-27 13:46:56 -07:00
Rachel
042f88d37b Flesh out include/constants/charcode.h with non-JP characters 2024-10-27 12:50:45 -07:00
Rachel
1db0f4f8fc Use NAIX constants in font.c and text.c 2024-10-27 11:52:42 -07:00
h2o-DS
33891b5fe1 Cleaned up PokedexFieldMap
Renamed ov21_021D517C to PokedexFieldMap
Renamed sub_0206B1F0 to VarFlags_HiddenLocationsUnlocked and created corresponding enum
2024-10-26 21:24:39 -04:00
h2o-DS
f0bbbe2993 Cleaned up PokedexEncData
Renamed ov21_021D57B4 to PokedexEncData
Moved structs DungeonCoordinates, FieldCoordinates, and EncounterLocations to PokedexEncData.h
Moved enum PokedexEncFileIndex to the c file.
Created comment descriptions for PokedexEncData
2024-10-26 19:39:34 -04:00
Rachel
4b4f4a9915 Clean up + document menu.c 2024-10-25 23:03:35 -07:00
Rachel
03f85a64fe Identify extern functions in menu.h 2024-10-25 22:50:41 -07:00
Rachel
aed4502ad7 Document struct members for Menu[Template] 2024-10-25 21:49:52 -07:00
h2o-DS
8deecd8dd8 Merge remote-tracking branch 'upstream/main' into zukan_data.narc 2024-10-26 00:11:32 -04:00
h2o-DS
b6c7ee725a PokedexMapDisplay
Named a few more variables
2024-10-25 23:50:32 -04:00
Rachel
34c5755ede Identify unk_02001AF4 -> menu 2024-10-25 20:32:03 -07:00
Rachel
03f89917a2 Clean up + document list_menu.c 2024-10-25 20:02:09 -07:00
Rachel
c875ac6b24 Identify extern functions in list_menu.h 2024-10-25 20:02:09 -07:00
Rachel
0897d93f34 Document ListMenu[Template] struct members and static functions 2024-10-25 20:02:09 -07:00
Rachel
122ee74d2d Identify unk_0200112C -> list_menu and label structs 2024-10-25 20:02:09 -07:00
Rachel
79cf7d5ce9 Clean up string_list.c 2024-10-25 20:02:09 -07:00
Rachel
5599a4b21a Identify unk_02013A04 -> string_list, struct members, extern functions 2024-10-25 20:02:09 -07:00
Rachel
7154f2d0bb Tag gGameVersion and gGameLanguage 2024-10-25 09:34:58 -07:00
Rachel
d586d11aa3 Document and clean up charcode_util.c 2024-10-25 09:23:09 -07:00
Rachel
c62458ab15 Identify extern functions -> charcode_util.h 2024-10-25 08:51:38 -07:00
Rachel
7f48f7faf3 Identify unk_020021B0 -> charcode_util 2024-10-25 08:44:20 -07:00
Rachel
b4d8ed0924
Merge pull request #277 from lhearachel/graphics
Some checks failed
build / build (push) Has been cancelled
Document palette.c and graphics.c
2024-10-24 11:12:05 -07:00
Rachel
f4d97ae37b
Merge pull request #276 from joshua-smith-12/gdb
support GDB debugging on overlays via custom GDB build
2024-10-24 11:04:13 -07:00
Rachel
7820f1d44f Document and clean up graphics.c 2024-10-23 17:07:08 -07:00
Rachel
fa194563da Identify extern functions in graphics.h 2024-10-23 16:42:39 -07:00
Rachel
de256003a2 Document LoadMemberFrom[Open]NARC routines 2024-10-23 16:39:59 -07:00
Rachel
d213734ab1 Document static routines in graphics.c 2024-10-23 16:09:07 -07:00
Rachel
a96c89a124 Identify unk_02006E3C -> graphics 2024-10-23 13:52:26 -07:00
Rachel
97d1986ee1 Collapse NARC struct decl into narc.h, clean up narc.c 2024-10-23 13:48:18 -07:00
Rachel
6a5db63596 Clean up + document palette.c 2024-10-23 13:27:54 -07:00
Rachel
642baf1c7f Identify + document hardware_palette.c 2024-10-23 13:27:54 -07:00
Rachel
5f3e1eb7a0 Identify extern functions in palette.h 2024-10-23 13:27:54 -07:00
Rachel
803799e7bd Document structs declared in palette.h 2024-10-23 13:27:54 -07:00
Rachel
75e11a716f Identify unk_02002F38 -> palette 2024-10-23 13:27:54 -07:00
Joshua Smith
d43f2c4e67 add build option to enable or disable debugging code 2024-10-23 13:52:36 -05:00
h2o-DS
64e1a67765 Merge remote-tracking branch 'upstream/main' into zukan_data.narc 2024-10-22 22:36:47 -04:00
h2o-DS
9d444917dc Identified Map Event Flags 2024-10-22 22:27:40 -04:00
Joshua Smith
37222bb7af pass format across the changed files 2024-10-22 19:12:41 -05:00
Joshua Smith
9fbb2f9a8c disable overlay debugging by default to fix build 2024-10-22 19:11:05 -05:00
Rachel
a9cbdb6a04 Clean up + document Window functions in bg_window.c 2024-10-22 10:40:08 -07:00
Rachel
bc6966faf4 Clean up + document Bitmap functions in bg_window.c 2024-10-22 10:37:10 -07:00
Rachel
90b6ef47f3 Clean up + document BG functions in bg_window.c 2024-10-22 10:37:10 -07:00
Rachel
d07cc27eca Identify extern functions in bg_window.h 2024-10-22 10:37:09 -07:00
Rachel
df3ee01498 Identify UnkStruct_ov84_0223BA5C -> GraphicsModes and document fields 2024-10-22 10:19:33 -07:00
Rachel
8f70ed0d44 Document Window fields 2024-10-22 10:19:30 -07:00
Rachel
738b2edd3d Identify UnkStruct_ov61_0222C884 -> WindowTemplate and document fields 2024-10-22 10:17:49 -07:00
Rachel
8f6b317313 Identify UnkStruct_02018340_t -> BgConfig and document fields 2024-10-22 10:15:00 -07:00
Rachel
85f6ad9c09 Identify UnkStruct_02019304 -> Background and document fields 2024-10-22 10:12:29 -07:00
Rachel
b464aca6b8 Identify UnkStruct_ov97_0222DB78 -> BgTemplate and document fields 2024-10-22 10:08:44 -07:00
Joshua Smith
207d85fdff some code cleanup and commenting to make decisions more clear 2024-10-21 14:41:42 -05:00
Rachel
0293caca8a Identify UnkStruct_0201AE08 -> Bitmap and document fields 2024-10-20 11:59:09 -07:00
Rachel
163050584a Identify unk_02018340 -> bg_window 2024-10-20 11:59:06 -07:00
Joshua Smith
133f80ac2b partial overlay breakpoint support via GDB 2024-10-20 13:43:19 -05:00
Joshua Smith
851e3ab17b backbone for overlay debugging, does not quite work 2024-10-20 13:43:19 -05:00
h2o-DS
b7b9298e21 Merge remote-tracking branch 'upstream/main' into zukan_data.narc 2024-10-20 00:07:37 -04:00
h2o-DS
bdf564f416 Renamed UnkStruct_ov21_021D3320
Renamed UnkStruct_ov21_021D3320 to pokedexStatus
2024-10-19 23:33:17 -04:00
h2o-DS
bffc52cf48 Improved make tool
Improved efficiency of make_enc_platinum.py
Improved access of files in other folders
Renamed UnkStruct_ov21_021D5890 to fieldCoordinates
Renamed UnkStruct_ov21_021D5868 to dungeonCoordinates
Added enums for caughtStatus and encounter gategory
Removed redundant struct UnkStruct_ov21_021D0D80_1
2024-10-19 23:15:03 -04:00
Rachel
eccd14b8c4 Document colored_arrow.c 2024-10-19 18:56:42 -07:00
Rachel
b6ff10c33f Decorate TextPrinters with consts and macros 2024-10-19 18:32:10 -07:00
Rachel
9e5a7ee991 Remove constants/font.h, split definitions over text.h and font.h 2024-10-19 18:07:13 -07:00
Rachel
d7adcdba39 Rename FONT_UNK -> FONT_UNOWN 2024-10-13 15:02:08 -07:00
h2o-DS
304a6714dd Formatted 2024-10-13 12:34:42 -04:00
h2o-DS
e4c73dd999 Generate zukan_enc_platinum.narc
Named a bunch of variables
Created make_pokedex_enc_platinum tool
Added pokedex categories to encounter json files
Changed wildEncountersArchiveID to decimal
2024-10-13 12:19:46 -04:00
Rachel
eed3b86bca Document + clean up text.c 2024-10-13 04:09:29 -07:00
Rachel
3c048b0fa7 Identify unk_0201D670 -> text 2024-10-13 02:43:49 -07:00
Rachel
067aeb690b Document + clean up font.c 2024-10-13 01:38:49 -07:00