-
Notifications
You must be signed in to change notification settings - Fork 2
/
Common.h
45 lines (33 loc) · 953 Bytes
/
Common.h
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
#pragma once
// #define TGFEXT // TGF2, MMF2, MMF2 Dev
#define MMFEXT // MMF2, MMF2 Dev
// #define PROEXT // MMF2 Dev only
#include "Edif.h"
#include "Resource.h"
// edPtr : Used at edittime and saved in the MFA/CCN/EXE files
struct EDITDATA
{
// Header - required
extHeader eHeader;
// Object's data
// short swidth;
// short sheight;
};
class Extension;
struct RUNDATA
{
// Main header - required
headerObject rHo;
// Optional headers - depend on the OEFLAGS value, see documentation and examples for more info
// rCom rc; // Common structure for movements & animations
// rMvt rm; // Movements
// rSpr rs; // Sprite (displayable objects)
// rVal rv; // Alterable values
// Required
Extension * pExtension;
/*
You shouldn't add any variables or anything here. Add them as members
of the Extension class (Extension.h) instead.
*/
};
#include "Extension.h"