Commit Graph
1731 Commits
Author SHA1 Message Date
FazanaandGitHub 934ef08ad8 Clean up game_ui.c and rework compiler flags + fix the warnings they caused. (#556)
* warns prelim

* Update Makefile

* catch a rain straggler

* wowie

* m

* game_ui.c moment

* Update game_ui.c

* patch

* format
2025-05-06 14:54:20 +01:00
UnnunuandGitHub 764705b67c match and document audio_spatial.c (#555)
* match func_80004668 and adjust types

* match _handleEvent

* documentation WIP

* wip

* document audiosfx.c

* fix build

* a few type renames

* update score

* remove comment

* fix type

* wip

* match func_80008438

* update score

* documentation almost done

* documented audio_spatial.c

* update score

* format and update score

* remove duplicated lines

* PR suggestions
2025-05-06 16:47:08 +03:00
54ea0252ad Update score (#554)
Co-authored-by: Ryan-Myers <Ryan-Myers@users.noreply.github.com>
2025-05-05 20:31:10 -04:00
Ryan MyersandGitHub 53ab6559e5 Fix building for other versions (#551)
* Fix spelling mistakes and format

* lights

* formatting

* Small documenting

* Small documenting

* Fix hud_main_time_trial for JP, and start trying to match it.

* Match v80 again

* documenting

* Match all versions and do some cleanup of some parts of existing matches.

* Format

* Update score

* Fix some warnings

* Start work on func_80008438

* Further work on func_80008438, still HEAVILY WIP
2025-05-05 20:27:33 -04:00
Dominik PetersandGitHub de04669992 match: func_80066CDC (#552) 2025-05-05 23:12:32 +02:00
UnnunuandGitHub b88bd4366e match and document audiosfx.c (#550)
* match func_80004668 and adjust types

* match _handleEvent

* documentation WIP

* wip

* document audiosfx.c

* fix build

* a few type renames

* update score

* remove comment

* fix type

* fix typo
2025-05-05 15:47:26 +03:00
7063517833 match: func_80011264, improve match% for func_80059208 (#548)
* match: func_80011264, improve match% for func_80059208

* refac: use TEX_INDEX_NO_TEXTURE instead of magic number

* Update src/objects.c

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

* refac: make fake match less ungodly

---------

Co-authored-by: David Benepe <benepe96@gmail.com>
2025-05-05 01:35:07 +02:00
Dominik PetersandGitHub 4aa7b9a8c1 match: hud_element_render, hud_init_element, inline rodata strings (#547)
* match: hud_element_render, inline rodata strings

* match: hud_init_element

* chore: remove Non Matching comment in game_ui.h
2025-05-05 00:28:17 +02:00
Dominik PetersandGitHub b39ec77a04 match: func_800A1E48, hud_main_time_trial, hud_race_finish_multiplayer (#544) 2025-05-04 04:20:53 +02:00
Dominik PetersandGitHub b303da9239 match: func_80010994, func_8001CD28 (#545) 2025-05-04 03:16:59 +02:00
Dominik PetersandGitHub 114e84fded match: func_8002E904 (#543)
* match: func_8002FF6C

* lint: fix formatting, re-use unk8011C8B8 for other structs where applicable

* refac: replace f[0] and f[1] with xy for Vec2f usages

* match: func_8002E904
2025-05-04 02:36:05 +02:00
Dominik PetersandGitHub 44cef98962 match: func_8002FF6C (#541)
* match: func_8002FF6C

* lint: fix formatting, re-use unk8011C8B8 for other structs where applicable

* refac: replace f[0] and f[1] with xy for Vec2f usages
2025-05-03 15:05:45 +02:00
Dominik PetersandGitHub 55baf61e62 match: func_8002EEEC (#540)
* match: func_8002EEEC

* style: run format.sh
2025-05-02 00:27:27 +02:00
Dominik PetersandGitHub 45208555b8 match: func_800BCC70 (#539)
* match: func_800BCC70

* refac: replace magic value with constant
2025-05-01 16:35:49 +02:00
Dominik PetersandGitHub 93413ebb03 match: func_800BE654 (#537)
* match: func_800BE654

* lint: run format.sh

* refac: replace 0xFFFFFFF with COLOUR_TAG_CYAN
2025-04-29 20:42:08 -04:00
UnnunuandGitHub 57aa448faa match audioline_reset and func_80009D6C in audio_spatial.c (#536)
* wip

* match audioline_reset

* match func_80009D6C

* move ABS to macros.h
2025-04-28 17:28:18 +03:00
UnnunuandGitHub eaf2af275b match last functions in lights.c (#534)
* match func_80031CAC

* match last function and clean up

* update score

* update score
2025-04-28 15:17:14 +03:00
UnnunuandGitHub 9c00d3f75b match func_80025510, partial match of other functions in tracks.c (#532)
* match func_80025510

* two function done

* update score

* some non matchings

* update score

* format and update score
2025-04-28 15:07:18 +03:00
Dominik PetersandGitHub 59eda67fbe match: func_800B8C04 (#529) 2025-04-26 02:55:03 +02:00
Ryan MyersandGitHub afb264bc16 Match stack_pointer with C code (#530)
* Remove useless comment

* Small amounts of documenting, official names, and use some new knowledge to match what was previously thought to be only possible with hasm.

* Define the proper type for the stack_pointer function, and come up with a solution for GCC builds that should hopefully work.

* Partial revert to support getting the actual stack pointer for GCC builds

* Come up with a better GCC build option for getting the stack pointer

* Update the score
2025-04-25 15:40:33 -04:00
Ryan MyersandGitHub c136b34b61 Match func_800BA8E4 (#528)
* First pass at func_800BA8E4

* Merge D_800E3078 into D_800E3070 and do func_800BA8E4 a better deal

* Update D_800E3070 to be like D_800E3080

* Match func_800BA4B8

* Update score

* Minor documenting changes

* func_8002CC30 minimum compilable code.

* func_800BA8E4 NON_MATCHING

* Match func_800BA8E4

* Update score

* Format
2025-04-23 15:24:11 -04:00
Dominik PetersandGitHub 197cb7eab2 document: waves.c related structs / variables (#526)
* partial waves.c matches

* match: func_800BBF78 & fix formatting

* chore. update score

* document: waves.c, cleanup some matches, add early returns where possible

* document: waves.c related things

* document: unk80129FC8 struct

* refac: cast constants to correct pointer types instead of u32
2025-04-23 19:23:53 +02:00
Dominik PetersandGitHub e5a6f14f24 match func_800BBF78 and non equivalent func_800BDC80 (#525)
* partial waves.c matches

* match: func_800BBF78 & fix formatting

* chore. update score
2025-04-21 15:04:23 +02:00
FazanaandGitHub e980d79bc1 document textures_sprites.c (#523) 2025-04-20 19:41:04 +01:00
UnnunuandGitHub 31acc13170 Merge pull request #520 from Unnunu/particles
Document particle.c
2025-04-19 10:54:34 +03:00