shithub: cstory

Download patch

ref: d152ff5ef9db107a5f4e3093a1d355e63ced7155
parent: db4a56510450dd9308ef4af540be4126c4c14dbf
author: cuckydev <cuckydev@users.noreply.github.com>
date: Wed Jan 30 15:24:29 EST 2019

Added the pop effect taht had been missing

--- a/src/Caret.cpp
+++ b/src/Caret.cpp
@@ -246,6 +246,22 @@
 	crt->rect = rcRight[crt->ani_no];
 }
 
+void ActCaret12(CARET *crt)
+{
+	RECT rcLeft[2];
+	rcLeft[0] = {112, 0, 144, 32};
+	rcLeft[1] = {144, 0, 176, 32};
+	
+	if (++crt->ani_wait > 2)
+	{
+		crt->ani_wait = 0;
+		if (++crt->ani_no > 1)
+		  crt->cond = 0;
+	}
+	
+	crt->rect = rcLeft[crt->ani_no];
+}
+
 void ActCaret13(CARET *crt)
 {
 	RECT rcLeft[2];
@@ -325,7 +341,7 @@
 	ActCaret09,
 	ActCaret10,
 	ActCaret11,
-	nullptr, //ActCaret12,
+	ActCaret12,
 	ActCaret13,
 	nullptr, //ActCaret14,
 	nullptr, //ActCaret15,
--