source: abuse/tags/pd/macabuse/inc/loader2.hpp @ 604

Last change on this file since 604 was 49, checked in by Sam Hocevar, 15 years ago
  • Imported original public domain release, for future reference.
File size: 2.5 KB
Line 
1#ifndef __LOADER_HPP_
2#define __LOADER_HPP_
3
4#include "jwindow.hpp"
5#include "lisp.hpp"
6#include "sound.hpp"
7class property_manager;
8extern property_manager *prop;
9
10/*********************************title screen***********************************/
11extern int title_screen;
12
13
14/*********************************joystick pictures******************************/
15extern int joy_picts[2*9];
16
17/*************************** devleopment mode pictures **************************/
18extern int light_buttons[13];
19
20/*********************************Fonts******************************************/
21extern JCFont *big_font,*console_font;
22extern int big_font_pict,small_font_pict,console_font_pict;
23
24
25/******************************** FIGURES ***************************************/
26
27
28extern int damage_pict,block_pict;
29extern ushort current_start_type,start_position_type;
30
31
32/******************************* SOUND EFFECTS **********************************/
33extern int raise_volume,lower_volume,record_button,play_button,music_button,sfx_button;
34           
35extern int sfx_volume,music_volume,sound_avail;
36extern song *current_song;
37
38/******************************** SCREEN FRAME **********************************/
39extern 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 *****************************************/
48extern int *backtiles;                  // array of id's
49extern int *foretiles;
50extern 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 *****************************************/
55extern palette *pal;
56extern color_filter *color_table;
57extern int light_connection_color;
58
59
60/******************************** MOUSE CURSORS *********************************/
61extern int c_mouse1,c_mouse2,c_normal,c_target;
62
63/******************************* GLOBALS ****************************************/
64extern long bg_xmul,bg_xdiv,bg_ymul,bg_ydiv;  // brackground scroll rates
65extern char mouse_scrolling,palettes_locked,view_shift_disabled;
66extern int edit_mode;
67extern int start_running;
68
69
70image *load_image(spec_entry *e, bFILE *fp);      // preforms scaling
71image *load_image(bFILE *fp);   
72void load_data(int argc, char **argv);
73char *load_script(char *name);
74void load_tiles(Cell *file_list);
75extern char lsf[256];
76
77#endif
78
79
Note: See TracBrowser for help on using the repository browser.