From: Oliver Schmidt
Date: Thu, 27 Mar 2014 18:28:31 +0000 (+0100)
Subject: Classified tgi_imulround() as part of TGI API.
X-Git-Tag: V2.15~91
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c6ee9ac0340f25d92a3c22459dedf9f3186a2591;p=cc65
Classified tgi_imulround() as part of TGI API.
---
diff --git a/include/tgi.h b/include/tgi.h
index a43eb0cc3..51d0eaebc 100644
--- a/include/tgi.h
+++ b/include/tgi.h
@@ -275,6 +275,11 @@ unsigned __fastcall__ tgi_ioctl (unsigned char code, void* data);
* for unknown codes or values.
*/
+int __fastcall__ tgi_imulround (int rhs, int lhs);
+/* Helper function for functions using sine/cosine: Multiply two values, one
+ * being an 8.8 fixed point one, and return the rounded and scaled result.
+ */
+
/* End of tgi.h */
diff --git a/include/tgi/tgi-kernel.h b/include/tgi/tgi-kernel.h
index 8367e4453..bc5fdc3c6 100644
--- a/include/tgi/tgi-kernel.h
+++ b/include/tgi/tgi-kernel.h
@@ -67,19 +67,6 @@ extern unsigned tgi_charheight; /* Height of scaled bitmap font */
-/*****************************************************************************/
-/* Code */
-/*****************************************************************************/
-
-
-
-int __fastcall__ tgi_imulround (int rhs, int lhs);
-/* Helper function for functions using sine/cosine: Multiply two values, one
- * being an 8.8 fixed point one, and return the rounded and scaled result.
- */
-
-
-
/* End of tgi-kernel.h */
#endif
diff --git a/samples/tgidemo.c b/samples/tgidemo.c
index a7e3b10f6..a08020640 100644
--- a/samples/tgidemo.c
+++ b/samples/tgidemo.c
@@ -5,7 +5,6 @@
#include
#include
#include
-#include