put game_ports into mod_helper

This commit is contained in:
Olaf Rempel 2006-04-16 20:32:52 +02:00
parent 9e6e2a4d32
commit 46cbeabad5
2 changed files with 7 additions and 7 deletions

View File

@ -3,7 +3,12 @@
#include "multisock.h" #include "multisock.h"
#include "netpkt.h" #include "netpkt.h"
#include "module.h"
struct game_ports {
int portlo;
int porthi;
int gameid;
};
class ModHelper { class ModHelper {
public: public:

View File

@ -1,6 +1,7 @@
#ifndef _MODULE_H_ #ifndef _MODULE_H_
#define _MODULE_H_ #define _MODULE_H_
#include "list.h"
#include "config.h" #include "config.h"
#include "multisock.h" #include "multisock.h"
#include "netpkt.h" #include "netpkt.h"
@ -58,12 +59,6 @@ enum {
ID_COD2 // "Call of Duty 2" ID_COD2 // "Call of Duty 2"
}; };
struct game_ports {
int portlo;
int porthi;
int gameid;
};
class Module : private ListEntry<Module> { class Module : private ListEntry<Module> {
public: public:
virtual ~Module() {}; virtual ~Module() {};