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

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

ps3: make everything compile on the PS3. Of course, nothing links yet
because so much support is missing.

  • Property svn:keywords set to Id
File size: 1.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 __CLISP_HPP_
12
13int get_lprop_number(void *sybol, int def);  // returns def if symbol undefined or not number type
14
15
16// variables for the status bar
17extern LSymbol *l_chat_input, *l_post_render;
18
19// FIXME: port these to LSymbol
20extern void *l_statbar_ammo_x,*l_statbar_ammo_y,
21            *l_statbar_ammo_w,*l_statbar_ammo_h,
22        *l_statbar_ammo_bg_color,
23
24            *l_statbar_health_x,*l_statbar_health_y,
25            *l_statbar_health_w,*l_statbar_health_h,
26        *l_statbar_health_bg_color,
27
28        *l_statbar_logo_x,*l_statbar_logo_y,
29        *l_object,*l_tile,*l_fire_object,
30        *l_player_draw,*l_sneaky_draw,
31        *l_draw_fast,*l_player_tints,*l_next_song,
32        *l_level_load_start,
33        *l_level_load_end,
34        *l_cdc_logo,
35        *l_keep_backup,
36        *l_switch_to_powerful,
37        *l_mouse_can_switch,
38        *l_ask_save_slot,
39        *l_get_local_input,
40        *l_player_text_color,
41        *l_level_loaded;        // called when a new level is loaded
42
43
44/******************************** Lisp objects **********************************/
45extern LSymbol *l_difficulty, *l_easy, *l_hard, *l_medium, *l_extreme,
46    *l_max_hp, *l_max_power,
47    *l_empty_cache;
48
49// FIXME: port these to LSymbol
50extern void *l_main_menu,
51     *l_logo,*l_state_art,*l_default_abilities,*l_abilities,
52     *l_default_ai_function,*l_state_sfx, *l_morph,
53     *l_song_list,*l_filename,*l_sfx_directory,*l_default_font,
54     *l_range,*l_joy_file,*l_death_handler,
55     *l_title_screen,*l_console_font,*l_fields,*l_FIRE,*l_fire_object,
56     *l_cop_dead_parts,*l_restart_player,*l_help_screens,*l_save_order;
57
58
59#endif
Note: See TracBrowser for help on using the repository browser.