1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

new files

This commit is contained in:
Michał W. Urbańczyk
2009-03-07 15:55:56 +00:00
parent 5ebb54ec59
commit 5816028322
4 changed files with 1009 additions and 0 deletions

19
lib/RegisterTypes.cpp Normal file
View File

@ -0,0 +1,19 @@
#define VCMI_DLL
#include "Connection.h"
#include "NetPacks.h"
#include "VCMI_Lib.h"
#include "../hch./CObjectHandler.h"
#include "../hch/CHeroHandler.h"
#include "../hch/CTownHandler.h"
#include "RegisterTypes.h"
void foofoofoo()
{
//never called function to force instantation of templates
int *ccc = NULL;
registerTypes((CISer<CConnection>&)*ccc);
registerTypes((COSer<CConnection>&)*ccc);
registerTypes((CSaveFile&)*ccc);
registerTypes((CLoadFile&)*ccc);
}