diff --git a/assets.mdesk b/assets.mdesk index 427f661..8fbdeba 100644 --- a/assets.mdesk +++ b/assets.mdesk @@ -30,6 +30,10 @@ { filepath: "hurt_vignette.png", } +@image dialog_circle: +{ + filepath: "dialog_circle.png", +} @image white_square: { filepath: "white square.png", diff --git a/assets/dialog_circle.png b/assets/dialog_circle.png new file mode 100644 index 0000000..641029a Binary files /dev/null and b/assets/dialog_circle.png differ diff --git a/build_desktop_debug.bat b/build_desktop_debug.bat index 9c7546a..cd9e5e2 100644 --- a/build_desktop_debug.bat +++ b/build_desktop_debug.bat @@ -3,8 +3,8 @@ @REM https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-by-category?view=msvc-170 call run_codegen.bat || goto :error -@REM cl /DDEVTOOLS /Igen /Ithirdparty /W3 /Zi /WX main.c || goto :error -cl /Igen /Ithirdparty /W3 /Zi /WX main.c || goto :error +cl /DDEVTOOLS /Igen /Ithirdparty /W3 /Zi /WX main.c || goto :error +@REM cl /Igen /Ithirdparty /W3 /Zi /WX main.c || goto :error goto :EOF :error diff --git a/main.c b/main.c index d42a9c3..8b386e7 100644 --- a/main.c +++ b/main.c @@ -1449,6 +1449,8 @@ void frame(void) } if(closest_talkto != NULL) { + draw_quad(true, quad_centered(closest_talkto->pos, V2(TILE_SIZE, TILE_SIZE)), image_dialog_circle, full_region(image_dialog_circle), WHITE); + Dialog dialog = { .sentences[0].text = "I'm an old man. fjdslfdasljfla dsfjdsalkf adskjfdlskfkladsjfkljdskljsadlkfjdsaklfjldsajf", .sentences[1].text = "I'm the player. I have lots of things to say. Bla bla bla. All I do is say things. How cringe and terrible",