WWCharacter.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef _WWCharacter_h_INCLUDED_
  2. #define _WWCharacter_h_INCLUDED_
  3. /*****************************************************************************/
  4. /* ここから */
  5. /*****************************************************************************/
  6. #include <stdio.h>
  7. #include <stdlib.h>
  8. /*****************************************************************************/
  9. /* クラスの定義 */
  10. /*****************************************************************************/
  11. typedef struct _WWCharacter * WWCharacter;
  12. /*****************************************************************************/
  13. /* メンバ関数の宣言 */
  14. /*****************************************************************************/
  15. int WWCharacter_GetNumber(WWCharacter c);
  16. int WWCharacter_SetNumber(WWCharacter c, int n);
  17. WWCharacter WWCharacter_Create(int number, unsigned char * bitmap);
  18. WWCharacter WWCharacter_Destroy(WWCharacter character);
  19. unsigned char * WWCharacter_GetBitmap(WWCharacter character);
  20. int WWCharacter_SetBitmap(WWCharacter character, unsigned char * bitmap);
  21. int WWCharacter_GetPixel(WWCharacter character, int x, int y);
  22. int WWCharacter_SetPixel(WWCharacter character, int x, int y, int pixel);
  23. int WWCharacter_CopyBitmap(WWCharacter dst, WWCharacter src);
  24. int WWCharacter_PrintData(WWCharacter character, FILE * f);
  25. /*****************************************************************************/
  26. /* ここまで */
  27. /*****************************************************************************/
  28. #endif
  29. /*****************************************************************************/
  30. /* End of File. */
  31. /*****************************************************************************/