1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
//Copyright (c) 2017 <>< Charles Lohr - Under the MIT/x11 or NewBSD License you choose.
#include "CNFGFunctions.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
|