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

Last change on this file since 492 was 492, checked in by Sam Hocevar, 12 years ago

lisp: rename core classes to slightly shorter names (LispObject? -> LObject).

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