mirror of
https://github.com/fumiama/CMoe-Counter.git
synced 2026-06-05 02:00:24 +08:00
optimize: sync upstream
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
##### rule34(r34)
|
||||

|
||||
|
||||
##### rule34-big(r3b)
|
||||

|
||||
|
||||
##### gelbooru(gb)
|
||||

|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
eg:<img src="/cmoe?name=index" alt="Moe Count!"/>
|
||||
</h3>
|
||||
<i>
|
||||
Data can access by anyone, please<span style="color: #ff4500;">DO NOT</span>
|
||||
Data can access by anyone, please <span style="color: #ff4500;">DO NOT</span>
|
||||
enter personal information
|
||||
</i>
|
||||
<details>
|
||||
@@ -35,6 +35,8 @@
|
||||
<img src="/cmoe?name=demo&theme=mbh" alt="Moebooru-Hentai"/>
|
||||
<h5>rule34(r34)</h5>
|
||||
<img src="/cmoe?name=demo&theme=r34" alt="Rule34"/>
|
||||
<h5>rule34-big(r3b)</h5>
|
||||
<img src="/cmoe?name=demo&theme=r3b" alt="Rule34-Big"/>
|
||||
<h5>gelbooru(gb)</h5>
|
||||
<img src="/cmoe?name=demo&theme=gb" alt="Gelbooru"/>
|
||||
<h5>gelbooru-h(gbh)</h5>
|
||||
@@ -75,6 +77,7 @@
|
||||
<option value="mb">moebooru</option>
|
||||
<option value="mbh">moebooru-h</option>
|
||||
<option value="r34">rule34</option>
|
||||
<option value="r3b">rule34-big</option>
|
||||
<option value="gb">gelbooru</option>
|
||||
<option value="gbh">gelbooru-h</option>
|
||||
<option value="asl">asoul</option>
|
||||
|
||||
3
cmoe.c
3
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)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user