Artword_def.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* Artword_def.h
  2. *
  3. * Copyright (C) 1992-2005,2008,2009,2011,2015-2018 Paul Boersma
  4. *
  5. * This code is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * This code is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. * See the GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this work. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #define ooSTRUCT ArtwordData
  19. oo_DEFINE_STRUCT (ArtwordData)
  20. oo_INT16 (numberOfTargets)
  21. oo_VEC (targets, numberOfTargets)
  22. oo_VEC (times, numberOfTargets)
  23. #if oo_DECLARING
  24. oo_INT16 (_iTarget)
  25. #endif
  26. oo_END_STRUCT (ArtwordData)
  27. #undef ooSTRUCT
  28. #define ooSTRUCT Artword
  29. oo_DEFINE_CLASS (Artword, Daata)
  30. oo_DOUBLE (totalTime)
  31. oo_STRUCT_SET (ArtwordData, data, kArt_muscle)
  32. oo_END_CLASS (Artword)
  33. #undef ooSTRUCT
  34. /* End of file Artword_def.h */