49 :
FormWindow(s, 0, 0, s->Width(), s->Height()), manager(mgr),
50 beauty(0), camview(0), imgview(0),
51 txt_caption(0), txt_stats(0), txt_description(0),
52 lst_designs(0), btn_close(0), btn_ships(0), btn_weaps(0),
53 mode(MODE_NONE), radius(100), mouse_x(0), mouse_y(0),
54 cam_zoom(2.5), cam_az(-
PI/6), cam_el(
PI/7), captured(false),
55 ship_index(0), weap_index(0)
111 Point light_pos(3e6, 5e6, 4e6);
114 main_light->
MoveTo(light_pos);
122 back_light->
MoveTo(light_pos * -1);
178 for (
int i = 0; i < n; i++) {
221 strcat_s(txt,
" m\n");
227 strcat_s(txt,
" T\n");
248 for (
int g = 0; g < 8; g++) {
250 if (group && group->
count) {
251 sprintf_s(txt,
"\t\t%s (%d)\n\t\t", group->
name.
data(), group->
count);
258 sprintf_s(txt,
"\t\t\t%s\n\t\t", (
const char*) gun->
Design()->
name);
310 desc += design->
name;
317 else if (design->
beam)
321 else if (design->
drone)
461 else if (cam_az < -
PI)
470 const double limit = (0.43 *
PI);
552 int mouse_dx =
event->x -
mouse_x;
553 int mouse_dy =
event->y -
mouse_y;
598 for (
int n = 0; n < 16; n++) {
655 if (dsn && !dsn->
secret) {