source: abuse/trunk/src/loader2.hpp @ 57

Last change on this file since 57 was 57, checked in by Sam Hocevar, 11 years ago
  • Move each header to the same directory as its corresponding source, to get a better idea of which files are likely to export symbols.
File size: 2.8 KB
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *
5 *  This software was released into the Public Domain. As with most public
6 *  domain software, no warranty is made or implied by Crack dot Com or
7 *  Jonathan Clark.
8 */
9
10#ifndef __LOADER_HPP_
11#define __LOADER_HPP_
12
13#include "jwindow.hpp"
14#include "lisp.hpp"
15#include "sound.hpp"
16class property_manager;
17extern property_manager *prop;
18
19/*********************************title screen***********************************/
20extern int title_screen;
21
22
23/*********************************joystick pictures******************************/
24extern int joy_picts[2*9];
25
26/*************************** devleopment mode pictures **************************/
27extern int light_buttons[13];
28
29/*********************************Fonts******************************************/
30extern JCFont *big_font,*console_font;
31extern int big_font_pict,small_font_pict,console_font_pict;
32
33
34/******************************** FIGURES ***************************************/
35
36
37extern int damage_pict,block_pict;
38extern ushort current_start_type,start_position_type;
39
40
41/******************************* SOUND EFFECTS **********************************/
42extern int raise_volume,lower_volume,record_button,play_button,music_button,sfx_button;
43           
44extern int sfx_volume,music_volume,sound_avail;
45extern song *current_song;
46
47/******************************** SCREEN FRAME **********************************/
48extern int border_tile,window_texture,
49             record_button,play_button,window_colors,pause_image,vmm_image,
50             earth,earth_mask,clouds,
51             numbers[10], stat_bar,
52             ok_button,cancel_button,
53             cdc_logo;
54
55
56/******************************** TILES *****************************************/
57extern int *backtiles;                  // array of id's
58extern int *foretiles;
59extern int nforetiles,nbacktiles,       // total foreground tiles & background tiles
60           f_wid,f_hi,b_wid,b_hi;       //  width and height of foreground/background tiles
61
62
63/******************************** COLOR *****************************************/
64extern palette *pal;
65extern color_filter *color_table;
66extern int light_connection_color;
67
68
69/******************************** MOUSE CURSORS *********************************/
70extern int c_mouse1,c_mouse2,c_normal,c_target;
71
72/******************************* GLOBALS ****************************************/
73extern long bg_xmul,bg_xdiv,bg_ymul,bg_ydiv;  // brackground scroll rates
74extern char mouse_scrolling,palettes_locked,view_shift_disabled;
75extern int edit_mode;
76extern int start_running;
77
78
79image *load_image(spec_entry *e, bFILE *fp);      // preforms scaling
80image *load_image(bFILE *fp);   
81void load_data(int argc, char **argv);
82char *load_script(char *name);
83void load_tiles(Cell *file_list);
84extern char lsf[256];
85
86#endif
87
88
Note: See TracBrowser for help on using the repository browser.