53 edt_size(0), edt_iff(0), cmb_role(0),
cmb_region(0), cmb_skin(0),
54 edt_loc_x(0), edt_loc_y(0), edt_loc_z(0), cmb_heading(0), edt_hold_time(0),
55 btn_player(0), btn_playable(0), btn_alert(0), btn_command_ai(0),
56 edt_respawns(0), cmb_commander(0), cmb_carrier(0), cmb_squadron(0),
57 cmb_intel(0), cmb_loadout(0), cmb_objective(0), cmb_target(0),
129 int current_class = 0;
170 if (design && classid == design->
type) {
172 current_class = classid;
277 if (instr && instr->
Action() == i)
289 while (heading > 2*
PI)
295 if (heading >=
PI/4 && heading < 3*
PI/4)
298 else if (heading >= 3*
PI/4 && heading < 5*
PI/4)
301 else if (heading >= 5*
PI/4 && heading < 7*
PI/4)
426 if (designs.
size() > 0) {
430 for (
int i = 0; i < designs.
size(); i++) {
431 const char* dsn = designs[i]->data();
434 if (design && !_stricmp(dsn, design->
name)) {
477 if (loadouts.
size() > 0) {
478 for (
int i = 0; i < loadouts.
size(); i++) {
596 sscanf_s(buf,
"%d", &val);
607 sscanf_s(buf,
"%d", &val);
619 if (isdigit(*buf) || *buf ==
'-')
620 sscanf_s(buf,
"%d", &val);
628 if (isdigit(*buf) || *buf ==
'-')
629 sscanf_s(buf,
"%d", &val);
637 if (isdigit(*buf) || *buf ==
'-')
638 sscanf_s(buf,
"%d", &val);
651 sscanf_s(buf,
"%d", &val);
662 sscanf_s(buf,
"%d", &val);
696 if (strcmp(skin_name,
Game::GetText(
"MsnDlg.default").data())) {
748 if (loadname && *loadname) {
785 if (
mission && commander && subordinate && commander != subordinate) {