Dont depend on project-local header inside libsm64.h

This commit is contained in:
jaburns
2022-11-08 16:43:16 -07:00
parent 1380e17066
commit a2fbf60afe
+1 -4
View File
@@ -5,8 +5,6 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
#include "decomp/include/types.h"
#ifdef _WIN32 #ifdef _WIN32
#ifdef SM64_LIB_EXPORT #ifdef SM64_LIB_EXPORT
#define SM64_LIB_FN __declspec(dllexport) #define SM64_LIB_FN __declspec(dllexport)
@@ -73,10 +71,9 @@ enum
typedef void (*SM64DebugPrintFunctionPtr)( const char * ); typedef void (*SM64DebugPrintFunctionPtr)( const char * );
extern SM64_LIB_FN void sm64_register_debug_print_function( SM64DebugPrintFunctionPtr debugPrintFunction ); extern SM64_LIB_FN void sm64_register_debug_print_function( SM64DebugPrintFunctionPtr debugPrintFunction );
typedef void (*SM64PlaySoundFunctionPtr)( uint32_t soundBits, f32 *pos ); typedef void (*SM64PlaySoundFunctionPtr)( uint32_t soundBits, float *pos );
extern SM64_LIB_FN void sm64_register_play_sound_function( SM64PlaySoundFunctionPtr playSoundFunction ); extern SM64_LIB_FN void sm64_register_play_sound_function( SM64PlaySoundFunctionPtr playSoundFunction );
extern SM64_LIB_FN void sm64_global_init( uint8_t *rom, uint8_t *outTexture ); extern SM64_LIB_FN void sm64_global_init( uint8_t *rom, uint8_t *outTexture );
extern SM64_LIB_FN void sm64_global_terminate( void ); extern SM64_LIB_FN void sm64_global_terminate( void );