summaryrefslogtreecommitdiff
path: root/utils/common/qfiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/common/qfiles.h')
-rw-r--r--utils/common/qfiles.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/utils/common/qfiles.h b/utils/common/qfiles.h
new file mode 100644
index 0000000..fc122c3
--- /dev/null
+++ b/utils/common/qfiles.h
@@ -0,0 +1,42 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $Workfile: $
+// $Date: $
+//
+//-----------------------------------------------------------------------------
+// $Log: $
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef QFILES_H
+#define QFILES_H
+#pragma once
+
+
+//
+// qfiles.h: quake file formats
+// This file must be identical in the quake and utils directories
+//
+
+#include "basetypes.h"
+#include "commonmacros.h"
+#include "worldsize.h"
+#include "bspfile.h"
+
+#define MAX_OSPATH 260
+#define MAX_QPATH 64
+
+/*
+========================================================================
+
+The .pak files are just a linear collapse of a directory tree
+
+========================================================================
+*/
+
+#define IDPAKHEADER (('K'<<24)+('C'<<16)+('A'<<8)+'P')
+
+#endif // QFILES_H