Commit Graph

1041 Commits

Author SHA1 Message Date
Rachel
540c749aa4 Document FontWork struct 2024-10-13 00:23:12 -07:00
Rachel
944a93b6d7 Document FontAttributes struct 2024-10-12 16:31:05 -07:00
Rachel
f54b08150b Identify unk_02002B7C -> font 2024-10-12 15:49:24 -07:00
Rachel
12a9417284
Merge pull request #265 from lhearachel/render-text
Some checks failed
build / build (push) Has been cancelled
Document render_text.c
2024-10-08 16:20:56 -07:00
Adrienn Tindall
d41abd35bb Fix nitpicks 2024-10-07 02:43:49 -04:00
Adrienn Tindall
59dd1b6349 Merge branch 'main' into main-adrienntindall 2024-10-06 23:13:44 -04:00
Adrienn Tindall
b21c778ada Requested Changes + Much more documentation 2024-10-01 23:20:30 -04:00
Adrienn Tindall
1aab496bce Document core FieldTask commands related to FieldMap 2024-10-01 12:23:16 -04:00
Rachel
81b0bedbc9 textSpeedLow/High -> Bottom/Top 2024-09-25 19:29:00 -07:00
Rachel
90c4616bb1 Clean up render_text.c 2024-09-25 19:25:42 -07:00
Rachel
de713e9a01 Identify extern functions in render_text.h 2024-09-25 15:46:27 -07:00
Rachel
ea919c828f Identify and document TextGlyph, RenderControlFlags 2024-09-25 15:34:58 -07:00
Rachel
84d5f5483c Document struct members for TextPrinter[Template,Substruct] 2024-09-25 15:00:47 -07:00
Rachel
e92094c0fb Zip component structs and function types into render_text:
- funcptr_0201D834
- struct_0201D738
- struct_0201D834
2024-09-25 13:02:35 -07:00
Rachel
f96d8e4dba Identify unk_02002328 -> render_text 2024-09-25 12:59:15 -07:00
Fexty12573
860248bc84 PR Feedback 2024-09-25 21:21:29 +02:00
Fexty12573
effeafc69c SPLManager tex/pal loading functions 2024-09-25 21:21:28 +02:00
Fexty12573
a2bb6b05b1 Document SPA deserializer 2024-09-25 21:21:28 +02:00
Fexty12573
e0608c7d81 Document parts of SPLManager 2024-09-25 21:21:28 +02:00
Fexty12573
2e821de16e Organize SPL headers and source files 2024-09-25 21:21:28 +02:00
h2o-DS
e77596d92d Applied Polish
Implemented camelCase
Use unicode characters in data.json
Removed double escape from data.json
Gave names to generated message files
2024-09-23 17:25:32 -04:00
h2o-DS
6acead7f46 Identify Pokedex Source Code
Renamed unk_02098988 to pokedex_data_index
Renamed unk_02098700 to pokedex_heightweight
Made variable names within more identifiable
Changed make_pokedex_data.py to accommodate additional types and body shapes
2024-09-02 20:06:04 -04:00
RavePossum
ff37761c8e Document a few more scrcmds, mostly party-related 2024-08-12 11:30:13 -04:00
RavePossum
b45f42765d Mass rename a few battle result functions 2024-08-10 13:53:41 -04:00
RavePossum
5efa0aaece Document battle result scrcmds, rename script manager playerWonBattle -> battleResult 2024-08-10 13:47:32 -04:00
RavePossum
ade60ccf1e Document batch of scrcmds, add comment about WaitABXPadPress directions 2024-08-10 13:42:41 -04:00
Adrienn Tindall
bef2da552a TerrainCollisionManager
Name is open to suggestions
2024-08-06 14:16:58 -04:00
Adrienn Tindall
a844494a36 Name FieldSystem->mapLoadMode, Journal 2024-08-05 11:29:01 -04:00
Adrienn Tindall
7fc0839301 Map Load Type Constants 2024-07-31 16:44:23 -04:00
Rachel
e3e56040e9
Merge pull request #257 from Fexty12573/spl
Match SPL
2024-07-29 16:19:56 -07:00
RavePossum
765930de28 Add constgen enum for poketch apps 2024-07-22 09:23:21 -04:00
RavePossum
af9cd508ab Document a batch of script commands 2024-07-22 09:23:21 -04:00
Fexty12573
ff7d189af6 Mostly decompile spl 2024-07-17 16:27:59 +02:00
Fexty12573
ae58a0c00c PR Feedback: AddTable -> Extend, field/parameter naming 2024-07-08 19:39:22 +02:00
Fexty12573
6334d6fbd2 clang format 2024-07-07 11:09:04 +02:00
Fexty12573
fee17fe9ad Fix pointer alignment 2024-07-07 10:39:01 +02:00
Fexty12573
862e363271 Update terminology (cell -> sprite, char -> tiles 2024-07-07 10:39:01 +02:00
Fexty12573
97932c582a Move sprite resource structs to header and remove decl files 2024-07-07 10:38:52 +02:00
Fexty12573
737ba286c6 SpriteResource cleanup 2024-07-07 10:18:43 +02:00
Fexty12573
ba2810be14 Document SpriteResourceList related functions 2024-07-07 10:15:35 +02:00
Fexty12573
be8752bb39 Document SpriteResourceTable 2024-07-07 10:14:16 +02:00
Fexty12573
2ff050bdab Document various sprite resource getters and setters 2024-07-07 10:13:35 +02:00
Fexty12573
a5e1e0b01b Adjust functions to use enums instead of int 2024-07-07 10:13:10 +02:00
Fexty12573
c998a13313 Document remaining functions for adding sprite resources 2024-07-07 10:13:10 +02:00
Fexty12573
f38ccd8af1 Document some functions for adding resources to SpriteResourceCollections 2024-07-07 10:12:57 +02:00
Fexty12573
23e9b25e86 Document most static sprite resource util functions 2024-07-07 10:12:57 +02:00
Fexty12573
48058a910e Document SpriteResource functions 2024-07-07 10:12:57 +02:00
Fexty12573
1204c20beb Document SpriteResourceCollection initialization 2024-07-07 10:01:23 +02:00
Fexty12573
e0a28e0099 Rename sprite util files and struct 2024-07-07 10:01:08 +02:00
Rachel
36045f723b Format the source tree 2024-07-06 14:40:34 -07:00
Rachel
f77ba49579 Modify array-of-array/struct decls and BOOL funcptrs throughout ahead of clang-format run 2024-07-05 17:14:32 -07:00
Fexty12573
89099a699c Remove duplicate includes 2024-06-30 10:17:55 +02:00
Fexty12573
1b4fa0f4c8 Use enums where appropriate 2024-06-30 10:17:55 +02:00
Fexty12573
fb280a33c2 Align pointers 2024-06-30 10:17:55 +02:00
Fexty12573
90f74076c3 Rename files accordingly 2024-06-30 10:17:55 +02:00
Fexty12573
d23322852c Rename GraphicElement* -> CellActor* 2024-06-30 10:17:55 +02:00
Fexty12573
a870c20218 Gfx elem cleanup 2024-06-30 10:17:32 +02:00
Fexty12573
27d31edbb5 Document remaining gfx elem functions 2024-06-30 10:17:32 +02:00
Fexty12573
d2191891ab Document simple getter/setter functions 2024-06-30 10:17:31 +02:00
Fexty12573
1957a5fafa Document CellActorResourceData 2024-06-30 10:17:12 +02:00
Fexty12573
396ed5e9cd Documented last static functions + cleanup 2024-06-30 10:17:12 +02:00
Fexty12573
30c14ed5d6 More documenting struct fields and cell animations 2024-06-30 10:17:12 +02:00
Fexty12573
9233307c7c CellActor struct rename part 2 2024-06-30 10:17:12 +02:00
Fexty12573
969657753c Rename some CellActor structs 2024-06-30 10:17:12 +02:00
Fexty12573
a4a3fe52be Document more GraphicElementManager stuff 2024-06-30 10:17:12 +02:00
Fexty12573
526a6f6d5e Document GraphicElementManager stack management functions 2024-06-30 10:17:12 +02:00
Fexty12573
3727cdf545 Label some GraphicElementManager init stuff 2024-06-30 10:17:12 +02:00
Fexty12573
291ddf2c3b Start documenting cell actor stuff 2024-06-30 10:17:12 +02:00
Rachel
3a7bd2c2a9
Merge pull request #238 from Fexty12573/easy3d-system
Document 3D Abstraction Layer
2024-06-29 17:56:04 -07:00
Rachel
10e3b2cb11
Merge pull request #242 from cbt6/field-scripts
Name field script files
2024-06-29 12:12:37 -07:00
Rachel
fcc44b90d1
Merge pull request #240 from Fexty12573/resource-manager
Document Resource Manager + Texture Resource Manager (Cell Actor Part 1)
2024-06-29 12:10:23 -07:00
Fexty12573
1eeff67a58 PR Feedback: rename functions and general cleanup 2024-06-29 13:47:09 +02:00
Fexty12573
55410866e9 PR Feedback: Rename ResourceManager -> ResourceCollection 2024-06-29 13:41:16 +02:00
Fexty12573
19354698de PR Feedback: link docs in index and cleanup 2024-06-29 13:23:45 +02:00
cbt6
b0440453b6 Use field script naix constants 2024-06-29 14:18:16 +08:00
cbt6
7bcbe42908 Rename map scripts to init scripts 2024-06-29 14:07:10 +08:00
Rachel
f59f742e0f
Merge pull request #239 from shricubed/savestate
Documented SaveState struct and relevant functions
2024-06-28 22:54:04 -07:00
shricubed
6b058225c4 Fixed variable names in save_player 2024-06-28 09:50:50 -04:00
RavePossum
b8b63a7ae0 Rename unk_0203E880 -> script_manager 2024-06-27 23:02:21 -04:00
RavePossum
25ed86e431 PR feedback - main/sub contexts, GF assert simplification, a few renames 2024-06-27 22:48:51 -04:00
Fexty12573
69afdf1c35 Slight cleanup 2024-06-27 15:35:24 +02:00
Fexty12573
f3c5559343 Struct cleanup 2024-06-27 15:26:14 +02:00
Fexty12573
48c9413ab9 Document remaining TextureResourceManager functions 2024-06-27 14:28:57 +02:00
Fexty12573
7e231694fb Begin documenting TextureResourceManager 2024-06-27 13:26:20 +02:00
Fexty12573
1ac80e5ead Document Resource functions 2024-06-27 11:11:08 +02:00
Fexty12573
5ff7170bce Document ResourceManager functions 2024-06-27 11:06:52 +02:00
Fexty12573
826537d0e9 Rename resource manager files 2024-06-27 09:34:26 +02:00
shricubed
14c30543e1 Renamed SaveState to PlayerSave and fixed relevant references 2024-06-26 13:40:58 -04:00
RavePossum
873e60d400 GetScriptMember->GetScriptMemberPtr 2024-06-24 23:46:10 -04:00
RavePossum
52da4e9219 Rename function that was named incorrectly, TryGetVarPointer->TryGetVar 2024-06-24 19:02:10 -04:00
shricubed
2910839023
Merge branch 'main' into savestate 2024-06-24 16:53:40 -04:00
shricubed
131fbd1962 Documented SaveState struct and relevant functions 2024-06-24 16:46:51 -04:00
Fexty12573
e25c7d3fd8 Document Easy3DObject functions 2024-06-24 09:51:42 +02:00
Fexty12573
1cb54855b6 Document Easy3DAnim functions 2024-06-24 09:47:09 +02:00
Fexty12573
203a7ad20b Document Easy3DModel functions 2024-06-24 09:40:59 +02:00
Fexty12573
1277ae6c1e Rename easy3d object structs 2024-06-24 09:38:19 +02:00
Fexty12573
cab3b2c116 Rename easy3d_object files 2024-06-24 09:35:38 +02:00
Fexty12573
557c93f9f8 Easy3D cleanup 2024-06-24 09:28:48 +02:00
Fexty12573
2ddeb2396d Rename Easy3D files 2024-06-24 09:28:48 +02:00
Fexty12573
f1a60f5a49 Basic documentation of Easy3D system 2024-06-24 09:28:14 +02:00
RavePossum
2397f33aba Document CommonScript and ReturnLocal, isCommonScript->commonScriptActive 2024-06-23 23:49:34 -04:00
RavePossum
de670ccae5 GetDoubleBattleTrainerIndex -> GetTrainerBattlerIndex 2024-06-23 23:49:34 -04:00
RavePossum
b98ba74d96 PR feedback - inline comments, unnecessary parens, conjunction, param names 2024-06-23 23:49:34 -04:00
RavePossum
b39505e3b5 Parameter name discrepancy in GetTrainerID 2024-06-23 23:49:34 -04:00
RavePossum
32a1c2acee Mass rename named script member constants 2024-06-23 23:49:34 -04:00
RavePossum
bf0c7a6f28 Mass renames for script manager 2024-06-23 23:45:40 -04:00
RavePossum
5d1b785722 Begin to document ScriptManager, a couple script commands, and scrcmd constgen 2024-06-23 23:42:51 -04:00
RavePossum
3c6d338e9a make UnkStructs 0203EF60 and 0203E8B0 transparent 2024-06-23 23:42:51 -04:00
Rachel
16c3fb89fe
Merge pull request #235 from lhearachel/game-records
Document game_records.c
2024-06-23 18:16:07 -07:00
Rachel
45e1e1f416
Merge pull request #237 from shricubed/healthbar
Documented + named more functions in healthbar.c
2024-06-23 12:30:59 -07:00
Rachel
d73c2ecef1
Merge pull request #221 from tillgeissler/wild-encounter-data
WIP: Document wild encounter data structure
2024-06-23 11:26:59 -07:00
Rachel
9daf10bbf6 Name all struct members and function params of type GameRecords* 2024-06-23 01:17:54 -07:00
Rachel
7d3e6b5759 Rename IncrementGameStat -> IncrementGameRecord and battle-relevant records 2024-06-23 01:15:54 -07:00
Rachel
170ac5d5f9 Miscellaneous file cleanup 2024-06-23 01:12:44 -07:00
Rachel
2df0c5aac6 Document Trainer Score incrementing functions 2024-06-23 01:12:20 -07:00
Rachel
4dcb5d2f33 Document basic accessors for GameRecords 2024-06-23 01:11:12 -07:00
Rachel
bc479b9a5d Document encoding seed substruct 2024-06-23 01:11:12 -07:00
Rachel
dde21df7ed Document SumBytes, rename EncodeData and DecodeData 2024-06-23 01:11:12 -07:00
Rachel
d7927ec43d Document primary GameRecords struct members 2024-06-23 01:11:12 -07:00
Rachel
18d4b7b0e8 Name param0 -> records in game_records 2024-06-23 01:11:12 -07:00
Rachel
cda12a28a9 Document GameRecords_Init, GameRecords_SaveSize, SaveData_GetGameRecordsPtr 2024-06-23 01:11:12 -07:00
Rachel
b6471d27b3 Rename UnkStruct_0202CD88 -> GameRecords 2024-06-23 01:11:12 -07:00
Rachel
00013b25eb Identify unk_0202CD50 -> game_records 2024-06-23 01:11:12 -07:00
tillgeissler
ac82986984 Add constants for Unown forms 2024-06-23 00:28:46 +02:00
Rachel
552d6d3fc3
Merge pull request #234 from zkitX/librarytv
Document LibraryTV
2024-06-22 14:19:00 -07:00
tillgeissler
617b9e051d Merge branch 'main' into wild-encounter-data 2024-06-22 03:12:21 +02:00
Evan
3f54005802
Merge branch 'main' into librarytv 2024-06-21 18:16:09 -04:00
Rachel
807da949ab
Merge pull request #233 from TrainerRiley/rename_poketch_system_vars
Rename all PoketchSystem, PoketchData, and PoketchButtonManager variables in the codebase
2024-06-21 15:10:38 -07:00
Evan
d1f51e9d1e
Document LibraryTV 2024-06-21 17:30:40 -04:00
Trainer Riley
3ae307834a Rename all PoketchButtonManager variables in the codebase 2024-06-21 13:03:36 -07:00
Trainer Riley
79fe26b4e1 Rename all PoketchData variables in the codebase 2024-06-21 12:48:39 -07:00
Trainer Riley
24df9d1866 Rename all PoketchSystem variables in the codebase 2024-06-21 12:33:03 -07:00
Evan
bc50532d20
Merge branch 'main' into dwwarp 2024-06-21 14:54:09 -04:00
Evan
86ac74e97a
Fix: Clean up dw_warp more. 2024-06-21 14:16:15 -04:00
Evan
f85cb30847
Clean up the documentation of dw_warp. 2024-06-21 14:16:14 -04:00
Evan
f38e97b37b
Document the distortion world warp overlay. 2024-06-21 14:15:53 -04:00
Fexty12573
5be7310c57 Note about task priority, renamed 2 functions and files 2024-06-21 18:21:29 +02:00
Fexty12573
b173093b99 PR Feedback 2: Some small cleanup 2024-06-21 18:20:46 +02:00
Fexty12573
3c96d1ab7f PR Feedback: Move struct definitions and fix includes 2024-06-21 18:20:45 +02:00
Fexty12573
99e470f8ed Document utility task functions 2024-06-21 18:15:01 +02:00
Fexty12573
5651300851 SysTaskManager cleanup 2024-06-21 18:15:01 +02:00
Fexty12573
32fc35f958 Document the remaining SysTaskManager functions 2024-06-21 18:15:01 +02:00
Fexty12573
e5fa9ea688 Document SysTaskManager initialization 2024-06-21 18:15:01 +02:00
Fexty12573
df177f7d34 Rename sys_task_manager files 2024-06-21 18:15:01 +02:00
Rachel
310478f899
Merge pull request #209 from TrainerRiley/poketch_system_part_2
Poketch System Part 2
2024-06-21 07:53:20 -07:00
Rachel
a015d5d476
Merge pull request #229 from Fexty12573/bag
Document Bag Logic
2024-06-21 07:38:03 -07:00
Fexty12573
461001bcfc PR feedback: fixed includes, constants, formatting, naming 2024-06-21 07:38:54 +02:00
Fexty12573
def054ca69 Document remaining bag logic functions 2024-06-21 07:38:54 +02:00
Fexty12573
aad7d79be0 Document bag functions for adding and removing items 2024-06-21 07:38:54 +02:00
Fexty12573
b48d5d75db Document internal bag functions 2024-06-21 07:38:54 +02:00
Fexty12573
f9fdd2c96e Bag init functions 2024-06-21 07:38:54 +02:00
Fexty12573
772fbe7450 Rename Bag struct 2024-06-21 07:38:54 +02:00
Fexty12573
d23b72bc38 Rename bag files and remove decl files 2024-06-21 07:38:54 +02:00
Fexty12573
e19aa86898 PR Feedback: duplicate includes, scope blocks, organization 2024-06-21 07:38:20 +02:00
Fexty12573
e558c459a9 sBufferMode -> gBufferMode 2024-06-21 07:38:20 +02:00
Fexty12573
196772122e Rename variables/fields where Camera is used 2024-06-21 07:38:20 +02:00
Fexty12573
e00ef37971 Clean up camera function declarations 2024-06-21 07:38:20 +02:00
Fexty12573
021b1866e2 Document camera history system 2024-06-21 07:38:20 +02:00
Fexty12573
5376cf977f Document smaller camera functions 2024-06-21 07:38:20 +02:00
Fexty12573
edb735f7fc Finish documenting camera init functions 2024-06-21 07:38:20 +02:00
Fexty12573
20c4dbb6b6 Document camera init functions 2024-06-21 07:38:20 +02:00
Fexty12573
6393915234 Document camera view and projection parameters 2024-06-21 07:38:20 +02:00
Fexty12573
64b250a7f0 Rename camera struct and document basic functions 2024-06-21 07:38:20 +02:00
Fexty12573
0856417f39 Rename camera files 2024-06-21 07:38:20 +02:00
Trainer Riley
83915aceb4 Rename Poketch Event enums 2024-06-20 19:02:24 -07:00
shricubed
d23f17a538 ov16_02267060 -> Healthbar_LoadCellActor 2024-06-20 09:58:41 -04:00
Trainer Riley
450ff9b6e2 more name corrections, and renamed several consts with more underscore/word separation 2024-06-19 21:55:26 -07:00
Trainer Riley
0580004e9f Addressed remaining comments on PR (a couple missed extra parentheses & renaming a constant from poketch_button.h 2024-06-19 20:27:55 -07:00
Trainer Riley
faf359cdc1 Some functions and variables renamed for clarity, unnecessary parentheses removed, and PoketchSystem_IsAppShutdown simplified 2024-06-19 19:46:21 -07:00
Rachel
3aff601011
Merge pull request #225 from ravepossum/script_command_followup
Script command follow-up
2024-06-19 18:47:11 -07:00
Fexty12573
e23efa2e39 Rename struct fields and variables accordingly 2024-06-18 20:13:25 +02:00
Fexty12573
7273e7aa5a Document motion blur 2024-06-18 20:11:47 +02:00
Fexty12573
85a40a3c31 Rename motion blur files 2024-06-18 20:09:01 +02:00
Trainer Riley
32815d6a72 Replaced touch with hold in function name 2024-06-18 00:40:41 -07:00
Trainer Riley
2a1303bb0b FieldSystem_GetPoketchSystem 2024-06-18 00:11:28 -07:00
Trainer Riley
c5a4ec7cf5 Functions renamed to address github comments, fieldSys parameter renamed back to fieldSystem 2024-06-18 00:11:05 -07:00
Trainer Riley
3ae55730cb Remove (accidentally re-added) old field system header 2024-06-18 00:11:05 -07:00
Trainer Riley
fa6dff6069 Fixups to conflicts/errors missed during branch repair 2024-06-18 00:11:05 -07:00
Trainer Riley
647fb04706 More Poketch System documentation 2024-06-18 00:10:33 -07:00
Trainer Riley
a170251cee Resolve merge conflicts and move changes to feature branch 2024-06-18 00:10:33 -07:00
Trainer Riley
72f06fc7d9 More Poketch System documentation 2024-06-18 00:10:33 -07:00
Trainer Riley
df0fa9bc20 Poketch Player moved function 2024-06-18 00:10:32 -07:00
Trainer Riley
75da1f3a5e more poketch system variables 2024-06-18 00:10:32 -07:00
Trainer Riley
c9b927ac57 poketch sound effect function 2024-06-18 00:10:32 -07:00
Trainer Riley
e56149fddc Some Poketch System button functions 2024-06-18 00:10:32 -07:00
Trainer Riley
49b8b9f244 Documented most of the static functions in poketch_system.c 2024-06-18 00:10:31 -07:00
Trainer Riley
d3335532fc Resolve merge conflicts and move changes to feature branch 2024-06-18 00:09:53 -07:00
Trainer Riley
4d1ff346c4 More Poketch System documentation 2024-06-18 00:09:25 -07:00
RavePossum
6d6e5a4892 move sdat constants from .h file to .json and include it in the scrcmd asm file 2024-06-18 00:25:33 -04:00
RavePossum
7a665c426a PR feedback: macro arg countdownVarID, GetVar->GetVarPointer 2024-06-18 00:25:33 -04:00
RavePossum
5033a6a34c Name scrcmd.c and .h 2024-06-18 00:25:33 -04:00
Rachel
6d682931f0
Merge pull request #219 from Fexty12573/encounter-effect
Document Encounter Effects
2024-06-17 18:57:01 -07:00
tillgeissler
8d39b5fc85 Document many more functions and scructs for WildEncounters 2024-06-18 02:44:19 +02:00
tillgeissler
f344424ed9 Rename WaterEncounterData -> WaterEncounter; GrassEncounterData -> GrassEncounter 2024-06-18 02:10:47 +02:00
tillgeissler
7e611b9357 Add fishing Rod type enum 2024-06-18 02:08:15 +02:00
tillgeissler
3bddfb91e5 Rename encounter_data.h -> wild_encounters.h 2024-06-17 21:14:23 +02:00
tillgeissler
bf083bb18d Replace char by s8 type 2024-06-16 20:59:56 +02:00
tillgeissler
af8e4634b7 fix SBIN checksum comparison 2024-06-16 18:45:54 +02:00
Fexty12573
61708a99e1 PR Feedback: rename fields, params, functions and some restructuring 2024-06-16 11:44:16 +02:00
Fexty12573
3951b9f24a PR Feedback: rename files and reorganize structs 2024-06-16 11:03:40 +02:00