Dialog circle

main
Cameron Murphy Reikes 2 years ago
parent 48c0eb8461
commit 7eee242fd9

@ -30,6 +30,10 @@
{ {
filepath: "hurt_vignette.png", filepath: "hurt_vignette.png",
} }
@image dialog_circle:
{
filepath: "dialog_circle.png",
}
@image white_square: @image white_square:
{ {
filepath: "white square.png", filepath: "white square.png",

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

@ -3,8 +3,8 @@
@REM https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-by-category?view=msvc-170 @REM https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-by-category?view=msvc-170
call run_codegen.bat || goto :error call run_codegen.bat || goto :error
@REM cl /DDEVTOOLS /Igen /Ithirdparty /W3 /Zi /WX main.c || goto :error cl /DDEVTOOLS /Igen /Ithirdparty /W3 /Zi /WX main.c || goto :error
cl /Igen /Ithirdparty /W3 /Zi /WX main.c || goto :error @REM cl /Igen /Ithirdparty /W3 /Zi /WX main.c || goto :error
goto :EOF goto :EOF
:error :error

@ -1449,6 +1449,8 @@ void frame(void)
} }
if(closest_talkto != NULL) 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 = { Dialog dialog = {
.sentences[0].text = "I'm an old man. fjdslfdasljfla dsfjdsalkf adskjfdlskfkladsjfkljdskljsadlkfjdsaklfjldsajf", .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", .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",

Loading…
Cancel
Save