OU_CART.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * Seven Kingdoms: Ancient Adversaries
  3. *
  4. * Copyright 1997,1998 Enlight Software Ltd.
  5. *
  6. * This program is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  18. *
  19. */
  20. // Filename : OU_CART.H
  21. // Description : Header file for Explosive Cart
  22. #ifndef __OU_CART_H
  23. #define __OU_CART_H
  24. #include <OUNIT.h>
  25. #pragma pack(1)
  26. class UnitExpCart : public Unit
  27. {
  28. public:
  29. char triggered;
  30. public:
  31. UnitExpCart();
  32. ~UnitExpCart();
  33. int process_die();
  34. void trigger_explode();
  35. //-------------- multiplayer checking codes ---------------//
  36. virtual UCHAR crc8();
  37. virtual void clear_ptr();
  38. };
  39. #pragma pack()
  40. #endif