Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
759 B

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: shadow_.cpp
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Source file of shadow_.cpp
  13. //----------------------------------------------------------------------------
  14. #include "stdafx.h"
  15. #include "Shadow.h"
  16. CShadow::CShadow()
  17. {
  18. memset( m_pShadowLine, 0, sizeof(m_pShadowLine) );
  19. m_lpPolygon = NULL;
  20. m_nPolygon = 0;
  21. m_dwTypeOn = 0xFFFFFFFF;
  22. }
  23. CShadow::~CShadow()
  24. {
  25. Destroy();
  26. }
  27. BOOL CShadow::Create()
  28. {
  29. Destroy();
  30. return Load();
  31. }