diff --git a/build/windows/tic/tic.vcxproj b/build/windows/tic/tic.vcxproj index 3ef4913..76230b2 100644 --- a/build/windows/tic/tic.vcxproj +++ b/build/windows/tic/tic.vcxproj @@ -52,6 +52,7 @@ + diff --git a/build/windows/tic/tic.vcxproj.filters b/build/windows/tic/tic.vcxproj.filters index dc1db77..e4def12 100644 --- a/build/windows/tic/tic.vcxproj.filters +++ b/build/windows/tic/tic.vcxproj.filters @@ -33,6 +33,9 @@ src + + src + diff --git a/src/studio.h b/src/studio.h index df36f7a..5c51f43 100644 --- a/src/studio.h +++ b/src/studio.h @@ -141,8 +141,6 @@ void showTooltip(const char* text); tic_key* getKeymap(); -const StudioConfig* getConfig(); - void setSpritePixel(tic_tile* tiles, s32 x, s32 y, u8 color); u8 getSpritePixel(tic_tile* tiles, s32 x, s32 y); @@ -168,4 +166,5 @@ char getKeyboardText(); bool keyWasPressed(tic_key key); bool anyKeyWasPressed(); +const StudioConfig* getConfig(); System* getSystem(); diff --git a/src/system.c b/src/system.c index 4a44129..1080bad 100644 --- a/src/system.c +++ b/src/system.c @@ -1,6 +1,9 @@ #include "system.h" -#include "studio.h" #include "net.h" +#include "tools.h" + +#include +#include #include #define STUDIO_UI_SCALE 3 diff --git a/src/tools.h b/src/tools.h index bb1d121..6b010ca 100644 --- a/src/tools.h +++ b/src/tools.h @@ -51,4 +51,4 @@ bool tic_tool_parse_note(const char* noteStr, s32* note, s32* octave); s32 tic_tool_get_pattern_id(const tic_track* track, s32 frame, s32 channel); void tic_tool_set_pattern_id(tic_track* track, s32 frame, s32 channel, s32 id); u32 tic_tool_find_closest_color(const tic_rgb* palette, const tic_rgb* color); -TIC80_API u32* tic_palette_blit(const tic_palette* src); \ No newline at end of file +u32* tic_palette_blit(const tic_palette* src);