| Line 5... |
Line 5... |
| 5 |
#include "ViewData.h"
|
5 |
#include "ViewData.h"
|
| 6 |
#include "EZ_LCD.h"
|
6 |
#include "EZ_LCD.h"
|
| 7 |
#include "../LCDDisplay.h"
|
7 |
#include "../LCDDisplay.h"
|
| 8 |
|
8 |
|
| 9 |
#define LOGFILE 902
|
9 |
#define LOGFILE 902
|
| 10 |
#define VERSION "1.30"
|
10 |
#define VERSION "1.31"
|
| 11 |
#define DATE "01/01/2012"
|
11 |
#define DATE "28/07/2015"
|
| 12 |
|
12 |
|
| 13 |
#include "../../Direct3D-Hook/src/Hook/Direct3D-Hook.h"
|
13 |
#include "../../Direct3D-Hook/src/Hook/Direct3D-Hook.h"
|
| 14 |
|
14 |
|
| 15 |
using namespace System;
|
15 |
using namespace System;
|
| 16 |
|
16 |
|
| Line 242... |
Line 242... |
| 242 |
}
|
242 |
}
|
| 243 |
catch (IO::IOException ^) { }
|
243 |
catch (IO::IOException ^) { }
|
| 244 |
catch (System::Exception ^) {}
|
244 |
catch (System::Exception ^) {}
|
| 245 |
}
|
245 |
}
|
| 246 |
}
|
246 |
}
|
| - |
|
247 |
|
| - |
|
248 |
protected:
|
| - |
|
249 |
void _launchManager(bool bAdvanced);
|
| - |
|
250 |
|
| 247 |
|
251 |
|
| 248 |
private: System::Windows::Forms::ToolStripMenuItem^ resumeManagerToolStripMenuItem;
|
252 |
private: System::Windows::Forms::ToolStripMenuItem^ resumeManagerToolStripMenuItem;
|
| 249 |
public:
|
253 |
public:
|
| 250 |
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator1;
|
254 |
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator1;
|
| 251 |
|
255 |
|
| Line 279... |
Line 283... |
| 279 |
private: System::Windows::Forms::Label^ label2;
|
283 |
private: System::Windows::Forms::Label^ label2;
|
| 280 |
private: System::Windows::Forms::Label^ label3;
|
284 |
private: System::Windows::Forms::Label^ label3;
|
| 281 |
private: System::Windows::Forms::LinkLabel^ linkLabel1;
|
285 |
private: System::Windows::Forms::LinkLabel^ linkLabel1;
|
| 282 |
private: System::Windows::Forms::Timer^ timerCheckGame;
|
286 |
private: System::Windows::Forms::Timer^ timerCheckGame;
|
| 283 |
private: System::Windows::Forms::ToolStripMenuItem^ gUIOverlayToolStripMenuItem;
|
287 |
private: System::Windows::Forms::ToolStripMenuItem^ gUIOverlayToolStripMenuItem;
|
| - |
|
288 |
private: System::Windows::Forms::ToolStripMenuItem^ launchManagerAdvancedToolStripMenuItem;
|
| 284 |
bool m_bNoLCD;
|
289 |
bool m_bNoLCD;
|
| 285 |
|
290 |
|
| 286 |
void ParseNewData(bool updated)
|
291 |
void ParseNewData(bool updated)
|
| 287 |
{
|
292 |
{
|
| 288 |
if ( m_bUpdateLCD && m_pLCD )
|
293 |
if ( m_bUpdateLCD && m_pLCD )
|
| Line 473... |
Line 478... |
| 473 |
this->ContextResume = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
478 |
this->ContextResume = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 474 |
this->ContextAutoClose = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
479 |
this->ContextAutoClose = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 475 |
this->toolStripSeparator3 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
480 |
this->toolStripSeparator3 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
| 476 |
this->gameLogToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
481 |
this->gameLogToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 477 |
this->updateLCDToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
482 |
this->updateLCDToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| - |
|
483 |
this->gUIOverlayToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 478 |
this->resumeManagerToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
484 |
this->resumeManagerToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 479 |
this->toolStripSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
485 |
this->toolStripSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
| 480 |
this->ContextGames = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
486 |
this->ContextGames = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 481 |
this->gameDataToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
487 |
this->gameDataToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 482 |
this->toolStripSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
488 |
this->toolStripSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
| Line 487... |
Line 493... |
| 487 |
this->label1 = (gcnew System::Windows::Forms::Label());
|
493 |
this->label1 = (gcnew System::Windows::Forms::Label());
|
| 488 |
this->label2 = (gcnew System::Windows::Forms::Label());
|
494 |
this->label2 = (gcnew System::Windows::Forms::Label());
|
| 489 |
this->label3 = (gcnew System::Windows::Forms::Label());
|
495 |
this->label3 = (gcnew System::Windows::Forms::Label());
|
| 490 |
this->linkLabel1 = (gcnew System::Windows::Forms::LinkLabel());
|
496 |
this->linkLabel1 = (gcnew System::Windows::Forms::LinkLabel());
|
| 491 |
this->timerCheckGame = (gcnew System::Windows::Forms::Timer(this->components));
|
497 |
this->timerCheckGame = (gcnew System::Windows::Forms::Timer(this->components));
|
| 492 |
this->gUIOverlayToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
498 |
this->launchManagerAdvancedToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 493 |
this->contextMenuStrip1->SuspendLayout();
|
499 |
this->contextMenuStrip1->SuspendLayout();
|
| 494 |
this->SuspendLayout();
|
500 |
this->SuspendLayout();
|
| 495 |
//
|
501 |
//
|
| 496 |
// notifyIcon1
|
502 |
// notifyIcon1
|
| 497 |
//
|
503 |
//
|
| Line 501... |
Line 507... |
| 501 |
this->notifyIcon1->Visible = true;
|
507 |
this->notifyIcon1->Visible = true;
|
| 502 |
this->notifyIcon1->DoubleClick += gcnew System::EventHandler(this, &Form1::notifyIcon1_DoubleClick);
|
508 |
this->notifyIcon1->DoubleClick += gcnew System::EventHandler(this, &Form1::notifyIcon1_DoubleClick);
|
| 503 |
//
|
509 |
//
|
| 504 |
// contextMenuStrip1
|
510 |
// contextMenuStrip1
|
| 505 |
//
|
511 |
//
|
| 506 |
this->contextMenuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(9) {this->aboutToolStripMenuItem,
|
512 |
this->contextMenuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(10) {this->aboutToolStripMenuItem,
|
| 507 |
this->toolStripSeparator4, this->settingsToolStripMenuItem, this->resumeManagerToolStripMenuItem, this->toolStripSeparator1,
|
513 |
this->toolStripSeparator4, this->settingsToolStripMenuItem, this->resumeManagerToolStripMenuItem, this->launchManagerAdvancedToolStripMenuItem,
|
| 508 |
this->ContextGames, this->gameDataToolStripMenuItem, this->toolStripSeparator2, this->closeToolStripMenuItem});
|
514 |
this->toolStripSeparator1, this->ContextGames, this->gameDataToolStripMenuItem, this->toolStripSeparator2, this->closeToolStripMenuItem});
|
| 509 |
this->contextMenuStrip1->Name = L"contextMenuStrip1";
|
515 |
this->contextMenuStrip1->Name = L"contextMenuStrip1";
|
| 510 |
this->contextMenuStrip1->Size = System::Drawing::Size(164, 176);
|
516 |
this->contextMenuStrip1->Size = System::Drawing::Size(228, 198);
|
| 511 |
//
|
517 |
//
|
| 512 |
// aboutToolStripMenuItem
|
518 |
// aboutToolStripMenuItem
|
| 513 |
//
|
519 |
//
|
| 514 |
this->aboutToolStripMenuItem->Name = L"aboutToolStripMenuItem";
|
520 |
this->aboutToolStripMenuItem->Name = L"aboutToolStripMenuItem";
|
| 515 |
this->aboutToolStripMenuItem->Size = System::Drawing::Size(163, 22);
|
521 |
this->aboutToolStripMenuItem->Size = System::Drawing::Size(227, 22);
|
| 516 |
this->aboutToolStripMenuItem->Text = L"About";
|
522 |
this->aboutToolStripMenuItem->Text = L"About";
|
| 517 |
this->aboutToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::aboutToolStripMenuItem_Click);
|
523 |
this->aboutToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::aboutToolStripMenuItem_Click);
|
| 518 |
//
|
524 |
//
|
| 519 |
// toolStripSeparator4
|
525 |
// toolStripSeparator4
|
| 520 |
//
|
526 |
//
|
| 521 |
this->toolStripSeparator4->Name = L"toolStripSeparator4";
|
527 |
this->toolStripSeparator4->Name = L"toolStripSeparator4";
|
| 522 |
this->toolStripSeparator4->Size = System::Drawing::Size(160, 6);
|
528 |
this->toolStripSeparator4->Size = System::Drawing::Size(224, 6);
|
| 523 |
//
|
529 |
//
|
| 524 |
// settingsToolStripMenuItem
|
530 |
// settingsToolStripMenuItem
|
| 525 |
//
|
531 |
//
|
| 526 |
this->settingsToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(6) {this->ContextResume,
|
532 |
this->settingsToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(6) {this->ContextResume,
|
| 527 |
this->ContextAutoClose, this->toolStripSeparator3, this->gameLogToolStripMenuItem, this->updateLCDToolStripMenuItem, this->gUIOverlayToolStripMenuItem});
|
533 |
this->ContextAutoClose, this->toolStripSeparator3, this->gameLogToolStripMenuItem, this->updateLCDToolStripMenuItem, this->gUIOverlayToolStripMenuItem});
|
| 528 |
this->settingsToolStripMenuItem->Name = L"settingsToolStripMenuItem";
|
534 |
this->settingsToolStripMenuItem->Name = L"settingsToolStripMenuItem";
|
| 529 |
this->settingsToolStripMenuItem->Size = System::Drawing::Size(163, 22);
|
535 |
this->settingsToolStripMenuItem->Size = System::Drawing::Size(227, 22);
|
| 530 |
this->settingsToolStripMenuItem->Text = L"Settings";
|
536 |
this->settingsToolStripMenuItem->Text = L"Settings";
|
| 531 |
//
|
537 |
//
|
| 532 |
// ContextResume
|
538 |
// ContextResume
|
| 533 |
//
|
539 |
//
|
| 534 |
this->ContextResume->Checked = true;
|
540 |
this->ContextResume->Checked = true;
|
| 535 |
this->ContextResume->CheckOnClick = true;
|
541 |
this->ContextResume->CheckOnClick = true;
|
| 536 |
this->ContextResume->CheckState = System::Windows::Forms::CheckState::Checked;
|
542 |
this->ContextResume->CheckState = System::Windows::Forms::CheckState::Checked;
|
| 537 |
this->ContextResume->Name = L"ContextResume";
|
543 |
this->ContextResume->Name = L"ContextResume";
|
| 538 |
this->ContextResume->Size = System::Drawing::Size(152, 22);
|
544 |
this->ContextResume->Size = System::Drawing::Size(145, 22);
|
| 539 |
this->ContextResume->Text = L"Auto Resume";
|
545 |
this->ContextResume->Text = L"Auto Resume";
|
| 540 |
this->ContextResume->CheckedChanged += gcnew System::EventHandler(this, &Form1::ContextResume_CheckedChanged);
|
546 |
this->ContextResume->CheckedChanged += gcnew System::EventHandler(this, &Form1::ContextResume_CheckedChanged);
|
| 541 |
//
|
547 |
//
|
| 542 |
// ContextAutoClose
|
548 |
// ContextAutoClose
|
| 543 |
//
|
549 |
//
|
| 544 |
this->ContextAutoClose->Checked = true;
|
550 |
this->ContextAutoClose->Checked = true;
|
| 545 |
this->ContextAutoClose->CheckOnClick = true;
|
551 |
this->ContextAutoClose->CheckOnClick = true;
|
| 546 |
this->ContextAutoClose->CheckState = System::Windows::Forms::CheckState::Checked;
|
552 |
this->ContextAutoClose->CheckState = System::Windows::Forms::CheckState::Checked;
|
| 547 |
this->ContextAutoClose->Name = L"ContextAutoClose";
|
553 |
this->ContextAutoClose->Name = L"ContextAutoClose";
|
| 548 |
this->ContextAutoClose->Size = System::Drawing::Size(152, 22);
|
554 |
this->ContextAutoClose->Size = System::Drawing::Size(145, 22);
|
| 549 |
this->ContextAutoClose->Text = L"Auto Close";
|
555 |
this->ContextAutoClose->Text = L"Auto Close";
|
| 550 |
this->ContextAutoClose->Click += gcnew System::EventHandler(this, &Form1::ContextAutoClose_Click);
|
556 |
this->ContextAutoClose->Click += gcnew System::EventHandler(this, &Form1::ContextAutoClose_Click);
|
| 551 |
//
|
557 |
//
|
| 552 |
// toolStripSeparator3
|
558 |
// toolStripSeparator3
|
| 553 |
//
|
559 |
//
|
| 554 |
this->toolStripSeparator3->Name = L"toolStripSeparator3";
|
560 |
this->toolStripSeparator3->Name = L"toolStripSeparator3";
|
| 555 |
this->toolStripSeparator3->Size = System::Drawing::Size(149, 6);
|
561 |
this->toolStripSeparator3->Size = System::Drawing::Size(142, 6);
|
| 556 |
//
|
562 |
//
|
| 557 |
// gameLogToolStripMenuItem
|
563 |
// gameLogToolStripMenuItem
|
| 558 |
//
|
564 |
//
|
| 559 |
this->gameLogToolStripMenuItem->Name = L"gameLogToolStripMenuItem";
|
565 |
this->gameLogToolStripMenuItem->Name = L"gameLogToolStripMenuItem";
|
| 560 |
this->gameLogToolStripMenuItem->Size = System::Drawing::Size(152, 22);
|
566 |
this->gameLogToolStripMenuItem->Size = System::Drawing::Size(145, 22);
|
| 561 |
this->gameLogToolStripMenuItem->Text = L"Game Log";
|
567 |
this->gameLogToolStripMenuItem->Text = L"Game Log";
|
| 562 |
this->gameLogToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::gameLogToolStripMenuItem_Click);
|
568 |
this->gameLogToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::gameLogToolStripMenuItem_Click);
|
| 563 |
//
|
569 |
//
|
| 564 |
// updateLCDToolStripMenuItem
|
570 |
// updateLCDToolStripMenuItem
|
| 565 |
//
|
571 |
//
|
| 566 |
this->updateLCDToolStripMenuItem->Checked = true;
|
572 |
this->updateLCDToolStripMenuItem->Checked = true;
|
| 567 |
this->updateLCDToolStripMenuItem->CheckOnClick = true;
|
573 |
this->updateLCDToolStripMenuItem->CheckOnClick = true;
|
| 568 |
this->updateLCDToolStripMenuItem->CheckState = System::Windows::Forms::CheckState::Checked;
|
574 |
this->updateLCDToolStripMenuItem->CheckState = System::Windows::Forms::CheckState::Checked;
|
| 569 |
this->updateLCDToolStripMenuItem->Name = L"updateLCDToolStripMenuItem";
|
575 |
this->updateLCDToolStripMenuItem->Name = L"updateLCDToolStripMenuItem";
|
| 570 |
this->updateLCDToolStripMenuItem->Size = System::Drawing::Size(152, 22);
|
576 |
this->updateLCDToolStripMenuItem->Size = System::Drawing::Size(145, 22);
|
| 571 |
this->updateLCDToolStripMenuItem->Text = L"Update LCD";
|
577 |
this->updateLCDToolStripMenuItem->Text = L"Update LCD";
|
| 572 |
this->updateLCDToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::updateLCDToolStripMenuItem_Click);
|
578 |
this->updateLCDToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::updateLCDToolStripMenuItem_Click);
|
| - |
|
579 |
//
|
| - |
|
580 |
// gUIOverlayToolStripMenuItem
|
| - |
|
581 |
//
|
| - |
|
582 |
this->gUIOverlayToolStripMenuItem->Checked = true;
|
| - |
|
583 |
this->gUIOverlayToolStripMenuItem->CheckOnClick = true;
|
| - |
|
584 |
this->gUIOverlayToolStripMenuItem->CheckState = System::Windows::Forms::CheckState::Checked;
|
| - |
|
585 |
this->gUIOverlayToolStripMenuItem->Name = L"gUIOverlayToolStripMenuItem";
|
| - |
|
586 |
this->gUIOverlayToolStripMenuItem->Size = System::Drawing::Size(145, 22);
|
| - |
|
587 |
this->gUIOverlayToolStripMenuItem->Text = L"GUI Overlay";
|
| - |
|
588 |
this->gUIOverlayToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::gUIOverlayToolStripMenuItem_Click);
|
| 573 |
//
|
589 |
//
|
| 574 |
// resumeManagerToolStripMenuItem
|
590 |
// resumeManagerToolStripMenuItem
|
| 575 |
//
|
591 |
//
|
| 576 |
this->resumeManagerToolStripMenuItem->Name = L"resumeManagerToolStripMenuItem";
|
592 |
this->resumeManagerToolStripMenuItem->Name = L"resumeManagerToolStripMenuItem";
|
| 577 |
this->resumeManagerToolStripMenuItem->Size = System::Drawing::Size(163, 22);
|
593 |
this->resumeManagerToolStripMenuItem->Size = System::Drawing::Size(227, 22);
|
| 578 |
this->resumeManagerToolStripMenuItem->Text = L"Launch Manager";
|
594 |
this->resumeManagerToolStripMenuItem->Text = L"Launch Manager (Lite)";
|
| 579 |
this->resumeManagerToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::resumeManagerToolStripMenuItem_Click);
|
595 |
this->resumeManagerToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::resumeManagerToolStripMenuItem_Click);
|
| 580 |
//
|
596 |
//
|
| 581 |
// toolStripSeparator1
|
597 |
// toolStripSeparator1
|
| 582 |
//
|
598 |
//
|
| 583 |
this->toolStripSeparator1->Name = L"toolStripSeparator1";
|
599 |
this->toolStripSeparator1->Name = L"toolStripSeparator1";
|
| 584 |
this->toolStripSeparator1->Size = System::Drawing::Size(160, 6);
|
600 |
this->toolStripSeparator1->Size = System::Drawing::Size(224, 6);
|
| 585 |
//
|
601 |
//
|
| 586 |
// ContextGames
|
602 |
// ContextGames
|
| 587 |
//
|
603 |
//
|
| 588 |
this->ContextGames->Name = L"ContextGames";
|
604 |
this->ContextGames->Name = L"ContextGames";
|
| 589 |
this->ContextGames->Size = System::Drawing::Size(163, 22);
|
605 |
this->ContextGames->Size = System::Drawing::Size(227, 22);
|
| 590 |
this->ContextGames->Text = L"Launch Game";
|
606 |
this->ContextGames->Text = L"Launch Game";
|
| 591 |
//
|
607 |
//
|
| 592 |
// gameDataToolStripMenuItem
|
608 |
// gameDataToolStripMenuItem
|
| 593 |
//
|
609 |
//
|
| 594 |
this->gameDataToolStripMenuItem->Name = L"gameDataToolStripMenuItem";
|
610 |
this->gameDataToolStripMenuItem->Name = L"gameDataToolStripMenuItem";
|
| 595 |
this->gameDataToolStripMenuItem->Size = System::Drawing::Size(163, 22);
|
611 |
this->gameDataToolStripMenuItem->Size = System::Drawing::Size(227, 22);
|
| 596 |
this->gameDataToolStripMenuItem->Text = L"View Game Data";
|
612 |
this->gameDataToolStripMenuItem->Text = L"View Game Data";
|
| 597 |
this->gameDataToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::gameDataToolStripMenuItem_Click);
|
613 |
this->gameDataToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::gameDataToolStripMenuItem_Click);
|
| 598 |
//
|
614 |
//
|
| 599 |
// toolStripSeparator2
|
615 |
// toolStripSeparator2
|
| 600 |
//
|
616 |
//
|
| 601 |
this->toolStripSeparator2->Name = L"toolStripSeparator2";
|
617 |
this->toolStripSeparator2->Name = L"toolStripSeparator2";
|
| 602 |
this->toolStripSeparator2->Size = System::Drawing::Size(160, 6);
|
618 |
this->toolStripSeparator2->Size = System::Drawing::Size(224, 6);
|
| 603 |
//
|
619 |
//
|
| 604 |
// closeToolStripMenuItem
|
620 |
// closeToolStripMenuItem
|
| 605 |
//
|
621 |
//
|
| 606 |
this->closeToolStripMenuItem->Name = L"closeToolStripMenuItem";
|
622 |
this->closeToolStripMenuItem->Name = L"closeToolStripMenuItem";
|
| 607 |
this->closeToolStripMenuItem->Size = System::Drawing::Size(163, 22);
|
623 |
this->closeToolStripMenuItem->Size = System::Drawing::Size(227, 22);
|
| 608 |
this->closeToolStripMenuItem->Text = L"Close";
|
624 |
this->closeToolStripMenuItem->Text = L"Close";
|
| 609 |
this->closeToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::closeToolStripMenuItem_Click);
|
625 |
this->closeToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::closeToolStripMenuItem_Click);
|
| 610 |
//
|
626 |
//
|
| 611 |
// timer1
|
627 |
// timer1
|
| 612 |
//
|
628 |
//
|
| Line 676... |
Line 692... |
| 676 |
//
|
692 |
//
|
| 677 |
this->timerCheckGame->Enabled = true;
|
693 |
this->timerCheckGame->Enabled = true;
|
| 678 |
this->timerCheckGame->Interval = 1000;
|
694 |
this->timerCheckGame->Interval = 1000;
|
| 679 |
this->timerCheckGame->Tick += gcnew System::EventHandler(this, &Form1::timerCheckGame_Tick);
|
695 |
this->timerCheckGame->Tick += gcnew System::EventHandler(this, &Form1::timerCheckGame_Tick);
|
| 680 |
//
|
696 |
//
|
| 681 |
// gUIOverlayToolStripMenuItem
|
697 |
// launchManagerAdvancedToolStripMenuItem
|
| 682 |
//
|
698 |
//
|
| 683 |
this->gUIOverlayToolStripMenuItem->Checked = true;
|
- |
|
| 684 |
this->gUIOverlayToolStripMenuItem->CheckOnClick = true;
|
- |
|
| 685 |
this->gUIOverlayToolStripMenuItem->CheckState = System::Windows::Forms::CheckState::Checked;
|
- |
|
| 686 |
this->gUIOverlayToolStripMenuItem->Name = L"gUIOverlayToolStripMenuItem";
|
699 |
this->launchManagerAdvancedToolStripMenuItem->Name = L"launchManagerAdvancedToolStripMenuItem";
|
| 687 |
this->gUIOverlayToolStripMenuItem->Size = System::Drawing::Size(152, 22);
|
700 |
this->launchManagerAdvancedToolStripMenuItem->Size = System::Drawing::Size(227, 22);
|
| 688 |
this->gUIOverlayToolStripMenuItem->Text = L"GUI Overlay";
|
701 |
this->launchManagerAdvancedToolStripMenuItem->Text = L"Launch Manager (Advanced)";
|
| 689 |
this->gUIOverlayToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::gUIOverlayToolStripMenuItem_Click);
|
702 |
this->launchManagerAdvancedToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::launchManagerAdvancedToolStripMenuItem_Click);
|
| 690 |
//
|
703 |
//
|
| 691 |
// Form1
|
704 |
// Form1
|
| 692 |
//
|
705 |
//
|
| 693 |
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
|
706 |
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
|
| 694 |
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
|
707 |
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
|
| Line 742... |
Line 755... |
| 742 |
RegistryKey ^searchKey = Registry::CurrentUser->CreateSubKey("Software\\Egosoft\\PluginManagerSettings");
|
755 |
RegistryKey ^searchKey = Registry::CurrentUser->CreateSubKey("Software\\Egosoft\\PluginManagerSettings");
|
| 743 |
if ( searchKey )
|
756 |
if ( searchKey )
|
| 744 |
searchKey->SetValue("DontAutoResume", (m_bAutoResume) ? 0 : 1);
|
757 |
searchKey->SetValue("DontAutoResume", (m_bAutoResume) ? 0 : 1);
|
| 745 |
}
|
758 |
}
|
| 746 |
private: System::Void resumeManagerToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
759 |
private: System::Void resumeManagerToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
| 747 |
if ( m_bAutoClose )
|
- |
|
| 748 |
{
|
- |
|
| 749 |
m_bResume = true;
|
- |
|
| 750 |
this->Close();
|
- |
|
| 751 |
}
|
- |
|
| 752 |
else
|
- |
|
| 753 |
LaunchManager(false);
|
760 |
_launchManager(false);
|
| 754 |
}
|
761 |
}
|
| 755 |
private: System::Void notifyIcon1_DoubleClick(System::Object^ sender, System::EventArgs^ e) {
|
762 |
private: System::Void notifyIcon1_DoubleClick(System::Object^ sender, System::EventArgs^ e) {
|
| 756 |
m_bResume = true;
|
763 |
m_bResume = true;
|
| 757 |
if ( m_bAutoClose )
|
764 |
if ( m_bAutoClose )
|
| 758 |
this->Close();
|
765 |
this->Close();
|
| Line 891... |
Line 898... |
| 891 |
private: System::Void gUIOverlayToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
898 |
private: System::Void gUIOverlayToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
| 892 |
m_bCustomGui = this->gUIOverlayToolStripMenuItem->Checked;
|
899 |
m_bCustomGui = this->gUIOverlayToolStripMenuItem->Checked;
|
| 893 |
RegistryKey ^searchKey = Registry::CurrentUser->CreateSubKey("Software\\Egosoft\\PluginManagerSettings");
|
900 |
RegistryKey ^searchKey = Registry::CurrentUser->CreateSubKey("Software\\Egosoft\\PluginManagerSettings");
|
| 894 |
if ( searchKey )
|
901 |
if ( searchKey )
|
| 895 |
searchKey->SetValue("DontDoGUI", (m_bCustomGui) ? 0 : 1);
|
902 |
searchKey->SetValue("DontDoGUI", (m_bCustomGui) ? 0 : 1);
|
| - |
|
903 |
}
|
| - |
|
904 |
private: System::Void launchManagerAdvancedToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
| - |
|
905 |
_launchManager(true);
|
| 896 |
}
|
906 |
}
|
| 897 |
};
|
907 |
};
|
| 898 |
}
|
908 |
}
|
| 899 |
|
909 |
|