scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								3747843c92 
								
							 
						 
						
							
							
								
								Use QString::toInt instead of atoi  
							
							
							
						 
						
							2015-11-26 17:07:20 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									cfcohen 
								
							 
						 
						
							
							
							
							
								
							
							
								c26463fd91 
								
							 
						 
						
							
							
								
								Should have coded it the way scrawl said, since it's cleaner.  
							
							
							
						 
						
							2015-11-26 10:52:20 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									cfcohen 
								
							 
						 
						
							
							
							
							
								
							
							
								a9c9cc5508 
								
							 
						 
						
							
							
								
								Remove unnecessary copy of mEngineSettings in mInitialSettings.  
							
							
							
						 
						
							2015-11-26 10:42:43 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								d4238a6d91 
								
							 
						 
						
							
							
								
								Add config options for the sound buffer cache size  
							
							... 
							
							
							
							The cache size is specified with a min/max range, intended to avoid constant
unloading once the limit is reached. This way, buffers can be unloaded down to
a reasonable mimimum, allowing some more buffers to be subsequently loaded
without causing more unloading. 
							
						 
						
							2015-11-26 02:13:37 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								b61c0c989f 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'main/master'  
							
							
							
						 
						
							2015-11-26 01:37:50 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								8715add72f 
								
							 
						 
						
							
							
								
								Store sound buffers in a deque that's filled in as needed  
							
							... 
							
							
							
							A deque allows existing Sound_Buffer references to remain valid as long as new
ones are back-inserted. These references can be used instead of indices. 
							
						 
						
							2015-11-26 01:26:33 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									cfcohen 
								
							 
						 
						
							
							
							
							
								
							
							
								046538984c 
								
							 
						 
						
							
							
								
								Fix duplicate filename in what() message.  Use newly create cfgError  
							
							... 
							
							
							
							utility function consistently throughout code. 
							
						 
						
							2015-11-26 01:49:14 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									cfcohen 
								
							 
						 
						
							
							
							
							
								
							
							
								7605912ece 
								
							 
						 
						
							
							
								
								Merge branch 'master' of  https://github.com/OpenMW/openmw  into config_writer_changes  
							
							
							
						 
						
							2015-11-26 00:57:21 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									cfcohen 
								
							 
						 
						
							
							
							
							
								
							
							
								ad5eaaa705 
								
							 
						 
						
							
							
								
								Update the OpenMW Launcher so that it only writes changed values to  
							
							... 
							
							
							
							the user settings.cfg file.  Add a helpful header to the top of new
settings.cfg files.  Remove old code involve whitespace management
that didn't work correctly anayway, and doesn't matter since we're not
adding comments to the file.  Remove "automatically generated"
comments. 
							
						 
						
							2015-11-25 21:30:04 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								46a0863716 
								
							 
						 
						
							
							
								
								Merge pull request  #819  from cfcohen/settings_documentation  
							
							... 
							
							
							
							Settings documentation 
							
						 
						
							2015-11-25 23:54:04 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									cfcohen 
								
							 
						 
						
							
							
							
							
								
							
							
								fa610c447c 
								
							 
						 
						
							
							
								
								Fix typos.  Add "e.g." in places where ranges are only  
							
							... 
							
							
							
							recommmendations.  Add more factual limits where that's easy. 
							
						 
						
							2015-11-25 17:42:10 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									scrawl 
								
							 
						 
						
							
							
							
							
								
							
							
								8a3ec14bc6 
								
							 
						 
						
							
							
								
								Revert "Merge remote-tracking branch 'sandstranger/opengles'"  
							
							... 
							
							
							
							This reverts commit cc9cab6fd1da856eed95 
							
						 
						
							2015-11-25 19:22:48 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Marc Zinnschlag 
								
							 
						 
						
							
							
							
							
								
							
							
								ef68e2aec4 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'origin/master'  
							
							
							
						 
						
							2015-11-25 19:18:17 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									cfcohen 
								
							 
						 
						
							
							
							
							
								
							
							
								67c4b17581 
								
							 
						 
						
							
							
								
								Commit files that I thought wre in the previous commit.  :-[ I'm  
							
							... 
							
							
							
							accustomed to the hg behavior of commiting all modified files by
default. 
							
						 
						
							2015-11-25 13:17:03 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Marc Zinnschlag 
								
							 
						 
						
							
							
							
							
								
							
							
								cc9cab6fd1 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'sandstranger/opengles'  
							
							
							
						 
						
							2015-11-25 19:15:53 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									cfcohen 
								
							 
						 
						
							
							
							
							
								
							
							
								18da95e4f8 
								
							 
						 
						
							
							
								
								Make openmw-launcher pass comments through settings.cfg, and reuse the  
							
							... 
							
							
							
							Settings::Manager code to do most of the work.  Stop loading both the
global settings-default.cfg and the one in the current directory,
while continuing to prefer the latter one.  Cleanup paths slightly and
remove what appears to have been debugging in the launcher settings. 
							
						 
						
							2015-11-25 13:08:53 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									cfcohen 
								
							 
						 
						
							
							
							
							
								
							
							
								ac2eedcb7d 
								
							 
						 
						
							
							
								
								Change wording in warning to be clearer.  Correct ranges on contrast  
							
							... 
							
							
							
							and gamma. 
							
						 
						
							2015-11-25 09:24:38 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								8f08ca9cba 
								
							 
						 
						
							
							
								
								Revert "Avoid unsafe sizeof(x)/sizeof(x[0]) constructs for array counting"  
							
							... 
							
							
							
							This reverts commit 0d4fea896c 
							
						 
						
							2015-11-25 06:06:27 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								04f885d8cc 
								
							 
						 
						
							
							
								
								Rename mReferences to mUses  
							
							
							
						 
						
							2015-11-25 04:24:27 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								0d4fea896c 
								
							 
						 
						
							
							
								
								Avoid unsafe sizeof(x)/sizeof(x[0]) constructs for array counting  
							
							
							
						 
						
							2015-11-25 04:24:27 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								a1bdb544db 
								
							 
						 
						
							
							
								
								Avoid an unnecessary string copy  
							
							
							
						 
						
							2015-11-25 04:24:27 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								aac903484c 
								
							 
						 
						
							
							
								
								Remove a really unnecessary method  
							
							
							
						 
						
							2015-11-25 04:24:26 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								73448c72f6 
								
							 
						 
						
							
							
								
								Replace Play_NoTrack with playManualSound3D, and rename the latter  
							
							
							
						 
						
							2015-11-25 04:24:26 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								caae305ddd 
								
							 
						 
						
							
							
								
								Use a sorted list for unused buffers  
							
							... 
							
							
							
							Helps ensure the buffers being unloaded due to cache limits are not likely to
be needed anytime soon. 
							
						 
						
							2015-11-25 04:24:26 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								669b7a2295 
								
							 
						 
						
							
							
								
								Batch update changes together, when possible  
							
							... 
							
							
							
							Certain OpenAL implementations, including Rapture3D, Creative's hardware
drivers, and more recent versions of OpenAL Soft, can batch together changes so
that they all occur at once, avoiding potential discontinuities with one sound
being changed before another, or the listeenr being changed before sounds are.
On other implementaitons, this is a no-op and maintains existing behavior. 
							
						 
						
							2015-11-25 04:24:26 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								ea70b0baee 
								
							 
						 
						
							
							
								
								Don't store the buffer in the sound struct  
							
							
							
						 
						
							2015-11-25 04:24:25 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								fd7d58fe7e 
								
							 
						 
						
							
							
								
								Reset the sound handle back to null after unloading  
							
							
							
						 
						
							2015-11-25 04:24:25 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								4801661b34 
								
							 
						 
						
							
							
								
								Stop all sounds of the given id  
							
							
							
						 
						
							2015-11-25 04:24:25 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								8a69f676ec 
								
							 
						 
						
							
							
								
								Remove some duplicate code  
							
							
							
						 
						
							2015-11-25 04:24:25 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								45628316f8 
								
							 
						 
						
							
							
								
								Remove an unnecessary check  
							
							
							
						 
						
							2015-11-25 04:24:25 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								574c1923fe 
								
							 
						 
						
							
							
								
								Clear unused buffers after unloading them all  
							
							
							
						 
						
							2015-11-25 04:24:25 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								5ad772c3b3 
								
							 
						 
						
							
							
								
								Fix streaming sound time  
							
							
							
						 
						
							2015-11-25 04:24:25 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								3ce6aee98b 
								
							 
						 
						
							
							
								
								Return a decoder from the loadVoice function  
							
							
							
						 
						
							2015-11-25 04:24:25 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								24f8c78fca 
								
							 
						 
						
							
							
								
								Store sound buffer references by index instead of string  
							
							
							
						 
						
							2015-11-25 04:24:24 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								f7218f5a25 
								
							 
						 
						
							
							
								
								Use proper mutex mechanisms and don't check al errors in the stream thread  
							
							
							
						 
						
							2015-11-25 04:24:24 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								f9e18cd966 
								
							 
						 
						
							
							
								
								Prepare all Sound_Buffer objects when one is needed  
							
							... 
							
							
							
							This simply sets up the Sound record data to be used by the sound output. The
actual audio buffers, stored in the Sound_Handle, are still loaded on-demand. 
							
						 
						
							2015-11-25 04:24:24 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								6c3953766e 
								
							 
						 
						
							
							
								
								Use separate lists for the sound name and its buffer  
							
							... 
							
							
							
							This should make sound lookup a bit more efficient, especially when an integer
ID can be used. 
							
						 
						
							2015-11-25 04:24:24 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								fbfcc4050f 
								
							 
						 
						
							
							
								
								Stream voice clips  
							
							... 
							
							
							
							Voices tend to be a bit long, and not individually replayed often. So it's
better to stream them instead of loading theminto a sound buffer. The loudness
data is very small, though, so that can be kept buffered indefinitely. 
							
						 
						
							2015-11-25 04:24:24 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								eee6a19e31 
								
							 
						 
						
							
							
								
								Add a method to stream sounds in 3D  
							
							
							
						 
						
							2015-11-25 04:24:24 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								f1a1dc8408 
								
							 
						 
						
							
							
								
								Pass relevant sound parameters to the OpenAL_SoundStream constructor  
							
							
							
						 
						
							2015-11-25 04:24:24 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								83721092f2 
								
							 
						 
						
							
							
								
								Refactor the audio streaming code to be a bit saner  
							
							
							
						 
						
							2015-11-25 04:24:23 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								16f72886e9 
								
							 
						 
						
							
							
								
								Use separate lists for openal sounds and streams  
							
							
							
						 
						
							2015-11-25 04:24:23 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								0f33f41d8d 
								
							 
						 
						
							
							
								
								Actually unload sounds when running over  
							
							
							
						 
						
							2015-11-25 04:24:23 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								22a6811425 
								
							 
						 
						
							
							
								
								Limit the sound buffer cache to 15MB  
							
							
							
						 
						
							2015-11-25 04:24:23 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								0b2747098c 
								
							 
						 
						
							
							
								
								Keep track of unused sound buffers  
							
							
							
						 
						
							2015-11-25 04:24:23 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								4073495070 
								
							 
						 
						
							
							
								
								Add some missing sound handling  
							
							
							
						 
						
							2015-11-25 04:24:23 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								e362896817 
								
							 
						 
						
							
							
								
								Combine some duplicate code  
							
							
							
						 
						
							2015-11-25 04:24:23 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								febc7b510a 
								
							 
						 
						
							
							
								
								Remove an unneeded method  
							
							
							
						 
						
							2015-11-25 04:24:23 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								3fdc3c4ea9 
								
							 
						 
						
							
							
								
								Use a separate map for say sounds  
							
							... 
							
							
							
							Also restores lip movement 
							
						 
						
							2015-11-25 04:24:22 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Robinson 
								
							 
						 
						
							
							
							
							
								
							
							
								9d0018e1bc 
								
							 
						 
						
							
							
								
								Reorder active sound data to make lookup by Ptr better  
							
							
							
						 
						
							2015-11-25 04:24:22 -08:00