blob: d34ec0bf0da7790e039cdd3535b973aeac02fa45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#include "StdAfx.h"
#include "T2Archive.h"
#include "T2Balloon.h"
#include "T2ClassFactory.h"
#include "T2Dialog.h"
#include "T2SoundPlayer.h"
/*static*/ void T2ClassFactory::Initialize() {
CLASSFACTORY_CLASSINFO info;
info.x0 = 1;
info.id = 1;
info.newFunc = (void *) &new_T2Archive;
Register(&info);
info.id = 2;
info.newFunc = (void *) &new_T2Dialog;
Register(&info);
info.id = 3;
info.newFunc = (void *) &new_T2Balloon;
Register(&info);
info.id = 4;
info.newFunc = (void *) &new_T2SoundPlayer;
Register(&info);
}
/*static*/ void T2ClassFactory::Discard() {
}
/*static*/ void T2ClassFactory::Register(CLASSFACTORY_CLASSINFO* inClassInfo) {
}
/*static*/ void* T2ClassFactory::Query(int inID) {
return NULL;
}
/*static*/ void* T2ClassFactory::new_T2Archive() {
return new T2Archive;
}
/*static*/ void* T2ClassFactory::new_T2Dialog() {
return new T2Dialog;
}
/*static*/ void* T2ClassFactory::new_T2Balloon() {
return new T2Balloon;
}
/*static*/ void* T2ClassFactory::new_T2SoundPlayer(CWnd* inArg1, IDirectSound* inArg2) {
return new T2SoundPlayer(inArg1, inArg2);
}
|