|
1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #ifndef __DIALOGUE__
- #define __DIALOGUE__
-
- #module \
- Dialogue
-
- #const DIALOGUE_WIDTH 840
- #const DIALOGUE_HEIGHT 600
-
- #const DIALOGUE_TOP 360
- #const DIALOGUE_BOTTOM (DIALOGUE_TOP + DIALOGUE_HEIGHT)
- #const DIALOGUE_LEFT ((DISPLAY_WIDTH - DIALOGUE_WIDTH) / 2)
- #const DIALOGUE_RIGHT ((DISPLAY_WIDTH + DIALOGUE_WIDTH) / 2)
-
- #deffunc local \
- Show
- showing = True
-
- Return
-
- #deffunc local \
- Hide
- showing = False
-
- Return
-
- #deffunc local \
- Draw
- If showing = False {
- Return
- }
-
- Pos DIALOGUE_LEFT, DIALOGUE_TOP
- CelPut bufferId
-
- Return
-
- #global
-
- #endif ; not __DIALOGUE__
-
|