]> icculus.org git repositories - btb/d2x.git/blob - include/mono.h
Use PhysicsFS for making the hoard ham.
[btb/d2x.git] / include / mono.h
1 /*
2 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
3 SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
4 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
5 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
6 IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
7 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
8 FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
9 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
10 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.  
11 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
12 */
13
14 #ifndef _MONO_H
15 #define _MONO_H
16
17 #include <stdio.h>
18 #include <stdarg.h>
19 #include "console.h"
20
21 static inline void _do_mprintf(int n, char *fmt, ...)
22 {
23         char buffer[1024];
24         va_list arglist;
25
26         va_start (arglist, fmt);
27         vsprintf (buffer, fmt, arglist);
28         va_end (arglist);
29         
30         con_printf (CON_DEBUG, buffer);
31 }
32
33 #define mprintf(args) _do_mprintf args
34
35 #define minit()
36 #define mclose(n)
37 #define mopen( n, row, col, width, height, title )
38 #define mDumpD(window, int_var) 
39 #define mDumpX(window, int_var) 
40 #define mclear( n )
41 #define mprintf_at(args)
42 #define mputc( n, c )
43 #define mputc_at( n, row, col, c )
44 #define msetcursor( row, col )
45 #define mrefresh(n)
46
47 #endif
48
49