2010-09-01 10:37:10 +00:00
|
|
|
#ifndef qedefs_h
|
|
|
|
#define qedefs_h
|
2003-03-18 19:48:24 +00:00
|
|
|
|
2003-05-06 21:52:58 +00:00
|
|
|
#include <AppKit/AppKit.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/dir.h>
|
|
|
|
#include <math.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <sys/fcntl.h>
|
|
|
|
|
|
|
|
#include "UserPath.h"
|
|
|
|
#include "cmdlib.h"
|
|
|
|
#include "mathlib.h"
|
|
|
|
|
|
|
|
#include "EntityClass.h"
|
2010-09-29 20:09:11 +00:00
|
|
|
#include "Project.h"
|
2003-05-06 21:52:58 +00:00
|
|
|
#include "QuakeEd.h"
|
|
|
|
#include "Map.h"
|
|
|
|
#include "TexturePalette.h"
|
|
|
|
#include "SetBrush.h"
|
|
|
|
#include "render.h"
|
|
|
|
#include "Entity.h"
|
|
|
|
|
|
|
|
#include "XYView.h"
|
|
|
|
#include "CameraView.h"
|
|
|
|
#include "ZView.h"
|
|
|
|
#include "ZScrollView.h"
|
2010-09-29 20:09:11 +00:00
|
|
|
#include "Preferences.h"
|
|
|
|
#include "InspectorControl.h"
|
2003-05-06 21:52:58 +00:00
|
|
|
#include "PopScrollView.h"
|
|
|
|
#include "KeypairView.h"
|
|
|
|
#include "Things.h"
|
|
|
|
#include "TextureView.h"
|
|
|
|
#include "Clipper.h"
|
2003-03-18 19:48:24 +00:00
|
|
|
|
2010-09-29 20:09:11 +00:00
|
|
|
void PrintRect (NSRect * r);
|
|
|
|
int FileTime (char *path);
|
|
|
|
void Sys_UpdateFile (char *path, char *netpath);
|
|
|
|
void CleanupName (char *in, char *out);
|
2003-03-18 19:48:24 +00:00
|
|
|
|
2010-09-29 20:09:11 +00:00
|
|
|
extern BOOL in_error;
|
|
|
|
void Error (char *error, ...);
|
2003-03-18 19:48:24 +00:00
|
|
|
|
2010-09-29 20:09:11 +00:00
|
|
|
#define MAXTOKEN 128
|
|
|
|
extern char token[MAXTOKEN];
|
|
|
|
extern int scriptline;
|
2003-03-18 19:48:24 +00:00
|
|
|
|
2010-09-29 20:09:11 +00:00
|
|
|
void StartTokenParsing (char *data);
|
|
|
|
boolean GetToken (boolean crossline); // returns false at eof
|
|
|
|
void UngetToken ();
|
2003-03-18 19:48:24 +00:00
|
|
|
|
2010-09-29 20:09:11 +00:00
|
|
|
#define FN_CMDOUT "/tmp/QuakeEdCmd.txt"
|
|
|
|
#define FN_TEMPSAVE "/qcache/temp.map"
|
|
|
|
#define FN_AUTOSAVE "/qcache/AutoSaveMap.map"
|
|
|
|
#define FN_CRASHSAVE "/qcache/ErrorSaveMap.map"
|
|
|
|
#define FN_DEVLOG "/qcache/devlog"
|
2003-03-18 19:48:24 +00:00
|
|
|
|
2010-09-11 10:06:04 +00:00
|
|
|
#endif // qedefs_h
|