/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/hud/ |
H A D | hudparse.h | 37 …_w, int base_h, int hud_font, bool scale_gauge = true, SCP_vector<int>* ship_idx = NULL, color *us… 40 …_w, int base_h, int hud_font, bool scale_gauge = true, SCP_vector<int>* ship_idx = NULL, color *us… 46 …_w, int base_h, int hud_font, bool scale_gauge = true, SCP_vector<int>* ship_idx = NULL, color *us… 49 …_w, int base_h, int hud_font, bool scale_gauge = true, SCP_vector<int>* ship_idx = NULL, color *us… 55 …_w, int base_h, int hud_font, bool scale_gauge = true, SCP_vector<int>* ship_idx = NULL, color *us… 70 …_w, int base_h, int hud_font, bool scale_gauge = true, SCP_vector<int>* ship_idx = NULL, color *us… 79 …_w, int base_h, int hud_font, bool scale_gauge = true, SCP_vector<int>* ship_idx = NULL, color *us… 139 …_w, int base_h, int hud_font, bool scale_gauge = true, SCP_vector<int>* ship_idx = NULL, color *us… 145 …_w, int base_h, int hud_font, bool scale_gauge = true, SCP_vector<int>* ship_idx = NULL, color *us… 157 …_w, int base_h, int hud_font, bool scale_gauge = true, SCP_vector<int>* ship_idx = NULL, color *us… [all …]
|
H A D | hudparse.cpp | 269 int ship_idx = -1; in parse_hud_gauges_tbl() local 294 if(ship_idx >= 0) { in parse_hud_gauges_tbl() 880 if (ship_idx == NULL) { in load_gauge() 881 ship_idx = &ship_index; in load_gauge() 1374 if(ship_idx->at(0) >= 0) { in load_gauge_custom() 1409 if(ship_idx->at(0) >= 0) { in load_gauge_lag() 1476 if(ship_idx->at(0) >= 0) { in load_gauge_mini_shields() 1590 if(ship_idx->at(0) >= 0) { in load_gauge_weapon_energy() 1617 if(ship_idx->at(0) >= 0) { in load_gauge_target_shields() 1644 if(ship_idx->at(0) >= 0) { in load_gauge_player_shields() [all …]
|
H A D | hudets.cpp | 723 bool validate_ship_ets_indxes(const int &ship_idx, int (&ets_indexes)[num_retail_ets_gauges]) in validate_ship_ets_indxes() argument 725 if (ship_idx < 0) { in validate_ship_ets_indxes() 728 if (Ships[ship_idx].objnum < 0) { in validate_ship_ets_indxes() 731 ship *ship_p = &Ships[ship_idx]; in validate_ship_ets_indxes()
|
H A D | hudets.h | 60 bool validate_ship_ets_indxes(const int &ship_idx, int (&ets_indexes)[num_retail_ets_gauges]);
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/scripting/api/objs/ |
H A D | player.cpp | 488 int ship_idx; variable 489 if (!ade_get_args(L, "oo", l_ScoringStats.GetPtr(&ssh), l_Shipclass.Get(&ship_idx))) { 497 if (ship_idx < 0 || ship_idx >= (int)Ship_info.size()) { 501 return ade_set_args(L, "i", ssh->get()->kills[ship_idx]);
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/hud/ |
H A D | hudparse.h | 33 SCP_vector<int>* ship_idx; member 44 …gauge_settings() : font_num(Hud_font), scale_gauge(Scale_retail_gauges), ship_idx(nullptr), use_cl… in gauge_settings()
|
H A D | hudparse.cpp | 320 int ship_idx = -1; in parse_hud_gauges_tbl() local 342 ship_idx = parse_ship_start(); in parse_hud_gauges_tbl() 343 ship_classes.push_back(ship_idx); in parse_hud_gauges_tbl() 345 if (ship_idx >= 0) { in parse_hud_gauges_tbl() 509 settings.ship_idx = &ship_classes; in parse_hud_gauges_tbl() 642 settings.ship_idx = &sindex; in load_missing_retail_gauges() 660 settings.ship_idx = &sindex; in load_missing_retail_gauges() 675 settings.ship_idx = &sindex; in load_missing_retail_gauges() 971 if (settings->ship_idx == NULL) { in load_gauge() 972 settings->ship_idx = &ship_index; in load_gauge() [all …]
|
H A D | hudets.h | 56 bool validate_ship_ets_indxes(const int &ship_idx, int (&ets_indexes)[num_retail_ets_gauges]);
|
H A D | hudets.cpp | 749 bool validate_ship_ets_indxes(const int &ship_idx, int (&ets_indexes)[num_retail_ets_gauges]) in validate_ship_ets_indxes() argument 751 if (ship_idx < 0) { in validate_ship_ets_indxes() 754 if (Ships[ship_idx].objnum < 0) { in validate_ship_ets_indxes() 757 ship *ship_p = &Ships[ship_idx]; in validate_ship_ets_indxes()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/pilotfile/ |
H A D | csg.cpp | 516 int j, count, ship_idx = -1, wep_idx = -1; in csg_read_loadout() local 557 ship_idx = cfread_int(cfp); in csg_read_loadout() 559 …if ( (ship_idx >= (int)ship_list.size()) || (ship_idx < -1) ) { // on the casts, assume that ship … in csg_read_loadout() 560 mprintf(("CSG => Parse Warning: Invalid value for ship index (%d), emptying slot.\n", ship_idx)); in csg_read_loadout() 561 ship_idx = -1; in csg_read_loadout() 565 if (ship_idx == -1) { // -1 means no ship in this slot in csg_read_loadout() 568 slot->ship_class = ship_list[ship_idx].index; in csg_read_loadout()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/pilotfile/ |
H A D | csg.cpp | 555 int j, count, ship_idx = -1, wep_idx = -1; in csg_read_loadout() local 596 ship_idx = cfread_int(cfp); in csg_read_loadout() 598 …if ( (ship_idx >= (int)ship_list.size()) || (ship_idx < -1) ) { // on the casts, assume that ship … in csg_read_loadout() 599 mprintf(("CSG => Parse Warning: Invalid value for ship index (%d), emptying slot.\n", ship_idx)); in csg_read_loadout() 600 ship_idx = -1; in csg_read_loadout() 604 if (ship_idx == -1) { // -1 means no ship in this slot in csg_read_loadout() 607 slot->ship_class = ship_list[ship_idx].index; in csg_read_loadout()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/io/ |
H A D | keycontrol.cpp | 1516 int ship_idx, ship_class; in game_process_cheats() local 1541 ship_idx = 1; in game_process_cheats() 1543 sprintf(name, NOX("Volition Bravos %d"), ship_idx); in game_process_cheats() 1550 ship_idx++; in game_process_cheats() 1554 shipp->escort_priority = 1000 - ship_idx; in game_process_cheats()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/io/ |
H A D | keycontrol.cpp | 1622 int ship_idx, ship_class; in game_process_cheats() local 1648 ship_idx = 1; in game_process_cheats() 1650 sprintf(name, NOX("Volition Bravos %d"), ship_idx); in game_process_cheats() 1657 ship_idx++; in game_process_cheats() 1661 shipp->escort_priority = 1000 - ship_idx; in game_process_cheats()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/patches/ |
H A D | colonial_hud.patch | 916 load_gauge_fixed_messages(base_w, base_h, hud_font, ship_idx, use_clr); 919 + load_gauge_flight_path(base_w, base_h, hud_font, ship_idx, use_clr); 922 + load_gauge_warhead_count(base_w, base_h, hud_font, ship_idx, use_clr); 925 + load_gauge_hardpoints(base_w, base_h, hud_font, ship_idx, use_clr); 928 + load_gauge_primary_weapons(base_w, base_h, hud_font, ship_idx, use_clr); 931 + load_gauge_secondary_weapons(base_w, base_h, hud_font, ship_idx, use_clr); 2080 …void load_gauge_ets_retail(int base_w, int base_h, int hud_font, int ship_idx = -1, color *use_clr… 2083 +void load_gauge_flight_path(int base_w, int base_h, int font, int ship_idx = -1, color *use_clr = … 2086 +void load_gauge_warhead_count(int base_w, int base_h, int font, int ship_idx = -1, color *use_clr … 2089 +void load_gauge_hardpoints(int base_w, int base_h, int font, int ship_idx = -1, color *use_clr = N… [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/weapon/ |
H A D | weapon.h | 694 size_t* get_pointer_to_weapon_fire_pattern_index(int weapon_type, int ship_idx, ship_subsys* src_tu…
|
H A D | weapons.cpp | 5751 size_t* get_pointer_to_weapon_fire_pattern_index(int weapon_type, int ship_idx, ship_subsys * src_t… in get_pointer_to_weapon_fire_pattern_index() argument 5753 …Assertion(ship_idx >= 0 && ship_idx < MAX_SHIPS, "Invalid ship index in get_pointer_to_weapon_fire… in get_pointer_to_weapon_fire_pattern_index() 5754 ship* shipp = &Ships[ship_idx]; in get_pointer_to_weapon_fire_pattern_index()
|