From 5e37e95ef958dff1c17c3cef0024b9a9658ad3c0 Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Sat, 20 Jan 2018 03:01:26 +0100 Subject: [PATCH 1/2] README: add Mouse Sensitivity --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 55ffb59..f995418 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ Used by such games as: - [Boiled Corn](https://github.com/dos1/boiledcorn) - [Now and Then](https://github.com/dos1/nowandthen) - [SUPERSHOD HD](https://github.com/dos1/supershod/tree/remake) +- [Mouse Sensitivity](https://github.com/dos1/mousesensitivity) WIP: The engine is being separated from its games and modularized right now. Stay tuned for documentation and examples soon! From cb4b9638c8c12b99f07105c59560b85627b09747 Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Sun, 21 Jan 2018 03:18:51 +0100 Subject: [PATCH 2/2] utils: add missing new lines to debug/error output --- src/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils.c b/src/utils.c index 4eb6efd..9df9f96 100644 --- a/src/utils.c +++ b/src/utils.c @@ -197,7 +197,7 @@ SYMBOL_EXPORT void FatalError(struct Game* game, bool exit, char* format, ...) { vsnprintf(text, 1024, format, vl); SUPPRESS_END va_end(vl); - fprintf(stderr, "%s", text); + fprintf(stderr, "%s\n", text); // TODO: synchronize with loading thread @@ -396,7 +396,7 @@ SYMBOL_EXPORT void PrintConsole(struct Game* game, char* format, ...) { va_end(vl); SUPPRESS_WARNING("-Wused-but-marked-unused") - ALLEGRO_DEBUG("%s", text); + ALLEGRO_DEBUG("%s\n", text); SUPPRESS_END #ifndef __EMSCRIPTEN__