22 #ifndef AGS_PLUGINS_AGS_PAL_RENDER_RAYCAST_H 23 #define AGS_PLUGINS_AGS_PAL_RENDER_RAYCAST_H 25 #include "ags/plugins/ags_pal_render/pal_render.h" 29 namespace AGSPalRender {
53 int ignorelighting[4];
61 extern bool raycastOn;
68 extern double moveSpeed;
69 extern double rotSpeed;
70 extern unsigned char worldMap[MAP_WIDTH][MAP_HEIGHT];
71 extern unsigned char lightMap[MAP_WIDTH][MAP_HEIGHT];
72 extern int ceilingMap[MAP_WIDTH][MAP_HEIGHT];
73 extern int floorMap[MAP_WIDTH][MAP_HEIGHT];
74 extern int heightMap[MAP_WIDTH][MAP_HEIGHT];
75 extern unsigned char seenMap[MAP_WIDTH][MAP_HEIGHT];
76 extern int textureSlot;
77 extern int ambientlight;
79 #define numSprites 256 80 extern Sprite sprite[numSprites];
85 #define MAX_TEXTURES 512 86 extern unsigned char texture[][texWidth * texHeight];
88 extern bool heightmapOn;
94 extern unsigned char **transcolorbuffer;
95 extern unsigned char **transalphabuffer;
96 extern double **transzbuffer;
97 extern bool *transslicedrawn;
98 extern int *transwallblendmode;
99 extern double **ZBuffer;
100 extern double *distTable;
101 extern short *interactionmap;