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 |
---|
12 | int get_lprop_number(void *sybol, int def); // returns def if symbol undefined or not number type |
---|
13 | |
---|
14 | |
---|
15 | void push_onto_list(void *object, void *&list); |
---|
16 | |
---|
17 | |
---|
18 | // variables for the status bar |
---|
19 | extern 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_post_render, |
---|
40 | *l_chat_input, |
---|
41 | *l_player_text_color, |
---|
42 | *l_level_loaded; // called when a new level is loaded |
---|
43 | |
---|
44 | |
---|
45 | /******************************** Lisp objects **********************************/ |
---|
46 | extern void *l_difficulty,*l_easy,*l_hard,*l_medium,*l_extreme,*l_main_menu, |
---|
47 | *l_logo,*l_state_art,*l_default_abilities,*l_abilities, |
---|
48 | *l_default_ai_function,*l_state_sfx, |
---|
49 | *l_morph,*l_max_power, |
---|
50 | *l_song_list,*l_filename,*l_sfx_directory,*l_max_hp,*l_default_font, |
---|
51 | *l_empty_cache,*l_range,*l_joy_file,*l_death_handler, |
---|
52 | *l_title_screen,*l_console_font,*l_fields,*l_FIRE,*l_fire_object, |
---|
53 | *l_cop_dead_parts,*l_restart_player,*l_help_screens,*l_save_order; |
---|
54 | |
---|
55 | |
---|
56 | #endif |
---|
57 | #endif |
---|