Commit Graph
1521 Commits
Author SHA1 Message Date
David BenepeandGitHub f04232693a Merge pull request #395 from DavidSM64/smallfixes
Some minor fixes
2023-06-11 14:19:21 -05:00
David f356eb04e1 Some minor fixes 2023-06-11 14:10:16 -05:00
FazanaandGitHub 4d668a1ef4 Lots of Labelling (#394)
* Update Makefile

* rename object stack tracing

* no

* name the timer of pure unadulterated rage

* rename rendering

* So much

* Label boss racer anims

* organise boss racers

* remove some unused funcs from headers

* dialogue

* there we go

* Update vehicle_bluey.c

* Update README.md

* quick fixes

* quicker fixes
2023-05-20 23:03:06 +01:00
df514e5f4e Matches, and split game.c into two (#393)
* Cleanup func_8007B46C, and WIP func_800143A8

* Match func_800143A8

* Match render_fade_circle and put the WIP func_8007CDC0

* Near match func_800B3740

* Add decomp me links to WIP funcs, and fix previous commit.

* Match func_800B3740

* Matched render_fade_waves

* Much better score for func_80066CDC

* WIP func_80080580

* Minor work in progress being saved

* Finish __osFinalrom naming mixup

* Move weather and particles rodata to fix a file split.

* Split game.c into another file thread3_main.c

* Update src/camera.c

Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>

* Update src/fade_transition.c

Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>

* Update src/fade_transition.c

Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>

* Update src/objects.c

Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>

* Update src/objects.c

Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>

* Update src/objects.c

Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>

* Update src/objects.c

Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>

---------

Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>
2023-05-19 13:13:26 -04:00
FazanaandGitHub 9aff97c71e Organise textures_sprites.c with macros (#392)
* Update object_functions.c

* step 1

* stage 2

* stage 3

* Update particles.h

* stage 3

* Update particles.h

* Update particles.h

* gave preliminary names to things that have obvious looking properties

* rename camera strusct cars

* last minute changes

* rename draw commands

* Add macros for render mode tables

* rename

* Make them grouped entries

* fix some oopsies and name the draw tables

* funny flag

* name another flag

* comment render modes

* Update objects.c

* water

* Fix oopsie regarding viewports in tracks.c

* rename unknown_B7B30.c

surprised I hadn't done this earlier

* Fill some gaps I should've filled in yonks ago

* Try again with the assert rename

I should've known there was already a file called that lol
2023-05-17 18:48:28 +01:00
FazanaandGitHub 1039c9f753 Clean up particles a bit (#391)
* Update object_functions.c

* step 1

* stage 2

* stage 3

* Update particles.h

* stage 3

* Update particles.h

* Update particles.h

* gave preliminary names to things that have obvious looking properties

* rename camera strusct cars

* last minute changes
2023-05-15 19:20:10 +01:00
FazanaandGitHub 29307ec75a Clean up Object struct quite a lot (#390)
* yo I finally went and figured out what the majority of unk6 is lmao

* rename entry

* man honestly game.c is a mess they really did just throw every old thing here

* Name some initialiser funcs

* more

* destroyed another temp struct

* potassium

* tweak

* pain

* it never ends

* a new pain arises

* Update README.md

* quick fixes

* add colour macro

* name a func

* Object78 is much cleaner now.

* object struct cleanup for particles

* object segment struct cleanup

* quick fix

* style fix

* Update racer.c

* Update structs.h

* squeeze in a bit more renaming

* ok last one

* fix funny typo

* smile emote

* Update racer.c
2023-05-14 22:48:05 +01:00
FazanaandGitHub 444afbb470 I can't stop I can't stop I can't stop I can't stop (#389)
* yo I finally went and figured out what the majority of unk6 is lmao

* rename entry

* man honestly game.c is a mess they really did just throw every old thing here

* Name some initialiser funcs

* more

* destroyed another temp struct

* potassium

* tweak

* pain

* it never ends

* a new pain arises

* Update README.md

* quick fixes

* add colour macro
2023-05-01 14:32:25 +01:00
Ryan MyersandGitHub 3f37109e59 Matches and documenting (#388)
* Near match for render_3d_model

* Stack diffs only on render_3d_model

* Matched render_3d_model!

* Delete accidentally added files.

* Some naming of things

* Match func_8007C660

* Update some more names

* WIP func_80012F94

* Fix non equivalent build

* Update func_80012F94 score

* Update score
2023-04-28 14:54:27 -04:00
FazanaandGitHub 6e8ee67cf6 Adventure two 25% (#387)
* identify transition bug

* Document fog system

* Label fogchanger attributes

* and more

* anti aliasing

* name some object vars

* block the racer inputs

* Update unknown_0255E0.c

* Update README.md

* Update src/object_functions.c

* I just did thing I guess???

* me when I realise almost all the pass through discs are just copy and pasted code.

* YOU'RE PUSHING THEM?!?!

bruh bruh bruh bruh

* I guess I'm in the object naming rabbit hole now

wow maybe I'll actually get these looking good 😳

* i did frogs

* got it

* Quick fixes
2023-04-28 17:52:12 +01:00
FazanaandGitHub d54031c3a6 Document fog system, and label some object behaviour (#386)
* identify transition bug

* Document fog system

* Label fogchanger attributes

* and more

* anti aliasing

* name some object vars

* block the racer inputs

* Update unknown_0255E0.c

* Update README.md

* Update src/object_functions.c
2023-04-25 10:49:29 +01:00
3c97d5ea99 Identify and label a bunch of game.c stuff (#385)
* Fix warnings

* Update src/thread0_epc.c

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>

* identify some texture init stuff

* match _Litob

* match cosf

* match sinf

* formatting

* Update math.h

* Delete sinf.s

* quick fix

* Update unknown_078050.c

* identify some time trial stuff

* my honest reaction

* Add a define for F3DDKR_GBI

* Add GCC define for stubbed_printf

Fixes a bunch of warnings, because IDO is such a brilliant compiler with zero flaws that for some reasons decides "#define text(...)" is against federal law.

* Update racer speed errors

* identify some game.c stuff

* Rename

* Fix inaccurate names for the displaylist heap

* more.

* quick fixes

* Update src/racer.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/objects.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/objects.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* quicker fixes

---------

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
Co-authored-by: David Benepe <benepe96@gmail.com>
2023-04-23 20:21:39 +01:00
Ryan MyersandGitHub c9050f4e3e Upgrade IDO Static Recomp to fix a bug, and slip in a few other minor changes (#384) 2023-04-18 21:52:18 -04:00
c41bbf9131 Match 3 libultra funcs + some texture init labels (#383)
* Fix warnings

* Update src/thread0_epc.c

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>

* identify some texture init stuff

* match _Litob

* match cosf

* match sinf

* formatting

* Update math.h

* Delete sinf.s

* quick fix

---------

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
2023-04-16 14:50:14 +01:00
FazanaandGitHub 78c99d27fa Fix warnings (#382)
* Fix warnings

* Update src/thread0_epc.c
2023-04-13 08:15:08 -04:00
b61e4c3fa4 Bump score to 51% with 6 new matches (#381)
* Very minor cleanup of init_controllers after consulting JFG

* really rough starts to some funcs

* some labeling, and match thread0_Main

* Some documenting, and better match for a couple of memory funcs

* Add more official names for vars and funcs, as well as clean up some matches a little

* Force No Shadows on Surfaces

Force No Shadows on Surfaces
Committer: sixtyfour

 On branch DKRsixtyfour
 Changes to be committed:
	modified:   src/unknown_0255E0.h

* identify shadows and fix mislabelling from past-me (#380)

* Removed outdated comment

* split some funcs out of printf that aren't related

* Move funcs to particles that should belong there

* Some printf documenting

* Do some documenting on the debug font details

* Get func_800B63F4 in a good place for now

* Match func_800B63F4

* Match render_printf and do some more documenting

* Move some functions around into different files.

* Match func_800AA3EC

* Fix some warnings in func_800AA3EC

* Rename the thread 0 assert

* Migrate BSS from particles to thread0 and printf

* Find and split out a function in particles and do more documenting

* Rename sprintf and vsprintf stuff to match JFG

* Clean up the texAnimateTexture function, and document some more places.

* WIP build_tex_display_list and documenting

* Missing file check in

* Match memset

* build_tex_display_list update with macros

* MAssive cleanup of build_tex_display_list that brings the score down in a big way.

* Removed a massive amount of extra lines in build_tex_display_list

* Match texInitTextures

* Update README score

* Fix comment

* Rename some funcs

* Commit suggestions from Fazana

* Fix for last commit

---------

Co-authored-by: Turok64Nukem <Duke64Nukem@gmail.com>
Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>
2023-04-12 07:55:53 -04:00
FazanaandGitHub c9fa292c3d identify shadows and fix mislabelling from past-me (#380) 2023-03-20 16:22:17 +00:00
David BenepeandGitHub c3a26c8af1 Merge pull request #379 from Turok64Nukem/DKRsixtyfour
Force No Shadows on Surfaces
2023-03-17 23:50:22 -05:00
Turok64Nukem dca3632bb9 Force No Shadows on Surfaces
Force No Shadows on Surfaces
Committer: sixtyfour

 On branch DKRsixtyfour
 Changes to be committed:
	modified:   src/unknown_0255E0.h
2023-03-17 21:03:13 -07:00
Ryan MyersandGitHub b1f83c9ee1 Score update (#378) 2023-03-07 15:19:22 -05:00
6d99776962 Several matches, documentation, and tool updates (#377)
* WIP func_80068FA8

* WIP func_80069790

* Match func_80069790

* WIP func_80068FA8

* WIP func_80068FA8

* Near match func_80068FA8

* Regalloc diff with func_80068FA8

* Match func_80068FA8

* Cleanup casts we don't need, and get rid of unused symbols from undefined_syms.txt

* Increase score for func_80066CDC

* Increased score of render_fade_circle

* Get func_80031BB8 back to NON_MATCHING after one struct definition got updated

* Make asm_processor linked to the original repository as a submodule to keep it up to date

* Update recomp to latest

* Updated diff.py to the latest version. One of the recent tools updates gives me line diffs in diff.py finally!

* WIP func_80010994

* Update func_80010994 WIP

* D_8011AD21 is not an array

* Cleanup

* Match func_800155B8

* WIP func_80010994

* Get func_80010994 to NON_MATCHING status

* WIP render_3d_model

* Update render_3d_model WIP

* WIP render_3d_model

* Match unused func_8001E13C

* WIP func_80011264

* Match func_800113CC

* Udpate func_80011AD0 and then use that knowledge to add some details to a few objects

* Fix warnings

* Bring func_80011AD0 closer to matching

* Match func_80011AD0

* MAtch func_800138A8

* Cleanup

* Change variable type for D_8011AEDC to be an Object as it matches what it's used as in func_8001BDD4

* Match func_8001BDD4

* Match func_8001BC54 and document the camera obj list

* Accidentally deleted the generate_ctx.sh somehow. Adding it back in

* Match func_8002A31C

* Make D_800DC8AC an array of Vec3f instead

* Update src/object_functions.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/object_functions.c

Co-authored-by: David Benepe <benepe96@gmail.com>

---------

Co-authored-by: David Benepe <benepe96@gmail.com>
2023-03-07 14:30:24 -05:00
2cda09c5fa Update score (#376)
Co-authored-by: Ryan-Myers <Ryan-Myers@users.noreply.github.com>
2023-02-21 07:45:22 -05:00
92c9e16f8a Match func_8006A1C4 as handle_save_data_and_read_controller (#375)
* WIP

* WIP

* WIP func_80078190

* Do some minor documenting and cleanup in sched.c

* Restart func_80078190 and check in the WIP

* Get func_80078190 back to something looking presentable

* WIP render_texture_rectangle_scaled

* Just about matched render_texture_rectangle_scaled

* Match render_texture_rectangle_scaled

* Minor documenting and cleanup

* Minor cleanup

* Cleanup

* Some documenting

* Match func_8006ECFC

* Move some function definitions

* Match func_8006EFDC

* Minor documentation updates

* NAme some functions, and do some documneting on fade transitons

* Do a lot of documenting and WIP

* document more, and near match WIP

* Fixed documentation

* Fix the write eeprom index macro

* Match func_8006A1C4

* Name and document handle_save_data_and_read_controller

* Typo fix

* Split the second half of camera.c to controller.c. This is a fully matched and documented file!

* Remove old includes that came from camera.c

* Remove comment

---------

Co-authored-by: Ryan Myers <foldor@gmail.com>
2023-02-21 07:42:40 -05:00
bcb5dbc7ea Update score (#374)
Co-authored-by: Ryan-Myers <Ryan-Myers@users.noreply.github.com>
2023-02-17 10:09:10 -05:00
98d3be1b8f 50%! (#373)
* WIP

* WIP

* WIP func_80078190

* Do some minor documenting and cleanup in sched.c

* Restart func_80078190 and check in the WIP

* Get func_80078190 back to something looking presentable

* WIP render_texture_rectangle_scaled

* Just about matched render_texture_rectangle_scaled

* Match render_texture_rectangle_scaled

* Minor documenting and cleanup

* Minor cleanup

* Cleanup

* Some documenting

* Match func_8006ECFC

* Move some function definitions

* Match func_8006EFDC

* Minor documentation updates

* NAme some functions, and do some documneting on fade transitons

---------

Co-authored-by: Ryan Myers <foldor@gmail.com>
2023-02-17 10:04:49 -05:00