Mercurial > games > semicongine
diff tests/test_font.nim @ 1138:02e1d2658ff5
did: more renaming
author | sam <sam@basx.dev> |
---|---|
date | Tue, 04 Jun 2024 22:08:48 +0700 |
parents | a4aa9f374d44 |
children | 114f395b9144 |
line wrap: on
line diff
--- a/tests/test_font.nim Tue Jun 04 20:51:22 2024 +0700 +++ b/tests/test_font.nim Tue Jun 04 22:08:48 2024 +0700 @@ -6,8 +6,8 @@ proc main() = # setup engine - var engine = initEngine("Test fonts") - engine.initRenderer([]) + var engine = InitEngine("Test fonts") + engine.InitRenderer([]) # build scene var scene = Scene(name: "main") @@ -27,7 +27,7 @@ scene.add origin scene.add main_text scene.add help_text - engine.loadScene(scene) + engine.LoadScene(scene) mixer[].LoadSound("key", "key.ogg") mixer[].SetLevel(0.5) @@ -71,8 +71,8 @@ main_text.refresh() main_text.text = main_text.text[0 ..< ^1] help_text.refresh() - engine.renderScene(scene) - engine.destroy() + engine.RenderScene(scene) + engine.Destroy() when isMainModule: