Emblem Set Asset: Difference between revisions
Created page with "__NOTOC__ Category:Assets Category:BO1 Category:BO2 The emblemset asset is used on Black Ops 1 and 2 to predefine emblems. == Black Ops 1 == <syntaxhighlight lang=..." |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 6: | Line 6: | ||
== Black Ops 1 == | == Black Ops 1 == | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
struct | struct EmblemLayer | ||
{ | { | ||
int cost; | |||
int unlockLevel; | |||
int unlockPLevel; | |||
}; | }; | ||
struct | struct EmblemCategory | ||
{ | { | ||
const char *name; | |||
char * | const char *description; | ||
}; | }; | ||
struct | struct EmblemIcon | ||
{ | { | ||
GfxImage *image; | |||
char * | const char *description; | ||
float outlineSize; | |||
int defaultColor; | |||
int cost; | |||
int unlockLevel; | |||
int unlockPLevel; | |||
int unclassifyAt; | |||
int sortKey; | |||
unsigned int category; | |||
}; | }; | ||
struct | struct EmblemBackground | ||
{ | { | ||
Material *material; | |||
const char *description; | |||
int cost; | |||
int unlockLevel; | |||
int unlockPLevel; | |||
int unclassifyAt; | |||
int | |||
int | |||
int | |||
int | |||
}; | }; | ||
struct EmblemSet | struct EmblemSet | ||
{ | { | ||
int colorCount; | |||
int layerCount; | |||
EmblemLayer *layers; | |||
int categoryCount; | |||
EmblemCategory *categories; | |||
int iconCount; | |||
EmblemIcon *icons; | |||
int backgroundCount; | |||
EmblemBackground *backgrounds; | |||
int backgroundLookupCount; | |||
__int16 *backgroundLookup; | |||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Black Ops 2 == | == Black Ops 2 == | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
struct | struct EmblemIcon | ||
{ | { | ||
GfxImage * | GfxImage *image; | ||
char * | const char *description; | ||
float outlineSize; | |||
int cost; | |||
int unlockLevel; | |||
int unlockPLevel; | |||
int unclassifyAt; | |||
int sortKey; | |||
unsigned __int16 iconType; | |||
unsigned __int16 category; | |||
}; | }; | ||
struct | struct EmblemBackground | ||
{ | { | ||
Material * | Material *material; | ||
char * | const char *description; | ||
int cost; | |||
int unlockLevel; | |||
int unlockPLevel; | |||
int unclassifyAt; | |||
int sortKey; | |||
unsigned __int16 bgCategory; | |||
int mtxIndex; | |||
}; | }; | ||
struct | struct EmblemCategory | ||
{ | { | ||
char * | const char *name; | ||
char * | const char *description; | ||
}; | }; | ||
struct | struct EmblemIconType | ||
{ | { | ||
char * | const char *name; | ||
char * | const char *description; | ||
}; | }; | ||
struct | struct EmblemBGCategory | ||
{ | { | ||
char * | const char *name; | ||
char * | const char *description; | ||
}; | }; | ||
struct | struct EmblemLayer | ||
{ | { | ||
int cost; | |||
int unlockLevel; | |||
int unlockPLevel; | |||
int | |||
int | |||
int | |||
}; | }; | ||
struct EmblemSet | struct EmblemSet | ||
{ | { | ||
int colorCount; | |||
int layerCount; | |||
EmblemLayer *layers; | |||
int categoryCount; | |||
EmblemCategory *categories; | |||
int iconTypeCount; | |||
EmblemIconType *iconTypes; | |||
int bgCategoryCount; | |||
EmblemBGCategory *bgCategories; | |||
int iconCount; | |||
EmblemIcon * icons; | |||
int backgroundCount; | |||
EmblemBackground * backgrounds; | |||
int backgroundLookupCount; | |||
short * backgroundLookup; | short * backgroundLookup; | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 19:47, 22 December 2014
The emblemset asset is used on Black Ops 1 and 2 to predefine emblems.
Black Ops 1
struct EmblemLayer
{
int cost;
int unlockLevel;
int unlockPLevel;
};
struct EmblemCategory
{
const char *name;
const char *description;
};
struct EmblemIcon
{
GfxImage *image;
const char *description;
float outlineSize;
int defaultColor;
int cost;
int unlockLevel;
int unlockPLevel;
int unclassifyAt;
int sortKey;
unsigned int category;
};
struct EmblemBackground
{
Material *material;
const char *description;
int cost;
int unlockLevel;
int unlockPLevel;
int unclassifyAt;
};
struct EmblemSet
{
int colorCount;
int layerCount;
EmblemLayer *layers;
int categoryCount;
EmblemCategory *categories;
int iconCount;
EmblemIcon *icons;
int backgroundCount;
EmblemBackground *backgrounds;
int backgroundLookupCount;
__int16 *backgroundLookup;
};Black Ops 2
struct EmblemIcon
{
GfxImage *image;
const char *description;
float outlineSize;
int cost;
int unlockLevel;
int unlockPLevel;
int unclassifyAt;
int sortKey;
unsigned __int16 iconType;
unsigned __int16 category;
};
struct EmblemBackground
{
Material *material;
const char *description;
int cost;
int unlockLevel;
int unlockPLevel;
int unclassifyAt;
int sortKey;
unsigned __int16 bgCategory;
int mtxIndex;
};
struct EmblemCategory
{
const char *name;
const char *description;
};
struct EmblemIconType
{
const char *name;
const char *description;
};
struct EmblemBGCategory
{
const char *name;
const char *description;
};
struct EmblemLayer
{
int cost;
int unlockLevel;
int unlockPLevel;
};
struct EmblemSet
{
int colorCount;
int layerCount;
EmblemLayer *layers;
int categoryCount;
EmblemCategory *categories;
int iconTypeCount;
EmblemIconType *iconTypes;
int bgCategoryCount;
EmblemBGCategory *bgCategories;
int iconCount;
EmblemIcon * icons;
int backgroundCount;
EmblemBackground * backgrounds;
int backgroundLookupCount;
short * backgroundLookup;
};