you would expect on a normal 40x25 screen, not a position that would regard current font's
height. Both 40 and 80 columns modes are supported.
<p>
-It is safe to use these standard includes: <tt/conio.h, dio.h, errno.h, geos.h, joystick.h,
-mouse.h, stdlib.h, string.h/
+It is safe to use these standard includes and its contents:
+<tt/assert.h, conio.h, dio.h, errno.h, geos.h, joystick.h, mouse.h, stdlib.h, string.h/
<p>
I am an assembler programmer and GEOSLib was designed in such way that cc65 could emit the best
available code (well, the best as for machine :). Many of the <tt/void foo (void)/ functions are
<p>
<tt/void FrameRectangle (char pattern)/
<p>
-This one draws frame with given line pattern.
+This one draws frame with given bit pattern (not a pattern from GEOS palette).
<sect3>InvertRectangle
<p>
<tt/void DrawLine (struct window *myWindow)/
<p>
<tt/top/ parameters of <tt/struct window/ describe the starting point of the line, while
-<tt/bottom/ are for the ending point. Current pattern is used for drawing.
+<tt/bottom/ are for the ending point. Current pattern from <tt/SetPattern/ is used for drawing.
<sect2>Point Functions
<p>
--- /dev/null
+/*
+ * _afailed.c
+ *
+ * Maciej 'YTM/Elysium' Witkowiak 28.10.2001
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <geos.h>
+
+void _afailed (char* file, unsigned line)
+{
+
+ drawWindow.top = 0;
+ drawWindow.left = 0;
+ drawWindow.bot = 15;
+ drawWindow.right = 150;
+ dispBufferOn = ST_WR_FORE|ST_WR_BACK;
+ SetPattern(0);
+ Rectangle();
+ FrameRectangle(0xff);
+
+ PutString(CBOLDON "file: ", 10, 10);
+ PutString(file, 10, r11);
+ PutString(CBOLDON " line: ", 10, r11);
+ PutDecimal(0, line, 10, r11);
+
+ DlgBoxOk(CBOLDON "ASSERTION FAILED", "PROGRAM TERMINATED" CPLAINTEXT);
+
+ exit (2);
+}