Derek Hensley
f26e77ba40
More General Cleanup ( #1638 )
...
* LINKER_FILES in makefile
* COLPOLY_GET_NORMAL
* math header
* libc
* M_PI for cosf and sinf files
* MAXFLOAT
* Revert "MAXFLOAT"
This reverts commit 96b75ffaa8
.
* Remove SHT_MINV
* SHRT_MAX
* Add M_PI
* Angle macros
* f suffix
* Format
2024-06-03 14:33:03 -04:00
Anghelo Carvajal
666cb6ad4a
More header cleanup ( #1604 )
...
* low hanging fruits on variables.h
* z_actor functions
* Move RomFile to z64object.h
* Revert "z_actor functions"
This reverts commit aa99967d16
.
* yeet
* z64actor_dlftbls.h
* Move object segment declarations to object_table.c
* Move Camera functions
* z64nmi_buff.h
* fix merge
* su_mtx.h, sys_cmpdma.h and sys_initial_check.h
* sys_ucode.h
* sys_flashrom.h
* Remove unnecessary includes
* z64kanfont.h
* flg_set.h
* z64DLF.h
* z64lifemeter.h
* z64path.h
* format
* ObjectOverlay
* bss
* Yeet ObjectOverlay
* review
* review
* format
* bss
* z64font.h
2024-04-25 18:16:47 -07:00
Derek Hensley
db8f5f5ccc
General Cleanup 2 ( #1538 )
...
* Cleanup
* Cleanup variables.h
* Cleanup fault headers
* Some includes/headers cleanup
* Libultra btn wrappers
* Mark differences to original libultra headers
* Remove duplicate include in fault
* format
* Update include/PR/os_voice.h
Co-authored-by: Tom Overton <tom-overton@users.noreply.github.com>
* align
---------
Co-authored-by: Tom Overton <tom-overton@users.noreply.github.com>
2024-01-28 21:27:50 -03:00
Derek Hensley
fe6494187e
Text Extraction + some Message Docs ( #1530 )
...
* Some Decoder WIPs
* Improvements
* POC
* Fix bss
* another newline
* Staff OK
* Cleanup + fix progress script
* script cleanup
* Some docs
* makefile
* Extract text from extract_assets.py
* More docs
* Even more docs
* Other message assets
* Small cleanups
* Clean up decoders/encoders
* Message_SetupLoadItemIcon -> Message_DecodeHeader
* Some more docs
* Remove mkdmadata
* Fade Skippable
* More cmd docs
* 1 left
* Last notes
* HS_TIMER -> HS_TIME
* More general docs
* Format
* Note the charmap conversion for buttons in message_data_fmt_nes.h
* Remove trailing whitespace
* Small fixes
* PR
2024-01-19 21:16:57 -03:00
Derek Hensley
5acaec4486
Fix ultratypes types ( #1454 )
...
* Fix ultratypes types
* Add back size_t and NULL
* Callocs
* Callocs pt 2
* bool
* STDC version checks
2023-11-16 16:01:42 +11:00
Anghelo Carvajal
f276d2b0e6
Enable `-Wint-conversion` warning ( #1266 )
...
* fixing some warnings
* more pointer fixing
* Use `-Wno-int-conversion` on audio files
* more progress
* fix
* more pointer fixes
* kinda progress
* Fix remaining casts
* Format
* fix merge
* fix warnings
* fix parameter
* use SEGMENT_ROM_START_OFFSET a bit more
* format
* fix audio warnings
* some more fixes
* fix en_go
* review
* review
* whoops, missing cast
* review
* review
* ->data
* format
* review
* fix
* asPtr
* fix
* Update src/code/sched.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* review
* fix in EnDnh
* improve format
* engo
* format
* fix
* format
* Update include/z64.h
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* TexturePtr
* fix warnings
* fix warnings
* format
* fix
* review
---------
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2023-11-02 10:07:38 +11:00
Derek Hensley
9e72c240d9
Z_message (2 NON_MATCHINGS) ( #1398 )
...
* matched func_8014D62C
* matched func_8014D304
* matched func_80149048
* matched func_80159438 & func_8014CDF0
* matched Message_GetState
* matched func_80152CAC
* matched func_80149454
* matched func_801491DC
* matched func_80150A84
* matched func_801496C8
* matched func_80149C18
* func_8014995C progress
* matched 8014995C
* matched func_80153EF0
* fix MessageContext lottery guess array size to match func_801496C8
* matched 80148D64
* matched func_8014AAD0
* progress func_8014CFDC
* matched func_8014CFDC
* progress func_801514B0
* progress#2 func_801514B0
* matched func_801514B0
* progress func_8014C70C
* Progress on few functions
* fix some variables & func name
* change unk11F00 type and usages
* func_8014C70C matched
* match func_8015268c
* fix building
* format
* engi message WIP
* enums, cleanup
* missed one
* oops
* even more enums
* another oops
* func_8015E7EC NON_MATCHING
* cleanup Message_DrawTextCredits
* MSGMODE cleanup
* import sFontWidths
* Import z_message_nes data
* Message_DrawTextNES draft
* fix types in message_nes
* Message_DrawTextNES NON_EQUIVALENT
* Message_DrawTextNES improvement
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* Import bss
* fixes
* Data clean up
* Delete Message_Decode m2c output
* Readd Message_Update data
* import data
* func declaration
* cleanup
* Language enum
* fix naming, some flags
* Update functions and variables related to the bombers notebook event queue.
* Update renamed variables.txt
* format
* attempt Message_DecodeCredits
* begin Message_DecodeNES
* decode cleanup
* incremental improvements on Message_DecodeNES
* oops
* more progress
* first attempt at Message_Decode
* cleanup Message_Decode
* Message_Decode progress
* good progress on decode loops
* more progress
* good Message_Decode progress, thank anon
* decode creep
* big improvements, thanks anon/hatal
* small nes improvement
* cleanup
* match Message_DrawTextDefault, big progress on Message_DrawTextNES
* namefixer for save structs
* Some cleanup/fix non-equivalencies in decodes
* cleanup
* Small cleanup
* func_80150A84
* TextBoxType enum usage
* Format
* match Message_DecodeCredit by Maide, small improvement in Message_DrawTextNES
* comments
* some docs
* cleanup, improve matches
* Some improvement
Co-Authored-By: Santiago <github-santaclose-noreplay@NA.com>
* Fixes
* Missed
* Match Message_DrawTextNES
* Move functions to z64message.h
* string macros
* Small cleanups
* 1 more small thing
* decompme scratches
* Cleanup
* Item enum
* PR
* SEGMENT_ROM_START
* PR
* format
* ocarina cleanup
---------
Co-authored-by: andzura <andzura@andzura.fr>
Co-authored-by: Angie <angheloalf95@gmail.com>
Co-authored-by: engineer124 <engineer124engineer124@gmail.com>
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Co-authored-by: Zoey Zolotova <zoey.zolotova@gmail.com>
Co-authored-by: Santiago <github-santaclose-noreplay@NA.com>
2023-10-04 08:51:45 +11:00
Derek Hensley
2e87212038
z_message_staff (1 NON-MATCHING) ( #1376 )
...
* z_message_staff from z_message branch
* Use highscores array
* Clean up
* format
* PR cleanup
* PR Review
* Fix bss
* Fix bss
2023-09-24 18:46:07 +10:00
Tom Overton
bea420f8a1
Create an enum for the various `face_reaction` reaction sets ( #1299 )
...
* Create an enum for the various `face_reaction` reaction sets
* Respond to reviews
* Add blank line
2023-06-20 17:50:15 +10:00
Derek Hensley
8c961f2b16
Play_Hireso (Bombers Notebook) OK w/ Docs ( #1235 )
...
* Start
* Try every function
* Import data
* Docs from message branch
* Fix non-equivalency for func_8016AE1C
* Everything looks NON_MATCHING
* Some more clean up and docs
* Some cleanup
* Small format
* Small improvements here and there
* Match a couple
* Anotha one
* and than there was 1
* and than there were none :)
* Lots of docs
* Finish code docs
* schedule static
* Macros + cleanup
* text ids array cleanup
* Entries cleanup
* Use sBombersNotebookEntries in macros
* Some docs from message branch
* eventIndex -> event
* Remove outdated comments
* PR
* BOMBERS_NOTEBOOK_ENTRY_SIZE
* tables
* Token pasting to simplify
* Some more fixes
* PR pt 1
* Format
* Bring over BombersNotebook docs from z_message branch
Co-authored-by: ZoeyZolotova <zoey.zolotova@gmail.com>
* Full enum glory
* Format
* Name weekeventregs
* typo
* Some comments
* bss
* Review
* bss
* Update src/code/z_play_hireso.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* Fix
* Namefixer
* bss
* Format
* 0 = 0x0000
---------
Co-authored-by: ZoeyZolotova <zoey.zolotova@gmail.com>
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2023-06-06 10:54:50 -04:00
Derek Hensley
9bb978527f
Misc Cleanup 14 ( #1214 )
...
* bgId
* z64scene.h whitespace
* SubS_ComputeTrackPointRot casts
* Macros cleanup
* ifs
* Empty Loops
* Lights_FindBufSlot void
* SkelAnime_GetFrameData
* };
* Struct inits
* fs
* @todo
* Bug comments
* EnPofusen and ObjUm
* Trailing comma
* Revert "bgId"
This reverts commit eea073c5ac
.
* Revert "z64scene.h whitespace"
This reverts commit 399fd57550
.
* Revert "SubS_ComputeTrackPointRot casts"
This reverts commit dea896c874
.
* FAKE
* Review
* Format
2023-03-21 11:12:22 -03:00
engineer124
a17949e730
Document z_en_time_tag ( #1140 )
...
* time-tag docs
* simplify enums
* PR Reviews
* PR Suggestions
* small change
* small fix
* PR Suggestions
* add extra func ref
* rm raw text from first actor I decompiled
* Stock Pot Inn
* fix master merge
2023-03-16 13:47:38 +11:00
Anghelo Carvajal
bd373940ac
`z_player_lib`: Part 2 ( #938 )
...
* preparations
* import data
* PLAYER_STATE1
* PLAYER_STATE2
* PLAYER_STATE3
* import bss
* format stuff
* bss cleanup
* more cleaning and some naming
* face
* cleaning up link human object a bit
* Remove PHYSICAL_TO_VIRTUAL2
* Update src/code/z_player_lib.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* review
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* format
* /* CAT */
Co-authored-by: Isghj <42048411+isghj5@users.noreply.github.com>
* naming some stuff on objects
* format
* invert flags endian
* review
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
* format
* drawmask
Co-authored-by: Isghj <42048411+isghj5@users.noreply.github.com>
* naming
* another round of human object naming
* enum renames
* sActionModelGroups and use enum as types
* PlayerAnimType
* PLAYER_MODELTYPE_
* determined ranges of PlayerModelType
* name PLAYER_MODELGROUP_DEFAULT
* format
* sheath
* dlist groups placeholder namse
* PLAYER_MODELGROUP_BOTTLE
* Some fierce deity naming
* Right hands
* zora skel dlists
* deku limb dlists
* left hands
* name most modelgroups
* more hand naming
* regs as dec
* fix in horse
* Use BUTTON_ITEM_EQUIP macro
* review
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
* reformat D_801AED58
* Sword sheaths
* swords and shields
* Update src/overlays/actors/ovl_Arms_Hook/z_arms_hook.c
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
* playerForm on Player_DrawImpl
* fomat
* Update src/code/z_player_lib.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* Update assets/xml/objects/gameplay_keep.xml
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* review
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* VIRTUAL_TO_PHYSICAL(SEGMENTED_TO_VIRTUAL(gEffBubble1Tex))
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* singular limb enum names
* fix bss
* Update src/overlays/actors/ovl_Arms_Hook/z_arms_hook.c
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
* review
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
* name goron shielding limbs
* name limb
* Update src/code/z_player_lib.c
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
* bss
* bss
* format
* namefixer
* bss
* bss
* bss
* bss
* format
* bss
* review
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
* fix bss
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Co-authored-by: Isghj <42048411+isghj5@users.noreply.github.com>
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2022-10-15 19:12:01 -03:00
Alejandro Asenjo
4693978015
ovl_Shot_Sun Decompiled ( #905 )
...
* matching functions, warnings and data pending.
* ovl_Shot_Sun Decompiled
* space
* pr review
* unk1202E -> lastPlayedSong Rename
* defines
* OCARINA_SONG enums
* format
* OCARINA_SONG Enums
* pr review
* pr review
2022-07-24 10:15:16 -04:00
Anghelo Carvajal
addfe3a613
Decomp `Message_GetState`, add `TextState` enum and some header reorganization ( #919 )
...
* Message_GetState
* Rename msgCtx->msgLength
* Replace some enums
* TEXT_STATE_CLOSING
* use enum on switches
* use enum when assigning to a variable
* some minor cleanups
* minor cleanup
* TEXT_STATE_CHOICE
* remove unused temp
* z64message.h and z64view.h
* steal some stuff from OoT
* add some stuff to namefixer
* fix shift
* minor doc comment
* Update MessageContext struct from andzura's branch
Co-authored-by: Andzura <11079691+Andzura@users.noreply.github.com>
* some other TextState uses I missed
* format
* statetimer in dec
* review
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* review
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* review
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
* format
* Batch () commit
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
* review
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
* format
* bss
* use text state defines on new actors
* fix matching
* bss
Co-authored-by: Andzura <11079691+Andzura@users.noreply.github.com>
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
2022-07-22 20:51:20 +01:00