#include <string>Include dependency graph for exult_constants.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | MOVE_NODROP (1<<3) |
| #define | MOVE_FLY (1<<4) |
| #define | MOVE_LEVITATE (MOVE_FLY|MOVE_NODROP) |
| #define | MOVE_WALK (1<<5) |
| #define | MOVE_SWIM (1<<6) |
| #define | MOVE_ALL_TERRAIN ((1<<5)|(1<<6)) |
| #define | MOVE_ETHEREAL (1<<7) |
| #define | MOVE_ALL (MOVE_FLY|MOVE_WALK|MOVE_SWIM|MOVE_ETHEREAL) |
| #define | MOVE_MAPEDIT (1<<8) |
| #define | INCR_CHUNK(x) (((x) + 1)%c_num_chunks) |
| #define | DECR_CHUNK(x) (((x) - 1 + c_num_chunks)%c_num_chunks) |
| #define | INCR_TILE(x) (((x) + 1)%c_num_tiles) |
| #define | COUT(x) do { } while(0) |
| #define | CERR(x) do { } while(0) |
| #define | FORGET_OBJECT(x) do { delete x; x = 0; } while(0) |
| #define | FORGET_ARRAY(x) do { delete [] x; x = 0; } while(0) |
Functions | |
| int | DECR_TILE (int x, int amt=1) |
| int | SUB_TILE (int x, int y) |
Variables | |
| const int | c_tilesize = 8 |
| const int | c_tiles_per_chunk = 16 |
| const int | c_chunksize = 16 * 8 |
| const int | c_num_schunks = 12 |
| const int | c_num_chunks = 12*16 |
| const int | c_chunks_per_schunk = 16 |
| const int | c_tiles_per_schunk = 16*16 |
| const int | c_num_tiles = c_tiles_per_chunk*c_num_chunks |
| const int | c_fade_in_time = 30 |
| const int | c_fade_out_time = 30 |
| const int | c_std_delay = 200 |
| const int | c_any_shapenum = -359 |
| const int | c_any_qual = -359 |
| const int | c_any_framenum = -359 |
| const std::string | c_empty_string |
| #define CERR | ( | x | ) | do { } while(0) |
Definition at line 84 of file exult_constants.h.
Referenced by Actor::add(), Audio::convert_VOC(), Usecode_internal::get_item(), Shape_manager::paint_shape(), Usecode_internal::path_run_usecode(), Audio::play_wave_sfx(), resample(), Audio::start_music_combat(), and Audio::~Audio().
| #define COUT | ( | x | ) | do { } while(0) |
Definition at line 83 of file exult_constants.h.
Referenced by Audio::convert_VOC(), SI_Game::end_game(), Game_clock::fake_next_period(), ExCineFlic::free_flic(), Game_clock::handle_event(), Audio::Init(), ExCineFlic::load_flic(), Read_special_ireg(), Usecode_internal::UI_delayed_execute_usecode_array(), Usecode_internal::UI_execute_usecode_array(), and Usecode_internal::UI_play_sound_effect().
| #define DECR_CHUNK | ( | x | ) | (((x) - 1 + c_num_chunks)%c_num_chunks) |
Definition at line 66 of file exult_constants.h.
Referenced by Map_chunk::add(), and Game_render::paint_map().
| #define FORGET_ARRAY | ( | x | ) | do { delete [] x; x = 0; } while(0) |
Definition at line 91 of file exult_constants.h.
Referenced by BG_Game::end_game(), ExCineFlic::free_flic(), BG_Game::new_game(), SI_Game::play_intro(), ExCineVoc::play_it(), and BG_Game::scene_guardian().
| #define FORGET_OBJECT | ( | x | ) | do { delete x; x = 0; } while(0) |
Definition at line 90 of file exult_constants.h.
Referenced by ExCineFlic::free_flic(), BG_Game::play_intro(), BG_Game::scene_desk(), and BG_Game::scene_guardian().
| #define INCR_CHUNK | ( | x | ) | (((x) + 1)%c_num_chunks) |
Definition at line 65 of file exult_constants.h.
Referenced by Map_chunk::add(), Game_window::find_object(), Chunk_intersect_iterator::get_next(), Game_render::paint_blackness(), Game_render::paint_map(), and Game_render::paint_terrain_only().
| #define INCR_TILE | ( | x | ) | (((x) + 1)%c_num_tiles) |
Definition at line 67 of file exult_constants.h.
Referenced by Get_square(), Map_chunk::is_blocked(), Game_window::view_down(), and Game_window::view_right().
| #define MOVE_ALL (MOVE_FLY|MOVE_WALK|MOVE_SWIM|MOVE_ETHEREAL) |
| #define MOVE_ALL_TERRAIN ((1<<5)|(1<<6)) |
Definition at line 59 of file exult_constants.h.
Referenced by Map_chunk::gravity(), Barge_object::okay_to_rotate(), and Usecode_internal::UI_is_not_blocked().
| #define MOVE_ETHEREAL (1<<7) |
| #define MOVE_FLY (1<<4) |
Definition at line 55 of file exult_constants.h.
Referenced by Map_chunk::find_spot(), Find_target(), and Chunk_cache::is_blocked().
| #define MOVE_LEVITATE (MOVE_FLY|MOVE_NODROP) |
Definition at line 56 of file exult_constants.h.
Referenced by Barge_object::okay_to_rotate(), and Barge_object::step().
| #define MOVE_MAPEDIT (1<<8) |
Definition at line 62 of file exult_constants.h.
Referenced by Game_window::drop_at_lift(), and Chunk_cache::is_blocked().
| #define MOVE_NODROP (1<<3) |
| #define MOVE_SWIM (1<<6) |
Definition at line 58 of file exult_constants.h.
Referenced by Chunk_cache::is_blocked(), and Barge_object::step().
| #define MOVE_WALK (1<<5) |
Definition at line 57 of file exult_constants.h.
Referenced by Mirror_object::activate(), Game_window::drop_at_lift(), Map_chunk::find_spot(), Chunk_cache::is_blocked(), Sit_actor_action::is_occupied(), Game_window::start_actor_alt(), and Barge_object::step().
| int DECR_TILE | ( | int | x, | |
| int | amt = 1 | |||
| ) | [inline] |
Definition at line 68 of file exult_constants.h.
References c_num_tiles.
Referenced by Get_square(), Map_chunk::is_blocked(), Game_window::scroll_if_needed(), Game_window::set_scrolls(), Game_window::view_left(), and Game_window::view_up().
| int SUB_TILE | ( | int | x, | |
| int | y | |||
| ) | [inline] |
| const int c_any_framenum = -359 |
Definition at line 46 of file exult_constants.h.
Referenced by ActionTryKeys(), ActionUseItem(), Usecode_internal::add_party_items(), Container_game_object::add_quantity(), Map_patch_modify::apply(), Container_game_object::count_objects(), Container_game_object::find_item(), Usecode_internal::find_nearby(), Game_object::find_nearby_actors(), Container_game_object::get_objects(), Sew_schedule::now_what(), Combat_schedule::now_what(), Actor::ready_ammo(), Actor::ready_best_weapon(), Ready_duel_weapon(), Container_game_object::remove_quantity(), and Usecode_internal::UI_is_readied().
| const int c_any_qual = -359 |
Definition at line 45 of file exult_constants.h.
Referenced by ActionCreateShape(), ActionUseItem(), Usecode_internal::activate_cached(), Container_game_object::add(), Add2keyring(), Usecode_internal::add_party_items(), Map_patch_modify::apply(), Spellbook_object::can_do_spell(), Container_game_object::count_objects(), Monster_actor::create(), Container_game_object::create_quantity(), Spellbook_object::do_spell(), Container_game_object::find_item(), Usecode_internal::find_nearby(), Game_object::find_nearby_actors(), Game_map::get_ireg_objects(), Container_game_object::get_objects(), Bake_schedule::now_what(), Sew_schedule::now_what(), Combat_schedule::now_what(), Actor::ready_ammo(), Actor::ready_best_weapon(), Ready_duel_weapon(), Container_game_object::remove_quantity(), Spellbook_gump::set_avail(), and Usecode_internal::UI_set_item_quality().
| const int c_any_shapenum = -359 |
Definition at line 44 of file exult_constants.h.
Referenced by Map_patch_modify::apply(), Game_window::attack_avatar(), Container_game_object::count_objects(), Sleep_schedule::ending(), Find_congregant(), Duel_schedule::find_opponents(), Game_window::find_witness(), Waiter_schedule::get_customer(), Container_game_object::get_objects(), Explosion_effect::handle_event(), Sit_actor_action::is_occupied(), Kid_games_schedule::now_what(), Actor::ready_ammo(), Actor::ready_best_weapon(), Usecode_internal::UI_armageddon(), and Usecode_internal::UI_nap_time().
| const int c_chunks_per_schunk = 16 |
Definition at line 34 of file exult_constants.h.
Referenced by BuildGameMap(), Game_map::cache_out(), Game_window::emulate_is_move_allowed(), Game_map::is_chunk_read(), Game_map::locate_shape(), Locator::Locator(), Game_map::set_ifix_modified(), and Game_map::write_ifix_objects().
| const int c_chunksize = 16 * 8 |
Definition at line 31 of file exult_constants.h.
Referenced by Figure_queue_size(), Game_render::paint_chunk_flats(), Paint_chunk_outline(), and Chunk_terrain::render_flats().
| const std::string c_empty_string |
| const int c_fade_in_time = 30 |
Definition at line 39 of file exult_constants.h.
Referenced by BG_Game::end_game(), ExultMenu::run(), BG_Game::scene_butterfly(), and BG_Game::scene_lord_british().
| const int c_fade_out_time = 30 |
Definition at line 40 of file exult_constants.h.
Referenced by BG_Game::end_game(), SI_Game::new_game(), BG_Game::new_game(), BG_Game::play_intro(), TextScroller::run(), ExultMenu::run(), BG_Game::scene_lord_british(), ExultMenu::setup(), Game_window::setup_game(), and Game::show_menu().
| const int c_num_chunks = 12*16 |
Definition at line 33 of file exult_constants.h.
Referenced by BuildGameMap(), Game_map::clear(), Game_map::commit_terrain_edits(), Game_map::delete_terrain(), Game_window::emulate_cache(), Game_window::find_object(), Game_map::find_unused_shapes(), Game_map::get_chunk(), Game_map::get_chunk_safely(), Locator::goto_mouse(), Game_map::insert_terrain(), Game_map::is_chunk_read(), Game_object::is_pos_invalid(), Game_map::locate_shape(), Game_map::locate_terrain(), Locator::Locator(), Ifix_game_object::move(), Game_render::paint_map(), Ifix_game_object::remove_this(), Locator::render(), Egg_object::set_area(), Game_map::swap_terrains(), Main_actor::switched_chunks(), Game_window::view_down(), Game_window::view_left(), Game_window::view_right(), and Game_window::view_up().
| const int c_num_schunks = 12 |
Definition at line 32 of file exult_constants.h.
Referenced by Map_patch_collection::add(), Game_window::emulate_is_move_allowed(), Game_map::find_unused_shapes(), Game_map::init(), Game_map::locate_shape(), Game_map::read_map_data(), Locator::render(), Game_map::write_ireg(), and Game_map::write_static().
| const int c_num_tiles = c_tiles_per_chunk*c_num_chunks |
Definition at line 37 of file exult_constants.h.
Referenced by CheatScreen::BusinessActivate(), DECR_TILE(), Tile_coord::delta(), Tile_coord::distance(), Game_window::double_clicked(), Game_window::drop_at_lift(), Onecoord_pathfinder_client::estimate_cost(), Actor_pathfinder_client::estimate_cost(), Figure_screen_offset(), Game_window::get_flat(), Game_object::get_footprint(), Tile_coord::get_neighbor(), Get_shape_location(), Game_window::get_shape_rect(), Barge_object::get_tile_footprint(), Zombie::GetNextStep(), Locator::goto_mouse(), Tile_coord::gte(), Map_chunk::is_blocked(), Cheat::map_teleport(), Barge_object::move(), Cheat::move_selected(), Neighbor_iterator::operator()(), Game_window::read_npcs(), Locator::render(), Rotate180(), Rotate90l(), Rotate90r(), Game_window::scroll_if_needed(), Barge_object::set_center(), CheatScreen::SharedPrompt(), Game_window::start_actor(), Game_window::start_actor_alt(), SUB_TILE(), and Usecode_internal::UI_teleport_to_saved_pos().
| const int c_std_delay = 200 |
Definition at line 41 of file exult_constants.h.
| const int c_tiles_per_chunk = 16 |
Definition at line 30 of file exult_constants.h.
Referenced by Chunk_cache::activate_eggs(), Map_chunk::add_dungeon_levels(), Check_spot(), Chunk_chooser::Chunk_chooser(), Chunk_intersect_iterator::Chunk_intersect_iterator(), Chunk_terrain::Chunk_terrain(), Clear_blocked_tile(), Cheat::cut(), Dragging_info::drop(), Game_window::drop_at_lift(), Game_window::emulate_cache(), Figure_screen_offset(), Game_object::find_blocking(), Game_object::find_door(), Combat_schedule::find_foe(), Game_window::find_object(), Combat_schedule::find_protected_attacker(), Barge_object::gather(), Game_window::get_flat(), Chunk_cache::get_highest_blocked(), Chunk_cache::get_lowest_blocked(), Chunk_intersect_iterator::get_next(), Schedule_change::get_pos(), SI_Game::get_start_tile_x(), BG_Game::get_start_tile_x(), SI_Game::get_start_tile_y(), BG_Game::get_start_tile_y(), Fast_pathfinder_client::get_step_cost(), Actor_pathfinder_client::get_step_cost(), Game_object::get_tile(), Locator::goto_mouse(), Locator::hscrolled(), Game_map::init(), Game_map::insert_terrain(), Map_chunk::is_blocked(), Chunk_cache::is_blocked(), Actor::is_blocked(), Chunk_cache::is_blocked_fast(), Map_chunk::is_dungeon(), Game_map::locate_terrain(), Game_object::move(), Egg_object::move(), Game_render::paint_blackness(), Game_render::paint_map(), Actor::read(), Game_map::read_map_data(), Locator::render(), Chunk_terrain::render_all(), Chunk_chooser::render_chunk(), Chunk_terrain::render_flats(), Egg_object::set_area(), Set_blocked_tile(), Chunk_cache::set_egged(), Actor::set_schedule_and_loc(), Map_chunk::set_terrain(), Map_chunk::setup_dungeon_levels(), Game_window::show_items(), Game_window::start_actor_alt(), Monster_actor::step(), Npc_actor::step(), Main_actor::step(), Combat_schedule::teleport(), Locator::view_changed(), Game_window::view_down(), Game_window::view_left(), Game_window::view_right(), Game_window::view_up(), Locator::vscrolled(), and Chunk_terrain::write_flats().
| const int c_tiles_per_schunk = 16*16 |
Definition at line 35 of file exult_constants.h.
Referenced by Egg_object::activate_teleport(), Map_patch_collection::add(), BuildGameMap(), Game_window::emulate_is_move_allowed(), ExultStudio::init_egg_window(), Game_map::read_map_data(), ExultStudio::save_egg_window(), Schedule_change::set(), Virtue_stone_object::set_pos(), Barge_object::step(), and Virtue_stone_object::write_ireg().
| const int c_tilesize = 8 |
Definition at line 29 of file exult_constants.h.
Referenced by Barge_object::add_dirty(), Text_effect::add_dirty(), Death_vortex::add_dirty(), Projectile_effect::add_dirty(), Sprites_effect::add_dirty(), Effects_manager::add_text(), BuildGameMap(), Cheat::cursor_teleport(), Game_window::double_clicked(), Combo::draw(), Game_window::drop_at_lift(), Combat_schedule::ending(), Figure_screen_offset(), Figure_text_pos(), Combo::find(), Game_window::find_object(), Game_window::get_flat(), Monster_pathfinder_client::get_max_cost(), Actor_pathfinder_client::get_max_cost(), Get_shape_location(), Game_window::get_shape_rect(), Game_window::get_win_tile_rect(), Death_vortex::handle_event(), Cloud::next(), Raindrop::next(), Raindrop::next_random(), Cloud::paint(), Raindrop::paint(), Text_effect::paint(), Death_vortex::paint(), Projectile_effect::paint(), Sprites_effect::paint(), Game_render::paint_blackness(), Paint_grid(), Game_render::paint_map(), Chunk_terrain::paint_tile(), Cheat::paste(), Game_window::paused_combat_select(), Game_map::read_map_data(), Chunk_terrain::render_all(), Chunk_chooser::render_chunk(), Send_location(), Combo_editor::set_controls(), Game_window::set_scrolls(), Mouse::set_speed_cursor(), Game_window::show_game_location(), Game_window::start_actor(), Game_window::start_actor_along_path(), Game_window::start_actor_alt(), Monster_actor::step(), Npc_actor::step(), Usecode_internal::UI_click_on_item(), Usecode_internal::UI_display_area(), Usecode_internal::UI_is_water(), Usecode_internal::UI_move_object(), Game_window::view_down(), Game_window::view_left(), Game_window::view_right(), and Game_window::view_up().
1.5.1