aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/gfx.cpp
diff options
context:
space:
mode:
authorNipun Garg2019-07-08 01:19:13 +0530
committerEugene Sandulenko2019-09-03 17:17:14 +0200
commit82fe644f543c8375b5cd901538511fc4e3c0f192 (patch)
tree6f2d910459abf6ff1d109cc57b56198cd2af5d48 /engines/hdb/gfx.cpp
parentce6b62d8968a14ad6b0eeef215ea0eeda106562f (diff)
downloadscummvm-rg350-82fe644f543c8375b5cd901538511fc4e3c0f192.tar.gz
scummvm-rg350-82fe644f543c8375b5cd901538511fc4e3c0f192.tar.bz2
scummvm-rg350-82fe644f543c8375b5cd901538511fc4e3c0f192.zip
HDB: Remove unnecessary functions
Diffstat (limited to 'engines/hdb/gfx.cpp')
-rw-r--r--engines/hdb/gfx.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp
index 63e82150f7..84d3d2949c 100644
--- a/engines/hdb/gfx.cpp
+++ b/engines/hdb/gfx.cpp
@@ -273,38 +273,6 @@ Tile *Gfx::loadTile(const char *tileName) {
return tile;
}
-void Gfx::savePic(Picture *pic, Common::OutSaveFile *out) {
- if (pic == NULL) {
- for (int i = 0; i < 64; i++)
- out->writeByte(0);
- } else {
- out->write(pic->getName(), 64);
- }
-}
-
-void Gfx::saveTile(Tile *tile, Common::OutSaveFile *out) {
- if (tile == NULL) {
- for (int i = 0; i < 64; i++)
- out->writeByte(0);
- } else {
- out->write(tile->getName(), 64);
- }
-}
-
-void Gfx::loadPicSave(Picture *pic, Common::InSaveFile *in) {
- delete pic;
- char readName[64];
- in->read(readName, 64);
- pic = loadPic(readName);
-}
-
-void Gfx::loadTileSave(Tile *tile, Common::InSaveFile *in) {
- delete tile;
- char readName[64];
- in->read(readName, 64);
- tile = loadTile(readName);
-}
-
Tile *Gfx::getTile(int index) {
if (index < 0 || index > _numTiles) {