Command.cpp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. //------------------------------------------------------------------------------------------------
  2. // 0.0.1
  3. //------------------------------------------------------------------------------------------------
  4. #include "3d_all.h"
  5. #include "Berusky3d_kofola_interface.h"
  6. #include "2D_graphic.h"
  7. extern RECT_LINE rline;
  8. //------------------------------------------------------------------------------------------------
  9. // nakresli obrazek
  10. //------------------------------------------------------------------------------------------------
  11. void menucommand_Draw(HDC hdc, int *com, int layer)
  12. {
  13. /* RECT r;
  14. r.left = com[2];
  15. r.top = com[3];
  16. r.right = _2dd.bitmap[com[1]].bitmap.bmWidth;
  17. r.bottom = _2dd.bitmap[com[1]].bitmap.bmHeight;
  18. BitBlt(hdc,r.left,r.top,
  19. r.right,
  20. r.bottom,
  21. _2dd.bitmap[com[1]].bitmapDC,0,0,SRCCOPY);
  22. _2d_Add_RectItem(&rline, r, layer);*/
  23. }
  24. void menucommand_DrawT(HDC hdc, int *com)
  25. {
  26. /* TransparentBltU(hdc,com[2],com[3],
  27. _2dd.bitmap[com[1]].bitmap.bmWidth,
  28. _2dd.bitmap[com[1]].bitmap.bmHeight,
  29. _2dd.bitmap[com[1]].bitmapDC,0,0,
  30. _2dd.bitmap[com[1]].bitmap.bmWidth, _2dd.bitmap[com[1]].bitmap.bmHeight, RGB(255, 0, 255));*/
  31. }