|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "bd.qh"Go to the source code of this file.
Definition at line 632 of file bd.qc.
References bd_reset_moves(), bd_setup_pieces(), BD_TURN_EDIT, entity(), MINIG_SF_UPDATE, minigame_server_sendflags(), and sprint().
Referenced by bd_server_event().
Definition at line 235 of file bd.qc.
References BD_TILE_BRICK1, BD_TILE_BRICK2, BD_TILE_BRICK3, BD_TILE_BRICK4, BD_TILE_BRICK5, BD_TILE_BRICK6, BD_TILE_BRICK7, and BD_TILE_BRICK8.
Referenced by bd_do_fill(), bd_editor_place(), and bd_load_piece().
Definition at line 178 of file bd.qc.
References bd_find_piece(), BD_TILE_BOULDER, BD_TILE_TARGET, BD_TURN_WIN, entity(), findentity(), MINIG_SF_UPDATE, minigame_server_sendflags(), NULL, and owner.
Referenced by bd_move().
Definition at line 817 of file bd.qc.
References bd_find_dozer(), bd_save_level(), BD_TURN_MOVE, entity(), LOG_INFO, MINIG_SF_UPDATE, minigame_server_sendflags(), and sprint().
Referenced by bd_server_event().
Definition at line 114 of file bd.qc.
References bd_dirs, bd_forceupdate, BD_NUM_CNT, BD_SF_UPDATE_ALL, BD_SF_UPDATE_SINGLE, bd_tiletypes, dir, entity(), MSG_ENTITY, number, owner, WriteByte(), WriteHeader, and WriteString().
Referenced by bd_setup_pieces().
Definition at line 96 of file bd.qc.
References BD_SF_UPDATE_SINGLE, entity(), minigame_server_sendflags(), and number.
Referenced by bd_editor_place(), and bd_load_piece().
down
Definition at line 221 of file bd.qc.
References BD_DIR_DN, BD_DIR_LF, BD_DIR_RT, and BD_DIR_UP.
Referenced by bd_editor_place(), and bd_move().
Definition at line 506 of file bd.qc.
References bd_canfill(), bd_fill_recurse(), bd_find_piece(), BD_TURN_EDIT, bd_unfill_recurse(), dir, entity(), minigame_tile_letter(), minigame_tile_number(), number, sprint(), and stof().
Referenced by bd_server_event().
Definition at line 454 of file bd.qc.
References bd_editor_place(), bd_move(), BD_TURN_EDIT, BD_TURN_MOVE, dir, entity(), and stof().
Referenced by bd_server_event().
Definition at line 593 of file bd.qc.
References bd_reset_moves(), bd_setup_pieces(), BD_TURN_MOVE, entity(), MINIG_SF_UPDATE, minigame_server_sendflags(), and strcpy.
Referenced by bd_next_match().
Definition at line 382 of file bd.qc.
References bd_canfill(), bd_controller_update(), bd_dir_fromname(), bd_find_controller(), bd_find_piece(), BD_TILE_BOULDER, BD_TILE_DOZER, BD_TURN_EDIT, bd_valid_tile(), entity(), MINIG_SF_UPDATE, minigame_server_sendflags(), minigame_tile_letter(), minigame_tile_number(), msle_spawn(), number, strfree, strtolower(), and strzone().
Referenced by bd_do_move(), and bd_fill_recurse().
Definition at line 463 of file bd.qc.
References bd_editor_place(), bd_fill_recurse(), bd_find_piece(), bd_valid_tile(), entity(), minigame_tile_buildname(), and number.
Referenced by bd_do_fill(), and bd_fill_recurse().
Definition at line 77 of file bd.qc.
References entity(), findentity(), NULL, and owner.
Referenced by bd_editor_place(), bd_load_piece(), and bd_move_dozer().
Definition at line 104 of file bd.qc.
References BD_TILE_DOZER, entity(), findentity(), NULL, and owner.
Referenced by bd_close_editor(), and bd_move().
Definition at line 68 of file bd.qc.
References BD_TILE_TARGET, entity(), findentity(), NULL, and owner.
Referenced by bd_check_winner(), bd_do_fill(), bd_editor_place(), bd_fill_recurse(), bd_move_dozer(), and bd_unfill_recurse().
Definition at line 782 of file bd.qc.
References bd_load_piece(), bd_set_nextlevel(), entity(), fclose(), fgets(), FILE_READ, fopen(), LOG_INFO, strcat(), and substring().
Referenced by bd_setup_pieces().
Definition at line 691 of file bd.qc.
References argv(), bd_canfill(), bd_controller_update(), bd_find_controller(), dir, entity(), MINIG_SF_ALL, minigame_server_sendflags(), minigame_tile_letter(), minigame_tile_number(), msle_spawn(), number, stoi, strzone(), and tokenize_console.
Referenced by bd_load_level().
Definition at line 339 of file bd.qc.
References bd_check_winner(), bd_dir_fromname(), bd_find_dozer(), bd_move_dozer(), BD_SF_PLAYERMOVES, BD_TILE_DOZER, BD_TURN_MOVE, dir, entity(), findentity(), LOG_INFO, MINIG_SF_UPDATE, minigame_server_sendflags(), NULL, owner, and strtolower().
Referenced by bd_do_move().
Definition at line 252 of file bd.qc.
References bd_find_controller(), bd_find_piece(), bd_get_dir(), BD_TILE_BOULDER, BD_TILE_BRICK1, BD_TILE_BRICK2, BD_TILE_BRICK3, BD_TILE_BRICK4, BD_TILE_BRICK5, BD_TILE_BRICK6, BD_TILE_BRICK7, BD_TILE_BRICK8, BD_TILE_DOZER, bd_valid_tile(), dir, entity(), MINIG_SF_UPDATE, minigame_server_sendflags(), minigame_tile_buildname(), minigame_tile_letter(), minigame_tile_number(), number, strcpy, and vector.
Referenced by bd_move().
Definition at line 613 of file bd.qc.
References bd_do_next_match(), bd_set_next_match(), BD_TURN_EDIT, BD_TURN_WIN, entity(), and next.
Referenced by bd_server_event().
Definition at line 547 of file bd.qc.
References BD_SF_PLAYERMOVES, entity(), findentity(), minigame_server_sendflags(), NULL, and owner.
Referenced by bd_activate_editor(), bd_do_next_match(), and bd_restart_match().
Definition at line 622 of file bd.qc.
References bd_reset_moves(), bd_setup_pieces(), BD_TURN_MOVE, entity(), MINIG_SF_UPDATE, and minigame_server_sendflags().
Referenced by bd_server_event().
Definition at line 650 of file bd.qc.
References entity(), ftos(), minigame_tile_buildname(), number, and strcat().
Referenced by bd_save_level().
Definition at line 724 of file bd.qc.
References BD_NUM_CNT, bd_save_controller_piece(), bd_save_piece(), BD_TILE_BOULDER, BD_TILE_TARGET, entity(), fclose(), fexists(), FILE_WRITE, findentity(), fopen(), fputs(), LOG_INFO, NULL, owner, and strcat().
Referenced by bd_close_editor().
Definition at line 849 of file bd.qc.
References argv(), autocvar_sv_minigames_bulldozer_startlevel, bd_activate_editor(), bd_close_editor(), bd_do_fill(), bd_do_move(), bd_next_match(), bd_restart_match(), bd_setup_pieces(), BD_SF_PLAYERMOVES, BD_SPECTATOR_TEAM, BD_TEAMS, BD_TURN_MOVE, entity(), findentity(), int, MINIG_SF_UPDATE, minigame_count_players(), minigame_tile_letter(), minigame_tile_number(), MSG_ENTITY, NULL, number, owner, strcpy, strfree, string_null, WriteByte(), and WriteShort().
Definition at line 674 of file bd.qc.
References argv(), entity(), strcpy, and tokenize_console.
Referenced by bd_load_level().
Definition at line 564 of file bd.qc.
References bd_controller_send(), BD_LET_CNT, bd_load_level(), entity(), findentity(), Net_LinkEntity(), new_pure, NULL, owner, and strfree.
Referenced by bd_activate_editor(), bd_do_next_match(), bd_restart_match(), and bd_server_event().
Definition at line 479 of file bd.qc.
References bd_find_piece(), bd_unfill_recurse(), bd_valid_tile(), entity(), minigame_tile_buildname(), number, and strfree.
Referenced by bd_do_fill(), and bd_unfill_recurse().
Definition at line 87 of file bd.qc.
References BD_LET_CNT, BD_NUM_CNT, minigame_tile_letter(), minigame_tile_number(), and number.
Referenced by bd_editor_place(), bd_fill_recurse(), bd_move_dozer(), and bd_unfill_recurse().
| REGISTER_MINIGAME | ( | bd | , |
| _("Bulldozer") | ) |
| string autocvar_sv_minigames_bulldozer_startlevel = "level1" |
Definition at line 64 of file bd.qc.
Referenced by bd_server_event().
| const int BD_DIR_DN = 1 |
Definition at line 59 of file bd.qc.
Referenced by bd_dir_fromname(), bd_fix_dir(), bd_get_dir(), and bd_get_dir_name().
| const int BD_DIR_LF = 2 |
Definition at line 60 of file bd.qc.
Referenced by bd_dir_fromname(), bd_fix_dir(), bd_get_dir(), and bd_get_dir_name().
| const int BD_DIR_RT = 3 |
Definition at line 61 of file bd.qc.
Referenced by bd_dir_fromname(), bd_fix_dir(), bd_get_dir(), and bd_get_dir_name().
| const int BD_DIR_UP = 0 |
Definition at line 58 of file bd.qc.
Referenced by bd_dir_fromname(), bd_fix_dir(), bd_get_dir(), and bd_get_dir_name().
| int bd_dirs[BD_NUM_CNT] |
Definition at line 28 of file bd.qc.
Referenced by bd_controller_send().
| int bd_forceupdate |
Definition at line 39 of file bd.qc.
Referenced by bd_controller_send().
| const int BD_LET_CNT = 20 |
Definition at line 18 of file bd.qc.
Referenced by bd_setup_pieces(), and bd_valid_tile().
| const int BD_NUM_CNT = 20 |
Definition at line 19 of file bd.qc.
Referenced by bd_controller_send(), bd_save_level(), and bd_valid_tile().
| const int BD_SF_PLAYERMOVES = MINIG_SF_CUSTOM |
Definition at line 13 of file bd.qc.
Referenced by bd_move(), bd_reset_moves(), and bd_server_event().
| const int BD_SF_UPDATE_ALL = MINIG_SF_CUSTOM<<2 |
Definition at line 15 of file bd.qc.
Referenced by bd_controller_send().
| const int BD_SF_UPDATE_SINGLE = MINIG_SF_CUSTOM<<1 |
Definition at line 14 of file bd.qc.
Referenced by bd_controller_send(), and bd_controller_update().
| const int BD_SPECTATOR_TEAM = 255 |
Definition at line 24 of file bd.qc.
Referenced by bd_server_event().
| const int BD_TEAMS = 1 |
Definition at line 23 of file bd.qc.
Referenced by bd_server_event().
| const int BD_TILE_BOULDER = 3 |
Definition at line 47 of file bd.qc.
Referenced by bd_check_winner(), bd_editor_place(), bd_move_dozer(), and bd_save_level().
| const int BD_TILE_BRICK1 = 4 |
Definition at line 48 of file bd.qc.
Referenced by bd_canfill(), and bd_move_dozer().
| const int BD_TILE_BRICK2 = 5 |
Definition at line 49 of file bd.qc.
Referenced by bd_canfill(), and bd_move_dozer().
| const int BD_TILE_BRICK3 = 6 |
Definition at line 50 of file bd.qc.
Referenced by bd_canfill(), and bd_move_dozer().
| const int BD_TILE_BRICK4 = 7 |
Definition at line 51 of file bd.qc.
Referenced by bd_canfill(), and bd_move_dozer().
| const int BD_TILE_BRICK5 = 8 |
Definition at line 52 of file bd.qc.
Referenced by bd_canfill(), and bd_move_dozer().
| const int BD_TILE_BRICK6 = 9 |
Definition at line 53 of file bd.qc.
Referenced by bd_canfill(), and bd_move_dozer().
| const int BD_TILE_BRICK7 = 10 |
Definition at line 54 of file bd.qc.
Referenced by bd_canfill(), and bd_move_dozer().
| const int BD_TILE_BRICK8 = 11 |
Definition at line 55 of file bd.qc.
Referenced by bd_canfill(), and bd_move_dozer().
| const int BD_TILE_DOZER = 1 |
Definition at line 45 of file bd.qc.
Referenced by bd_editor_place(), bd_find_dozer(), bd_move(), and bd_move_dozer().
| const int BD_TILE_TARGET = 2 |
Definition at line 46 of file bd.qc.
Referenced by bd_check_winner(), bd_find_piece(), and bd_save_level().
| int bd_tiletypes[BD_NUM_CNT] |
Definition at line 42 of file bd.qc.
Referenced by bd_controller_send().
| const int BD_TURN_EDIT = 0x0800 |
Definition at line 9 of file bd.qc.
Referenced by bd_activate_editor(), bd_do_fill(), bd_do_move(), bd_editor_place(), and bd_next_match().
| const int BD_TURN_MOVE = 0x0100 |
Definition at line 6 of file bd.qc.
Referenced by bd_close_editor(), bd_do_move(), bd_do_next_match(), bd_move(), bd_restart_match(), and bd_server_event().
| const int BD_TURN_WIN = 0x0200 |
Definition at line 7 of file bd.qc.
Referenced by bd_check_winner(), and bd_next_match().