diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-05 01:51:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-05 01:51:21 +0300 |
commit | 9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0 (patch) | |
tree | 8a3356497ca1d8da1d4ba8ba0629aa1829111364 /src/fs/virtfs/virtfsdirrwops.cpp | |
parent | 7594ad94dfdf580a82fb07ddb346442160b3d91d (diff) | |
download | manaverse-9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0.tar.gz manaverse-9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0.tar.bz2 manaverse-9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0.tar.xz manaverse-9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0.zip |
Rename virtfile into file.
Diffstat (limited to 'src/fs/virtfs/virtfsdirrwops.cpp')
-rw-r--r-- | src/fs/virtfs/virtfsdirrwops.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/virtfs/virtfsdirrwops.cpp b/src/fs/virtfs/virtfsdirrwops.cpp index 14cc69db8..692d107cd 100644 --- a/src/fs/virtfs/virtfsdirrwops.cpp +++ b/src/fs/virtfs/virtfsdirrwops.cpp @@ -22,7 +22,7 @@ #include "logger.h" -#include "fs/virtfs/virtfile.h" +#include "fs/virtfs/file.h" #include <SDL_rwops.h> @@ -39,7 +39,7 @@ namespace VirtFsDir { if (!rw) return -1; - VirtFile *const handle = static_cast<VirtFile *const>( + File *const handle = static_cast<File *const>( rw->hidden.unknown.data1); FILEHTYPE fd = handle->mFd; RWOPSINT pos = 0; @@ -151,7 +151,7 @@ namespace VirtFsDir { if (!rw) return 0; - VirtFile *const handle = static_cast<VirtFile *const>( + File *const handle = static_cast<File *const>( rw->hidden.unknown.data1); FILEHTYPE fd = handle->mFd; @@ -187,7 +187,7 @@ namespace VirtFsDir { if (!rw) return 0; - VirtFile *const handle = static_cast<VirtFile *const>( + File *const handle = static_cast<File *const>( rw->hidden.unknown.data1); FILEHTYPE fd = handle->mFd; @@ -220,7 +220,7 @@ namespace VirtFsDir { if (!rw) return 0; - VirtFile *const handle = static_cast<VirtFile*>( + File *const handle = static_cast<File*>( rw->hidden.unknown.data1); delete handle; SDL_FreeRW(rw); @@ -230,7 +230,7 @@ namespace VirtFsDir #ifdef USE_SDL2 RWOPSINT rwops_size(SDL_RWops *const rw) { - VirtFile *const handle = static_cast<VirtFile *const>( + File *const handle = static_cast<File *const>( rw->hidden.unknown.data1); FILEHTYPE fd = handle->mFd; #ifdef USE_FILE_FOPEN |