1 | #ifndef __LOADER_HPP_ |
---|
2 | #define __LOADER_HPP_ |
---|
3 | |
---|
4 | #include "jwindow.hpp" |
---|
5 | #include "lisp.hpp" |
---|
6 | #include "sound.hpp" |
---|
7 | class property_manager; |
---|
8 | extern property_manager *prop; |
---|
9 | |
---|
10 | /*********************************title screen***********************************/ |
---|
11 | extern int title_screen; |
---|
12 | |
---|
13 | |
---|
14 | /*********************************joystick pictures******************************/ |
---|
15 | extern int joy_picts[2*9]; |
---|
16 | |
---|
17 | /*************************** devleopment mode pictures **************************/ |
---|
18 | extern int light_buttons[13]; |
---|
19 | |
---|
20 | /*********************************Fonts******************************************/ |
---|
21 | extern JCFont *big_font,*console_font; |
---|
22 | extern int big_font_pict,small_font_pict,console_font_pict; |
---|
23 | |
---|
24 | |
---|
25 | /******************************** FIGURES ***************************************/ |
---|
26 | |
---|
27 | |
---|
28 | extern int damage_pict,block_pict; |
---|
29 | extern ushort current_start_type,start_position_type; |
---|
30 | |
---|
31 | |
---|
32 | /******************************* SOUND EFFECTS **********************************/ |
---|
33 | extern int raise_volume,lower_volume,record_button,play_button,music_button,sfx_button; |
---|
34 | |
---|
35 | extern int sfx_volume,music_volume,sound_avail; |
---|
36 | extern song *current_song; |
---|
37 | |
---|
38 | /******************************** SCREEN FRAME **********************************/ |
---|
39 | extern int border_tile,window_texture, |
---|
40 | record_button,play_button,window_colors,pause_image,vmm_image, |
---|
41 | earth,earth_mask,clouds, |
---|
42 | numbers[10], stat_bar, |
---|
43 | ok_button,cancel_button, |
---|
44 | cdc_logo; |
---|
45 | |
---|
46 | |
---|
47 | /******************************** TILES *****************************************/ |
---|
48 | extern int *backtiles; // array of id's |
---|
49 | extern int *foretiles; |
---|
50 | extern int nforetiles,nbacktiles, // total foreground tiles & background tiles |
---|
51 | f_wid,f_hi,b_wid,b_hi; // width and height of foreground/background tiles |
---|
52 | |
---|
53 | |
---|
54 | /******************************** COLOR *****************************************/ |
---|
55 | extern palette *pal; |
---|
56 | extern color_filter *color_table; |
---|
57 | extern int light_connection_color; |
---|
58 | |
---|
59 | |
---|
60 | /******************************** MOUSE CURSORS *********************************/ |
---|
61 | extern int c_mouse1,c_mouse2,c_normal,c_target; |
---|
62 | |
---|
63 | /******************************* GLOBALS ****************************************/ |
---|
64 | extern long bg_xmul,bg_xdiv,bg_ymul,bg_ydiv; // brackground scroll rates |
---|
65 | extern char mouse_scrolling,palettes_locked,view_shift_disabled; |
---|
66 | extern int edit_mode; |
---|
67 | extern int start_running; |
---|
68 | |
---|
69 | |
---|
70 | image *load_image(spec_entry *e, bFILE *fp); // preforms scaling |
---|
71 | image *load_image(bFILE *fp); |
---|
72 | void load_data(int argc, char **argv); |
---|
73 | char *load_script(char *name); |
---|
74 | void load_tiles(Cell *file_list); |
---|
75 | extern char lsf[256]; |
---|
76 | |
---|
77 | #endif |
---|
78 | |
---|
79 | |
---|