XYZ struct proposal (#213)

* Ignore IDO warnings with styles we don't follow

* Fix multiple warnings in game_ui.c

* Define an Object_XYZ struct

* Replaced values in Object for Object_XYZ

* Documenting some values

* Update XYZ to ObjectTransform

* Match render_borders_for_multiplayer and convert #if 1 and #if 0 to #ifdef NON_EQUIVALENT

* Try using more libultra code for the gDPSetFillColor values

* Fix some broken NON_EQUIVALENT code

* Fix a couple of minor warnings in unknown_078050

* More warnings

* Match thread1_main, and clean up all warnings in main.c

* Matched main.c

* Document and cleanup some code in thread0_epc.c

* Fix all warnings in unknown_0255E0.c

* Document unknown_078050.c stuff

* Fix warnings in asset_loading.c

* Fix font warnings

* Fix minor memory.c warnings

* Fix warnings in camera.c

* Fix many more warnings in game.c

* racer.c warning fixes

* Match func_80008140

* func_800092A8 is close, but not quite matching

* Reconfigured unk80120AC0 to be ObjectSegment and have Object match it. Maybe it should be merged in?

* Make changes to get NON_EQUIVALENT building.

* Nearly match func_800092A8

* Get func_800092A8 REALLY close, and update the submodule to point to the newer location

* Matched func_800092A8 thanks to Synray

* Not sure why the commit value changed, but this is the latest

* Fix makefile for updated recomp project builds

* Match update_controller_sticks

* Do some documenting

* Implement suggestions from PR, and add ObjectSegment into Object struct

* Match two more funcs

* An if(0){} seems more appropriate after second thought

* Add size to ObjectSegment

* Update include/structs.h

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

Co-authored-by: Ryan Myers <foldor@gmail.com>
Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>
This commit is contained in:
Ryan Myers
2022-03-10 09:01:18 -05:00
committed by GitHub
co-authored by Ryan Myers AntonioCastelli
parent e2f17a78f9
commit d2eb45ff48
75 changed files with 1323 additions and 1898 deletions
+3
View File
@@ -2,6 +2,7 @@
#define _PRINTF_H_
#include "types.h"
#include <PR/gu.h>
#define RENDER_PRINTF_CMD_ARG_BYTE(val) *D_801285D8 = val; D_801285D8++;
@@ -38,5 +39,7 @@ void set_render_printf_colour(u8 red, u8 green, u8 blue, u8 alpha);
void set_render_printf_background_colour(u8 red, u8 green, u8 blue, u8 alpha);
void set_render_printf_position(u16 xpos, u16 ypos); // Non Matching
s32 render_printf(const char *format, ...); // Non Matching
void print_debug_strings(Gfx **arg0); // Non Matching
#endif