diff options
author | Oxore <oxore@protonmail.com> | 2018-07-12 04:13:15 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2018-07-12 04:13:15 +0300 |
commit | 9a9711945c2add826e5887aabe2330bee9042b4b (patch) | |
tree | fe67952f6cd8a020ec0b1cf1fabf91167e785c23 /dat/texts.yaml | |
parent | 2b265ea0eb5825eccd3b9b072b5014bacf0d16d7 (diff) |
Introduce pause mechanics, refactor a little
Introduce Pause mechanics and mention it in README.md.
Makefile: replace unnecessary "-MMD -MP" with just "-MD" flag, so it
allows to compile with tcc too.
Refactor: Rename game.isStarted field to game.started field. Move
arrKeys container to engine.c and remove it from main.c. Refactor char
iterator in utf8to32_strcpy function.
Diffstat (limited to 'dat/texts.yaml')
-rw-r--r-- | dat/texts.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dat/texts.yaml b/dat/texts.yaml index dec419c..6f8f480 100644 --- a/dat/texts.yaml +++ b/dat/texts.yaml @@ -59,3 +59,12 @@ size: 20 x: 276 y: 200 + +- + type: "pause" + scene: "game" + text: "PAUSED" + font: "Arial" + size: 36 + x: 60 + y: 188 |