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

Last change on this file since 682 was 579, checked in by Sam Hocevar, 8 years ago

imlib: refactor the Filter and ColorFilter? classes.

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