For DOS Protected Mode version of sensor core software
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.

45 lines
947 B

3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
3 years ago
​
​
​
​
​
​
​
​
3 years ago
​
​
​
​
​
​
3 years ago
3 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. //#ifdef ALS_300
  17. //CShadow::CShadow( bool isSlave ){
  18. // memset( m_pShadowLine, 0, sizeof(m_pShadowLine) );
  19. // m_lpPolygon = NULL;
  20. // m_nPolygon = 0;
  21. // m_dwTypeOn = 0xFFFFFFFF;
  22. // m_bIsSlave = isSlave;
  23. //}
  24. //#else
  25. CShadow::CShadow()
  26. {
  27. memset( m_pShadowLine, 0, sizeof(m_pShadowLine) );
  28. m_lpPolygon = NULL;
  29. m_nPolygon = 0;
  30. m_dwTypeOn = 0xFFFFFFFF;
  31. }
  32. //#endif
  33. CShadow::~CShadow()
  34. {
  35. Destroy();
  36. }
  37. bool CShadow::Create()
  38. {
  39. Destroy();
  40. return Load();
  41. }