amxmodx/dlls/csx/source/WinCSX/WinCSX.h

26 lines
740 B
C
Raw Normal View History

2005-01-21 19:08:36 +03:00
#pragma once
#include "resource.h"
#include "CRank.h"
// Constants
#define MAX_LOADSTRING 100
#define VERSION "0.2"
#define STATS_FILENAME "csstats.dat"
2005-01-21 19:08:36 +03:00
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR g_szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR g_szWindowClass[MAX_LOADSTRING]; // the main window class name
RankSystem g_rank;
HWND g_hWnd;
// Forward declarations of functions included in this code module:
ATOM MyRegisterClass(HINSTANCE hInstance);
BOOL InitInstance(HINSTANCE, int);
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK WinCSXBox(HWND, UINT, WPARAM, LPARAM);
2005-01-21 19:23:55 +03:00
LRESULT CALLBACK AboutBox(HWND, UINT, WPARAM, LPARAM);
2005-01-21 19:08:36 +03:00
bool LoadRankFromFile(HWND hDlg);