/
erlang.spawn
/
fallout2-ce
Обзор
Документация
Войти
/
erlang.spawn
/
fallout2-ce
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/mapper/map_func.h
43 строки
1 KB
Vlad K
Mapper: Playmode & misc features (#448)
12 май 2026, 04:00
Не верифицирован
12 май 2026, 04:00
f63c113
Код
Авторство
О чём код?
#ifndef FALLOUT_MAPPER_MAP_FUNC_H_ #define FALLOUT_MAPPER_MAP_FUNC_H_ #include "geometry.h" namespace fallout { void setup_map_dirs(); void copy_proto_lists(); void place_entrance_hex(); void pick_region(Rect* rect); void sort_rect(Rect* a, Rect* b); void draw_rect(Rect* rect, unsigned char color); void erase_rect(Rect* rect); int toolbar_proto(int type, int id); bool map_toggle_block_obj_viewing_on(); void map_load_dialog(); void map_save_dialog(); int map_save_as(const char* name); void map_get_name(char* buf); void create_spray_tool(); void copy_spray_tile(); // mode = 1 - enable, 0 - disable, -1 - toggle void map_toggle_block_obj_viewing(int mode); void map_clear_elevation(); void mapper_shift_map(); void mapper_shift_map_elev(); void mapper_copy_map_elev(); void mapper_flush_cache(); int pickHex(); int pickToolbar(int topY); void placeObject(int pid, int fid); void placeTile(int pid, int fid); // Pass the current toolbar type to filter the region copy by type, or -1 to copy all object // types in the picked region (mirrors the original mapper's `copy_object(arg1)` arg). void copyObject(int filterType); void copyTile(); void eraseObject(); } // namespace fallout #endif /* FALLOUT_MAPPER_MAP_FUNC_H_ */