source: abuse/trunk/src/loader2.h @ 481

Last change on this file since 481 was 481, checked in by Sam Hocevar, 11 years ago

Fuck the history, I'm renaming all .hpp files to .h for my own sanity.

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