From 3bc884ebf660618c4efbb39508807ec10db662f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C5=91v=C3=A1g=C3=B3=20Zolt=C3=A1n?= Date: Sat, 8 Mar 2008 15:56:00 +0100 Subject: [PATCH] Oups, removed CFileData (it was only used by the PAK system) --- src/CFileData.cpp | 46 ---------------------------------------------- src/CFileData.h | 34 ---------------------------------- src/wscript | 1 - 3 files changed, 81 deletions(-) delete mode 100644 src/CFileData.cpp delete mode 100644 src/CFileData.h diff --git a/src/CFileData.cpp b/src/CFileData.cpp deleted file mode 100644 index 8c084f4..0000000 --- a/src/CFileData.cpp +++ /dev/null @@ -1,46 +0,0 @@ -/* -Copyright (C) 2004 Parallel Realities -Copyright (C) 2007 Kővágó Zoltán - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -*/ - -#include "headers.h" - -FileData::FileData() -{ - strcpy(filename, ""); - fSize = 0; - cSize = 0; - location = 0; -} - -void FileData::set(char *filename, Uint32 fSize, Uint32 cSize, Uint32 location) -{ - if (strlen(filename) > 59) - { - printf("WARNING: FileData::set - FILENAME EXCEEDS 60 CHARACTERS!!!\n"); - } - - strncpy(this->filename, filename, 59); - filename[59] = '\0'; - - this->fSize = fSize; - this->cSize = cSize; - this->location = location; -} - diff --git a/src/CFileData.h b/src/CFileData.h deleted file mode 100644 index ce93d7c..0000000 --- a/src/CFileData.h +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (C) 2004 Parallel Realities -Copyright (C) 2007 Kővágó Zoltán - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -*/ - -class FileData { - - public: - - char filename[60]; - Uint32 cSize; - Uint32 fSize; - Uint32 location; - - FileData(); - - void set(char *filename, Uint32 fSize, Uint32 cSize, Uint32 location); -}; diff --git a/src/wscript b/src/wscript index 219ba00..dfb1015 100644 --- a/src/wscript +++ b/src/wscript @@ -14,7 +14,6 @@ blobobjects = [ "CEffect.cpp", "CEngine.cpp", "CEntity.cpp", -# "CFileData.cpp", "CGame.cpp", "CGameData.cpp", "CGameObject.cpp", -- 2.11.4.GIT