aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMatthew Hoops2011-02-22 02:02:00 -0500
committerMatthew Hoops2011-02-22 02:02:00 -0500
commitd5c494a239ec4380dca7bbbbe68e0aa453c2a658 (patch)
treedb8478691f032e6f9783d3d1d05b6b39ab453bad /common
parent91287b2e184b9755662b5fbb6f7d443a02dc018b (diff)
downloadscummvm-rg350-d5c494a239ec4380dca7bbbbe68e0aa453c2a658.tar.gz
scummvm-rg350-d5c494a239ec4380dca7bbbbe68e0aa453c2a658.tar.bz2
scummvm-rg350-d5c494a239ec4380dca7bbbbe68e0aa453c2a658.zip
COMMON: Add default Windows PE types
Diffstat (limited to 'common')
-rw-r--r--common/pe_exe.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/common/pe_exe.h b/common/pe_exe.h
index 473dd86103..ca33a2ca72 100644
--- a/common/pe_exe.h
+++ b/common/pe_exe.h
@@ -72,6 +72,29 @@ struct PEResourceID_EqualTo {
bool operator()(const PEResourceID &id1, const PEResourceID &id2) const { return id1 == id2; }
};
+/** The default Windows PE resources. */
+enum PEResourceType {
+ kPECursor = 0x01,
+ kPEBitmap = 0x02,
+ kPEIcon = 0x03,
+ kPEMenu = 0x04,
+ kPEDialog = 0x05,
+ kPEString = 0x06,
+ kPEFontDir = 0x07,
+ kPEFont = 0x08,
+ kPEAccelerator = 0x09,
+ kPERCData = 0x0A,
+ kPEMessageTable = 0x0B,
+ kPEGroupCursor = 0x0C,
+ kPEGroupIcon = 0x0E,
+ kPEVersion = 0x10,
+ kPEDlgInclude = 0x11,
+ kPEPlugPlay = 0x13,
+ kPEVXD = 0x14,
+ kPEAniCursor = 0x15,
+ kPEAniIcon = 0x16
+};
+
/**
* A class able to load resources from a Windows Portable Executable, such
* as cursors, bitmaps, and sounds.