WWCharacter.h 1.7 KB

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