(svn r10143) -Add: store the filename of the grfs opened and allow easy access to the name

-Codechange: store the SpriteID in the spritecache too
-Add: add a PNG loader for graphical files
-Documentation: added a document to explain the PNG format
This commit is contained in:
truelight
2007-06-13 16:21:11 +00:00
parent 4185c4afcd
commit b7443d800b
12 changed files with 298 additions and 8 deletions

View File

@@ -1007,6 +1007,12 @@
<File
RelativePath=".\..\src\spriteloader\grf.hpp">
</File>
<File
RelativePath=".\..\src\spriteloader\png.cpp">
</File>
<File
RelativePath=".\..\src\spriteloader\png.hpp">
</File>
<File
RelativePath=".\..\src\spriteloader\spriteloader.hpp">
</File>

View File

@@ -956,7 +956,7 @@
>
</File>
<File
RelativePath="..\src\newgrf_industrytiles.h"
RelativePath=".\..\src\newgrf_industrytiles.h"
>
</File>
<File
@@ -1563,6 +1563,14 @@
RelativePath=".\..\src\spriteloader\grf.hpp"
>
</File>
<File
RelativePath=".\..\src\spriteloader\png.cpp"
>
</File>
<File
RelativePath=".\..\src\spriteloader\png.hpp"
>
</File>
<File
RelativePath=".\..\src\spriteloader\spriteloader.hpp"
>
@@ -1636,7 +1644,7 @@
>
</File>
<File
RelativePath="..\src\newgrf_industrytiles.cpp"
RelativePath=".\..\src\newgrf_industrytiles.cpp"
>
</File>
<File