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
45
class
LogDataDialogClass
46
{
47
public
:
48
49
LogDataDialogClass
(HWND parent);
50
~LogDataDialogClass
();
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
63
public
:
64
// public variables
65
HWND
Hwnd
;
66
HWND
ParentHwnd
;
67
68
private
:
69
70
void
Dialog_Init();
71
72
private
:
73
74
HANDLE ThreadHandle;
75
DWORD
ThreadID;
76
77
int
last_buffer_index;
78
int
buffer_index;
79
80
volatile
int
status;
81
82
};
83
84
85
#endif
86
87
// EOF - logdlg.h
UINT
unsigned int UINT
Definition
bittype.h:63
DWORD
unsigned long DWORD
Definition
bittype.h:57
LogDataDialogClass::Wait_OK
void Wait_OK()
Definition
logdlg.cpp:212
LogDataDialogClass::rprintf
void rprintf(char *,...)
Definition
logdlg.cpp:146
LogDataDialogClass::ParentHwnd
HWND ParentHwnd
Definition
logdlg.h:66
LogDataDialogClass::~LogDataDialogClass
~LogDataDialogClass()
Definition
logdlg.cpp:82
LogDataDialogClass::Dialog_Proc
bool Dialog_Proc(HWND hWnd, UINT message, WPARAM wParam, LPARAM)
Definition
logdlg.cpp:238
LogDataDialogClass::updatebar
void updatebar(float position, float total)
Definition
logdlg.cpp:187
LogDataDialogClass::LogDataDialogClass
LogDataDialogClass(HWND parent)
Definition
logdlg.cpp:66
LogDataDialogClass::printf
void printf(char *,...)
Definition
logdlg.cpp:103
LogDataDialogClass::Hwnd
HWND Hwnd
Definition
logdlg.h:65
Code
Tools
WW3D
max2w3d
logdlg.h
Generated by
1.13.2