28extern JE_word backPos, backPos2, backPos3;
29extern JE_word backMove, backMove2, backMove3;
30extern JE_word mapX, mapY, mapX2, mapX3, mapY2, mapY3;
31extern JE_byte **mapYPos, **mapY2Pos, **mapY3Pos;
32extern JE_word mapXPos, oldMapXOfs, mapXOfs, mapX2Ofs, mapX2Pos, mapX3Pos, oldMapX3Ofs, mapX3Ofs, tempMapXOfs;
33extern intptr_t mapXbpPos, mapX2bpPos, mapX3bpPos;
34extern JE_byte map1YDelay, map1YDelayMax, map2YDelay, map2YDelayMax;
35extern JE_boolean anySmoothies;
36extern JE_byte smoothie_data[9];
38extern int starfield_speed;
40void JE_darkenBackground(JE_word neat);
42void blit_background_row(SDL_Surface *surface,
int x,
int y, Uint8 **map);
43void blit_background_row_blend(SDL_Surface *surface,
int x,
int y, Uint8 **map);
45void draw_background_1(SDL_Surface *surface);
46void draw_background_2(SDL_Surface *surface);
47void draw_background_2_blend(SDL_Surface *surface);
48void draw_background_3(SDL_Surface *surface);
50void JE_filterScreen(JE_shortint col, JE_shortint generic_int);
52void JE_checkSmoothies(
void);
53void lava_filter(SDL_Surface *dst, SDL_Surface *src);
54void water_filter(SDL_Surface *dst, SDL_Surface *src);
55void iced_blur_filter(SDL_Surface *dst, SDL_Surface *src);
56void blur_filter(SDL_Surface *dst, SDL_Surface *src);
60void initialize_starfield(
void);
61void update_and_draw_starfield(SDL_Surface* surface,
int move_speed);