00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
#ifndef NGLE_H
00026
#define NGLE_H
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
#include <unistd.h>
00037
#include <stdlib.h>
00038
#include <stdio.h>
00039
#include <errno.h>
00040
#include <assert.h>
00041
#include <sys/types.h>
00042
#include <sys/stat.h>
00043
#include <sys/sysmacros.h>
00044
#include <sys/framebuf.h>
00045
#include <fcntl.h>
00046
00047
#include "X.h"
00048
#include "Xproto.h"
00049
00050
#include "scrnintstr.h"
00051
#include "cursorstr.h"
00052
#include "pixmapstr.h"
00053
#include "regionstr.h"
00054
#include "gcstruct.h"
00055
#include "windowstr.h"
00056
#include "colormapst.h"
00057
#include "resource.h"
00058
#include "opaque.h"
00059
00060
00061
#include "mibstorest.h"
00062
00063
#ifndef Card32
00064
#define Card32 unsigned int
00065
#endif
00066
#ifndef Int32
00067
#define Int32 int
00068
#endif
00069
00070
#ifndef Card16
00071
#define Card16 unsigned short
00072
#endif
00073
#ifndef Int16
00074
#define Int16 short
00075
#endif
00076
00077
#ifndef Card8
00078
#define Card8 unsigned char
00079
#endif
00080
#ifndef Int8
00081
#define Int8 char
00082
#endif
00083
00084
#include "ngleextern.h"
00085
#include "dregs.h"
00086
#include "ngledevrom.h"
00087
#include "nglehdw.h"
00088
#include "nglecursor.h"
00089
#include "nglecopy.h"
00090
#include "nglecolormap.h"
00091
#include "nglenoop.h"
00092
#include "hppriv.h"
00093
#include "nglescreen.h"
00094
00095
00096
# ifndef S9000_ID_TIMBER
00097
# define S9000_ID_TIMBER 0x27F12392
00098
# endif
00099
00100
# ifndef S9000_ID_TOMCAT
00101
# define S9000_ID_TOMCAT 0x27FCCB6D
00102
# endif
00103
00104
# ifndef CRX24_OVERLAY_PLANES
00105
# define CRX24_OVERLAY_PLANES 0x920825AA
00106
# endif
00107
00108
# ifndef S9000_ID_ARTIST
00109
# define S9000_ID_ARTIST 0x2B4DED6D
00110
# endif
00111
00112
# ifndef S9000_ID_HCRX
00113
# define S9000_ID_HCRX 0x2BCB015A
00114
# endif
00115
00116
#define hpGivingUp (dispatchException & DE_TERMINATE)
00117
00118
#define MAX_BITS_PER_RGB 8
00119
00120
00121
#endif