mirror of
https://github.com/electronicarts/CnC_Renegade.git
synced 2025-12-16 07:31:40 -05:00
Initial commit of Command & Conquer Renegade source code.
This commit is contained in:
81
Code/Commando/dlgmpslaveservers.h
Normal file
81
Code/Commando/dlgmpslaveservers.h
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
** Command & Conquer Renegade(tm)
|
||||
** Copyright 2025 Electronic Arts Inc.
|
||||
**
|
||||
** This program is free software: you can redistribute it and/or modify
|
||||
** it under the terms of the GNU General Public License as published by
|
||||
** the Free Software Foundation, either version 3 of the License, or
|
||||
** (at your option) any later version.
|
||||
**
|
||||
** This program is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
** GNU General Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License
|
||||
** along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/***********************************************************************************************
|
||||
*** C O N F I D E N T I A L --- W E S T W O O D S T U D I O S ***
|
||||
***********************************************************************************************
|
||||
* *
|
||||
* Project Name : Combat *
|
||||
* *
|
||||
* $Archive:: /Commando/Code/Commando/dlgmpslaveservers.h $*
|
||||
* *
|
||||
* Author:: Steve Tall *
|
||||
* *
|
||||
* $Modtime:: 2/11/02 11:01a $*
|
||||
* *
|
||||
* $Revision:: 3 $*
|
||||
* *
|
||||
*---------------------------------------------------------------------------------------------*
|
||||
* Functions: *
|
||||
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef _DLGMPSLAVESERVER_H
|
||||
#define _DLGMPSLAVESERVER_H
|
||||
|
||||
|
||||
#include "menudialog.h"
|
||||
#include "resource.h"
|
||||
#include "dialogresource.h"
|
||||
#include "slavemaster.h"
|
||||
|
||||
|
||||
class SlaveServerDialogClass : public MenuDialogClass
|
||||
{
|
||||
public:
|
||||
|
||||
SlaveServerDialogClass(void);
|
||||
|
||||
void On_Init_Dialog(void);
|
||||
void On_Command(int ctrl_id, int mesage_id, DWORD param);
|
||||
void On_Destroy(void);
|
||||
void Load_Settings(int slavenum);
|
||||
static void Set_Slave_Settings(StringClass *file_name);
|
||||
static void Set_Slave_Button(int slavenum);
|
||||
|
||||
private:
|
||||
|
||||
static unsigned long EnableIDs[MAX_SLAVES];
|
||||
static unsigned long NickIDs[MAX_SLAVES];
|
||||
static unsigned long PassIDs[MAX_SLAVES];
|
||||
static unsigned long SerialIDs[MAX_SLAVES];
|
||||
static unsigned long PortIDs[MAX_SLAVES];
|
||||
static unsigned long SettingsButtons[MAX_SLAVES];
|
||||
|
||||
static char ServerSettingsFileNames[MAX_SLAVES][MAX_PATH];
|
||||
|
||||
static int SlaveNumber;
|
||||
|
||||
static SlaveServerDialogClass *Instance;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif //_DLGMPSLAVESERVER_H
|
||||
Reference in New Issue
Block a user