credits.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2016 RWS Inc, All Rights Reserved
  4. //
  5. // This program is free software; you can redistribute it and/or modify
  6. // it under the terms of version 2 of the GNU General Public License as published by
  7. // the Free Software Foundation
  8. //
  9. // This program is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU General Public License for more details.
  13. //
  14. // You should have received a copy of the GNU General Public License along
  15. // with this program; if not, write to the Free Software Foundation, Inc.,
  16. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. //
  18. // credits.h
  19. // Project: Nostril (aka Postal)
  20. //
  21. // History:
  22. // 12/04/96 MJR Started.
  23. //
  24. // 08/11/97 JRD Transforming this module into a device for scolling text
  25. // which is intended to be used both by credits and by story.
  26. // It wil operate similar to cutscene in that all of it's
  27. // assets and memory usage is assumed temporary. It will still
  28. // use the shell sak for assets.
  29. //
  30. ////////////////////////////////////////////////////////////////////////////////
  31. #ifndef CREDITS_H
  32. #define CREDITS_H
  33. #include "SampleMaster.h"
  34. // Display the credits, returns SUCCESS or FAILURE
  35. extern short Credits(SampleMasterID* pMusic = NULL,
  36. char* pszBackground = NULL,
  37. char* pszCredits = NULL);
  38. // For general usage
  39. extern short ScrollPage(char* pszBackground,char* pszScrollScript,
  40. double dScrollRate = 0.0,RRect *prWindow = NULL);
  41. #endif //CREDITS_H
  42. ////////////////////////////////////////////////////////////////////////////////
  43. // EOF
  44. ////////////////////////////////////////////////////////////////////////////////