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>
This commit is contained in:
Ryan Myers
2023-04-12 07:55:53 -04:00
committed by GitHub
co-authored by Turok64Nukem Fazana
parent c9fa292c3d
commit b61e4c3fa4
59 changed files with 1183 additions and 873 deletions
+4 -6
View File
@@ -24,7 +24,7 @@
#include "types.h"
#include "macros.h"
#include "audio_internal.h"
#include "thread0_epc.h"
#include "unknown_B7B30.h"
// TODO: these come from headers
#ident "$Revision: 1.17 $"
@@ -111,11 +111,10 @@ Acmd *alEnvmixerPull(void *filter, UNUSED s16 *outp, s32 outCount, s32 sampleOff
assert(samples <= AL_MAX_RSP_SAMPLES);
#else
// Something must have gone wrong when compiling this file, and the asserts got left in.
// The function happens to currently live in the thread0 file for some reason.
if (samples >= 0) {}
else { thread0_Assert("samples >= 0", "env.c", 104); }
else { assert_stub("samples >= 0", "env.c", 104); }
if (samples <= AL_MAX_RSP_SAMPLES) {}
else { thread0_Assert("samples <= AL_MAX_RSP_SAMPLES", "env.c", 105); }
else { assert_stub("samples <= AL_MAX_RSP_SAMPLES", "env.c", 105); }
#endif
@@ -389,9 +388,8 @@ Acmd* _pullSubFrame(void *filter, s16 *inp, s16 *outp, s32 outCount,
assert(source);
#else
// Something must have gone wrong when compiling this file, and the asserts got left in.
// The function happens to currently live in the thread0 file for some reason.
if (source) {}
else { thread0_Assert("source", "env.c", 373); }
else { assert_stub("source", "env.c", 373); }
#endif
ptr = (*source->handler)(source, inp, outCount, sampleOffset, p);