cc9cii 
								
							 
						 
						
							
							
							
							
								
							
							
								7ff1136d81 
								
							 
						 
						
							
							
								
								For compiling in Windows with MSVC.  
							
							
							
						 
						
							2014-08-27 21:25:47 +10:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Arthur Moore 
								
							 
						 
						
							
							
							
							
								
							
							
								b7852b8215 
								
							 
						 
						
							
							
								
								Convert niffile.cpp to use std::map instead of a custom search function.  
							
							... 
							
							
							
							I haven't profiled this, but it should speed things up a decent bit. 
							
						 
						
							2014-08-24 14:39:59 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Arthur Moore 
								
							 
						 
						
							
							
							
							
								
							
							
								8be6aefd95 
								
							 
						 
						
							
							
								
								Moved functions from niffile.cpp to where they belong.  
							
							... 
							
							
							
							Also cleaned up some #includes
Removed a few asserts.  Vector already throws an out_of_range error. 
							
						 
						
							2014-08-24 13:45:36 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Arthur Moore 
								
							 
						 
						
							
							
							
							
								
							
							
								cdfa24e15d 
								
							 
						 
						
							
							
								
								(Re) Wrote a tool to test NIF files in BSAs and on the filesystem.  
							
							... 
							
							
							
							Just give it a set of files, one file per argument, and it will make sure openmw can read them.
On linux/mac you can use "xargs --arg-file=nifs.txt ./niftest" to give it a list of files to check. 
							
						 
						
							2014-08-24 12:09:39 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								2b407a9995 
								
							 
						 
						
							
							
								
								Refactor NIF cache  
							
							... 
							
							
							
							- Remove broken cache locking mechanism
This was supposed to unload NIFFiles after a cell transition completes, but it was never working due to a mistake on the line if (--sLockLevel), should have been if (--sLockLevel == 0). Repairing this would increase load times (NIF files would have to be reloaded more frequently), so just removed it for now.
 - Decouple cache from NIFFile (now a new nifcache component)
 - Add API for future background loading
 - Provide a reliable way (SharedPtr) to hold on to loaded NIFFiles. This will be useful to avoid deep copies of keyframe and text key data, which is currently a performance bottleneck. 
							
						 
						
							2014-08-24 02:37:50 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								30be59c029 
								
							 
						 
						
							
							
								
								Implement auto-adjusting of particle emit rate  
							
							... 
							
							
							
							This makes ashcloud.nif and blightcloud.nif work properly. 
							
						 
						
							2014-06-24 03:07:10 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Marc Zinnschlag 
								
							 
						 
						
							
							
							
							
								
							
							
								c8c45d4923 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'lgro/valgrind_fixes'  
							
							
							
						 
						
							2014-06-15 10:57:01 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lukasz Gromanowski 
								
							 
						 
						
							
							
							
							
								
							
							
								abeb1d4ab3 
								
							 
						 
						
							
							
								
								Valgrind: Added constructor for KeyListT class, and added initialziation of ver member field in NIFFile class.  
							
							... 
							
							
							
							Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com> 
							
						 
						
							2014-06-15 09:39:16 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								b158919c4b 
								
							 
						 
						
							
							
								
								Fix uninitialized variable use  
							
							
							
						 
						
							2014-06-13 02:26:52 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								029e438c11 
								
							 
						 
						
							
							
								
								Don't check mInterpolationType each iteration  
							
							
							
						 
						
							2014-06-11 23:57:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Arthur Moore 
								
							 
						 
						
							
							
							
							
								
							
							
								f9f278f645 
								
							 
						 
						
							
							
								
								Fixed a capitalization error.  
							
							... 
							
							
							
							Changed Interpolations to unsigned.
Also explained what's happening in the comments. 
							
						 
						
							2014-06-06 07:00:04 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Arthur Moore 
								
							 
						 
						
							
							
							
							
								
							
							
								b90e4db871 
								
							 
						 
						
							
							
								
								Actually read in XYZ_ROTATION_KEY data instead of discarding it.  
							
							
							
						 
						
							2014-06-06 01:26:28 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dreamer-dead 
								
							 
						 
						
							
							
							
							
								
							
							
								e772bb88da 
								
							 
						 
						
							
							
								
								Remove RTTI usage in NIF reader.  
							
							
							
						 
						
							2014-06-05 20:22:20 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Arthur Moore 
								
							 
						 
						
							
							
							
							
								
							
							
								576c06d791 
								
							 
						 
						
							
							
								
								Fix Bug  #1371  
							
							... 
							
							
							
							Not properly reading in the NIF file's QuaternionKeyList. 
							
						 
						
							2014-06-01 18:01:44 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Arthur Moore 
								
							 
						 
						
							
							
							
							
								
							
							
								50a4d175da 
								
							 
						 
						
							
							
								
								Read NIF interpolation type 4 (XYZ_ROTATION_KEY)  
							
							... 
							
							
							
							Don't actually do anything with it yet, but without this the "MW Containers Animated" mod made containers inaccessible.
Partly implements Feature #1067  
							
						 
						
							2014-05-28 03:42:26 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								45d2a00717 
								
							 
						 
						
							
							
								
								Fixes   #1293 : Allow interpolation type 0 in case of 0 keys  
							
							
							
						 
						
							2014-04-26 11:36:27 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bret Curtis 
								
							 
						 
						
							
							
							
							
								
							
							
								ab224f93c9 
								
							 
						 
						
							
							
								
								remove our stdint.h version that uses boost and force usage of system stdint.h  
							
							
							
						 
						
							2014-03-05 17:08:58 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								bbd15b185d 
								
							 
						 
						
							
							
								
								Skip inactive controllers. Fixes those bloody bone boots again.  
							
							
							
						 
						
							2014-01-31 05:59:58 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								254eba350e 
								
							 
						 
						
							
							
								
								Not handling interpolation type should be an error, since it will fail reading the next record if it hasn't read the previous one completely.  
							
							
							
						 
						
							2013-12-31 00:56:04 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								5931fdcbde 
								
							 
						 
						
							
							
								
								Implement NiBillboardNode. Flags not handled yet.  
							
							
							
						 
						
							2013-12-26 20:53:52 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								9fcb4fad5c 
								
							 
						 
						
							
							
								
								Implement NiFlipController  
							
							
							
						 
						
							2013-12-08 18:51:56 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								6b81fd78f1 
								
							 
						 
						
							
							
								
								Particle improvements: Handle LocalSpace flag. Attach particle systems to the base node, since they need to be relative to that when LocalSpace is enabled. Get the bone in emitters/affectors so that resulting particle positions are the same. TODO: Fix Controllers to affect particle systems.  
							
							
							
						 
						
							2013-11-25 13:50:33 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Xethik 
								
							 
						 
						
							
							
							
							
								
							
							
								9f533dbbe4 
								
							 
						 
						
							
							
								
								Fixed "most vexing parse" issue.  
							
							
							
						 
						
							2013-09-22 04:57:01 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								fb0ee7f2fc 
								
							 
						 
						
							
							
								
								Improve constness of the Nif RecordPtr structs  
							
							
							
						 
						
							2013-07-24 23:58:35 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								4cedf0fbab 
								
							 
						 
						
							
							
								
								Avoid colliding with AvoidNodes  
							
							... 
							
							
							
							These are placed under the RootCollisionNode hierarchy, but the shapes they
hold aren't collided with. Their exact function is unknown, but seems to be
related to lava? Maybe damage avoidance info for the AI. 
							
						 
						
							2013-04-28 11:12:55 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								1051fa51a7 
								
							 
						 
						
							
							
								
								Recognize NiFlipController  
							
							
							
						 
						
							2013-04-19 15:07:08 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								36170c5374 
								
							 
						 
						
							
							
								
								Use flag enums instead of hard-coded hex values  
							
							
							
						 
						
							2013-04-16 01:20:32 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								bf8bc989fc 
								
							 
						 
						
							
							
								
								Recognize and partly handle NiBSParticleNode  
							
							
							
						 
						
							2013-04-14 12:52:20 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								d26ffe9de0 
								
							 
						 
						
							
							
								
								Move a method to the Node class  
							
							
							
						 
						
							2013-04-10 23:19:47 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								3970407772 
								
							 
						 
						
							
							
								
								Use actual classes for properties  
							
							
							
						 
						
							2013-04-10 20:22:13 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								6c6750342c 
								
							 
						 
						
							
							
								
								Specified particle size is actually the radius  
							
							
							
						 
						
							2013-04-10 13:37:20 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								23097ac9dc 
								
							 
						 
						
							
							
								
								Minor cleanup of NiMorphData  
							
							
							
						 
						
							2013-04-08 09:47:03 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								c6c67a1bb4 
								
							 
						 
						
							
							
								
								Read NiGravity fields  
							
							
							
						 
						
							2013-04-07 18:15:23 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								ebcb4c66c3 
								
							 
						 
						
							
							
								
								Properly read and use the NIF root record list  
							
							
							
						 
						
							2013-04-06 10:17:09 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								f764f243d2 
								
							 
						 
						
							
							
								
								Fix the particle quota  
							
							
							
						 
						
							2013-04-06 06:44:34 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								41ce5464c9 
								
							 
						 
						
							
							
								
								Recognize NiBSAnimationNode as a record type  
							
							... 
							
							
							
							And don't warn about animated nodes without textkeys 
							
						 
						
							2013-04-06 05:00:19 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								bf0ae3ae72 
								
							 
						 
						
							
							
								
								Read NiVisData info  
							
							
							
						 
						
							2013-04-05 06:29:14 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								ac10c5f05c 
								
							 
						 
						
							
							
								
								Even more particle information  
							
							
							
						 
						
							2013-04-04 05:10:52 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								2f6ae4a915 
								
							 
						 
						
							
							
								
								Read more particle information  
							
							
							
						 
						
							2013-04-04 05:10:51 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								ee0a20f9ce 
								
							 
						 
						
							
							
								
								Read some missing particle data from NIFs  
							
							
							
						 
						
							2013-04-04 05:10:50 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								a9b56eedc3 
								
							 
						 
						
							
							
								
								Support NIF "glow maps", which are basically an emissive channel.  
							
							
							
						 
						
							2013-04-03 18:51:40 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								5625d73d84 
								
							 
						 
						
							
							
								
								Bump texture support  
							
							
							
						 
						
							2013-04-03 17:16:34 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Nathan Jeffords 
								
							 
						 
						
							
							
							
							
								
							
							
								d3c1f5e7b2 
								
							 
						 
						
							
							
								
								renamed low-level NIF related files and include guards to conform to naming convention  
							
							
							
						 
						
							2013-03-02 10:46:12 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Nathan Jeffords 
								
							 
						 
						
							
							
							
							
								
							
							
								0ed2015319 
								
							 
						 
						
							
							
								
								refactored NIFFile parse to get better code/data seperation  
							
							
							
						 
						
							2013-03-02 10:07:57 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Nathan Jeffords 
								
							 
						 
						
							
							
							
							
								
							
							
								6de6d9ff6e 
								
							 
						 
						
							
							
								
								Factored a NIFStream class out of the NIFFile class.  
							
							... 
							
							
							
							Split NIFFile into two parts, NIFFile which is cached and is a container
for a parsed NIF, and NIFStream which is a class specialized for parsing
NIFs. This required a semi-sweeping change to make all record classes
accept a NIFStream instead of a NIFFile as an agurment to their read
functions. 
							
						 
						
							2013-03-02 09:56:41 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								2786cc67f6 
								
							 
						 
						
							
							
								
								Fix loading empty NiTriShapeData records  
							
							
							
						 
						
							2013-02-28 13:38:48 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Sergey Shambir 
								
							 
						 
						
							
							
							
							
								
							
							
								03ca7f6123 
								
							 
						 
						
							
							
								
								NIF: added NiStencilProperty record handling  
							
							... 
							
							
							
							NiStencilProperty appears in Better Clothes plugin. If it not handled,
some parts of NPCs bodies will be not rendered. 
							
						 
						
							2013-02-27 23:45:09 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									greye 
								
							 
						 
						
							
							
							
							
								
							
							
								82595e66b2 
								
							 
						 
						
							
							
								
								another missing header for  #576  
							
							
							
						 
						
							2013-02-21 22:47:18 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								b23fcb260c 
								
							 
						 
						
							
							
								
								Use the record index for finding the NiTriShape instead of the name  
							
							
							
						 
						
							2013-01-13 08:00:04 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								660d73fd88 
								
							 
						 
						
							
							
								
								Store the NIF index in the Record object  
							
							
							
						 
						
							2013-01-13 06:56:58 -08:00