Skip to content
Snippets Groups Projects
Commit 3ceace48 authored by Tazpn's avatar Tazpn
Browse files

niflib: Add atlantica to the supported version list

parent c4b12611
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@ const unsigned VER_20_0_0_4 = 0x14000004; /*!< NIF Version 20.0.0.4 */
const unsigned VER_20_0_0_5 = 0x14000005; /*!< NIF Version 20.0.0.4 */
const unsigned VER_20_1_0_3 = 0x14010003; /*!< NIF Version 20.1.0.3 */
const unsigned VER_20_2_0_7 = 0x14020007; /*!< NIF Version 20.2.0.7 */
const unsigned VER_20_2_0_8 = 0x14020008; /*!< NIF Version 20.2.0.7 */
const unsigned VER_20_3_0_3 = 0x14030003; /*!< NIF Version 20.3.0.3 */
const unsigned VER_20_3_0_6 = 0x14030006; /*!< NIF Version 20.3.0.6 */
const unsigned VER_UNSUPPORTED = 0xFFFFFFFF; /*!< Unsupported NIF Version */
......
......@@ -357,6 +357,8 @@ void NifStream( HeaderString & val, istream& in, NifInfo & info ) {
ver_start = 32;
} else if ( val.header.substr(0, 20) == "Gamebryo File Format" ) {
ver_start = 30;
} else if ( val.header.substr(0, 6) == "NDSNIF" ) {
ver_start = 30;
} else {
//Not a NIF file
info.version = VER_INVALID;
......
......@@ -1093,6 +1093,7 @@ bool IsSupportedVersion( unsigned int version ) {
case VER_20_0_0_5:
case VER_20_1_0_3:
case VER_20_2_0_7:
case VER_20_2_0_8:
case VER_20_3_0_3:
case VER_20_3_0_6:
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment