source: golgotha/src/max_plugin/debug.hh @ 484

Last change on this file since 484 was 80, checked in by Sam Hocevar, 14 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 882 bytes
Line 
1/********************************************************************** <BR>
2  This file is part of Crack dot Com's free source code release of
3  Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
4  information about compiling & licensing issues visit this URL</a>
5  <PRE> If that doesn't help, contact Jonathan Clark at
6  golgotha_source@usa.net (Subject should have "GOLG" in it)
7***********************************************************************/
8
9#ifndef M1_DEBUG_HH
10#define M1_DEBUG_HH
11
12#include <stdio.h>
13
14class m1_debugfile
15{
16public:
17  char name[256];
18  FILE *f;
19
20  m1_debugfile(char *name = 0);
21  ~m1_debugfile();
22
23  void restart();
24  void printf(char *format, ...);
25  void operator()(char *format,...);
26};
27
28extern m1_debugfile dbg;
29
30#endif
31
32//{{{ Emacs Locals
33// Local Variables:
34// folded-file: t
35// End:
36//}}}
Note: See TracBrowser for help on using the repository browser.