source: golgotha/src/render/software/win32_specific.hh @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 11 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: 1.1 KB
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 _WIN32_SPECIFIC_HH_
10#define _WIN32_SPECIFIC_HH_
11
12#include "software/r1_software.hh"
13#include <ddraw.h>
14
15class r1_software_render_window_class : public r1_render_window_class
16{
17  //i (trey), unfortunately dont really know how this works.
18public:
19  IDirectDrawSurface3 *surface; 
20
21  r1_software_render_window_class(w16 w, w16 h,
22                               r1_expand_type expand_type,
23                               r1_render_api_class *api);
24 
25  ~r1_software_render_window_class();
26
27  void draw(i4_draw_context_class &context);
28  void receive_event(i4_event *ev);
29 
30  char *name() { return "software render window"; }
31};
32
33#endif
34
Note: See TracBrowser for help on using the repository browser.