remap-txr-tags -- runtime reassignment of texture tag names. (Useful for splitting up tags with the same name in order to map different materials to them.)

bbox-check -- a change that allows disabling of a confusing error message.
This commit is contained in:
Marc Chapman 2017-07-27 00:15:01 +01:00
parent 5a1405d4bb
commit a64a2c9793
3 changed files with 107 additions and 1 deletions

View file

@ -658,6 +658,15 @@ public:
DECLARE_CALLBACK(void, onEndSequence, (ShapeBase* obj, S32 slot, const char* name));
DECLARE_CALLBACK( void, onForceUncloak, ( ShapeBase* obj, const char* reason ) );
/// @}
struct TextureTagRemapping
{
char* old_tag;
char* new_tag;
};
StringTableEntry remap_txr_tags;
char* remap_buffer;
Vector<TextureTagRemapping> txr_tag_remappings;
bool silent_bbox_check;
public:
ShapeBaseData(const ShapeBaseData&, bool = false);
};