From 70d2a6f399eed7241ad9c8ba299a8dd91bfe01ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?=
<41315874+fumiama@users.noreply.github.com>
Date: Tue, 14 Jan 2025 23:00:44 +0900
Subject: [PATCH] optimize: sync upstream
---
README.md | 3 +++
assets/index.html | 5 ++++-
cmoe.c | 3 ++-
cmoe.h | 19 +++++++++++++++++++
4 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 400344f..2270abe 100644
--- a/README.md
+++ b/README.md
@@ -13,6 +13,9 @@
##### rule34(r34)

+##### rule34-big(r3b)
+
+
##### gelbooru(gb)

diff --git a/assets/index.html b/assets/index.html
index b090b4b..da0274a 100644
--- a/assets/index.html
+++ b/assets/index.html
@@ -18,7 +18,7 @@
eg:
- Data can access by anyone, pleaseDO NOT
+ Data can access by anyone, please DO NOT
enter personal information
@@ -35,6 +35,8 @@
rule34(r34)
+ rule34-big(r3b)
+
gelbooru(gb)
gelbooru-h(gbh)
@@ -75,6 +77,7 @@
+
diff --git a/cmoe.c b/cmoe.c
index 3424f64..91aed7c 100644
--- a/cmoe.c
+++ b/cmoe.c
@@ -114,13 +114,14 @@ static void draw(int count, char* theme, uint32_t color) {
if (theme) {
cmp_and_set_type(mbh) else
cmp_and_set_type(r34) else
+ cmp_and_set_type(r3b) else
cmp_and_set_type(gb) else
cmp_and_set_type(gbh) else
cmp_and_set_type(asl) else
cmp_and_set_type(nix) else
cmp_and_set_type(mbs)
isbigtiny = (
- (theme_type == (char**)gb || theme_type == (char**)gbh) |
+ (theme_type == (char**)gb || theme_type == (char**)gbh || theme_type == (char**)r3b) |
((theme_type == (char**)nix || theme_type == (char**)mbs) << 1) |
((theme_type == (char**)mbs) << 2)
);
diff --git a/cmoe.h b/cmoe.h
index 21dbaf2..36dfbd0 100644
--- a/cmoe.h
+++ b/cmoe.h
@@ -41,6 +41,12 @@ typedef enum errcode_enum_t errcode_enum_t;
#define SVG_HEAD(h) \
"