すくすくゴートうちゃん Android 版(黒歴史)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dialogue.mod.hsp 569 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef __DIALOGUE__
  2. #define __DIALOGUE__
  3. #module \
  4. Dialogue
  5. #const DIALOGUE_WIDTH 840
  6. #const DIALOGUE_HEIGHT 600
  7. #const DIALOGUE_TOP 360
  8. #const DIALOGUE_BOTTOM (DIALOGUE_TOP + DIALOGUE_HEIGHT)
  9. #const DIALOGUE_LEFT ((DISPLAY_WIDTH - DIALOGUE_WIDTH) / 2)
  10. #const DIALOGUE_RIGHT ((DISPLAY_WIDTH + DIALOGUE_WIDTH) / 2)
  11. #deffunc local \
  12. Show
  13. showing = True
  14. Return
  15. #deffunc local \
  16. Hide
  17. showing = False
  18. Return
  19. #deffunc local \
  20. Draw
  21. If showing = False {
  22. Return
  23. }
  24. Pos DIALOGUE_LEFT, DIALOGUE_TOP
  25. CelPut bufferId
  26. Return
  27. #global
  28. #endif ; not __DIALOGUE__