equal
deleted
inserted
replaced
139 Theme : shortstring; |
139 Theme : shortstring; |
140 disableLandBack : boolean; |
140 disableLandBack : boolean; |
141 |
141 |
142 {$IFDEF SDL13} |
142 {$IFDEF SDL13} |
143 SDLwindow : PSDL_Window; |
143 SDLwindow : PSDL_Window; |
|
144 SDLrender : PSDL_Renderer; |
144 {$ENDIF} |
145 {$ENDIF} |
145 |
146 |
146 WorldDx: LongInt; |
147 WorldDx: LongInt; |
147 WorldDy: LongInt; |
148 WorldDy: LongInt; |
148 |
149 |
2335 |
2336 |
2336 ScreenFade := sfNone; |
2337 ScreenFade := sfNone; |
2337 |
2338 |
2338 {$IFDEF SDL13} |
2339 {$IFDEF SDL13} |
2339 SDLwindow := nil; |
2340 SDLwindow := nil; |
|
2341 SDLrender := nil; |
2340 {$ENDIF} |
2342 {$ENDIF} |
2341 |
2343 |
2342 // those values still are not perfect |
2344 // those values still are not perfect |
2343 cLeftScreenBorder:= round(-cMinZoomLevel * cScreenWidth); |
2345 cLeftScreenBorder:= round(-cMinZoomLevel * cScreenWidth); |
2344 cRightScreenBorder:= round(cMinZoomLevel * cScreenWidth + LAND_WIDTH); |
2346 cRightScreenBorder:= round(cMinZoomLevel * cScreenWidth + LAND_WIDTH); |