Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
logdlg.h
Go to the documentation of this file.
1/*
2** Command & Conquer Generals Zero Hour(tm)
3** Copyright 2025 Electronic Arts Inc.
4**
5** This program is free software: you can redistribute it and/or modify
6** it under the terms of the GNU General Public License as published by
7** the Free Software Foundation, either version 3 of the License, or
8** (at your option) any later version.
9**
10** This program is distributed in the hope that it will be useful,
11** but WITHOUT ANY WARRANTY; without even the implied warranty of
12** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13** GNU General Public License for more details.
14**
15** You should have received a copy of the GNU General Public License
16** along with this program. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19/* $Header: /Commando/Code/Tools/max2w3d/logdlg.h 4 11/07/00 5:40p Greg_h $ */
20/***********************************************************************************************
21 *** Confidential - Westwood Studios ***
22 ***********************************************************************************************
23 * *
24 * Project Name : Commando Tools - W3D export *
25 * *
26 * $Archive:: /Commando/Code/Tools/max2w3d/logdlg.h $*
27 * *
28 * $Author:: Greg_h $*
29 * *
30 * $Modtime:: 11/07/00 3:15p $*
31 * *
32 * $Revision:: 4 $*
33 * *
34 *---------------------------------------------------------------------------------------------*
35 * Functions: *
36 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
37
38
39#ifndef LOGDLG_H
40#define LOGDLG_H
41
42#include <windows.h>
43
44
46{
47public:
48
49 LogDataDialogClass(HWND parent);
51
52 void Wait_OK(); // wait for user to hit OK
53
54 void printf(char *, ...);
55 void printf(char * text, const va_list & args);
56 void rprintf(char *, ...);
57 void rprintf(char *text, const va_list & args);
58
59 void updatebar(float position, float total);
60
61 bool Dialog_Proc(HWND hWnd,UINT message,WPARAM wParam,LPARAM);
62
63public:
64// public variables
65 HWND Hwnd;
67
68private:
69
70 void Dialog_Init();
71
72private:
73
74 HANDLE ThreadHandle;
75 DWORD ThreadID;
76
77 int last_buffer_index;
78 int buffer_index;
79
80volatile int status;
81
82};
83
84
85#endif
86
87// EOF - logdlg.h
unsigned int UINT
Definition bittype.h:63
unsigned long DWORD
Definition bittype.h:57
void rprintf(char *,...)
Definition logdlg.cpp:146
bool Dialog_Proc(HWND hWnd, UINT message, WPARAM wParam, LPARAM)
Definition logdlg.cpp:238
void updatebar(float position, float total)
Definition logdlg.cpp:187
LogDataDialogClass(HWND parent)
Definition logdlg.cpp:66
void printf(char *,...)
Definition logdlg.cpp:103