📄 roxy.cpp
字号:
// roxy.cpp : Defines the entry point for the application.
//
#include "win_and_sock.h"
#include "data.h"
#include "roxy.h"
#include <stdio.h>
#include "thread.h"
#include "inject.h"
#include "gui/bigaterm.h"
#include "gui/wnd2.h"
#include "proto/ttg_proto.h"
#include <direct.h>
//#include "bot.h"
#include "packet_db.h"
#include "bots/statistic.h" // for paint sd.x/y
#define MAX_LOADSTRING 100
#define IDM_BUTTON 1234
#define IDM_CHECKBOX 1235
char s1[255];
size_t gtt_traff = 0;
size_t gtt_traff_old = 0;
size_t gtt_traff_err = 0;
bool cli_shift = false;
bool cli_ctrl = false;
bool cli_alt = false;
bool doToutDump = true;
// Foward declarations
ATOM MyRegisterClass(HINSTANCE hInstance);
BOOL InitInstance(HINSTANCE, int);
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
// ------------------------------------------------
// WinMain
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
// TODO: Place code here.
MSG msg;
HACCEL hAccelTable;
// thread1ParamT thr_param;
char * cmdline = GetCommandLine();
MyRegisterClass(hInstance);
BigaTermRegisterClass(hInstance);
BCBoxRegisterClass(hInstance);
//
// Wnd2RegisterClass(hInstance);
// shared data allocating
MyAssert(init_data(), "init failed", FALSE);
//thr_param
hThread = CreateThread(NULL,0,Thread1, NULL,0,NULL);
MyAssert(hThread, "CreateThread(Thread1) failed", FALSE);
// Perform application initialization:
MyAssert(InitInstance (hInstance, nCmdShow), "InitInstance failed", FALSE);
hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_ROXY);
// Main message loop:
while (GetMessage(&msg, NULL, 0, 0))
{
if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
// on exit
tstate.terminating = 1; // 耔沩嚯 蝠邃
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -