Debian Codegraph @

src/backgrnd.h

raw symbols SCIP
1 /*
2 * OpenTyrian: A modern cross-platform port of Tyrian
3 * Copyright (C) 2007-2009 The OpenTyrian Development Team
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19 #ifndef BACKGRND_H
20 #define BACKGRND_Hcxx . . $ `src/backgrnd.h:20:9`!
21
22 #include "opentyr.h"cxx . . $ `<file>/src/opentyr.h`/
23
24 #include "SDL.h"
25
26 #include <stdint.h>
27
28 extern JE_wordcxx . . $ JE_word# backPoscxx . . $ backPos., backPos2cxx . . $ backPos2., backPos3cxx . . $ backPos3.;
29 extern JE_wordcxx . . $ JE_word# backMovecxx . . $ backMove., backMove2cxx . . $ backMove2., backMove3cxx . . $ backMove3.;
30 extern JE_wordcxx . . $ JE_word# mapXcxx . . $ mapX., mapYcxx . . $ mapY., mapX2cxx . . $ mapX2., mapX3cxx . . $ mapX3., mapY2cxx . . $ mapY2., mapY3cxx . . $ mapY3.;
31 extern JE_bytecxx . . $ JE_byte# **mapYPoscxx . . $ mapYPos., **mapY2Poscxx . . $ mapY2Pos., **mapY3Poscxx . . $ mapY3Pos.;
32 extern JE_wordcxx . . $ JE_word# mapXPoscxx . . $ mapXPos., oldMapXOfscxx . . $ oldMapXOfs., mapXOfscxx . . $ mapXOfs., mapX2Ofscxx . . $ mapX2Ofs., mapX2Poscxx . . $ mapX2Pos., mapX3Poscxx . . $ mapX3Pos., oldMapX3Ofscxx . . $ oldMapX3Ofs., mapX3Ofscxx . . $ mapX3Ofs., tempMapXOfscxx . . $ tempMapXOfs.;
33 extern intptr_tcxx . . $ intptr_t# mapXbpPoscxx . . $ mapXbpPos., mapX2bpPoscxx . . $ mapX2bpPos., mapX3bpPoscxx . . $ mapX3bpPos.;
34 extern JE_bytecxx . . $ JE_byte# map1YDelaycxx . . $ map1YDelay., map1YDelayMaxcxx . . $ map1YDelayMax., map2YDelaycxx . . $ map2YDelay., map2YDelayMaxcxx . . $ map2YDelayMax.;
35 extern JE_booleancxx . . $ JE_boolean# anySmoothiescxx . . $ anySmoothies.; // if yes, I want one :D
36 extern JE_bytecxx . . $ JE_byte# smoothie_datacxx . . $ smoothie_data.[9];
37
38 extern int starfield_speedcxx . . $ starfield_speed.;
39
40 void JE_darkenBackgroundcxx . . $ JE_darkenBackground(ed53e3bbd3fa2f69).(JE_wordcxx . . $ JE_word# neat);
41
42 void blit_background_rowcxx . . $ blit_background_row(ff424ea3c1aad680).(SDL_Surfacecxx . . $ SDL_Surface# *surface, int x, int y, Uint8cxx . . $ Uint8# **map);
43 void blit_background_row_blendcxx . . $ blit_background_row_blend(ff424ea3c1aad680).(SDL_Surfacecxx . . $ SDL_Surface# *surface, int x, int y, Uint8cxx . . $ Uint8# **map);
44
45 void draw_background_1cxx . . $ draw_background_1(60a0b30a00b4fc6d).(SDL_Surfacecxx . . $ SDL_Surface# *surface);
46 void draw_background_2cxx . . $ draw_background_2(60a0b30a00b4fc6d).(SDL_Surfacecxx . . $ SDL_Surface# *surface);
47 void draw_background_2_blendcxx . . $ draw_background_2_blend(60a0b30a00b4fc6d).(SDL_Surfacecxx . . $ SDL_Surface# *surface);
48 void draw_background_3cxx . . $ draw_background_3(60a0b30a00b4fc6d).(SDL_Surfacecxx . . $ SDL_Surface# *surface);
49
50 void JE_filterScreencxx . . $ JE_filterScreen(d8573db2507826ee).(JE_shortintcxx . . $ JE_shortint# col, JE_shortintcxx . . $ JE_shortint# generic_int);
51
52 void JE_checkSmoothiescxx . . $ JE_checkSmoothies(49f6e7a06ebc5aa8).(void);
53 void lava_filtercxx . . $ lava_filter(fac4f6e207c3be86).(SDL_Surfacecxx . . $ SDL_Surface# *dst, SDL_Surfacecxx . . $ SDL_Surface# *src);
54 void water_filtercxx . . $ water_filter(fac4f6e207c3be86).(SDL_Surfacecxx . . $ SDL_Surface# *dst, SDL_Surfacecxx . . $ SDL_Surface# *src);
55 void iced_blur_filtercxx . . $ iced_blur_filter(fac4f6e207c3be86).(SDL_Surfacecxx . . $ SDL_Surface# *dst, SDL_Surfacecxx . . $ SDL_Surface# *src);
56 void blur_filtercxx . . $ blur_filter(fac4f6e207c3be86).(SDL_Surfacecxx . . $ SDL_Surface# *dst, SDL_Surfacecxx . . $ SDL_Surface# *src);
57 /*smoothies #5 is used for 3*/
58 /*smoothies #9 is a vertical flip*/
59
60 void initialize_starfieldcxx . . $ initialize_starfield(49f6e7a06ebc5aa8).(void);
61 void update_and_draw_starfieldcxx . . $ update_and_draw_starfield(114b59e033bfc6fe).(SDL_Surfacecxx . . $ SDL_Surface#* surface, int move_speed);
62
63 #endif /* BACKGRND_H */