aboutsummaryrefslogtreecommitdiff
path: root/redist/CNFGNullDriver.c
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2017-03-17 01:13:42 -0400
committercnlohr <lohr85@gmail.com>2017-03-17 01:13:42 -0400
commit195053d034b2bca63db1f72be14bff9b2c7b1916 (patch)
tree19918ac03580f1284e7700672a75015c1751f468 /redist/CNFGNullDriver.c
parent2954876a8fb8c21d1947dfa6c77e47008a719b8a (diff)
downloadlibsurvive-195053d034b2bca63db1f72be14bff9b2c7b1916.tar.gz
libsurvive-195053d034b2bca63db1f72be14bff9b2c7b1916.tar.bz2
bump rawdraw to newest version.
Diffstat (limited to 'redist/CNFGNullDriver.c')
-rw-r--r--redist/CNFGNullDriver.c74
1 files changed, 74 insertions, 0 deletions
diff --git a/redist/CNFGNullDriver.c b/redist/CNFGNullDriver.c
new file mode 100644
index 0000000..34346cc
--- /dev/null
+++ b/redist/CNFGNullDriver.c
@@ -0,0 +1,74 @@
+//Copyright (c) 2017 <>< Charles Lohr - Under the MIT/x11 or NewBSD License you choose.
+
+#include "DrawFunctions.h"
+
+static int w, h;
+void CNFGGetDimensions( short * x, short * y )
+{
+ *x = w;
+ *y = h;
+}
+
+static void InternalLinkScreenAndGo( const char * WindowName )
+{
+}
+
+void CNFGSetupFullscreen( const char * WindowName, int screen_no )
+{
+ CNFGSetup( WindowName, 640, 480 );
+}
+
+
+void CNFGTearDown()
+{
+}
+
+void CNFGSetup( const char * WindowName, int sw, int sh )
+{
+ w = sw;
+ h = sh;
+}
+
+void CNFGHandleInput()
+{
+}
+
+
+void CNFGUpdateScreenWithBitmap( unsigned long * data, int w, int h )
+{
+}
+
+
+#ifndef RASTERIZER
+
+
+uint32_t CNFGColor( uint32_t RGB )
+{
+}
+
+void CNFGClearFrame()
+{
+}
+
+void CNFGSwapBuffers()
+{
+}
+
+void CNFGTackSegment( short x1, short y1, short x2, short y2 )
+{
+}
+
+void CNFGTackPixel( short x1, short y1 )
+{
+}
+
+void CNFGTackRectangle( short x1, short y1, short x2, short y2 )
+{
+}
+
+void CNFGTackPoly( RDPoint * points, int verts )
+{
+}
+
+#endif
+