Subversion Repositories pentevo

Rev

Rev 883 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed | ?url?

  1. #pragma once
  2.  
  3. enum
  4. {
  5.     DRIVER_DDRAW,
  6.     DRIVER_DDRAW16,
  7.     DRIVER_DDRAW32,
  8.     DRIVER_GDI,
  9.     DRIVER_OVR,
  10.     DRIVER_BLT
  11. };
  12.  
  13. #define MAXWQSIZE 32
  14.  
  15. extern const RENDER drivers[];
  16. extern size_t renders_count;
  17.  
  18. extern unsigned char active;
  19. extern unsigned char pause;
  20.  
  21. extern LPDIRECTDRAW2 dd;
  22. extern LPDIRECTDRAWSURFACE sprim;
  23. extern LPDIRECTDRAWSURFACE surf0;
  24. extern LPDIRECTDRAWSURFACE surf1;
  25.  
  26. extern LPDIRECTINPUTDEVICE2 dijoyst;
  27.  
  28. void sound_play();
  29. void sound_stop();
  30. void __fastcall do_sound_none();
  31. void __fastcall do_sound_wave();
  32. void __fastcall do_sound_ds();
  33. void do_sound();
  34. void setpal(char system);
  35. void set_priority();
  36.  
  37. void OnEnterGui();
  38. void OnExitGui(bool RestoreVideo = true);
  39.  
  40. void flip();
  41. void set_vidmode();
  42. void updatebitmap();
  43. void adjust_mouse_cursor();
  44. void start_dx();
  45. void done_dx();
  46. void scale_normal();
  47.  
  48. void readdevice(VOID *md, DWORD sz, LPDIRECTINPUTDEVICE dev);
  49. void readmouse(DIMOUSESTATE *md);
  50. void ReadKeyboard(PVOID KbdData);
  51.