This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository minilauncher-for-slippi.

View the commit online.

commit 6772f1fcd0f5bb06f7d404d366c4014c19b174d6
Author: Nekobit <m...@ow.nekobit.net>
AuthorDate: Mon Sep 11 13:06:19 2023 -0400

    Replay length hack (ugly (temporary))
---
 README.md | 7 +++++--
 home.c    | 7 +++++++
 input.c   | 2 +-
 replay.c  | 2 +-
 4 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 5366bd9..b8d12bb 100644
--- a/README.md
+++ b/README.md
@@ -1,15 +1,18 @@
 # Minilauncher4slippi
 
-Launcher for Slippi that runs on Linux, *BSD, and more. It uses the EFL
+Launcher for Slippi that runs on Windows, Mac(?), Linux, *BSD, and more. It uses the EFL
 toolkit.
 
-It supports Playing the game, replays, and basic settings.
+It supports Playing the game (thank GOD...), replays, and basic settings.
 
 ---
 
 It was created to work around some Electron woes (specifically on *BSD), alongside just provide a
 smaller, minimalistic launcher.
 
+EFL also provides a wider array of customization for themes, such as
+colors.. making it a very pretty launcher 
+
 # This is unofficial.
 
 ```diff
diff --git a/home.c b/home.c
index cb9db87..c24001d 100644
--- a/home.c
+++ b/home.c
@@ -83,6 +83,13 @@ releases_result(struct memory_chunk chunk)
 		cJSON* body = cJSON_GetObjectItemCaseSensitive(c, "body_html");
 		Eina_Strbuf* body_fmt = eina_strbuf_manage_new(body->valuestring);
 		eina_strbuf_replace_all(body_fmt, "\n", "<br>");
+		eina_strbuf_replace_all(body_fmt, "<h1>", "<title>");
+		eina_strbuf_replace_all(body_fmt, "</h1>", "</>");
+		eina_strbuf_replace_all(body_fmt, "<h2>", "<subtitle>");
+		eina_strbuf_replace_all(body_fmt, "</h2>", "</>");
+		eina_strbuf_replace_all(body_fmt, "<h3>", "<heading>");
+		eina_strbuf_replace_all(body_fmt, "</h3>", "</>");
+		eina_strbuf_replace_all(body_fmt, "<li>", "<li> - ");
 		eina_strbuf_trim(body_fmt);
 		
 		
diff --git a/input.c b/input.c
index 038c1b6..c99de91 100644
--- a/input.c
+++ b/input.c
@@ -36,7 +36,7 @@ _scroll_loop_cb(void* data)
 void
 input_init_threads()
 {
-	//ecore_timer_add(.005, _scroll_loop_cb, NULL);
+	ecore_timer_add(.005, _scroll_loop_cb, NULL);
 	ecore_thread_run(_input_sdl_setup_thread, NULL, NULL, NULL);
 	ecore_thread_run(_input_gcadapter_setup_thread, NULL, NULL, NULL);
 }
diff --git a/replay.c b/replay.c
index ef2f52c..0167642 100644
--- a/replay.c
+++ b/replay.c
@@ -13,7 +13,7 @@ struct replay
 	char* p2;
 	char* p2code;
 	int game_state;
-} replays[256] = {0};
+} replays[25565] = {0};
 size_t replays_len = 0;
 
 unsigned

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to