amxmodx/dlls/cstrike/csx/WinCSX/WinCSX.h

35 lines
1.1 KiB
C
Raw Normal View History

// vim: set ts=4 sw=4 tw=99 noet:
//
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
// Copyright (C) The AMX Mod X Development Team.
//
// This software is licensed under the GNU General Public License, version 3 or higher.
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
// https://alliedmods.net/amxmodx-license
2005-01-21 16:08:36 +00: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 16:08:36 +00: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 16:23:55 +00:00
LRESULT CALLBACK AboutBox(HWND, UINT, WPARAM, LPARAM);
2005-01-21 16:08:36 +00:00
bool LoadRankFromFile(HWND hDlg);