59 procedure DrawRotatedTex(Tex: PTexture; hw, hh, X, Y, Dir: LongInt; Angle: real); |
59 procedure DrawRotatedTex(Tex: PTexture; hw, hh, X, Y, Dir: LongInt; Angle: real); |
60 procedure DrawCentered(X, Top: LongInt; Source: PTexture); |
60 procedure DrawCentered(X, Top: LongInt; Source: PTexture); |
61 procedure DrawFromRect(X, Y: LongInt; r: PSDL_Rect; SourceTexture: PTexture); |
61 procedure DrawFromRect(X, Y: LongInt; r: PSDL_Rect; SourceTexture: PTexture); |
62 procedure DrawHedgehog(X, Y: LongInt; Dir: LongInt; Pos, Step: LongWord; Angle: real); |
62 procedure DrawHedgehog(X, Y: LongInt; Dir: LongInt; Pos, Step: LongWord; Angle: real); |
63 procedure DrawFillRect(r: TSDL_Rect); |
63 procedure DrawFillRect(r: TSDL_Rect); |
|
64 procedure DrawRoundRect(rect: PSDL_Rect; BorderColor, FillColor: Longword; Surface: PSDL_Surface; Clear: boolean); |
64 function CheckCJKFont(s: string; font: THWFont): THWFont; |
65 function CheckCJKFont(s: string; font: THWFont): THWFont; |
65 function RenderStringTex(s: string; Color: Longword; font: THWFont): PTexture; |
66 function RenderStringTex(s: string; Color: Longword; font: THWFont): PTexture; |
66 function RenderSpeechBubbleTex(s: string; SpeechType: Longword; font: THWFont): PTexture; |
67 function RenderSpeechBubbleTex(s: string; SpeechType: Longword; font: THWFont): PTexture; |
67 procedure flipSurface(Surface: PSDL_Surface; Vertical: Boolean); |
68 procedure flipSurface(Surface: PSDL_Surface; Vertical: Boolean); |
68 //procedure rotateSurface(Surface: PSDL_Surface); |
69 //procedure rotateSurface(Surface: PSDL_Surface); |