Subversion Repositories pentevo

Rev

Blame | 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.  
  42. //void set_vidmode();  
  43. void set_vidmode( bool preserve_size = FALSE);          // [NS]
  44.  
  45. void updatebitmap();
  46. void adjust_mouse_cursor();
  47. void start_dx();
  48. void done_dx();
  49. void scale_normal();
  50.  
  51. void readdevice(VOID *md, DWORD sz, LPDIRECTINPUTDEVICE dev);
  52. void readmouse(DIMOUSESTATE *md);
  53. void ReadKeyboard(PVOID KbdData);
  54.  
  55.  
  56.  
  57. //void clear_buffer();  //sound         //NS