From 9810c335877527c6cc81a2cab221e4d64d3157fa Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Tue, 15 Jun 2021 13:14:23 -0500 Subject: [PATCH] added initial text --- src/tower.onyx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/tower.onyx b/src/tower.onyx index f82307e..8452890 100644 --- a/src/tower.onyx +++ b/src/tower.onyx @@ -17,10 +17,8 @@ main :: (args: [] cstr) { gl.enable(gl.BLEND); gl.blendFuncSeparate(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA, gl.ONE, gl.ONE_MINUS_SRC_ALPHA); - - - textbox1_str = string.buffer_make(memory.make_slice(u8, 64)); - textbox2_str = string.buffer_make(memory.make_slice(u8, 64)); + textbox1_str = string.buffer_make(memory.make_slice(u8, 64), "First Textbox!!"); + textbox2_str = string.buffer_make(memory.make_slice(u8, 64), "Second Textbox..."); start_loop :: () -> void #foreign "game" "start_loop" --- start_loop(); -- 2.25.1