Celement.cpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //---------------------------------------------------------------------------
  2. //
  3. // celement.cpp - This file contains the class declarations for the element pool
  4. //
  5. //---------------------------------------------------------------------------//
  6. // Copyright (C) Microsoft Corporation. All rights reserved. //
  7. //===========================================================================//
  8. //---------------------------------------------------------------------------
  9. // Include files
  10. #ifndef CELEMENT_H
  11. #include "celement.h"
  12. #endif
  13. #ifndef HEAP_H
  14. #include "heap.h"
  15. #endif
  16. #include <gameos.hpp>
  17. //---------------------------------------------------------------------------
  18. // Static Data Members
  19. //---------------------------------------------------------------------------
  20. // Class Element
  21. Element::Element (long _depth)
  22. {
  23. depth = _depth;
  24. drawNormal = TRUE;
  25. }
  26. //---------------------------------------------------------------------------
  27. // Class Element
  28. Element::Element (float _depth)
  29. {
  30. depth = _depth;
  31. drawNormal = TRUE;
  32. }
  33. //---------------------------------------------------------------------------