Browse Source

put game_ports into mod_helper

master
Olaf Rempel 16 years ago
parent
commit
46cbeabad5
  1. 7
      modhelper.h
  2. 7
      module.h

7
modhelper.h

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

7
module.h

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

Loading…
Cancel
Save