diff options
author | pixel <pixel> | 2003-12-04 03:40:38 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-12-04 03:40:38 +0000 |
commit | 9a54b0afea62322465b4de1c53c957d43f05b661 (patch) | |
tree | e16e84baa0936e43d4fe37ba0080e02bcdeec204 | |
parent | d843ef0f88d02f685db90b957545b237218a0bcb (diff) |
Added hardhide function
-rw-r--r-- | includes/isobuilder.h | 3 | ||||
-rw-r--r-- | lib/isobuilder.cpp | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/includes/isobuilder.h b/includes/isobuilder.h index 572c332..e8cba8e 100644 --- a/includes/isobuilder.h +++ b/includes/isobuilder.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: isobuilder.h,v 1.4 2003-12-04 03:39:28 pixel Exp $ */ +/* $Id: isobuilder.h,v 1.5 2003-12-04 03:40:38 pixel Exp $ */ #ifndef __ISOBUILDER_H__
#define __ISOBUILDER_H__
@@ -52,6 +52,7 @@ class isobuilder : public Base { int sector;
int size;
bool hidden;
+ bool hardhide;
String name;
Date creation;
bool have_xa, xa_dir, xa_audio, xa_str, xa_xa, xa_form1;
diff --git a/lib/isobuilder.cpp b/lib/isobuilder.cpp index cee2b93..7fc15c9 100644 --- a/lib/isobuilder.cpp +++ b/lib/isobuilder.cpp @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: isobuilder.cpp,v 1.4 2003-12-04 03:39:28 pixel Exp $ */ +/* $Id: isobuilder.cpp,v 1.5 2003-12-04 03:40:38 pixel Exp $ */ #include "isobuilder.h"
@@ -150,6 +150,8 @@ void isobuilder::DirTree::dumpdirs(isobuilder * builder) throw (GeneralException for (p = child; p; p = p->brother) {
if (p->dir) {
p->dumpdirs(builder);
+ if (hardhide)
+ continue;
}
while (!(R = p->buildentry(dir, cursectsize))) {
cursiz -= 2048;
|