| 
									
										
										
										
											2014-09-14 17:52:51 +01:00
										 |  |  | // Copyright 2014 Dolphin Emulator Project
 | 
					
						
							| 
									
										
										
										
											2015-05-18 01:08:10 +02:00
										 |  |  | // Licensed under GPLv2+
 | 
					
						
							| 
									
										
										
										
											2014-09-14 17:52:51 +01:00
										 |  |  | // Refer to the license.txt file included.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-09-17 02:04:37 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-09-14 17:52:51 +01:00
										 |  |  | #include "VideoBackends/Software/Clipper.h"
 | 
					
						
							|  |  |  | #include "VideoBackends/Software/Rasterizer.h"
 | 
					
						
							| 
									
										
										
										
											2014-09-17 02:04:37 +01:00
										 |  |  | #include "VideoBackends/Software/SetupUnit.h"
 | 
					
						
							|  |  |  | #include "VideoBackends/Software/TransformUnit.h"
 | 
					
						
							| 
									
										
										
										
											2014-09-14 17:52:51 +01:00
										 |  |  | #include "VideoCommon/BoundingBox.h"
 | 
					
						
							| 
									
										
										
										
											2014-09-17 02:04:37 +01:00
										 |  |  | #include "VideoCommon/PixelShaderManager.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-09-14 17:52:51 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | namespace BoundingBox | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // External vars
 | 
					
						
							|  |  |  | bool active = false; | 
					
						
							|  |  |  | u16 coords[4] = { 0x80, 0xA0, 0x80, 0xA0 }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Save state
 | 
					
						
							|  |  |  | void DoState(PointerWrap &p) | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | 	p.Do(active); | 
					
						
							|  |  |  | 	p.Do(coords); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | } // namespace BoundingBox
 |