2013-04-17 23:43:35 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								// Copyright 2013 Dolphin Emulator Project
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								// Licensed under GPLv2
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								// Refer to the license.txt file included.
 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-09-07 23:02:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# include  "CommonPaths.h" 
 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# include  "PHackSettings.h" 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# include  "ConfigManager.h" 
 
							 
						 
					
						
							
								
									
										
										
										
											2013-02-27 22:37:38 -06:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# include  "WxUtils.h" 
 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								extern  PHackData  PHack_Data ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								BEGIN_EVENT_TABLE ( CPHackSettings ,  wxDialog ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									EVT_CHOICE ( ID_PHACK_CHOICE ,  CPHackSettings : : SetRefresh ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									EVT_BUTTON ( wxID_OK ,  CPHackSettings : : SavePHackData ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								END_EVENT_TABLE ( ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CPHackSettings : : CPHackSettings ( wxWindow *  parent ,  wxWindowID  id ,  const  wxString &  title ,  const  wxPoint &  position ,  const  wxSize &  size ,  long  style ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									:  wxDialog ( parent ,  id ,  title ,  position ,  size ,  style ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									CreateGUIControls ( ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									std : : string  _iniFilename ; 
							 
						 
					
						
							
								
									
										
										
										
											2013-09-07 23:02:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									_iniFilename  =  File : : GetSysDirectory ( )  +  GAMESETTINGS_DIR  DIR_SEP  " PH_PRESETS.ini " ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									PHPresetsIni . Load ( _iniFilename . c_str ( ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2013-09-07 23:02:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									PHPresetsIni . SortSections ( ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									LoadPHackData ( ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CPHackSettings : : ~ CPHackSettings ( ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								void  CPHackSettings : : CreateGUIControls ( ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{ 
							 
						 
					
						
							
								
									
										
										
										
											2011-03-17 04:26:01 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									wxStaticText  * PHackChoiceText  =  new  wxStaticText ( this ,  wxID_ANY ,  _ ( " Presets:  " ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-05-31 19:58:15 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									PHackChoice  =  new  wxChoice ( this ,  ID_PHACK_CHOICE ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									PHackChoice - > SetToolTip ( _ ( " Load preset values from hack patterns available. " ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-03-17 04:26:01 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									wxStaticText  * PHackZNearText  =  new  wxStaticText ( this ,  wxID_ANY ,  _ ( " zNear Correction:  " ) ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									PHackZNear  =  new  wxTextCtrl ( this ,  ID_PHACK_ZNEAR ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									PHackZNear - > SetToolTip ( _ ( " Adds the specified value to zNear Parameter. \n Two ways to express the floating point values. \n Example: entering ' \' 200' \'  or ' \' 0.0002' \'  directly, it produces equal effects, the acquired value will be ' \' 0.0002' \' . \n Values: (0->+/-Integer) or (0->+/-FP[6 digits of precision]) \n \n NOTE: Check LogWindow/Console for the acquired values. " ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-03-17 04:26:01 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									PHackSZNear  =  new  wxCheckBox ( this ,  ID_PHACK_SZNEAR ,  _ ( " (-)+zNear " ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									PHackSZNear - > SetToolTip ( _ ( " Changes sign to zNear Parameter (after correction) " ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-03-17 04:26:01 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									wxStaticText  * PHackZFarText  =  new  wxStaticText ( this ,  wxID_ANY ,  _ ( " zFar Correction:  " ) ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									PHackZFar  =  new  wxTextCtrl ( this ,  ID_PHACK_ZFAR ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									PHackZFar - > SetToolTip ( _ ( " Adds the specified value to zFar Parameter. \n Two ways to express the floating point values. \n Example: entering ' \' 200' \'  or ' \' 0.0002' \'  directly, it produces equal effects, the acquired value will be ' \' 0.0002' \' . \n Values: (0->+/-Integer) or (0->+/-FP[6 digits of precision]) \n \n NOTE: Check LogWindow/Console for the acquired values. " ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-03-17 04:26:01 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									PHackSZFar  =  new  wxCheckBox ( this ,  ID_PHACK_SZFAR ,  _ ( " (-)+zFar " ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									PHackSZFar - > SetToolTip ( _ ( " Changes sign to zFar Parameter (after correction) " ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-03-17 04:26:01 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									PHackExP  =  new  wxCheckBox ( this ,  ID_PHACK_EXP ,  _ ( " Extra Parameter " ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									PHackExP - > SetToolTip ( _ ( " Extra Parameter useful in ' \' Metroid: Other M' \'  only. " ) ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									wxStaticBoxSizer  * sbPHackSettings  =  new  wxStaticBoxSizer ( wxVERTICAL ,  this ,  _ ( " Parameters " ) ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									wxFlexGridSizer  * szrPHackSettings  =  new  wxFlexGridSizer ( 3 ,  5 ,  5 ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									sbPHackSettings - > Add ( szrPHackSettings ,  0 ,  wxEXPAND | wxLEFT | wxTOP ,  5 ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									szrPHackSettings - > Add ( PHackZNearText ,  0 ,  wxALIGN_CENTER_VERTICAL ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									szrPHackSettings - > Add ( PHackZNear ,  1 ,  wxEXPAND ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									szrPHackSettings - > Add ( PHackSZNear ,  0 ,  wxEXPAND | wxLEFT ,  5 ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									szrPHackSettings - > Add ( PHackZFarText ,  0 ,  wxALIGN_CENTER_VERTICAL ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									szrPHackSettings - > Add ( PHackZFar ,  1 ,  wxEXPAND ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									szrPHackSettings - > Add ( PHackSZFar ,  0 ,  wxEXPAND | wxLEFT ,  5 ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									szrPHackSettings - > Add ( PHackExP ,  0 ,  wxEXPAND | wxTOP | wxBOTTOM ,  5 ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									wxBoxSizer *  sPHack  =  new  wxBoxSizer ( wxVERTICAL ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									sPHack - > Add ( PHackChoiceText ,  0 ,  wxEXPAND | wxLEFT | wxRIGHT | wxTOP ,  5 ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									sPHack - > Add ( PHackChoice ,  0 ,  wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM ,  5 ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									sPHack - > Add ( sbPHackSettings ,  0 ,  wxEXPAND | wxALL ,  5 ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-03-17 04:26:01 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									sPHack - > Add ( CreateButtonSizer ( wxOK  |  wxCANCEL ) ,  0 ,  wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM ,  5 ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									SetSizerAndFit ( sPHack ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-03-17 04:26:01 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									SetFocus ( ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								void  CPHackSettings : : LoadPHackData ( ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									std : : string  sTemp ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									char  sIndex [ 15 ] ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									PHackChoice - > Clear ( ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									PHackChoice - > Append ( _ ( " [Custom] " ) ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									for  ( int  i = 0  ;   ;  i + + ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									{ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										sprintf ( sIndex , " %d " , i ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										if  ( ! PHPresetsIni . Exists ( sIndex ,  " Title " ) ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
											break ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										PHPresetsIni . Get ( sIndex ,  " Title " ,  & sTemp ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										if  ( sTemp . empty ( ) ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
											sTemp  =  wxString ( _ ( " (UNKNOWN) " ) ) . char_str ( ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										if  ( i  = =  0 ) 
							 
						 
					
						
							
								
									
										
										
										
											2013-02-27 22:37:38 -06:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
											PHackChoice - > Append ( StrToWxStr ( " ------------- " ) ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										PHackChoice - > Append ( StrToWxStr ( sTemp ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									PHackChoice - > Select ( 0 ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									PHackSZNear - > Set3StateValue ( ( wxCheckBoxState ) PHack_Data . PHackSZNear ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									PHackSZFar - > Set3StateValue ( ( wxCheckBoxState ) PHack_Data . PHackSZFar ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									PHackExP - > Set3StateValue ( ( wxCheckBoxState ) PHack_Data . PHackExP ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-02-27 22:37:38 -06:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									PHackZNear - > SetValue ( StrToWxStr ( PHack_Data . PHZNear ) ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									PHackZFar - > SetValue ( StrToWxStr ( PHack_Data . PHZFar ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								void  CPHackSettings : : SetRefresh ( wxCommandEvent &  event ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									bool  bTemp ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									std : : string  sTemp ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									char  sIndex [ 15 ] ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									int  index  =  event . GetSelection ( ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									if  ( index  >  1 ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									{ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										index  - =  2 ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										sprintf ( sIndex , " %d " ,  index ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										PHPresetsIni . Get ( sIndex ,  " PH_SZNear " ,  & bTemp ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										PHackSZNear - > Set3StateValue ( ( wxCheckBoxState ) bTemp ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										PHPresetsIni . Get ( sIndex ,  " PH_SZFar " ,  & bTemp ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										PHackSZFar - > Set3StateValue ( ( wxCheckBoxState ) bTemp ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										PHPresetsIni . Get ( sIndex ,  " PH_ExtraParam " ,  & bTemp ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										PHackExP - > Set3StateValue ( ( wxCheckBoxState ) bTemp ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										PHPresetsIni . Get ( sIndex ,  " PH_ZNear " ,  & sTemp ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2013-02-27 22:37:38 -06:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
										PHackZNear - > SetValue ( StrToWxStr ( sTemp ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
										PHPresetsIni . Get ( sIndex ,  " PH_ZFar " ,  & sTemp ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2013-02-27 22:37:38 -06:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
										PHackZFar - > SetValue ( StrToWxStr ( sTemp ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2011-03-17 04:26:01 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								void  CPHackSettings : : SavePHackData ( wxCommandEvent &  event ) 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									PHack_Data . PHackSZNear  =  PHackSZNear - > GetValue ( ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									PHack_Data . PHackSZFar  =  PHackSZFar - > GetValue ( ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									PHack_Data . PHackExP  =  PHackExP - > GetValue ( ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									PHack_Data . PHZNear  =  PHackZNear - > GetValue ( ) . char_str ( ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									PHack_Data . PHZFar  =  PHackZFar - > GetValue ( ) . char_str ( ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									AcceptAndClose ( ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-03-17 04:26:01 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									event . Skip ( ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2011-02-03 21:11:06 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								}