lil update
This commit is contained in:
7
PBMap.pb
7
PBMap.pb
@@ -531,9 +531,7 @@ Module PBMap
|
|||||||
Procedure.i GetTileFromHDD(CacheFile.s)
|
Procedure.i GetTileFromHDD(CacheFile.s)
|
||||||
Protected nImage.i
|
Protected nImage.i
|
||||||
If FileSize(CacheFile) > 0
|
If FileSize(CacheFile) > 0
|
||||||
; OnErrorCall(@LoadErrorHandler())
|
|
||||||
nImage = LoadImage(#PB_Any, CacheFile)
|
nImage = LoadImage(#PB_Any, CacheFile)
|
||||||
; OnErrorDefault()
|
|
||||||
If IsImage(nImage)
|
If IsImage(nImage)
|
||||||
MyDebug("Success loading " + CacheFile + " as nImage " + Str(nImage), 3)
|
MyDebug("Success loading " + CacheFile + " as nImage " + Str(nImage), 3)
|
||||||
ProcedureReturn nImage
|
ProcedureReturn nImage
|
||||||
@@ -574,7 +572,7 @@ Module PBMap
|
|||||||
Else
|
Else
|
||||||
MyDebug("Can't catch image loaded from web " + TileURL, 3)
|
MyDebug("Can't catch image loaded from web " + TileURL, 3)
|
||||||
nImage = -1
|
nImage = -1
|
||||||
;ShowMemoryViewer(*Buffer, MemorySize(*Buffer))
|
|
||||||
EndIf
|
EndIf
|
||||||
Else
|
Else
|
||||||
MyDebug(" Problem loading from web " + TileURL, 3)
|
MyDebug(" Problem loading from web " + TileURL, 3)
|
||||||
@@ -1426,7 +1424,8 @@ CompilerIf #PB_Compiler_IsMainFile
|
|||||||
|
|
||||||
CompilerEndIf
|
CompilerEndIf
|
||||||
; IDE Options = PureBasic 5.50 (Windows - x64)
|
; IDE Options = PureBasic 5.50 (Windows - x64)
|
||||||
; CursorPosition = 1411
|
; CursorPosition = 1209
|
||||||
|
; FirstLine = 1381
|
||||||
; Folding = -----------
|
; Folding = -----------
|
||||||
; EnableThread
|
; EnableThread
|
||||||
; EnableXP
|
; EnableXP
|
||||||
|
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 374 KiB |
Reference in New Issue
Block a user