blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
146
content_id
stringlengths
40
40
detected_licenses
sequencelengths
0
7
license_type
stringclasses
2 values
repo_name
stringlengths
6
79
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
4 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
5.07k
426M
star_events_count
int64
0
27
fork_events_count
int64
0
12
gha_license_id
stringclasses
3 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
6 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
20
6.28M
extension
stringclasses
20 values
content
stringlengths
20
6.28M
authors
sequencelengths
1
16
author_lines
sequencelengths
1
16
a4101e9ddd6e6c57339a72de808c10e8f121fcfe
38926bfe477f933a307f51376dd3c356e7893ffc
/Source/SDKs/STLPORT/stlport/stl/_tempbuf.h
0f3cda35b5fd4cfbed5044797cf6036a4e7ff8a0
[ "LicenseRef-scancode-stlport-4.5" ]
permissive
richmondx/dead6
b0e9dd94a0ebb297c0c6e9c4f24c6482ef4d5161
955f76f35d94ed5f991871407f3d3ad83f06a530
refs/heads/master
2021-12-05T14:32:01.782047
2008-01-01T13:13:39
2008-01-01T13:13:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,832
h
/* * * Copyright (c) 1994 * Hewlett-Packard Company * * Copyright (c) 1996,1997 * Silicon Graphics Computer Systems, Inc. * * Copyright (c) 1997 * Moscow Center for SPARC Technology * * Copyright (c) 1999 * Boris Fomitchev * * This material is provided "as is", with absolutely no warranty expressed * or implied. Any use is at your own risk. * * Permission to use or copy this software for any purpose is hereby granted * without fee, provided the above notices are retained on all copies. * Permission to modify the code and to distribute modified code is granted, * provided the above notices are retained, and a notice that the code was * modified is included with the above copyright notice. * */ /* NOTE: This is an internal header file, included by other STL headers. * You should not attempt to use it directly. */ #ifndef _STLP_INTERNAL_TEMPBUF_H #define _STLP_INTERNAL_TEMPBUF_H #ifndef _STLP_CLIMITS # include <climits> #endif #ifndef _STLP_CSTDLIB # include <cstdlib> #endif #ifndef _STLP_INTERNAL_UNINITIALIZED_H # include <stl/_uninitialized.h> #endif _STLP_BEGIN_NAMESPACE template <class _Tp> pair<_Tp*, ptrdiff_t> _STLP_CALL __get_temporary_buffer(ptrdiff_t __len, _Tp*); #ifndef _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS template <class _Tp> inline pair<_Tp*, ptrdiff_t> _STLP_CALL get_temporary_buffer(ptrdiff_t __len) { return __get_temporary_buffer(__len, (_Tp*) 0); } # if ! defined(_STLP_NO_EXTENSIONS) // This overload is not required by the standard; it is an extension. // It is supported for backward compatibility with the HP STL, and // because not all compilers support the language feature (explicit // function template arguments) that is required for the standard // version of get_temporary_buffer. template <class _Tp> inline pair<_Tp*, ptrdiff_t> _STLP_CALL get_temporary_buffer(ptrdiff_t __len, _Tp*) { return __get_temporary_buffer(__len, (_Tp*) 0); } # endif #endif template <class _Tp> inline void _STLP_CALL return_temporary_buffer(_Tp* __p) { // SunPro brain damage free((char*)__p); } template <class _ForwardIterator, class _Tp> class _Temporary_buffer { private: ptrdiff_t _M_original_len; ptrdiff_t _M_len; _Tp* _M_buffer; void _M_allocate_buffer() { _M_original_len = _M_len; _M_buffer = 0; if (_M_len > (ptrdiff_t)(INT_MAX / sizeof(_Tp))) _M_len = INT_MAX / sizeof(_Tp); while (_M_len > 0) { _M_buffer = (_Tp*) malloc(_M_len * sizeof(_Tp)); if (_M_buffer) break; _M_len /= 2; } } void _M_initialize_buffer(const _Tp&, const __true_type&) {} void _M_initialize_buffer(const _Tp& val, const __false_type&) { uninitialized_fill_n(_M_buffer, _M_len, val); } public: ptrdiff_t size() const { return _M_len; } ptrdiff_t requested_size() const { return _M_original_len; } _Tp* begin() { return _M_buffer; } _Tp* end() { return _M_buffer + _M_len; } _Temporary_buffer(_ForwardIterator __first, _ForwardIterator __last) { // Workaround for a __type_traits bug in the pre-7.3 compiler. # if defined(__sgi) && !defined(__GNUC__) && _COMPILER_VERSION < 730 typedef typename __type_traits<_Tp>::is_POD_type _Trivial; # else typedef typename __type_traits<_Tp>::has_trivial_default_constructor _Trivial; # endif _STLP_TRY { _M_len = distance(__first, __last); _M_allocate_buffer(); if (_M_len > 0) _M_initialize_buffer(*__first, _Trivial()); } _STLP_UNWIND(free(_M_buffer); _M_buffer = 0; _M_len = 0) } ~_Temporary_buffer() { _STLP_STD::_Destroy_Range(_M_buffer, _M_buffer + _M_len); free(_M_buffer); } private: // Disable copy constructor and assignment operator. _Temporary_buffer(const _Temporary_buffer<_ForwardIterator, _Tp>&) {} void operator=(const _Temporary_buffer<_ForwardIterator, _Tp>&) {} }; # ifndef _STLP_NO_EXTENSIONS // Class temporary_buffer is not part of the standard. It is an extension. template <class _ForwardIterator, class _Tp #ifdef _STLP_CLASS_PARTIAL_SPECIALIZATION = typename iterator_traits<_ForwardIterator>::value_type #endif /* _STLP_CLASS_PARTIAL_SPECIALIZATION */ > struct temporary_buffer : public _Temporary_buffer<_ForwardIterator, _Tp> { temporary_buffer(_ForwardIterator __first, _ForwardIterator __last) : _Temporary_buffer<_ForwardIterator, _Tp>(__first, __last) {} ~temporary_buffer() {} }; # endif /* _STLP_NO_EXTENSIONS */ _STLP_END_NAMESPACE # ifndef _STLP_LINK_TIME_INSTANTIATION # include <stl/_tempbuf.c> # endif #endif /* _STLP_INTERNAL_TEMPBUF_H */ // Local Variables: // mode:C++ // End:
[ [ [ 1, 167 ] ] ]
6641dfadad7f3ae0295db96fbc1d46957b210980
28aa23d9cb8f5f4e8c2239c70ef0f8f6ec6d17bc
/mytesgnikrow --username hotga2801/DoAnBaoMat/Chat_Client/Crytography.cpp
81d2cfc4576712ad78fef4cfe93d7e4a679d0dc4
[]
no_license
taicent/mytesgnikrow
09aed8836e1297a24bef0f18dadd9e9a78ec8e8b
9264faa662454484ade7137ee8a0794e00bf762f
refs/heads/master
2020-04-06T04:25:30.075548
2011-02-17T13:37:16
2011-02-17T13:37:16
34,991,750
0
0
null
null
null
null
UTF-8
C++
false
false
3,442
cpp
#include "stdafx.h" #include "Crytography.h" Crytography::~Crytography(void) { } CString Crytography ::Encrypt(CString mes) { CString m_cipher; unsigned long length = mes.GetLength() +1; unsigned char * cipherBlock = (unsigned char*)malloc(length); memset(cipherBlock, 0, length); memcpy(cipherBlock, mes, length -1); if (!CryptEncrypt(hKey, 0, TRUE, 0, cipherBlock, &length, length)) { //dwResult = GetLastError(); AfxMessageBox("Error CryptEncrypt() failed.", MB_OK); return ""; } m_cipher = cipherBlock; //m_clear = ""; free(cipherBlock); // return m_cipher; } void Crytography:: init() { hProv = 0; hKey = 0; hXchgKey = 0; hHash = 0; //status = FALSE; //_szPassword; //_szPassword = "khoa"; CString Loi=""; if(!CryptAcquireContext(&hProv, NULL, MS_ENHANCED_PROV, PROV_RSA_FULL, 0)) { // printf("Error %x during CryptAcquireContext!\n", GetLastError()); AfxMessageBox("Error during CryptAcquireContext!",MB_OK); return; } if(!CryptCreateHash(hProv, CALG_MD5, 0, 0, &hHash)) { // printf("Error %x during CryptCreateHash!\n", GetLastError()); //MessageBox("Error %x during CryptCreateHash!\n"+GetLastError()); AfxMessageBox("Error during CryptCreateHash!",MB_OK); return; //goto done; } // Hash in the password data. if(!CryptHashData(hHash, (const unsigned char *)_szPassword, (DWORD)strlen(_szPassword), 0)) { //MessageBox("Error %x during CryptHashData!\n"+GetLastError()); AfxMessageBox("Error during CryptHashData!",MB_OK); return; //printf("Error %x during CryptHashData!\n", GetLastError()); //goto done; } // Derive a session key from the hash object. if(_typeOfCrytography=="RC2") { if(!CryptDeriveKey(hProv, ENCRYPT_ALGORITHM1, hHash, KEYLENGTH, &hKey)) { //MessageBox("Error %x during CryptDeriveKey!\n"+GetLastError()); AfxMessageBox("Error during CryptDeriveKey!",MB_OK); return; // printf("Error %x during CryptDeriveKey!\n", GetLastError()); // goto done; } } else//RC4 { if(!CryptDeriveKey(hProv, ENCRYPT_ALGORITHM2, hHash, KEYLENGTH, &hKey)) { //MessageBox("Error %x during CryptDeriveKey!\n"+GetLastError()); AfxMessageBox("Error during CryptDeriveKey!",MB_OK); return; // printf("Error %x during CryptDeriveKey!\n", GetLastError()); // goto done; } } // Destroy the hash object. CryptDestroyHash(hHash); hHash = 0; } CString Crytography ::Decrypt(CString mes) { // CString m_clear; unsigned long length = mes.GetLength() +1; unsigned char * cipherBlock = (unsigned char*)malloc(length); memset(cipherBlock, 0, length); memcpy(cipherBlock, mes, length -1); if (!CryptDecrypt(hKey, 0, TRUE, 0, cipherBlock, &length)) { //dwResult = GetLastError(); AfxMessageBox("Error CryptDecrypt() failed.", MB_OK); return ""; } m_clear = cipherBlock; //m_clear = ""; free(cipherBlock); // return m_clear; } CString Crytography ::outputString(CString str , int toDo ){ this->init(); switch (toDo) { case ENCRYPT: return this->Encrypt(str);// Tra ve chuoi ma hoa break; case DECRYPT: return this->Decrypt(str);//Tra ve chuoi giai ma break; } }
[ "hotga2801@ecd9aaca-b8df-3bf4-dfa7-576663c5f076" ]
[ [ [ 1, 131 ] ] ]
156274cd9ebd35f9a2942dfffb1d3af1890bbc35
709cd826da3ae55945fd7036ecf872ee7cdbd82a
/Term/Bowling/trunk/Source/LethalBowling/RayTraceSetup2.h
8b834eb403de04ebce90c79d551e3604ac126e58
[]
no_license
argapratama/kucgbowling
20dbaefe1596358156691e81ccceb9151b15efb0
65e40b6f33c5511bddf0fa350c1eefc647ace48a
refs/heads/master
2018-01-08T15:27:44.784437
2011-06-19T15:23:39
2011-06-19T15:23:39
36,738,655
0
0
null
null
null
null
UTF-8
C++
false
false
1,346
h
/* * * RayTrace Software Package, release 3.0. May 3, 2006. * * Author: Samuel R. Buss * * Software accompanying the book * 3D Computer Graphics: A Mathematical Introduction with OpenGL, * by S. Buss, Cambridge University Press, 2003. * * Software is "as-is" and carries no warranty. It may be used without * restriction, but if you modify it, please change the filenames to * prevent confusion between different versions. Please acknowledge * all use of the software in any publications or products based on it. * * Bug reports: Sam Buss, [email protected]. * Web page: http://math.ucsd.edu/~sbuss/MathCG * */ class VectorR3; class Light; class Material; class ViewableBase; class CameraView; class SceneDescription; // Camera and camera information extern double Cpos[3]; // Position of camera extern double Cdir[3]; // Direction of camera extern double Cdist; // Distance to "screen" extern double Cdims[2]; // Width & height of "screen" // Here are the arrays that hold information about the scene extern SceneDescription TheScene2; // Routines that load the data into the scene description: void SetUpScene2(); void SetUpMainView(); void SetUpMaterials(); void SetUpLights( SceneDescription& scene ); void SetUpViewableObjects(); void SetUpViewableObjects2();
[ [ [ 1, 45 ] ] ]
ff8888b379ec2d37a8a36cb94f2af019a875f23c
b22c254d7670522ec2caa61c998f8741b1da9388
/physXtest/UserAllocator.h
afc94cdabee2aaf54399328c16601cca79716803
[]
no_license
ldaehler/lbanet
341ddc4b62ef2df0a167caff46c2075fdfc85f5c
ecb54fc6fd691f1be3bae03681e355a225f92418
refs/heads/master
2021-01-23T13:17:19.963262
2011-03-22T21:49:52
2011-03-22T21:49:52
39,529,945
0
1
null
null
null
null
UTF-8
C++
false
false
877
h
#ifndef USERALLOCATOR_H #define USERALLOCATOR_H #include "SampleMutex_WIN.h" class UserAllocator : public NxUserAllocator { public: UserAllocator(); virtual ~UserAllocator(); void reset(); void* malloc(size_t size); void* malloc(size_t size, NxMemoryType type); void* mallocDEBUG(size_t size, const char* file, int line); void* mallocDEBUG(size_t size, const char* file, int line, const char* className, NxMemoryType type); void* realloc(void* memory, size_t size); void free(void* memory); size_t* mMemBlockList; NxU32 mMemBlockListSize; NxU32 mMemBlockFirstFree; NxU32 mMemBlockUsed; NxI32 mNbAllocatedBytes; NxI32 mHighWaterMark; NxI32 mTotalNbAllocs; NxI32 mNbAllocs; NxI32 mNbReallocs; SampleMutex mAllocatorLock; }; #endif
[ "vdelage@3806491c-8dad-11de-9a8c-6d5b7d1e4d13" ]
[ [ [ 1, 36 ] ] ]
cc46adbbddc0d30f0d9c0ac6541108aafee955fb
a6f42311df3830117e9590e446b105db78fdbd3a
/src/framework/gui/Window.hpp
4386fce6b57184b359ba1899e1e22aac488d6762
[]
no_license
wellsoftware/temporal-lightfield-reconstruction
a4009b9da01b93d6d77a4d0d6830c49e0d4e225f
8d0988b5660ba0e53d65e887a51e220dcbc985ca
refs/heads/master
2021-01-17T23:49:05.544012
2011-09-25T10:47:49
2011-09-25T10:47:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,902
hpp
/* * Copyright (c) 2009-2011, NVIDIA Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of NVIDIA Corporation nor the * names of its contributors may be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #pragma once #include "base/Array.hpp" #include "base/String.hpp" #include "base/Math.hpp" #include "base/Hash.hpp" #include "gui/Keys.hpp" #include "base/DLLImports.hpp" #include "gpu/GLContext.hpp" namespace FW { //------------------------------------------------------------------------ class Window { public: //------------------------------------------------------------------------ enum EventType { EventType_AddListener, /* Listener has been added to a window. */ EventType_RemoveListener, /* Listener has been removed from a window. */ EventType_Close, /* User has tried to close the window. */ EventType_Resize, /* The window has been resized. */ EventType_KeyDown, /* User has pressed a key (or mouse button). */ EventType_KeyUp, /* User has released a key (or mouse button). */ EventType_Char, /* User has typed a character. */ EventType_Mouse, /* User has moved the mouse. */ EventType_Paint, /* Window contents need to be painted. */ EventType_PrePaint, /* Before processing EventType_Paint. */ EventType_PostPaint, /* After processing EventType_Paint. */ }; //------------------------------------------------------------------------ struct Event { EventType type; String key; /* Empty unless EventType_KeyDown or EventType_KeyUp. */ S32 keyUnicode; /* 0 unless EventType_KeyDown or EventType_KeyUp or if special key. */ S32 chr; /* Zero unless EventType_Text. */ bool mouseKnown; /* Unchanged unless EventType_Mouse. */ Vec2i mousePos; /* Unchanged unless EventType_Mouse. */ Vec2i mouseDelta; /* Zero unless EventType_Mouse. */ bool mouseDragging; /* One or more mouse buttons are down. */ Window* window; }; //------------------------------------------------------------------------ class Listener { public: Listener (void) {} virtual ~Listener (void) {} virtual bool handleEvent (const Event& ev) = 0; }; //------------------------------------------------------------------------ public: Window (void); ~Window (void); void setTitle (const String& title); void setSize (const Vec2i& size); Vec2i getSize (void) const; void setVisible (bool visible); bool isVisible (void) const { return m_isVisible; } void setFullScreen (bool isFull); bool isFullScreen (void) const { return m_isFullScreen; } void toggleFullScreen (void) { setFullScreen(!isFullScreen()); } void realize (void); void setGLConfig (const GLContext::Config& config); const GLContext::Config& getGLConfig (void) const { return m_glConfig; } GLContext* getGL (void); // also makes the context current void repaint (void); void repaintNow (void); void requestClose (void); void addListener (Listener* listener); void removeListener (Listener* listener); void removeListeners (void); bool isKeyDown (const String& key) const { return m_keysDown.contains(key); } bool isMouseKnown (void) const { return m_mouseKnown; } bool isMouseDragging (void) const { return (m_mouseDragCount != 0); } const Vec2i& getMousePos (void) const { return m_mousePos; } void showMessageDialog (const String& title, const String& text); String showFileDialog (const String& title, bool save, const String& filters = "", const String& initialDir = "", bool forceInitialDir = false); // filters = "ext:Title,foo;bar:Title" String showFileLoadDialog (const String& title, const String& filters = "", const String& initialDir = "", bool forceInitialDir = false) { return showFileDialog(title, false, filters, initialDir, forceInitialDir); } String showFileSaveDialog (const String& title, const String& filters = "", const String& initialDir = "", bool forceInitialDir = false) { return showFileDialog(title, true, filters, initialDir, forceInitialDir); } void showModalMessage (const String& msg); static void staticInit (void); static void staticDeinit (void); static HWND createHWND (void); static UPTR setWindowLong (HWND hwnd, int idx, UPTR value); static int getNumOpen (void) { return (s_inited) ? s_open->getSize() : 0; } static void realizeAll (void); static void pollMessages (void); private: Event createSimpleEvent (EventType type) { return createGenericEvent(type, "", 0, m_mouseKnown, m_mousePos); } Event createKeyEvent (bool down, const String& key) { return createGenericEvent((down) ? EventType_KeyDown : EventType_KeyUp, key, 0, m_mouseKnown, m_mousePos); } Event createCharEvent (S32 chr) { return createGenericEvent(EventType_Char, "", chr, m_mouseKnown, m_mousePos); } Event createMouseEvent (bool mouseKnown, const Vec2i& mousePos) { return createGenericEvent(EventType_Mouse, "", 0, mouseKnown, mousePos); } Event createGenericEvent (EventType type, const String& key, S32 chr, bool mouseKnown, const Vec2i& mousePos); void postEvent (const Event& ev); void create (void); void destroy (void); void recreate (void); static LRESULT CALLBACK staticWindowProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); LRESULT windowProc (UINT uMsg, WPARAM wParam, LPARAM lParam); private: Window (const Window&); // forbidden Window& operator= (const Window&); // forbidden private: static bool s_inited; static Array<Window*>* s_open; static bool s_ignoreRepaint; // Prevents re-entering repaintNow() on Win32 or OpenGL failure. HWND m_hwnd; HDC m_hdc; GLContext::Config m_glConfig; bool m_glConfigDirty; GLContext* m_gl; bool m_isRealized; bool m_isVisible; Array<Listener*> m_listeners; String m_title; bool m_isFullScreen; Vec2i m_pendingSize; DWORD m_origStyle; RECT m_origRect; Set<String> m_keysDown; bool m_pendingKeyFlush; bool m_mouseKnown; Vec2i m_mousePos; S32 m_mouseDragCount; S32 m_mouseWheelAcc; Vec2i m_prevSize; }; //------------------------------------------------------------------------ }
[ [ [ 1, 191 ] ] ]
95c0b17848e65587443cc48e3cccb7793168da40
89d2197ed4531892f005d7ee3804774202b1cb8d
/GWEN/src/Controls/Text.cpp
4453688f6e3edd248698d6347ea7da96425e9c22
[ "MIT", "Zlib" ]
permissive
hpidcock/gbsfml
ef8172b6c62b1c17d71d59aec9a7ff2da0131d23
e3aa990dff8c6b95aef92bab3e94affb978409f2
refs/heads/master
2020-05-30T15:01:19.182234
2010-09-29T06:53:53
2010-09-29T06:53:53
35,650,825
0
0
null
null
null
null
UTF-8
C++
false
false
2,195
cpp
/* GWEN Copyright (c) 2010 Facepunch Studios See license in Gwen.h */ #include "stdafx.h" #include "Gwen/Gwen.h" #include "Gwen/Controls/Text.h" #include "Gwen/Skin.h" #include "Gwen/Utility.h" using namespace Gwen; using namespace Gwen::ControlsInternal; GWEN_CONTROL_CONSTRUCTOR( Text ) { m_Font = NULL; m_Color = Gwen::Colors::Black; // TODO: From skin somehow.. SetMouseInputEnabled( false ); } Text::~Text() { // NOTE: This font doesn't need to be released // Because it's a pointer to another font somewhere. } void Text::RefreshSize() { if ( !GetFont() ) { Debug::AssertCheck( 0, "Text::RefreshSize() - No Font!!\n" ); return; } Point p( 1, GetFont()->size ); if ( Length() > 0 ) { p = GetSkin()->GetRender()->MeasureText( GetFont(), m_String ); } if ( p.x == Width() && p.y == Height() ) return; SetSize( p.x, p.y ); InvalidateParent(); Invalidate(); } Gwen::Font* Text::GetFont() { return m_Font; } void Text::SetString( const UnicodeString& str ){ m_String = str; Invalidate(); } void Text::SetString( const String& str ){ SetString( Gwen::Utility::StringToUnicode( str ) ); } void Text::Render( Skin::Base* skin ) { if ( Length() == 0 || !GetFont() ) return; skin->GetRender()->SetDrawColor( m_Color ); skin->GetRender()->RenderText( GetFont(), Gwen::Point( 0, 0 ), m_String ); } void Text::Layout( Skin::Base* skin ) { RefreshSize(); } Point Text::GetCharacterPosition( int iChar ) { if ( Length() == 0 || iChar == 0 ) { return Point( 1, 0 ); } UnicodeString sub = m_String.substr( 0, iChar ); Point p = GetSkin()->GetRender()->MeasureText( GetFont(), sub ); if ( p.y >= m_Font->size ) p.y -= m_Font->size; return p; } int Text::GetClosestCharacter( Point p ) { int iDistance = 4096; int iChar = 0; for ( int i=0; i<m_String.length()+1; i++ ) { Point cp = GetCharacterPosition( i ); int iDist = abs(cp.x - p.x) + abs(cp.y - p.y); // this isn't proper if ( iDist > iDistance ) continue; iDistance = iDist; iChar = i; } return iChar; } void Text::OnScaleChanged() { Invalidate(); }
[ "haza55@5bf3a77f-ad06-ad18-b9fb-7d0f6dabd793" ]
[ [ [ 1, 114 ] ] ]
9b709ef03e3f48876ad897f9c632056ec090dc37
8f9358761aca3ef7c1069175ec1d18f009b81a61
/CPP/xCalc/src/main/mainwindow.h
25511c7fe4550a711e826323a83fa830a78b08c1
[]
no_license
porfirioribeiro/resplacecode
681d04151558445ed51c3c11f0ec9b7c626eba25
c4c68ee40c0182bd7ce07a4c059300a0dfd62df4
refs/heads/master
2021-01-19T10:02:34.527605
2009-10-23T10:14:15
2009-10-23T10:14:15
32,256,450
0
0
null
null
null
null
UTF-8
C++
false
false
984
h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QtGui> namespace Panels{ class Calc; class Tax; } namespace Ui{ class MainWindow ; } class MainWindow : public QMainWindow { Q_OBJECT //Q_DISABLE_COPY(MainWindow) public: QSystemTrayIcon *trayIcon; QMenu *trayIconMenu; QSettings settings; explicit MainWindow(QWidget *parent = 0); virtual ~MainWindow(); Ui::MainWindow *ui; Panels::Calc *calcPanel; Panels::Tax *taxPanel; protected: virtual void changeEvent(QEvent *e); void closeEvent(QCloseEvent *event); public slots: void handleSingleInstanceMessage(const QString& message); void setAllwaysOnTop(bool); //actions void openDrawer(); void quit(); void restoreWindow(); //tray void on_trayIcon_activated(QSystemTrayIcon::ActivationReason reason); void on_trayIcon_messageClicked(); }; #include "ui_mainwindow.h" #endif // MAINWINDOW_H
[ "porfirioribeiro@fe5bbf2e-9c30-0410-a8ad-a51b5c886b2f" ]
[ [ [ 1, 44 ] ] ]
53c0ae8ddf5c5120b6c9be2c8fc58ab8d044e971
222bc22cb0330b694d2c3b0f4b866d726fd29c72
/src/nv38box/Common/PBuffer.cpp
17562aa1f96b9ac403078079e758806bb3f50f83
[ "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-unknown-license-reference" ]
permissive
darwin/inferno
02acd3d05ca4c092aa4006b028a843ac04b551b1
e87017763abae0cfe09d47987f5f6ac37c4f073d
refs/heads/master
2021-03-12T22:15:47.889580
2009-04-17T13:29:39
2009-04-17T13:29:39
178,477
2
0
null
null
null
null
WINDOWS-1252
C++
false
false
505
cpp
// NV38Box (http://inferno.hildebrand.cz) // Copyright (c) 2004 Antonin Hildebrand // licensed under zlib/libpng license (see license.txt) // released in Shader Triathlon – Summer 2004 ("Contest") /*! \addtogroup PBuffers @{ \ingroup Resource */ /*! \file PBuffer.cpp \brief Implementation of PBuffer class. */ #include "base.h" #include "PBuffer.h" PBuffer::PBuffer(const char *strMode="rgb tex2D"): RenderTexture(strMode) { } PBuffer::~PBuffer() { } //! @} //doxygen group
[ [ [ 1, 26 ] ] ]
1913a5430ec4e566e362920c02996cd9abe44529
252e638cde99ab2aa84922a2e230511f8f0c84be
/toollib/src/TripStepDataTimeInfoForm.cpp
b1c2e2be85781a5a2c03eca71069015647727d19
[]
no_license
openlab-vn-ua/tour
abbd8be4f3f2fe4d787e9054385dea2f926f2287
d467a300bb31a0e82c54004e26e47f7139bd728d
refs/heads/master
2022-10-02T20:03:43.778821
2011-11-10T12:58:15
2011-11-10T12:58:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,307
cpp
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "StdTool.h" #include "TripStepDataTimeInfoForm.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma link "VStringStorage" #pragma link "ShortTimePicker" #pragma resource "*.dfm" TTourTripStepDataTimeInfoForm *TourTripStepDataTimeInfoForm; //--------------------------------------------------------------------------- __fastcall TTourTripStepDataTimeInfoForm::TTourTripStepDataTimeInfoForm(TComponent* Owner) : TForm(Owner) { } //--------------------------------------------------------------------------- void __fastcall TTourTripStepDataTimeInfoForm::WaitTimeRadioGroupClick( TObject *Sender) { if (WaitTimeRadioGroup->ItemIndex == TourTripStepDataTimeInfoWaitTimeUserWaitCode) { TimeWaitPicker->Enabled = true; } else { TimeWaitPicker->Enabled = false; } } //--------------------------------------------------------------------------- void __fastcall TTourTripStepDataTimeInfoForm::FormClose(TObject *Sender, TCloseAction &Action) { Action = caHide; } //---------------------------------------------------------------------------
[ [ [ 1, 42 ] ] ]
e3fa6adba27e756a231619529d05339f34e1889e
df238aa31eb8c74e2c208188109813272472beec
/BCGInclude/BCGPOutlookBarPane.h
f6adc6dbbf54508c8108d96731caeb8553417dac
[]
no_license
myme5261314/plugin-system
d3166f36972c73f74768faae00ac9b6e0d58d862
be490acba46c7f0d561adc373acd840201c0570c
refs/heads/master
2020-03-29T20:00:01.155206
2011-06-27T15:23:30
2011-06-27T15:23:30
39,724,191
0
0
null
null
null
null
UTF-8
C++
false
false
6,274
h
//******************************************************************************* // COPYRIGHT NOTES // --------------- // This is a part of the BCGControlBar Library // Copyright (C) 1998-2008 BCGSoft Ltd. // All rights reserved. // // This source code can be used, distributed or modified // only under terms and conditions // of the accompanying license agreement. //******************************************************************************* #if !defined(AFX_BCGPOUTLOOKBARPANE_H__CEC069F8_8AE2_4EC3_BB74_03CF55EACA94__INCLUDED_) #define AFX_BCGPOUTLOOKBARPANE_H__CEC069F8_8AE2_4EC3_BB74_03CF55EACA94__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // BCGPOutlookBarPane.h : header file // #include "BCGCBPro.h" #include "BCGPToolbar.h" #include "BCGPButton.h" #include "BCGPToolbarImages.h" ///////////////////////////////////////////////////////////////////////////// // CBCGPOutlookBarPane window class BCGCBPRODLLEXPORT CBCGPOutlookBarPane : public CBCGPToolBar { friend class CBCGPOutlookButton; friend class CBCGPVisualManager; friend class CBCGPOutlookWnd; DECLARE_SERIAL(CBCGPOutlookBarPane) // Construction public: CBCGPOutlookBarPane(); // Attributes public: // Operations public: //-------------------- // Add/remove buttons: //-------------------- BOOL AddButton (UINT uiImage, LPCTSTR lpszLabel, UINT iIdCommand, int iInsertAt = -1); BOOL AddButton (UINT uiImage, UINT uiLabel, UINT iIdCommand, int iInsertAt = -1); BOOL AddButton (LPCTSTR szBmpFileName, LPCTSTR szLabel, UINT iIdCommand, int iInsertAt = -1); BOOL AddButton (HBITMAP hBmp, LPCTSTR lpszLabel, UINT iIdCommand, int iInsertAt = -1); BOOL AddButton (HICON hIcon, LPCTSTR lpszLabel, UINT iIdCommand, int iInsertAt = -1, BOOL bAlphaBlend = FALSE); BOOL RemoveButton (UINT iIdCommand); void ClearAll (); void SetDefaultState (); //-------------- // General look: //-------------- void SetTextColor (COLORREF clrRegText, COLORREF clrSelText = 0/* Obsolete*/); void SetTransparentColor (COLORREF color); void SetBackImage (UINT uiImageID); void SetBackColor (COLORREF color); void SetExtraSpace (int nSpace) // Set extra space betwen buttons { m_nExtraSpace = nSpace; } virtual BOOL CanBeAttached () const { return TRUE; } virtual BCGP_CS_STATUS IsChangeState (int nOffset, CBCGPBaseControlBar** ppTargetBar) const; virtual BOOL Dock (CBCGPBaseControlBar* pDockBar, LPCRECT lpRect, BCGP_DOCK_METHOD dockMethod); virtual BOOL OnBeforeFloat (CRect& rectFloat, BCGP_DOCK_METHOD dockMethod); virtual BOOL RestoreOriginalstate (); virtual BOOL SmartUpdate (const CObList& lstPrevButtons); virtual BOOL CanBeRestored () const { return !m_OrigButtons.IsEmpty (); } virtual void RemoveAllButtons (); protected: BOOL InternalAddButton (int iImageIndex, LPCTSTR szLabel, UINT iIdCommand, int iInsertAt = -1); int AddBitmapImage (HBITMAP hBitmap); void ScrollUp (); void ScrollDown (); void ScrollPageUp (); void ScrollPageDown (); void CopyButtonsList (const CObList& lstSrc, CObList& lstDst); // Overrides virtual CSize CalcFixedLayout (BOOL bStretch, BOOL bHorz); virtual void AdjustLocations (); virtual void DoPaint(CDC* pDC); virtual DROPEFFECT OnDragOver(COleDataObject* pDataObject, DWORD dwKeyState, CPoint point); virtual CBCGPToolbarButton* CreateDroppedButton (COleDataObject* pDataObject); virtual BOOL EnableContextMenuItems (CBCGPToolbarButton* pButton, CMenu* pPopup); virtual BOOL PreTranslateMessage(MSG* pMsg); virtual void OnEraseWorkArea (CDC* pDC, CRect rectWorkArea); virtual DWORD GetCurrentAlignment () const { return (m_dwStyle & CBRS_ALIGN_ANY) & ~CBRS_ORIENT_HORZ; } virtual BOOL AllowShowOnList () const { return FALSE; } virtual BOOL CanFloat () const { return FALSE; } virtual void AddRemoveSeparator (const CBCGPToolbarButton* /*pButton*/, const CPoint& /*ptStart*/, const CPoint& /*ptDrop*/) {} virtual BOOL AllowShowOnControlMenu () const { return FALSE; } public: virtual BOOL Create(CWnd* pParentWnd, DWORD dwStyle = dwDefaultToolbarStyle, UINT uiID = (UINT)-1, DWORD dwBCGStyle = 0); // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CBCGPOutlookBarPane) //}}AFX_VIRTUAL // Implementation public: virtual ~CBCGPOutlookBarPane(); // Generated message map functions protected: //{{AFX_MSG(CBCGPOutlookBarPane) afx_msg BOOL OnEraseBkgnd(CDC* pDC); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR* lpncsp); afx_msg void OnSysColorChange(); afx_msg void OnTimer(UINT_PTR nIDEvent); afx_msg void OnLButtonUp(UINT nFlags, CPoint point); afx_msg void OnSetFocus(CWnd* pOldWnd); afx_msg void OnNcDestroy(); //}}AFX_MSG DECLARE_MESSAGE_MAP() public: COLORREF GetRegularColor () const { return m_clrRegText; } BOOL IsDrawShadedHighlight () const { return m_bDrawShadedHighlight; } BOOL IsBackgroundTexture () const { return m_bmpBack.GetCount () != 0; } void EnablePageScrollMode(BOOL bPageScroll = TRUE) { m_bPageScrollMode = bPageScroll; } // Attributes: protected: COLORREF m_clrRegText; COLORREF m_clrTransparentColor; COLORREF m_clrBackColor; int m_nSize; // Width or Height, orientation dependable CBCGPToolBarImages m_bmpBack; UINT m_uiBackImageId; CBCGPButton m_btnUp; CBCGPButton m_btnDown; int m_iScrollOffset; int m_iFirstVisibleButton; BOOL m_bScrollDown; static CSize m_csImage; static CBCGPToolBarImages m_Images; BOOL m_bDrawShadedHighlight; int m_nExtraSpace; HWND m_hRecentOutlookWnd; BOOL m_bDontAdjustLayout; BOOL m_bPageScrollMode; }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_BCGPOUTLOOKBARPANE_H__CEC069F8_8AE2_4EC3_BB74_03CF55EACA94__INCLUDED_)
[ "myme5261314@ec588229-7da7-b333-41f6-0e1ebc3afda5" ]
[ [ [ 1, 217 ] ] ]
862b39f2791ac3b3b6ff37b0b66da6ccd64c79b1
fbd2deaa66c52fc8c38baa90dd8f662aabf1f0dd
/totalFirePower/ta demo/code/Camera.h
65274d1379abd0f93cf8a231874ba829952d1edd
[]
no_license
arlukin/dev
ea4f62f3a2f95e1bd451fb446409ab33e5c0d6e1
b71fa9e9d8953e33f25c2ae7e5b3c8e0defd18e0
refs/heads/master
2021-01-15T11:29:03.247836
2011-02-24T23:27:03
2011-02-24T23:27:03
1,408,455
2
1
null
null
null
null
UTF-8
C++
false
false
903
h
// Camera.h: interface for the CCamera class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_CAMERA_H__3AC5F701_8EEE_11D4_AD55_0080ADA84DE3__INCLUDED_) #define AFX_CAMERA_H__3AC5F701_8EEE_11D4_AD55_0080ADA84DE3__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "float3.h" class CCamera { public: float3 CalcPixelDir(int x,int y); void UpdateForward(); bool InView(const float3& p,float radius=0); Update(bool freeze); CCamera(); virtual ~CCamera(); float3 pos; float3 rot; //varning inte alltid uppdaterad float3 forward; float3 right; float3 up; float3 top; float3 bottom; float3 rightside; float3 leftside; float fov; float oldFov; }; extern CCamera camera; extern CCamera viewCam; #endif // !defined(AFX_CAMERA_H__3AC5F701_8EEE_11D4_AD55_0080ADA84DE3__INCLUDED_)
[ [ [ 1, 38 ] ] ]
63cbc872d3bb9ec1f777a20abce128287cd5edc4
bc4919e48aa47e9f8866dcfc368a14e8bbabbfe2
/Open GL Basic Engine/source/glutFramework/glutFramework/selectProfileState.h
3f337fd2f11d4e644359abce85905759c7f6e19a
[]
no_license
CorwinJV/rvbgame
0f2723ed3a4c1a368fc3bac69052091d2d87de77
a4fc13ed95bd3e5a03e3c6ecff633fe37718314b
refs/heads/master
2021-01-01T06:49:33.445550
2009-11-03T23:14:39
2009-11-03T23:14:39
32,131,378
0
0
null
null
null
null
UTF-8
C++
false
false
2,291
h
#ifndef SELECTPROFILESTATE_H #define SELECTPROFILESTATE_H #include "GameState.h" #include "GameStateManager.h" #include "oglTexture2D.h" #include "playGame.h" #include "clickOKState.h" #include "oglGameVars.h" class selectProfileState : public GameState { public: selectProfileState() {}; selectProfileState(GameStateManager &Parent, int newID) : GameState(Parent, newID) { maxNumProfiles = GameVars->PM->getMaxRecords() - 1; profileViewing = 0; if(maxNumProfiles >= 0) { GameVars->PM->setCurrentRecord(profileViewing); } // myMenu = new MenuSys((int)1024/2 - (int)600/2, (int)768/2 - (int)475/2 + 25, "blankmenu.png", Auto); myMenu = new MenuSys(256, 50, "blank.png", None); myMenu->addButton("arrow_left.png", "arrow_lefthover.png", "arrow_lefthover.png", CreateFunctionPointer0R(this, &selectProfileState::decrement)); myMenu->setLastButtonDimensions(100, 100); myMenu->setLastButtonPosition(150, 600); myMenu->addButton("arrow_right.png", "arrow_righthover.png", "arrow_righthover.png", CreateFunctionPointer0R(this, &selectProfileState::increment)); myMenu->setLastButtonDimensions(100, 100); myMenu->setLastButtonPosition(775, 600); myMenu->addButton("buttons\\selectprofile.png", "buttons\\selectprofilehover.png", "buttons\\selectprofilehover.png", CreateFunctionPointer0R(this, &selectProfileState::selectProfile)); myMenu->setLastButtonDimensions(475, 100); myMenu->setLastButtonPosition(275, 600); myMenu->addButton("buttons\\back.png", "buttons\\backhover.png", "buttons\\backhover.png", CreateFunctionPointer0R(this, &selectProfileState::back)); myMenu->setLastButtonDimensions(100, 50); myMenu->setLastButtonPosition(750, 250); Update(); } void processMouse(int x, int y); void processMouseClick(int button, int state, int x, int y); void keyboardInput(unsigned char c, int x, int y); bool selectProfileState::Update(); bool selectProfileState::Draw(); void selectProfileState::setPlayerInfo(std::string name, int, int, int); bool increment(); bool decrement(); bool back(); bool selectProfile(); private: int profileViewing; int maxNumProfiles; int totScore; int highestLevel; std::string playerName; // add private stuff here }; #endif
[ "corwin.j@5457d560-9b84-11de-b17c-2fd642447241" ]
[ [ [ 1, 64 ] ] ]
369e2a27bf68e44d193c7f04b397d58816e430bf
3643bb671f78a0669c8e08935476551a297ce996
/I_Input.cpp
bb96e5ce159452712b2d01c96e31ffcfa32e8295
[]
no_license
mattfischer/3dportal
44b3b9fb2331650fc406596b941f6228f37ff14b
e00f7d601138f5cf72aac35f4d15bdf230c518d9
refs/heads/master
2020-12-25T10:36:51.991814
2010-08-29T22:53:06
2010-08-29T22:53:06
65,869,788
1
0
null
null
null
null
UTF-8
C++
false
false
8,959
cpp
#include "C_Script.h" #include "I_Input.h" #include "W_Thing.h" #include "R_Frame.h" #include "G_Console.h" #include "G_Inventory.h" #include "JK_Level.h" #include "JK_Template.h" #include <windows.h> #define _USE_MATH_DEFINES #include <math.h> #include <Dinput.h> #define KEY_DOWN(i) ((GetAsyncKeyState(i) & 0x8000) ? 1 : 0) #define KEY_UP(i) ((GetAsyncKeyState(i) & 0x8000) ? 0 : 1) bool inputEnabled=true; bool doThingCollisions=true; bool updateThings=true; bool fullLight=false; bool drawThings=true; bool drawPolygons=true; void QuitGame(); extern int curWeapon; LPDIRECTINPUT lpdi; // DirectInput interface LPDIRECTINPUTDEVICE lpdiMouse; // mouse device interface namespace Input { void Setup(HWND hWnd, HINSTANCE hInst) { DirectInput8Create(hInst, DIRECTINPUT_VERSION, IID_IDirectInput8, (LPVOID*)&lpdi, NULL); // We'll skip the enumeration step, since we care only about the // standard system mouse. lpdi->CreateDevice(GUID_SysMouse, &lpdiMouse, NULL); lpdiMouse->SetCooperativeLevel(hWnd, DISCL_NONEXCLUSIVE); // Note: c_dfDIMouse is an external DIDATAFORMAT structure supplied // by DirectInput. lpdiMouse->SetDataFormat(&c_dfDIMouse); lpdiMouse->Acquire(); } void EnableInput(bool enable) { inputEnabled=enable; if(inputEnabled) ShowCursor(true); else { ShowCursor(false); SetCursorPos(Render::Frame::ScreenX/2, Render::Frame::ScreenY/2); } } bool IsInputEnabled() { return inputEnabled; } void ProcessMouse(float time) { DIMOUSESTATE diMouseState; POINT cursorPoint; float mouseAnglesize=20; Math::Vector rotation; float x, y; float angleClamp=20; static int lastInput=0; static LONG controlTimer = 0; if(GetTickCount() - lastInput < 10) return; time = (GetTickCount() - lastInput) / 1000.0; lastInput = GetTickCount(); if(KEY_DOWN(VK_RBUTTON)) //thrust+=Math::Vector(0, 0, 6); //position.z+=stepsize*time; currentLevel.player->Jump(); if(KEY_DOWN(VK_LBUTTON)) { if(GetTickCount() > controlTimer + 500) { if(curWeapon != -1) Game::Items[curWeapon].cog->Message("fire", 0, 0, currentLevel.player->GetNum()); controlTimer = GetTickCount(); } } lpdiMouse->GetDeviceState(sizeof(diMouseState), &diMouseState); // GetCursorPos(&cursorPoint); rotation=currentLevel.player->GetRotation(); x=-diMouseState.lY*mouseAnglesize*time; y=-diMouseState.lX*mouseAnglesize*time; /* if(cursorPoint.x-ScreenX/2>0) y=-(cursorPoint.x-ScreenX/2)*mouseAnglesize*time; if(cursorPoint.x-ScreenX/2<0) y=(ScreenX/2-cursorPoint.x)*mouseAnglesize*time; if(cursorPoint.y-ScreenY/2>0) x=-(cursorPoint.y-ScreenY/2)*mouseAnglesize*time; if(cursorPoint.y-ScreenY/2<0) x=(ScreenY/2-cursorPoint.y)*mouseAnglesize*time; */ if(x>angleClamp) x=angleClamp; if(x<-angleClamp) x=-angleClamp; if(y>angleClamp) y=angleClamp; if(y<-angleClamp) y=-angleClamp; rotation.x+=x; rotation.y+=y; if(rotation.x>70) rotation.x=70; if(rotation.x<-70) rotation.x=-70; if(rotation.y>360) rotation.y-=360; if(rotation.y<0) rotation.y+=360; currentLevel.player->SetRotation(rotation); SetCursorPos(Render::Frame::ScreenX/2, Render::Frame::ScreenY/2); } void ProcessKeyboard( float time ) { float anglesize = 150; float stepsize = 1.25; Math::Vector position, rotation; Math::Vector thrust; float angleSin, angleCos; static LONG controlTimer = 0; static bool activateDown = false; int i; position = currentLevel.player->GetPosition(); rotation = currentLevel.player->GetCompositeRotation(); angleSin = sin( rotation.y * M_PI / 180 ); angleCos = cos( rotation.y * M_PI / 180 ); thrust = Math::Vector( 0, 0, 0 ); if( KEY_DOWN( VK_RIGHT ) ) { thrust += Math::Vector( angleCos, angleSin, 0 ); thrust = thrust * currentLevel.player->GetMaxThrust() * .75; //position.x+=cos(rotation.y*3.14/180)*stepsize*time; //position.y+=sin(rotation.y*3.14/180)*stepsize*time; } if( KEY_DOWN( VK_LEFT ) ) { thrust += Math::Vector( -angleCos, -angleSin, 0 ); thrust = thrust * currentLevel.player->GetMaxThrust() * .75; //position.x-=cos(rotation.y*3.14/180)*stepsize*time; //position.y-=sin(rotation.y*3.14/180)*stepsize*time; } if( KEY_DOWN( VK_UP ) ) { thrust += Math::Vector( -angleSin, angleCos, 0 ); thrust = thrust * currentLevel.player->GetMaxThrust(); //position.x-=sin(rotation.y*3.14/180)*stepsize*time; //position.y+=cos(rotation.y*3.14/180)*stepsize*time; } if( KEY_DOWN( VK_DOWN ) ) { thrust += Math::Vector( angleSin, -angleCos, 0 ); thrust = thrust * currentLevel.player->GetMaxThrust() * .5; //position.x+=sin(rotation.y*3.14/180)*stepsize*time; //position.y-=cos(rotation.y*3.14/180)*stepsize*time; } if( KEY_DOWN( 'C' ) ) currentLevel.player->SetCrouched( true ); else currentLevel.player->SetCrouched( false ); if( KEY_DOWN( 'T' ) ) doThingCollisions = false; else doThingCollisions = true; if( KEY_DOWN('U' ) ) updateThings = false; else updateThings = true; if( KEY_DOWN( 'L' ) ) fullLight = true; else fullLight = false; if( KEY_DOWN( 'D' ) ) drawThings = false; else drawThings = true; if( KEY_DOWN( 'P' ) ) drawPolygons = false; else drawPolygons = true; if( GetTickCount() > controlTimer + 500 ) { if( KEY_DOWN( VK_F12 ) ) { Console::ToggleVisible(); controlTimer = GetTickCount(); } if( KEY_DOWN( VK_F2 ) ) { for( i = 1 ; i < currentLevel.things.size() ; i++ ) if( currentLevel.things[( i + currentLevel.player->GetNum() ) % currentLevel.things.size()]->GetTemplate()->GetName() == "walkplayer" ) { currentLevel.player = currentLevel.things[( i+currentLevel.player->GetNum() ) % currentLevel.things.size()]; break; } controlTimer = GetTickCount(); } if( KEY_DOWN( VK_F1 ) ) { for( i = currentLevel.things.size() - 2 ; i >=0 ; i-- ) if( currentLevel.things[( i + currentLevel.player->GetNum() ) % currentLevel.things.size()]->GetTemplate()->GetName() == "walkplayer" ) { currentLevel.player = currentLevel.things[( i + currentLevel.player->GetNum() ) % currentLevel.things.size()]; break; } controlTimer = GetTickCount(); } for(int i=0; i<=9; i++) { if( KEY_DOWN( '0' + i ) ) { int bin = i; if( bin == 0 ) bin = 10; static int activeBin = 0; if( activeBin != bin ) { if( activeBin != 0 ) { Game::DeactivateBin( activeBin ); } Game::ActivateBin( bin ); activeBin = bin; controlTimer = GetTickCount(); } } } } if( KEY_DOWN( VK_SPACE ) ) { if( !activateDown ) { activateDown = true; currentLevel.player->Activate(); } } if( KEY_UP( VK_SPACE ) ) activateDown = false; if( KEY_DOWN( VK_ESCAPE ) ) QuitGame(); if( KEY_DOWN( 'B' ) ) activateDown = activateDown; /*if(thrust.Magnitude()>0) { thrust.Normalize(); thrust*=player->GetMaxThrust(); player->ApplyThrust(thrust); }*/ currentLevel.player->ApplyThrust( thrust ); /*if(KEY_DOWN('Q')) glEnable(GL_TEXTURE_2D); if(KEY_DOWN('W')) glDisable(GL_TEXTURE_2D); if(KEY_DOWN('E')) fullLight=0; if(KEY_DOWN('R')) fullLight=1; if(KEY_DOWN('Y')) diagClip=0; if(KEY_DOWN('U')) diagClip=1; if(KEY_DOWN('O')) glEnable(GL_DEPTH_TEST); if(KEY_DOWN('P')) glDisable(GL_DEPTH_TEST);*/ //player->SetPosition(position); } void Process(float time) { if(inputEnabled) { ProcessKeyboard(time); ProcessMouse(time); } } }
[ "devnull@localhost" ]
[ [ [ 1, 310 ] ] ]
e89592b8c90a88c1d2dca58b9c5aaa9fd45b72f5
c4001da8f012dfbc46fef0d9c11f8412f4ad9c6f
/allegro/demos/a5teroids/src/Error.cpp
083591e3b8c22f17ff8fb61dad3664b0ab77d21f
[ "Zlib", "BSD-3-Clause" ]
permissive
sesc4mt/mvcdecoder
4602fdfe42ab39706cfa3c749282782ca9da73c9
742a5c0d9cad43f0b01aa6e9169d96a286458e72
refs/heads/master
2021-01-01T17:56:47.666505
2010-11-02T12:36:52
2010-11-02T12:36:52
40,896,775
1
0
null
null
null
null
UTF-8
C++
false
false
179
cpp
#include "a5teroids.hpp" std::string& Error::getMessage(void) { return message; } Error::Error(const char* message) { this->message = std::string(message); }
[ "edwardtoday@34199c9c-95aa-5eba-f35a-9ba8a8a04cd7" ]
[ [ [ 1, 12 ] ] ]
dcd8dd21e8627a226672f64162a5d81431edfac9
a2904986c09bd07e8c89359632e849534970c1be
/topcoder/WidgetRepairs.cpp
779282c2b914aa9d62b991938e07daaae2f05b8d
[]
no_license
naturalself/topcoder_srms
20bf84ac1fd959e9fbbf8b82a93113c858bf6134
7b42d11ac2cc1fe5933c5bc5bc97ee61b6ec55e5
refs/heads/master
2021-01-22T04:36:40.592620
2010-11-29T17:30:40
2010-11-29T17:30:40
444,669
1
0
null
null
null
null
UTF-8
C++
false
false
2,423
cpp
// BEGIN CUT HERE // END CUT HERE #line 5 "WidgetRepairs.cpp" #include <iostream> #include <string> #include <vector> #include <sstream> using namespace std; class WidgetRepairs { public: int days(vector <int> arrivals, int numPerDay) { int n=0; int d=0; for(int i=0;i<(int)arrivals.size();i++){ while(n < arrivals[i]){ n += numPerDay; d++; } cout << i << ":" << d << endl; n = 0; } return d; } // BEGIN CUT HERE public: void run_test(int Case) { if ((Case == -1) || (Case == 0)) test_case_0(); if ((Case == -1) || (Case == 1)) test_case_1(); if ((Case == -1) || (Case == 2)) test_case_2(); if ((Case == -1) || (Case == 3)) test_case_3(); if ((Case == -1) || (Case == 4)) test_case_4(); } private: template <typename T> string print_array(const vector<T> &V) { ostringstream os; os << "{ "; for (typename vector<T>::const_iterator iter = V.begin(); iter != V.end(); ++iter) os << '\"' << *iter << "\","; os << " }"; return os.str(); } void verify_case(int Case, const int &Expected, const int &Received) { cerr << "Test Case #" << Case << "..."; if (Expected == Received) cerr << "PASSED" << endl; else { cerr << "FAILED" << endl; cerr << "\tExpected: \"" << Expected << '\"' << endl; cerr << "\tReceived: \"" << Received << '\"' << endl; } } void test_case_0() { int Arr0[] = { 10, 0, 0, 4, 20 }; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arg1 = 8; int Arg2 = 6; verify_case(0, Arg2, days(Arg0, Arg1)); } void test_case_1() { int Arr0[] = { 0, 0, 0 }; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arg1 = 10; int Arg2 = 0; verify_case(1, Arg2, days(Arg0, Arg1)); } void test_case_2() { int Arr0[] = { 100, 100 }; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arg1 = 10; int Arg2 = 20; verify_case(2, Arg2, days(Arg0, Arg1)); } void test_case_3() { int Arr0[] = { 27, 0, 0, 0, 0, 9 }; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arg1 = 9; int Arg2 = 4; verify_case(3, Arg2, days(Arg0, Arg1)); } void test_case_4() { int Arr0[] = { 6, 5, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 6 }; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arg1 = 3; int Arg2 = 15; verify_case(4, Arg2, days(Arg0, Arg1)); } // END CUT HERE }; // BEGIN CUT HERE int main() { WidgetRepairs ___test; ___test.run_test(-1); } // END CUT HERE
[ "shin@CF-7AUJ41TT52JO.(none)" ]
[ [ [ 1, 52 ] ] ]
9020994d5247de6c83b67a16adf2319c11152477
b505ef7eb1a6c58ebcb73267eaa1bad60efb1cb2
/source/graphics/core/win32/fontdevice.h
18e55b40223e2141775608db72f398b3e99fb859
[]
no_license
roxygen/maid2
230319e05d6d6e2f345eda4c4d9d430fae574422
455b6b57c4e08f3678948827d074385dbc6c3f58
refs/heads/master
2021-01-23T17:19:44.876818
2010-07-02T02:43:45
2010-07-02T02:43:45
38,671,921
0
0
null
null
null
null
UTF-8
C++
false
false
685
h
/*! @file @brief windows用フォント管理クラス */ #ifndef framework_win32_fontdevice_h #define framework_win32_fontdevice_h #include"../../../config/define.h" #include"../ifontdevice.h" namespace Maid { namespace Graphics { class FontDevice : public IFontDevice { public: virtual void Initialize(); virtual void GetFontList( std::vector<FONTINFO>& List ); virtual SPFONT CreateFont( const String& name, const SIZE2DI& size ); virtual String GetDefaultFontName()const; virtual void Rasterize( const SPFONT& pFont, unt32 FontCode, const COLOR_R32G32B32A32F& Color, SurfaceInstance& surf ); }; }} #endif
[ [ [ 1, 28 ] ] ]
4679d1822acaf55189a43138384c9429cdf9faf4
f9774f8f3c727a0e03c170089096d0118198145e
/传奇mod/mirserver/VirtualClient/InitClient.cpp
749ea6377ad47ebcd43ef682a8c44dc8687986bc
[]
no_license
sdfwds4/fjljfatchina
62a3bcf8085f41d632fdf83ab1fc485abd98c445
0503d4aa1907cb9cf47d5d0b5c606df07217c8f6
refs/heads/master
2021-01-10T04:10:34.432964
2010-03-07T09:43:28
2010-03-07T09:43:28
48,106,882
1
1
null
null
null
null
UTF-8
C++
false
false
1,411
cpp
#include "stdafx.h" void InsertLogMsg(LPTSTR lpszMsg); extern HINSTANCE g_hInst; extern HWND g_hMainWnd; BOOL ConnectServer(SOCKET &s, SOCKADDR_IN* addr, UINT nMsgID, LPCTSTR lpServerIP, DWORD dwIP, int nPort, long lEvent) { if (s != INVALID_SOCKET) { closesocket(s); s = INVALID_SOCKET; } s = socket(AF_INET, SOCK_STREAM, 0); addr->sin_family = AF_INET; addr->sin_port = htons(nPort); if (lpServerIP) addr->sin_addr.s_addr = inet_addr(lpServerIP); else { DWORD dwReverseIP = 0; dwReverseIP = (LOBYTE(LOWORD(dwIP)) << 24) | (HIBYTE(LOWORD(dwIP)) << 16) | (LOBYTE(HIWORD(dwIP)) << 8) | (HIBYTE(HIWORD(dwIP))); addr->sin_addr.s_addr = dwReverseIP; } if (WSAAsyncSelect(s, g_hMainWnd, nMsgID, lEvent) == SOCKET_ERROR) return FALSE; if (connect(s, (const struct sockaddr FAR*)addr, sizeof(SOCKADDR_IN)) == SOCKET_ERROR) { if (WSAGetLastError() == WSAEWOULDBLOCK) return TRUE; } return FALSE; } LRESULT OnSockMsg(WPARAM wParam, LPARAM lParam) { switch (WSAGETSELECTEVENT(lParam)) { case FD_CONNECT: { InsertLogMsg(_T("Connected to Game Server.")); break; } case FD_CLOSE: { break; } case FD_READ: { char szMsg[4096]; int nLen = recv((SOCKET)wParam, szMsg, sizeof(szMsg), 0); szMsg[nLen] = '\0'; InsertLogMsg(szMsg); break; } } return 0; }
[ "fjljfat@4a88d1ba-22b1-11df-8001-4f4b503b426e" ]
[ [ [ 1, 73 ] ] ]
e81b404661c0dc16c459f3cf751064ac682fc7a4
611fc0940b78862ca89de79a8bbeab991f5f471a
/src/Teki/Boss/Majo.h
fd558ad359dcf35233142f993954c49e4b7e5a38
[]
no_license
LakeIshikawa/splstage2
df1d8f59319a4e8d9375b9d3379c3548bc520f44
b4bf7caadf940773a977edd0de8edc610cd2f736
refs/heads/master
2021-01-10T21:16:45.430981
2010-01-29T08:57:34
2010-01-29T08:57:34
37,068,575
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,793
h
#pragma once #include "..\\Teki.h" #include "ThrowApple.h" #include <list> /* ボスの魔女 */ class Majo : public Teki { public: // 基本 enum STATUS{ WIN, WINBACK, WINDAMAGE, DOOR, DOORTHROW, DOORTHROWEND, DOOREXIT, DOORDAMAGE, DIYING, DEAD }; Majo(); ~Majo(); void _Move(); // 敵から TEKI_SETUP; // インターフェース void InflictDamage(); void Activate(); // ルーチン void MapAtHt(); void DousaEnd(); void CollisionResponse(ICollidable *rCollObject, int rThisGroupId, int rOpGroupId); void DieIfGamenGai() {} void KobitoDied(); int GetEntPt() { return mEntPt; } STATUS GetStatus() { return mStatus; } static Map::HITPOINT sMapAtHanteiX; // 2点: 0- 床 1- 前 static Map::HITPOINT sMapAtHanteiY; static int sShutugenX[5]; static int sShutugenY[5]; static int sRingoX[5]; static int sRingoY[5]; static float sDieSpX[5]; private: // 出現地を選ぶ void SelectEntPoint(); void RollingAppleCreate(int rXPx, int rYPx, int rType); void ThrowAppleCreate(int rXPx, int rYPx, int rMuki); void AppleOtosu(); void AppleThrow(); void KobitoCreate(); void Die(); STATUS mStatus; STATUS mSaveStatus; enum FRAME{ FR_WIN, FR_DOOR }; // タイマー float mTaikiTimer; float mDieTimer; float mSaveSpX; // 当たり判定用 int mShirabe[4]; // 当たったときに、壁の位置を返す(その軸の座標) int mAtari[4]; // 当たってるとフラグが立つ Apple* mDropMe; ThrowApple* mThrowMe; int mEntPt; bool mKobitoOut; int mHp; // 設定定数 int MAJOSX; int MAJOSY; float MAJO_ARUKI_SPX; bool mActive; bool dmgFlag; };
[ "lakeishikawa@c9935178-01ba-11df-8f7b-bfe16de6f99b" ]
[ [ [ 1, 117 ] ] ]
c7f5567fd79b586b1cd79c0693d14de1948de538
b6a6fa4324540b94fb84ee68de3021a66f5efe43
/SCS/Instruments/Brass3.h
7b8077cc0c14a62968abff51bd2e5ed0d61ede27
[]
no_license
southor/duplo-scs
dbb54061704f8a2ec0514ad7d204178bfb5a290e
403cc209039484b469d602b6752f66b9e7c811de
refs/heads/master
2021-01-20T10:41:22.702098
2010-02-25T16:44:39
2010-02-25T16:44:39
34,623,992
0
0
null
null
null
null
UTF-8
C++
false
false
1,473
h
#ifndef _BRASS3_ #define _BRASS3_ #include "Standards.h" #include "Curves.h" #include "EnvelopeT.h" #include "EchoModule.h" class Brass3 : public SPTInstrument { public: double Pos; EnvelopeT *Env1; EnvelopeT *Env2; EchoModule *Echo; // modulations double ThinMod; double EchoAmount; Brass3() : SPTInstrument() { Env1 = new EnvelopeT(0.12, 0.05, 0.1, 0.85, 0.08); Env2 = new EnvelopeT(0.12, 0.01, 0.08, 0.7, 0.1); Pos = 0; Echo = new EchoModule(0.005, 3); ThinMod = 0.0; EchoAmount = 0.3; } void NoteOn() { Env1->NoteOn(); Env2->NoteOn(); Echo->NoteOn(); SPTInstrument::NoteOn(); Pos = 0; } bool Run() { SPTInstrument::Run(); Amp = 0; double APos; if (Pos > 2.0) { Pos = 0.0; APos = 0.0; } else if (Pos > 1.0) { APos = 2.0 - Pos; } else { APos = Pos; } if (Env1->Playing == true) { if(Env1->Run() == false) { Echo->NoteOff(); } Env2->Run(); Pos = Pos + TimeStep*Fre; Amp += SoftPrecipice(APos, ThinMod * ThinMod); //Amp = APos; } // Echo Echo->In = Amp; Playing = Echo->Run(); //Amp = Amp + Echo->Out * EchoAmount; return Playing; } void NoteOff() { Env1->NoteOff(); Env2->NoteOff(); SPTInstrument::NoteOff(); } void End() { Echo->End(); } }; #endif
[ "t.soderberg8@2b3d9118-3c8b-11de-9b50-8bb2048eb44c" ]
[ [ [ 1, 120 ] ] ]
3f178568670791963e609ab01200baacfd724920
6b83c731acb331c4f7ddd167ab5bb562b450d0f2
/ScriptEngine/src/GM_AvgChip.cpp
b9d25cce85963634f974499d8c0fa115a4452d72
[]
no_license
weimingtom/toheart2p
fbfb96f6ca8d3102b462ba53d3c9cff16ca509e7
560e99c42fdff23e65f16df6d14df9a9f1868d8e
refs/heads/master
2021-01-10T01:36:31.515707
2007-12-20T15:13:51
2007-12-20T15:13:51
44,464,730
2
0
null
null
null
null
GB18030
C++
false
false
41,839
cpp
#include <mm_std.h> #include "main.h" #include "bmp.h" #include "draw.h" #include "escript.h" #include "disp.h" #include "text.h" #include "keybord.h" #include "mouse.h" #include "main.h" #include "GM_avg.h" #include "GM_avgBack.h" #include "GM_Save.h" #include "GM_title.h" CHIP_BACK_STRUCT ChipBackStruct; typedef struct { int flag; int x, y; int nuki; int w, h; int lw; int ln; int depth; DWORD param; char gno[8]; } CHIP_PARTS_STRUCT; CHIP_PARTS_STRUCT ChipBackParts[GRP_BACK_CHIP]; typedef struct { int flag; float x, y; int gno; int act; int rev; float px, py; float tx, ty; float sx, sy; int frame; int count; int cno; int cond; int end; int lnum; DWORD param; int r, g, b; short sound[1000][4]; char svol[1000][4]; int sflag; int scnt; int smax; } CHIP_CHAR_STRUCT; CHIP_CHAR_STRUCT ChipChar[GRP_CHAR_CHIP]; #define ACT_NULL 0x00 #define ACT_MOVE 0x01 #define ACT_ANI 0x02 #define ACT_SPEED 0x04 char BackChipFlag[GRP_BACK_CHIP + GRP_CHAR_CHIP]; static int ChipDrawPose = 0; static char ChipBackNo[100]; static char ChipCharNo[100]; void AVG_PoseChipBack(void) { int i; ChipDrawPose = ON; for (i = 0; i < GRP_BACK_CHIP; i++) { DSP_SetGraphDisp(GRP_BACK + i, OFF); } for (i = 0; i < GRP_CHAR_CHIP; i++) { if (ChipChar[i].flag) { DSP_SetGraphDisp(ChipChar[i].gno, OFF); } } } //------------------------------------------------------------------------- void AVG_PlayChipBack(void) { int i; ChipDrawPose = OFF; for (i = 0; i < GRP_BACK_CHIP; i++) { DSP_SetGraphDisp(GRP_BACK + i, ON); } for (i = 0; i < GRP_CHAR_CHIP; i++) { if (ChipChar[i].flag) { DSP_SetGraphDisp(ChipChar[i].gno, ON); } } } //------------------------------------------------------------------------- void AVG_ResetBack(int bmp_init) { int i; for (i = GRP_BACK2; i < GRP_CHAR; i++) { DSP_ResetGraph(i); } for (i = BMP_BACK; i < BMP_CHAR; i++) { DSP_ReleaseBmp(i); } for (i = GRP_WORK; i < GRP_SCRIPT; i++) { DSP_ResetGraph(i); } if (bmp_init) for (i = GRP_SCRIPT; i < GRP_ENDING; i++) { DSP_ResetGraph(i); } for (i = GRP_SYSTEM2; i < GRP_SELECT; i++) { DSP_ResetGraph(i); } DSP_ResetGraph(GRP_SPBACK); DSP_ReleaseSpriteAll(); for (i = 0; i < GRP_BACK_CHIP + GRP_CHAR_CHIP; i++) { DSP_ReleaseSprite(i); } ZeroMemory(ChipChar, sizeof(CHIP_CHAR_STRUCT) *GRP_CHAR_CHIP); ZeroMemory(ChipBackParts, sizeof(CHIP_PARTS_STRUCT) *GRP_BACK_CHIP); ZeroMemory(BackChipFlag, GRP_BACK_CHIP + GRP_CHAR_CHIP); FillMemory(ChipBackNo, 100, 0xff); FillMemory(ChipCharNo, 100, 0xff); BackStruct.flag = 0; ZeroMemory(&ChipBackStruct, sizeof(ChipBackStruct)); } //------------------------------------------------------------------------- void AVG_ShowChipBack(int chg_type, int fd_max) { int bmp_bpp = BPP(MainWindow.draw_mode2); int back_max = AVG_EffCnt(fd_max); int sp = Avg.level, i; MainWindow.draw_flag = 1; AVG_ControlChipBack(); AVG_ControlChipChar(); DSP_CopyBmp(BMP_BACK + 1, - 1); DSP_SetDrawTemp(BMP_BACK, MainWindow.draw_mode2, Avg.frame); DSP_SetGraph(GRP_WORK, BMP_BACK, LAY_BACK, ON, CHK_NO); for (i = GRP_BACK; i < GRP_WINDOW; i++) { if (DSP_GetGraphFlag(i)) { DSP_SetGraphDisp(i, OFF); } } DSP_SetGraphDisp(GRP_SYSTEM2, OFF); DSP_SetGraphDisp(GRP_SYSTEM2 + 1, OFF); if (chg_type != BAK_DIRECT) { if (back_max) { switch (chg_type) { case BAK_FADE: if (BackStruct.r || BackStruct.g || BackStruct.b) { DSP_SetGraph(GRP_WORK + 1, BMP_BACK + 1, LAY_BACK, ON, CHK_NO); DSP_SetGraphDisp(GRP_WORK, OFF); } break; case BAK_CFADE: if (sp) { DSP_SetGraph(GRP_WORK + 1, BMP_BACK + 1, LAY_BACK, ON, CHK_NO); DSP_SetGraphLayer(GRP_WORK, LAY_BACK + 1); } break; case BAK_CFADE_UP: case BAK_CFADE_DO: case BAK_CFADE_RI: case BAK_CFADE_LE: case BAK_CFADE_CE: case BAK_CFADE_OU: if (sp) { DSP_SetGraph(GRP_WORK + 1, BMP_BACK + 1, LAY_BACK, ON, CHK_NO); DSP_SetGraphLayer(GRP_WORK, LAY_BACK + 1); } break; case BAK_DIA1: case BAK_DIA2: case BAK_DIA3: break; case BAK_CFZOOM1: case BAK_CFZOOM4: break; case BAK_CFZOOM2: DSP_SetGraph(GRP_WORK + 1, BMP_BACK + 1, LAY_BACK, ON, CHK_NO); DSP_SetGraphLayer(GRP_WORK, LAY_BACK + 1); break; case BAK_CFZOOM3: DSP_SetGraph(GRP_WORK + 1, BMP_BACK + 1, LAY_BACK + 1, ON, CHK_NO); break; case BAK_KAMI: DSP_SetGraph(GRP_WORK + 1, BMP_BACK + 1, LAY_BACK, ON, CHK_NO); DSP_SetGraphLayer(GRP_WORK, LAY_BACK + 1); break; case BAK_SLIDE_UP: case BAK_SLIDE_DO: case BAK_SLIDE_RI: case BAK_SLIDE_LE: DSP_SetGraph(GRP_WORK + 1, BMP_BACK + 1, LAY_BACK, ON, CHK_NO); DSP_SetGraphLayer(GRP_WORK, LAY_BACK + 1); case BAK_LASTERIN: DSP_SetGraph(GRP_WORK + 1, BMP_BACK + 1, LAY_BACK, ON, CHK_NO); DSP_SetGraphLayer(GRP_WORK, LAY_BACK + 1); break; case BAK_NOISE: DSP_SetGraph(GRP_WORK + 1, BMP_BACK + 1, LAY_BACK, ON, CHK_NO); DSP_SetGraphLayer(GRP_WORK, LAY_BACK + 1); break; } } BackStruct.fd_flag = 1; BackStruct.fd_type = chg_type; BackStruct.fd_cnt = 0; BackStruct.fd_max = fd_max; } DSP_SetGraphClip(GRP_WORK, 0, 0, DISP_X, DISP_Y); DSP_SetGraphClip(GRP_WORK + 1, 0, 0, DISP_X, DISP_Y); DSP_SetGraphClip(GRP_WORK + 2, 0, 0, DISP_X, DISP_Y); DSP_SetGraphClip(GRP_WORK + 3, 0, 0, DISP_X, DISP_Y); } //------------------------------------------------------------------------- void AVG_ControlChipBackChange(void) { int rate, i; int back_max = AVG_EffCnt(BackStruct.fd_max); int sp = Avg.level; int x, y; if (BackStruct.fd_type == BAK_FADE) { if (BackStruct.r || BackStruct.g || BackStruct.b) { back_max *= 2; } } if (BackStruct.fd_type == BAK_LASTERIN && BackStruct.fd_max == - 2 && sp) { back_max *= 2; } if (BackStruct.fd_flag) { BackStruct.fd_cnt++; if (BackStruct.fd_cnt >= back_max) { BackStruct.fd_flag = 0; MainWindow.draw_flag = 1; for (i = 0; i < 4; i++) { DSP_ResetGraph(GRP_WORK + i); } DSP_ReleaseBmp(BMP_BACK); DSP_ReleaseBmp(BMP_BACK + 1); for (i = GRP_BACK; i < GRP_WINDOW; i++) { if (DSP_GetGraphFlag(i)) { DSP_SetGraphDisp(i, ON); } } DSP_SetGraphDisp(GRP_SYSTEM2, ON); DSP_SetGraphDisp(GRP_SYSTEM2 + 1, ON); if (BackStruct.fd_type == BAK_FADE) { AVG_SetBackFadeDirect(128, 128, 128); } } else { rate = 256 * BackStruct.fd_cnt / back_max; switch (BackStruct.fd_type) { case BAK_FADE: if (BackStruct.r || BackStruct.g || BackStruct.b) { if (rate < 128) { DSP_SetGraphBright(GRP_WORK + 1, 128-rate, 128-rate, 128-rate); } else { DSP_SetGraphDisp(GRP_WORK + 1, OFF); DSP_SetGraphDisp(GRP_WORK, ON); DSP_SetGraphBright(GRP_WORK, rate - 128, rate - 128, rate - 128); } } else { DSP_SetGraphBright(GRP_WORK, rate / 2, rate / 2, rate / 2); } break; case BAK_CFADE: if (sp) { DSP_SetGraphParam(GRP_WORK, DRW_BLD(rate)); } else { DSP_SetGraphParam(GRP_WORK, DRW_AMI(rate)); } break; case BAK_CFADE_UP: if (sp) { DSP_SetGraphParam(GRP_WORK, DRW_LCF(UP, rate)); } else { DSP_SetGraphParam(GRP_WORK, DRW_LPP(UP, rate)); } break; case BAK_CFADE_DO: if (sp) { DSP_SetGraphParam(GRP_WORK, DRW_LCF(DO, rate)); } else { DSP_SetGraphParam(GRP_WORK, DRW_LPP(DO, rate)); } break; case BAK_CFADE_RI: if (sp) { DSP_SetGraphParam(GRP_WORK, DRW_LCF(RI, rate)); } else { DSP_SetGraphParam(GRP_WORK, DRW_LPP(RI, rate)); } break; case BAK_CFADE_LE: if (sp) { DSP_SetGraphParam(GRP_WORK, DRW_LCF(LE, rate)); } else { DSP_SetGraphParam(GRP_WORK, DRW_LPP(LE, rate)); } break; case BAK_CFADE_CE: if (sp) { DSP_SetGraphParam(GRP_WORK, DRW_LCF(CE, rate)); } else { DSP_SetGraphParam(GRP_WORK, DRW_LPP(CE, rate)); } break; case BAK_CFADE_OU: if (sp) { DSP_SetGraphParam(GRP_WORK, DRW_LCF(OU, rate)); } else { DSP_SetGraphParam(GRP_WORK, DRW_LPP(OU, rate)); } break; case BAK_DIA1: case BAK_DIA2: case BAK_DIA3: if (sp) { DSP_SetGraphParam(GRP_WORK, DRW_DIO(BackStruct.fd_type - BAK_DIA1, rate)); } else { DSP_SetGraphParam(GRP_WORK, DRW_DIA(BackStruct.fd_type - BAK_DIA1, rate)); } break; case BAK_CFZOOM1: rate = 256 * BackStruct.fd_cnt / back_max; rate = 256-rate * rate / 256; if (sp && MainWindow.draw_mode2 != 16) { DSP_SetGraphParam(GRP_WORK, DRW_BLD(128-rate / 2)); } else { DSP_SetGraphParam(GRP_WORK, DRW_AMI(256-rate)); } rate = 256-256 * BackStruct.fd_cnt / back_max; rate = rate * rate / 256; DSP_SetGraphZoom2(GRP_WORK, DISP_X / 2, DISP_Y / 2, rate); break; case BAK_CFZOOM2: rate = 256-256 * BackStruct.fd_cnt / back_max; rate = rate * rate / 256; rate = 256-rate; if (sp) { DSP_SetGraphParam(GRP_WORK, DRW_BLD(rate)); } else { DSP_SetGraphParam(GRP_WORK, DRW_AMI(rate)); } DSP_SetGraphZoom2(GRP_WORK + 1, DISP_X / 2, DISP_Y / 2, rate *2); break; case BAK_CFZOOM3: rate = 256-256 * BackStruct.fd_cnt / back_max; rate = rate * rate / 256; if (sp) { DSP_SetGraphParam(GRP_WORK + 1, DRW_BLD(rate)); } DSP_SetGraphZoom2(GRP_WORK + 1, DISP_X / 2, DISP_Y / 2, rate - 256); break; case BAK_CFZOOM4: rate = 256-256 * BackStruct.fd_cnt / back_max; if (sp && MainWindow.draw_mode2 != 16) { DSP_SetGraphParam(GRP_WORK, DRW_BLD(128-rate / 2)); } rate = rate * rate / 256; DSP_SetGraphZoom2(GRP_WORK, DISP_X / 2, DISP_Y / 2, - rate); break; case BAK_KAMI: x = DISP_X * rate / 256; DSP_SetGraph(GRP_WORK, BMP_BACK, LAY_BACK, ON, CHK_NO); if (x < 320) { DSP_SetGraphPos(GRP_WORK, 0, 0, 0, 0, x, DISP_Y); DSP_SetGraph(GRP_WORK, BMP_BACK, LAY_BACK, ON, CHK_NO); DSP_SetGraphPos(GRP_WORK + 4, DISP_X - x, 0, DISP_X - x, 0, x, DISP_Y); } else { DSP_ResetGraph(GRP_WORK + 4); DSP_SetGraphPos(GRP_WORK, 0, 0, 0, 0, DISP_X, DISP_Y); DSP_SetGraph(GRP_WORK, BMP_BACK, LAY_BACK, ON, CHK_NO); } DSP_SetGraph(GRP_WORK + 1, BMP_BACK + 1, LAY_BACK + 2, ON, CHK_NO); DSP_SetGraph(GRP_WORK + 2, BMP_BACK + 1, LAY_BACK + 2, ON, CHK_NO); DSP_SetGraph(GRP_WORK + 3, BMP_BACK + 1, LAY_BACK + 1, ON, CHK_NO); DSP_SetGraphPos(GRP_WORK + 1, - x, 0, 0, 0, min(DISP_X, x *2), DISP_Y); DSP_SetGraphPos(GRP_WORK + 2, x, 0, 0, 0, DISP_X, DISP_Y); DSP_SetGraphPos(GRP_WORK + 3, x, 0, min(DISP_X, x *2), 0, max(0, DISP_X - x * 2), DISP_Y); if (sp) { DSP_SetGraphParam(GRP_WORK + 1, DRW_BLD(128)); DSP_SetGraphParam(GRP_WORK + 2, DRW_BLD(128)); } else { DSP_SetGraphParam(GRP_WORK + 1, DRW_AMI(128)); DSP_SetGraphParam(GRP_WORK + 2, DRW_AMI(128)); } break; case BAK_SLIDE_UP: case BAK_SLIDE_DO: case BAK_SLIDE_RI: case BAK_SLIDE_LE: if (sp) { DSP_SetGraphParam(GRP_WORK + 0, DRW_BLD(rate)); DSP_SetGraphParam(GRP_WORK + 1, DRW_BLD(rate)); } rate = 256-rate; y = DISP_Y - DISP_Y * rate * rate / (256 *256); x = DISP_X - DISP_X * rate * rate / (256 *256); switch (BackStruct.fd_type) { case BAK_SLIDE_UP: DSP_SetGraphMove(GRP_WORK + 0, 0, y - DISP_Y); DSP_SetGraphMove(GRP_WORK + 1, 0, y); break; case BAK_SLIDE_DO: DSP_SetGraphMove(GRP_WORK + 0, 0, - y + DISP_Y); DSP_SetGraphMove(GRP_WORK + 1, 0, - y); break; case BAK_SLIDE_RI: DSP_SetGraphMove(GRP_WORK + 0, - x + DISP_X, 0); DSP_SetGraphMove(GRP_WORK + 1, - x, 0); break; case BAK_SLIDE_LE: DSP_SetGraphMove(GRP_WORK + 0, x - DISP_X, 0); DSP_SetGraphMove(GRP_WORK + 1, x, 0); break; } break; case BAK_LASTERIN: if (sp) { DSP_SetGraphParam(GRP_WORK + 1, DRW_LST(min(255, rate), GlobalCount2 *2)); DSP_SetGraphParam(GRP_WORK, DRW_BLD(rate)); } else { DSP_SetGraphParam(GRP_WORK, DRW_NIS(rate)); } break; case BAK_NOISE: DSP_SetGraphParam(GRP_WORK, DRW_NIS(rate)); break; } } } } //------------------------------------------------------------------------- void AVG_SetChipBack(int bak_no, int wx, int wy, int ww, int wh) { AVG_ResetBack(1); ChipBackStruct.flag = 1; ChipBackStruct.bak_no = bak_no; ChipBackStruct.wx = ChipBackStruct.tx = (float)wx; ChipBackStruct.wy = ChipBackStruct.ty = (float)wy; ChipBackStruct.ww = (float)ww; ChipBackStruct.wh = (float)wh; DSP_SetGraphPrim(GRP_SYSTEM2 + 0, PRM_FLAT, POL_RECT, LAY_BACK + 1, ON); DSP_SetGraphPosRect(GRP_SYSTEM2 + 0, 0, 352+CHIPBACK_SY, 640, 128-CHIPBACK_SY); DSP_SetGraphFade(GRP_SYSTEM2 + 0, 0); DSP_SetGraphPrim(GRP_SYSTEM2 + 1, PRM_FLAT, POL_RECT, LAY_BACK + 1, ON); DSP_SetGraphPosRect(GRP_SYSTEM2 + 1, 0, 0, 640, CHIPBACK_SY); DSP_SetGraphFade(GRP_SYSTEM2 + 1, 0); if (BackStruct.tone_back == - 1) { wsprintf(tone_fname2, "tb%02d%1d.amp", bak_no, BackStruct.tone_no); } else { wsprintf(tone_fname2, "tb%02d%1d.amp", bak_no, BackStruct.tone_back); } } //------------------------------------------------------------------------- BOOL AVG_SetChipBackParts(int bak_ch, int dx, int dy, int w, int h, int lw, int ln, int depth, int nuki, int lno, int cfade, DWORD param) { char fname[256]; int layer; int i, j, gnum, bp_no; int tone = 0, tone_no; for (i = 0; i < GRP_BACK_CHIP; i++) { if (!ChipBackParts[i].flag) { bp_no = i; break; } } if (i == GRP_BACK_CHIP) { DebugBox(NULL, "背景チップ登録数が多過ぎます。[最大%d]", GRP_BACK_CHIP); return FALSE; } ChipBackNo[bak_ch] = bp_no; ChipBackParts[bp_no].flag = 1; ChipBackParts[bp_no].x = dx; ChipBackParts[bp_no].y = dy; ChipBackParts[bp_no].w = w; ChipBackParts[bp_no].h = h; ChipBackParts[bp_no].lw = lw; ChipBackParts[bp_no].ln = ln; ChipBackParts[bp_no].depth = depth; ChipBackParts[bp_no].nuki = nuki; if (BackStruct.tone_back == - 1) { tone_no = BackStruct.tone_no; } else { tone_no = BackStruct.tone_back; } wsprintf(fname, "tb%02d%d%02d.ani", ChipBackStruct.bak_no, tone_no, bak_ch); if (!PAC_CheckFile(BMP_GetPackDir(), fname)) { wsprintf(fname, "tb%02d%d%02d.bmp", ChipBackStruct.bak_no, tone_no, bak_ch); if (!PAC_CheckFile(BMP_GetPackDir(), fname)) { switch (tone_no) { default: DebugPrintf("ファイルが見つかりません[tb%02d%1d%02d.ani/.bmp]", ChipBackStruct.bak_no, tone_no, bak_ch); case TONE_SEPIA: wsprintf(fname, "tb%02d0%02d.ani", ChipBackStruct.bak_no, bak_ch); if (!PAC_CheckFile(BMP_GetPackDir(), fname)) { wsprintf(fname, "tb%02d0%02d.bmp", ChipBackStruct.bak_no, bak_ch); if (!PAC_CheckFile(BMP_GetPackDir(), fname)) { DebugBox(NULL, "ファイルが見つかりません[tb%02d%d%02d.ani/.bmp]", ChipBackStruct.bak_no, tone_no, bak_ch); ChipBackNo[bak_ch] = 0xff; ZeroMemory(&ChipBackParts[bp_no], sizeof(CHIP_PARTS_STRUCT)); return FALSE; } } tone = 1; break; case TONE_NORMAL: DebugBox(NULL, "ファイルが見つかりません[tb%02d%d%02d.ani/.bmp]", ChipBackStruct.bak_no, tone_no, bak_ch); ChipBackNo[bak_ch] = 0xff; ZeroMemory(&ChipBackParts[bp_no], sizeof(CHIP_PARTS_STRUCT)); return FALSE; } } } if (tone) { DSP_LoadSprite(bp_no, fname, nuki, tone_fname[tone_no % 4]); } else { DSP_LoadSprite(bp_no, fname, nuki); } if (lno < 4) { layer = LAY_BACK + lno; } else { layer = LAY_FORE + lno % 4; } if (ln) { if (lw) { gnum = min((DISP_X + lw - 1) / lw + 1, ln); } else { gnum = 1; } } else { if (lw) { gnum = (DISP_X + lw - 1) / lw + 1; } else { gnum = 1; } } for (i = 0; i < gnum; i++) { for (j = 0; j < GRP_BACK_CHIP; j++) { if (!BackChipFlag[j]) { BackChipFlag[j] = 1; ChipBackParts[bp_no].gno[i] = j; ChipBackParts[bp_no].param = param; DSP_SetSprite(GRP_BACK + j, bp_no, bp_no, layer, OFF, OFF, 0, cfade); DSP_SetGraphParam(GRP_BACK + j, param); DSP_SetGraphClip(GRP_BACK + j, 0, CHIPBACK_SY, 640, 352); break; } } if (j == GRP_BACK_CHIP) { DebugBox(NULL, "背景チップのワーク使用数が多過ぎます。[最大%d]", GRP_BACK_CHIP); break; } } return TRUE; } //------------------------------------------------------------------------- #define SCRLL_NULL 0 #define SCRLL_NORMAL 1 #define SCRLL_ACCEL 2 #define SCRLL_BRAKE 3 #define SCRLL_MANUAL 4 void AVG_SetChipBackScrool(int tx, int ty, int frame, int flag) { if (frame) { ChipBackStruct.scroll = flag + 1; ChipBackStruct.sx = ChipBackStruct.wx; ChipBackStruct.sy = ChipBackStruct.wy; ChipBackStruct.tx = (float)tx; ChipBackStruct.ty = (float)ty; ChipBackStruct.sc_cnt = 0; ChipBackStruct.sc_max = frame; } else { ChipBackStruct.scroll = SCRLL_NULL; ChipBackStruct.wx = (float)tx; ChipBackStruct.wy = (float)ty; ChipBackStruct.sc_cnt = 0; ChipBackStruct.sc_max = 0; } } //------------------------------------------------------------------------- void AVG_SetChipBackScrool2(int tx, int ty, int frame, int flag) { if (frame) { ChipBackStruct.scroll = flag + 1; ChipBackStruct.sx = ChipBackStruct.wx; ChipBackStruct.sy = ChipBackStruct.wy; ChipBackStruct.tx = ChipBackStruct.wx + tx; ChipBackStruct.ty = ChipBackStruct.wy + ty; ChipBackStruct.sc_cnt = 0; ChipBackStruct.sc_max = frame; } else { ChipBackStruct.scroll = SCRLL_NULL; ChipBackStruct.wx = ChipBackStruct.wx + tx; ChipBackStruct.wy = ChipBackStruct.wy + ty; ChipBackStruct.sc_cnt = 0; ChipBackStruct.sc_max = 0; } } //------------------------------------------------------------------------- void AVG_SetChipBackScroolSpeed(int sx, int sy, int frame) { if (frame) { ChipBackStruct.scroll = SCRLL_MANUAL; ChipBackStruct.sx = ChipBackStruct.px; ChipBackStruct.sy = ChipBackStruct.py; ChipBackStruct.tx = (float)(sx / 100.0); ChipBackStruct.ty = (float)(sy / 100.0); ChipBackStruct.sc_cnt = 0; ChipBackStruct.sc_max = frame; } else { if (sx == 0 && sy == 0) { ChipBackStruct.scroll = SCRLL_NULL; } else { ChipBackStruct.scroll = SCRLL_MANUAL; } ChipBackStruct.px = (float)(sx / 100.0); ChipBackStruct.py = (float)(sy / 100.0); ChipBackStruct.sc_cnt = 0; ChipBackStruct.sc_max = 0; } } //------------------------------------------------------------------------- BOOL AVG_WaitChipBackScrool(void) { return ChipBackStruct.scroll; } //------------------------------------------------------------------------- BOOL AVG_WaitChipBackScroolSpeed(void) { return !(ChipBackStruct.px == ChipBackStruct.tx && ChipBackStruct.py == ChipBackStruct.ty); } //------------------------------------------------------------------------- void AVG_ControlChipBack(void) { int i, j, gcnt, gnum, gno; float x, y, w, h, x2; int sc_max = AVG_EffCnt3(ChipBackStruct.sc_max), count; if (ChipBackStruct.flag) { switch (ChipBackStruct.scroll) { case SCRLL_NULL: break; case SCRLL_NORMAL: case SCRLL_ACCEL: case SCRLL_BRAKE: if (ChipBackStruct.sc_cnt < sc_max) { ChipBackStruct.sc_cnt++; count = ChipBackStruct.sc_cnt; if (ChipBackStruct.scroll == SCRLL_ACCEL) { count = count * count / sc_max; } if (ChipBackStruct.scroll == SCRLL_BRAKE) { count = sc_max - (sc_max - count)*(sc_max - count) / sc_max; } ChipBackStruct.wx = (ChipBackStruct.sx *(sc_max - count) + ChipBackStruct.tx * count) / sc_max; ChipBackStruct.wy = (ChipBackStruct.sy *(sc_max - count) + ChipBackStruct.ty * count) / sc_max; } else { ChipBackStruct.scroll = SCRLL_NULL; ChipBackStruct.sc_cnt = 0; ChipBackStruct.wx = ChipBackStruct.tx; ChipBackStruct.wy = ChipBackStruct.ty; } break; case SCRLL_MANUAL: if (ChipBackStruct.sc_cnt < sc_max) { ChipBackStruct.sc_cnt++; count = ChipBackStruct.sc_cnt; ChipBackStruct.px = (ChipBackStruct.sx *(sc_max - count) + ChipBackStruct.tx * count) / sc_max; ChipBackStruct.py = (ChipBackStruct.sy *(sc_max - count) + ChipBackStruct.ty * count) / sc_max; } else { ChipBackStruct.px = ChipBackStruct.tx; ChipBackStruct.py = ChipBackStruct.ty; if (ChipBackStruct.px == 0 && ChipBackStruct.py == 0) { ChipBackStruct.scroll = SCRLL_NULL; ChipBackStruct.sc_cnt = 0; } } ChipBackStruct.wx += ChipBackStruct.px; ChipBackStruct.wy += ChipBackStruct.py; break; } if (!ChipDrawPose) { for (i = 0; i < GRP_BACK_CHIP; i++) { DSP_SetGraphDisp(GRP_BACK + i, OFF); DSP_SetGraphParam(GRP_BACK + i, DRW_NML); } for (i = 0; i < GRP_BACK_CHIP; i++) { x = (float)ChipBackParts[i].x - (int)(ChipBackStruct.wx *ChipBackParts[i].depth / 100); y = (float)ChipBackParts[i].y - (int)ChipBackStruct.wy; w = (float)ChipBackParts[i].w; h = (float)ChipBackParts[i].h; if (ChipBackParts[i].ln) { if (ChipBackParts[i].lw) { gnum = min((DISP_X + ChipBackParts[i].lw - 1) / ChipBackParts[i].lw + 1, ChipBackParts[i].ln); } else { gnum = 1; } gcnt = 0; for (j = 0; j < ChipBackParts[i].ln; j++) { x2 = x + j * ChipBackParts[i].lw; if (x2 + ChipBackParts[i].w > 0 && x2 < DISP_X) { gno = ChipBackParts[i].gno[gcnt]; DSP_SetGraphDisp(GRP_BACK + gno, ON); DSP_SetGraphPos(GRP_BACK + gno, (int)x2, (int)y + CHIPBACK_SY, 0, 0, (int)w, (int)h); DSP_SetGraphBright(GRP_BACK + gno, BackStruct.rr, BackStruct.gg, BackStruct.bb); if (MainWindow.draw_matrix) { if (MainWindow.draw_matrix == 1) { DSP_SetGraphParam(GRP_BACK + gno, DRW_BLD(32)); } else { DSP_SetGraphParam(GRP_BACK + gno, DRW_BLD(256 *MainWindow.draw_matrix / 100)); } } else { DSP_SetGraphParam(GRP_BACK + gno, ChipBackParts[i].param); } gcnt++; if (gcnt >= gnum) { break; } } } } else {} } } } } //------------------------------------------------------------------------- static BOOL LoadChipChar(int char_no, int pose, int end, int lnum) { char fname[256]; char ch_no = ChipCharNo[char_no]; char *tname, spia = 0; BOOL ret = FALSE; if (BackStruct.tone_char == - 1) { if (PAC_CheckFile(BMP_GetPackDir(), tone_fname2)) { tname = tone_fname2; } else { tname = tone_fname[BackStruct.tone_no % 4]; if (BackStruct.tone_no == TONE_SEPIA) { spia = ON; } } } else { tname = tone_fname[BackStruct.tone_char % 4]; if (BackStruct.tone_no == TONE_SEPIA) { spia = ON; } } wsprintf(fname, "tc%02d0%04d.ani", char_no, pose); ret = DSP_LoadSprite(GRP_BACK_CHIP + ch_no, fname, CHK_ANTI, tname, (spia) ? 0 : 256); return ret; } //------------------------------------------------------------------------- BOOL AVG_SetChipChar(int char_no, int pose, int dx, int dy, int end, int lnum, int layer) { int ch_no, i, j; AVG_ResetChipChar(char_no); for (i = 0; i < GRP_CHAR_CHIP; i++) { if (!ChipChar[i].flag) { ch_no = i; break; } } if (i == GRP_CHAR_CHIP) { DebugBox(NULL, "チップキャラクターの登録数が多過ぎます。[最大%d]", GRP_CHAR_CHIP); return FALSE; } ChipCharNo[char_no] = ch_no; i = LoadChipChar(char_no, pose, end, lnum); if (!i) { return FALSE; } ChipChar[ch_no].flag = ON; ChipChar[ch_no].act = ACT_NULL; ChipChar[ch_no].tx = ChipChar[ch_no].x = (float)dx; ChipChar[ch_no].ty = ChipChar[ch_no].y = (float)dy; ChipChar[ch_no].cond = 1; ChipChar[ch_no].cno = char_no; ChipChar[ch_no].end = end; ChipChar[ch_no].lnum = lnum; ChipChar[ch_no].smax = 1; ChipChar[ch_no].param = DRW_NML; ChipChar[ch_no].r = 128; ChipChar[ch_no].g = 128; ChipChar[ch_no].b = 128; ZeroMemory(&ChipChar[ch_no].sound, sizeof(short) *1000 * 4); FillMemory(&ChipChar[ch_no].svol, sizeof(char) *1000 * 4, 0xff); for (j = 0; j < GRP_CHAR_CHIP; j++) { if (!BackChipFlag[GRP_CHIP + j]) { BackChipFlag[GRP_CHIP + j] = ON; ChipChar[ch_no].gno = GRP_CHIP + j; DSP_SetSprite(GRP_CHIP + j, GRP_BACK_CHIP + ch_no, GRP_BACK_CHIP + ch_no, LAY_CHIP + 2+layer, ON, end, lnum, OFF); DSP_SetGraphClip(GRP_CHIP + j, 0, CHIPBACK_SY, 640, 352); DSP_SetGraphMove(GRP_CHIP + j, dx, dy + CHIPBACK_SY); break; } } return TRUE; } //------------------------------------------------------------------------- BOOL AVG_LoadChipChar(int char_no, int pose, int end, int lnum) { char ch_no = ChipCharNo[char_no]; BOOL ret = FALSE; if (ch_no == 0xff) { return ret; } if (ChipChar[ch_no].flag) { ret = LoadChipChar(char_no, pose, end, lnum); if (!ret) { return ret; } DSP_SetSpritePlay(GRP_BACK_CHIP + ch_no, GRP_BACK_CHIP + ch_no, end, lnum, OFF); ChipChar[ch_no].end = end; ChipChar[ch_no].lnum = lnum; } return ret; } //------------------------------------------------------------------------- BOOL AVG_LoadChipCharCash(int char_no, int pose) { char fname[256]; char *tname, spia = 0; BOOL ret; if (BackStruct.tone_char == - 1) { if (PAC_CheckFile(BMP_GetPackDir(), tone_fname2)) { tname = tone_fname2; } else { tname = tone_fname[BackStruct.tone_no % 4]; if (BackStruct.tone_no == TONE_SEPIA) { spia = ON; } } } else { tname = tone_fname[BackStruct.tone_char % 4]; if (BackStruct.tone_no == TONE_SEPIA) { spia = ON; } } wsprintf(fname, "tc%02d0%04d.ani", char_no, pose); ret = DSP_LoadSpriteCash(fname, tname, (spia) ? 0 : 256, - 2); return ret; } //------------------------------------------------------------------------- void AVG_ResetChipCharCash(void) { DSP_ResetSpriteCash(); } //------------------------------------------------------------------------- void AVG_ResetChipChar(int char_no) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return ; } if (ChipChar[ch_no].flag) { ChipCharNo[char_no] = 0xff; BackChipFlag[ChipChar[ch_no].gno] = OFF; DSP_ResetGraph(ChipChar[ch_no].gno); DSP_ReleaseSprite(GRP_BACK_CHIP + ch_no); } ZeroMemory(&ChipChar[ch_no], sizeof(CHIP_CHAR_STRUCT)); } //------------------------------------------------------------------------- void AVG_SetChipCharPos(int char_no, int dx, int dy) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return ; } if (ChipChar[ch_no].flag) { ChipChar[ch_no].tx = ChipChar[ch_no].x = (float)dx; ChipChar[ch_no].ty = ChipChar[ch_no].y = (float)dy; } } //------------------------------------------------------------------------- void AVG_SetChipCharRev(int char_no, int rev) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return ; } if (ChipChar[ch_no].flag) { ChipChar[ch_no].rev = rev; if (rev) { DSP_SetGraphRevParam(ChipChar[ch_no].gno, REV_W); } else { DSP_SetGraphRevParam(ChipChar[ch_no].gno, REV_NOT); } } } //------------------------------------------------------------------------- void AVG_SetChipCharParam(int char_no, DWORD param) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return ; } if (ChipChar[ch_no].flag) { ChipChar[ch_no].param = param; } } //------------------------------------------------------------------------- void AVG_SetChipCharBright(int char_no, int r, int g, int b) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return ; } if (ChipChar[ch_no].flag) { ChipChar[ch_no].r = r; ChipChar[ch_no].g = g; ChipChar[ch_no].b = b; } } //------------------------------------------------------------------------- void AVG_SetChipCharMove(int char_no, int tx, int ty, int frame) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return ; } if (ChipChar[ch_no].flag) { if (frame) { ChipChar[ch_no].sx = ChipChar[ch_no].x; ChipChar[ch_no].sy = ChipChar[ch_no].y; ChipChar[ch_no].tx = (float)tx; ChipChar[ch_no].ty = (float)ty; ChipChar[ch_no].count = 0; ChipChar[ch_no].frame = frame; ChipChar[ch_no].act |= ACT_MOVE; } else { ChipChar[ch_no].x = ChipChar[ch_no].tx = (float)tx; ChipChar[ch_no].y = ChipChar[ch_no].ty = (float)ty; ChipChar[ch_no].count = 0; ChipChar[ch_no].frame = 0; ChipChar[ch_no].act = ChipChar[ch_no].act &(~(ACT_MOVE | ACT_SPEED)); } } } //------------------------------------------------------------------------- void AVG_SetChipCharMove2(int char_no, int mx, int my, int frame) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return ; } if (ChipChar[ch_no].flag) { if (frame) { ChipChar[ch_no].sx = ChipChar[ch_no].x; ChipChar[ch_no].sy = ChipChar[ch_no].y; ChipChar[ch_no].tx = ChipChar[ch_no].x + mx; ChipChar[ch_no].ty = ChipChar[ch_no].y + my; ChipChar[ch_no].count = 0; ChipChar[ch_no].frame = frame; ChipChar[ch_no].act |= ACT_MOVE; } else { ChipChar[ch_no].x = ChipChar[ch_no].tx = ChipChar[ch_no].x + mx; ChipChar[ch_no].y = ChipChar[ch_no].ty = ChipChar[ch_no].y + my; ChipChar[ch_no].count = 0; ChipChar[ch_no].frame = 0; ChipChar[ch_no].act = ChipChar[ch_no].act &(~(ACT_MOVE | ACT_SPEED)); } } } //------------------------------------------------------------------------- void AVG_SetChipCharMoveSpeed(int char_no, int mx, int my, int frame) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return ; } if (ChipChar[ch_no].flag) { if (frame) { ChipChar[ch_no].sx = ChipChar[ch_no].px; ChipChar[ch_no].sy = ChipChar[ch_no].py; ChipChar[ch_no].tx = (float)(mx / 100.0); ChipChar[ch_no].ty = (float)(my / 100.0); ChipChar[ch_no].count = 0; ChipChar[ch_no].frame = frame; ChipChar[ch_no].act |= ACT_SPEED; } else { ChipChar[ch_no].px = (float)(mx / 100.0); ChipChar[ch_no].py = (float)(my / 100.0); ChipChar[ch_no].count = 0; ChipChar[ch_no].frame = 0; if (mx == 0 && my == 0) { ChipChar[ch_no].act = ChipChar[ch_no].act &(~(ACT_MOVE | ACT_SPEED)); } else { ChipChar[ch_no].act |= ACT_SPEED; } } } } //------------------------------------------------------------------------- void AVG_GetChipCharMove(int char_no, long *tx, long *ty) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return ; } if (ChipChar[ch_no].flag) { *tx = (long)ChipChar[ch_no].x; *ty = (long)ChipChar[ch_no].y; } } //------------------------------------------------------------------------- void AVG_GetChipCharMoveSpeed(int char_no, long *mx, long *my) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return ; } if (ChipChar[ch_no].flag) { *mx = (long)ChipChar[ch_no].px; *my = (long)ChipChar[ch_no].py; } } //------------------------------------------------------------------------- void AVG_CopyChipCharPos(int char_no1, int char_no2) { char ch_no1 = ChipCharNo[char_no1]; char ch_no2 = ChipCharNo[char_no2]; if (ch_no1 == 0xff) { return ; } if (ch_no2 == 0xff) { return ; } ChipChar[ch_no1].x = ChipChar[ch_no1].tx = ChipChar[ch_no2].x; ChipChar[ch_no1].y = ChipChar[ch_no1].ty = ChipChar[ch_no2].y; ChipChar[ch_no1].count = 0; ChipChar[ch_no1].frame = 0; } //------------------------------------------------------------------------- void AVG_ThroughChipCharAni(int char_no) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return ; } DSP_ThroughSpriteLoop(GRP_BACK_CHIP + ch_no); } //------------------------------------------------------------------------- void AVG_ThroughChipCharAniLoop(int char_no) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return ; } if (ChipChar[ch_no].flag) { ChipChar[ch_no].end = ON; ChipChar[ch_no].lnum = 1; DSP_SetSpriteLoop(GRP_BACK_CHIP + ch_no, ON, 1); } } //------------------------------------------------------------------------- void AVG_SetSpriteRepeatFind(int char_no) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return ; } if (ChipChar[ch_no].flag) { DSP_SetSpriteRepeatFind(GRP_BACK_CHIP + ch_no); } } //------------------------------------------------------------------------- BOOL AVG_WaitChipCharRepeat(int char_no) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return FALSE; } if (ChipChar[ch_no].flag) { return DSP_GetSpriteRepeatFind(GRP_BACK_CHIP + ch_no) != 2; } return FALSE; } //------------------------------------------------------------------------- BOOL AVG_WaitChipCharAni(int char_no) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return FALSE; } if (ChipChar[ch_no].flag) { if (ChipChar[ch_no].lnum == 0) { ChipChar[ch_no].lnum = 1; DSP_SetSpriteLoop(GRP_BACK_CHIP + ch_no, ChipChar[ch_no].end, 1); } return DSP_WaitSpriteCondition(GRP_BACK_CHIP + ch_no); } return FALSE; } //------------------------------------------------------------------------- BOOL AVG_WaitChipCharMove(int char_no) { char ch_no = ChipCharNo[char_no]; if (ch_no == 0xff) { return FALSE; } if (ChipChar[ch_no].flag) { return ChipChar[ch_no].act &(ACT_MOVE | ACT_SPEED); } return 0; } //------------------------------------------------------------------------- void AVG_ControlChipChar(void) { int i; int x, y; int se; if (ChipBackStruct.flag) { if (!ChipDrawPose) { for (i = 0; i < GRP_CHAR_CHIP; i++) { if (ChipChar[i].flag) { ChipChar[i].cond = DSP_WaitSpriteCondition(GRP_BACK_CHIP + i); if (ChipChar[i].act &ACT_MOVE) { int cmax = AVG_EffCnt3(ChipChar[i].frame); int cnt = ChipChar[i].count; if (cmax > cnt) { ChipChar[i].x = (ChipChar[i].sx *(cmax - cnt) + ChipChar[i].tx *cnt) / cmax; ChipChar[i].y = (ChipChar[i].sy *(cmax - cnt) + ChipChar[i].ty *cnt) / cmax; ChipChar[i].count++; } else { ChipChar[i].x = ChipChar[i].tx; ChipChar[i].y = ChipChar[i].ty; ChipChar[i].frame = 0; ChipChar[i].act = ChipChar[i].act &(~ACT_MOVE); } } if (ChipChar[i].act &ACT_SPEED) { int cmax = AVG_EffCnt3(ChipChar[i].frame); int cnt = ChipChar[i].count; if (cmax > cnt) { ChipChar[i].px = (ChipChar[i].sx *(cmax - cnt) + ChipChar[i].tx *cnt) / cmax; ChipChar[i].py = (ChipChar[i].sy *(cmax - cnt) + ChipChar[i].ty *cnt) / cmax; ChipChar[i].count++; } else { ChipChar[i].px = ChipChar[i].tx; ChipChar[i].py = ChipChar[i].ty; ChipChar[i].frame = 0; if (ChipChar[i].px == 0 && ChipChar[i].py == 0) { ChipChar[i].act = ChipChar[i].act &(~ACT_SPEED); ChipChar[i].count = 0; } } ChipChar[i].x += ChipChar[i].px; ChipChar[i].y += ChipChar[i].py; } x = (int)(ChipChar[i].x - ChipBackStruct.wx); y = (int)(ChipChar[i].y - ChipBackStruct.wy + CHIPBACK_SY); DSP_SetGraphMove(ChipChar[i].gno, x, y); DSP_SetGraphParam(ChipChar[i].gno, ChipChar[i].param); { int r, g, b; if (BackStruct.rr < 128) { r = ChipChar[i].r *BackStruct.rr / 128; } else { r = (0xff - ChipChar[i].r)*(BackStruct.rr - 128) / 128+ChipChar[i].r; } if (BackStruct.gg < 128) { g = ChipChar[i].g *BackStruct.gg / 128; } else { g = (0xff - ChipChar[i].g)*(BackStruct.gg - 128) / 128+ChipChar[i].g; } if (BackStruct.bb < 128) { b = ChipChar[i].b *BackStruct.bb / 128; } else { b = (0xff - ChipChar[i].b)*(BackStruct.bb - 128) / 128+ChipChar[i].b; } DSP_SetGraphBright(ChipChar[i].gno, r, g, b); } if (1){ } se = DSP_GetSpriteEvent(GRP_BACK_CHIP + i); if (se && ChipChar[i].smax) { int sx, sy; if (ChipChar[i].sflag) { ChipChar[i].scnt = rand() % ChipChar[i].smax; } else { ChipChar[i].scnt = (ChipChar[i].scnt + 1) % ChipChar[i].smax; } switch (ChipChar[i].sound[se][ChipChar[i].scnt]) { case 0: break; case - 1: continue; default: se = ChipChar[i].sound[se][ChipChar[i].scnt]; break; } DSP_GetGraphBmpSize(ChipChar[i].gno, &sx, &sy); AVG_PlaySePan(se, OFF, ChipChar[i].svol[se][ChipChar[i].scnt], x + sx / 2-320); } } } } } } //------------------------------------------------------------------------- void AVG_SetSoundEventVolume(int char_no, int event, int sno, int vol) { char ch_no = ChipCharNo[char_no]; if (sno != - 1) { ChipChar[ch_no].svol[event][sno] = vol; } else { ChipChar[ch_no].svol[event][0] = vol; ChipChar[ch_no].svol[event][1] = vol; ChipChar[ch_no].svol[event][2] = vol; ChipChar[ch_no].svol[event][3] = vol; } } //------------------------------------------------------------------------- void AVG_SetSoundEvent(int char_no, int event, int sno1, int sno2, int sno3, int sno4, int flag) { char ch_no = ChipCharNo[char_no]; int i; if (ch_no == 0xff) { return ; } if (ChipChar[ch_no].flag) { ChipChar[ch_no].sound[event][0] = sno1; ChipChar[ch_no].sound[event][1] = sno2; ChipChar[ch_no].sound[event][2] = sno3; ChipChar[ch_no].sound[event][3] = sno4; ChipChar[ch_no].sflag = flag; ChipChar[ch_no].scnt = 0; for (i = 0; i < 4; i++) { if (ChipChar[ch_no].sound[event][i] == - 1) { break; } } ChipChar[ch_no].smax = i; } } //------------------------------------------------------------------------- BOOL AVG_SetPotaPota(int blood, int amount, int frame) { int i; BOOL ret = FALSE; static int step = 0; static int count = 0, count2 = 0; amount += 2; if (amount <= 0) { amount = 1; } frame -= 2; switch (step) { default: case 0: for (i = 0; i < GRP_BACK_CHIP; i++) { DSP_SetGraphDisp(GRP_BACK + i, OFF); } for (i = 0; i < GRP_CHAR_CHIP; i++) { if (ChipChar[i].flag) { DSP_SetGraphDisp(ChipChar[i].gno, OFF); } } DSP_LoadBmp(BMP_WEATHER + 0, BMP_256P, "e1000.bmp"); DSP_LoadBmp(BMP_WEATHER + 1, BMP_256P, "e1001.bmp"); DSP_LoadBmp(BMP_WEATHER + 2, BMP_256P, "e1002.bmp"); DSP_LoadBmp(BMP_WEATHER + 3, BMP_256P, "e1010.bmp"); DSP_LoadBmp(BMP_WEATHER + 4, BMP_256P, "e1011.bmp"); DSP_LoadBmp(BMP_WEATHER + 5, BMP_256P, "e1012.bmp"); DSP_LoadBmp(BMP_WEATHER + 6, BMP_256P, "e1020.bmp"); DSP_LoadBmp(BMP_WEATHER + 7, BMP_256P, "e1021.bmp"); DSP_LoadBmp(BMP_WEATHER + 8, BMP_256P, "e1022.bmp"); MainWindow.draw_flag = ON; step = 1; count = 0; count2 = 0; break; case 1: step = 2; case 2: if (1) { int width[3] = { 100, 248, 400 } ; int sx = 0, sy = 0; i = rand() % ((blood + 1) *3); DSP_SetGraph(GRP_WEATHER + count, BMP_WEATHER + i, 1, ON, CHK_ANTI); DSP_GetGraphBmpSize(GRP_WEATHER + count, &sx, &sy); DSP_SetGraphPos(GRP_WEATHER + count, rand() % 800-sx / 6, rand() % 600-sy / 2, 0, 0, sx / 3, sy); DSP_SetGraphParam(GRP_WEATHER + count, DRW_NML); DSP_SetGraphBright(GRP_WEATHER + count, 128, 0, 0); DSP_GetGraphBmpSize(GRP_WEATHER + (count - 1+100) % 100, &sx, &sy); DSP_SetGraphSMove(GRP_WEATHER + (count - 1+100) % 100, sx / 3, 0); DSP_GetGraphBmpSize(GRP_WEATHER + (count - 2+100) % 100, &sx, &sy); DSP_SetGraphSMove(GRP_WEATHER + (count - 2+100) % 100, sx / 3 * 2, 0); count = (count + 1) % 100; } count2++; if (count2 > frame) { step = 3; } break; case 3: for (i = 0; i < 9; i++) { DSP_ReleaseBmp(BMP_WEATHER + i); } for (i = 0; i < 100; i++) { DSP_ResetGraph(GRP_WEATHER + i); } step = 0; count = 0; count2 = 0; ret = TRUE; break; } return ret; }
[ "pspbter@13f3a943-b841-0410-bae6-1b2c8ac2799f" ]
[ [ [ 1, 1856 ] ] ]
c0c51ea4d63ccd7abf9670760b796ad5aebdf05e
8ddac2310fb59dfbfb9b19963e3e2f54e063c1a8
/Logiciel_PC/WishBoneMonitor/wbgraphdoc.h
62d740e2bc071a3f24f1a2bab3e9bfe2b1e9a515
[]
no_license
Julien1138/WishBoneMonitor
75efb53585acf4fd63e75fb1ea967004e6caa870
3062132ecd32cd0ffdd89e8a56711ae9a93a3c48
refs/heads/master
2021-01-12T08:25:34.115470
2011-05-02T16:35:54
2011-05-02T16:35:54
76,573,671
0
0
null
null
null
null
UTF-8
C++
false
false
1,698
h
#ifndef WBGRAPHDOC_H #define WBGRAPHDOC_H #include "WishBoneWidgetDoc.h" #include "WishBoneRegister.h" #include <QList> #include <QVector> #define WBGRAPH_WIDTH_MIN 350 #define WBGRAPH_HEIGHT_MIN 200 class WBGraphDoc : public WishBoneWidgetDoc { public: WBGraphDoc(MailBoxDriver* pMailBox); WBGraphDoc(const QString &Title , MailBoxDriver* pMailBox , int X = 0 , int Y = 0 , int Width = WBGRAPH_WIDTH_MIN , int Height = WBGRAPH_HEIGHT_MIN); ~WBGraphDoc(); WidgetType GetType(){return eGraph;} void Load(QSettings* pSettings, QList<WishBoneRegister*>* plistRegisters); void Save(QSettings* pSettings); void ClearRegisterList(); void AddRegister(WishBoneRegister* pRegister, QString CurveName); void UdpateTable(int Idx); void ResetTables(); WishBoneRegister* Register(int Idx); QString CurveName(int Idx); QVector<double>* ValueTab(int Idx); QVector<double>* DateTab(int Idx); int NbrOfCurves(){return m_RegisterList.count();} void SetRunningTime(double RunningTime){m_RunningTime = RunningTime;} double RunningTime(){return m_RunningTime;} double LatestDate(); private: QList<WishBoneRegister*> m_RegisterList; QList<QString> m_CurveNameList; QList<QVector<double>*> m_ValueTabList; QList<QVector<double>*> m_DateTabList; QList<short*> m_LastDateList; double m_RunningTime; }; #endif // WBGRAPHDOC_H
[ [ [ 1, 51 ] ] ]
13f3d727290c82b7925c6d312f3a5957226b3094
6e563096253fe45a51956dde69e96c73c5ed3c18
/Sockets/HttpdCookies.h
27ee089c095afd2cc9ac794ccd9846e7cc862b88
[]
no_license
15831944/phoebemail
0931b76a5c52324669f902176c8477e3bd69f9b1
e10140c36153aa00d0251f94bde576c16cab61bd
refs/heads/master
2023-03-16T00:47:40.484758
2010-10-11T02:31:02
2010-10-11T02:31:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,753
h
/** \file HttpdCookies.h */ /* Copyright (C) 2003-2009 Anders Hedstrom This library is made available under the terms of the GNU GPL, with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. If you would like to use this library in a closed-source application, a separate license agreement is available. For information about the closed-source license agreement for the C++ sockets library, please visit http://www.alhem.net/Sockets/license.html and/or email [email protected]. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef _SOCKETS_HttpdCookies_H #define _SOCKETS_HttpdCookies_H #include "sockets-config.h" #include <list> #include <string> #ifdef SOCKETS_NAMESPACE namespace SOCKETS_NAMESPACE { #endif //! Store the cookies name/value pairs. //! Retrieve and manage cookies during a cgi call. class HTTPSocket; /** HTTP Cookie parse/container class. \sa HttpdSocket \sa HttpdForm \ingroup webserver */ class HttpdCookies { /** list of key/value structs. */ typedef std::list<std::pair<std::string, std::string> > cookie_v; public: HttpdCookies(); HttpdCookies(const std::string& query_string); ~HttpdCookies(); void add(const std::string& s); bool getvalue(const std::string&,std::string&) const; void replacevalue(const std::string& ,const std::string& ); void replacevalue(const std::string& ,long); void replacevalue(const std::string& ,int); size_t getlength(const std::string& ) const; void setcookie(HTTPSocket *,const std::string& d,const std::string& p,const std::string& c,const std::string& v); void setcookie(HTTPSocket *,const std::string& d,const std::string& p,const std::string& c,long v); void setcookie(HTTPSocket *,const std::string& d,const std::string& p,const std::string& c,int v); const std::string& expiredatetime() const; cookie_v& GetHttpdCookies() { return m_cookies; } void Reset(); private: cookie_v m_cookies; mutable std::string m_date; }; #ifdef SOCKETS_NAMESPACE } #endif #endif // _SOCKETS_HttpdCookies_H
[ "guoqiao@a83c37f4-16cc-5f24-7598-dca3a346d5dd" ]
[ [ [ 1, 91 ] ] ]
6834f8a0654d5b7e437d0e7bd6172423908e27f2
d504537dae74273428d3aacd03b89357215f3d11
/src/Core/CoreString.cpp
cbba7fb7e46f175179d145bedfc5722703eeba80
[]
no_license
h0MER247/e6
1026bf9aabd5c11b84e358222d103aee829f62d7
f92546fd1fc53ba783d84e9edf5660fe19b739cc
refs/heads/master
2020-12-23T05:42:42.373786
2011-02-18T16:16:24
2011-02-18T16:16:24
237,055,477
1
0
null
2020-01-29T18:39:15
2020-01-29T18:39:14
null
UTF-8
C++
false
false
18,376
cpp
#include "../e6/e6_sys.h" #include "../e6/e6_prop.h" #include "../e6/e6_impl.h" #include "../e6/e6_enums.h" #include "../e6/e6_math.h" #include "../Core/CoreString.h" namespace Core { //template < class Super, class Impl, class Node > struct CNodeString : e6::Class< NodeString, CNodeString > { Core::Node * node; uint init( Core::Node * n ) { node =(n); $(); if ( ! n ) { printf( __FUNCTION__ " called wo. Node !\n" ); } return 1; } enum NPROPS { NUM_PROPS = 6 }; virtual uint numProps() { return NUM_PROPS; } virtual const char * getPropName(uint i) { static char * _s[] = { "name", "pos", "rot", "friction", "bounce","visible" }; assert(i<NUM_PROPS); return _s[i]; } virtual const char * getPropValue(uint i) { assert(i<NUM_PROPS); assert(node); switch( i ) { case 0: return node->getName(); case 1: return e6::toString( node->getPos() ); case 2: return e6::toString( node->getRot() ); //~ case 3: return e6::toString( node->getScale() ); case 3: return e6::toString( node->getFriction() ); case 4: return e6::toString( node->getBounce() ); case 5: return e6::toString( node->getVisibility() ); } return 0; } virtual const char * getPropType(uint i) { static char * _s[] = { "s", "f3", "f3", "f", "f", "i" }; assert(i<NUM_PROPS); return _s[i]; } virtual bool setPropValue(uint i, const char *s) { assert(i<NUM_PROPS); assert(node); switch( i ) { case 0: return (node->setName(s)>0); case 1: node->setPos( e6::stringToFloat3(s) ); return 1; case 2: node->setRot( e6::stringToFloat3(s) ); return 1; //~ case 3: node->setScale( e6::stringToFloat3(s) ); return 1; case 3: node->setFriction( e6::stringToFloat(s) ); return 1; case 4: node->setBounce( e6::stringToFloat(s) ); return 1; case 5: node->setVisibility( e6::stringToInt(s) ); return 1; } return 0; } }; struct CMeshString : e6::Class< MeshString, CMeshString > { CNodeString ns; Core::Mesh * mesh; uint size_node; uint size_mesh; uint init( Core::Mesh * m ) { ns.init(m); mesh = (m); $(); assert( m ); size_node = ns.numProps(); size_mesh = size_node + 2; return 1; } virtual uint numProps() { return size_mesh; } virtual const char * getPropName(uint i) { if(i>=size_mesh) return 0; if(i<size_node) return ns.getPropName(i); static char * _s[] = { "format", "nfaces" }; return _s[i-size_node]; } virtual const char * getPropValue(uint i) { if(i>=size_mesh) return 0; if(i<size_node) return ns.getPropValue(i); switch(i-size_node) { case 0: return e6::toString( mesh->format() ); case 1: return e6::toString( mesh->numFaces() ); } return 0; } virtual const char * getPropType(uint i) { if(i>=size_mesh) return 0; if(i<size_node) return ns.getPropType(i); static char * _s[] = { "i", "i" }; return _s[i-size_node]; } virtual bool setPropValue(uint i, const char *s) { if(i>=size_mesh) return 0; if(i<size_node) return ns.setPropValue(i,s); return 0; } }; struct CMeshVSString : e6::Class< MeshVSString, CMeshVSString > { Core::Mesh * mesh; uint count; uint off; uint nc; uint init( Core::Mesh * m ) { //$(); assert( m ); mesh = (m); nc = mesh->getNumVertexShaderConstants(); count = 32; off = 12; return 1; } virtual uint numProps() { nc = mesh->getNumVertexShaderConstants(); return count; } virtual const char * getPropName(uint i) { if(i>=count) return 0; static char _s[100]; sprintf( _s, "vs_%i",i+off); return _s; } virtual const char * getPropValue(uint i) { if(i>=count) return 0; for ( uint j=0; j<nc; j++ ) { Core::Shader::Constant *c = mesh->getVertexShaderConstant(j); if ( c->index == i+off ) return e6::toString( c->value ); } return ""; } virtual const char * getPropType(uint i) { return "f4"; } virtual bool setPropValue(uint i, const char *s) { if(i>=count) return 0; mesh->setVertexShaderConstant(i+off, e6::stringToFloat4(s)); return 1; } }; struct CMeshPSString : e6::Class< MeshPSString, CMeshPSString > { Core::Mesh * mesh; uint count; uint nc; uint off; uint init( Core::Mesh * m ) { // $(); assert( m ); mesh = (m); nc = mesh->getNumPixelShaderConstants(); count = 32; off = 0; return 1; } virtual uint numProps() { nc = mesh->getNumPixelShaderConstants(); return count; } virtual const char * getPropName(uint i) { if(i>=count) return 0; static char _s[100]; sprintf( _s, "ps_%i",i+off); return _s; } virtual const char * getPropValue(uint i) { if(i>=count) return 0; for ( uint j=0; j<nc; j++ ) { Core::Shader::Constant *c = mesh->getPixelShaderConstant(j); if ( c->index == i+off ) return e6::toString( c->value ); } return ""; } virtual const char * getPropType(uint i) { return "f4"; } virtual bool setPropValue(uint i, const char *s) { if(i>=count) return 0; mesh->setPixelShaderConstant(i+off, e6::stringToFloat4(s)); return 1; } }; struct CMeshRSString : e6::Class< MeshRSString, CMeshRSString > { Core::Mesh * mesh; uint count; uint init( Core::Mesh * m ) { // $(); assert( m ); mesh = (m); count = e6::RF_MAX; return 1; } virtual uint numProps() { return count; } virtual const char * getPropName(uint i) { if(i>=count) return 0; static char _s[100]; sprintf( _s, "rs_%i",i); return _s; } virtual const char * getPropValue(uint i) { if(i>=count) return 0; uint nc = mesh->getNumRenderStates(); for ( uint j=0; j<nc; j++ ) { Core::Shader::RenderState *c = mesh->getRenderState(j); if ( c->index == i ) return e6::toString( c->value ); } return ""; } virtual const char * getPropType(uint i) { return "i"; } virtual bool setPropValue(uint i, const char *s) { if(i>=count) return 0; mesh->setRenderState(i, e6::stringToInt(s)); return 1; } }; struct CEffectPassesString : e6::Class< EffectPassesString, CEffectPassesString > { Core::Effect * effect; uint nc; uint init( Core::Effect * e ) { //$(); assert( e ); effect = (e); nc = effect->numPasses(); return 1; } virtual uint numProps() { nc = effect->numPasses(); return nc; } virtual const char * getPropName(uint i) { if(i>=nc) return 0; static char *_s = 0, *_d=0; effect->getPass( i, &_s, &_d, &_d ); return _s; } virtual const char * getPropValue(uint i) { if(i>=nc) return 0; static char *_s = 0, *_d=0; effect->getPass( i, &_s, &_d, &_d ); return _d; } virtual const char * getPropType(uint i) { return "s"; } virtual bool setPropValue(uint i, const char *s) { return 0; } }; struct CEffectParamsString : e6::Class< EffectParamsString, CEffectParamsString > { Core::Effect * effect; uint nc; uint init( Core::Effect * e ) { //$(); assert( e ); effect = (e); nc = effect->numParams(); return 1; } virtual uint numProps() { nc = effect->numParams(); return nc; } virtual const char * getPropName(uint i) { if(i>=nc) return 0; static char *_s = 0; e6::float4x4 mat; effect->getParam( i, &_s, mat ); return _s; } virtual const char * getPropValue(uint i) { if(i>=nc) return 0; static char *_s = 0; e6::float4x4 mat; effect->getParam( i, &_s, mat ); return e6::toString( float4(mat) ); } virtual const char * getPropType(uint i) { return "f4"; } virtual bool setPropValue(uint i, const char *s) { return 0; } }; struct CCameraString : e6::Class< CameraString, CCameraString > { CNodeString ns; Core::Camera * cam; uint size_node; uint size_mesh; uint init( Core::Camera * m ) { ns.init(m); cam = (m); // $(); assert( m ); size_node = ns.numProps(); size_mesh = size_node + 3; return 1; } virtual uint numProps() { return size_mesh; } virtual const char * getPropName(uint i) { if(i>=size_mesh) return 0; if(i<size_node) return ns.getPropName(i); static char * _s[] = { "fov", "nearPlane", "farPlane" }; return _s[i-size_node]; } virtual const char * getPropValue(uint i) { if(i>=size_mesh) return 0; if(i<size_node) return ns.getPropValue(i); switch(i-size_node) { case 0: return e6::toString( cam->getFov() ); case 1: return e6::toString( cam->getNearPlane() ); case 2: return e6::toString( cam->getFarPlane() ); } return 0; } virtual const char * getPropType(uint i) { if(i>=size_mesh) return 0; if(i<size_node) return ns.getPropType(i); static char * _s[] = { "f", "f", "f" }; return _s[i-size_node]; } virtual bool setPropValue(uint i, const char *s) { if(i>=size_mesh) return 0; if(i<size_node) return ns.setPropValue(i,s); switch(i-size_node) { case 0: cam->setFov( e6::stringToFloat(s) ); return 1; case 1: cam->setNearPlane( e6::stringToFloat(s) ); return 1; case 2: cam->setFarPlane( e6::stringToFloat(s) ); return 1; } return 0; } }; struct CLightString : e6::Class< LightString, CLightString > { CNodeString ns; Core::Light * light; uint size_node; uint size_mesh; uint init( Core::Light * m ) { // $(); ns.init(m); light = m; assert( m ); size_node = ns.numProps(); size_mesh = size_node + 3; return 1; } virtual uint numProps() { return size_mesh; } virtual const char * getPropName(uint i) { if(i>=size_mesh) return 0; if(i<size_node) return ns.getPropName(i); static char * _s[] = { "type", "color", "dir" }; return _s[i-size_node]; } virtual const char * getPropValue(uint i) { if(i>=size_mesh) return 0; if(i<size_node) return ns.getPropValue(i); switch(i-size_node) { case 0: return e6::toString( light->getType() ); case 1: return e6::toString( light->getColor() ); case 2: return e6::toString( light->getDir() ); } return 0; } virtual const char * getPropType(uint i) { if(i>=size_mesh) return 0; if(i<size_node) return ns.getPropType(i); static char * _s[] = { "i", "f3", "f3" }; return _s[i-size_node]; } virtual bool setPropValue(uint i, const char *s) { if(i>=size_mesh) return 0; if(i<size_node) return ns.setPropValue(i,s); switch(i-size_node) { case 0: light->setType( e6::stringToInt(s) ); return 1; case 1: light->setColor( e6::stringToFloat3(s) ); return 1; case 2: light->setDir( e6::stringToFloat3(s) ); return 1; } return 0; } }; struct RSP { const char *name; uint key; }; RSP _rsp[] = { {"do_wire",e6::RF_WIRE} ,{"do_texture",e6::RF_TEXTURE} ,{"do_lighting",e6::RF_LIGHTING} ,{"do_cull",e6::RF_CULL} ,{"do_ccw",e6::RF_CCW} ,{"do_alpha",e6::RF_ALPHA} ,{"do_alphatest",e6::RF_ALPHA_TEST} ,{"do_ztest",e6::RF_ZTEST} ,{"do_zwrite",e6::RF_ZWRITE} ,{"do_clear",e6::RF_CLEAR_BUFFER} ,{"zb_depth",e6::RF_ZDEPTH} ,{"shading",e6::RF_SHADE} ,{"blend_src",e6::RF_SRCBLEND} ,{"blend_dst",e6::RF_DSTBLEND} ,{"bg_col",e6::RF_CLEAR_COLOR} ,{"ttl",e6::RF_TTL} ,{"sh_norms",e6::RF_NORMALS} ,{"hw_tex",e6::RF_NUM_HW_TEX} ,{"hw_vb",e6::RF_NUM_HW_VB} ,{"hw_vsh",e6::RF_NUM_HW_VSH} ,{"hw_psh",e6::RF_NUM_HW_PSH} }; enum RSP_NUM { RSP_SIZE = 21 }; struct CRenderString : e6::Class< RenderString, CRenderString > { Core::Renderer * renderer; uint init( Core::Renderer * re ) { renderer = (re); // $(); return 1; } virtual uint numProps() { return RSP_SIZE+1; } virtual const char * getPropName(uint i) { if ( !i ) return "name"; assert(i<RSP_SIZE+1); return _rsp[i-1].name; } virtual const char * getPropValue(uint i) { assert(renderer); if ( !i ) return renderer->getName(); assert(i<RSP_SIZE+1); uint v = renderer->get(_rsp[i-1].key); static char b[100]; char *fmt = ( (v>0xff) ? "0x%08x" : "%i" ); sprintf( b, fmt, v ); return b; //return e6::toString( renderer->get(_rsp[i-1].key) ); } virtual const char * getPropType(uint i) { if ( !i ) return "s"; return "u"; } virtual bool setPropValue(uint i, const char *s) { assert(renderer); if ( !i ) return (renderer->setName(s)>0); assert(i<RSP_SIZE+1); uint n=0; if ( ! sscanf(s,"%i",&n ) ) return 0; uint r = renderer->setRenderState( _rsp[i-1].key, n ); return r!=0; } }; } // Core e6::ClassInfo ClassInfo_NodeString = { "Core.NodeString", "Core", Core::CNodeString::createInterface, Core::CNodeString::classRef }; e6::ClassInfo ClassInfo_MeshString = { "Core.MeshString", "Core", Core::CMeshString::createInterface, Core::CMeshString::classRef }; e6::ClassInfo ClassInfo_MeshVSString = { "Core.MeshVSString", "Core", Core::CMeshVSString::createInterface, Core::CMeshVSString::classRef }; e6::ClassInfo ClassInfo_MeshPSString = { "Core.MeshPSString", "Core", Core::CMeshPSString::createInterface, Core::CMeshPSString::classRef }; e6::ClassInfo ClassInfo_MeshRSString = { "Core.MeshRSString", "Core", Core::CMeshRSString::createInterface, Core::CMeshRSString::classRef }; e6::ClassInfo ClassInfo_CameraString = { "Core.CameraString", "Core", Core::CCameraString::createInterface, Core::CCameraString::classRef }; e6::ClassInfo ClassInfo_LightString = { "Core.LightString", "Core", Core::CLightString::createInterface, Core::CLightString::classRef }; e6::ClassInfo ClassInfo_RenderString = { "Core.RenderString", "Core", Core::CRenderString::createInterface, Core::CRenderString::classRef };
[ [ [ 1, 605 ] ] ]
6037c5f36522a5db97b935f08739e916da15a66f
ea12fed4c32e9c7992956419eb3e2bace91f063a
/zombie/code/zombie/nluaserver/src/lua/ltable.cc
d27d635d1cd2ac1f5edcf96e332ad367352a47fd
[]
no_license
ugozapad/TheZombieEngine
832492930df28c28cd349673f79f3609b1fe7190
8e8c3e6225c2ed93e07287356def9fbdeacf3d6a
refs/heads/master
2020-04-30T11:35:36.258363
2011-02-24T14:18:43
2011-02-24T14:18:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,209
cc
/* ** $Id: ltable.cc,v 1.2 2004/03/26 00:39:30 enlight Exp $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ /* ** Implementation of tables (aka arrays, objects, or hash tables). ** Tables keep its elements in two parts: an array part and a hash part. ** Non-negative integer keys are all candidates to be kept in the array ** part. The actual size of the array is the largest `n' such that at ** least half the slots between 0 and n are in use. ** Hash uses a mix of chained scatter table with Brent's variation. ** A main invariant of these tables is that, if an element is not ** in its main position (i.e. the `original' position that its hash gives ** to it), then the colliding element is in its own main position. ** In other words, there are collisions only when two elements have the ** same main position (i.e. the same hash values for that table size). ** Because of that, the load factor of these tables can be 100% without ** performance penalties. */ #include <string.h> #define ltable_c #include "lua/lua.h" #include "lua/ldebug.h" #include "lua/ldo.h" #include "lua/lgc.h" #include "lua/lmem.h" #include "lua/lobject.h" #include "lua/lstate.h" #include "lua/ltable.h" /* ** max size of array part is 2^MAXBITS */ #if BITS_INT > 26 #define MAXBITS 24 #else #define MAXBITS (BITS_INT-2) #endif /* check whether `x' < 2^MAXBITS */ #define toobig(x) ((((x)-1) >> MAXBITS) != 0) /* function to convert a lua_Number to int (with any rounding method) */ #ifndef lua_number2int #define lua_number2int(i,n) ((i)=(int)(n)) #endif #define hashpow2(t,n) (gnode(t, lmod((n), sizenode(t)))) #define hashstr(t,str) hashpow2(t, (str)->tsv.hash) #define hashboolean(t,p) hashpow2(t, p) /* ** for some types, it is better to avoid modulus by power of 2, as ** they tend to have many 2 factors. */ #define hashmod(t,n) (gnode(t, ((n) % ((sizenode(t)-1)|1)))) #define hashpointer(t,p) hashmod(t, IntPoint(p)) /* ** number of ints inside a lua_Number */ #define numints cast(int, sizeof(lua_Number)/sizeof(int)) /* ** hash for lua_Numbers */ static Node *hashnum (const Table *t, lua_Number n) { unsigned int a[numints]; int i; n += 1; /* normalize number (avoid -0) */ lua_assert(sizeof(a) <= sizeof(n)); memcpy(a, &n, sizeof(a)); for (i = 1; i < numints; i++) a[0] += a[i]; return hashmod(t, cast(lu_hash, a[0])); } /* ** returns the `main' position of an element in a table (that is, the index ** of its hash value) */ Node *luaH_mainposition (const Table *t, const TObject *key) { switch (ttype(key)) { case LUA_TNUMBER: return hashnum(t, nvalue(key)); case LUA_TSTRING: return hashstr(t, tsvalue(key)); case LUA_TBOOLEAN: return hashboolean(t, bvalue(key)); case LUA_TLIGHTUSERDATA: return hashpointer(t, pvalue(key)); default: return hashpointer(t, gcvalue(key)); } } /* ** returns the index for `key' if `key' is an appropriate key to live in ** the array part of the table, -1 otherwise. */ static int arrayindex (const TObject *key) { if (ttisnumber(key)) { int k; lua_number2int(k, (nvalue(key))); if (cast(lua_Number, k) == nvalue(key) && k >= 1 && !toobig(k)) return k; } return -1; /* `key' did not match some condition */ } /* ** returns the index of a `key' for table traversals. First goes all ** elements in the array part, then elements in the hash part. The ** beginning and end of a traversal are signalled by -1. */ static int luaH_index (lua_State *L, Table *t, StkId key) { int i; if (ttisnil(key)) return -1; /* first iteration */ i = arrayindex(key); if (0 <= i && i <= t->sizearray) { /* is `key' inside array part? */ return i-1; /* yes; that's the index (corrected to C) */ } else { const TObject *v = luaH_get(t, key); if (v == &luaO_nilobject) luaG_runerror(L, "invalid key for `next'"); i = cast(int, (cast(const lu_byte *, v) - cast(const lu_byte *, gval(gnode(t, 0)))) / sizeof(Node)); return i + t->sizearray; /* hash elements are numbered after array ones */ } } int luaH_next (lua_State *L, Table *t, StkId key) { int i = luaH_index(L, t, key); /* find original element */ for (i++; i < t->sizearray; i++) { /* try first array part */ if (!ttisnil(&t->array[i])) { /* a non-nil value? */ setnvalue(key, cast(lua_Number, i+1)); setobj2s(key+1, &t->array[i]); return 1; } } for (i -= t->sizearray; i < sizenode(t); i++) { /* then hash part */ if (!ttisnil(gval(gnode(t, i)))) { /* a non-nil value? */ setobj2s(key, gkey(gnode(t, i))); setobj2s(key+1, gval(gnode(t, i))); return 1; } } return 0; /* no more elements */ } /* ** {============================================================= ** Rehash ** ============================================================== */ static void computesizes (int nums[], int ntotal, int *narray, int *nhash) { int i; int a = nums[0]; /* number of elements smaller than 2^i */ int na = a; /* number of elements to go to array part */ int n = (na == 0) ? -1 : 0; /* (log of) optimal size for array part */ for (i = 1; a < *narray && *narray >= twoto(i-1); i++) { if (nums[i] > 0) { a += nums[i]; if (a >= twoto(i-1)) { /* more than half elements in use? */ n = i; na = a; } } } lua_assert(na <= *narray && *narray <= ntotal); *nhash = ntotal - na; *narray = (n == -1) ? 0 : twoto(n); lua_assert(na <= *narray && na >= *narray/2); } static void numuse (const Table *t, int *narray, int *nhash) { int nums[MAXBITS+1]; int i, lg; int totaluse = 0; /* count elements in array part */ for (i=0, lg=0; lg<=MAXBITS; lg++) { /* for each slice [2^(lg-1) to 2^lg) */ int ttlg = twoto(lg); /* 2^lg */ if (ttlg > t->sizearray) { ttlg = t->sizearray; if (i >= ttlg) break; } nums[lg] = 0; for (; i<ttlg; i++) { if (!ttisnil(&t->array[i])) { nums[lg]++; totaluse++; } } } for (; lg<=MAXBITS; lg++) nums[lg] = 0; /* reset other counts */ *narray = totaluse; /* all previous uses were in array part */ /* count elements in hash part */ i = sizenode(t); while (i--) { Node *n = &t->node[i]; if (!ttisnil(gval(n))) { int k = arrayindex(gkey(n)); if (k >= 0) { /* is `key' an appropriate array index? */ nums[luaO_log2(k-1)+1]++; /* count as such */ (*narray)++; } totaluse++; } } computesizes(nums, totaluse, narray, nhash); } static void setarrayvector (lua_State *L, Table *t, int size) { int i; luaM_reallocvector(L, t->array, t->sizearray, size, TObject); for (i=t->sizearray; i<size; i++) setnilvalue(&t->array[i]); t->sizearray = size; } static void setnodevector (lua_State *L, Table *t, int lsize) { int i; int size = twoto(lsize); if (lsize > MAXBITS) luaG_runerror(L, "table overflow"); if (lsize == 0) { /* no elements to hash part? */ t->node = G(L)->dummynode; /* use common `dummynode' */ lua_assert(ttisnil(gkey(t->node))); /* assert invariants: */ lua_assert(ttisnil(gval(t->node))); lua_assert(t->node->next == NULL); /* (`dummynode' must be empty) */ } else { t->node = luaM_newvector(L, size, Node); for (i=0; i<size; i++) { t->node[i].next = NULL; setnilvalue(gkey(gnode(t, i))); setnilvalue(gval(gnode(t, i))); } } t->lsizenode = cast(lu_byte, lsize); t->firstfree = gnode(t, size-1); /* first free position to be used */ } static void resize (lua_State *L, Table *t, int nasize, int nhsize) { int i; int oldasize = t->sizearray; int oldhsize = t->lsizenode; Node *nold; Node temp[1]; if (oldhsize) nold = t->node; /* save old hash ... */ else { /* old hash is `dummynode' */ lua_assert(t->node == G(L)->dummynode); temp[0] = t->node[0]; /* copy it to `temp' */ nold = temp; setnilvalue(gkey(G(L)->dummynode)); /* restate invariant */ setnilvalue(gval(G(L)->dummynode)); lua_assert(G(L)->dummynode->next == NULL); } if (nasize > oldasize) /* array part must grow? */ setarrayvector(L, t, nasize); /* create new hash part with appropriate size */ setnodevector(L, t, nhsize); /* re-insert elements */ if (nasize < oldasize) { /* array part must shrink? */ t->sizearray = nasize; /* re-insert elements from vanishing slice */ for (i=nasize; i<oldasize; i++) { if (!ttisnil(&t->array[i])) setobjt2t(luaH_setnum(L, t, i+1), &t->array[i]); } /* shrink array */ luaM_reallocvector(L, t->array, oldasize, nasize, TObject); } /* re-insert elements in hash part */ for (i = twoto(oldhsize) - 1; i >= 0; i--) { Node *old = nold+i; if (!ttisnil(gval(old))) setobjt2t(luaH_set(L, t, gkey(old)), gval(old)); } if (oldhsize) luaM_freearray(L, nold, twoto(oldhsize), Node); /* free old array */ } static void rehash (lua_State *L, Table *t) { int nasize, nhsize; numuse(t, &nasize, &nhsize); /* compute new sizes for array and hash parts */ resize(L, t, nasize, luaO_log2(nhsize)+1); } /* ** }============================================================= */ Table *luaH_new (lua_State *L, int narray, int lnhash) { Table *t = luaM_new(L, Table); luaC_link(L, valtogco(t), LUA_TTABLE); t->metatable = hvalue(defaultmeta(L)); t->flags = cast(lu_byte, ~0); /* temporary values (kept only if some malloc fails) */ t->array = NULL; t->sizearray = 0; t->lsizenode = 0; t->node = NULL; setarrayvector(L, t, narray); setnodevector(L, t, lnhash); return t; } void luaH_free (lua_State *L, Table *t) { if (t->lsizenode) luaM_freearray(L, t->node, sizenode(t), Node); luaM_freearray(L, t->array, t->sizearray, TObject); luaM_freelem(L, t); } #if 0 /* ** try to remove an element from a hash table; cannot move any element ** (because gc can call `remove' during a table traversal) */ void luaH_remove (Table *t, Node *e) { Node *mp = luaH_mainposition(t, gkey(e)); if (e != mp) { /* element not in its main position? */ while (mp->next != e) mp = mp->next; /* find previous */ mp->next = e->next; /* remove `e' from its list */ } else { if (e->next != NULL) ?? } lua_assert(ttisnil(gval(node))); setnilvalue(gkey(e)); /* clear node `e' */ e->next = NULL; } #endif /* ** inserts a new key into a hash table; first, check whether key's main ** position is free. If not, check whether colliding node is in its main ** position or not: if it is not, move colliding node to an empty place and ** put new key in its main position; otherwise (colliding node is in its main ** position), new key goes to an empty position. */ static TObject *newkey (lua_State *L, Table *t, const TObject *key) { TObject *val; Node *mp = luaH_mainposition(t, key); if (!ttisnil(gval(mp))) { /* main position is not free? */ Node *othern = luaH_mainposition(t, gkey(mp)); /* `mp' of colliding node */ Node *n = t->firstfree; /* get a free place */ if (othern != mp) { /* is colliding node out of its main position? */ /* yes; move colliding node into free position */ while (othern->next != mp) othern = othern->next; /* find previous */ othern->next = n; /* redo the chain with `n' in place of `mp' */ *n = *mp; /* copy colliding node into free pos. (mp->next also goes) */ mp->next = NULL; /* now `mp' is free */ setnilvalue(gval(mp)); } else { /* colliding node is in its own main position */ /* new node will go into free position */ n->next = mp->next; /* chain new position */ mp->next = n; mp = n; } } setobj2t(gkey(mp), key); /* write barrier */ lua_assert(ttisnil(gval(mp))); for (;;) { /* correct `firstfree' */ if (ttisnil(gkey(t->firstfree))) return gval(mp); /* OK; table still has a free place */ else if (t->firstfree == t->node) break; /* cannot decrement from here */ else (t->firstfree)--; } /* no more free places; must create one */ setbvalue(gval(mp), 0); /* avoid new key being removed */ rehash(L, t); /* grow table */ val = cast(TObject *, luaH_get(t, key)); /* get new position */ lua_assert(ttisboolean(val)); setnilvalue(val); return val; } /* ** generic search function */ static const TObject *luaH_getany (Table *t, const TObject *key) { if (ttisnil(key)) return &luaO_nilobject; else { Node *n = luaH_mainposition(t, key); do { /* check whether `key' is somewhere in the chain */ if (luaO_rawequalObj(gkey(n), key)) return gval(n); /* that's it */ else n = n->next; } while (n); return &luaO_nilobject; } } /* ** search function for integers */ const TObject *luaH_getnum (Table *t, int key) { if (1 <= key && key <= t->sizearray) return &t->array[key-1]; else { lua_Number nk = cast(lua_Number, key); Node *n = hashnum(t, nk); do { /* check whether `key' is somewhere in the chain */ if (ttisnumber(gkey(n)) && nvalue(gkey(n)) == nk) return gval(n); /* that's it */ else n = n->next; } while (n); return &luaO_nilobject; } } /* ** search function for strings */ const TObject *luaH_getstr (Table *t, TString *key) { Node *n = hashstr(t, key); do { /* check whether `key' is somewhere in the chain */ if (ttisstring(gkey(n)) && tsvalue(gkey(n)) == key) return gval(n); /* that's it */ else n = n->next; } while (n); return &luaO_nilobject; } /* ** main search function */ const TObject *luaH_get (Table *t, const TObject *key) { switch (ttype(key)) { case LUA_TSTRING: return luaH_getstr(t, tsvalue(key)); case LUA_TNUMBER: { int k; lua_number2int(k, (nvalue(key))); if (cast(lua_Number, k) == nvalue(key)) /* is an integer index? */ return luaH_getnum(t, k); /* use specialized version */ /* else go through */ } default: return luaH_getany(t, key); } } TObject *luaH_set (lua_State *L, Table *t, const TObject *key) { const TObject *p = luaH_get(t, key); t->flags = 0; if (p != &luaO_nilobject) return cast(TObject *, p); else { if (ttisnil(key)) luaG_runerror(L, "table index is nil"); else if (ttisnumber(key) && nvalue(key) != nvalue(key)) luaG_runerror(L, "table index is NaN"); return newkey(L, t, key); } } TObject *luaH_setnum (lua_State *L, Table *t, int key) { const TObject *p = luaH_getnum(t, key); if (p != &luaO_nilobject) return cast(TObject *, p); else { TObject k; setnvalue(&k, cast(lua_Number, key)); return newkey(L, t, &k); } }
[ "magarcias@c1fa4281-9647-0410-8f2c-f027dd5e0a91" ]
[ [ [ 1, 509 ] ] ]
aad70b5fff760492cac7066be609e002bf81ae29
191d4160cba9d00fce9041a1cc09f17b4b027df5
/ZeroLag2/ZeroLag/RunManageUIHandler.cpp
6b103a4105890216dcc9929d146b9010475ff621
[]
no_license
zapline/zero-lag
f71d35efd7b2f884566a45b5c1dc6c7eec6577dd
1651f264c6d2dc64e4bdcb6529fb6280bbbfbcf4
refs/heads/master
2021-01-22T16:45:46.430952
2011-05-07T13:22:52
2011-05-07T13:22:52
32,774,187
3
2
null
null
null
null
GB18030
C++
false
false
2,337
cpp
#include "RunManageUIHandler.h" #include "stdafx.h" #include "MainWnd.h" void CRunManageUIHandler::init(CMainWnd *p) { pMain = p; if( !RunTree.Create( pMain->GetViewHWND(), 3001 ) ) { CKuiMsgBox::Show( _T("无法初始化树控件") ); } else { scan(); } } CRunManageUIHandler::CRunManageUIHandler(void) { } CRunManageUIHandler::~CRunManageUIHandler(void) { } void CRunManageUIHandler::scan() { RunTree.DeleteAllItems(); pMain->SetItemVisible(3101,FALSE); //0为全部扫描完毕 ThreadStatus = 2; ht0 = RunTree.InsertItem( _T("注册表启动项"), NULL, NULL, KUIMulStatusTree::EM_TVIS_UNCHECK ); ht1 = RunTree.InsertItem( _T("文件夹启动项"), NULL, NULL, KUIMulStatusTree::EM_TVIS_UNCHECK ); RunManage = new CRunManage(); RunManage->init(); hThread1 = CreateThread(0,0,(LPTHREAD_START_ROUTINE)ScanRegRunThread,this,0,0); hThread2 = CreateThread(0,0,(LPTHREAD_START_ROUTINE)ScanDirRunThread,this,0,0); } void CRunManageUIHandler::OnRunScan() { scan(); } void ScanRegRunThread(LPVOID param) { CRunManageUIHandler *p = (CRunManageUIHandler *)param; CString temp; int count = p->RunManage->RegEnumer->GetCount(); if (count == 0) { p->RunTree.InsertItem( _T("无开机启动项"), p->ht0, NULL, KUIMulStatusTree::EM_TVIS_UNCHECK ); } else { for (int i=0;i<count;i++) { temp.Format("%s", p->RunManage->RegEnumer->GetItem(i).strPath); p->RunTree.InsertItem(temp, p->ht0, NULL, KUIMulStatusTree::EM_TVIS_UNCHECK ); } } if (--(p->ThreadStatus) == 0) { p->pMain->SetItemVisible(3101,TRUE); delete p->RunManage; } CloseHandle(p->hThread1); } void ScanDirRunThread(LPVOID param) { CRunManageUIHandler *p = (CRunManageUIHandler *)param; CString temp; int count = p->RunManage->DirEnumer->GetCount(); if (count == 0) { p->RunTree.InsertItem( _T("无开机启动项"), p->ht1, NULL, KUIMulStatusTree::EM_TVIS_UNCHECK ); } else { for (int i=0;i<count;i++) { temp.Format("%s", p->RunManage->DirEnumer->GetItem(i).strParam); p->RunTree.InsertItem(temp, p->ht1, NULL, KUIMulStatusTree::EM_TVIS_UNCHECK ); } } if (--(p->ThreadStatus) == 0) { p->pMain->SetItemVisible(3101,TRUE); delete p->RunManage; } CloseHandle(p->hThread2); }
[ "Administrator@PC-200201010241" ]
[ [ [ 1, 105 ] ] ]
903146d008911197ecbd1bf6bfe9a31582821e9e
7fced82282613b8478f4a5658df76880c8865966
/topographic/src/tracker.cpp
6e2b9d0dcc34168e3ae681267cb3498294e3869a
[]
no_license
ddcien/uhiris
fb2bc03c8067c720dae8a7c8cfa40abcb4c9588f
72913920b9f3d6266c4d388e47caeba1784709eb
refs/heads/master
2021-01-12T13:10:47.994837
2010-08-05T04:17:51
2010-08-05T04:17:51
41,521,381
1
0
null
null
null
null
UTF-8
C++
false
false
11,382
cpp
#include "tracker.h" #include <iostream> #include "differential.h" #include "utility.h" #include "SvmLightLib.h" #include "highgui.h" using std::cout; using std::endl; const double Tracker::myeps_ = 10e-6; Tracker::Tracker() { /** Generate filters */ Differential filters(Differential::SAVGOLMATHWORK); filters.ComputeFilterSet(); h10_ = filters.get_h10(); h20_ = filters.get_h20(); h01_ = filters.get_h01(); h11_ = filters.get_h11(); h02_ = filters.get_h02(); /** Empirically set thresholds */ t_mag_ = 1.4; t_ev_ = 1; t_ge_ = 0; if( (svm_model_ = svm_load_model("my_libsvm_training.model")) == NULL) { //cout << "Cannot load SVM model from iris.model." << endl; svm_nodes_ = NULL; } else svm_nodes_ = new svm_node[13]; svmlight_model_ = -1; svmlight_model_ = SVM::LoadModel("RBFmodel.txt"); } Tracker::~Tracker() { if (svm_model_ != NULL) svm_destroy_model(svm_model_); if (svm_nodes_ != NULL) delete [] svm_nodes_; if (svmlight_model_ != -1) SVM::DeleteModel(svmlight_model_); } void Tracker::InitializeFrame( Mat input, vector<Point> &eyes) { eyes.clear(); Mat labels = GenerateLabelMap(input, eyes); CleanUpEyeVector(eyes); Classification(labels, eyes); } Tracker::Topographic Tracker::TopographicClassification( Mat grad, double eval1, double eval2, Mat evec1, Mat evec2 ) { double mag = norm(grad); if (mag < t_mag_ && eval1 < -1*t_ev_ && eval2 < -1*t_ev_) return PEAK; else if (mag < t_mag_ && eval1 > t_ev_ && eval2 > t_ev_) return PIT; else if (mag < t_mag_ && eval1 * eval2 < 0) { if (eval1 + eval2 < 0) return RIDGESADDLE; else return RAVINESADDLE; } else if ((mag >= t_mag_ && eval1 < -1 * t_ev_ && fabs(grad.dot(evec1)) < t_ge_) || (mag >= t_mag_ && eval2 < -1 * t_ev_ && fabs(grad.dot(evec2)) < t_ge_) || (mag < t_mag_ && eval1 < -1 * t_ev_ && fabs(eval2) <= t_ev_) || (mag < t_mag_ && fabs(eval1) <= t_ev_ && eval2 < -1 * t_ev_)) return RIDGE; else if ((mag >= t_mag_ && eval1 > t_ev_ && fabs(grad.dot(evec1)) < t_ge_) || (mag >= t_mag_ && eval2 > t_ev_ && fabs(grad.dot(evec2)) < t_ge_) || (mag < t_mag_ && eval1 > t_ev_ && fabs(eval2) <= t_ev_) || (mag < t_mag_ && fabs(eval1) <= t_ev_ && eval2 > t_ev_)) return RAVINE; else if (mag < t_mag_ && fabs(eval1) <= t_ev_ && fabs(eval2) <= t_ev_) return FLAT; else if ((fabs(grad.dot(evec1)) >= t_ge_ && fabs(grad.dot(evec2)) >= t_ge_) || (fabs(grad.dot(evec1)) >= t_ge_ && fabs(eval2) <= t_ev_) || (fabs(grad.dot(evec2)) >= t_ge_ && fabs(eval1) <= t_ev_) || (mag >= t_mag_ && fabs(eval1) <= t_ev_ && fabs(eval2) <= t_ev_)) { if (fabs(eval1) <= t_ev_ && fabs(eval2) <= t_ev_) return SLOPEHILL; else if ((eval1 > 0 && eval2 >= 0) || (eval1 >= 0 && eval2 > 0)) return CONVEXHILL; else if ((eval1 < 0 && eval2 <= 0) || (eval1 <= 0 && eval2 < 0)) return CONCAVEHILL; else if (eval1 * eval2 < 0) { if (eval1 + eval2 < 0) return CONVEXSADDLEHILL; else return CONCAVESADDLEHILL; } } else return UNKNOWN; } void Tracker::CleanUpEyeVector( vector<Point> &eyes ) { if (eyes.empty()) return; vector<Point> clean; int ub = eyes.size(); Mat examined(ub, ub, CV_8UC1, Scalar(0)); int *mask = new int [ub]; memset(mask, 0, ub*sizeof(*mask)); for (int i = 0; i < ub; ++i) { examined.at<uchar>(i,i) = 1; for (int j = 0; j < ub; ++j) { if (mask[j] || examined.at<uchar>(i,j)) continue; examined.at<uchar>(i,j) = 1; examined.at<uchar>(j,i) = 1; if (EuclideanDistance(eyes[i], eyes[j]) < 3) mask[j] = 1; } } for (int i = 0; i < ub; ++i) if (!mask[i]) clean.push_back(eyes[i]); eyes = clean; delete [] mask; } void Tracker::Classification( const Mat& labels, vector<Point> &eyes ) { if (eyes.empty()) return; vector<Point> output; int num_of_candidates = eyes.size(); Mat examined(num_of_candidates, num_of_candidates, CV_8UC1, Scalar(0)); /** prepare the histogram */ int hist_size = 12; float hist_range[] = {1, 13}; float* ranges[] = {hist_range}; CvHistogram *hist; hist = cvCreateHist(1, &hist_size, CV_HIST_ARRAY, ranges, 1); ///// //Mat label_map, tmp; //labels.convertTo(tmp, CV_8UC1); //namedWindow("Label Map", CV_WINDOW_AUTOSIZE); //equalizeHist(tmp, label_map); //imshow("Label Map", label_map); ///// for (int i = 0; i < num_of_candidates; ++i) { Point current = eyes[i]; examined.at<uchar>(i,i) = 1; for (int j = 0; j < num_of_candidates; ++j) { if (examined.at<uchar>(i,j)) continue; examined.at<uchar>(i,j) = 1; examined.at<uchar>(j,i) = 1; Point target = eyes[j]; float dist = EuclideanDistance(current, target); /** arguable thresholds for different face scales */ if (dist < 120 && dist > 40) { float theta = -1 * atan2(static_cast<float>(current.x-target.x), static_cast<float>(current.y-target.y)); Mat current_patch = GetPatch(labels, current, dist, theta); Mat target_patch = GetPatch(labels, target, dist, theta); Mat current_hist = GetHistogram(current_patch, hist); Mat target_hist = GetHistogram(target_patch, hist); if (CheckSVMLIGHT(current_hist)) { //cout << "This is an eye." << endl; output.push_back(current); } if (CheckSVMLIGHT(target_hist)) { //cout << "This is an eye." << endl; output.push_back(target); } } } } cvReleaseHist(&hist); eyes = output; } inline float Tracker::EuclideanDistance( const Point& p1, const Point& p2 ) { return sqrt(pow(static_cast<float>(p1.x - p2.x), 2) + pow(static_cast<float>(p1.y - p2.y), 2)); } cv::Mat Tracker::GetPatch(const Mat& whole, const Point& center, float dist, float theta ) { int rows = whole.rows; int cols = whole.cols; /** patch size*/ int rect_w = static_cast<int>(0.6 * dist + 0.5); int rect_h = static_cast<int>(0.3 * dist + 0.5); Mat patch(rect_h, rect_w, whole.type(), Scalar(0)); for (int r = 0; r < rect_h; ++r) for (int c = 0; c < rect_w; ++c) { int old_c = static_cast<int>((r-rect_h/2.0f) * cos(theta) - (c-rect_w/2.0f) * sin(theta) + center.x + 0.5); int old_r = static_cast<int>((c-rect_w/2.0f) * cos(theta) + (r-rect_h/2.0f) * sin(theta) + center.y + 0.5); if (old_r < cols && old_r >= 0 && old_c < rows && old_c >= 0) patch.at<float>(r, c) = whole.at<float>(old_c, old_r); } return patch; } cv::Mat Tracker::GetHistogram( const Mat& input, CvHistogram* hist ) { IplImage *img = &(IplImage(input)); cvCalcHist(&img, hist, 0, NULL); cvNormalizeHist(hist, 1); MatND hist_MatND(&(hist->mat)); Mat hist_Mat = Mat(hist_MatND); return hist_Mat; } bool Tracker::CheckLIBSVM( const Mat& hist ) { if (svm_model_ == NULL) return false; int ub = hist.rows; for (int i = 0; i < ub; ++i) { svm_nodes_[i].index = i; svm_nodes_[i].value = hist.at<float>(i,0); } svm_nodes_[ub].index = -1; bool res = svm_predict(svm_model_, svm_nodes_) == 1; return res; } bool Tracker::CheckSVMLIGHT( const Mat& hist ) { int features[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; float weights[12]; for (int i = 0; i < 12; ++i) weights[i] = hist.at<float>(i,0); int id = SVM::NewFeatureVector(12, features, weights, 0.0); SVM::Classify(svmlight_model_, 1, &id); double label = SVM::GetFeatureVectorClassifScore(id, 0); return (label > 0? 1: label < 0? -1 : 0); } void Tracker::TrackEyes( Mat input, vector<Point> &eyes ) { int rows = input.rows; int cols = input.cols; int num_of_points = eyes.size(); int halfsize = 32; vector<Point> pits; vector<Point> new_eyes; //cout << "Eyes: " << endl; for (int i = 0; i < num_of_points; ++i) { Point current = eyes[i]; //cout << eyes[i].x << " " << eyes[i].y << endl; int row_start, row_end, col_start, col_end; current.x - halfsize < 0 ? row_start = 0 : row_start = current.x - halfsize; current.x + halfsize >= rows ? row_end = rows - 1 : row_end = current.x + halfsize; current.y - halfsize < 0 ? col_start = 0 : col_start = current.y - halfsize; current.y + halfsize >= cols ? col_end = cols - 1 : col_end = current.y + halfsize; Range row_range(row_start, row_end); Range col_range(col_start, col_end); Mat roi(input, row_range, col_range); Mat labels = GenerateLabelMap(roi, pits); for (int j = 0; j < pits.size(); ++j) new_eyes.push_back(Point(pits[j].x+row_start, pits[j].y+col_start)); pits.clear(); } CleanUpEyeVector(new_eyes); //cout << "New Eyes: " << endl; //for (int i = 0; i < new_eyes.size(); ++i) // cout << new_eyes[i].x << " " << new_eyes[i].y << endl; eyes = new_eyes; } cv::Mat Tracker::GenerateLabelMap( Mat input, vector<Point> &pits ) { Mat img, tmp, gray; if (input.channels() == 3) { cvtColor(input, tmp, CV_RGB2GRAY); tmp.convertTo(gray, CV_64FC1); } else input.convertTo(gray, CV_64FC1); /** By applying Gaussian Blur twice, many false detections (most likely due to noise) can be eliminated. However, at the same time we comprised the robustness against pose changes: if the eye is close to the facial boundary, it will be smoothed out (blend into the background). Applying smoothing only once has the opposite effect. Hence there is a trade-off here. */ GaussianBlur(gray, tmp, Size(15, 15), 2.5); GaussianBlur(tmp, img, Size(15, 15), 2.5); Mat f20x, f11xy, f02y, f10x, f01y; filter2D(img, f10x, -1, h10_); filter2D(img, f20x, -1, h20_); filter2D(img, f01y, -1, h01_); filter2D(img, f11xy, -1, h11_); filter2D(img, f02y, -1, h02_); //Dump2DMatrix("f10x.txt", f10x, CV_64FC1); //Dump2DMatrix("f20x.txt", f20x, CV_64FC1); //Dump2DMatrix("f01y.txt", f01y, CV_64FC1); //Dump2DMatrix("f11xy.txt", f11xy, CV_64FC1); //Dump2DMatrix("f02y.txt", f02y, CV_64FC1); Mat labels(img.rows, img.cols, CV_32FC1); Mat hessian(2, 2, CV_64FC1); for (int i = 0; i < img.rows; ++i) for (int j = 0; j < img.cols; ++j) { /** remove small values ... or not */ double f10, f20, f01, f11, f02; //f10x.at<double>(i,j) < myeps ? f10 = 0 : f10 = f10x.at<double>(i,j); //f20x.at<double>(i,j) < myeps ? f20 = 0 : f20 = f20x.at<double>(i,j); //f01y.at<double>(i,j) < myeps ? f01 = 0 : f01 = f01y.at<double>(i,j); //f11xy.at<double>(i,j) < myeps ? f11 = 0 : f11 = f11xy.at<double>(i,j); //f02y.at<double>(i,j) < myeps ? f02 = 0 : f02 = f02y.at<double>(i,j); Mat eigenvalues, eigenvectors; hessian.at<double>(0,0) = f20; hessian.at<double>(0,1) = f11; hessian.at<double>(1,0) = f11; hessian.at<double>(1,1) = f02; //PrintMat(&CvMat(hessian)); eigen(hessian, eigenvalues, eigenvectors); Mat grad(1, 2, CV_64FC1); grad.at<double>(0, 0) = f10; grad.at<double>(0, 1) = f01; double eval1 = eigenvalues.at<double>(0,0); double eval2 = eigenvalues.at<double>(1,0); //PrintMat(&CvMat(eigenvectors)); Mat evec1 = eigenvectors.row(0); //PrintMat(&CvMat(evec1)); Mat evec2 = eigenvectors.row(1); //PrintMat(&CvMat(evec2)); Topographic label = TopographicClassification(grad, eval1, eval2, evec1, evec2); if (label == PIT) pits.push_back(Point(i,j)); labels.at<float>(i,j) = label; } return labels; }
[ "airfang613@1fd97272-c059-11de-8907-fd8f2f62d6ab" ]
[ [ [ 1, 362 ] ] ]
f1e2f87b973bc5bbb45fe64b45b7b5796c439262
b22c254d7670522ec2caa61c998f8741b1da9388
/GameServer/MainClientThread.cpp
e0e7d519838be864647a43e4282d89009d6d9303
[]
no_license
ldaehler/lbanet
341ddc4b62ef2df0a167caff46c2075fdfc85f5c
ecb54fc6fd691f1be3bae03681e355a225f92418
refs/heads/master
2021-01-23T13:17:19.963262
2011-03-22T21:49:52
2011-03-22T21:49:52
39,529,945
0
1
null
null
null
null
UTF-8
C++
false
false
2,811
cpp
/* ------------------------[ Lbanet Source ]------------------------- Copyright (C) 2009 Author: Vivien Delage [Rincevent_123] Email : [email protected] -------------------------------[ GNU License ]------------------------------- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. ----------------------------------------------------------------------------- */ #include "MainClientThread.h" #include "MainServerclient.h" #define _CUR_LBANET_SERVER_VERSION_ "v0.8" /*********************************************************************** * Constructor ***********************************************************************/ MainClientThread::MainClientThread(const std::string & MainAddress, const std::string & GameServerName, const std::string & GameServerAddress, bool Advertize) : _continue(true), _GameServerName(GameServerName), _GameServerAddress(GameServerAddress), _Advertize(Advertize) { _client = new MainServerClient(30, 200, this); _client->ConnectToServer(MainAddress, "GameServer", "GM2SVL2x", _CUR_LBANET_SERVER_VERSION_); } /*********************************************************************** * destructor ***********************************************************************/ MainClientThread::~MainClientThread() { } /*********************************************************************** * run function ***********************************************************************/ void MainClientThread::Run() { while(_continue) { _client->ZCom_processInput( eZCom_NoBlock ); //process internal stuff _client->Process(); // do advertizement if(_Advertize) _client->Advertize(_GameServerName, _GameServerAddress); else _client->Deadvertize(_GameServerName); // outstanding data will be packed up and sent from here _client->ZCom_processOutput(); // sleep a bit ZoidCom::Sleep(200); } _client->CloseConnection(); delete _client; } /*********************************************************************** * received aknowledgement ***********************************************************************/ void MainClientThread::Aknowldeged(bool Ok) { _continue = false; }
[ "vdelage@3806491c-8dad-11de-9a8c-6d5b7d1e4d13" ]
[ [ [ 1, 89 ] ] ]
41191219ff6093edf20e0de55551cf42928f2e30
222bc22cb0330b694d2c3b0f4b866d726fd29c72
/src/nv38box/RaytracerRForce/KernelRayGenerator.h
4e9ec39f2bd670ecd25c6768b7125d79da92b4f1
[ "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-unknown-license-reference" ]
permissive
darwin/inferno
02acd3d05ca4c092aa4006b028a843ac04b551b1
e87017763abae0cfe09d47987f5f6ac37c4f073d
refs/heads/master
2021-03-12T22:15:47.889580
2009-04-17T13:29:39
2009-04-17T13:29:39
178,477
2
0
null
null
null
null
WINDOWS-1252
C++
false
false
1,229
h
// NV38Box (http://inferno.hildebrand.cz) // Copyright (c) 2004 Antonin Hildebrand // licensed under zlib/libpng license (see license.txt) // released in Shader Triathlon – Summer 2004 ("Contest") /*! \addtogroup RForce @{ \ingroup Raytracers */ /*! \file KernelRayGenerator.h \brief Declaration of KernelRayGenerator class. */ #ifndef _KERNELRAYGENERATOR_H_ #define _KERNELRAYGENERATOR_H_ #include "Kernel.h" //! Enum for RayGenerator kernel modes enum E_KERNEL_RAYGENERATOR_MODE { KERNEL_RAYGENERATOR_MODE_RAYSTARTS = 0, KERNEL_RAYGENERATOR_MODE_RAYENDS, KERNEL_RAYGENERATOR_MODE_COUNT }; //! Class managing RayGenerator kernel. /*! RayGenerator kernel is responsible for generating data for new rays. <b>Mode KERNEL_RAYGENERATOR_MODE_RAYSTARTS</b><br> Program returns ray start in world space coordinates. <b>Mode KERNEL_RAYGENERATOR_MODE_RAYENDS</b><br> Program returns ray end in world space coordinates. */ class KernelRayGenerator : public Kernel { public: //! KernelBVBuilder constructor. KernelRayGenerator (); //! Loads programs from disk and prepares kernel. virtual bool Prepare(); }; #endif //! @} //doxygen group
[ [ [ 1, 49 ] ] ]
cef239dc2b0e3f70638424f6edccb31b70fb6381
317f62189c63646f81198d1692bed708d8f18497
/common/network/components/router/power/router_power_model_orion.h
228609b41d3a7f92dac643997ec9a184f2acacba
[ "MIT" ]
permissive
mit-carbon/Graphite-Cycle-Level
8fb41d5968e0a373fd4adbf0ad400a9aa5c10c90
db3f1e986ddc10f3e5f3a5d4b68bd6a9885969b3
refs/heads/master
2021-01-25T07:08:46.628355
2011-11-23T08:53:18
2011-11-23T08:53:18
1,930,686
1
0
null
null
null
null
UTF-8
C++
false
false
3,681
h
#pragma once #include "router_power_model.h" #include "contrib/orion/orion.h" class RouterPowerModelOrion : public RouterPowerModel { public: RouterPowerModelOrion(UInt32 num_input_ports, UInt32 num_output_ports, \ UInt32 input_buffer_size, UInt32 flit_width); ~RouterPowerModelOrion(); // Update Dynamic Energy void updateDynamicEnergyBuffer(BufferAccess::type_t buffer_access_type, UInt32 num_bit_flips, UInt32 num_flits = 1) { bool is_read = (buffer_access_type == BufferAccess::READ) ? true : false; volatile double dynamic_energy_buffer = _orion_router->calc_dynamic_energy_buf(is_read); _total_dynamic_energy_buffer += (num_flits * dynamic_energy_buffer); } void updateDynamicEnergyCrossbar(UInt32 num_bit_flips, UInt32 num_flits = 1) { volatile double dynamic_energy_crossbar = _orion_router->calc_dynamic_energy_xbar(); _total_dynamic_energy_crossbar += (num_flits * dynamic_energy_crossbar); } void updateDynamicEnergySwitchAllocator(UInt32 num_requests, UInt32 num_flits = 1) { volatile double dynamic_energy_switch_allocator = _orion_router->calc_dynamic_energy_global_sw_arb(num_requests); _total_dynamic_energy_switch_allocator += (num_flits * dynamic_energy_switch_allocator); } void updateDynamicEnergyClock(UInt32 num_flits = 1) { volatile double dynamic_energy_clock = _orion_router->calc_dynamic_energy_clock(); _total_dynamic_energy_clock += (num_flits * dynamic_energy_clock); } void updateDynamicEnergy(UInt32 num_bit_flips, UInt32 num_flits = 1) { updateDynamicEnergyBuffer(BufferAccess::WRITE, num_bit_flips, num_flits); updateDynamicEnergyBuffer(BufferAccess::READ, num_bit_flips, num_flits); updateDynamicEnergySwitchAllocator(_num_input_ports/2); updateDynamicEnergyCrossbar(num_bit_flips, num_flits); updateDynamicEnergyClock(3 * num_flits + 1); } // Get Dynamic Energy volatile double getDynamicEnergyBuffer() { return _total_dynamic_energy_buffer; } volatile double getDynamicEnergyCrossbar() { return _total_dynamic_energy_crossbar; } volatile double getDynamicEnergySwitchAllocator() { return _total_dynamic_energy_switch_allocator; } volatile double getDynamicEnergyClock() { return _total_dynamic_energy_clock; } volatile double getTotalDynamicEnergy() { return (_total_dynamic_energy_buffer + _total_dynamic_energy_crossbar + _total_dynamic_energy_switch_allocator + _total_dynamic_energy_clock); } // Static Power volatile double getStaticPowerBuffer() { return _orion_router->get_static_power_buf(); } volatile double getStaticPowerBufferCrossbar() { return _orion_router->get_static_power_xbar(); } volatile double getStaticPowerSwitchAllocator() { return _orion_router->get_static_power_sa(); } volatile double getStaticPowerClock() { return _orion_router->get_static_power_clock(); } volatile double getTotalStaticPower() { return (_orion_router->get_static_power_buf() + _orion_router->get_static_power_xbar() + _orion_router->get_static_power_sa() + _orion_router->get_static_power_clock()); } // Reset Counters void resetCounters() { initializeCounters(); } private: OrionRouter* _orion_router; volatile double _total_dynamic_energy_buffer; volatile double _total_dynamic_energy_crossbar; volatile double _total_dynamic_energy_switch_allocator; volatile double _total_dynamic_energy_clock; // Private Functions void initializeCounters(); };
[ [ [ 1, 92 ] ] ]
3a315c54dbbbb2a9c1648c10b3058756c4c68996
1493997bb11718d3c18c6632b6dd010535f742f5
/freetype/stdafx.cpp
58b0ac28f16a4f22b672e2720a82f5bb2cee7ab9
[]
no_license
kovrov/scrap
cd0cf2c98a62d5af6e4206a2cab7bb8e4560b168
b0f38d95dd4acd89c832188265dece4d91383bbb
refs/heads/master
2021-01-20T12:21:34.742007
2010-01-12T19:53:23
2010-01-12T19:53:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
295
cpp
// stdafx.cpp : source file that includes just the standard includes // example1.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file
[ [ [ 1, 8 ] ] ]
d35001a4bf65cb443e4a34c6dfd21bd552535487
198faaa66e25fb612798ee7eecd1996f77f56cf8
/Console/DlgSettingsMain.cpp
76b36307950e3a805f957931abe56d9372fc5a03
[]
no_license
atsuoishimoto/console2-ime-old
bb83043d942d91b1835acefa94ce7e1f679a9e41
85e7909761fde64e4de3687e49b1e1457d1571dd
refs/heads/master
2021-01-17T17:21:35.221688
2011-05-27T04:06:14
2011-05-27T04:06:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,549
cpp
#include "stdafx.h" #include "resource.h" #include "XmlHelper.h" #include "DlgSettingsConsole.h" #include "DlgSettingsAppearance.h" #include "DlgSettingsStyles.h" #include "DlgSettingsBehavior.h" #include "DlgSettingsHotkeys.h" #include "DlgSettingsMouse.h" #include "DlgSettingsTabs.h" #include "DlgSettingsMain.h" ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// DlgSettingsMain::DlgSettingsMain() : m_strSettingsFileName(L"") , m_treeCtrl() , m_settingsDlgMap() , m_pSettingsDocument() , m_pSettingsRoot() { } ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// LRESULT DlgSettingsMain::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) { HRESULT hr = S_OK; hr = XmlHelper::OpenXmlDocument( g_settingsHandler->GetSettingsFileName(), m_pSettingsDocument, m_pSettingsRoot); if (FAILED(hr)) return FALSE; m_treeCtrl.Attach(GetDlgItem(IDC_TREE_SECTIONS)); m_checkUserDataDir.Attach(GetDlgItem(IDC_CHECK_USER_DATA_DIR)); m_checkUserDataDir.SetCheck((g_settingsHandler->GetSettingsDirType() == SettingsHandler::dirTypeUser) ? 1 : 0); if (g_settingsHandler->GetSettingsDirType() == SettingsHandler::dirTypeCustom) m_checkUserDataDir.EnableWindow(FALSE); CreateSettingsTree(); return TRUE; } ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// LRESULT DlgSettingsMain::OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) { SettingsDlgsMap::iterator it = m_settingsDlgMap.begin(); for (; it != m_settingsDlgMap.end(); ++it) { (it->second)->SendMessage(WM_COMMAND, wID, 0); } if (wID == IDOK) { if (m_checkUserDataDir.IsWindowEnabled()) { g_settingsHandler->SetUserDataDir((m_checkUserDataDir.GetCheck() == 1) ? SettingsHandler::dirTypeUser : SettingsHandler::dirTypeExe); } m_pSettingsDocument->save(CComVariant(g_settingsHandler->GetSettingsFileName().c_str())); } EndDialog(wID); return 0; } ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// LRESULT DlgSettingsMain::OnTreeSelChanged(int /*idCtrl*/, LPNMHDR pnmh, BOOL& /*bHandled*/) { NMTREEVIEW* pnmtv = reinterpret_cast<LPNMTREEVIEW>(pnmh); SettingsDlgsMap::iterator itOld = m_settingsDlgMap.find(pnmtv->itemOld.hItem); SettingsDlgsMap::iterator itNew = m_settingsDlgMap.find(pnmtv->itemNew.hItem); if (itOld != m_settingsDlgMap.end()) { (itOld->second)->ShowWindow(SW_HIDE); } else { CWindow wndPlaceholder(GetDlgItem(IDC_CHILD_PLACEHOLDER)); wndPlaceholder.ShowWindow(SW_HIDE); } if (itNew != m_settingsDlgMap.end()) { (itNew->second)->ShowWindow(SW_SHOW); } return 0; } ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// void DlgSettingsMain::CreateSettingsTree() { CRect rect; CWindow wndPlaceholder(GetDlgItem(IDC_CHILD_PLACEHOLDER)); wndPlaceholder.GetWindowRect(&rect); ScreenToClient(&rect); // create console settings dialog shared_ptr<DlgSettingsBase> dlgConsole(dynamic_cast<DlgSettingsBase*>(new DlgSettingsConsole(m_pSettingsRoot))); AddDialogToTree(L"Console", dlgConsole, rect); // create appearance settings dialog shared_ptr<DlgSettingsBase> dlgAppearance(dynamic_cast<DlgSettingsBase*>(new DlgSettingsAppearance(m_pSettingsRoot))); HTREEITEM htiAppearance = AddDialogToTree(L"Appearance", dlgAppearance, rect); // create styles settings dialog shared_ptr<DlgSettingsBase> dlgStyles(dynamic_cast<DlgSettingsBase*>(new DlgSettingsStyles(m_pSettingsRoot))); AddDialogToTree(L"More...", dlgStyles, rect, htiAppearance); // create behavior settings dialog shared_ptr<DlgSettingsBase> dlgBehavior(dynamic_cast<DlgSettingsBase*>(new DlgSettingsBehavior(m_pSettingsRoot))); AddDialogToTree(L"Behavior", dlgBehavior, rect); // create hotkeys settings dialog shared_ptr<DlgSettingsBase> dlgHotKeys(dynamic_cast<DlgSettingsBase*>(new DlgSettingsHotkeys(m_pSettingsRoot))); HTREEITEM htiHotkeys = AddDialogToTree(L"Hotkeys", dlgHotKeys, rect); // create mouse commands settings dialog shared_ptr<DlgSettingsBase> dlgMouseCmds(dynamic_cast<DlgSettingsBase*>(new DlgSettingsMouse(m_pSettingsRoot))); AddDialogToTree(L"Mouse", dlgMouseCmds, rect, htiHotkeys); // create tabs settings dialog shared_ptr<DlgSettingsBase> dlgTabs(dynamic_cast<DlgSettingsBase*>(new DlgSettingsTabs(m_pSettingsRoot))); AddDialogToTree(L"Tabs", dlgTabs, rect); m_treeCtrl.Expand(htiAppearance); m_treeCtrl.Expand(htiHotkeys); m_treeCtrl.SelectItem(m_treeCtrl.GetRootItem()); } ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// HTREEITEM DlgSettingsMain::AddDialogToTree(const wstring& strName, const shared_ptr<DlgSettingsBase>& newDlg, CRect& rect, HTREEITEM htiParent /*= NULL*/) { newDlg->Create(m_hWnd, rect); newDlg->SetWindowPos(HWND_TOP, rect.left, rect.top, 0, 0, SWP_NOSIZE); HTREEITEM hItem = m_treeCtrl.InsertItem(strName.c_str(), htiParent, NULL); if (hItem != NULL) m_settingsDlgMap.insert(SettingsDlgsMap::value_type(hItem, newDlg)); return hItem; } //////////////////////////////////////////////////////////////////////////////
[ [ [ 1, 192 ] ] ]
7ba41d65d9e42bb947788d3964065acbe5b8a16e
c4ab7a8800bc08680b1bed98821d1b83fc79df3c
/src/Beatrix/crumb_bar.h
f466edb30a480abfa6f88c076db655d113526bc2
[]
no_license
staring/beatrix
902840389e6671cabbc924feb1ff22752cb77116
861635044ee317b4d071ee5da1fb86de9aa5be45
refs/heads/master
2021-01-18T02:28:27.565095
2010-05-11T22:59:54
2010-05-11T22:59:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,751
h
#ifndef BEATRIX_INCLUDE_BEATRIX_CRUMB_BAR_H #define BEATRIX_INCLUDE_BEATRIX_CRUMB_BAR_H #pragma once #include"crumb.h" #include"context_menus.h" #include"resource.h" #include"ole_helper.h" namespace beatrix { class ToolbarHost; typedef ATL::CComObject<class CrumbBarDropSource> CrumbDropSourceImpl; class CrumbBarDropSource : public somnia::DropSource { public: virtual DWORD getAvailableEffects() const { return DROPEFFECT_LINK | DROPEFFECT_COPY; } }; class CrumbBar : public ATL::CWindowImpl<CrumbBar> { public: DECLARE_WND_CLASS_EX(L"BeatrixCrumbBar", CS_HREDRAW | CS_VREDRAW | CS_DBLCLKS, COLOR_3DFACE); typedef std::vector<Crumb*> CrumbArray; private: static const UINT_PTR toolbarID = 0x43000; private: static HMENU buildSubfolderMenu(IShellFolder* parent); private: ToolbarHost* _host; ATL::CContainedWindowT<WTL::CToolBarCtrl> _toolbar; WTL::CFont _font; ATL::CComPtr<IShellBrowser> _browser; CrumbArray _crumbs; int _hiddenCrumbs; FolderMenu _ctxMenu; ImageMenu _dropdownMenu; public: CrumbBar(); ~CrumbBar(); private: LRESULT onCreate(CREATESTRUCT* cs); LRESULT onSize(UINT how, CSize size); LRESULT onMove(CPoint where); LRESULT onFocus(HWND lostFocus); LRESULT onLeftButtonClick(UINT flags, CPoint where); LRESULT onEraseBackground(HDC hdc); LRESULT onMenuSelect(UINT cmd, UINT flags, HMENU menu); LRESULT onNavigate(UINT code, int id, HWND ctrl); LRESULT onShowAddress(UINT code, int id, HWND ctrl); LRESULT onSettingChanged(UINT flags, const wchar_t* section); LRESULT onToolbarClick(NMHDR* hdr); LRESULT onToolbarDropDown(NMHDR* hdr); LRESULT setToolbarTipText(NMHDR* hdr); LRESULT onToolbarDragOut(NMHDR* hdr); LRESULT onContextMenu(HWND hwnd, CPoint screen); LRESULT onToolbarContextMenu(HWND focus, CPoint screen); LRESULT onToolbarMiddleButtonClick(UINT flags, CPoint where); LRESULT onToolbarInterceptResize(UINT msg, WPARAM wparam, LPARAM lparam); public: BEGIN_MSG_MAP_EX(CrumbBar) CHAIN_MSG_MAP_MEMBER(_ctxMenu) CHAIN_MSG_MAP_MEMBER(_dropdownMenu) MSG_WM_CREATE(this->onCreate) MSG_WM_SIZE(this->onSize) MSG_WM_MOVE(this->onMove) MSG_WM_SETFOCUS(this->onFocus) MSG_WM_ERASEBKGND(this->onEraseBackground) MSG_WM_MENUSELECT(this->onMenuSelect) MSG_WM_SETTINGCHANGE(this->onSettingChanged) MSG_WM_CONTEXTMENU(this->onContextMenu) NOTIFY_HANDLER_EX(toolbarID, NM_CLICK, this->onToolbarClick) NOTIFY_HANDLER_EX(toolbarID, TBN_DROPDOWN, this->onToolbarDropDown) NOTIFY_HANDLER_EX(toolbarID, TBN_DRAGOUT, this->onToolbarDragOut) NOTIFY_RANGE_CODE_HANDLER_EX(ID_CRUMBNAVIGATEMIN, ID_CRUMBNAVIGATEMAX, TTN_NEEDTEXT, this->setToolbarTipText) COMMAND_RANGE_HANDLER_EX(ID_CRUMBNAVIGATEMIN, ID_CRUMBNAVIGATEMAX, this->onNavigate) COMMAND_ID_HANDLER_EX(ID_SHOWADDRESS, this->onShowAddress) ALT_MSG_MAP(toolbarID) MSG_WM_CONTEXTMENU(this->onToolbarContextMenu) MSG_WM_MBUTTONUP(this->onToolbarMiddleButtonClick) MESSAGE_HANDLER_EX(TB_ADDBUTTONS, this->onToolbarInterceptResize) MESSAGE_HANDLER_EX(WM_SETTINGCHANGE, this->onToolbarInterceptResize) END_MSG_MAP() private: void fillToolbar(); void extractCrumbs(const ITEMIDLIST* pidl); HRESULT navigateToFolder(const ITEMIDLIST* pidl); LRESULT showHistoryDropdown(const NMTOOLBARW* hdr); LRESULT showFolderDropdown(const NMTOOLBARW* hdr); LRESULT showFolderContextMenu(CPoint screen, const ITEMIDLIST* pidl); public: //this bar should never get kb focus, so always return false bool hasFocus() const { return false; } ToolbarHost* getHost() const { return _host; } public: void setHost(ToolbarHost* host) { _host = host; } void setLocation(const ITEMIDLIST* pidl); }; /** A utility class to work around a bug in v6 of the common controls. For commctrl version 6, Microsoft changed the default height of a toolbar to be the button image + 8 pixels, which works fine for the larger toolbars, like Explorer's "standard buttons" toolbar, but it doesn't work for the smaller, 22-pixel tall toolbars; the toolbar buttons get cut off at the bottom because the window is smaller than the button image. **/ class ToolbarSizeHelper { private: WTL::CToolBarCtrl _toolbar; DWORD _style; private: ToolbarSizeHelper(const ToolbarSizeHelper&); public: ToolbarSizeHelper(HWND toolbar); ~ToolbarSizeHelper(); private: void operator =(const ToolbarSizeHelper&); }; } //~namespace beatrix #endif //BEATRIX_INCLUDE_BEATRIX_CRUMB_BAR_H
[ "jlapp@d8a10105-fb75-0410-a675-bcd697018789" ]
[ [ [ 1, 143 ] ] ]
144a7dd58686b1431cc690fdc768efee41203cb4
b8c3d2d67e983bd996b76825f174bae1ba5741f2
/RTMP/utils/gil_2/libs/gil/io_new/unit_test/test.cpp
6ab5fe13c2576618f9593a9c8597e13c240e0d23
[]
no_license
wangscript007/rtmp-cpp
02172f7a209790afec4c00b8855d7a66b7834f23
3ec35590675560ac4fa9557ca7a5917c617d9999
refs/heads/master
2021-05-30T04:43:19.321113
2008-12-24T20:16:15
2008-12-24T20:16:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,160
cpp
// tiff_test.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <boost/gil/extension/io_new/tiff_all.hpp> #include <boost/gil/extension/io_new/png_all.hpp> #include <boost/type_traits/is_same.hpp> #define BOOST_TEST_MAIN #include <boost/test/unit_test.hpp> using namespace std; using namespace boost::gil; typedef tiff_tag tag_t; namespace tiff_test { BOOST_AUTO_TEST_CASE( read_image_info_test ) { std::string filename( "..\\test_images\\tiff\\libtiffpic\\depth\\flower-minisblack-06.tif" ); { typedef bit_aligned_image1_type< 6, gray_layout_t >::type image_t; typedef image_t::view_t view_t; typedef view_t::x_iterator x_iterator; image_t img; read_image( filename , img , tag_t() ); gray8_image_t gray_img( view( img ).dimensions() ); copy_pixels( view( img ), view( gray_img )); write_view( "single_test_2.tiff" , view( gray_img ) , png_tag() ); } } } // namespace tiff_test
[ "fpelliccioni@71ea4c15-5055-0410-b3ce-cda77bae7b57" ]
[ [ [ 1, 46 ] ] ]
1e6b876eed0ac414a522fdc2ca19b77bd770a2bd
09ea547305ed8be9f8aa0dc6a9d74752d660d05d
/example/lastfmplaylistserviceplugin/lastfmplaylistserviceplugin.h
1539a7d1c455a1e9b8a96d7f7f40b177b80b66b2
[]
no_license
SymbianSource/oss.FCL.sf.mw.socialmobilefw
3c49e1d1ae2db8703e7c6b79a4c951216c9c5019
7020b195cf8d1aad30732868c2ed177e5459b8a8
refs/heads/master
2021-01-13T13:17:24.426946
2010-10-12T09:53:52
2010-10-12T09:53:52
72,676,540
0
0
null
null
null
null
UTF-8
C++
false
false
9,752
h
/** * Copyright (c) 2010 Sasken Communication Technologies Ltd. * All rights reserved. * This component and the accompanying materials are made available * under the terms of the "Eclipse Public License v1.0" * which accompanies this distribution, and is available * at the URL "http://www.eclipse.org/legal/epl-v10.html" * * Initial Contributors: * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution * * Contributors: * Sangeeta Prasad, Nalina Hariharan * * Description: * The Plugin that does music playlist services related * functionalities from last.fm site * */ #ifndef _LASTFMPLAYLISTSERVICEPLUGIN_H_ #define _LASTFMPLAYLISTSERVICEPLUGIN_H_ //Include files #include <smfplaylistserviceplugin.h> // Forward declarations class LastFmPlaylistServiceProviderBase; class QVariant; // Class declaration class LastFmPlaylistServicePlugin : public QObject, public SmfPlaylistServicePlugin { Q_OBJECT Q_INTERFACES( SmfPlaylistServicePlugin SmfPluginBase ) public: /** * Destructor */ virtual ~LastFmPlaylistServicePlugin ( ); public: // From SmfPlaylistServicePlugin /** * Method to get the playlist * @param aRequest [out] The request data to be sent to network * @param aPageNum [in] The page to be extracted * @param aItemsPerPage [in] Number of items per page * @return Appropriate value of the enum SmfPluginError. * Plugin error if any, else SmfPluginErrNone for success */ SmfPluginError playlists( SmfPluginRequestData &aRequest, const int aPageNum = SMF_FIRST_PAGE, const int aItemsPerPage = SMF_ITEMS_PER_PAGE ); /** * Method to get the playlist of a particular user * @param aRequest [out] The request data to be sent to network * @param aUser [in] The user whose playlists need to be fetched * @param aPageNum [in] The page to be extracted * @param aItemsPerPage [in] Number of items per page * @return Appropriate value of the enum SmfPluginError. * Plugin error if any, else SmfPluginErrNone for success */ SmfPluginError playlistsOf( SmfPluginRequestData &aRequest, const SmfContact &aUser, const int aPageNum = SMF_FIRST_PAGE, const int aItemsPerPage = SMF_ITEMS_PER_PAGE ); /** * Method to add tracks to a playlist * @param aRequest [out] The request data to be sent to network * @param aPlaylist [in] The playlist where tracks should be added * @param aTracks [in] The tracks to be added to the playlist * @return Appropriate value of the enum SmfPluginError. * Plugin error if any, else SmfPluginErrNone for success */ SmfPluginError addToPlaylist( SmfPluginRequestData &aRequest, const SmfPlaylist &aPlaylist, const QList<SmfTrackInfo> &aTracks ); /** * Method to post the current playing playlist * @param aRequest [out] The request data to be sent to network * @param aPlaylist [in] The current playing playlist which should be posted * @return Appropriate value of the enum SmfPluginError. * Plugin error if any, else SmfPluginErrNone for success */ SmfPluginError postCurrentPlayingPlaylist( SmfPluginRequestData &aRequest, const SmfPlaylist &aPlaylist ); /** * Customised method for SmfPlaylistServicePlugin interface * @param aRequest [out] The request data to be sent to network * @param aOperation [in] The operation type (should be known between * the client interface and the plugin) * @param aData [in] The data required to form the request (The type * of data should be known between client and the plugin) * @return Appropriate value of the enum SmfPluginError. * Plugin error if any, else SmfPluginErrNone for success */ SmfPluginError customRequest( SmfPluginRequestData &aRequest, const int &aOperation, QByteArray *aData ); public: // From SmfPluginBase interface /** * The first method to be called in the plugin that implements this interface. * If this method is not called, plugin may not behave as expected. */ void initialize( ); /** * Method to get the provider information * @return Instance of SmfProviderBase */ SmfProviderBase* getProviderInfo( ); /** * Method to get the result for a network request. * @param aOperation The type of operation to be requested * @param aTransportResult The result of transport operation * @param aResponse The QByteArray instance containing the network response. * The plugins should delete this instance once they have read the * data from it. * @param aResult [out] An output parameter to the plugin manager.If the * return value is SmfSendRequestAgain, QVariant will be of type * SmfPluginRequestData. * For SmfMusicServicePlugin: If last operation was userMusicInfo(), aResult * will be of type SmfMusicProfile. If last operation was searchArtist(), * aResult will be of type QList<SmfArtists>. If last operation was searchAlbum(), * aResult will be of type QList<SmfAlbum>. If last operation was searchEvents(), * aResult will be of type QList<SmfEvent>. If last operation was searchVenue(), * aResult will be of type QList<Smfocation>. If last operation was searchUser(), * aResult will be of type QList<SmfMusicProfile>. If last operation was * postCurrentPlaying() or postRating() or postComments(), aResult will be of * type bool. * @param aRetType [out] SmfPluginRetType * @param aPageResult [out] The SmfResultPage structure variable */ SmfPluginError responseAvailable( const SmfRequestTypeID aOperation, const SmfTransportResult &aTransportResult, QByteArray *aResponse, QVariant* aResult, SmfPluginRetType &aRetType, SmfResultPage &aPageResult ); private: /** * Method called by plugins to generate a signature string from a base string * @param aBaseString The base string * @return The md5 hash of the base string */ QString generateSignature( const QString aBaseString ); /** * Method to interpret the key sets obtained from credential manager * @param aApiKey [out] The api key * @param aApiSecret [out] The api secret * @param aSessionKey [out] The session key * @param aToken [out] The session token * @param aName [out] The user name */ void fetchKeys( QString &aApiKey, QString &aApiSecret, QString &aToken, QString &aName ); private: LastFmPlaylistServiceProviderBase *m_provider; }; /** * The Plugin class that implements SmfProviderBase for this last.fm plugin */ class LastFmPlaylistServiceProviderBase : public QObject, public SmfProviderBase { Q_OBJECT Q_INTERFACES( SmfProviderBase ) public: /** * Destructor */ virtual ~LastFmPlaylistServiceProviderBase( ); /** * Method to get the Localisable name of the service. * @return The Localisable name of the service. */ QString serviceName( ) const; /** * Method to get the Logo of the service * @return The Logo of the service */ QImage serviceIcon( ) const; /** * Method to get the Readable service description * @return The Readable service description */ QString description( ) const; /** * Method to get the Website of the service * @return The Website of the service */ QUrl serviceUrl( ) const; /** * Method to get the URL of the Application providing this service * @return The URL of the Application providing this service */ QUrl applicationUrl( ) const; /** * Method to get the Icon of the application * @return The Icon of the application */ QImage applicationIcon( ) const; /** * Method to get the list of interfaces that this provider support * @return List of supported Interafces */ QList<QString> supportedInterfaces( ) const; /** * Method to get the list of languages supported by this service provider * @return a QStringList of languages supported by this service * provider in 2 letter ISO 639-1 format. */ QStringList supportedLanguages( ) const; /** * Method to get the Plugin specific ID * @return The Plugin specific ID */ QString pluginId( ) const; /** * Method to get the ID of the authentication application * for this service * @param aProgram The authentication application name * @param aArguments List of arguments required for authentication app * @param aMode Strting mode for authentication application * @return The ID of the authentication application */ QString authenticationApp( QString &aProgram, QStringList & aArguments, QIODevice::OpenModeFlag aMode = QIODevice::ReadWrite ) const; /** * Method to get the authentication application process name * @return The authentication application process name (eg: "FlickrAuthApp.exe") */ QString authenticationAppName( ) const; /** * Method to get the unique registration ID provided by the * Smf for authorised plugins * @return The unique registration ID/token provided by the Smf for * authorised plugins */ QString smfRegistrationId( ) const; private: /** * Method that initializes this class. This method should be called * from the initialize() method of the LastFmPlaylistServicePlugin class */ void initialize(); private: friend class LastFmPlaylistServicePlugin; QString m_serviceName; QImage m_serviceIcon; QString m_description; QUrl m_serviceUrl; QUrl m_applicationUrl; QImage m_applicationIcon; QString m_pluginId; QString m_authAppId; QString m_authAppName; QString m_smfRegToken; QList<QString> m_supportedInterfaces; QStringList m_supportedLangs; QDateTime m_validity; }; #endif /* _LASTFMPLAYLISTSERVICEPLUGIN_H_ */
[ "none@none" ]
[ [ [ 1, 292 ] ] ]
c3e3022fd508b04f0e23ec026db7250fb34d196f
5fb9b06a4bf002fc851502717a020362b7d9d042
/developertools/GumpEditor-0.32/GumpSheet.cpp
833080b628db59f34c0efffc22f3534d185c3021
[]
no_license
bravesoftdz/iris-svn
8f30b28773cf55ecf8951b982370854536d78870
c03438fcf59d9c788f6cb66b6cb9cf7235fbcbd4
refs/heads/master
2021-12-05T18:32:54.525624
2006-08-21T13:10:54
2006-08-21T13:10:54
null
0
0
null
null
null
null
UHC
C++
false
false
896
cpp
// GumpSheet.cpp : 구현 파일입니다. // #include "stdafx.h" #include "GumpEditor.h" #include ".\gumpsheet.h" // CGumpSheet IMPLEMENT_DYNAMIC(CGumpSheet, CPropertySheet) CGumpSheet::CGumpSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage) :CPropertySheet(nIDCaption, pParentWnd, iSelectPage) { } CGumpSheet::CGumpSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage) :CPropertySheet(pszCaption, pParentWnd, iSelectPage) { } CGumpSheet::~CGumpSheet() { } BEGIN_MESSAGE_MAP(CGumpSheet, CPropertySheet) END_MESSAGE_MAP() // CGumpSheet 메시지 처리기입니다. BOOL CGumpSheet::OnInitDialog() { m_bModeless = FALSE; m_nFlags |= WF_CONTINUEMODAL; BOOL bResult = CPropertySheet::OnInitDialog(); m_bModeless = TRUE; m_nFlags &= ~WF_CONTINUEMODAL; return bResult; } void CGumpSheet::SetValues(void) { }
[ "sience@a725d9c3-d2eb-0310-b856-fa980ef11a19" ]
[ [ [ 1, 49 ] ] ]
c1723da9e39b6ba5905cab56d5dbde1a318fcb6c
ef8e875dbd9e81d84edb53b502b495e25163725c
/classifier/src/classifier_implementation.cpp
5f010e157111d299365400c6e82225b3d2b16dbc
[]
no_license
panone/litewiz
22b9d549097727754c9a1e6286c50c5ad8e94f2d
e80ed9f9d845b08c55b687117acb1ed9b6e9a444
refs/heads/master
2021-01-10T19:54:31.146153
2010-10-01T13:29:38
2010-10-01T13:29:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
21,519
cpp
/******************************************************************************* *******************************************************************************/ #include <QFileInfo> #include <QList> #include <QMap> #include <QSet> #include <QStringList> #include "utility.h" #include "classifier.h" #include "classifier_implementation.h" /******************************************************************************/ #define ARRAY_LENGTH( a ) static_cast< int >( sizeof( a ) / sizeof( a[ 0 ] ) ) #define FILE_NAME_SEPARATORS "_-. |" #define CLASSIFIER_TUNING /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::classify ( QStringList const & fileNames ) { initializeFileDescriptions( fileNames ); initializeClusters(); QIntFloatMap varianceProbability = getVarianceProbablity(); QIntMap clusterSizeCount = getClusterSizeCount(); QIntSet unmatchedClusterSize = getUnmatchedClusterSize(); StemInfoList stemClusterInfo = getStemClusterInfo(); initializeVariance( varianceProbability ); detectPopularClusterSizes1(); detectPopularClusterSizes2( clusterSizeCount ); detectClusterSizeStep( clusterSizeCount ); detectUniqueItemClusterSize( unmatchedClusterSize ); detectUnmatchedClusterSize( unmatchedClusterSize ); detectSingleItem1( unmatchedClusterSize ); detectItemClusterSize( stemClusterInfo ); detectSingleItem2( stemClusterInfo ); applyVarianceProbability( varianceProbability ); validateVariance(); } /******************************************************************************* *******************************************************************************/ QIntList ClassifierImplementation::getPossibleVariance ( void ) { QIntList result; foreach ( int v, variance.keys() ) { if ( variance[ v ] > 0.0f ) { result.append( v ); } } return result; } /******************************************************************************* *******************************************************************************/ int ClassifierImplementation::getDefaultVariance ( void ) { float maxProbability = 0.0f; int result = 0; foreach ( int v, variance.keys() ) { if ( maxProbability < variance[ v ] ) { maxProbability = variance[ v ]; result = v; } } return result; } /******************************************************************************* *******************************************************************************/ ClassificationInfo ClassifierImplementation::getClassification ( int const variance ) { QIntList splitIndices = getSplitIndices( variance ); QStringIntListMap items; QStringIntListMap variants; for ( int i = 0; i < fileDescriptions.count(); i++ ) { QString description = fileDescriptions[ i ]; items[ description.left( splitIndices[ i ] ) ].append( i ); variants[ description.mid( splitIndices[ i ] ) ].append( i ); } QStringList itemStems = items.keys(); QStringList variantStems = variants.keys(); //TODO: SortItems( itemStems ); //TODO: SortVariants( variantStems ); QStringMap itemNames = getItemNames( itemStems ); QStringMap variantNames = getVariantNames( variantStems ); ClassificationInfo result; foreach ( QString const & stem, items.keys() ) { ItemInfo info; info.name = itemNames[ stem ]; info.stem = stem; info.files = items[ stem ]; result.items.append( info ); } foreach ( QString const & stem, variants.keys() ) { VariantInfo info; info.name = variantNames[ stem ]; info.stem = stem; info.files = variants[ stem ]; info.reference = ( info.name == "-ref-" ); result.variants.append( info ); } return result; } /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::initializeFileDescriptions ( QStringList const & fileNames ) { fileDescriptions.clear(); QStringListEx directories; foreach ( QString const & fileName, fileNames ) { QFileInfo fileInfo( fileName ); fileDescriptions.append( fileInfo.baseName() ); directories.append( fileInfo.path() ); } directories.trimMatchingLeft(); directories.trimLeft( "\\" ); for ( int i = 0; i < fileNames.count(); i++ ) { if ( !directories[ i ].isEmpty() ) { fileDescriptions[ i ] += '|' + directories[ i ]; } } } /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::initializeClusters ( void ) { clusters.clear(); foreach ( QString description1, fileDescriptions ) { QIntMap clusterSize; foreach ( QString description2, fileDescriptions ) { int offset = difference( description1, description2 ); clusterSize[ offset ] += 1; } clusters.append( clusterSize ); } } /******************************************************************************* *******************************************************************************/ QIntFloatMap ClassifierImplementation::getVarianceProbablity ( void ) { QIntPairList factors = pairFactor( fileDescriptions.count() ); QIntList variance; foreach ( QIntPair pair, factors ) { variance.append( pair.first ); variance.append( pair.second ); } qSort( variance ); QIntFloatMap result; foreach ( int v, variance ) { int items = fileDescriptions.count() / v; float varianceProbability = 0.9f * cosfade( v, 5, 15 ) + 0.1f; float itemCountProbability = 0.9f * cosfade( items, 10, 40 ) + 0.1f; result[ v ] = varianceProbability * itemCountProbability; } return result; } /******************************************************************************* *******************************************************************************/ QIntMap ClassifierImplementation::getClusterSizeCount ( void ) { QIntMap result; foreach ( QIntMap const & clusterSize, clusters ) { foreach ( int size, clusterSize ) { result[ size ] += 1; } } return result; } /******************************************************************************* *******************************************************************************/ QIntSet ClassifierImplementation::getUnmatchedClusterSize ( void ) { QIntSet result; foreach ( QIntMap const & clusterSize, clusters ) { if ( ( clusterSize.count( 0 ) != 0 ) && ( clusterSize[ 0 ] > 0 ) ) { result.insert( clusterSize[ 0 ] ); } } return result; } /******************************************************************************* *******************************************************************************/ StemInfoList ClassifierImplementation::getStemClusterInfo ( void ) { static int const stemLength[] = { 1, 3, 5, 10 }; StemInfoList result; for ( int j = 0; j < ARRAY_LENGTH( stemLength ); j++ ) { StemInfo info; QStringIntMap stem; foreach ( QString const & description, fileDescriptions ) { stem[ description.left( stemLength[ j ] ) ] += 1; } info.stemLength = stemLength[ j ]; info.clusters = stem.count(); foreach ( int size, stem ) { info.clusterSize.insert( size ); } result.push_back( info ); } return result; } /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::initializeVariance ( QIntFloatMap const & varianceProbability ) { variance.clear(); float gain = 2.0f / accumulateProbability( varianceProbability ); foreach ( int v, varianceProbability.keys() ) { variance[ v ] = gain * varianceProbability[ v ]; } } /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::addVarianceProbability ( int const variance, float const probability ) { #ifndef CLASSIFIER_TUNING if ( this->variance.count( variance ) != 0 ) #endif /* CLASSIFIER_TUNING */ { this->variance[ variance ] += probability; } } /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::detectPopularClusterSizes1 ( void ) { QIntMap clusterSizeCount; foreach ( QIntMap const & clusterSize, clusters ) { foreach ( int size, getAccumulatedClusterSize( clusterSize ) ) { clusterSizeCount[ size ] += 1; } } clusterSizeCount.remove( 1 ); clusterSizeCount.remove( clusters.count() ); foreach ( int size, clusterSizeCount.keys() ) { float weight = static_cast< float >( clusterSizeCount[ size ] ) / clusters.count(); addVarianceProbability( size, weight * weight ); } } /******************************************************************************* *******************************************************************************/ QIntList ClassifierImplementation::getAccumulatedClusterSize ( QIntMap const & clusterSize ) { QIntList result; QIntMapIterator iterator( clusterSize ); int accumulated = 0; iterator.toBack(); while ( iterator.hasPrevious() ) { accumulated += iterator.previous().value(); result.append( accumulated ); } return result; } /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::detectPopularClusterSizes2 ( QIntMap const & clusterSizeCount ) { QIntMap clusterSize; foreach ( int size, clusterSizeCount.keys() ) { if ( size > 1 ) { clusterSize.insertMulti( clusterSizeCount[ size ], size ); } } int index = 0; QIntMapIterator iterator( clusterSize ); QIntFloatMap weight; iterator.toBack(); while ( iterator.hasPrevious() ) { iterator.previous(); weight[ iterator.value() ] = iterator.key() * cosfade( ++index, 3, 7 ); } float gain = qMin( 0.5f * clusterSize.count(), 2.0f ) / accumulateProbability( weight ); foreach ( int w, weight.keys() ) { addVarianceProbability( w, gain * weight[ w ] ); } } /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::detectClusterSizeStep ( QIntMap const & clusterSizeCount ) { QIntList clusterSize; foreach ( int size, clusterSizeCount.keys() ) { clusterSize.push_back( size ); } clusterSize = getRelevantClusterSizes( clusterSize ); if ( clusterSize.size() > 1 ) { int smallest = clusterSize.takeLast(); foreach ( int size, clusterSize ) { addVarianceProbability( gcd( size, smallest ), 0.25f ); } } } /******************************************************************************* Filter-out cluster sizes that differ by 1 from their neighbors *******************************************************************************/ QIntList ClassifierImplementation::getRelevantClusterSizes ( QIntList const & clusterSize ) { QIntList result; if ( clusterSize.count() > 1 ) { for ( int i = clusterSize.count() - 1; i > 0; i-- ) { result.append( clusterSize[ i ] ); if ( ( clusterSize[ i ] - clusterSize[ i - 1 ] ) == 1 ) { break; } } } return result; } /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::detectUniqueItemClusterSize ( QIntSet const & clusterSize ) { if ( clusterSize.size() > 0 ) { QIntList values = clusterSize.values(); qSort( values ); int size = values.last(); if ( size > 0 ) { addVarianceProbability( fileDescriptions.count() - size, 0.4f ); } } } /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::detectUnmatchedClusterSize ( QIntSet const & clusterSize ) { if ( clusterSize.count() > 1 ) { addVarianceProbability( gcd( clusterSize ), 0.5f ); } } /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::detectSingleItem1 ( QIntSet const & clusterSize ) { if ( clusterSize.count() == 0 ) { addVarianceProbability( fileDescriptions.count(), 0.75f ); } } /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::detectItemClusterSize ( StemInfoList const & stemClusterInfo ) { QIntFloatMap weight; foreach ( StemInfo const & info, stemClusterInfo ) { if ( info.clusters > 1 ) { int variance = gcd( info.clusterSize ); float weight1 = 0.7f * ( 1.0f - cosfade( info.clusters, 3, 10 ) ) + 0.3f; float weight2 = 0.5f * ( 1.0f - cosfade( info.clusterSize.size(), 1, 3 ) ) + 0.5f; float weight3; if ( variance > 1 ) { weight3 = 0.2f + 0.08f * info.stemLength; } else { weight3 = 1.0f / info.stemLength; } weight[ variance ] += weight1 * weight2 * weight3; } } if ( weight.count() > 0 ) { float gain = ( 0.2f + 0.3f * weight.count() ) / accumulateProbability( weight ); foreach ( int w, weight.keys() ) { addVarianceProbability( w, gain * weight[ w ] ); } } } /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::detectSingleItem2 ( StemInfoList const & stemClusterInfo ) { foreach ( StemInfo const & info, stemClusterInfo ) { if ( info.clusters == 1 ) { int stemLength = info.stemLength; int clusterSize = info.clusterSize.values().first(); addVarianceProbability( clusterSize, 0.005f * stemLength * stemLength + 0.1f ); } } } /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::applyVarianceProbability ( QIntFloatMap const & varianceProbability ) { foreach ( int v, variance.keys() ) { if ( varianceProbability.count( v ) > 0 ) { variance[ v ] *= varianceProbability[ v ]; } else { variance[ v ] = 0.0f; } } } /******************************************************************************* *******************************************************************************/ void ClassifierImplementation::validateVariance ( void ) { foreach ( int v, variance.keys() ) { if ( variance[ v ] > 0.0f ) { QIntList splitIndices = getSplitIndices( v ); if ( splitIndices.contains( 0 ) ) { variance[ v ] = 0.0f; continue; } QStringSet names; for ( int j = 0; j < fileDescriptions.count(); j++ ) { names.insert( fileDescriptions[ j ].mid( splitIndices[ j ] ) ); } if ( names.count() != v ) { variance[ v ] = 0.0f; } } } } /******************************************************************************* *******************************************************************************/ QIntList ClassifierImplementation::getSplitIndices ( int const variance ) { QIntList result; foreach ( QIntMap const & clusterSize, clusters ) { QIntMapIterator iterator( clusterSize ); int accumulated = 0; iterator.toBack(); while ( iterator.hasPrevious() ) { iterator.previous(); accumulated += iterator.value(); if ( ( accumulated >= variance ) && ( ( accumulated % variance ) == 0 ) ) { result.append( iterator.key() ); break; } } } return result; } /******************************************************************************* *******************************************************************************/ QStringMap ClassifierImplementation::getItemNames ( QStringList const & stems ) { QStringListEx temp( stems ); QString separators( FILE_NAME_SEPARATORS ); int offset = temp.findReverseFirstDifference(); QString stem = stems[ 0 ]; /* Find first separator within identical suffixes */ while ( ( offset > 0 ) && !separators.contains( stem[ stem.length() - offset ] ) ) { offset--; } QStringMap result; foreach ( QString stem, stems ) { QString name = stem.left( stem.length() - offset ); int separator = name.indexOf( '|' ); if ( separator != -1 ) { name = name.left( separator ); } result[ stem ] = name; } return result; } /******************************************************************************* *******************************************************************************/ QStringMap ClassifierImplementation::getVariantNames ( QStringList const & stems ) { QStringListEx names( stems ); names.trimLeft( FILE_NAME_SEPARATORS ); QStringIntMap nameCount; foreach ( QString const & name, names ) { int separator = name.indexOf( '|' ); if ( separator != -1 ) { nameCount[ name.left( separator ) ] += 1; } else { nameCount[ name ] += 1; } } QStringMap result; for ( int i = 0; i < stems.count(); i++ ) { QString name = names[ i ]; int separator = name.indexOf( '|' ); if ( separator != -1 ) { name = name.left( separator ); if ( nameCount[ name ] > 1 ) { name = names[ i ].mid( separator + 1 ) + '\\' + name; } } if ( name.isEmpty() ) { if ( i == 0 ) { name = "-ref-"; } else { name = QString( "-%1-" ).arg( 'A' + i - 1 ); } } result[ stems[ i ] ] = name; } return result; } /******************************************************************************* *******************************************************************************/ float ClassifierImplementation::accumulateProbability ( QIntFloatMap const & probability ) { float result = 0.0f; foreach ( float p, probability ) { result += p; } return result; } /******************************************************************************/
[ [ [ 1, 797 ] ] ]
83189cc8d7741d7b7f71a01e76362cbee6e52d65
bd8fe29c06dea189df24cc8939b55c1883a257d6
/flattening/source/glui/algebra3.h
5974947aff05b04ab93df7f92cce1c60dcadc60b
[]
no_license
viscenter/homer
f9e173f586d2e6ffbecc20d9358a848c987b333a
8cc4d2a08e837d3a12465a4b99c267f392f90eb6
refs/heads/master
2020-05-28T09:17:36.115952
2010-10-14T19:12:12
2010-10-14T19:12:12
5,413,157
1
0
null
null
null
null
UTF-8
C++
false
false
37,765
h
/************************************************************************** algebra3.cpp, algebra3.h - C++ Vector and Matrix Algebra routines There are three vector classes and two matrix classes: vec2, vec3, vec4, mat3, and mat4. All the standard arithmetic operations are defined, with '*' for dot product of two vectors and multiplication of two matrices, and '^' for cross product of two vectors. Additional functions include length(), normalize(), homogenize for vectors, and print(), set(), apply() for all classes. There is a function transpose() for matrices, but note that it does not actually change the matrix, When multiplied with a matrix, a vector is treated as a row vector if it precedes the matrix (v*M), and as a column vector if it follows the matrix (M*v). Matrices are stored in row-major form. A vector of one dimension (2d, 3d, or 4d) can be cast to a vector of a higher or lower dimension. If casting to a higher dimension, the new component is set by default to 1.0, unless a value is specified: vec3 a(1.0, 2.0, 3.0 ); vec4 b( a, 4.0 ); // now b == {1.0, 2.0, 3.0, 4.0}; When casting to a lower dimension, the vector is homogenized in the lower dimension. E.g., if a 4d {X,Y,Z,W} is cast to 3d, the resulting vector is {X/W, Y/W, Z/W}. It is up to the user to insure the fourth component is not zero before casting. There are also the following function for building matrices: identity2D(), translation2D(), rotation2D(), scaling2D(), identity3D(), translation3D(), rotation3D(), rotation3Drad(), scaling3D(), perspective3D() NOTE: When compiling for Windows, include this file first, to avoid certain name conflicts --------------------------------------------------------------------- Author: Jean-Francois DOUEg Revised: Paul Rademacher Version 3.2 - Feb 1998 **************************************************************************/ #ifndef _ALGEBRA3_H_ #define _ALGEBRA3_H_ #include <math.h> #include <stdio.h> #include <stdlib.h> // this line defines a new type: pointer to a function which returns a // float and takes as argument a float typedef float (*V_FCT_PTR)(float); // min-max macros #ifndef MIN #define MIN(A,B) ((A) < (B) ? (A) : (B)) #define MAX(A,B) ((A) > (B) ? (A) : (B)) #endif //#include <stream.h> // error handling macro //#define VEC_ERROR(E) { cerr << E; exit(1); } /*#define << #define >>*/ #ifdef VEC_ERROR_FATAL #ifndef VEC_ERROR #define VEC_ERROR(E) { printf( "VERROR %s\n", E ); exit(1); } #endif #else #ifndef VEC_ERROR #define VEC_ERROR(E) { printf( "VERROR %s\n", E ); } #endif #endif class vec2; class vec3; class vec4; class mat3; class mat4; /*#ifndef X enum {X,Y,Z,W}; #endif */ /*#ifndef R enum {R,G,B,ALPHA}; #endif */ #ifndef M_PI #define M_PI 3.141592654 #endif enum {VX, VY, VZ, VW}; // axes enum {PA, PB, PC, PD}; // planes enum {RED, GREEN, BLUE, ALPHA}; // colors enum {KA, KD, KS, ES}; // phong coefficients /**************************************************************** * * * 2D Vector * * * ****************************************************************/ class vec2 { protected: float n[2]; public: // Constructors vec2(void); vec2(const float x, const float y); vec2(const float d); vec2(const vec2& v); // copy constructor vec2(const vec3& v); // cast v3 to v2 vec2(const vec3& v, int dropAxis); // cast v3 to v2 // Assignment operators vec2& operator = ( const vec2& v ); // assignment of a vec2 vec2& operator += ( const vec2& v ); // incrementation by a vec2 vec2& operator -= ( const vec2& v ); // decrementation by a vec2 vec2& operator *= ( const float d ); // multiplication by a constant vec2& operator /= ( const float d ); // division by a constant float& operator [] ( int i); // indexing // special functions float length(void); // length of a vec2 float length2(void); // squared length of a vec2 vec2& normalize(void); // normalize a vec2 vec2& apply(V_FCT_PTR fct); // apply a func. to each component void set( float x, float y ); // set vector // friends friend vec2 operator - (const vec2& v); // -v1 friend vec2 operator + (const vec2& a, const vec2& b); // v1 + v2 friend vec2 operator - (const vec2& a, const vec2& b); // v1 - v2 friend vec2 operator * (const vec2& a, const float d); // v1 * 3.0 friend vec2 operator * (const float d, const vec2& a); // 3.0 * v1 friend vec2 operator * (const mat3& a, const vec2& v); // M . v friend vec2 operator * (const vec2& v, mat3& a); // v . M friend float operator * (const vec2& a, const vec2& b); // dot product friend vec2 operator / (const vec2& a, const float d); // v1 / 3.0 friend vec3 operator ^ (const vec2& a, const vec2& b); // cross product friend int operator == (const vec2& a, const vec2& b); // v1 == v2 ? friend int operator != (const vec2& a, const vec2& b); // v1 != v2 ? //friend ostream& operator << (ostream& s, vec2& v); // output to stream //friend istream& operator >> (istream& s, vec2& v); // input from strm. friend void swap(vec2& a, vec2& b); // swap v1 & v2 friend vec2 min_vec(const vec2& a, const vec2& b); // min(v1, v2) friend vec2 max_vec(const vec2& a, const vec2& b); // max(v1, v2) friend vec2 prod(const vec2& a, const vec2& b); // term by term * // necessary friend declarations friend class vec3; }; /**************************************************************** * * * 3D Vector * * * ****************************************************************/ class vec3 { protected: float n[3]; public: // Constructors vec3(void); vec3(const float x, const float y, const float z); vec3(const float d); vec3(const vec3& v); // copy constructor vec3(const vec2& v); // cast v2 to v3 vec3(const vec2& v, float d); // cast v2 to v3 vec3(const vec4& v); // cast v4 to v3 vec3(const vec4& v, int dropAxis); // cast v4 to v3 // Assignment operators vec3& operator = ( const vec3& v ); // assignment of a vec3 vec3& operator += ( const vec3& v ); // incrementation by a vec3 vec3& operator -= ( const vec3& v ); // decrementation by a vec3 vec3& operator *= ( const float d ); // multiplication by a constant vec3& operator /= ( const float d ); // division by a constant float& operator [] ( int i); // indexing // special functions float length(void); // length of a vec3 float length2(void); // squared length of a vec3 vec3& normalize(void); // normalize a vec3 vec3& homogenize(void); // homogenize (div by Z) vec3& apply(V_FCT_PTR fct); // apply a func. to each component void set( float x, float y, float z ); // set vector void print( FILE *file, char *name ); // print vector to a file // friends friend vec3 operator - (const vec3& v); // -v1 friend vec3 operator + (const vec3& a, const vec3& b); // v1 + v2 friend vec3 operator - (const vec3& a, const vec3& b); // v1 - v2 friend vec3 operator * (const vec3& a, const float d); // v1 * 3.0 friend vec3 operator * (const float d, const vec3& a); // 3.0 * v1 friend vec3 operator * (const mat4& a, const vec3& v); // M . v friend vec3 operator * (const vec3& v, mat4& a); // v . M friend float operator * (const vec3& a, const vec3& b); // dot product friend vec3 operator / (const vec3& a, const float d); // v1 / 3.0 friend vec3 operator ^ (const vec3& a, const vec3& b); // cross product friend int operator == (const vec3& a, const vec3& b); // v1 == v2 ? friend int operator != (const vec3& a, const vec3& b); // v1 != v2 ? //friend ostream& operator << (ostream& s, vec3& v); // output to stream //friend istream& operator >> (istream& s, vec3& v); // input from strm. friend void swap(vec3& a, vec3& b); // swap v1 & v2 friend vec3 min_vec(const vec3& a, const vec3& b); // min(v1, v2) friend vec3 max_vec(const vec3& a, const vec3& b); // max(v1, v2) friend vec3 prod(const vec3& a, const vec3& b); // term by term * // necessary friend declarations friend class vec2; friend class vec4; friend class mat3; friend vec2 operator * (const mat3& a, const vec2& v); // linear transform friend vec3 operator * (const mat3& a, const vec3& v); // linear transform friend mat3 operator * (mat3& a, mat3& b); // matrix 3 product }; /**************************************************************** * * * 4D Vector * * * ****************************************************************/ class vec4 { protected: float n[4]; public: // Constructors vec4(void); vec4(const float x, const float y, const float z, const float w); vec4(const float d); vec4(const vec4& v); // copy constructor vec4(const vec3& v); // cast vec3 to vec4 vec4(const vec3& v, const float d); // cast vec3 to vec4 // Assignment operators vec4& operator = ( const vec4& v ); // assignment of a vec4 vec4& operator += ( const vec4& v ); // incrementation by a vec4 vec4& operator -= ( const vec4& v ); // decrementation by a vec4 vec4& operator *= ( const float d ); // multiplication by a constant vec4& operator /= ( const float d ); // division by a constant float& operator [] ( int i); // indexing // special functions float length(void); // length of a vec4 float length2(void); // squared length of a vec4 vec4& normalize(void); // normalize a vec4 vec4& apply(V_FCT_PTR fct); // apply a func. to each component vec4& homogenize(void); void print( FILE *file, char *name ); // print vector to a file void set( float x, float y, float z, float a ); // friends friend vec4 operator - (const vec4& v); // -v1 friend vec4 operator + (const vec4& a, const vec4& b); // v1 + v2 friend vec4 operator - (const vec4& a, const vec4& b); // v1 - v2 friend vec4 operator * (const vec4& a, const float d); // v1 * 3.0 friend vec4 operator * (const float d, const vec4& a); // 3.0 * v1 friend vec4 operator * (const mat4& a, const vec4& v); // M . v friend vec4 operator * (const vec4& v, mat4& a); // v . M friend float operator * (const vec4& a, const vec4& b); // dot product friend vec4 operator / (const vec4& a, const float d); // v1 / 3.0 friend int operator == (const vec4& a, const vec4& b); // v1 == v2 ? friend int operator != (const vec4& a, const vec4& b); // v1 != v2 ? //friend ostream& operator << (ostream& s, vec4& v); // output to stream //friend istream& operator >> (istream& s, vec4& v); // input from strm. friend void swap(vec4& a, vec4& b); // swap v1 & v2 friend vec4 min_vec(const vec4& a, const vec4& b); // min(v1, v2) friend vec4 max_vec(const vec4& a, const vec4& b); // max(v1, v2) friend vec4 prod(const vec4& a, const vec4& b); // term by term * // necessary friend declarations friend class vec3; friend class mat4; friend vec3 operator * (const mat4& a, const vec3& v); // linear transform friend mat4 operator * (mat4& a, mat4& b); // matrix 4 product }; /**************************************************************** * * * 3x3 Matrix * * * ****************************************************************/ class mat3 { protected: vec3 v[3]; public: // Constructors mat3(void); mat3(const vec3& v0, const vec3& v1, const vec3& v2); mat3(const float d); mat3(const mat3& m); // Assignment operators mat3& operator = ( const mat3& m ); // assignment of a mat3 mat3& operator += ( const mat3& m ); // incrementation by a mat3 mat3& operator -= ( const mat3& m ); // decrementation by a mat3 mat3& operator *= ( const float d ); // multiplication by a constant mat3& operator /= ( const float d ); // division by a constant vec3& operator [] ( int i); // indexing // special functions mat3 transpose(void); // transpose mat3 inverse(void); // inverse mat3& apply(V_FCT_PTR fct); // apply a func. to each element void print( FILE *file, char *name ); // print matrix to a file void set(const vec3& v0, const vec3& v1, const vec3& v2); // friends friend mat3 operator - (const mat3& a); // -m1 friend mat3 operator + (const mat3& a, const mat3& b); // m1 + m2 friend mat3 operator - (const mat3& a, const mat3& b); // m1 - m2 friend mat3 operator * (mat3& a, mat3& b); // m1 * m2 friend mat3 operator * (const mat3& a, const float d); // m1 * 3.0 friend mat3 operator * (const float d, const mat3& a); // 3.0 * m1 friend mat3 operator / (const mat3& a, const float d); // m1 / 3.0 friend int operator == (const mat3& a, const mat3& b); // m1 == m2 ? friend int operator != (const mat3& a, const mat3& b); // m1 != m2 ? //friend ostream& operator << (ostream& s, mat3& m); // output to stream //friend istream& operator >> (istream& s, mat3& m); // input from strm. friend void swap(mat3& a, mat3& b); // swap m1 & m2 // necessary friend declarations friend vec3 operator * (const mat3& a, const vec3& v); // linear transform friend vec2 operator * (const mat3& a, const vec2& v); // linear transform }; /**************************************************************** * * * 4x4 Matrix * * * ****************************************************************/ class mat4 { protected: public: vec4 v[4]; // Constructors mat4(void); mat4(const vec4& v0, const vec4& v1, const vec4& v2, const vec4& v3); mat4(const float d); mat4(const mat4& m); mat4(const float a00, const float a01, const float a02, const float a03, const float a10, const float a11, const float a12, const float a13, const float a20, const float a21, const float a22, const float a23, const float a30, const float a31, const float a32, const float a33 ); // Assignment operators mat4& operator = ( const mat4& m ); // assignment of a mat4 mat4& operator += ( const mat4& m ); // incrementation by a mat4 mat4& operator -= ( const mat4& m ); // decrementation by a mat4 mat4& operator *= ( const float d ); // multiplication by a constant mat4& operator /= ( const float d ); // division by a constant vec4& operator [] ( int i); // indexing // special functions mat4 transpose(void); // transpose mat4 inverse(void); // inverse mat4& apply(V_FCT_PTR fct); // apply a func. to each element void print( FILE *file, char *name ); // print matrix to a file void swap_rows( int i, int j ); // swap rows i and j void swap_cols( int i, int j ); // swap cols i and j // friends friend mat4 operator - (const mat4& a); // -m1 friend mat4 operator + (const mat4& a, const mat4& b); // m1 + m2 friend mat4 operator - (const mat4& a, const mat4& b); // m1 - m2 friend mat4 operator * (mat4& a, mat4& b); // m1 * m2 friend mat4 operator * (const mat4& a, const float d); // m1 * 4.0 friend mat4 operator * (const float d, const mat4& a); // 4.0 * m1 friend mat4 operator / (const mat4& a, const float d); // m1 / 3.0 friend int operator == (const mat4& a, const mat4& b); // m1 == m2 ? friend int operator != (const mat4& a, const mat4& b); // m1 != m2 ? //friend ostream& operator << (ostream& s, mat4& m); // output to stream //friend istream& operator >> (istream& s, mat4& m); // input from strm. friend void swap(mat4& a, mat4& b); // swap m1 & m2 // necessary friend declarations friend vec4 operator * (const mat4& a, const vec4& v); // linear transform //friend vec4 operator * (const vec4& v, const mat4& a); // linear transform friend vec3 operator * (const mat4& a, const vec3& v); // linear transform friend vec3 operator * (const vec3& v, const mat4& a); // linear transform }; /**************************************************************** * * * 2D functions and 3D functions * * * ****************************************************************/ mat3 identity2D(void); // identity 2D mat3 translation2D(vec2& v); // translation 2D mat3 rotation2D(vec2& Center, const float angleDeg); // rotation 2D mat3 scaling2D(vec2& scaleVector); // scaling 2D mat4 identity3D(void); // identity 3D mat4 translation3D(vec3& v); // translation 3D mat4 rotation3D(vec3& Axis, const float angleDeg); // rotation 3D mat4 rotation3Drad(vec3& Axis, const float angleRad); // rotation 3D mat4 scaling3D(vec3& scaleVector); // scaling 3D mat4 perspective3D(const float d); // perspective 3D vec3 operator * (const vec3& v, mat3& a); vec2 operator * (const vec2& v, mat3& a); vec3 operator * (const vec3& v, mat4& a); vec4 operator * (const vec4& v, mat4& a); #endif
[ [ [ 1, 474 ] ] ]
33e52674ef87e32d4234fd3ec3947381e705e2e6
fbe2cbeb947664ba278ba30ce713810676a2c412
/iptv_root/iptv_media3/VideoEncoder.cpp
77095d6be8eb970b1ae09349ee5241f4694a991a
[]
no_license
abhipr1/multitv
0b3b863bfb61b83c30053b15688b070d4149ca0b
6a93bf9122ddbcc1971dead3ab3be8faea5e53d8
refs/heads/master
2020-12-24T15:13:44.511555
2009-06-04T17:11:02
2009-06-04T17:11:02
41,107,043
0
0
null
null
null
null
UTF-8
C++
false
false
8,256
cpp
#include "compat.h" #include "VideoEncoder.h" #include "global_error.h" #include "parseString.h" #include "MediaNetwork.h" #include "mediapkt.h" #include "media_utilities.h" VideoEncoder::VideoEncoder(std::string _transmission, std::string _network, std::string _bitrate) : Encoder(_transmission, _network, _bitrate) { m_pYuvPicture = avcodec_alloc_frame(); m_pRgbPicture = avcodec_alloc_frame(); m_pYuvPicBuf = NULL; m_pRgbPicBuf = NULL; } VideoEncoder::~VideoEncoder() { if (m_pYuvPicture) av_free(m_pYuvPicture); if (m_pRgbPicture) av_free(m_pRgbPicture); if (m_pYuvPicBuf) delete m_pYuvPicBuf; if (m_pRgbPicBuf) delete m_pRgbPicBuf; } unsigned VideoEncoder::GetWidth() { if (CodecOk()) return m_pCodecCtx->width; else return 0; } unsigned VideoEncoder::GetHeight() { if (CodecOk()) return m_pCodecCtx->height; else return 0; } double VideoEncoder::GetFramerate() { if (CodecOk()) return ((double) m_pCodecCtx->time_base.den) / m_pCodecCtx->time_base.num; else return 0; } unsigned VideoEncoder::GetFrameSize() { return 0; } unsigned VideoEncoder::InitVideoEncoder() { if (!m_pCodecCtx) return RET_INIT_ERROR; unsigned uYuvBufSize, uRgbBufSize; uYuvBufSize = avpicture_get_size(m_pCodecCtx->pix_fmt, m_pCodecCtx->width, m_pCodecCtx->height); uRgbBufSize = avpicture_get_size(PIX_FMT_RGB24, m_pCodecCtx->width, m_pCodecCtx->height); m_pYuvPicBuf = new BYTE[uYuvBufSize]; m_pRgbPicBuf = new BYTE[uRgbBufSize]; avpicture_fill((AVPicture *)m_pYuvPicture, m_pYuvPicBuf, m_pCodecCtx->pix_fmt, m_pCodecCtx->width, m_pCodecCtx->height); avpicture_fill((AVPicture *)m_pRgbPicture, m_pRgbPicBuf, PIX_FMT_RGB24, m_pCodecCtx->width, m_pCodecCtx->height); return RET_OK; } unsigned VideoEncoder::InitCommonParameters(CParseString & _parseString) { ParseFieldValue value; if ((value = _parseString.GetFieldValue("bit_rate")).m_valueOK) m_pCodecCtx->bit_rate = (int)value.m_value; if ((value = _parseString.GetFieldValue("bit_rate_tolerance")).m_valueOK) m_pCodecCtx->bit_rate_tolerance = (int)value.m_value; if ((value = _parseString.GetFieldValue("gop")).m_valueOK) m_pCodecCtx->gop_size = (int)value.m_value; if ((value = _parseString.GetFieldValue("rc_max")).m_valueOK) m_pCodecCtx->rc_max_rate = (int)value.m_value; if ((value = _parseString.GetFieldValue("rc_min")).m_valueOK) m_pCodecCtx->rc_min_rate = (int)value.m_value; if ((value = _parseString.GetFieldValue("rc_buffer_size")).m_valueOK) m_pCodecCtx->rc_buffer_size = (int)value.m_value; if ((value = _parseString.GetFieldValue("rc_buffer_aggressivity")).m_valueOK) m_pCodecCtx->rc_buffer_aggressivity = (float)value.m_value; if ((value = _parseString.GetFieldValue("qsquish")).m_valueOK) m_pCodecCtx->rc_qsquish = (float)value.m_value; if ((value = _parseString.GetFieldValue("qmin")).m_valueOK) m_pCodecCtx->qmin = (int)value.m_value; if ((value = _parseString.GetFieldValue("qmax")).m_valueOK) m_pCodecCtx->qmax = (int)value.m_value; return RET_OK; } unsigned VideoEncoder::InitFormat(DsCScriptValue & _parameters) { m_MediaType = (unsigned char)_parameters.GetTableValue("payload_type").GetInt(); m_pCodecCtx->pix_fmt = PIX_FMT_YUV420P; m_pCodecCtx->width = (int)_parameters.GetTableValue("format").GetTableValue("size").GetTableValue("width").GetInt(); m_pCodecCtx->height = (int)_parameters.GetTableValue("format").GetTableValue("size").GetTableValue("height").GetInt(); m_pCodecCtx->time_base.den = (int)_parameters.GetTableValue("format").GetTableValue("frame_rate").GetInt(); if ( (m_pCodecCtx->time_base.den == 5) || (m_pCodecCtx->time_base.den == 10)|| (m_pCodecCtx->time_base.den == 15) ) { m_pCodecCtx->time_base.num = 1; } else m_pCodecCtx->time_base.num = (int)_parameters.GetTableValue("format").GetTableValue("frame_rate_base").GetInt(); return RET_OK; } unsigned VideoEncoder::Encode(unsigned char *_pBufIn, unsigned _bufInLen, unsigned char *_pBufOut, unsigned & _bufOutLen, void *_pHeaderData) { if (!_pBufIn || !_bufInLen || !_pBufOut) return RET_INVALID_ARG; if (!m_pCodecCtx) return RET_INIT_ERROR; memcpy(m_pRgbPicBuf, _pBufIn, _bufInLen); img_convert((AVPicture *)m_pYuvPicture, m_pCodecCtx->pix_fmt, (AVPicture *)m_pRgbPicture, PIX_FMT_RGB24, m_pCodecCtx->width, m_pCodecCtx->height); int ret; ret = avcodec_encode_video(m_pCodecCtx, _pBufOut, _bufOutLen, m_pYuvPicture); if (ret >= 0) { VideoCodecParam *pVideoParam = (VideoCodecParam *) _pHeaderData; _bufOutLen = ret; if (m_pCodecCtx->coded_frame->key_frame) pVideoParam->MPKT_keyFrame = true; else pVideoParam->MPKT_keyFrame = false; pVideoParam->MPKT_type = m_MediaType; ret = RET_OK; } else { _bufOutLen = 0; ret = RET_ERROR; } return ret; } unsigned Mpeg4Encoder::Init() { ULONG ret = RET_OK; if (!m_Init) { DsCScriptValue tableParam; CHECK_ERROR(SetEncoder(GetCodecType(), tableParam), RET_OK) DsCString codec_properties = tableParam.GetTableValue("codec_properties").GetStr(); std::string stringToParse = codec_properties.GetStr(); CParseString parseString(stringToParse, ':' ); InitCommonParameters(parseString); ParseFieldValue value; if ((value = parseString.GetFieldValue("mpeg_quant")).m_valueOK) m_pCodecCtx->mpeg_quant = (int)value.m_value; value = parseString.GetFieldValue("4mv"); if (value.m_valueOK && value.m_booleanValue) { m_pCodecCtx->flags |= CODEC_FLAG_4MV; } /*value = parseString.GetFieldValue("part"); if (value.m_valueOK && value.m_booleanValue) { m_pCodecCtx->flags |= CODEC_FLAG_PART; }*/ value = parseString.GetFieldValue("gmc"); if (value.m_valueOK && value.m_booleanValue) { m_pCodecCtx->flags |= CODEC_FLAG_GMC; } value = parseString.GetFieldValue("mv0"); if (value.m_valueOK && value.m_booleanValue) { m_pCodecCtx->flags |= CODEC_FLAG_MV0; } value = parseString.GetFieldValue("trellis"); if (value.m_valueOK && value.m_booleanValue) { m_pCodecCtx->flags |= CODEC_FLAG_TRELLIS_QUANT; } InitFormat(tableParam); InitVideoEncoder(); if ( avcodec_open(m_pCodecCtx, m_pCodec) < 0 ) return RET_COULD_NOT_OPEN_CODEC; m_Init = true; } return ret; } unsigned H264Encoder::Init() { ULONG ret = RET_OK; if (!m_Init) { DsCScriptValue tableParam; CHECK_ERROR(SetEncoder(GetCodecType(), tableParam), RET_OK) DsCString codec_properties = tableParam.GetTableValue("codec_properties").GetStr(); std::string stringToParse = codec_properties.GetStr(); CParseString parseString(stringToParse, ':' ); InitCommonParameters(parseString); ParseFieldValue value; if ((value = parseString.GetFieldValue("coder")).m_valueOK) m_pCodecCtx->coder_type = (int)value.m_value; InitFormat(tableParam); InitVideoEncoder(); if ( avcodec_open(m_pCodecCtx, m_pCodec) < 0 ) return RET_COULD_NOT_OPEN_CODEC; m_Init = true; } return ret; }
[ "heineck@c016ff2c-3db2-11de-a81c-fde7d73ceb89" ]
[ [ [ 1, 267 ] ] ]
c17e8c6a4e552fe2ef1dc71f805b337d37f13991
99d3989754840d95b316a36759097646916a15ea
/trunk/2011_09_07_to_baoxin_gpd/ferrylibs/src/ferry/imutil/io/StillImageSequenceReader.h
b4cc2231548cbd6226b20e32a35994c9c1f08a7d
[]
no_license
svn2github/ferryzhouprojects
5d75b3421a9cb8065a2de424c6c45d194aeee09c
482ef1e6070c75f7b2c230617afe8a8df6936f30
refs/heads/master
2021-01-02T09:20:01.983370
2011-10-20T11:39:38
2011-10-20T11:39:38
11,786,263
1
0
null
null
null
null
UTF-8
C++
false
false
1,034
h
#pragma once #include <ferry/util/StringUtil.h> #include "ImageSequenceReader.h" using namespace ferry::util; namespace ferry { namespace imutil { namespace io { /*! * read single still image */ class StillImageSequenceReader : public ImageSequenceReader { public: StillImageSequenceReader(const char* path) : ImageSequenceReader(path) { image = cvLoadImage(path, 1); if (image == NULL) failed = true; else failed = false; picked = false; string filenameBuf; sprintf(this->filename, "%s", getFileName(path, filenameBuf)); } ~StillImageSequenceReader(void) { if (image != NULL) cvReleaseImage(&image); } public: bool isFailed() { return failed; } IplImage* nextFrame() { if (!picked) { picked = true; return image; } else return NULL; } void close() { cvReleaseImage(&image); image = NULL; } char* getFilename() { return filename; } private: IplImage* image; char filename[200]; bool picked; bool failed; }; } } }
[ "ferryzhou@b6adba56-547e-11de-b413-c5e99dc0a8e2" ]
[ [ [ 1, 60 ] ] ]
54ef2f18d6641db9a306e38fda096e8db3aa8210
faaac39c2cc373003406ab2ac4f5363de07a6aae
/ zenithprime/inc/math/Face.h
dd8ae97d88b0e23d41ea03fe9e7d4a4927db49e8
[]
no_license
mgq812/zenithprime
595625f2ec86879eb5d0df4613ba41a10e3158c0
3c8ff4a46fb8837e13773e45f23974943a467a6f
refs/heads/master
2021-01-20T06:57:05.754430
2011-02-05T17:20:19
2011-02-05T17:20:19
32,297,284
0
0
null
null
null
null
UTF-8
C++
false
false
360
h
#pragma once #include <stdio.h> #include <stdlib.h> #include <cstdio> #include "VectorMath.h" class Tri { public: Tri(void); ~Tri(void); int3 T1; int3 T2; int3 T3; }; class Quad : public Tri { public: int3 T4; }; class PolygonFace { public: std::vector<int3> T; }; class Line { public: int3 Start; int3 End; };
[ "mhsmith01@2c223db4-e1a0-a0c7-f360-d8b483a75394" ]
[ [ [ 1, 35 ] ] ]
05840ca64e0bb869292fad8995f406155c707a53
b3f6e84f764d13d5bd49fadb00171f7cd191e2b8
/src/GameInput.cpp
62f9cae7fb1c8adae69686c7c9c25c90ca841c9c
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
youngj/cranea
f55a93d2c7b97479a2f9c7f63ac72f1dd419e9f6
5411a9374a7dc29dd33e4445ef9277ed2b72c835
refs/heads/master
2020-05-18T15:13:03.623874
2008-04-23T08:50:20
2008-04-23T08:50:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,847
cpp
#include <iostream> #include <fstream> using namespace std; #include "CraneaBase.h" #include "GameInput.h" bool GameInput::seekObject(int gid) { map<int, off_t>::iterator pos = offsetMap_.find(gid); if (pos == offsetMap_.end()) { return false; } off_t offset = pos->second; in_.seekg(offset); return true; } int GameInput::getGid(ObjectType objectType, const byte *key) { byte keyhash[KEYHASH_SIZE]; hashKey(key, keyhash); string keyStr((char*)keyhash, KEYHASH_SIZE); map<string, int>::iterator pos = gidMaps_[objectType].find(keyStr); if (pos == gidMaps_[objectType].end()) { return -1; } return pos->second; } byte *GameInput::initialKey() { return initialKey_; } GameInput::GameInput(const string &infile) : in_(infile.c_str(), ios::in | ios::binary) { fail_ = in_.fail(); if (!fail_) { // read until first nul byte char ch; do { ch = in_.get(); } while (ch != '\0' && !in_.eof()); off_t offsetTableOffset = readVal<off_t>(); off_t gidTableOffsets[NUM_GLOBAL_MAPS]; for (size_t i = 0; i < NUM_GLOBAL_MAPS; i++) { gidTableOffsets[i] = readVal<off_t>(); } // read the initial location key in_.read((char *)initialKey_, KEY_SIZE); // read the offset table (gid -> file offset) in_.seekg(offsetTableOffset); size_t numEntries = readVal<size_t>(); //cout << numEntries << " entries in the global offset table" << endl; for (size_t i = 0; i < numEntries; i++) { int gid = readVal<int>(); off_t offset = readVal<off_t>(); offsetMap_[gid] = offset; } // read the tables of top-level objects (keyhash -> gid) for (size_t i = 0; i < NUM_GLOBAL_MAPS; i++) { map<string, int> &gidMap = gidMaps_[i]; in_.seekg(gidTableOffsets[i]); numEntries = readVal<size_t>(); //cout << numEntries << " entries in map " << i << endl; for (size_t j = 0; j < numEntries; j++) { char keyhash[KEYHASH_SIZE]; in_.read(keyhash, KEYHASH_SIZE); string keyhashStr(keyhash, KEYHASH_SIZE); int gid = readVal<int>(); gidMap[keyhashStr] = gid; } } } } ifstream &GameInput::stream() { return in_; } template <typename T> T GameInput::readVal() { T result; in_.read((char *)&result, sizeof(T)); canonicalizeEndianness(result); return result; } bool GameInput::fail() { return fail_; }
[ "adunar@1d512d32-bd3c-0410-8fef-f7bcb4ce661b" ]
[ [ [ 1, 119 ] ] ]
584336d5afa441cc261cd228e24f589f09a1768f
3eeca765b50d8e8633e72736dff195a9c6497c20
/Parser.cpp
26bfc42eda81c642bc3ad57c039cbe1bcb5124e4
[]
no_license
ducky-hong/giyeok
20a1685a13bd3a03f1d15d111d8622f48e61e1e2
c42e408d978c64c4419e1533ed92ebfd1232167b
refs/heads/master
2016-09-06T06:14:44.833270
2009-07-02T14:32:50
2009-07-02T14:32:50
32,984,403
0
0
null
null
null
null
UHC
C++
false
false
1,296
cpp
#include "Parser.h" #include "Types.h" #include "BasicIO.h" #include <fstream> #include <iostream> Tbool* Tbool::inst; Tint* Tint::inst; Tfloat* Tfloat::inst; Tstr* Tstr::inst; Tlist* Tlist::inst; Tfn* Tfn::inst; Tclass* Tclass::inst; void Parser::addLibrary(GYstring filepath) { // filepath을 라이브러리로 사용할 것을 등록해 놓고 library.push_back(filepath); } void Parser::loadLibrary() { GYuint i, s; s=library.size(); for (i=0; i<s; i++) { std::ifstream ifs(library[i].c_str()); oss.clear(); oss << ifs.rdbuf(); program=readBlock(program); ifs.close(); } } Eblock* Parser::parseFile(GYstring filepath) { std::ifstream ifs(filepath.c_str()); reusetoken=false; if(!ifs) return false; program=new Eblock(); program->registerClass(new Tbool()); program->registerClass(new Tint()); program->registerClass(new Tfloat()); program->registerClass(new Tstr()); program->registerClass(new Tlist()); program->registerClass(new Tfn()); program->registerClass(new Tclass()); registerBasicIOfunctions(program); linenum=1; loadLibrary(); oss.clear(); oss << ifs.rdbuf(); if(!ifs && !ifs.eof()) return false; program=readBlock(program); ifs.close(); program->integration(0); return program; }
[ "Joonsoo@localhost" ]
[ [ [ 1, 56 ] ] ]
06e5f1110bc10c4441d11f72c85379b4ea81a37f
f8b364974573f652d7916c3a830e1d8773751277
/emulator/language.h
218bb5034583791998ab0f322f5224bf0004e11c
[]
no_license
lemmore22/pspe4all
7a234aece25340c99f49eac280780e08e4f8ef49
77ad0acf0fcb7eda137fdfcb1e93a36428badfd0
refs/heads/master
2021-01-10T08:39:45.222505
2009-08-02T11:58:07
2009-08-02T11:58:07
55,047,469
0
0
null
null
null
null
ISO-8859-2
C++
false
false
305
h
/* * language.h * * Created on: 13 déc. 2008 * Author: hli */ #ifndef LANGUAGE_H_ #define LANGUAGE_H_ #include <cstdarg> namespace language { void printf(char *s, char const *fmt, ...); void printf(char *s, char const *fmt, va_list args); } #endif /* LANGUAGE_H_ */
[ [ [ 1, 19 ] ] ]
22f92d90b11b18806e13c7ae654b6e5b1533269e
33f59b1ba6b12c2dd3080b24830331c37bba9fe2
/Depend/Foundation/Distance/Wm4DistRay3Box3.cpp
bd4a77775fc33affb3fbd86f8bd250938d8e2a6b
[]
no_license
daleaddink/flagship3d
4835c223fe1b6429c12e325770c14679c42ae3c6
6cce5b1ff7e7a2d5d0df7aa0594a70d795c7979a
refs/heads/master
2021-01-15T16:29:12.196094
2009-11-01T10:18:11
2009-11-01T10:18:11
37,734,654
1
0
null
null
null
null
UTF-8
C++
false
false
3,664
cpp
// Geometric Tools, Inc. // http://www.geometrictools.com // Copyright (c) 1998-2006. All Rights Reserved // // The Wild Magic Version 4 Foundation Library source code is supplied // under the terms of the license agreement // http://www.geometrictools.com/License/Wm4FoundationLicense.pdf // and may not be copied or disclosed except in accordance with the terms // of that agreement. #include "Wm4FoundationPCH.h" #include "Wm4DistRay3Box3.h" #include "Wm4DistVector3Box3.h" #include "Wm4DistLine3Box3.h" namespace Wm4 { //---------------------------------------------------------------------------- template <class Real> DistRay3Box3<Real>::DistRay3Box3 (const Ray3<Real>& rkRay, const Box3<Real>& rkBox) : m_rkRay(rkRay), m_rkBox(rkBox) { } //---------------------------------------------------------------------------- template <class Real> const Ray3<Real>& DistRay3Box3<Real>::GetRay () const { return m_rkRay; } //---------------------------------------------------------------------------- template <class Real> const Box3<Real>& DistRay3Box3<Real>::GetBox () const { return m_rkBox; } //---------------------------------------------------------------------------- template <class Real> Real DistRay3Box3<Real>::Get () { Real fSqrDist = GetSquared(); return Math<Real>::Sqrt(fSqrDist); } //---------------------------------------------------------------------------- template <class Real> Real DistRay3Box3<Real>::GetSquared () { Line3<Real> kLine(m_rkRay.Origin,m_rkRay.Direction); DistLine3Box3<Real> kLBDist(kLine,m_rkBox); Real fSqrDistance; if (kLBDist.GetLineParameter() >= (Real)0.0) { fSqrDistance = kLBDist.GetSquared(); m_kClosestPoint0 = kLBDist.GetClosestPoint0(); m_kClosestPoint1 = kLBDist.GetClosestPoint1(); } else { DistVector3Box3<Real> kVBDist(m_rkRay.Origin,m_rkBox); fSqrDistance = kVBDist.GetSquared(); m_kClosestPoint0 = kVBDist.GetClosestPoint0(); m_kClosestPoint1 = kVBDist.GetClosestPoint1(); } return fSqrDistance; } //---------------------------------------------------------------------------- template <class Real> Real DistRay3Box3<Real>::Get (Real fT, const Vector3<Real>& rkVelocity0, const Vector3<Real>& rkVelocity1) { Vector3<Real> kMOrigin = m_rkRay.Origin + fT*rkVelocity0; Vector3<Real> kMCenter = m_rkBox.Center + fT*rkVelocity1; Ray3<Real> kMRay(kMOrigin,m_rkRay.Direction); Box3<Real> kMBox(kMCenter,m_rkBox.Axis,m_rkBox.Extent); return DistRay3Box3<Real>(kMRay,kMBox).Get(); } //---------------------------------------------------------------------------- template <class Real> Real DistRay3Box3<Real>::GetSquared (Real fT, const Vector3<Real>& rkVelocity0, const Vector3<Real>& rkVelocity1) { Vector3<Real> kMOrigin = m_rkRay.Origin + fT*rkVelocity0; Vector3<Real> kMCenter = m_rkBox.Center + fT*rkVelocity1; Ray3<Real> kMRay(kMOrigin,m_rkRay.Direction); Box3<Real> kMBox(kMCenter,m_rkBox.Axis,m_rkBox.Extent); return DistRay3Box3<Real>(kMRay,kMBox).GetSquared(); } //---------------------------------------------------------------------------- //---------------------------------------------------------------------------- // explicit instantiation //---------------------------------------------------------------------------- template WM4_FOUNDATION_ITEM class DistRay3Box3<float>; template WM4_FOUNDATION_ITEM class DistRay3Box3<double>; //---------------------------------------------------------------------------- }
[ "yf.flagship@e79fdf7c-a9d8-11de-b950-3d5b5f4ea0aa" ]
[ [ [ 1, 102 ] ] ]
e13f843ea52cf14037803f78fc05e0af5965a4c0
a0253037fb4d15a9f087c4415da58253998b453e
/lib/t_playercontroller/playercontroller.h
dd7bbbe8a87df187f1359ff55797ef4747dbc9a6
[]
no_license
thomas41546/Spario
a792746ca3e12c7c3fb2deb57ceb05196f5156a0
4aca33f9679515abce208eb1ee28d8bc6987cba0
refs/heads/master
2021-01-25T06:36:40.111835
2010-07-03T04:16:45
2010-07-03T04:16:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
993
h
#ifndef PLAYERCONTROLLER #define PLAYERCONTROLLER #include "../../lib/global.h" #include "../../lib/p_vector/vector.h" #include "../../lib/t_obj/obj.h" #include "../../lib/t_gameobjcontroller/gameobjcontroller.h" #include "../../lib/t_mapobjtrans/mapobjtrans.h" #include "../../lib/t_keyboard/keyboard.h" class PlayerController{ private: GameObjectController * GameObjectControllerPtr; MapObjGameTranslator * pMapObjTrans; Keyboard * pKeyboard; Obj * PlayerPtr; double jumpStartPosY; public: PlayerController(); PlayerController(Keyboard * p_gkeyb, GameObjectController * p_goc,MapObjGameTranslator * p_mot); void KeyboardUpdate(); Obj * PlayerPt(); Vector PlayerPos(); Vector PlayerVelocity(); Vector PlayerLastVelocity(); }; #endif
[ [ [ 1, 32 ] ] ]
88c8cac3ab2237c3cc24803c50f0c48d0c91655f
a1dc22c5f671b7859339aaef69b3461fad583d58
/examples/bcpp6/clock/main.h
b1c0f7297a2c72aeed9ac58d94c720cc58a1edba
[]
no_license
remis/chai3d
cd694053f55773ca6883a9ea30047e95e70a33e8
15323a24b97be73df6f7172bc0b41cc09631c94e
refs/heads/master
2021-01-18T08:46:44.253084
2009-05-11T21:51:22
2009-05-11T22:10:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,397
h
//=========================================================================== /* This file is part of the CHAI 3D visualization and haptics libraries. Copyright (C) 2003-2004 by CHAI 3D. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License("GPL") version 2 as published by the Free Software Foundation. For using the CHAI 3D libraries with software that can not be combined with the GNU GPL, and for taking advantage of the additional benefits of our support services, please contact CHAI 3D about acquiring a Professional Edition License. \author: <http://www.chai3d.org> \author: Francois Conti \version 1.1 \date 01/2004 */ //=========================================================================== //--------------------------------------------------------------------------- #ifndef mainH #define mainH //--------------------------------------------------------------------------- #include <Classes.hpp> #include <Controls.hpp> #include <StdCtrls.hpp> #include <Forms.hpp> //--------------------------------------------------------------------------- #include "CPrecisionClock.h" //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TLabel *Label1; TGroupBox *GroupBox1; TButton *Button1; TButton *Button2; TButton *Button3; TGroupBox *GroupBox2; TLabel *labelTime; TGroupBox *GroupBox3; TLabel *labelPeriod; TLabel *labelMessage; TMemo *Memo1; void __fastcall FormCreate(TObject *Sender); void __fastcall Button1Click(TObject *Sender); void __fastcall Button2Click(TObject *Sender); void __fastcall Button3Click(TObject *Sender); void __fastcall FormClose(TObject *Sender, TCloseAction &Action); private: // User declarations public: // User declarations // High resolution clock cPrecisionClock *time; __fastcall TForm1(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif
[ [ [ 1, 62 ] ] ]
6ba6a7fc38ae9b26f70a7c13e1a485c2374cc464
1c9f99b2b2e3835038aba7ec0abc3a228e24a558
/Projects/elastix/elastix_sources_v4/src/Common/itkScaledSingleValuedNonLinearOptimizer.cxx
0c8a08126ad34f6911dd6500b25dc87d6b621380
[]
no_license
mijc/Diploma
95fa1b04801ba9afb6493b24b53383d0fbd00b33
bae131ed74f1b344b219c0ffe0fffcd90306aeb8
refs/heads/master
2021-01-18T13:57:42.223466
2011-02-15T14:19:49
2011-02-15T14:19:49
1,369,569
0
0
null
null
null
null
UTF-8
C++
false
false
6,058
cxx
/*====================================================================== This file is part of the elastix software. Copyright (c) University Medical Center Utrecht. All rights reserved. See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. ======================================================================*/ #ifndef __itkScaledSingleValuedNonLinearOptimizer_cxx #define __itkScaledSingleValuedNonLinearOptimizer_cxx #include "itkScaledSingleValuedNonLinearOptimizer.h" namespace itk { /** * ****************** Constructor ********************************* */ ScaledSingleValuedNonLinearOptimizer:: ScaledSingleValuedNonLinearOptimizer() { this->m_Maximize = false; this->m_ScaledCostFunction = ScaledCostFunctionType::New(); } // end constructor /** * ****************** InitializeScales ****************************** */ void ScaledSingleValuedNonLinearOptimizer::InitializeScales() { /** NB: we assume the scales entered by the user are meant * as squared scales (following the ITK convention)! */ this->m_ScaledCostFunction->SetSquaredScales( this->GetScales() ); this->Modified(); } // end InitializeScales /** * ****************** SetCostFunction ****************************** */ void ScaledSingleValuedNonLinearOptimizer:: SetCostFunction(CostFunctionType * costFunction) { this->m_ScaledCostFunction->SetUnscaledCostFunction( costFunction ); this->Superclass::SetCostFunction(costFunction); } //end SetCostFunction /** * ********************* SetUseScales ****************************** */ void ScaledSingleValuedNonLinearOptimizer::SetUseScales(bool arg) { this->m_ScaledCostFunction->SetUseScales(arg); this->Modified(); } // end SetUseScales /** * ********************* GetUseScales ****************************** */ const bool ScaledSingleValuedNonLinearOptimizer::GetUseScales(void) const { return this->m_ScaledCostFunction->GetUseScales(); } // end SetUseScales /** * ********************* GetScaledValue ***************************** */ ScaledSingleValuedNonLinearOptimizer::MeasureType ScaledSingleValuedNonLinearOptimizer:: GetScaledValue( const ParametersType & parameters ) const { return this->m_ScaledCostFunction->GetValue(parameters); } // end GetScaledValue /** * ********************* GetScaledDerivative ***************************** */ void ScaledSingleValuedNonLinearOptimizer:: GetScaledDerivative( const ParametersType & parameters, DerivativeType & derivative ) const { this->m_ScaledCostFunction->GetDerivative(parameters, derivative); } // end GetScaledDerivative /** * ********************* GetScaledValueAndDerivative *********************** */ void ScaledSingleValuedNonLinearOptimizer:: GetScaledValueAndDerivative( const ParametersType & parameters, MeasureType & value, DerivativeType & derivative ) const { this->m_ScaledCostFunction-> GetValueAndDerivative(parameters, value, derivative); } // end GetScaledValueAndDerivative /** * ********************* GetCurrentPosition *********************** */ const ScaledSingleValuedNonLinearOptimizer::ParametersType & ScaledSingleValuedNonLinearOptimizer::GetCurrentPosition() const { /** Get the current unscaled position */ const ParametersType & scaledCurrentPosition = this->GetScaledCurrentPosition(); if ( this->GetUseScales() ) { /** Get the ScaledCurrentPosition and divide each * element through its scale. */ m_UnscaledCurrentPosition = scaledCurrentPosition; this->m_ScaledCostFunction-> ConvertScaledToUnscaledParameters(m_UnscaledCurrentPosition); return m_UnscaledCurrentPosition; } else { /** If no scaling is used, simply return the * ScaledCurrentPosition, since it is not scaled anyway */ return scaledCurrentPosition; } } // end GetCurrentPosition /** * ***************** SetScaledCurrentPosition ********************* */ void ScaledSingleValuedNonLinearOptimizer:: SetScaledCurrentPosition(const ParametersType & parameters) { itkDebugMacro("setting scaled current position to " << parameters); this->m_ScaledCurrentPosition = parameters; this->Modified(); } // end SetScaledCurrentPosition /** * *********************** SetCurrentPosition ********************* */ void ScaledSingleValuedNonLinearOptimizer:: SetCurrentPosition (const ParametersType &param) { /** Multiply the argument by the scales and set it as the * the ScaledCurrentPosition */ if ( this->GetUseScales() ) { ParametersType scaledParameters = param; this->m_ScaledCostFunction-> ConvertUnscaledToScaledParameters(scaledParameters); this->SetScaledCurrentPosition(scaledParameters); } else { this->SetScaledCurrentPosition(param); } } // end SetCurrentPosition /** * ******************** SetMaximize ******************************* */ void ScaledSingleValuedNonLinearOptimizer:: SetMaximize( bool _arg ) { itkDebugMacro("Setting Maximize to " << _arg); if ( this->m_Maximize != _arg ) { this->m_Maximize = _arg; this->m_ScaledCostFunction->SetNegateCostFunction(_arg); this->Modified(); } } // end SetMaximize } // end namespace itk #endif // #ifndef __itkScaledSingleValuedNonLinearOptimizer_cxx
[ [ [ 1, 226 ] ] ]
9f7d89c94c589cd9eb8a9d957799b4009b931ee0
0f8559dad8e89d112362f9770a4551149d4e738f
/Wall_Destruction/Havok/Source/Common/Base/System/Io/Writer/Buffered/hkBufferedStreamWriter.h
e7c186823f5303cca4968ce223c674fd5a8d9cd0
[]
no_license
TheProjecter/olafurabertaymsc
9360ad4c988d921e55b8cef9b8dcf1959e92d814
456d4d87699342c5459534a7992f04669e75d2e1
refs/heads/master
2021-01-10T15:15:49.289873
2010-09-20T12:58:48
2010-09-20T12:58:48
45,933,002
0
0
null
null
null
null
UTF-8
C++
false
false
2,966
h
/* * * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok. * Level 2 and Level 3 source code contains trade secrets of Havok. Havok Software (C) Copyright 1999-2009 Telekinesys Research Limited t/a Havok. All Rights Reserved. Use of this software is subject to the terms of an end user license agreement. * */ #ifndef HKBASE_BUFFERED_STREAMWRITER_H #define HKBASE_BUFFERED_STREAMWRITER_H #include <Common/Base/System/Io/Writer/hkStreamWriter.h> extern const hkClass hkBufferedStreamWriterClass; /// Wraps and buffers an existing unbuffered stream. class hkBufferedStreamWriter : public hkStreamWriter { public: /// Create a buffered stream from stream 's' with size 'bufSize'. /// Adds a reference to 's'. hkBufferedStreamWriter(hkStreamWriter* s, int bufSize=4096); /// Create a buffered stream from a piece of memory 'm' with size 'memSize'. /// The memory is used in place and must be valid for the lifetime of this object. /// If the memory is to be used to hold a C string, it is zeroed and the final byte /// will not be written to which ensures the string is always terminated. hkBufferedStreamWriter(void* mem, int memSize, hkBool memoryIsString); /// Removes a reference to its sub stream. ~hkBufferedStreamWriter(); virtual int write(const void* buf, int nbytes); virtual void flush(); virtual hkBool isOk() const; virtual hkBool seekTellSupported() const; virtual hkResult seek(int offset, SeekWhence whence); virtual int tell() const; // hkReferencedObject virtual void calcContentStatistics( hkStatisticsCollector* collector,const hkClass* cls ) const; virtual const hkClass* getClassType() const { return &hkBufferedStreamWriterClass; } protected: hkStreamWriter* m_stream; // child stream or HK_NULL for inplace char* m_buf; // start of buffer area int m_bufSize; // used buffer area int m_bufCapacity; // total available buffer area hkBool m_ownBuffer; // did we allocate the buffer protected: int flushBuffer(); }; #endif // HKBASE_BUFFERED_STREAMWRITER_H /* * Havok SDK - NO SOURCE PC DOWNLOAD, BUILD(#20091222) * * Confidential Information of Havok. (C) Copyright 1999-2009 * Telekinesys Research Limited t/a Havok. All Rights Reserved. The Havok * Logo, and the Havok buzzsaw logo are trademarks of Havok. Title, ownership * rights, and intellectual property rights in the Havok software remain in * Havok and/or its suppliers. * * Use of this software for evaluation purposes is subject to and indicates * acceptance of the End User licence Agreement for this product. A copy of * the license is included with this software and is also available at www.havok.com/tryhavok. * */
[ [ [ 1, 78 ] ] ]
e03c95a66704fc36836d9140fef1fda1ee10d3d4
942b88e59417352fbbb1a37d266fdb3f0f839d27
/src/tone.hxx
e6222b5cc6627ceaee3db4e05aa381b2b769c59f
[ "BSD-2-Clause" ]
permissive
take-cheeze/ARGSS...
2c1595d924c24730cc714d017edb375cfdbae9ef
2f2830e8cc7e9c4a5f21f7649287cb6a4924573f
refs/heads/master
2016-09-05T15:27:26.319404
2010-12-13T09:07:24
2010-12-13T09:07:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,978
hxx
////////////////////////////////////////////////////////////////////////////////// /// ARGSS - Copyright (c) 2009 - 2010, Alejandro Marzini (vgvgf) /// All rights reserved. /// /// Redistribution and use in source and binary forms, with or without /// modification, are permitted provided that the following conditions are met: /// * Redistributions of source code must retain the above copyright /// notice, this list of conditions and the following disclaimer. /// * Redistributions in binary form must reproduce the above copyright /// notice, this list of conditions and the following disclaimer in the /// documentation and/or other materials provided with the distribution. /// /// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY /// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED /// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE /// DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY /// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES /// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; /// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND /// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT /// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS /// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ////////////////////////////////////////////////////////////////////////////////// #ifndef _TONE_HXX_ #define _TONE_HXX_ #include <argss/ruby.hxx> //////////////////////////////////////////////////////////// /// Tone class //////////////////////////////////////////////////////////// class Tone { public: Tone(); Tone(VALUE tone); ~Tone(); void set(VALUE tone); double red; double green; double blue; double gray; }; // class Tone #endif // _TONE_HXX_
[ "takeshi@takeshi-laptop.(none)", "[email protected]" ]
[ [ [ 1, 24 ], [ 30, 31 ], [ 33, 33 ], [ 40, 40 ], [ 48, 48 ] ], [ [ 25, 29 ], [ 32, 32 ], [ 34, 39 ], [ 41, 47 ], [ 49, 49 ] ] ]
155bcb92a9bf6328ba244412b8e011f46a14ef55
c5ecda551cefa7aaa54b787850b55a2d8fd12387
/src/UILayer/FaceManager.cpp
afd765dd57eaedb16f44baa6e4ad3f3d3c60172a
[]
no_license
firespeed79/easymule
b2520bfc44977c4e0643064bbc7211c0ce30cf66
3f890fa7ed2526c782cfcfabb5aac08c1e70e033
refs/heads/master
2021-05-28T20:52:15.983758
2007-12-05T09:41:56
2007-12-05T09:41:56
null
0
0
null
null
null
null
GB18030
C++
false
false
11,740
cpp
#include "StdAfx.h" #include ".\facemanager.h" #include "resource.h" #define SAFE_SET_FACE(index, face) if(m_ButtonFaces.size() <=(index)) m_ButtonFaces.resize((index)+1); \ m_ButtonFaces[(index)] = (face); CFaceManager::CFaceManager(void) { } CFaceManager::~CFaceManager(void) { ClearAllRes(); } void CFaceManager::ClearAllRes() { std::vector<BUTTONFACE *>::iterator it=m_ButtonFaces.begin(); for(; it!=m_ButtonFaces.end(); ++it) { BUTTONFACE * p=*it; if(p->left) DeleteObject(p->left); if(p->mid) DeleteObject(p->mid); if(p->right) DeleteObject(p->right); if(p->left!=p->left_a && p->left_a) DeleteObject(p->left_a); if(p->mid!=p->mid_a && p->mid_a) DeleteObject(p->mid_a); if(p->right!=p->right_a && p->right_a) DeleteObject(p->right_a); if(p->left!=p->left_h && p->left_h) DeleteObject(p->left_h); if(p->mid!=p->mid_h && p->mid_h) DeleteObject(p->mid_h); if(p->right!=p->right_h && p->right_h) DeleteObject(p->right_h); delete p; } m_ButtonFaces.clear(); } void CFaceManager::Init() { BUTTONFACE * pFace; pFace = new BUTTONFACE; ZeroMemory(pFace, sizeof(BUTTONFACE)); pFace->left = LoadBitmap(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_SHAREFILECOUNT_L)); pFace->mid = LoadBitmap(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_SHAREFILECOUNT_M)); pFace->right = LoadBitmap(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_SHAREFILECOUNT_R)); SAFE_SET_FACE(FI_SHARE_FILE_COUNT, pFace); CDC dc; dc.Attach(GetDC(NULL)); VERIFY(m_DC.CreateCompatibleDC(&dc) ); ReleaseDC(NULL, dc.m_hDC); dc.Detach(); // Initialize images <begin> m_arrImages[II_DETAILTAB_N].LoadResource(FindResource(NULL, _T("PNG_DETAILTAB_N"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImages[II_DETAILTAB_H].LoadResource(FindResource(NULL, _T("PNG_DETAILTAB_H"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImages[II_DETAILTAB_A].LoadResource(FindResource(NULL, _T("PNG_DETAILTAB_A"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImages[II_SEARCHBTN_N].LoadResource(FindResource(NULL, _T("PNG_SEARCHBTN_N"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImages[II_SEARCHBTN_H].LoadResource(FindResource(NULL, _T("PNG_SEARCHBTN_H"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImages[II_SEARCHBTN_P].LoadResource(FindResource(NULL, _T("PNG_SEARCHBTN_P"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImages[II_MAINTAB_BK].LoadResource(FindResource(NULL, _T("PNG_MAINTABBK"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImages[II_PAGETAB_BK].LoadResource(FindResource(NULL, _T("PNG_PAGETABBK"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImages[II_VERYCDSEARCH].LoadResource(FindResource(NULL, _T("PNG_SEARCHBAR_ICO"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImages[II_MAINTABMORE_N].LoadResource(FindResource(NULL, _T("PNG_MAINTABMORE_N"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImages[II_MAINTABMORE_H].LoadResource(FindResource(NULL, _T("PNG_MAINTABMORE_H"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImages[II_MAINTABMORE_P].LoadResource(FindResource(NULL, _T("PNG_MAINTABMORE_P"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImages[II_SPLITER_H].LoadResource(FindResource(NULL, _T("PNG_SPLITER_H"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImages[II_SPLITER_V].LoadResource(FindResource(NULL, _T("PNG_SPLITER_V"), _T("PNG")), CXIMAGE_FORMAT_PNG); // Initialize images <end> // Initialize image bars <begin> m_arrImageBars[IBI_MAINBTN_A].left.LoadResource(FindResource(NULL, _T("PNG_MAINBTN_A_L"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_MAINBTN_A].mid.LoadResource(FindResource(NULL, _T("PNG_MAINBTN_A_M"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_MAINBTN_A].right.LoadResource(FindResource(NULL, _T("PNG_MAINBTN_A_R"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_MAINBTN_N].left.LoadResource(FindResource(NULL, _T("PNG_MAINBTN_N_L"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_MAINBTN_N].mid.LoadResource(FindResource(NULL, _T("PNG_MAINBTN_N_M"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_MAINBTN_N].right.LoadResource(FindResource(NULL, _T("PNG_MAINBTN_N_R"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_MAINBTN_H].left.LoadResource(FindResource(NULL, _T("PNG_MAINBTN_H_L"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_MAINBTN_H].mid.LoadResource(FindResource(NULL, _T("PNG_MAINBTN_H_M"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_MAINBTN_H].right.LoadResource(FindResource(NULL, _T("PNG_MAINBTN_H_R"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_SEARCHBAR_EDIT].left.LoadResource(FindResource(NULL, _T("PNG_SEARCHBAREDIT_L"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_SEARCHBAR_EDIT].mid.LoadResource(FindResource(NULL, _T("PNG_SEARCHBAREDIT_M"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_SEARCHBAR_EDIT].right.LoadResource(FindResource(NULL, _T("PNG_SEARCHBAREDIT_R"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_PAGETAB_N].left.LoadResource(FindResource(NULL, _T("PNG_PAGETAB_N_L"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_PAGETAB_N].mid.LoadResource(FindResource(NULL, _T("PNG_PAGETAB_N_M"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_PAGETAB_N].right.LoadResource(FindResource(NULL, _T("PNG_PAGETAB_N_R"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_PAGETAB_A].left.LoadResource(FindResource(NULL, _T("PNG_PAGETAB_A_L"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_PAGETAB_A].mid.LoadResource(FindResource(NULL, _T("PNG_PAGETAB_A_M"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_PAGETAB_A].right.LoadResource(FindResource(NULL, _T("PNG_PAGETAB_A_R"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_PAGETAB_H].left.LoadResource(FindResource(NULL, _T("PNG_PAGETAB_H_L"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_PAGETAB_H].mid.LoadResource(FindResource(NULL, _T("PNG_PAGETAB_H_M"), _T("PNG")), CXIMAGE_FORMAT_PNG); m_arrImageBars[IBI_PAGETAB_H].right.LoadResource(FindResource(NULL, _T("PNG_PAGETAB_H_R"), _T("PNG")), CXIMAGE_FORMAT_PNG); // Initialize image bars <end> } CFaceManager * CFaceManager::GetInstance() { static std::auto_ptr<CFaceManager> s; if(s.get()==NULL) { s.reset(new CFaceManager); } return s.get(); } void CFaceManager::DrawFace(int nFaceIndex, HDC hDC, int nState, const CRect & rect, bool bVertDraw) { ASSERT(nFaceIndex<(int)m_ButtonFaces.size()); ASSERT(m_DC.m_hDC); if(nFaceIndex>=(int)m_ButtonFaces.size()) return; BUTTONFACE * pFace = m_ButtonFaces[nFaceIndex]; if(! pFace) { ASSERT(FALSE); return; } HBITMAP bmLeft=NULL, bmRight=NULL, bmMid=NULL; switch(nState) { case FS_ACTIVE: bmLeft = pFace->left_a; bmMid = pFace->mid_a; bmRight = pFace->right_a; break; case FS_NORMAL: bmLeft = pFace->left; bmMid = pFace->mid; bmRight = pFace->right; break; case FS_HOVER: bmLeft = pFace->left_h; bmMid = pFace->mid_h; bmRight = pFace->right_h; break; } if((bmLeft==NULL || bmRight==NULL) && bmMid==NULL) { bmLeft = pFace->left; bmMid = pFace->mid; bmRight = pFace->right; } ASSERT(bmMid); if(! bmMid) return; //BITMAP bminfLeft, bminfRight, bminfMid; // VC-linhai[2007-08-14]:初始化变量 // BITMAP bminfLeft = {0}; //warning C4701: 局部变量“bminfLeft”可能尚未初始化即被使用 BITMAP bminfMid = {0}; //warning C4701: 局部变量“bminfMid”可能尚未初始化即被使用 BITMAP bminfRight = {0}; //warning C4701: 局部变量“bminfRight”可能尚未初始化即被使用 if(bmLeft) ::GetObject(bmLeft, sizeof(BITMAP), &bminfLeft); ::GetObject(bmMid, sizeof(BITMAP), &bminfMid); if(bmRight) ::GetObject(bmRight, sizeof(BITMAP), &bminfRight); int height = min(rect.Height(), bminfMid.bmHeight); int width = min(rect.Width(), bminfMid.bmWidth); HBITMAP hOldBmp; if(bmMid && bmLeft==NULL && bmRight==NULL) { hOldBmp=(HBITMAP)::SelectObject(m_DC.m_hDC, bmMid); ::SelectObject(m_DC.m_hDC, bmMid); if(bVertDraw) { StretchBlt(hDC, rect.left, rect.top, rect.Width(), rect.Height(), m_DC.m_hDC, 0, 0, bminfMid.bmWidth, bminfMid.bmHeight, SRCCOPY); } else { StretchBlt(hDC, rect.left, rect.top, rect.Width(), rect.Height(), m_DC.m_hDC, 0, 0, bminfMid.bmWidth, bminfMid.bmHeight, SRCCOPY); } ::SelectObject(m_DC.m_hDC, hOldBmp); } else { hOldBmp=(HBITMAP)::SelectObject(m_DC.m_hDC, bmLeft); if(bVertDraw) { BitBlt(hDC, rect.left, rect.top, width, bminfLeft.bmHeight, m_DC.m_hDC, 0, 0, SRCCOPY); } else { BitBlt(hDC, rect.left, rect.top, bminfLeft.bmWidth, height, m_DC.m_hDC, 0, 0, SRCCOPY); } ::SelectObject(m_DC.m_hDC, bmMid); if(bVertDraw) { int nMidHeight=rect.Height() - bminfLeft.bmHeight- bminfRight.bmHeight; StretchBlt(hDC, rect.left, rect.top+bminfLeft.bmHeight, width, nMidHeight, m_DC.m_hDC, 0, 0, bminfMid.bmWidth, bminfMid.bmHeight, SRCCOPY); } else { int nMidWidth=rect.Width() - bminfLeft.bmWidth - bminfRight.bmWidth; StretchBlt(hDC, rect.left+bminfLeft.bmWidth, rect.top, nMidWidth, height, m_DC.m_hDC, 0, 0, bminfMid.bmWidth, bminfMid.bmHeight, SRCCOPY); } ::SelectObject(m_DC.m_hDC, bmRight); if(bVertDraw) { int nBtmPos=rect.Height() - bminfRight.bmHeight; BitBlt(hDC, rect.left, rect.top + nBtmPos, width, bminfRight.bmHeight, m_DC.m_hDC, 0, 0, SRCCOPY); } else { int nRightPos=rect.Width() - bminfRight.bmWidth; BitBlt(hDC, rect.left+nRightPos, rect.top, bminfRight.bmWidth, height, m_DC.m_hDC, 0, 0, SRCCOPY); } ::SelectObject(m_DC.m_hDC, hOldBmp); } } void CFaceManager::DrawImage(int nImageIndex, HDC hDC, const CRect & rect, int iMode) { ASSERT(nImageIndex < II_MAX); if (nImageIndex >= II_MAX) return; switch(iMode) { case 0: m_arrImages[nImageIndex].Draw(hDC, rect); break; case 1: { CRect rtTile = rect; m_arrImages[nImageIndex].Tile(hDC, &rtTile); } break; case 2: m_arrImages[nImageIndex].Stretch(hDC, rect); break; default: break; } } BOOL CFaceManager::GetImageSize(int nImageIndex, CSize &size) { ASSERT(nImageIndex < II_MAX); if (nImageIndex >= II_MAX) return FALSE; size.cx = m_arrImages[nImageIndex].GetWidth(); size.cy = m_arrImages[nImageIndex].GetHeight(); return TRUE; } void CFaceManager::DrawImageBar(int nImageBarIndex, HDC hDC, const CRect & rect, bool bVertDraw) { ASSERT(nImageBarIndex < IBI_MAX); if( nImageBarIndex >= IBI_MAX) return; CSize sizeLeft; CSize sizeRight; int iMidLength; sizeLeft.cx = m_arrImageBars[nImageBarIndex].left.GetWidth(); sizeLeft.cy = m_arrImageBars[nImageBarIndex].left.GetHeight(); sizeRight.cx = m_arrImageBars[nImageBarIndex].right.GetWidth(); sizeRight.cy = m_arrImageBars[nImageBarIndex].right.GetHeight(); if (bVertDraw) { m_arrImageBars[nImageBarIndex].left.Draw(hDC, rect.left, rect.top, rect.Width(), -1); m_arrImageBars[nImageBarIndex].right.Draw(hDC, rect.left, rect.bottom - sizeRight.cy, rect.Width(), -1); iMidLength = rect.Height() - sizeLeft.cy - sizeRight.cy; if (iMidLength > 0) m_arrImageBars[nImageBarIndex].mid.Draw(hDC, rect.left, rect.top + sizeLeft.cy, rect.Width(), iMidLength); } else { m_arrImageBars[nImageBarIndex].left.Draw(hDC, rect.left, rect.top, -1, rect.Height()); m_arrImageBars[nImageBarIndex].right.Draw(hDC, rect.right - sizeRight.cx, rect.top, -1, rect.Height()); iMidLength = rect.Width() - sizeLeft.cx - sizeRight.cx; if (iMidLength > 0) m_arrImageBars[nImageBarIndex].mid.Draw(hDC, rect.left + sizeLeft.cx, rect.top, iMidLength, rect.Height()); } }
[ "LanceFong@4a627187-453b-0410-a94d-992500ef832d" ]
[ [ [ 1, 323 ] ] ]
94997138ce99ef9f6e5ff802d89cebdaaf9de02c
49db059c239549a8691fda362adf0654c5749fb1
/2010/baboshina/task2/main.cpp
94a27f2b9d3c88ae96797204be45733c098571aa
[]
no_license
bondarevts/amse-qt
1a063f27c45a80897bb4751ae5c10f5d9d80de1b
2b9b76c7a5576bc1079fc037adcf039fed4dc848
refs/heads/master
2020-05-07T21:19:48.773724
2010-12-07T07:53:51
2010-12-07T07:53:51
35,804,478
0
0
null
null
null
null
UTF-8
C++
false
false
209
cpp
#include <QApplication> #include "dialog.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); myDialog dialog; dialog.show(); return app.exec(); }
[ "M.Baboshina@1a14799f-55e9-4979-7f51-533a2053511e" ]
[ [ [ 1, 12 ] ] ]
aa760439404f9e071bf8504337c61b020f0fd447
7a310d01d1a4361fd06b40a74a2afc8ddc23b4d3
/src/option/DonutConfirmOption.cpp
c0dc3d623f8636b251b699922e226fb901dee276
[]
no_license
plus7/DonutG
b6fec6111d25b60f9a9ae5798e0ab21bb2fa28f6
2d204c36f366d6162eaf02f4b2e1b8bc7b403f6b
refs/heads/master
2020-06-01T15:30:31.747022
2010-08-21T18:51:01
2010-08-21T18:51:01
767,753
1
2
null
null
null
null
SHIFT_JIS
C++
false
false
5,693
cpp
/** * DonutConfirmOption.cpp * @brief donutオプション: 確認ダイアログに関する設定プロパティページ. 終了時にユーザーへ確認を出す処理を含む. * @note * 終了時にユーザーへ確認を出す処理を含みます。 * 終了時に確認を行うCDonutConfirmOptionとその設定を行う * プロパティページCDonutConfirmPropertyPageを有します。 */ #include "stdafx.h" #include "DonutConfirmOption.h" #include "../IniFile.h" #if defined USE_ATLDBGMEM #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif //////////////////////////////////////////////////////////////////////////////// //CDonutConfirmOptionの定義 //////////////////////////////////////////////////////////////////////////////// //static変数の定義 DWORD CDonutConfirmOption::s_dwFlags = 0/*DONUT_CONFIRM_EXIT | DONUT_CONFIRM_CLOSEALLEXCEPT*/; DWORD CDonutConfirmOption::s_dwStopScript = TRUE; //+++ sizeof(BOOL)=sizeof(DWORD)に依存しないように、BOOLだったのをDWORDに変更. //メンバ関数 void CDonutConfirmOption::GetProfile() { CIniFileI pr( g_szIniFileName, _T("Confirmation") ); pr.QueryValue( s_dwFlags, _T("Confirmation_Flags") ); pr.QueryValue( /*(DWORD&)*/s_dwStopScript, _T("Script") ); pr.Close(); } void CDonutConfirmOption::WriteProfile() { CIniFileO pr( g_szIniFileName, _T("Confirmation") ); pr.SetValue( s_dwFlags, _T("Confirmation_Flags") ); pr.SetValue( s_dwStopScript, _T("Script") ); pr.Close(); } bool CDonutConfirmOption::OnDonutExit(HWND hWnd) { if ( _SearchDownloadingDialog() ) { if ( IDYES == ::MessageBox(hWnd, _T("ダウンロード中のファイルがありますが、Donutを終了してもよろしいですか?"), _T("確認ダイアログ"), MB_YESNO | MB_ICONQUESTION ) ) return true; else return false; } if ( !_check_flag(DONUT_CONFIRM_EXIT, s_dwFlags) ) return true; // Note. On debug mode, If DONUT_CONFIRM_EXIT set, the process would be killed // before Module::Run returns. What can I do? if ( IDYES == ::MessageBox(hWnd, _T("Donutを終了してもよろしいですか?"), _T("確認ダイアログ"), MB_YESNO | MB_ICONQUESTION) ) { return true; } return false; } bool CDonutConfirmOption::OnCloseAll(HWND hWnd) { if ( !_check_flag(DONUT_CONFIRM_CLOSEALL, s_dwFlags) ) return true; if ( IDYES == ::MessageBox(hWnd, _T("ウィンドウをすべて閉じてもよろしいですか?"), _T("確認ダイアログ"), MB_YESNO | MB_ICONQUESTION) ) return true; return false; } bool CDonutConfirmOption::OnCloseAllExcept(HWND hWnd) { if ( !_check_flag(DONUT_CONFIRM_CLOSEALLEXCEPT, s_dwFlags) ) return true; if ( IDYES == ::MessageBox(hWnd, _T("これ以外のウィンドウをすべて閉じてもよろしいですか?"), _T("確認ダイアログ"), MB_YESNO | MB_ICONQUESTION) ) return true; return false; } bool CDonutConfirmOption::OnCloseLeftRight(HWND hWnd, bool bLeft) { if ( !_check_flag(DONUT_CONFIRM_CLOSELEFTRIGHT, s_dwFlags) ) return true; const TCHAR* pStr = (bLeft) ? _T("このタブより左側のタブをすべて閉じてもよろしいですか?") : _T("このタブより右側のタブをすべて閉じてもよろしいですか?") ; if ( IDYES == ::MessageBox(hWnd, pStr, _T("確認ダイアログ"), MB_YESNO | MB_ICONQUESTION) ) return true; return false; } bool CDonutConfirmOption::_SearchDownloadingDialog() { _Function_Searcher f; f = MtlForEachTopLevelWindow(_T("#32770"), NULL, f); return f.m_bFound; } BOOL CDonutConfirmOption::WhetherConfirmScript() { if (s_dwStopScript) return TRUE; return FALSE; } //////////////////////////////////////////////////////////////////////////////// //CDonutConfirmPropertyPageの定義 //////////////////////////////////////////////////////////////////////////////// //コンストラクタ CDonutConfirmPropertyPage::CDonutConfirmPropertyPage() { _SetData(); } //プロパティページのオーバーライド関数 BOOL CDonutConfirmPropertyPage::OnSetActive() { SetModified(TRUE); return DoDataExchange(FALSE); } BOOL CDonutConfirmPropertyPage::OnKillActive() { return DoDataExchange(TRUE); } BOOL CDonutConfirmPropertyPage::OnApply() { if ( DoDataExchange(TRUE) ) { _GetData(); return TRUE; } else { return FALSE; } } //内部関数 void CDonutConfirmPropertyPage::_GetData() { DWORD dwFlags = 0; if (m_nExit /*== 1*/) dwFlags |= CDonutConfirmOption::DONUT_CONFIRM_EXIT; if (m_nCloseAll /*== 1*/) dwFlags |= CDonutConfirmOption::DONUT_CONFIRM_CLOSEALL; if (m_nCloseAllExcept /*== 1*/) dwFlags |= CDonutConfirmOption::DONUT_CONFIRM_CLOSEALLEXCEPT; if (m_nCloseLeftRight) dwFlags |= CDonutConfirmOption::DONUT_CONFIRM_CLOSELEFTRIGHT; CDonutConfirmOption::s_dwStopScript = (m_nStopScript != 0); CDonutConfirmOption::s_dwFlags = dwFlags; } void CDonutConfirmPropertyPage::_SetData() { DWORD dwFlags = CDonutConfirmOption::s_dwFlags; m_nExit = _check_flag(CDonutConfirmOption::DONUT_CONFIRM_EXIT , dwFlags); m_nCloseAll = _check_flag(CDonutConfirmOption::DONUT_CONFIRM_CLOSEALL , dwFlags); m_nCloseAllExcept = _check_flag(CDonutConfirmOption::DONUT_CONFIRM_CLOSEALLEXCEPT,dwFlags); m_nStopScript = CDonutConfirmOption::s_dwStopScript != 0; m_nCloseLeftRight = _check_flag(CDonutConfirmOption::DONUT_CONFIRM_CLOSELEFTRIGHT,dwFlags); }
[ [ [ 1, 216 ] ] ]
75729a81b08d67165a4aef89305ba87ac6781500
d43d7825a000108a3e430d51c9309b03d7bc4698
/PDR/pdr_thread.cpp
24542ac50ac9713debbded14d07d2a9033c2865c
[]
no_license
yinxufeng/php-desktop-runtime
fa788cd2a448ebd9e7fc028e1064902b485f0114
6fd871d028d0fbcdcff4ed5d21276126d04703d7
refs/heads/master
2020-05-18T16:42:50.660916
2010-07-05T07:06:46
2010-07-05T07:06:46
39,054,630
1
0
null
null
null
null
GB18030
C++
false
false
10,410
cpp
#include "stdafx.h" #include "pdr_thread.h" #include "php_main.h" #include "php_variables.h" #include "CPDR.h" static const zend_function_entry additional_functions[] = { {NULL, NULL, NULL} }; const char HARDCODED_INI[] = "html_errors=0\n" "register_argc_argv=0\n" "implicit_flush=1\n" "output_buffering=0\n" "max_execution_time=0\n" "max_input_time=-1\n\0"; static char* php_embed_read_cookies(TSRMLS_D) { return NULL; } static int php_embed_deactivate(TSRMLS_D) { fflush(stdout); return SUCCESS; } static inline size_t php_embed_single_write(const char *str, uint str_length) { #ifdef PHP_WRITE_STDOUT long ret; ret = write(STDOUT_FILENO, str, str_length); if (ret <= 0) return 0; return ret; #else size_t ret; ret = fwrite(str, 1, MIN(str_length, 16384), stdout); return ret; #endif } static int php_embed_ub_write(const char *str, uint str_length TSRMLS_DC) { const char *ptr = str; uint remaining = str_length; size_t ret; while (remaining > 0) { ret = php_embed_single_write(ptr, remaining); if (!ret) { php_handle_aborted_connection(); } ptr += ret; remaining -= ret; } return str_length; } static void php_embed_flush(void *server_context) { if (fflush(stdout)==EOF) { php_handle_aborted_connection(); } } static void php_embed_send_header(sapi_header_struct *sapi_header, void *server_context TSRMLS_DC) { } static void php_embed_log_message(char *message) { fprintf (stderr, "%s\n", message); } static void php_embed_register_variables(zval *track_vars_array TSRMLS_DC) { php_import_environment_variables(track_vars_array TSRMLS_CC); } static int php_embed_startup(sapi_module_struct *sapi_module) { if (php_module_startup(sapi_module, NULL, 0)==FAILURE) { return FAILURE; } return SUCCESS; } pdr_thread_resrc::pdr_thread_resrc() { psEntranceFunctionName = NULL ; nThreadId = 0 ; nThreadHandle = NULL ; //////////////////////////////////////// php_module.name = "embed" ; php_module.pretty_name = "PHP Embedded Library" ; php_module.startup = php_embed_startup ; php_module.shutdown = php_module_shutdown_wrapper ; php_module.activate = NULL ; php_module.deactivate = php_embed_deactivate ; php_module.ub_write = php_embed_ub_write ; php_module.flush = php_embed_flush ; php_module.get_stat = NULL ; php_module.getenv = NULL ; php_module.sapi_error = php_error ; php_module.header_handler = NULL ; php_module.send_headers = NULL ; php_module.send_header = php_embed_send_header ; php_module.read_post = NULL ; php_module.read_cookies = php_embed_read_cookies ; php_module.register_server_variables = php_embed_register_variables ; php_module.log_message = php_embed_log_message ; php_module.get_request_time = NULL ; #ifdef PHP53 php_module.terminate_process = NULL ; #endif ////////////////////////// // tsrm_ls = NULL ; } pdr_thread_resrc::~ pdr_thread_resrc() { if(psEntranceFunctionName) { delete psEntranceFunctionName ; } } DWORD WINAPI pdr_thread_callback(LPVOID pParam) { ::AfxMessageBox("in pdr_thread_callback()") ; //int argc = 0 ; //char **argv = NULL ; pdr_thread_resrc * pThreadResrc = (pdr_thread_resrc*) pParam ; //#ifdef ignore ////////////////////////////////////////////////////////////// zend_llist global_vars; #ifdef ZTS void ***tsrm_ls = NULL; #endif #ifdef HAVE_SIGNAL_H #if defined(SIGPIPE) && defined(SIG_IGN) signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so that sockets created via fsockopen() don't kill PHP if the remote site closes it. in apache|apxs mode apache does that for us! [email protected] 20000419 */ #endif #endif #ifdef ZTS tsrm_startup(1, 1, 0, NULL); tsrm_ls = (void ***)ts_resource(0); //*ptsrm_ls = tsrm_ls; #endif sapi_startup(&pThreadResrc->php_module); #ifdef PHP_WIN32 // _fmode = _O_BINARY; /*sets default for file streams to binary */ // setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ // setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ // setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ #endif pThreadResrc->php_module.ini_entries = (char *)malloc(sizeof(HARDCODED_INI)); memcpy(pThreadResrc->php_module.ini_entries, HARDCODED_INI, sizeof(HARDCODED_INI)); #ifdef PHP53 pThreadResrc->php_module.additional_functions = additional_functions ; #endif pThreadResrc->php_module.executable_location = NULL ; if (pThreadResrc->php_module.startup(&pThreadResrc->php_module)==FAILURE) { return FAILURE; } zend_llist_init(&global_vars, sizeof(char *), NULL, 0); /* Set some Embedded PHP defaults */ SG(options) |= SAPI_OPTION_NO_CHDIR; SG(request_info).argc=0; SG(request_info).argv=NULL; if (php_request_startup(TSRMLS_C)==FAILURE) { php_module_shutdown(TSRMLS_C); return FAILURE; } SG(headers_sent) = 1; SG(request_info).no_headers = 1; php_register_variable("PHP_SELF", "-", NULL TSRMLS_CC); // TSRMLS_FETCH() ; /* zval * pRet ; MAKE_STD_ZVAL(pRet) ; void *** tsrm_ls = (void ***)pParam ; //php_embed_init(0,NULL PTSRMLS_CC) ; zend_eval_string("fopen('c:\\xxxxxx','a')",pRet,"XXXXXXXX" TSRMLS_CC) ; */ //#endif return 0 ; } ZEND_FUNCTION(pdr_thread_create) { pdr_thread_resrc * pThreadResrc = new pdr_thread_resrc() ; int nResrc = _pdr_get_resrc_thread_window() ; ZEND_REGISTER_RESOURCE( return_value, pThreadResrc, nResrc ) DWORD dwId = 0 ; pThreadResrc->nThreadHandle = ::CreateThread(NULL,0,pdr_thread_callback,(void *)pThreadResrc,0,&pThreadResrc->nThreadId) ; if( !pThreadResrc->nThreadHandle ) { return_value->__refcount -- ; RETURN_FALSE ; } } #ifdef ignore ZEND_FUNCTION(pdr_thread_create_window) { bool bStartAtOnce = false ; long nPriority = 0 ; long nStackSize = 0 ; if( zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|bll", &bStartAtOnce, &nPriority, &nStackSize ) == FAILURE ) { RETURN_FALSE } pdr_window_thread * pThreadRc = new pdr_window_thread() ; pThreadRc->pInitHandle = new pdr_window_thread_handle() ; pThreadRc->pInitHandle->pFunc = NULL ; pThreadRc->pInitHandle->pppArgs = NULL ; pThreadRc->pInitHandle->nArgc = 0 ; pThreadRc->pInitHandle->pFuncTable = EG(function_table) ; pThreadRc->pExitHandle = new pdr_window_thread_handle() ; pThreadRc->pExitHandle->pFunc = NULL ; pThreadRc->pExitHandle->pppArgs = NULL ; pThreadRc->pExitHandle->nArgc = 0 ; pThreadRc->pExitHandle->pFuncTable = EG(function_table) ; pThreadRc->pThread = ::AfxBeginThread( RUNTIME_CLASS(CUIThread) , (int)nPriority , (UINT)nStackSize , (DWORD)(bStartAtOnce?0:CREATE_SUSPENDED) , (LPSECURITY_ATTRIBUTES)NULL ) ; ((CUIThread *)pThreadRc->pThread)->SetEventHandle(pThreadRc->pInitHandle,pThreadRc->pExitHandle) ; int nResrc = _pdr_get_resrc_thread_window() ; ZEND_REGISTER_RESOURCE( return_value, pThreadRc, nResrc ) } #define __pdr_get_resource_window_thread(type_spec,other_param) zval * hResrc = NULL ;\ _pdr_window_thread *pThreadRc = NULL ;\ if( zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, type_spec, &hResrc other_param ) == FAILURE )\ {\ RETURN_FALSE\ }\ ZEND_FETCH_RESOURCE(pThreadRc, _pdr_window_thread*, &hResrc, -1, resrc_name_pdr_thread_window, _pdr_get_resrc_thread_window()) ;\ if(!pThreadRc)\ {\ zend_error(E_WARNING, "PDR Thread: you was given a avalid window thread resource handle." );\ RETURN_FALSE\ }\ ZEND_FUNCTION(pdr_thread_set_hwnd) { /* 取得php线程资源 */ long nWnd = 0 ; __pdr_get_resource_window_thread("rl",__PDR_RESRC_MPARAM(&nWnd)) HWND hWnd = (HWND) nWnd ; if( !::IsWindow(hWnd) ) { zend_error(E_WARNING, "PDR Thread: the sec paramater is not a valid window handle." ); RETURN_FALSE } if( pThreadRc->pThread->m_pMainWnd ) { delete pThreadRc->pThread->m_pMainWnd ; } pThreadRc->pThread->m_pMainWnd = CWnd::FromHandle(hWnd) ; RETURN_TRUE } ZEND_FUNCTION(pdr_thread_get_hwnd) { /* 取得php线程资源 */ __pdr_get_resource_window_thread("r",) if( !pThreadRc->pThread->m_pMainWnd ) { RETURN_NULL() } RETURN_LONG((long)pThreadRc->pThread->m_pMainWnd->GetSafeHwnd()) } #define __pdr_thread_set_handle(handle_type) \ zval * pFunc = NULL ;\ /* 取得php线程资源 */\ __pdr_get_resource_window_thread("r|z",__PDR_RESRC_MPARAM(&pFunc))\ \ /* 取得各项参数*/\ zval ***params;\ int argc = ZEND_NUM_ARGS();\ if (argc<2) {\ WRONG_PARAM_COUNT;\ }\ \ params = (zval ***)safe_emalloc(sizeof(zval **), argc, 0);\ if (zend_get_parameters_array_ex(2, params) == FAILURE)\ {\ efree(params);\ RETURN_FALSE;\ }\ \ /* 尝试转换类型到string*/\ if (Z_TYPE_PP(params[1]) != IS_STRING && Z_TYPE_PP(params[1]) != IS_ARRAY)\ {\ SEPARATE_ZVAL(params[1]);\ convert_to_string_ex(params[1]);\ }\ \ /* 检查参数类型*/\ char *name;\ if (!__zend_is_callable(*params[1], &name))\ {\ php_error_docref1(NULL TSRMLS_CC, name, E_WARNING, "First argument is expected to be a valid callback");\ efree(name);\ RETURN_FALSE\ }\ \ \ pThreadRc->handle_type->pFunc = *params[1] ;\ pThreadRc->handle_type->pppArgs = argc>2? (params+2): NULL ;\ pThreadRc->handle_type->nArgc = argc-2;\ /*pThreadRc->handle_type->tsrm_ls = tsrm_ls;*/\ \ /* 增加 回调函数 和 回调参数 的引用计数 */\ pThreadRc->handle_type->pFunc->__refcount ++ ; \ for(int i=0;i<pThreadRc->handle_type->nArgc;i++)\ {\ (*pThreadRc->handle_type->pppArgs[i])->__refcount ++ ; \ }\ \ /* 返回 */\ RETURN_TRUE\ \ \ ZEND_FUNCTION(pdr_thread_set_init_handle) { //__pdr_thread_set_handle(pInitHandle) } ZEND_FUNCTION(pdr_thread_set_exit_handle) { //__pdr_thread_set_handle(pExitHandle) } ZEND_FUNCTION(pdr_thread_resume) { /* 取得php线程资源 */ __pdr_get_resource_window_thread("r",) RETURN_LONG(pThreadRc->pThread->ResumeThread()) ; } ZEND_FUNCTION(pdr_thread_suspend) { /* 取得php线程资源 */ __pdr_get_resource_window_thread("r",) RETURN_LONG(pThreadRc->pThread->SuspendThread()) ; } #endif
[ "aleechou@5b0c8100-e6ff-11de-8de6-035db03795fd" ]
[ [ [ 1, 429 ] ] ]
e995b723f354d931ad030c012e59b36111f3ae7d
c95a83e1a741b8c0eb810dd018d91060e5872dd8
/libs/STLPort-4.0/stlport/stl/_ptrs_specialize.h
b1021fb5eba1f852a89bd818ebac2d5b9b916c79
[ "LicenseRef-scancode-stlport-4.5" ]
permissive
rickyharis39/nolf2
ba0b56e2abb076e60d97fc7a2a8ee7be4394266c
0da0603dc961e73ac734ff365bfbfb8abb9b9b04
refs/heads/master
2021-01-01T17:21:00.678517
2011-07-23T12:11:19
2011-07-23T12:11:19
38,495,312
1
0
null
null
null
null
UTF-8
C++
false
false
5,767
h
#ifndef __STL_PTRS_SPECIALIZE_H # define __STL_PTRS_SPECIALIZE_H // Important pointers specializations # define __STL_TYPE_TRAITS_POD_SPECIALIZE(_Type) \ __STL_TEMPLATE_NULL \ struct __type_traits<_Type> { \ typedef __true_type has_trivial_default_constructor; \ typedef __true_type has_trivial_copy_constructor; \ typedef __true_type has_trivial_assignment_operator; \ typedef __true_type has_trivial_destructor; \ typedef __true_type is_POD_type; \ }; // the following is a workaround for arrow operator problems # if defined ( __SGI_STL_NO_ARROW_OPERATOR ) // Proxy -> operator workaround for compilers that produce // type checking errors on unused ->() operators template <class _Ref, class _Ptr> struct __arrow_op_dispatch { _Ptr _M_ptr; __arrow_op_dispatch(_Ref __r) : _M_ptr(&__r) {} _Ptr operator ->() const { return _M_ptr; } }; # if defined (__STL_NO_PROXY_ARROW_OPERATOR) // User wants to disable proxy -> operators # define __STL_DEFINE_ARROW_OPERATOR # define __STL_ARROW_SPECIALIZE_WITH_PTRS(_Tp) # else struct __arrow_op_dummy { int _M_data ; }; # define __STL_ARROW_SPECIALIZE(_Tp) \ __STL_TEMPLATE_NULL struct __arrow_op_dispatch<_Tp&, _Tp*> { \ __arrow_op_dispatch(_Tp&) {} \ __arrow_op_dummy operator ->() const { return __arrow_op_dummy(); } \ }; # ifdef __SUNPRO_CC # define __STL_ARROW_SPECIALIZE_WITH_PTRS(_Tp) \ __STL_ARROW_SPECIALIZE(_Tp) \ __STL_ARROW_SPECIALIZE(const _Tp) \ __STL_ARROW_SPECIALIZE(_Tp*) \ __STL_ARROW_SPECIALIZE(_Tp* const) \ __STL_ARROW_SPECIALIZE(const _Tp*) \ __STL_ARROW_SPECIALIZE(_Tp**) \ __STL_ARROW_SPECIALIZE(const _Tp**) \ __STL_ARROW_SPECIALIZE(_Tp* const *) \ __STL_ARROW_SPECIALIZE(_Tp***) \ __STL_ARROW_SPECIALIZE(const _Tp***) # else # define __STL_ARROW_SPECIALIZE_WITH_PTRS(_Tp) \ __STL_ARROW_SPECIALIZE(_Tp) \ __STL_ARROW_SPECIALIZE(const _Tp) \ __STL_ARROW_SPECIALIZE(_Tp*) \ __STL_ARROW_SPECIALIZE(const _Tp*) \ __STL_ARROW_SPECIALIZE(_Tp**) \ __STL_ARROW_SPECIALIZE(const _Tp**) \ __STL_ARROW_SPECIALIZE(_Tp* const *) \ __STL_ARROW_SPECIALIZE(_Tp***) \ __STL_ARROW_SPECIALIZE(const _Tp***) # endif # define __STL_DEFINE_ARROW_OPERATOR __arrow_op_dispatch<reference, pointer> operator->() const \ { return __arrow_op_dispatch<reference, pointer>(this->operator*()); } # endif /* __STL_NO_PROXY_ARROW_OPERATOR */ # else // Compiler can handle generic -> operator. # define __STL_ARROW_SPECIALIZE_WITH_PTRS(_Tp) # ifdef __BORLANDC__ # define __STL_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(*(*this)); } # elif defined ( __STL_WINCE ) # define __STL_DEFINE_ARROW_OPERATOR pointer operator->() const { reference x = operator*(); return &x; } # else # define __STL_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); } # endif # endif /* __SGI_STL_NO_ARROW_OPERATOR */ # define __STL_ITERATOR_TRAITS_SPECIALIZE(_Type, _ValType) \ __STL_TEMPLATE_NULL \ struct iterator_traits<_Type*> { \ typedef random_access_iterator_tag iterator_category; \ typedef _ValType value_type; \ typedef ptrdiff_t difference_type; \ typedef _Type* pointer; \ typedef _Type& reference; \ }; # ifdef __STL_USE_OLD_HP_ITERATOR_QUERIES # define __STL_ITERATOR_TRAITS_PTR_SPECIALIZE(_Type) # else # define __STL_ITERATOR_TRAITS_PTR_SPECIALIZE(_Type) \ __STL_BEGIN_NAMESPACE \ __STL_ITERATOR_TRAITS_SPECIALIZE(_Type, _Type) \ __STL_ITERATOR_TRAITS_SPECIALIZE(const _Type, _Type) \ __STL_ITERATOR_TRAITS_SPECIALIZE(_Type*, _Type*) \ __STL_ITERATOR_TRAITS_SPECIALIZE(_Type* const, _Type* const) \ __STL_ITERATOR_TRAITS_SPECIALIZE(const _Type*, _Type*) \ __STL_ITERATOR_TRAITS_SPECIALIZE(_Type**, _Type**) \ __STL_ITERATOR_TRAITS_SPECIALIZE(_Type** const, _Type** const) \ __STL_END_NAMESPACE # endif # define __STL_TYPE_TRAITS_POD_SPECIALIZE_V(_Type) \ __STL_TYPE_TRAITS_POD_SPECIALIZE(_Type*) \ __STL_TYPE_TRAITS_POD_SPECIALIZE(const _Type*) \ __STL_TYPE_TRAITS_POD_SPECIALIZE(_Type**) \ __STL_TYPE_TRAITS_POD_SPECIALIZE(_Type* const *) \ __STL_TYPE_TRAITS_POD_SPECIALIZE(const _Type**) \ __STL_TYPE_TRAITS_POD_SPECIALIZE(_Type***) \ __STL_TYPE_TRAITS_POD_SPECIALIZE(const _Type***) # define __STL_POINTERS_SPECIALIZE(_Type) \ __STL_TYPE_TRAITS_POD_SPECIALIZE_V(_Type) \ __STL_ITERATOR_TRAITS_PTR_SPECIALIZE(_Type) \ __STL_ARROW_SPECIALIZE_WITH_PTRS(_Type) # if !defined ( __STL_NO_BOOL ) __STL_POINTERS_SPECIALIZE( bool ) # endif __STL_TYPE_TRAITS_POD_SPECIALIZE_V(void) __STL_ARROW_SPECIALIZE_WITH_PTRS(void*) __STL_ARROW_SPECIALIZE_WITH_PTRS(void* const) # ifndef __STL_NO_SIGNED_BUILTINS __STL_POINTERS_SPECIALIZE( signed char ) # endif __STL_POINTERS_SPECIALIZE( char ) __STL_POINTERS_SPECIALIZE( unsigned char ) __STL_POINTERS_SPECIALIZE( short ) __STL_POINTERS_SPECIALIZE( unsigned short ) __STL_POINTERS_SPECIALIZE( int ) __STL_POINTERS_SPECIALIZE( unsigned int ) __STL_POINTERS_SPECIALIZE( long ) __STL_POINTERS_SPECIALIZE( unsigned long ) __STL_POINTERS_SPECIALIZE( float ) __STL_POINTERS_SPECIALIZE( double ) # if !defined ( __STL_NO_LONG_DOUBLE ) __STL_POINTERS_SPECIALIZE( long double ) # endif # if defined ( __STL_LONG_LONG) __STL_POINTERS_SPECIALIZE( long long ) # endif #if defined ( __STL_HAS_WCHAR_T ) && ! defined (__STL_WCHAR_T_IS_USHORT) __STL_POINTERS_SPECIALIZE( wchar_t ) # endif # undef __STL_ARROW_SPECIALIZE # undef __STL_ARROW_SPECIALIZE_WITH_PTRS // # undef __STL_POINTERS_SPECIALIZE // # undef __STL_TYPE_TRAITS_POD_SPECIALIZE # undef __STL_TYPE_TRAITS_POD_SPECIALIZE_V #endif
[ [ [ 1, 161 ] ] ]
1eb6e426fc799e906c16c4aea31cde4186c702f4
011359e589f99ae5fe8271962d447165e9ff7768
/src/burn/burn_ymf278b.cpp
2bf1aa23ccf3bb179ac7ac711b389484e145baf0
[]
no_license
PS3emulators/fba-next-slim
4c753375fd68863c53830bb367c61737393f9777
d082dea48c378bddd5e2a686fe8c19beb06db8e1
refs/heads/master
2021-01-17T23:05:29.479865
2011-12-01T18:16:02
2011-12-01T18:16:02
2,899,840
1
0
null
null
null
null
UTF-8
C++
false
false
4,400
cpp
#include "burnint.h" #include "burn_sound.h" #include "burn_ymf278b.h" static int (*BurnYMF278BStreamCallback)(int nSoundRate); static short* pBuffer; static short* pYMF278BBuffer[2]; static int nYMF278BPosition; static unsigned int nFractionalPosition; // ---------------------------------------------------------------------------- // Dummy functions static int YMF278BStreamCallbackDummy(int /* nSoundRate */) { return 0; } // ---------------------------------------------------------------------------- // Execute YMF278B for part of a frame static void YMF278BRender(int nSegmentLength) { if (nYMF278BPosition >= nSegmentLength) return; // bprintf(PRINT_NORMAL, _T(" YMF278B render %6i -> %6i\n"), nYMF278BPosition, nSegmentLength); nSegmentLength -= nYMF278BPosition; pYMF278BBuffer[0] = pBuffer + 0 * 4096 + 4 + nYMF278BPosition; pYMF278BBuffer[1] = pBuffer + 1 * 4096 + 4 + nYMF278BPosition; ymf278b_pcm_update(0, pYMF278BBuffer, nSegmentLength); nYMF278BPosition += nSegmentLength; } // ---------------------------------------------------------------------------- // Update the sound buffer void BurnYMF278BUpdate(int nSegmentEnd) { short* pSoundBuf = pBurnSoundOut; int nSegmentLength = nSegmentEnd; // bprintf(PRINT_NORMAL, _T(" YMF278B render %6i -> %6i\n"), nYMF278BPosition, nSegmentEnd); if (nBurnSoundRate == 0) return; if (nSegmentEnd < nYMF278BPosition) nSegmentEnd = nYMF278BPosition; if (nSegmentLength > nBurnSoundLen) nSegmentLength = nBurnSoundLen; YMF278BRender(nSegmentEnd); pYMF278BBuffer[0] = pBuffer + 0 * 4096 + 4; pYMF278BBuffer[1] = pBuffer + 1 * 4096 + 4; for (int i = nFractionalPosition; i < nSegmentLength; i++) { pSoundBuf[(i << 1) + 0] = pYMF278BBuffer[0][i]; pSoundBuf[(i << 1) + 1] = pYMF278BBuffer[1][i]; } nFractionalPosition = nSegmentLength; if (nSegmentEnd >= nBurnSoundLen) { int nExtraSamples = nSegmentEnd - nBurnSoundLen; for (int i = 0; i < nExtraSamples; i++) { pYMF278BBuffer[0][i] = pYMF278BBuffer[0][nBurnSoundLen + i]; pYMF278BBuffer[1][i] = pYMF278BBuffer[1][nBurnSoundLen + i]; } nFractionalPosition = 0; nYMF278BPosition = nExtraSamples; } } // ---------------------------------------------------------------------------- void BurnYMF278BSelectRegister(int nRegister, unsigned char nValue) { switch (nRegister) { case 0: // bprintf(PRINT_NORMAL, _T(" YMF278B register A -> %i\n"), nValue); YMF278B_control_port_0_A_w(nValue); break; case 1: YMF278B_control_port_0_B_w(nValue); break; case 2: // bprintf(PRINT_NORMAL, _T(" YMF278B register C -> %i\n"), nValue); YMF278B_control_port_0_C_w(nValue); break; } } void BurnYMF278BWriteRegister(int nRegister, unsigned char nValue) { switch (nRegister) { case 0: BurnYMF278BUpdate(BurnYMF278BStreamCallback(nBurnSoundRate)); YMF278B_data_port_0_A_w(nValue); break; case 1: YMF278B_data_port_0_B_w(nValue); break; case 2: BurnYMF278BUpdate(BurnYMF278BStreamCallback(nBurnSoundRate)); YMF278B_data_port_0_C_w(nValue); break; } } unsigned char BurnYMF278BReadStatus() { BurnYMF278BUpdate(BurnYMF278BStreamCallback(nBurnSoundRate)); return YMF278B_status_port_0_r(); } unsigned char BurnYMF278BReadData() { return YMF278B_data_port_0_r(); } // ---------------------------------------------------------------------------- void BurnYMF278BReset() { BurnTimerReset(); } void BurnYMF278BExit() { YMF278B_sh_stop(); BurnTimerExit(); if (pBuffer) { free(pBuffer); pBuffer = NULL; } } int BurnYMF278BInit(int /* nClockFrequency */, unsigned char* YMF278BROM, void (*IRQCallback)(int, int), int (*StreamCallback)(int)) { BurnYMF278BExit(); BurnYMF278BStreamCallback = YMF278BStreamCallbackDummy; if (StreamCallback) BurnYMF278BStreamCallback = StreamCallback; ymf278b_start(0, YMF278BROM, IRQCallback, BurnYMFTimerCallback, YMF278B_STD_CLOCK, nBurnSoundRate); BurnTimerInit(ymf278b_timer_over, NULL); pBuffer = (short*)malloc(4096 * 2 * sizeof(short)); memset(pBuffer, 0, 4096 * 2 * sizeof(short)); nYMF278BPosition = 0; nFractionalPosition = 0; return 0; } void BurnYMF278BScan(int nAction, int* pnMin) { BurnTimerScan(nAction, pnMin); }
[ [ [ 1, 178 ] ] ]
99c0131242f6cd9d128424d594e7ad1c27b426e6
3da0b0276bc8c3d7d1bcdbabfb0e763a38d3a24c
/zju.finished/2646.cpp
ba7bf5a0bd26c6609c5b263f366bb7be8d288ccc
[]
no_license
usherfu/zoj
4af6de9798bcb0ffa9dbb7f773b903f630e06617
8bb41d209b54292d6f596c5be55babd781610a52
refs/heads/master
2021-05-28T11:21:55.965737
2009-12-15T07:58:33
2009-12-15T07:58:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
858
cpp
#include<iostream> using namespace std; // 利用余数的数列性质 int direct(int n, int k){ int ret = 0; while(n>=2){ ret += k%n; n--; } return ret; } long long fun(int n, int k){ long long ret = 0; long long diff, s, e; if(n<= 100){ return direct(n, k); } if(n >= k){ ret = k; ret *= (n-k); n = k - 1; } while(n > 100){ // calc current diff diff = k / n + 1; s = k % n; e = k / diff + 1; ret += (s + k%e) * (n - e + 1)/2; n = e-1; } ret += direct(n, k); return ret; } int main(){ int n,k; scanf("%d",&n); while(!feof(stdin)){ scanf("%d", &k); printf("%lld\n", fun(n, k)); scanf("%d",&n); } return 0; }
[ [ [ 1, 46 ] ] ]
77d39ebc59eec13e6b8e6401ccd9aa17c6495c6a
ea12fed4c32e9c7992956419eb3e2bace91f063a
/zombie/code/nebula2/src/file/nramfileserver_main.cc
aa661878428ddecc8422d4fb321928cdc4c3b8cd
[]
no_license
ugozapad/TheZombieEngine
832492930df28c28cd349673f79f3609b1fe7190
8e8c3e6225c2ed93e07287356def9fbdeacf3d6a
refs/heads/master
2020-04-30T11:35:36.258363
2011-02-24T14:18:43
2011-02-24T14:18:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
955
cc
//------------------------------------------------------------------------------ // nramfileserver_main.cc // (C) 2004 RadonLabs GmbH //------------------------------------------------------------------------------ #include "precompiled/pchnnebula.h" #define N_IMPLEMENTS nRamFileServer #include "kernel/nkernelserver.h" #include "file/nramfileserver.h" #include "file/nramfile.h" nNebulaScriptClass(nRamFileServer, "nfileserver2"); //------------------------------------------------------------------------------ /** */ nRamFileServer::nRamFileServer() { } //------------------------------------------------------------------------------ /** */ nRamFileServer::~nRamFileServer() { } //------------------------------------------------------------------------------ /** */ nFile* nRamFileServer::NewFileObject() const { nRamFile* result = n_new(nRamFile); n_assert(result != 0); return result; }
[ "magarcias@c1fa4281-9647-0410-8f2c-f027dd5e0a91" ]
[ [ [ 1, 39 ] ] ]
060564bfe705b6683714eabaa19b3391a60c8b9e
2ff4099407bd04ffc49489f22bd62996ad0d0edd
/Project/Code/inc/Diffuse.h
c8afa4e2a66c7c464843a95778e10709d8453758
[]
no_license
willemfrishert/imagebasedrendering
13687840a8e5b37a38cc91c3c5b8135f9c1881f2
1cb9ed13b820b791a0aa2c80564dc33fefdc47a2
refs/heads/master
2016-09-10T15:23:42.506289
2007-06-04T11:52:13
2007-06-04T11:52:13
32,184,690
0
1
null
null
null
null
UTF-8
C++
false
false
632
h
#pragma once #include "Material.h" class ShaderObject; class ShaderProgram; template <class T> class ShaderUniformValue; class Diffuse : public Material { public: Diffuse( const string& ashaderFilename, GLuint aCubeMapTexId ); ~Diffuse(void); void start(); void stop(); void setDiffuseConvCubeMap( GLuint aCubeMapTexId ); // methods private: void initShaders(const string& ashaderFilename); // attributes private: ShaderProgram* iShaderProgram; ShaderObject* iFragmentShader; ShaderObject* iVertexShader; ShaderUniformValue<int>* iCubeMapUniform; GLuint iCubeMapTexId; };
[ "wfrishert@15324175-3028-0410-9899-2d1205849c9d" ]
[ [ [ 1, 36 ] ] ]
d371f1193c265eed36c3504bec54d9b079c67310
71ffdff29137de6bda23f02c9e22a45fe94e7910
/LevelEditor/src/gui/CMainFrame.h
13d278958591354fb89cfee46bcb066501fa0c31
[]
no_license
anhoppe/killakoptuz3000
f2b6ecca308c1d6ebee9f43a1632a2051f321272
fbf2e77d16c11abdadf45a88e1c747fa86517c59
refs/heads/master
2021-01-02T22:19:10.695739
2009-03-15T21:22:31
2009-03-15T21:22:31
35,839,301
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
1,855
h
// *************************************************************** // CMainFrame version: 1.0 · date: 06/18/2007 // ------------------------------------------------------------- // // ------------------------------------------------------------- // Copyright (C) 2007 - All Rights Reserved // *************************************************************** // // *************************************************************** #ifndef CMAIN_FRAME_H #define CMAIN_FRAME_H #include "wx/wx.h" class CControlPanel; class CGLCanvas; class CMainFrame : public wxFrame { ////////////////////////////////////////////////////////////////////////// // Methods ////////////////////////////////////////////////////////////////////////// public: CMainFrame(); ~CMainFrame(); /** Key events are triggered in the application class */ void onKeyDown(wxKeyEvent& event); void onKeyUp(wxKeyEvent& t_event); private: void createMenuBar(); /** Sets the file name in data storage */ bool setFileName(); ////////////////////////////////////////////////////////////////////////// // Events ////////////////////////////////////////////////////////////////////////// DECLARE_EVENT_TABLE() void onMenuNew(wxCommandEvent& t_event); void onMenuLoad(wxCommandEvent& t_event); void onMenuSave(wxCommandEvent& t_event); void onMenuSaveAs(wxCommandEvent& t_event); void onMenuAddTextures(wxCommandEvent& t_event); void onSize(wxSizeEvent& t_event); void onShow(wxShowEvent& t_event); ////////////////////////////////////////////////////////////////////////// // Variables ////////////////////////////////////////////////////////////////////////// CControlPanel* m_controlPanelPtr; CGLCanvas* m_glCanvasPtr; }; #endif
[ "anhoppe@9386d06f-8230-0410-af72-8d16ca8b68df" ]
[ [ [ 1, 59 ] ] ]
85478291e62c540b65cdc209471cbadba8503da3
937c59bea84dfe14cac07ed2e3a706ac765d965e
/Source Files/DVT.cpp
50f8289294a470d5c91300d256a3b5abd88addea
[]
no_license
IDA-RE-things/dvsatucsd
1b73b21644ffa869a0b5dbd36ac1c0cbfa37bce0
dff552ac9c29bca8f5b20b46342fbb6887857915
refs/heads/master
2016-09-05T16:17:08.013350
2010-04-03T22:17:49
2010-04-03T22:17:49
40,741,625
0
0
null
null
null
null
UTF-8
C++
false
false
1,878
cpp
// DVT.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "DVT.h" #include "DVTDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif HINSTANCE g_hInstance = 0; ///////////////////////////////////////////////////////////////////////////// // CDVTApp BEGIN_MESSAGE_MAP(CDVTApp, CWinApp) //{{AFX_MSG_MAP(CDVTApp) // NOTE - the ClassWizard will add and remove mapping macros here. // DO NOT EDIT what you see in these blocks of generated code! //}}AFX_MSG ON_COMMAND(ID_HELP, CWinApp::OnHelp) END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CDVTApp construction CDVTApp::CDVTApp() { // TODO: add construction code here, // Place all significant initialization in InitInstance } ///////////////////////////////////////////////////////////////////////////// // The one and only CDVTApp object CDVTApp theApp; ///////////////////////////////////////////////////////////////////////////// // CDVTApp initialization BOOL CDVTApp::InitInstance() { AfxEnableControlContainer(); // Standard initialization // If you are not using these features and wish to reduce the size // of your final executable, you should remove from the following // the specific initialization routines you do not need. CDVTDlg dlg; m_pMainWnd = &dlg; int nResponse = dlg.DoModal(); if (nResponse == IDOK) { // TODO: Place code here to handle when the dialog is // dismissed with OK } else if (nResponse == IDCANCEL) { // TODO: Place code here to handle when the dialog is // dismissed with Cancel } // Since the dialog has been closed, return FALSE so that we exit the // application, rather than start the application's message pump. return FALSE; }
[ "rishmish@bd9eb85a-b20e-11dd-9381-bf584fb1fa83", "inktri@bd9eb85a-b20e-11dd-9381-bf584fb1fa83" ]
[ [ [ 1, 13 ], [ 16, 70 ] ], [ [ 14, 15 ] ] ]
561f40c493c7e25becfe8e575e4e69257854c370
b04f65deafef481d6e0f22c26085735a3c275d3a
/mod/applications/mod_cari_ccp_server/CModuleManager.cpp
4de9f02520de6ea27d2f12e06d2fb49dacbf3a8a
[]
no_license
gujun/sscore
d28d374f09d40aa426282538416ae16023d8a7a6
295d613473a554e4de9f8c203fae961f587555ac
refs/heads/master
2021-01-02T22:57:21.404133
2011-06-21T06:19:57
2011-06-21T06:19:57
1,927,509
2
0
null
null
null
null
GB18030
C++
false
false
14,719
cpp
/*子模块管理类,所有模块之间命令的交互都是由此模块负责转发处理 *子模块之间不直接相互调用 */ //#pragma warning(disable:4786) //#pragma warning(disable:4267) //#pragma warning(disable:4996) #include <sstream> #include <iostream> #include <ostream> #include <fstream> #include <string> #include "CModuleManager.h" #include "CMsgProcess.h" ////附加库boost //#include <boost/regex.hpp> //boost的命名空间 // //#include <boost/archive/basic_binary_iarchive.hpp> //#include <boost/archive/basic_binary_oarchive.hpp> // //#include <boost/serialization/access.hpp> //#include <boost/serialization/base_object.hpp> // #include <portable_binary_oarchive.hpp> // #include <portable_binary_iarchive.hpp> // // #include <boost/serialization/base_object.hpp> //using namespace boost; //静态成员的初始化 CModuleManager *CModuleManager::m_moduleManagerInstance = CARI_CCP_VOS_NEW(CModuleManager); // CBaseModule* arrayModule[MAX_MODULE_ID]; //存放子模块,其下标值对应"子模块号" // // vector<u_int> vecClientSocket; /* typedef struct common_CmdReq_Frame { unsigned short sClientID; //客户端的ID号 unsigned short sSourceModuleID; //源模块号 unsigned short sDestModuleID; //目的模块号 //string strLoginUserName; //登录用户名 char strLoginUserName[CARICCP_MAX_NAME_LENGTH]; //string timeStamp; //时间戳 char timeStamp[CARICCP_MAX_TIME_LENGTH]; bool bSynchro; //命令是否为同步命令 unsigned int iCmdCode; //命令码 //string strCmdName; //命令名 char strCmdName[CARICCP_MAX_NAME_LENGTH]; //参数区,是否可以设置为map进行存放??发送后接收端如何解析?? //先设置为"字符串"类型,内部进行封装 //string strParamRegion; char strParamRegion[CARICCP_MAX_LENGTH]; //map<string,string> m_mapParam; //在网络上发送此结构有问题 }common_CmdReq_Frame; */ /*构造函数 */ CModuleManager::CModuleManager() { //必须负责初始化所有的子模块,既:arrayModule数组 memset(m_arrayModule, 0, sizeof(m_arrayModule)); //初始化锁 pthread_mutex_init(&mutex_container, NULL); pthread_mutex_init(&mutex_vecclient, NULL); //分配未使用的client id号 for (u_short id=1;id<=CARICCP_MAX_CLIENT_NUM;id++){ m_vecNoUsedClientID.push_back(id); } //应该根据配置文件进行灵活适配,将对应的子类保持起来 m_arrayModule[BASE_MODULE_CLASSID] = CARI_CCP_VOS_NEW(CBaseModule); m_arrayModule[USER_MODULE_CLASSID] = CARI_CCP_VOS_NEW(CModule_User); m_arrayModule[ROUTE_MODULE_CLASSID] = CARI_CCP_VOS_NEW(CModule_Route); m_arrayModule[SYSINFO_MODULE_CLASSID] = CARI_CCP_VOS_NEW(CModule_SysInfo); m_arrayModule[NE_MANAGER_MODULE_CLASSID] = CARI_CCP_VOS_NEW(CModule_NEManager); //arrayModule[11] = } /*析构函数 */ CModuleManager::~CModuleManager() { //子模块实例的释放参见clear()函数 } /*获得单实例对象 */ CModuleManager *& CModuleManager::getInstance() { if (NULL == m_moduleManagerInstance) { m_moduleManagerInstance = CARI_CCP_VOS_NEW(CModuleManager); } return m_moduleManagerInstance; } /*清除资源 */ void CModuleManager::clear() { //m_moduleManagerInstance = NULL; for (int i=0;i < MAX_MODULE_ID; i++){ CARI_CCP_VOS_DEL(m_arrayModule[i]); } } /*根据命令码获得对应的模块号,view的模块号和后台的模块号不一致 *处理逻辑不同,此处根据命令码获得对应的模块号 */ int CModuleManager::getModuleID(int cmdCode) { /*说明此处要设计成配置文件配置的方式,灵活处理 * * 模块号 模块名称 * 1 模块的基类,代表CBseModule * 11 命令管理类模块 * 12 监控模块 * 13 系统信息统计模块 * 14 网元管理模块 */ //先区分特殊的内部命令,在功能划分上属性内部命令, //但是还是属于具体的子模块进行处理 int iModuleID = BASE_MODULE_CLASSID; //命令码和模块之间相互对应 switch (cmdCode) { case CARICCP_QUERY_MOB_USER: iModuleID = USER_MODULE_CLASSID; //MOB用户的模块 break; //系统信息处理类 case CARICCP_QUERY_SYSINFO: case CARICCP_QUERY_UPTIME: case CARICCP_QUERY_CPU_INFO: case CARICCP_QUERY_MEMORY_INFO: case CARICCP_QUERY_DISK_INFO: case CARICCP_QUERY_CPU_RATE: iModuleID = SYSINFO_MODULE_CLASSID; //系统信息统计模块 break; //网元管理类以及操作用户类 case CARICCP_ADD_OP_USER: case CARICCP_DEL_OP_USER: case CARICCP_MOD_OP_USER: case CARICCP_LST_OP_USER: case CARICCP_ADD_EQUIP_NE: case CARICCP_DEL_EQUIP_NE: case CARICCP_MOD_EQUIP_NE: case CARICCP_LST_EQUIP_NE: iModuleID = NE_MANAGER_MODULE_CLASSID; //网元管理模块 break; default: { //0~200 if (0 <= cmdCode && 200 >= cmdCode) { iModuleID = BASE_MODULE_CLASSID; //"内部命令"的处理模块 } //200~500 else if (CARICCP_MOB_USER_BEGIN <= cmdCode && CARICCP_MOB_USER_END >= cmdCode) { iModuleID = USER_MODULE_CLASSID; //"MOB用户"的模块 } //504~ else if (CARICCP_SET_ROUTER <= cmdCode){ iModuleID = ROUTE_MODULE_CLASSID; //"路由"设置模块 } } break; } return iModuleID; } /*获得待发送的帧的实际大小 */ int getBufferSize(common_ResultResponse_Frame *&common_respFrame) { //根据实际的数据进行计算 return sizeof(common_ResultResponse_Frame); } /*先判断此socket是否已经存在 */ bool CModuleManager::isExistSocket(const socket3element &clientSocketElement) { socket3element socketTmp; for (vector< socket3element>::iterator iter = m_vecClientSocket.begin(); iter != m_vecClientSocket.end(); ++iter) { socketTmp = *iter; if (clientSocketElement.socketClient == socketTmp.socketClient) { return true; } } return false; } /*针对的thrd实例是否已经存在 */ bool CModuleManager::isExistThrd(u_int socketC) { u_int id = 0; for (map<u_int,pthread_t *>::const_iterator map_it=m_mapThrd.begin(); map_it !=m_mapThrd.end(); map_it++){ id = map_it->first; if (id == socketC){ return true; } } return false; } /*保存此socket */ void CModuleManager::saveSocket(socket3element &clientSocketElement) { if (isExistSocket(clientSocketElement)) { return; } //先加锁 pthread_mutex_lock(&mutex_container); m_vecClientSocket.push_back(clientSocketElement); //释放锁 pthread_mutex_unlock(&mutex_container); } /*删除此socket */ void CModuleManager::eraseSocket(const u_int socketC) { //系统shutdown的时候会引发异常,次数规避处理 int oldtype; pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &oldtype); //先加锁 pthread_mutex_lock(&mutex_container); socket3element socketTmp; vector< socket3element>::iterator iter = m_vecClientSocket.begin(); for (; iter != m_vecClientSocket.end(); ++iter) { socketTmp = *iter; if (socketC == socketTmp.socketClient) { break; } } if (m_vecClientSocket.end() != iter) { m_vecClientSocket.erase(iter); } //释放锁 pthread_mutex_unlock(&mutex_container); pthread_setcanceltype(oldtype, NULL); } /*保存客户端连接的线程实例 */ void CModuleManager::saveThrd(u_int socketC, pthread_t *tid) { if (isExistThrd(socketC)) { return; } //先加锁 pthread_mutex_lock(&mutex_container); m_mapThrd.insert(map<u_int,pthread_t *>::value_type(socketC,tid)); //释放锁 pthread_mutex_unlock(&mutex_container); } /*删除线程实例 */ void CModuleManager::eraseThrd(const u_int socketC) { if (isExistThrd(socketC)) { return; } //先加锁 pthread_mutex_lock(&mutex_container); u_int id = 0; for (map<u_int,pthread_t *>::iterator map_it=m_mapThrd.begin(); map_it !=m_mapThrd.end(); map_it++){ id = map_it->first; if (id == socketC){ m_mapThrd.erase(map_it); break; } } //释放锁 pthread_mutex_unlock(&mutex_container); } /*kill all thrd */ void CModuleManager::killAllClientThrd() { //先加锁 pthread_mutex_lock(&mutex_container); u_int id = 0; pthread_t *thrd; for (map<u_int,pthread_t *>::iterator map_it=m_mapThrd.begin(); map_it !=m_mapThrd.end(); map_it++){ id = map_it->first; thrd = map_it->second; if (thrd){ //强制kill pthread_kill(*thrd,0); } } //全部清除 m_mapThrd.clear(); //释放锁 pthread_mutex_unlock(&mutex_container); } /*关闭所有客户端的socket */ void CModuleManager::closeAllClientSocket() { //先加锁 pthread_mutex_lock(&mutex_container); socket3element socketTmp; int sock_client; vector< socket3element>::iterator iter = m_vecClientSocket.begin(); while (iter != m_vecClientSocket.end()){ socketTmp = *iter; sock_client = socketTmp.socketClient; if (0 > sock_client) { continue; } //关闭当前客户端的socket CARI_CLOSE_SOCKET(sock_client); iter = m_vecClientSocket.erase(iter); } // 下面的方法,在系统shutdown的时候,会出现异常Expression: ("this->_Mycont != NULL", 0) (debug模式) // 主要是由于 ++iter引起 // for (; iter != m_vecClientSocket.end(); ++iter) { // socketTmp = *iter; // sock_client = socketTmp.socketClient; // if (0 > sock_client) { // continue; // } // // //关闭当前客户端的socket // CARI_CLOSE_SOCKET(sock_client); // } m_vecClientSocket.clear(); //释放锁 pthread_mutex_unlock(&mutex_container); } /*根据socket号返回对应的三元组元素 */ int CModuleManager::getSocket(const u_int socketC, socket3element &element) { socket3element socketTmp; vector< socket3element>::iterator iter = m_vecClientSocket.begin(); for (; iter != m_vecClientSocket.end(); ++iter) { socketTmp = *iter; if (socketC == socketTmp.socketClient) { //return &socketTmp; //返回局部变量,有问题 element.addr = socketTmp.addr; element.sClientID = socketTmp.sClientID; element.socketClient = socketTmp.socketClient; return CARICCP_SUCCESS_STATE_CODE; } } return CARICCP_ERROR_STATE_CODE; } /*根据模块号取出对应的子模块的句柄 */ CBaseModule * CModuleManager::getSubModule(int iModuleID) { if (0 > iModuleID || MAX_MODULE_ID <= iModuleID){ return NULL; } return m_arrayModule[iModuleID]; //取出存放的子模块 } /* */ vector< socket3element> & CModuleManager::getSocketVec() { return m_vecClientSocket; } /*此id号是否已经使用,即:已经分配给某个客户端使用 */ bool CModuleManager::isUsedID(u_short id) { bool bExisted = false; socket3element socketTmp; vector<socket3element>::iterator iter = m_vecClientSocket.begin(); for (; iter != m_vecClientSocket.end(); ++iter) { socketTmp = *iter; if (id == socketTmp.sClientID) { bExisted = true; break ; } } return bExisted; } /*分配客户端号 */ u_short CModuleManager::assignClientID() { //先加锁 pthread_mutex_lock(&mutex_vecclient); u_short iAssignedID = CARICCP_MAX_SHORT; //根据最大的分配号进行处理 for (int id=1;id <= CARICCP_MAX_CLIENT_NUM;id++){ //此id是否还未分配 u_short iTmp = CARICCP_MAX_SHORT; for (vector<u_short>::iterator it = m_vecNoUsedClientID.begin();it != m_vecNoUsedClientID.end(); it++){ iTmp = *it; if (id ==iTmp){ iAssignedID = id; //从容器中删除掉 m_vecNoUsedClientID.erase(it); goto end; } } } end: //释放锁 pthread_mutex_unlock(&mutex_vecclient); return iAssignedID; } /*释放客户端号 */ void CModuleManager::releaseClientID(u_short iClientID) { /*必须要注意的是,如果线程处于PTHREAD_CANCEL_ASYNCHRONOUS状态,代码段就有可能出错, *因为CANCEL事件有可能在pthread_cleanup_push()和pthread_mutex_lock()之间发生,或者在 *pthread_mutex_unlock()和pthread_cleanup_pop()之间发生,从而导致清理函数unlock一个并 *没有加锁的mutex变量,造成错误。因此,在使用清理函数的时候,都应该暂时设置成PTHREAD_CANCEL_DEFERRED模式。 *为此,POSIX的Linux实现中还提供了一对不保证可移植的 *参考 :http://hi.baidu.com/linzhangkun/blog/item/da250d3ec226e2f3838b137f.html */ //先加锁,如果锁无效???shutdown()操作的时候此处有时会出现异常现象 //使用下面的方法规避处理一下 int oldtype; pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &oldtype); pthread_mutex_lock(&mutex_vecclient); if (CARICCP_MAX_SHORT != iClientID && CARICCP_MAX_CLIENT_NUM >= iClientID){ m_vecNoUsedClientID.push_back(iClientID); } //释放锁 pthread_mutex_unlock(&mutex_vecclient); pthread_setcanceltype(oldtype, NULL); } /*考虑到元素的内存变量可能发生变化,但是具体数据却不变,根据socket号进行释放对应的client号 */ void CModuleManager::releaseClientIDBySocket(u_int socketClient) { u_short iClientId = CARICCP_MAX_SHORT; socket3element socketTmp; vector<socket3element>::iterator iter = m_vecClientSocket.begin(); for (; iter != m_vecClientSocket.end(); ++iter) { socketTmp = *iter; if (socketClient == socketTmp.socketClient) { iClientId = socketTmp.sClientID;//取出对应的client id号 break ; } } //释放id号 releaseClientID(iClientId); } /*移除ID号 */ void CModuleManager::removeClientID(u_short iClientID) { //先加锁 pthread_mutex_lock(&mutex_vecclient); u_short iTmp = CARICCP_MAX_SHORT; for (vector<u_short>::iterator it = m_vecNoUsedClientID.begin();it != m_vecNoUsedClientID.end(); it++){ iTmp = *it; if (iClientID ==iTmp){ m_vecNoUsedClientID.erase(it); break; } } //释放锁 pthread_mutex_unlock(&mutex_vecclient); } /*获得客户端号 */ u_short CModuleManager::getClientIDBySocket(u_int socketClient) { u_short iAssignedID = CARICCP_MAX_SHORT; socket3element socketTmp; vector< socket3element>::iterator iter = m_vecClientSocket.begin(); for (; iter != m_vecClientSocket.end(); ++iter) { socketTmp = *iter; if (socketClient == socketTmp.socketClient) { iAssignedID = socketTmp.sClientID;//取出已经分配号的id号 break ; } } return iAssignedID; } /*获得当前登录的用户的数量 */ int CModuleManager::getClientUserNum() { return m_vecClientSocket.size(); }
[ "pub@cariteledell.(none)" ]
[ [ [ 1, 561 ] ] ]
decdcac80f48eafa3e4e6890a3d02950d0923c0d
463c3b62132d215e245a097a921859ecb498f723
/lib/dlib/misc_api/misc_api_kernel_2.h
fc3faa5f0aaa77129dad7c804289cc5a1da78134
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
athulan/cppagent
58f078cee55b68c08297acdf04a5424c2308cfdc
9027ec4e32647e10c38276e12bcfed526a7e27dd
refs/heads/master
2021-01-18T23:34:34.691846
2009-05-05T00:19:54
2009-05-05T00:19:54
197,038
4
1
null
null
null
null
UTF-8
C++
false
false
1,689
h
// Copyright (C) 2004 Davis E. King ([email protected]) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_MISC_API_KERNEl_2_ #define DLIB_MISC_API_KERNEl_2_ #ifdef DLIB_ISO_CPP_ONLY #error "DLIB_ISO_CPP_ONLY is defined so you can't use this OS dependent code. Turn DLIB_ISO_CPP_ONLY off if you want to use it." #endif #include "misc_api_kernel_abstract.h" #include "../algs.h" #include <string> #include "../uintn.h" namespace dlib { // ---------------------------------------------------------------------------------------- void sleep ( unsigned long milliseconds ); // ---------------------------------------------------------------------------------------- std::string get_current_dir ( ); // ---------------------------------------------------------------------------------------- class timestamper { public: uint64 get_timestamp ( ) const; }; // ---------------------------------------------------------------------------------------- class dir_create_error : public error { public: dir_create_error( const std::string& dir_name ) : error(EDIR_CREATE,"Error creating directory '" + dir_name + "'."), name(dir_name) {} const std::string& name; }; void create_directory ( const std::string& dir ); // ---------------------------------------------------------------------------------------- } #ifdef NO_MAKEFILE #include "misc_api_kernel_2.cpp" #endif #endif // DLIB_MISC_API_KERNEl_2_
[ "jimmy@DGJ3X3B1.(none)" ]
[ [ [ 1, 67 ] ] ]
f726cff118c00d87fc2b133ee28185e5ba79cfaa
33cdd09e352529963fe8b28b04e0d2e33483777b
/trunk/LMPlugin/Hyp_SD4ft_Recordset.h
b38ddc90b4b4a45c9764c31bb819fcb57914acdf
[]
no_license
BackupTheBerlios/reportasistent-svn
20e386c86b6990abafb679eeb9205f2aef1af1ac
209650c8cbb0c72a6e8489b0346327374356b57c
refs/heads/master
2020-06-04T16:28:21.972009
2010-05-18T12:06:48
2010-05-18T12:06:48
40,804,982
0
0
null
null
null
null
UTF-8
C++
false
false
3,753
h
#if !defined(AFX_HYP_SD4FT_RECORDSET_H__90764299_3CB3_4D22_8C97_D853EB649118__INCLUDED_) #define AFX_HYP_SD4FT_RECORDSET_H__90764299_3CB3_4D22_8C97_D853EB649118__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // Hyp_SD4ft_Recordset.h : header file // /* This file is part of LM Report Asistent. Authors: Jan Dedek, Jan Kodym, Martin Chrz, Iva Bartunkova LM Report Asistent is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. LM Report Asistent is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with LM Report Asistent; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include "afxdb.h" ///////////////////////////////////////////////////////////////////////////// // Hyp_SD4ft_Recordset recordset /** * This class was designed to retrieve all the SD4FT hypothesis from the given data source. * * @author Generated by VS. */ class Hyp_SD4ft_Recordset : public CRecordset { public: Hyp_SD4ft_Recordset(CDatabase* pDatabase = NULL); DECLARE_DYNAMIC(Hyp_SD4ft_Recordset) // Field/Param Data //{{AFX_FIELD(Hyp_SD4ft_Recordset, CRecordset) long m_TaskID; CString m_Name; long m_TaskSubTypeID; long m_TaskGroupID; long m_UserID; long m_MatrixID; long m_ParamBASE; BOOL m_ParamBASERelativ; BOOL m_ReadOnly; BOOL m_HypothesisGenerated; BOOL m_GenerationInterrupted; long m_GenerationNrOfTests; CTime m_GenerationStartTime; long m_GenerationTotalTime; CString m_Notice; long m_CoefficientID; long m_LiteralIID; long m_CategoryID; long m_TaskID2; long m_HypothesisDFID; long m_HypothesisID; long m_TaskID3; long m_FirstFreqA; long m_FirstFreqB; long m_FirstFreqC; long m_FirstFreqD; long m_SecondFreqA; long m_SecondFreqB; long m_SecondFreqC; long m_SecondFreqD; long m_LiteralIID2; long m_HypothesisID2; long m_CedentTypeID; long m_LiteralDID; long m_ChildIndex; BOOL m_Negation; long m_TaskID4; long m_CategoryID2; CString m_Name2; long m_QuantityID; long m_CategorySubTypeID; long m_BoolTypeID; BOOL m_XCategory; BOOL m_IncludeNULL; long m_Ord; CString m_Notice2; long m_wSavedCountUsed; long m_MatrixID2; CString m_Name3; BOOL m_Initialised; long m_RecordCount; CString m_Notice3; long m_wSavedCountUsed2; long m_QuantityID2; CString m_Name4; CString m_ShortName; BOOL m_ShowName; long m_AttributeID; long m_ItemShift; long m_ParentGroupID; long m_wSavedCountUsed3; long m_wUpdateVer; long m_UserID2; CString m_Notice4; long m_CedentTypeID2; CString m_Name5; CString m_ShortName2; long m_Ord2; CString m_Notice5; //}}AFX_FIELD // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(Hyp_SD4ft_Recordset) public: virtual CString GetDefaultSQL(); // Default SQL for Recordset virtual void DoFieldExchange(CFieldExchange* pFX); // RFX support //}}AFX_VIRTUAL // Implementation #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_HYP_SD4FT_RECORDSET_H__90764299_3CB3_4D22_8C97_D853EB649118__INCLUDED_)
[ "chrzm@fded5620-0c03-0410-a24c-85322fa64ba0" ]
[ [ [ 1, 135 ] ] ]
5721a49826dbfcdab4aecf0f3c12eea606530ca5
457cfb51e6b1053c852602f57acc9087629e966d
/source/BLUE/Engine.h
c781b3331b3c568bd55b5e33a39af54dcb41d7d4
[]
no_license
bluespeck/BLUE
b05eeff4958b2bf30adb0aeb2432f1c2f6c21d96
430d9dc0e64837007f35ce98fbface014be93678
refs/heads/master
2021-01-13T01:50:57.300012
2010-11-15T16:37:10
2010-11-15T16:37:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,568
h
#pragma once #include <tchar.h> #if defined(BLUE_DX11) || defined(BLUE_DX10) #define BLUE_DIRECTX #include "DXCore.h" #endif #include "Scene.h" #include "Timer.h" #include "EngineUtils.h" namespace BLUE { class CEngine { public: static CEngine *GetInstance(); static void DestroyInstace(); bool Init( HWND hWnd ); CObject * FindObject( const TCHAR *szName ); bool LoadObjectFromFile(const TCHAR *szName, const TCHAR *szParentName, ObjectType objType, const TCHAR *path); void Run(); // this should be ran in the main loop; it calls engine's Update(dt) using the internal timer void Pause(); void Unpause(); bool IsPaused(); // window message handlers void OnResize(int width, int height); void SetMinimized(bool bMinimized); void OutputText( const TCHAR *text, float left, float top, DWORD color ); protected: CObject * LoadMeshObjectFromFile(const TCHAR *path); CMeshObject * RecursiveLoadMeshObjectFromFile(const struct aiScene* pScene, const struct aiNode* pNode); void RecursiveUpdate(CObject *pObject, float dt); void RecursiveRender(CObject *pObj, float dt); void Render(float dt); void Update(float dt); void ComputeFPS(float dt); CEngine(void); virtual ~CEngine(void); protected: static CEngine *g_pEngine; #ifdef BLUE_DIRECTX IDXCore * pCore; #endif CTimer m_timer; TCHAR m_szEngineInfo[MAX_STRING_LENGTH]; bool m_bMinimized; CScene * m_pScene; }; }// end namespace BLUE
[ [ [ 1, 73 ] ] ]
dbe2d53bf2ead99229cde78d9337a0cff0791f02
91b964984762870246a2a71cb32187eb9e85d74e
/SRC/OFFI SRC!/boost_1_34_1/boost_1_34_1/tools/quickbook/detail/utils.cpp
9e7852b9225f85cc11e21693fff87d5a173dfcc4
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
willrebuild/flyffsf
e5911fb412221e00a20a6867fd00c55afca593c7
d38cc11790480d617b38bb5fc50729d676aef80d
refs/heads/master
2021-01-19T20:27:35.200154
2011-02-10T12:34:43
2011-02-10T12:34:43
32,710,780
3
0
null
null
null
null
UTF-8
C++
false
false
5,000
cpp
/*============================================================================= Copyright (c) 2002 2004 Joel de Guzman Copyright (c) 2004 Eric Niebler http://spirit.sourceforge.net/ Use, modification and distribution is subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================================================*/ #include "./utils.hpp" #include <cctype> #include <boost/spirit/core.hpp> namespace quickbook { extern bool ms_errors; } namespace quickbook { namespace detail { void print_char(char ch, std::ostream& out) { switch (ch) { case '<': out << "&lt;"; break; case '>': out << "&gt;"; break; case '&': out << "&amp;"; break; case '"': out << "&quot;"; break; default: out << ch; break; // note &apos; is not included. see the curse of apos: // http://fishbowl.pastiche.org/2003/07/01/the_curse_of_apos } } void print_string(std::basic_string<char> const& str, std::ostream& out) { for (std::string::const_iterator cur = str.begin(); cur != str.end(); ++cur) { print_char(*cur, out); } } void print_space(char ch, std::ostream& out) { out << ch; } namespace { bool find_empty_content_pattern( std::basic_string<char> const& str , std::string::size_type& pos , std::string::size_type& len) { using namespace boost::spirit; typedef std::basic_string<char>::const_iterator iter; for (iter i = str.begin(); i!=str.end(); ++i) { parse_info<iter> r = parse(i, str.end(), '>' >> +blank_p >> '<'); if (r.hit) { pos = i-str.begin(); len = r.length; return true; } } return false; } } void convert_nbsp(std::basic_string<char>& str) { std::string::size_type pos; std::string::size_type len; while (find_empty_content_pattern(str, pos, len)) str.replace(pos, len, ">&nbsp;<"); } char filter_identifier_char(char ch) { if (!std::isalnum(static_cast<unsigned char>(ch))) ch = '_'; return static_cast<char>(std::tolower(static_cast<unsigned char>(ch))); } // un-indent a code segment void unindent(std::string& program) { std::string::size_type const start = program.find_first_not_of("\r\n"); program.erase(0, start); // erase leading newlines std::string::size_type const n = program.find_first_not_of(" \t"); BOOST_ASSERT(std::string::npos != n); program.erase(0, n); std::string::size_type pos = 0; while (std::string::npos != (pos = program.find_first_of("\r\n", pos))) { if (std::string::npos == (pos = program.find_first_not_of("\r\n", pos))) { break; } program.erase(pos, n); } } // remove the extension from a filename std::string remove_extension(std::string const& filename) { std::string::size_type const n = filename.find_last_of('.'); if(std::string::npos == n) { return filename; } else { return std::string(filename.begin(), filename.begin()+n); } } std::string escape_uri(std::string uri) { for (std::string::size_type n = 0; n < uri.size(); ++n) { static char const mark[] = "-_.!~*'()?\\/"; if((!std::isalnum(static_cast<unsigned char>(uri[n])) || 127 < static_cast<unsigned char>(uri[n])) && 0 == std::strchr(mark, uri[n])) { static char const hex[] = "0123456789abcdef"; char escape[] = { hex[uri[n] / 16], hex[uri[n] % 16] }; uri.insert(n + 1, escape, 2); uri[n] = '%'; n += 2; } } return uri; } std::ostream & outerr(const std::string & file, int line) { if (ms_errors) return std::clog << file << "(" << line << "): error: "; else return std::clog << file << ":" << line << ": error: "; } std::ostream & outwarn(const std::string & file, int line) { if (ms_errors) return std::clog << file << "(" << line << "): warning: "; else return std::clog << file << ":" << line << ": warning: "; } }}
[ "[email protected]@e2c90bd7-ee55-cca0-76d2-bbf4e3699278" ]
[ [ [ 1, 165 ] ] ]
18838481c8b60fde353c2340983f889a275a430c
91b964984762870246a2a71cb32187eb9e85d74e
/SRC/OFFI SRC!/boost_1_34_1/boost_1_34_1/boost/xpressive/proto/arg_traits.hpp
9191e4a85d9a44d6246ba727fdaaf89543e262b5
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
willrebuild/flyffsf
e5911fb412221e00a20a6867fd00c55afca593c7
d38cc11790480d617b38bb5fc50729d676aef80d
refs/heads/master
2021-01-19T20:27:35.200154
2011-02-10T12:34:43
2011-02-10T12:34:43
32,710,780
3
0
null
null
null
null
UTF-8
C++
false
false
3,658
hpp
/////////////////////////////////////////////////////////////////////////////// /// \file arg_traits.hpp /// Contains definitions for value_type\<\>, arg_type\<\>, left_type\<\>, /// right_type\<\>, tag_type\<\>, and the helper functions arg(), left(), /// and right(). // // Copyright 2004 Eric Niebler. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_PROTO_ARG_TRAITS_HPP_EAN_04_01_2005 #define BOOST_PROTO_ARG_TRAITS_HPP_EAN_04_01_2005 #include <boost/call_traits.hpp> #include <boost/xpressive/proto/proto_fwd.hpp> namespace boost { namespace proto { /////////////////////////////////////////////////////////////////////////////// // value_type // specialize this to control how user-defined types are stored in the parse tree template<typename T> struct value_type { typedef typename boost::call_traits<T>::value_type type; }; template<> struct value_type<fusion::void_t> { typedef fusion::void_t type; }; /////////////////////////////////////////////////////////////////////////////// // argument type extractors template<typename Op> struct arg_type { typedef typename Op::arg_type type; typedef type const &const_reference; }; template<typename Op, typename Param> struct arg_type<op_proxy<Op, Param> > { typedef typename Op::arg_type type; typedef type const const_reference; }; /////////////////////////////////////////////////////////////////////////////// // argument type extractors template<typename Op> struct left_type { typedef typename Op::left_type type; typedef type const &const_reference; }; template<typename Op, typename Param> struct left_type<op_proxy<Op, Param> > { typedef typename Op::left_type type; typedef type const const_reference; }; /////////////////////////////////////////////////////////////////////////////// // argument type extractors template<typename Op> struct right_type { typedef typename Op::right_type type; typedef type const &const_reference; }; template<typename Op, typename Param> struct right_type<op_proxy<Op, Param> > { typedef typename Op::right_type type; typedef type const const_reference; }; /////////////////////////////////////////////////////////////////////////////// // tag extractor template<typename Op> struct tag_type { typedef typename Op::tag_type type; }; template<typename Op, typename Param> struct tag_type<op_proxy<Op, Param> > { typedef typename Op::tag_type type; }; /////////////////////////////////////////////////////////////////////////////// // arg template<typename Op> inline typename arg_type<Op>::const_reference arg(Op const &op) { return op.cast().arg; } /////////////////////////////////////////////////////////////////////////////// // left template<typename Op> inline typename left_type<Op>::const_reference left(Op const &op) { return op.cast().left; } /////////////////////////////////////////////////////////////////////////////// // right template<typename Op> inline typename right_type<Op>::const_reference right(Op const &op) { return op.cast().right; } }} #endif
[ "[email protected]@e2c90bd7-ee55-cca0-76d2-bbf4e3699278" ]
[ [ [ 1, 123 ] ] ]
f815209cc37eeba20b23ea89bec81c07b1f71175
e2f961659b90ff605798134a0a512f9008c1575b
/Example-09/MODEL_GRID.INC
14cd11d0ae8459d7d7c2dec876e17c8d71aee8de
[]
no_license
bs-eagle/test-models
469fe485a0d9aec98ad06d39b75901c34072cf60
d125060649179b8e4012459c0a62905ca5235ba7
refs/heads/master
2021-01-22T22:56:50.982294
2009-11-10T05:49:22
2009-11-10T05:49:22
1,266,143
1
1
null
null
null
null
UTF-8
C++
false
false
493,755
inc
COORD 31063.65 79017.36 2439.072 31063.65 79017.36 2449.57 31168.2 79017.36 2437.667 31168.2 79017.36 2448.796 31272.75 79017.36 2436.279 31272.75 79017.36 2448.022 31377.29 79017.36 2434.884 31377.29 79017.36 2447.291 31481.84 79017.36 2433.464 31481.84 79017.36 2446.611 31586.38 79017.36 2431.669 31586.38 79017.36 2445.782 31690.93 79017.36 2429.639 31690.93 79017.36 2444.886 31795.47 79017.36 2427.771 31795.47 79017.36 2444.258 31900.02 79017.36 2425.641 31900.02 79017.36 2443.542 32004.56 79017.36 2423.653 32004.56 79017.36 2443.008 32109.11 79017.36 2423.64 32109.11 79017.36 2442.937 32213.65 79017.36 2425.626 32213.65 79017.36 2443.268 32318.2 79017.36 2427.999 32318.2 79017.36 2443.907 32422.75 79017.36 2430.599 32422.75 79017.36 2444.777 32527.29 79017.36 2432.241 32527.29 79017.36 2445.289 32631.84 79017.36 2431.723 32631.84 79017.36 2444.884 32736.38 79017.36 2431.137 32736.38 79017.36 2444.558 32840.93 79017.36 2430.662 32840.93 79017.36 2444.367 32945.47 79017.36 2430.692 32945.47 79017.36 2444.494 33050.02 79017.36 2430.979 33050.02 79017.36 2444.822 33154.56 79017.36 2431.385 33154.56 79017.36 2445.33 33259.11 79017.36 2431.906 33259.11 79017.36 2445.974 33363.66 79017.36 2432.499 33363.66 79017.36 2446.666 33468.2 79017.36 2433.131 33468.2 79017.36 2447.363 31063.65 78915.13 2439.006 31063.65 78915.13 2449.032 31168.2 78915.13 2437.668 31168.2 78915.13 2448.219 31272.75 78915.13 2436.264 31272.75 78915.13 2447.382 31377.29 78915.13 2434.881 31377.29 78915.13 2446.592 31481.84 78915.13 2433.674 31481.84 78915.13 2446.021 31586.38 78915.13 2431.777 31586.38 78915.13 2445.105 31690.93 78915.13 2429.479 31690.93 78915.13 2444.02 31795.47 78915.13 2427.035 31795.47 78915.13 2442.938 31900.02 78915.13 2424.903 31900.02 78915.13 2442.141 32004.56 78915.13 2423.329 32004.56 78915.13 2441.543 32109.11 78915.13 2423.183 32109.11 78915.13 2441.327 32213.65 78915.13 2424.49 32213.65 78915.13 2441.536 32318.2 78915.13 2426.507 32318.2 78915.13 2442.055 32422.75 78915.13 2428.885 32422.75 78915.13 2442.829 32527.29 78915.13 2430.418 32527.29 78915.13 2443.285 32631.84 78915.13 2429.888 32631.84 78915.13 2442.946 32736.38 78915.13 2429.378 32736.38 78915.13 2442.741 32840.93 78915.13 2429.008 32840.93 78915.13 2442.695 32945.47 78915.13 2429.161 32945.47 78915.13 2442.995 33050.02 78915.13 2429.751 33050.02 78915.13 2443.691 33154.56 78915.13 2430.584 33154.56 78915.13 2444.587 33259.11 78915.13 2431.435 33259.11 78915.13 2445.526 33363.66 78915.13 2432.262 33363.66 78915.13 2446.424 33468.2 78915.13 2433.048 33468.2 78915.13 2447.259 31063.65 78812.91 2438.766 31063.65 78812.91 2448.364 31168.2 78812.91 2437.396 31168.2 78812.91 2447.492 31272.75 78812.91 2436.007 31272.75 78812.91 2446.565 31377.29 78812.91 2434.922 31377.29 78812.91 2445.927 31481.84 78812.91 2433.688 31481.84 78812.91 2445.216 31586.38 78812.91 2431.791 31586.38 78812.91 2444.227 31690.93 78812.91 2429.031 31690.93 78812.91 2442.779 31795.47 78812.91 2426.313 31795.47 78812.91 2441.486 31900.02 78812.91 2424.067 31900.02 78812.91 2440.431 32004.56 78812.91 2422.696 32004.56 78812.91 2439.776 32109.11 78812.91 2422.681 32109.11 78812.91 2439.685 32213.65 78812.91 2423.066 32213.65 78812.91 2439.452 32318.2 78812.91 2424.323 32318.2 78812.91 2439.673 32422.75 78812.91 2425.944 32422.75 78812.91 2440.105 32527.29 78812.91 2426.76 32527.29 78812.91 2440.224 32631.84 78812.91 2426.941 32631.84 78812.91 2440.331 32736.38 78812.91 2426.924 32736.38 78812.91 2440.495 32840.93 78812.91 2426.852 32840.93 78812.91 2440.719 32945.47 78812.91 2427.374 32945.47 78812.91 2441.408 33050.02 78812.91 2428.392 33050.02 78812.91 2442.489 33154.56 78812.91 2429.565 33154.56 78812.91 2443.703 33259.11 78812.91 2430.857 33259.11 78812.91 2445.011 33363.66 78812.91 2432.193 33363.66 78812.91 2446.375 33468.2 78812.91 2433.122 33468.2 78812.91 2447.296 31063.65 78710.69 2438.253 31063.65 78710.69 2447.559 31168.2 78710.69 2436.882 31168.2 78710.69 2446.615 31272.75 78710.69 2435.399 31272.75 78710.69 2445.567 31377.29 78710.69 2434.143 31377.29 78710.69 2444.706 31481.84 78710.69 2433.189 31481.84 78710.69 2444.058 31586.38 78710.69 2431.771 31586.38 78710.69 2443.233 31690.93 78710.69 2428.083 31690.93 78710.69 2441.183 31795.47 78710.69 2424.922 31795.47 78710.69 2439.498 31900.02 78710.69 2422.726 31900.02 78710.69 2438.382 32004.56 78710.69 2421.856 32004.56 78710.69 2437.993 32109.11 78710.69 2421.396 32109.11 78710.69 2437.599 32213.65 78710.69 2421.375 32213.65 78710.69 2437.229 32318.2 78710.69 2421.909 32318.2 78710.69 2437.131 32422.75 78710.69 2422.661 32422.75 78710.69 2437.135 32527.29 78710.69 2423.132 32527.29 78710.69 2437.111 32631.84 78710.69 2423.719 32631.84 78710.69 2437.563 32736.38 78710.69 2423.829 32736.38 78710.69 2437.936 32840.93 78710.69 2424.396 32840.93 78710.69 2438.627 32945.47 78710.69 2425.247 32945.47 78710.69 2439.612 33050.02 78710.69 2426.668 33050.02 78710.69 2441.042 33154.56 78710.69 2428.418 33154.56 78710.69 2442.736 33259.11 78710.69 2430.439 33259.11 78710.69 2444.7 33363.66 78710.69 2432.088 33363.66 78710.69 2446.281 33468.2 78710.69 2433.271 33468.2 78710.69 2447.41 31063.65 78608.47 2437.679 31063.65 78608.47 2446.738 31168.2 78608.47 2435.789 31168.2 78608.47 2445.423 31272.75 78608.47 2434.009 31272.75 78608.47 2444.084 31377.29 78608.47 2432.357 31377.29 78608.47 2442.886 31481.84 78608.47 2430.953 31481.84 78608.47 2441.854 31586.38 78608.47 2429.072 31586.38 78608.47 2440.615 31690.93 78608.47 2425.583 31690.93 78608.47 2438.547 31795.47 78608.47 2422.544 31795.47 78608.47 2436.909 31900.02 78608.47 2420.753 31900.02 78608.47 2436.007 32004.56 78608.47 2420.061 32004.56 78608.47 2435.695 32109.11 78608.47 2419.734 32109.11 78608.47 2435.405 32213.65 78608.47 2419.78 32213.65 78608.47 2435.189 32318.2 78608.47 2419.791 32318.2 78608.47 2434.804 32422.75 78608.47 2419.599 32422.75 78608.47 2434.29 32527.29 78608.47 2419.601 32527.29 78608.47 2434.032 32631.84 78608.47 2420.381 32631.84 78608.47 2434.789 32736.38 78608.47 2421.31 32736.38 78608.47 2435.749 32840.93 78608.47 2422.08 32840.93 78608.47 2436.655 32945.47 78608.47 2422.929 32945.47 78608.47 2437.681 33050.02 78608.47 2424.771 33050.02 78608.47 2439.468 33154.56 78608.47 2427.382 33154.56 78608.47 2441.887 33259.11 78608.47 2429.888 33259.11 78608.47 2444.21 33363.66 78608.47 2432.111 33363.66 78608.47 2446.295 33468.2 78608.47 2433.581 33468.2 78608.47 2447.673 31063.65 78506.24 2436.427 31063.65 78506.24 2445.504 31168.2 78506.24 2434.234 31168.2 78506.24 2443.961 31272.75 78506.24 2432.002 31272.75 78506.24 2442.373 31377.29 78506.24 2429.768 31377.29 78506.24 2440.636 31481.84 78506.24 2427.305 31481.84 78506.24 2438.836 31586.38 78506.24 2424.341 31586.38 78506.24 2436.804 31690.93 78506.24 2421.349 31690.93 78506.24 2434.906 31795.47 78506.24 2419.444 31795.47 78506.24 2433.882 31900.02 78506.24 2418.442 31900.02 78506.24 2433.503 32004.56 78506.24 2418.048 32004.56 78506.24 2433.404 32109.11 78506.24 2418.021 32109.11 78506.24 2433.344 32213.65 78506.24 2418.18 32213.65 78506.24 2433.246 32318.2 78506.24 2417.851 32318.2 78506.24 2432.724 32422.75 78506.24 2417.437 32422.75 78506.24 2432.198 32527.29 78506.24 2417.256 32527.29 78506.24 2432.014 32631.84 78506.24 2418.536 32631.84 78506.24 2433.229 32736.38 78506.24 2419.68 32736.38 78506.24 2434.388 32840.93 78506.24 2420.528 32840.93 78506.24 2435.341 32945.47 78506.24 2421.139 32945.47 78506.24 2436.162 33050.02 78506.24 2423.238 33050.02 78506.24 2438.126 33154.56 78506.24 2426.411 33154.56 78506.24 2440.968 33259.11 78506.24 2429.405 33259.11 78506.24 2443.729 33363.66 78506.24 2432.229 33363.66 78506.24 2446.372 33468.2 78506.24 2434.039 33468.2 78506.24 2448.067 31063.65 78404.02 2434.616 31063.65 78404.02 2443.999 31168.2 78404.02 2432.302 31168.2 78404.02 2442.366 31272.75 78404.02 2429.823 31272.75 78404.02 2440.511 31377.29 78404.02 2427.049 31377.29 78404.02 2438.418 31481.84 78404.02 2423.826 31481.84 78404.02 2436.069 31586.38 78404.02 2420.021 31586.38 78404.02 2433.326 31690.93 78404.02 2416.495 31690.93 78404.02 2430.889 31795.47 78404.02 2416.241 31795.47 78404.02 2430.995 31900.02 78404.02 2416.361 31900.02 78404.02 2431.326 32004.56 78404.02 2416.438 32004.56 78404.02 2431.519 32109.11 78404.02 2416.55 32109.11 78404.02 2431.584 32213.65 78404.02 2416.868 32213.65 78404.02 2431.629 32318.2 78404.02 2416.747 32318.2 78404.02 2431.439 32422.75 78404.02 2416.511 32422.75 78404.02 2431.174 32527.29 78404.02 2416.912 32527.29 78404.02 2431.594 32631.84 78404.02 2417.734 32631.84 78404.02 2432.485 32736.38 78404.02 2418.84 32736.38 78404.02 2433.582 32840.93 78404.02 2419.933 32840.93 78404.02 2434.694 32945.47 78404.02 2421.062 32945.47 78404.02 2435.816 33050.02 78404.02 2423.052 33050.02 78404.02 2437.655 33154.56 78404.02 2425.958 33154.56 78404.02 2440.416 33259.11 78404.02 2428.904 33259.11 78404.02 2443.203 33363.66 78404.02 2431.689 33363.66 78404.02 2445.82 33468.2 78404.02 2433.501 33468.2 78404.02 2447.497 31063.65 78301.8 2432.733 31063.65 78301.8 2442.431 31168.2 78301.8 2430.395 31168.2 78301.8 2440.749 31272.75 78301.8 2427.733 31272.75 78301.8 2438.806 31377.29 78301.8 2424.738 31377.29 78301.8 2436.597 31481.84 78301.8 2421.338 31481.84 78301.8 2434.119 31586.38 78301.8 2417.59 31586.38 78301.8 2431.377 31690.93 78301.8 2414.461 31690.93 78301.8 2429.14 31795.47 78301.8 2414.473 31795.47 78301.8 2429.388 31900.02 78301.8 2414.983 31900.02 78301.8 2429.801 32004.56 78301.8 2415.304 32004.56 78301.8 2430.06 32109.11 78301.8 2415.427 32109.11 78301.8 2430.152 32213.65 78301.8 2415.788 32213.65 78301.8 2430.253 32318.2 78301.8 2415.882 32318.2 78301.8 2430.3 32422.75 78301.8 2416.132 32422.75 78301.8 2430.604 32527.29 78301.8 2416.646 32527.29 78301.8 2431.265 32631.84 78301.8 2417.593 32631.84 78301.8 2432.231 32736.38 78301.8 2418.736 32736.38 78301.8 2433.36 32840.93 78301.8 2420.017 32840.93 78301.8 2434.649 32945.47 78301.8 2421.5 32945.47 78301.8 2436.035 33050.02 78301.8 2423.379 33050.02 78301.8 2437.759 33154.56 78301.8 2425.938 33154.56 78301.8 2440.306 33259.11 78301.8 2428.508 33259.11 78301.8 2442.786 33363.66 78301.8 2430.796 33363.66 78301.8 2444.942 33468.2 78301.8 2432.383 33468.2 78301.8 2446.393 31063.65 78199.58 2430.913 31063.65 78199.58 2440.947 31168.2 78199.58 2428.672 31168.2 78199.58 2439.311 31272.75 78199.58 2426.024 31272.75 78199.58 2437.382 31377.29 78199.58 2423.102 31377.29 78199.58 2435.226 31481.84 78199.58 2419.998 31481.84 78199.58 2432.936 31586.38 78199.58 2417.042 31586.38 78199.58 2430.789 31690.93 78199.58 2414.995 31690.93 78199.58 2429.366 31795.47 78199.58 2414.421 31795.47 78199.58 2429.069 31900.02 78199.58 2414.324 31900.02 78199.58 2429.032 32004.56 78199.58 2414.368 32004.56 78199.58 2428.973 32109.11 78199.58 2414.57 32109.11 78199.58 2428.947 32213.65 78199.58 2414.846 32213.65 78199.58 2429.006 32318.2 78199.58 2415.179 32318.2 78199.58 2429.226 32422.75 78199.58 2415.854 32422.75 78199.58 2429.939 32527.29 78199.58 2416.588 32527.29 78199.58 2430.854 32631.84 78199.58 2417.845 32631.84 78199.58 2432.173 32736.38 78199.58 2418.944 32736.38 78199.58 2433.286 32840.93 78199.58 2420.501 32840.93 78199.58 2434.965 32945.47 78199.58 2422.211 32945.47 78199.58 2436.786 33050.02 78199.58 2424.158 33050.02 78199.58 2438.764 33154.56 78199.58 2426.238 33154.56 78199.58 2440.769 33259.11 78199.58 2428.184 33259.11 78199.58 2442.511 33363.66 78199.58 2430.042 33363.66 78199.58 2444.237 33468.2 78199.58 2431.53 33468.2 78199.58 2445.602 31063.65 78097.36 2429.469 31063.65 78097.36 2439.76 31168.2 78097.36 2427.324 31168.2 78097.36 2438.194 31272.75 78097.36 2424.882 31272.75 78097.36 2436.397 31377.29 78097.36 2421.974 31377.29 78097.36 2434.227 31481.84 78097.36 2419.207 31481.84 78097.36 2432.169 31586.38 78097.36 2416.898 31586.38 78097.36 2430.476 31690.93 78097.36 2415.285 31690.93 78097.36 2429.341 31795.47 78097.36 2414.591 31795.47 78097.36 2428.943 31900.02 78097.36 2414.152 31900.02 78097.36 2428.519 32004.56 78097.36 2413.829 32004.56 78097.36 2428.009 32109.11 78097.36 2413.633 32109.11 78097.36 2427.559 32213.65 78097.36 2413.837 32213.65 78097.36 2427.502 32318.2 78097.36 2414.591 32318.2 78097.36 2428.097 32422.75 78097.36 2415.4 32422.75 78097.36 2428.832 32527.29 78097.36 2416.518 32527.29 78097.36 2430.087 32631.84 78097.36 2417.943 32631.84 78097.36 2431.784 32736.38 78097.36 2419.619 32736.38 78097.36 2433.712 32840.93 78097.36 2421.394 32840.93 78097.36 2435.747 32945.47 78097.36 2422.956 32945.47 78097.36 2437.596 33050.02 78097.36 2424.833 33050.02 78097.36 2439.675 33154.56 78097.36 2426.438 33154.56 78097.36 2441.085 33259.11 78097.36 2428.046 33259.11 78097.36 2442.516 33363.66 78097.36 2429.407 33363.66 78097.36 2443.668 33468.2 78097.36 2430.696 33468.2 78097.36 2444.843 31063.65 77995.13 2428.224 31063.65 77995.13 2438.733 31168.2 77995.13 2426.192 31168.2 77995.13 2437.235 31272.75 77995.13 2423.869 31272.75 77995.13 2435.503 31377.29 77995.13 2421.36 31377.29 77995.13 2433.618 31481.84 77995.13 2418.859 31481.84 77995.13 2431.724 31586.38 77995.13 2416.958 31586.38 77995.13 2430.271 31690.93 77995.13 2415.587 31690.93 77995.13 2429.227 31795.47 77995.13 2414.567 31795.47 77995.13 2428.44 31900.02 77995.13 2413.622 31900.02 77995.13 2427.501 32004.56 77995.13 2412.813 32004.56 77995.13 2426.664 32109.11 77995.13 2412.419 32109.11 77995.13 2425.856 32213.65 77995.13 2412.703 32213.65 77995.13 2425.801 32318.2 77995.13 2413.526 32318.2 77995.13 2426.321 32422.75 77995.13 2414.776 32422.75 77995.13 2427.431 32527.29 77995.13 2416.302 32527.29 77995.13 2429.185 32631.84 77995.13 2418.014 32631.84 77995.13 2431.374 32736.38 77995.13 2419.872 32736.38 77995.13 2433.581 32840.93 77995.13 2421.784 32840.93 77995.13 2435.795 32945.47 77995.13 2423.625 32945.47 77995.13 2438.03 33050.02 77995.13 2425.148 33050.02 77995.13 2439.816 33154.56 77995.13 2426.431 33154.56 77995.13 2440.966 33259.11 77995.13 2427.703 33259.11 77995.13 2442.121 33363.66 77995.13 2428.918 33363.66 77995.13 2443.277 33468.2 77995.13 2429.925 33468.2 77995.13 2444.159 31063.65 77892.91 2427.135 31063.65 77892.91 2437.814 31168.2 77892.91 2425.156 31168.2 77892.91 2436.339 31272.75 77892.91 2423.104 31272.75 77892.91 2434.799 31377.29 77892.91 2420.975 31377.29 77892.91 2433.165 31481.84 77892.91 2418.66 31481.84 77892.91 2431.39 31586.38 77892.91 2416.733 31586.38 77892.91 2429.852 31690.93 77892.91 2415.145 31690.93 77892.91 2428.525 31795.47 77892.91 2413.916 31795.47 77892.91 2427.326 31900.02 77892.91 2412.641 31900.02 77892.91 2426.014 32004.56 77892.91 2411.387 32004.56 77892.91 2424.75 32109.11 77892.91 2410.956 32109.11 77892.91 2424.073 32213.65 77892.91 2411.479 32213.65 77892.91 2424.025 32318.2 77892.91 2412.611 32318.2 77892.91 2424.703 32422.75 77892.91 2414.182 32422.75 77892.91 2426.162 32527.29 77892.91 2416.017 32527.29 77892.91 2428.496 32631.84 77892.91 2417.913 32631.84 77892.91 2430.94 32736.38 77892.91 2419.905 32736.38 77892.91 2433.305 32840.93 77892.91 2421.946 32840.93 77892.91 2435.497 32945.47 77892.91 2423.789 32945.47 77892.91 2437.549 33050.02 77892.91 2425.167 33050.02 77892.91 2439.207 33154.56 77892.91 2426.239 33154.56 77892.91 2440.487 33259.11 77892.91 2427.307 33259.11 77892.91 2441.625 33363.66 77892.91 2428.324 33363.66 77892.91 2442.66 33468.2 77892.91 2429.187 33468.2 77892.91 2443.504 31063.65 77790.69 2426.272 31063.65 77790.69 2437.072 31168.2 77790.69 2424.541 31168.2 77790.69 2435.772 31272.75 77790.69 2422.589 31272.75 77790.69 2434.275 31377.29 77790.69 2420.541 31377.29 77790.69 2432.686 31481.84 77790.69 2418.487 31481.84 77790.69 2431.069 31586.38 77790.69 2416.536 31586.38 77790.69 2429.513 31690.93 77790.69 2414.752 31690.93 77790.69 2427.991 31795.47 77790.69 2413.089 31795.47 77790.69 2426.389 31900.02 77790.69 2411.479 31900.02 77790.69 2424.609 32004.56 77790.69 2409.605 32004.56 77790.69 2423.221 32109.11 77790.69 2409.27 32109.11 77790.69 2422.467 32213.65 77790.69 2410.433 32213.65 77790.69 2422.226 32318.2 77790.69 2411.916 32318.2 77790.69 2422.885 32422.75 77790.69 2413.645 32422.75 77790.69 2424.899 32527.29 77790.69 2415.55 32527.29 77790.69 2427.824 32631.84 77790.69 2417.689 32631.84 77790.69 2430.748 32736.38 77790.69 2419.881 32736.38 77790.69 2433.15 32840.93 77790.69 2422.025 32840.93 77790.69 2435.206 32945.47 77790.69 2423.942 32945.47 77790.69 2436.984 33050.02 77790.69 2425.038 33050.02 77790.69 2438.653 33154.56 77790.69 2425.974 33154.56 77790.69 2439.992 33259.11 77790.69 2426.808 33259.11 77790.69 2441.053 33363.66 77790.69 2427.608 33363.66 77790.69 2441.955 33468.2 77790.69 2428.509 33468.2 77790.69 2442.935 31063.65 77688.47 2425.57 31063.65 77688.47 2436.454 31168.2 77688.47 2423.971 31168.2 77688.47 2435.228 31272.75 77688.47 2422.234 31272.75 77688.47 2433.901 31377.29 77688.47 2420.304 31377.29 77688.47 2432.393 31481.84 77688.47 2418.315 31481.84 77688.47 2430.804 31586.38 77688.47 2416.333 31586.38 77688.47 2429.25 31690.93 77688.47 2414.396 31690.93 77688.47 2427.677 31795.47 77688.47 2412.573 31795.47 77688.47 2426.085 31900.02 77688.47 2410.612 31900.02 77688.47 2424.583 32004.56 77688.47 2407.904 32004.56 77688.47 2422.643 32109.11 77688.47 2408.442 32109.11 77688.47 2421.733 32213.65 77688.47 2410.1 32213.65 77688.47 2421.074 32318.2 77688.47 2411.57 32318.2 77688.47 2421.013 32422.75 77688.47 2413.416 32422.75 77688.47 2423.683 32527.29 77688.47 2415.385 32527.29 77688.47 2427.66 32631.84 77688.47 2417.552 32631.84 77688.47 2430.975 32736.38 77688.47 2419.751 32736.38 77688.47 2433.359 32840.93 77688.47 2421.759 32840.93 77688.47 2435.212 32945.47 77688.47 2423.459 32945.47 77688.47 2436.771 33050.02 77688.47 2424.533 33050.02 77688.47 2438.19 33154.56 77688.47 2425.417 33154.56 77688.47 2439.449 33259.11 77688.47 2426.214 33259.11 77688.47 2440.486 33363.66 77688.47 2427.002 33363.66 77688.47 2441.452 33468.2 77688.47 2427.816 33468.2 77688.47 2442.384 31063.65 77586.24 2424.875 31063.65 77586.24 2435.838 31168.2 77586.24 2423.586 31168.2 77586.24 2434.833 31272.75 77586.24 2422 31272.75 77586.24 2433.614 31377.29 77586.24 2420.294 31377.29 77586.24 2432.256 31481.84 77586.24 2418.37 31481.84 77586.24 2430.764 31586.38 77586.24 2416.514 31586.38 77586.24 2429.356 31690.93 77586.24 2414.473 31690.93 77586.24 2427.851 31795.47 77586.24 2412.89 31795.47 77586.24 2426.704 31900.02 77586.24 2411.555 31900.02 77586.24 2425.569 32004.56 77586.24 2410.319 32004.56 77586.24 2424.359 32109.11 77586.24 2410.372 32109.11 77586.24 2423.147 32213.65 77586.24 2411.183 32213.65 77586.24 2421.686 32318.2 77586.24 2411.926 32318.2 77586.24 2419.819 32422.75 77586.24 2413.819 32422.75 77586.24 2423.598 32527.29 77586.24 2415.901 32527.29 77586.24 2428.073 32631.84 77586.24 2417.897 32631.84 77586.24 2431.537 32736.38 77586.24 2419.734 32736.38 77586.24 2433.741 32840.93 77586.24 2421.353 32840.93 77586.24 2435.309 32945.47 77586.24 2422.773 32945.47 77586.24 2436.691 33050.02 77586.24 2423.872 33050.02 77586.24 2437.919 33154.56 77586.24 2424.737 33154.56 77586.24 2438.994 33259.11 77586.24 2425.58 33259.11 77586.24 2440.036 33363.66 77586.24 2426.313 33363.66 77586.24 2440.923 33468.2 77586.24 2427.133 33468.2 77586.24 2441.862 31063.65 77484.02 2424.237 31063.65 77484.02 2435.264 31168.2 77484.02 2423.271 31168.2 77484.02 2434.494 31272.75 77484.02 2421.829 31272.75 77484.02 2433.346 31377.29 77484.02 2420.255 31377.29 77484.02 2432.101 31481.84 77484.02 2418.612 31481.84 77484.02 2430.826 31586.38 77484.02 2417.05 31586.38 77484.02 2429.666 31690.93 77484.02 2415.332 31690.93 77484.02 2428.487 31795.47 77484.02 2414.208 31795.47 77484.02 2427.797 31900.02 77484.02 2413.495 31900.02 77484.02 2427.215 32004.56 77484.02 2413.208 32004.56 77484.02 2426.822 32109.11 77484.02 2413.26 32109.11 77484.02 2425.954 32213.65 77484.02 2413.27 32213.65 77484.02 2424.441 32318.2 77484.02 2413.722 32318.2 77484.02 2423.815 32422.75 77484.02 2414.859 32422.75 77484.02 2425.826 32527.29 77484.02 2416.615 32527.29 77484.02 2429.534 32631.84 77484.02 2418.337 32631.84 77484.02 2432.608 32736.38 77484.02 2419.536 32736.38 77484.02 2434.097 32840.93 77484.02 2420.873 32840.93 77484.02 2435.428 32945.47 77484.02 2422.133 32945.47 77484.02 2436.617 33050.02 77484.02 2423.159 33050.02 77484.02 2437.615 33154.56 77484.02 2424.056 33154.56 77484.02 2438.628 33259.11 77484.02 2424.874 33259.11 77484.02 2439.588 33363.66 77484.02 2425.568 33363.66 77484.02 2440.41 33468.2 77484.02 2426.408 33468.2 77484.02 2441.35 31063.65 77381.8 2423.546 31063.65 77381.8 2434.644 31168.2 77381.8 2422.73 31168.2 77381.8 2433.971 31272.75 77381.8 2421.469 31272.75 77381.8 2432.917 31377.29 77381.8 2420.153 31377.29 77381.8 2431.835 31481.84 77381.8 2418.993 31481.84 77381.8 2430.947 31586.38 77381.8 2417.815 31586.38 77381.8 2430.032 31690.93 77381.8 2416.767 31690.93 77381.8 2429.318 31795.47 77381.8 2415.909 31795.47 77381.8 2428.951 31900.02 77381.8 2415.597 31900.02 77381.8 2428.984 32004.56 77381.8 2415.944 32004.56 77381.8 2429.487 32109.11 77381.8 2416.314 32109.11 77381.8 2429.506 32213.65 77381.8 2415.419 32213.65 77381.8 2427.563 32318.2 77381.8 2415.098 32318.2 77381.8 2426.823 32422.75 77381.8 2415.563 32422.75 77381.8 2427.941 32527.29 77381.8 2416.628 32527.29 77381.8 2430.312 32631.84 77381.8 2417.878 32631.84 77381.8 2432.562 32736.38 77381.8 2419.132 32736.38 77381.8 2434.122 32840.93 77381.8 2420.371 32840.93 77381.8 2435.38 32945.47 77381.8 2421.449 32945.47 77381.8 2436.213 33050.02 77381.8 2422.542 33050.02 77381.8 2437.366 33154.56 77381.8 2423.444 33154.56 77381.8 2438.362 33259.11 77381.8 2424.213 33259.11 77381.8 2439.234 33363.66 77381.8 2424.864 33363.66 77381.8 2439.965 33468.2 77381.8 2425.721 33468.2 77381.8 2440.882 31063.65 77279.58 2423.029 31063.65 77279.58 2434.169 31168.2 77279.58 2422.189 31168.2 77279.58 2433.462 31272.75 77279.58 2421.181 31272.75 77279.58 2432.593 31377.29 77279.58 2420.18 31377.29 77279.58 2431.736 31481.84 77279.58 2419.266 31481.84 77279.58 2430.945 31586.38 77279.58 2418.575 31586.38 77279.58 2430.337 31690.93 77279.58 2418.024 31690.93 77279.58 2429.97 31795.47 77279.58 2417.244 31795.47 77279.58 2429.713 31900.02 77279.58 2416.975 31900.02 77279.58 2429.845 32004.56 77279.58 2417.223 32004.56 77279.58 2430.358 32109.11 77279.58 2417.367 32109.11 77279.58 2430.448 32213.65 77279.58 2416.455 32213.65 77279.58 2429.09 32318.2 77279.58 2415.781 32318.2 77279.58 2428.429 32422.75 77279.58 2415.711 32422.75 77279.58 2429.057 32527.29 77279.58 2416.079 32527.29 77279.58 2430.45 32631.84 77279.58 2417.16 32631.84 77279.58 2432.206 32736.38 77279.58 2418.577 32736.38 77279.58 2433.885 32840.93 77279.58 2419.85 32840.93 77279.58 2435.187 32945.47 77279.58 2420.903 32945.47 77279.58 2435.991 33050.02 77279.58 2421.975 33050.02 77279.58 2437.08 33154.56 77279.58 2422.877 33154.56 77279.58 2438.044 33259.11 77279.58 2423.669 33259.11 77279.58 2438.909 33363.66 77279.58 2424.379 33363.66 77279.58 2439.673 33468.2 77279.58 2425.192 33468.2 77279.58 2440.538 31063.65 77177.36 2422.369 31063.65 77177.36 2433.599 31168.2 77177.36 2421.662 31168.2 77177.36 2432.984 31272.75 77177.36 2420.893 31272.75 77177.36 2432.313 31377.29 77177.36 2420.126 31377.29 77177.36 2431.611 31481.84 77177.36 2419.542 31481.84 77177.36 2431.055 31586.38 77177.36 2418.977 31586.38 77177.36 2430.543 31690.93 77177.36 2418.455 31690.93 77177.36 2430.177 31795.47 77177.36 2417.886 31795.47 77177.36 2429.968 31900.02 77177.36 2417.544 31900.02 77177.36 2429.936 32004.56 77177.36 2417.508 32004.56 77177.36 2430.072 32109.11 77177.36 2417.034 32109.11 77177.36 2429.549 32213.65 77177.36 2416.406 32213.65 77177.36 2428.921 32318.2 77177.36 2416.101 32318.2 77177.36 2429.128 32422.75 77177.36 2415.884 32422.75 77177.36 2429.747 32527.29 77177.36 2415.607 32527.29 77177.36 2430.559 32631.84 77177.36 2416.757 32631.84 77177.36 2432.068 32736.38 77177.36 2418.157 32736.38 77177.36 2433.596 32840.93 77177.36 2419.428 32840.93 77177.36 2434.958 32945.47 77177.36 2420.492 32945.47 77177.36 2435.844 33050.02 77177.36 2421.545 33050.02 77177.36 2436.902 33154.56 77177.36 2422.455 33154.56 77177.36 2437.822 33259.11 77177.36 2423.209 33259.11 77177.36 2438.589 33363.66 77177.36 2424.045 33363.66 77177.36 2439.483 33468.2 77177.36 2424.752 33468.2 77177.36 2440.252 31063.65 77075.13 2421.699 31063.65 77075.13 2433.04 31168.2 77075.13 2421.112 31168.2 77075.13 2432.513 31272.75 77075.13 2420.546 31272.75 77075.13 2431.992 31377.29 77075.13 2420.036 31377.29 77075.13 2431.489 31481.84 77075.13 2419.53 31481.84 77075.13 2431 31586.38 77075.13 2419.091 31586.38 77075.13 2430.617 31690.93 77075.13 2418.606 31690.93 77075.13 2430.247 31795.47 77075.13 2418.118 31795.47 77075.13 2429.93 31900.02 77075.13 2417.804 31900.02 77075.13 2429.835 32004.56 77075.13 2417.445 32004.56 77075.13 2429.658 32109.11 77075.13 2416.722 32109.11 77075.13 2428.853 32213.65 77075.13 2416.329 32213.65 77075.13 2428.806 32318.2 77075.13 2416.194 32318.2 77075.13 2429.462 32422.75 77075.13 2416.112 32422.75 77075.13 2430.209 32527.29 77075.13 2416.33 32527.29 77075.13 2431.166 32631.84 77075.13 2417.038 32631.84 77075.13 2432.323 32736.38 77075.13 2418.107 32736.38 77075.13 2433.614 32840.93 77075.13 2419.164 32840.93 77075.13 2434.733 32945.47 77075.13 2420.259 32945.47 77075.13 2435.791 33050.02 77075.13 2421.248 33050.02 77075.13 2436.762 33154.56 77075.13 2422.12 33154.56 77075.13 2437.627 33259.11 77075.13 2422.958 33259.11 77075.13 2438.488 33363.66 77075.13 2423.779 33363.66 77075.13 2439.347 33468.2 77075.13 2424.572 33468.2 77075.13 2440.181 31063.65 76972.91 2421.107 31063.65 76972.91 2432.56 31168.2 76972.91 2420.633 31168.2 76972.91 2432.117 31272.75 76972.91 2420.243 31272.75 76972.91 2431.736 31377.29 76972.91 2419.791 31377.29 76972.91 2431.301 31481.84 76972.91 2419.456 31481.84 76972.91 2430.931 31586.38 76972.91 2419.084 31586.38 76972.91 2430.607 31690.93 76972.91 2418.673 31690.93 76972.91 2430.286 31795.47 76972.91 2418.21 31795.47 76972.91 2429.959 31900.02 76972.91 2417.772 31900.02 76972.91 2429.646 32004.56 76972.91 2417.316 32004.56 76972.91 2429.34 32109.11 76972.91 2416.893 32109.11 76972.91 2429.117 32213.65 76972.91 2416.657 32213.65 76972.91 2429.366 32318.2 76972.91 2416.539 32318.2 76972.91 2429.896 32422.75 76972.91 2416.635 32422.75 76972.91 2430.716 32527.29 76972.91 2416.979 32527.29 76972.91 2431.703 32631.84 76972.91 2417.515 32631.84 76972.91 2432.689 32736.38 76972.91 2418.357 32736.38 76972.91 2433.818 32840.93 76972.91 2419.251 32840.93 76972.91 2434.824 32945.47 76972.91 2420.209 32945.47 76972.91 2435.791 33050.02 76972.91 2421.131 33050.02 76972.91 2436.73 33154.56 76972.91 2421.977 33154.56 76972.91 2437.602 33259.11 76972.91 2422.865 33259.11 76972.91 2438.52 33363.66 76972.91 2423.589 33363.66 76972.91 2439.267 33468.2 76972.91 2424.349 33468.2 76972.91 2440.064 31063.65 76870.69 2420.55 31063.65 76870.69 2432.128 31168.2 76870.69 2420.182 31168.2 76870.69 2431.77 31272.75 76870.69 2419.932 31272.75 76870.69 2431.499 31377.29 76870.69 2419.616 31377.29 76870.69 2431.167 31481.84 76870.69 2419.342 31481.84 76870.69 2430.864 31586.38 76870.69 2419.026 31586.38 76870.69 2430.583 31690.93 76870.69 2418.676 31690.93 76870.69 2430.311 31795.47 76870.69 2418.3 31795.47 76870.69 2430.068 31900.02 76870.69 2417.872 31900.02 76870.69 2429.763 32004.56 76870.69 2417.469 32004.56 76870.69 2429.562 32109.11 76870.69 2417.115 32109.11 76870.69 2429.492 32213.65 76870.69 2416.934 32213.65 76870.69 2429.78 32318.2 76870.69 2416.938 32318.2 76870.69 2430.373 32422.75 76870.69 2417.128 32422.75 76870.69 2431.197 32527.29 76870.69 2417.524 32527.29 76870.69 2432.17 32631.84 76870.69 2418.003 32631.84 76870.69 2433.087 32736.38 76870.69 2418.645 32736.38 76870.69 2433.98 32840.93 76870.69 2419.456 32840.93 76870.69 2434.975 32945.47 76870.69 2420.309 32945.47 76870.69 2435.928 33050.02 76870.69 2421.151 33050.02 76870.69 2436.823 33154.56 76870.69 2421.961 33154.56 76870.69 2437.658 33259.11 76870.69 2422.764 33259.11 76870.69 2438.506 33363.66 76870.69 2423.558 33363.66 76870.69 2439.338 33468.2 76870.69 2424.277 33468.2 76870.69 2440.093 31063.65 76768.47 2420.028 31063.65 76768.47 2431.743 31168.2 76768.47 2419.844 31168.2 76768.47 2431.536 31272.75 76768.47 2419.616 31272.75 76768.47 2431.289 31377.29 76768.47 2419.462 31377.29 76768.47 2431.088 31481.84 76768.47 2419.211 31481.84 76768.47 2430.827 31586.38 76768.47 2418.968 31586.38 76768.47 2430.605 31690.93 76768.47 2418.713 31690.93 76768.47 2430.395 31795.47 76768.47 2418.38 31795.47 76768.47 2430.164 31900.02 76768.47 2417.989 31900.02 76768.47 2429.952 32004.56 76768.47 2417.674 32004.56 76768.47 2429.892 32109.11 76768.47 2417.389 32109.11 76768.47 2429.914 32213.65 76768.47 2417.221 32213.65 76768.47 2430.153 32318.2 76768.47 2417.297 32318.2 76768.47 2430.794 32422.75 76768.47 2417.546 32422.75 76768.47 2431.611 32527.29 76768.47 2417.973 32527.29 76768.47 2432.57 32631.84 76768.47 2418.452 32631.84 76768.47 2433.468 32736.38 76768.47 2419 32736.38 76768.47 2434.261 32840.93 76768.47 2419.7 32840.93 76768.47 2435.157 32945.47 76768.47 2420.464 32945.47 76768.47 2436.057 33050.02 76768.47 2421.241 33050.02 76768.47 2436.924 33154.56 76768.47 2422.015 33154.56 76768.47 2437.751 33259.11 76768.47 2422.793 33259.11 76768.47 2438.584 33363.66 76768.47 2423.581 33363.66 76768.47 2439.421 33468.2 76768.47 2424.282 33468.2 76768.47 2440.175 31063.65 76666.24 2419.542 31063.65 76666.24 2431.403 31168.2 76666.24 2419.443 31168.2 76666.24 2431.272 31272.75 76666.24 2419.397 31272.75 76666.24 2431.168 31377.29 76666.24 2419.256 31377.29 76666.24 2430.997 31481.84 76666.24 2419.076 31481.84 76666.24 2430.808 31586.38 76666.24 2418.902 31586.38 76666.24 2430.646 31690.93 76666.24 2418.692 31690.93 76666.24 2430.486 31795.47 76666.24 2418.412 31795.47 76666.24 2430.305 31900.02 76666.24 2418.114 31900.02 76666.24 2430.193 32004.56 76666.24 2417.821 32004.56 76666.24 2430.146 32109.11 76666.24 2417.619 32109.11 76666.24 2430.253 32213.65 76666.24 2417.476 32213.65 76666.24 2430.495 32318.2 76666.24 2417.563 32318.2 76666.24 2431.043 32422.75 76666.24 2417.845 32422.75 76666.24 2431.836 32527.29 76666.24 2418.315 32527.29 76666.24 2432.836 32631.84 76666.24 2418.796 32631.84 76666.24 2433.727 32736.38 76666.24 2419.375 32736.38 76666.24 2434.516 32840.93 76666.24 2420.024 32840.93 76666.24 2435.36 32945.47 76666.24 2420.736 32945.47 76666.24 2436.236 33050.02 76666.24 2421.463 33050.02 76666.24 2437.1 33154.56 76666.24 2422.188 33154.56 76666.24 2437.94 33259.11 76666.24 2422.959 33259.11 76666.24 2438.779 33363.66 76666.24 2423.625 33363.66 76666.24 2439.521 33468.2 76666.24 2424.313 33468.2 76666.24 2440.28 31063.65 76564.02 2419.223 31063.65 76564.02 2431.207 31168.2 76564.02 2419.177 31168.2 76564.02 2431.112 31272.75 76564.02 2419.2 31272.75 76564.02 2431.084 31377.29 76564.02 2419.114 31377.29 76564.02 2430.969 31481.84 76564.02 2418.978 31481.84 76564.02 2430.828 31586.38 76564.02 2418.828 31586.38 76564.02 2430.701 31690.93 76564.02 2418.65 31690.93 76564.02 2430.556 31795.47 76564.02 2418.416 31795.47 76564.02 2430.429 31900.02 76564.02 2418.146 31900.02 76564.02 2430.335 32004.56 76564.02 2417.927 32004.56 76564.02 2430.347 32109.11 76564.02 2417.722 32109.11 76564.02 2430.435 32213.65 76564.02 2417.647 32213.65 76564.02 2430.709 32318.2 76564.02 2417.775 32318.2 76564.02 2431.235 32422.75 76564.02 2418.047 32422.75 76564.02 2431.976 32527.29 76564.02 2418.498 32527.29 76564.02 2432.895 32631.84 76564.02 2419.02 32631.84 76564.02 2433.8 32736.38 76564.02 2419.597 32736.38 76564.02 2434.639 32840.93 76564.02 2420.175 32840.93 76564.02 2435.431 32945.47 76564.02 2420.883 32945.47 76564.02 2436.33 33050.02 76564.02 2421.619 33050.02 76564.02 2437.233 33154.56 76564.02 2422.359 33154.56 76564.02 2438.066 33259.11 76564.02 2423.098 33259.11 76564.02 2438.934 33363.66 76564.02 2423.814 33363.66 76564.02 2439.749 33468.2 76564.02 2424.364 33468.2 76564.02 2440.383 / ZCORN 2439.072 2437.667 2437.667 2436.279 2436.279 2434.884 2434.884 2433.464 2433.464 2431.669 2431.669 2429.639 2429.639 2427.771 2427.771 2425.641 2425.641 2423.653 2423.653 2423.64 2423.64 2425.626 2425.626 2427.999 2427.999 2430.599 2430.599 2432.241 2432.241 2431.723 2431.723 2431.137 2431.137 2430.662 2430.662 2430.692 2430.692 2430.979 2430.979 2431.385 2431.385 2431.906 2431.906 2432.499 2432.499 2433.131 2439.006 2437.668 2437.668 2436.264 2436.264 2434.881 2434.881 2433.674 2433.674 2431.777 2431.777 2429.479 2429.479 2427.035 2427.035 2424.903 2424.903 2423.329 2423.329 2423.183 2423.183 2424.49 2424.49 2426.507 2426.507 2428.885 2428.885 2430.418 2430.418 2429.888 2429.888 2429.378 2429.378 2429.008 2429.008 2429.161 2429.161 2429.751 2429.751 2430.584 2430.584 2431.435 2431.435 2432.262 2432.262 2433.048 2439.006 2437.668 2437.668 2436.264 2436.264 2434.881 2434.881 2433.674 2433.674 2431.777 2431.777 2429.479 2429.479 2427.035 2427.035 2424.903 2424.903 2423.329 2423.329 2423.183 2423.183 2424.49 2424.49 2426.507 2426.507 2428.885 2428.885 2430.418 2430.418 2429.888 2429.888 2429.378 2429.378 2429.008 2429.008 2429.161 2429.161 2429.751 2429.751 2430.584 2430.584 2431.435 2431.435 2432.262 2432.262 2433.048 2438.766 2437.396 2437.396 2436.007 2436.007 2434.922 2434.922 2433.688 2433.688 2431.791 2431.791 2429.031 2429.031 2426.313 2426.313 2424.067 2424.067 2422.696 2422.696 2422.681 2422.681 2423.066 2423.066 2424.323 2424.323 2425.944 2425.944 2426.76 2426.76 2426.941 2426.941 2426.924 2426.924 2426.852 2426.852 2427.374 2427.374 2428.392 2428.392 2429.565 2429.565 2430.857 2430.857 2432.193 2432.193 2433.122 2438.766 2437.396 2437.396 2436.007 2436.007 2434.922 2434.922 2433.688 2433.688 2431.791 2431.791 2429.031 2429.031 2426.313 2426.313 2424.067 2424.067 2422.696 2422.696 2422.681 2422.681 2423.066 2423.066 2424.323 2424.323 2425.944 2425.944 2426.76 2426.76 2426.941 2426.941 2426.924 2426.924 2426.852 2426.852 2427.374 2427.374 2428.392 2428.392 2429.565 2429.565 2430.857 2430.857 2432.193 2432.193 2433.122 2438.253 2436.882 2436.882 2435.399 2435.399 2434.143 2434.143 2433.189 2433.189 2431.771 2431.771 2428.083 2428.083 2424.922 2424.922 2422.726 2422.726 2421.856 2421.856 2421.396 2421.396 2421.375 2421.375 2421.909 2421.909 2422.661 2422.661 2423.132 2423.132 2423.719 2423.719 2423.829 2423.829 2424.396 2424.396 2425.247 2425.247 2426.668 2426.668 2428.418 2428.418 2430.439 2430.439 2432.088 2432.088 2433.271 2438.253 2436.882 2436.882 2435.399 2435.399 2434.143 2434.143 2433.189 2433.189 2431.771 2431.771 2428.083 2428.083 2424.922 2424.922 2422.726 2422.726 2421.856 2421.856 2421.396 2421.396 2421.375 2421.375 2421.909 2421.909 2422.661 2422.661 2423.132 2423.132 2423.719 2423.719 2423.829 2423.829 2424.396 2424.396 2425.247 2425.247 2426.668 2426.668 2428.418 2428.418 2430.439 2430.439 2432.088 2432.088 2433.271 2437.679 2435.789 2435.789 2434.009 2434.009 2432.357 2432.357 2430.953 2430.953 2429.072 2429.072 2425.583 2425.583 2422.544 2422.544 2420.753 2420.753 2420.061 2420.061 2419.734 2419.734 2419.78 2419.78 2419.791 2419.791 2419.599 2419.599 2419.601 2419.601 2420.381 2420.381 2421.31 2421.31 2422.08 2422.08 2422.929 2422.929 2424.771 2424.771 2427.382 2427.382 2429.888 2429.888 2432.111 2432.111 2433.581 2437.679 2435.789 2435.789 2434.009 2434.009 2432.357 2432.357 2430.953 2430.953 2429.072 2429.072 2425.583 2425.583 2422.544 2422.544 2420.753 2420.753 2420.061 2420.061 2419.734 2419.734 2419.78 2419.78 2419.791 2419.791 2419.599 2419.599 2419.601 2419.601 2420.381 2420.381 2421.31 2421.31 2422.08 2422.08 2422.929 2422.929 2424.771 2424.771 2427.382 2427.382 2429.888 2429.888 2432.111 2432.111 2433.581 2436.427 2434.234 2434.234 2432.002 2432.002 2429.768 2429.768 2427.305 2427.305 2424.341 2424.341 2421.349 2421.349 2419.444 2419.444 2418.442 2418.442 2418.048 2418.048 2418.021 2418.021 2418.18 2418.18 2417.851 2417.851 2417.437 2417.437 2417.256 2417.256 2418.536 2418.536 2419.68 2419.68 2420.528 2420.528 2421.139 2421.139 2423.238 2423.238 2426.411 2426.411 2429.405 2429.405 2432.229 2432.229 2434.039 2436.427 2434.234 2434.234 2432.002 2432.002 2429.768 2429.768 2427.305 2427.305 2424.341 2424.341 2421.349 2421.349 2419.444 2419.444 2418.442 2418.442 2418.048 2418.048 2418.021 2418.021 2418.18 2418.18 2417.851 2417.851 2417.437 2417.437 2417.256 2417.256 2418.536 2418.536 2419.68 2419.68 2420.528 2420.528 2421.139 2421.139 2423.238 2423.238 2426.411 2426.411 2429.405 2429.405 2432.229 2432.229 2434.039 2434.616 2432.302 2432.302 2429.823 2429.823 2427.049 2427.049 2423.826 2423.826 2420.021 2420.021 2416.495 2416.495 2416.241 2416.241 2416.361 2416.361 2416.438 2416.438 2416.55 2416.55 2416.868 2416.868 2416.747 2416.747 2416.511 2416.511 2416.912 2416.912 2417.734 2417.734 2418.84 2418.84 2419.933 2419.933 2421.062 2421.062 2423.052 2423.052 2425.958 2425.958 2428.904 2428.904 2431.689 2431.689 2433.501 2434.616 2432.302 2432.302 2429.823 2429.823 2427.049 2427.049 2423.826 2423.826 2420.021 2420.021 2416.495 2416.495 2416.241 2416.241 2416.361 2416.361 2416.438 2416.438 2416.55 2416.55 2416.868 2416.868 2416.747 2416.747 2416.511 2416.511 2416.912 2416.912 2417.734 2417.734 2418.84 2418.84 2419.933 2419.933 2421.062 2421.062 2423.052 2423.052 2425.958 2425.958 2428.904 2428.904 2431.689 2431.689 2433.501 2432.733 2430.395 2430.395 2427.733 2427.733 2424.738 2424.738 2421.338 2421.338 2417.59 2417.59 2414.461 2414.461 2414.473 2414.473 2414.983 2414.983 2415.304 2415.304 2415.427 2415.427 2415.788 2415.788 2415.882 2415.882 2416.132 2416.132 2416.646 2416.646 2417.593 2417.593 2418.736 2418.736 2420.017 2420.017 2421.5 2421.5 2423.379 2423.379 2425.938 2425.938 2428.508 2428.508 2430.796 2430.796 2432.383 2432.733 2430.395 2430.395 2427.733 2427.733 2424.738 2424.738 2421.338 2421.338 2417.59 2417.59 2414.461 2414.461 2414.473 2414.473 2414.983 2414.983 2415.304 2415.304 2415.427 2415.427 2415.788 2415.788 2415.882 2415.882 2416.132 2416.132 2416.646 2416.646 2417.593 2417.593 2418.736 2418.736 2420.017 2420.017 2421.5 2421.5 2423.379 2423.379 2425.938 2425.938 2428.508 2428.508 2430.796 2430.796 2432.383 2430.913 2428.672 2428.672 2426.024 2426.024 2423.102 2423.102 2419.998 2419.998 2417.042 2417.042 2414.995 2414.995 2414.421 2414.421 2414.324 2414.324 2414.368 2414.368 2414.57 2414.57 2414.846 2414.846 2415.179 2415.179 2415.854 2415.854 2416.588 2416.588 2417.845 2417.845 2418.944 2418.944 2420.501 2420.501 2422.211 2422.211 2424.158 2424.158 2426.238 2426.238 2428.184 2428.184 2430.042 2430.042 2431.53 2430.913 2428.672 2428.672 2426.024 2426.024 2423.102 2423.102 2419.998 2419.998 2417.042 2417.042 2414.995 2414.995 2414.421 2414.421 2414.324 2414.324 2414.368 2414.368 2414.57 2414.57 2414.846 2414.846 2415.179 2415.179 2415.854 2415.854 2416.588 2416.588 2417.845 2417.845 2418.944 2418.944 2420.501 2420.501 2422.211 2422.211 2424.158 2424.158 2426.238 2426.238 2428.184 2428.184 2430.042 2430.042 2431.53 2429.469 2427.324 2427.324 2424.882 2424.882 2421.974 2421.974 2419.207 2419.207 2416.898 2416.898 2415.285 2415.285 2414.591 2414.591 2414.152 2414.152 2413.829 2413.829 2413.633 2413.633 2413.837 2413.837 2414.591 2414.591 2415.4 2415.4 2416.518 2416.518 2417.943 2417.943 2419.619 2419.619 2421.394 2421.394 2422.956 2422.956 2424.833 2424.833 2426.438 2426.438 2428.046 2428.046 2429.407 2429.407 2430.696 2429.469 2427.324 2427.324 2424.882 2424.882 2421.974 2421.974 2419.207 2419.207 2416.898 2416.898 2415.285 2415.285 2414.591 2414.591 2414.152 2414.152 2413.829 2413.829 2413.633 2413.633 2413.837 2413.837 2414.591 2414.591 2415.4 2415.4 2416.518 2416.518 2417.943 2417.943 2419.619 2419.619 2421.394 2421.394 2422.956 2422.956 2424.833 2424.833 2426.438 2426.438 2428.046 2428.046 2429.407 2429.407 2430.696 2428.224 2426.192 2426.192 2423.869 2423.869 2421.36 2421.36 2418.859 2418.859 2416.958 2416.958 2415.587 2415.587 2414.567 2414.567 2413.622 2413.622 2412.813 2412.813 2412.419 2412.419 2412.703 2412.703 2413.526 2413.526 2414.776 2414.776 2416.302 2416.302 2418.014 2418.014 2419.872 2419.872 2421.784 2421.784 2423.625 2423.625 2425.148 2425.148 2426.431 2426.431 2427.703 2427.703 2428.918 2428.918 2429.925 2428.224 2426.192 2426.192 2423.869 2423.869 2421.36 2421.36 2418.859 2418.859 2416.958 2416.958 2415.587 2415.587 2414.567 2414.567 2413.622 2413.622 2412.813 2412.813 2412.419 2412.419 2412.703 2412.703 2413.526 2413.526 2414.776 2414.776 2416.302 2416.302 2418.014 2418.014 2419.872 2419.872 2421.784 2421.784 2423.625 2423.625 2425.148 2425.148 2426.431 2426.431 2427.703 2427.703 2428.918 2428.918 2429.925 2427.135 2425.156 2425.156 2423.104 2423.104 2420.975 2420.975 2418.66 2418.66 2416.733 2416.733 2415.145 2415.145 2413.916 2413.916 2412.641 2412.641 2411.387 2411.387 2410.956 2410.956 2411.479 2411.479 2412.611 2412.611 2414.182 2414.182 2416.017 2416.017 2417.913 2417.913 2419.905 2419.905 2421.946 2421.946 2423.789 2423.789 2425.167 2425.167 2426.239 2426.239 2427.307 2427.307 2428.324 2428.324 2429.187 2427.135 2425.156 2425.156 2423.104 2423.104 2420.975 2420.975 2418.66 2418.66 2416.733 2416.733 2415.145 2415.145 2413.916 2413.916 2412.641 2412.641 2411.387 2411.387 2410.956 2410.956 2411.479 2411.479 2412.611 2412.611 2414.182 2414.182 2416.017 2416.017 2417.913 2417.913 2419.905 2419.905 2421.946 2421.946 2423.789 2423.789 2425.167 2425.167 2426.239 2426.239 2427.307 2427.307 2428.324 2428.324 2429.187 2426.272 2424.541 2424.541 2422.589 2422.589 2420.541 2420.541 2418.487 2418.487 2416.536 2416.536 2414.752 2414.752 2413.089 2413.089 2411.479 2411.479 2409.605 2409.605 2409.27 2409.27 2410.433 2410.433 2411.916 2411.916 2413.645 2413.645 2415.55 2415.55 2417.689 2417.689 2419.881 2419.881 2422.025 2422.025 2423.942 2423.942 2425.038 2425.038 2425.974 2425.974 2426.808 2426.808 2427.608 2427.608 2428.509 2426.272 2424.541 2424.541 2422.589 2422.589 2420.541 2420.541 2418.487 2418.487 2416.536 2416.536 2414.752 2414.752 2413.089 2413.089 2411.479 2411.479 2409.605 2409.605 2409.27 2409.27 2410.433 2410.433 2411.916 2411.916 2413.645 2413.645 2415.55 2415.55 2417.689 2417.689 2419.881 2419.881 2422.025 2422.025 2423.942 2423.942 2425.038 2425.038 2425.974 2425.974 2426.808 2426.808 2427.608 2427.608 2428.509 2425.57 2423.971 2423.971 2422.234 2422.234 2420.304 2420.304 2418.315 2418.315 2416.333 2416.333 2414.396 2414.396 2412.573 2412.573 2410.612 2410.612 2407.904 2407.904 2408.442 2408.442 2410.1 2410.1 2411.57 2411.57 2413.416 2413.416 2415.385 2415.385 2417.552 2417.552 2419.751 2419.751 2421.759 2421.759 2423.459 2423.459 2424.533 2424.533 2425.417 2425.417 2426.214 2426.214 2427.002 2427.002 2427.816 2425.57 2423.971 2423.971 2422.234 2422.234 2420.304 2420.304 2418.315 2418.315 2416.333 2416.333 2414.396 2414.396 2412.573 2412.573 2410.612 2410.612 2407.904 2407.904 2408.442 2408.442 2410.1 2410.1 2411.57 2411.57 2413.416 2413.416 2415.385 2415.385 2417.552 2417.552 2419.751 2419.751 2421.759 2421.759 2423.459 2423.459 2424.533 2424.533 2425.417 2425.417 2426.214 2426.214 2427.002 2427.002 2427.816 2424.875 2423.586 2423.586 2422 2422 2420.294 2420.294 2418.37 2418.37 2416.514 2416.514 2414.473 2414.473 2412.89 2412.89 2411.555 2411.555 2410.319 2410.319 2410.372 2410.372 2411.183 2411.183 2411.926 2411.926 2413.819 2413.819 2415.901 2415.901 2417.897 2417.897 2419.734 2419.734 2421.353 2421.353 2422.773 2422.773 2423.872 2423.872 2424.737 2424.737 2425.58 2425.58 2426.313 2426.313 2427.133 2424.875 2423.586 2423.586 2422 2422 2420.294 2420.294 2418.37 2418.37 2416.514 2416.514 2414.473 2414.473 2412.89 2412.89 2411.555 2411.555 2410.319 2410.319 2410.372 2410.372 2411.183 2411.183 2411.926 2411.926 2413.819 2413.819 2415.901 2415.901 2417.897 2417.897 2419.734 2419.734 2421.353 2421.353 2422.773 2422.773 2423.872 2423.872 2424.737 2424.737 2425.58 2425.58 2426.313 2426.313 2427.133 2424.237 2423.271 2423.271 2421.829 2421.829 2420.255 2420.255 2418.612 2418.612 2417.05 2417.05 2415.332 2415.332 2414.208 2414.208 2413.495 2413.495 2413.208 2413.208 2413.26 2413.26 2413.27 2413.27 2413.722 2413.722 2414.859 2414.859 2416.615 2416.615 2418.337 2418.337 2419.536 2419.536 2420.873 2420.873 2422.133 2422.133 2423.159 2423.159 2424.056 2424.056 2424.874 2424.874 2425.568 2425.568 2426.408 2424.237 2423.271 2423.271 2421.829 2421.829 2420.255 2420.255 2418.612 2418.612 2417.05 2417.05 2415.332 2415.332 2414.208 2414.208 2413.495 2413.495 2413.208 2413.208 2413.26 2413.26 2413.27 2413.27 2413.722 2413.722 2414.859 2414.859 2416.615 2416.615 2418.337 2418.337 2419.536 2419.536 2420.873 2420.873 2422.133 2422.133 2423.159 2423.159 2424.056 2424.056 2424.874 2424.874 2425.568 2425.568 2426.408 2423.546 2422.73 2422.73 2421.469 2421.469 2420.153 2420.153 2418.993 2418.993 2417.815 2417.815 2416.767 2416.767 2415.909 2415.909 2415.597 2415.597 2415.944 2415.944 2416.314 2416.314 2415.419 2415.419 2415.098 2415.098 2415.563 2415.563 2416.628 2416.628 2417.878 2417.878 2419.132 2419.132 2420.371 2420.371 2421.449 2421.449 2422.542 2422.542 2423.444 2423.444 2424.213 2424.213 2424.864 2424.864 2425.721 2423.546 2422.73 2422.73 2421.469 2421.469 2420.153 2420.153 2418.993 2418.993 2417.815 2417.815 2416.767 2416.767 2415.909 2415.909 2415.597 2415.597 2415.944 2415.944 2416.314 2416.314 2415.419 2415.419 2415.098 2415.098 2415.563 2415.563 2416.628 2416.628 2417.878 2417.878 2419.132 2419.132 2420.371 2420.371 2421.449 2421.449 2422.542 2422.542 2423.444 2423.444 2424.213 2424.213 2424.864 2424.864 2425.721 2423.029 2422.189 2422.189 2421.181 2421.181 2420.18 2420.18 2419.266 2419.266 2418.575 2418.575 2418.024 2418.024 2417.244 2417.244 2416.975 2416.975 2417.223 2417.223 2417.367 2417.367 2416.455 2416.455 2415.781 2415.781 2415.711 2415.711 2416.079 2416.079 2417.16 2417.16 2418.577 2418.577 2419.85 2419.85 2420.903 2420.903 2421.975 2421.975 2422.877 2422.877 2423.669 2423.669 2424.379 2424.379 2425.192 2423.029 2422.189 2422.189 2421.181 2421.181 2420.18 2420.18 2419.266 2419.266 2418.575 2418.575 2418.024 2418.024 2417.244 2417.244 2416.975 2416.975 2417.223 2417.223 2417.367 2417.367 2416.455 2416.455 2415.781 2415.781 2415.711 2415.711 2416.079 2416.079 2417.16 2417.16 2418.577 2418.577 2419.85 2419.85 2420.903 2420.903 2421.975 2421.975 2422.877 2422.877 2423.669 2423.669 2424.379 2424.379 2425.192 2422.369 2421.662 2421.662 2420.893 2420.893 2420.126 2420.126 2419.542 2419.542 2418.977 2418.977 2418.455 2418.455 2417.886 2417.886 2417.544 2417.544 2417.508 2417.508 2417.034 2417.034 2416.406 2416.406 2416.101 2416.101 2415.884 2415.884 2415.607 2415.607 2416.757 2416.757 2418.157 2418.157 2419.428 2419.428 2420.492 2420.492 2421.545 2421.545 2422.455 2422.455 2423.209 2423.209 2424.045 2424.045 2424.752 2422.369 2421.662 2421.662 2420.893 2420.893 2420.126 2420.126 2419.542 2419.542 2418.977 2418.977 2418.455 2418.455 2417.886 2417.886 2417.544 2417.544 2417.508 2417.508 2417.034 2417.034 2416.406 2416.406 2416.101 2416.101 2415.884 2415.884 2415.607 2415.607 2416.757 2416.757 2418.157 2418.157 2419.428 2419.428 2420.492 2420.492 2421.545 2421.545 2422.455 2422.455 2423.209 2423.209 2424.045 2424.045 2424.752 2421.699 2421.112 2421.112 2420.546 2420.546 2420.036 2420.036 2419.53 2419.53 2419.091 2419.091 2418.606 2418.606 2418.118 2418.118 2417.804 2417.804 2417.445 2417.445 2416.722 2416.722 2416.329 2416.329 2416.194 2416.194 2416.112 2416.112 2416.33 2416.33 2417.038 2417.038 2418.107 2418.107 2419.164 2419.164 2420.259 2420.259 2421.248 2421.248 2422.12 2422.12 2422.958 2422.958 2423.779 2423.779 2424.572 2421.699 2421.112 2421.112 2420.546 2420.546 2420.036 2420.036 2419.53 2419.53 2419.091 2419.091 2418.606 2418.606 2418.118 2418.118 2417.804 2417.804 2417.445 2417.445 2416.722 2416.722 2416.329 2416.329 2416.194 2416.194 2416.112 2416.112 2416.33 2416.33 2417.038 2417.038 2418.107 2418.107 2419.164 2419.164 2420.259 2420.259 2421.248 2421.248 2422.12 2422.12 2422.958 2422.958 2423.779 2423.779 2424.572 2421.107 2420.633 2420.633 2420.243 2420.243 2419.791 2419.791 2419.456 2419.456 2419.084 2419.084 2418.673 2418.673 2418.21 2418.21 2417.772 2417.772 2417.316 2417.316 2416.893 2416.893 2416.657 2416.657 2416.539 2416.539 2416.635 2416.635 2416.979 2416.979 2417.515 2417.515 2418.357 2418.357 2419.251 2419.251 2420.209 2420.209 2421.131 2421.131 2421.977 2421.977 2422.865 2422.865 2423.589 2423.589 2424.349 2421.107 2420.633 2420.633 2420.243 2420.243 2419.791 2419.791 2419.456 2419.456 2419.084 2419.084 2418.673 2418.673 2418.21 2418.21 2417.772 2417.772 2417.316 2417.316 2416.893 2416.893 2416.657 2416.657 2416.539 2416.539 2416.635 2416.635 2416.979 2416.979 2417.515 2417.515 2418.357 2418.357 2419.251 2419.251 2420.209 2420.209 2421.131 2421.131 2421.977 2421.977 2422.865 2422.865 2423.589 2423.589 2424.349 2420.55 2420.182 2420.182 2419.932 2419.932 2419.616 2419.616 2419.342 2419.342 2419.026 2419.026 2418.676 2418.676 2418.3 2418.3 2417.872 2417.872 2417.469 2417.469 2417.115 2417.115 2416.934 2416.934 2416.938 2416.938 2417.128 2417.128 2417.524 2417.524 2418.003 2418.003 2418.645 2418.645 2419.456 2419.456 2420.309 2420.309 2421.151 2421.151 2421.961 2421.961 2422.764 2422.764 2423.558 2423.558 2424.277 2420.55 2420.182 2420.182 2419.932 2419.932 2419.616 2419.616 2419.342 2419.342 2419.026 2419.026 2418.676 2418.676 2418.3 2418.3 2417.872 2417.872 2417.469 2417.469 2417.115 2417.115 2416.934 2416.934 2416.938 2416.938 2417.128 2417.128 2417.524 2417.524 2418.003 2418.003 2418.645 2418.645 2419.456 2419.456 2420.309 2420.309 2421.151 2421.151 2421.961 2421.961 2422.764 2422.764 2423.558 2423.558 2424.277 2420.028 2419.844 2419.844 2419.616 2419.616 2419.462 2419.462 2419.211 2419.211 2418.968 2418.968 2418.713 2418.713 2418.38 2418.38 2417.989 2417.989 2417.674 2417.674 2417.389 2417.389 2417.221 2417.221 2417.297 2417.297 2417.546 2417.546 2417.973 2417.973 2418.452 2418.452 2419 2419 2419.7 2419.7 2420.464 2420.464 2421.241 2421.241 2422.015 2422.015 2422.793 2422.793 2423.581 2423.581 2424.282 2420.028 2419.844 2419.844 2419.616 2419.616 2419.462 2419.462 2419.211 2419.211 2418.968 2418.968 2418.713 2418.713 2418.38 2418.38 2417.989 2417.989 2417.674 2417.674 2417.389 2417.389 2417.221 2417.221 2417.297 2417.297 2417.546 2417.546 2417.973 2417.973 2418.452 2418.452 2419 2419 2419.7 2419.7 2420.464 2420.464 2421.241 2421.241 2422.015 2422.015 2422.793 2422.793 2423.581 2423.581 2424.282 2419.542 2419.443 2419.443 2419.397 2419.397 2419.256 2419.256 2419.076 2419.076 2418.902 2418.902 2418.692 2418.692 2418.412 2418.412 2418.114 2418.114 2417.821 2417.821 2417.619 2417.619 2417.476 2417.476 2417.563 2417.563 2417.845 2417.845 2418.315 2418.315 2418.796 2418.796 2419.375 2419.375 2420.024 2420.024 2420.736 2420.736 2421.463 2421.463 2422.188 2422.188 2422.959 2422.959 2423.625 2423.625 2424.313 2419.542 2419.443 2419.443 2419.397 2419.397 2419.256 2419.256 2419.076 2419.076 2418.902 2418.902 2418.692 2418.692 2418.412 2418.412 2418.114 2418.114 2417.821 2417.821 2417.619 2417.619 2417.476 2417.476 2417.563 2417.563 2417.845 2417.845 2418.315 2418.315 2418.796 2418.796 2419.375 2419.375 2420.024 2420.024 2420.736 2420.736 2421.463 2421.463 2422.188 2422.188 2422.959 2422.959 2423.625 2423.625 2424.313 2419.223 2419.177 2419.177 2419.2 2419.2 2419.114 2419.114 2418.978 2418.978 2418.828 2418.828 2418.65 2418.65 2418.416 2418.416 2418.146 2418.146 2417.927 2417.927 2417.722 2417.722 2417.647 2417.647 2417.775 2417.775 2418.047 2418.047 2418.498 2418.498 2419.02 2419.02 2419.597 2419.597 2420.175 2420.175 2420.883 2420.883 2421.619 2421.619 2422.359 2422.359 2423.098 2423.098 2423.814 2423.814 2424.364 2439.796 2438.374 2438.374 2436.966 2436.966 2435.552 2435.552 2434.119 2434.119 2432.322 2432.322 2430.304 2430.304 2428.462 2428.462 2426.368 2426.368 2424.423 2424.423 2424.429 2424.429 2426.413 2426.413 2428.784 2428.784 2431.384 2431.384 2433.048 2433.048 2432.588 2432.588 2432.063 2432.063 2431.644 2431.644 2431.719 2431.719 2432.033 2432.033 2432.464 2432.464 2433.014 2433.014 2433.639 2433.639 2434.31 2439.724 2438.357 2438.357 2436.923 2436.923 2435.509 2435.509 2434.277 2434.277 2432.378 2432.378 2430.096 2430.096 2427.686 2427.686 2425.596 2425.596 2424.068 2424.068 2423.949 2423.949 2425.275 2425.275 2427.309 2427.309 2429.704 2429.704 2431.271 2431.271 2430.812 2430.812 2430.374 2430.374 2430.066 2430.066 2430.264 2430.264 2430.872 2430.872 2431.707 2431.707 2432.561 2432.561 2433.391 2433.391 2434.183 2439.724 2438.357 2438.357 2436.923 2436.923 2435.509 2435.509 2434.277 2434.277 2432.378 2432.378 2430.096 2430.096 2427.686 2427.686 2425.596 2425.596 2424.068 2424.068 2423.949 2423.949 2425.275 2425.275 2427.309 2427.309 2429.704 2429.704 2431.271 2431.271 2430.812 2430.812 2430.374 2430.374 2430.066 2430.066 2430.264 2430.264 2430.872 2430.872 2431.707 2431.707 2432.561 2432.561 2433.391 2433.391 2434.183 2439.482 2438.075 2438.075 2436.64 2436.64 2435.508 2435.508 2434.236 2434.236 2432.331 2432.331 2429.593 2429.593 2426.917 2426.917 2424.72 2424.72 2423.4 2423.4 2423.427 2423.427 2423.852 2423.852 2425.154 2425.154 2426.821 2426.821 2427.692 2427.692 2427.949 2427.949 2428.009 2428.009 2428.012 2428.012 2428.571 2428.571 2429.585 2429.585 2430.733 2430.733 2431.99 2431.99 2433.285 2433.285 2434.202 2439.482 2438.075 2438.075 2436.64 2436.64 2435.508 2435.508 2434.236 2434.236 2432.331 2432.331 2429.593 2429.593 2426.917 2426.917 2424.72 2424.72 2423.4 2423.4 2423.427 2423.427 2423.852 2423.852 2425.154 2425.154 2426.821 2426.821 2427.692 2427.692 2427.949 2427.949 2428.009 2428.009 2428.012 2428.012 2428.571 2428.571 2429.585 2429.585 2430.733 2430.733 2431.99 2431.99 2433.285 2433.285 2434.202 2438.976 2437.554 2437.554 2436.012 2436.012 2434.698 2434.698 2433.686 2433.686 2432.239 2432.239 2428.592 2428.592 2425.483 2425.483 2423.341 2423.341 2422.522 2422.522 2422.121 2422.121 2422.163 2422.163 2422.77 2422.77 2423.598 2423.598 2424.144 2424.144 2424.811 2424.811 2425.026 2425.026 2425.665 2425.665 2426.553 2426.553 2427.952 2427.952 2429.632 2429.632 2431.55 2431.55 2433.138 2433.138 2434.286 2438.976 2437.554 2437.554 2436.012 2436.012 2434.698 2434.698 2433.686 2433.686 2432.239 2432.239 2428.592 2428.592 2425.483 2425.483 2423.341 2423.341 2422.522 2422.522 2422.121 2422.121 2422.163 2422.163 2422.77 2422.77 2423.598 2423.598 2424.144 2424.144 2424.811 2424.811 2425.026 2425.026 2425.665 2425.665 2426.553 2426.553 2427.952 2427.952 2429.632 2429.632 2431.55 2431.55 2433.138 2433.138 2434.286 2438.407 2436.458 2436.458 2434.608 2434.608 2432.896 2432.896 2431.435 2431.435 2429.522 2429.522 2426.066 2426.066 2423.077 2423.077 2421.336 2421.336 2420.701 2420.701 2420.446 2420.446 2420.566 2420.566 2420.673 2420.673 2420.589 2420.589 2420.691 2420.691 2421.565 2421.565 2422.58 2422.58 2423.442 2423.442 2424.366 2424.366 2426.154 2426.154 2428.613 2428.613 2430.981 2430.981 2433.096 2433.096 2434.517 2438.407 2436.458 2436.458 2434.608 2434.608 2432.896 2432.896 2431.435 2431.435 2429.522 2429.522 2426.066 2426.066 2423.077 2423.077 2421.336 2421.336 2420.701 2420.701 2420.446 2420.446 2420.566 2420.566 2420.673 2420.673 2420.589 2420.589 2420.691 2420.691 2421.565 2421.565 2422.58 2422.58 2423.442 2423.442 2424.366 2424.366 2426.154 2426.154 2428.613 2428.613 2430.981 2430.981 2433.096 2433.096 2434.517 2437.151 2434.895 2434.895 2432.603 2432.603 2430.304 2430.304 2427.799 2427.799 2424.814 2424.814 2421.838 2421.838 2419.967 2419.967 2419.005 2419.005 2418.667 2418.667 2418.718 2418.718 2418.959 2418.959 2418.728 2418.728 2418.433 2418.433 2418.384 2418.384 2419.75 2419.75 2420.99 2420.99 2421.93 2421.93 2422.641 2422.641 2424.645 2424.645 2427.639 2427.639 2430.464 2430.464 2433.136 2433.136 2434.886 2437.151 2434.895 2434.895 2432.603 2432.603 2430.304 2430.304 2427.799 2427.799 2424.814 2424.814 2421.838 2421.838 2419.967 2419.967 2419.005 2419.005 2418.667 2418.667 2418.718 2418.718 2418.959 2418.959 2418.728 2418.728 2418.433 2418.433 2418.384 2418.384 2419.75 2419.75 2420.99 2420.99 2421.93 2421.93 2422.641 2422.641 2424.645 2424.645 2427.639 2427.639 2430.464 2430.464 2433.136 2433.136 2434.886 2435.316 2432.949 2432.949 2430.412 2430.412 2427.587 2427.587 2424.329 2424.329 2420.512 2420.512 2416.998 2416.998 2416.756 2416.756 2416.911 2416.911 2417.05 2417.05 2417.247 2417.247 2417.648 2417.648 2417.63 2417.63 2417.493 2417.493 2417.995 2417.995 2418.966 2418.966 2420.199 2420.199 2421.377 2421.377 2422.464 2422.464 2424.319 2424.319 2427.174 2427.174 2430.035 2430.035 2432.676 2432.676 2434.399 2435.316 2432.949 2432.949 2430.412 2430.412 2427.587 2427.587 2424.329 2424.329 2420.512 2420.512 2416.998 2416.998 2416.756 2416.756 2416.911 2416.911 2417.05 2417.05 2417.247 2417.247 2417.648 2417.648 2417.63 2417.63 2417.493 2417.493 2417.995 2417.995 2418.966 2418.966 2420.199 2420.199 2421.377 2421.377 2422.464 2422.464 2424.319 2424.319 2427.174 2427.174 2430.035 2430.035 2432.676 2432.676 2434.399 2433.395 2431.015 2431.015 2428.31 2428.31 2425.275 2425.275 2421.848 2421.848 2418.092 2418.092 2414.973 2414.973 2414.983 2414.983 2415.53 2415.53 2415.914 2415.914 2416.134 2416.134 2416.59 2416.59 2416.797 2416.797 2417.136 2417.136 2417.721 2417.721 2418.881 2418.881 2420.22 2420.22 2421.595 2421.595 2423.007 2423.007 2424.699 2424.699 2427.313 2427.313 2429.805 2429.805 2431.959 2431.959 2433.425 2433.395 2431.015 2431.015 2428.31 2428.31 2425.275 2425.275 2421.848 2421.848 2418.092 2418.092 2414.973 2414.973 2414.983 2414.983 2415.53 2415.53 2415.914 2415.914 2416.134 2416.134 2416.59 2416.59 2416.797 2416.797 2417.136 2417.136 2417.721 2417.721 2418.881 2418.881 2420.22 2420.22 2421.595 2421.595 2423.007 2423.007 2424.699 2424.699 2427.313 2427.313 2429.805 2429.805 2431.959 2431.959 2433.425 2431.537 2429.262 2429.262 2426.576 2426.576 2423.626 2423.626 2420.504 2420.504 2417.544 2417.544 2415.508 2415.508 2414.926 2414.926 2414.875 2414.875 2414.996 2414.996 2415.3 2415.3 2415.713 2415.713 2416.185 2416.185 2417.03 2417.03 2417.808 2417.808 2419.214 2419.214 2420.57 2420.57 2422.322 2422.322 2424.166 2424.166 2426.09 2426.09 2428.023 2428.023 2429.724 2429.724 2431.388 2431.388 2432.733 2431.537 2429.262 2429.262 2426.576 2426.576 2423.626 2423.626 2420.504 2420.504 2417.544 2417.544 2415.508 2415.508 2414.926 2414.926 2414.875 2414.875 2414.996 2414.996 2415.3 2415.3 2415.713 2415.713 2416.185 2416.185 2417.03 2417.03 2417.808 2417.808 2419.214 2419.214 2420.57 2420.57 2422.322 2422.322 2424.166 2424.166 2426.09 2426.09 2428.023 2428.023 2429.724 2429.724 2431.388 2431.388 2432.733 2430.056 2427.882 2427.882 2425.411 2425.411 2422.483 2422.483 2419.707 2419.707 2417.404 2417.404 2415.802 2415.802 2415.124 2415.124 2414.732 2414.732 2414.544 2414.544 2414.479 2414.479 2414.872 2414.872 2415.806 2415.806 2416.785 2416.785 2417.976 2417.976 2419.444 2419.444 2421.266 2421.266 2423.334 2423.334 2425.375 2425.375 2427.388 2427.388 2428.564 2428.564 2429.807 2429.807 2430.882 2430.882 2431.983 2430.056 2427.882 2427.882 2425.411 2425.411 2422.483 2422.483 2419.707 2419.707 2417.404 2417.404 2415.802 2415.802 2415.124 2415.124 2414.732 2414.732 2414.544 2414.544 2414.479 2414.479 2414.872 2414.872 2415.806 2415.806 2416.785 2416.785 2417.976 2417.976 2419.444 2419.444 2421.266 2421.266 2423.334 2423.334 2425.375 2425.375 2427.388 2427.388 2428.564 2428.564 2429.807 2429.807 2430.882 2430.882 2431.983 2428.78 2426.721 2426.721 2424.375 2424.375 2421.853 2421.853 2419.356 2419.356 2417.442 2417.442 2416.086 2416.086 2415.115 2415.115 2414.29 2414.29 2413.663 2413.663 2413.451 2413.451 2413.895 2413.895 2414.878 2414.878 2416.33 2416.33 2417.899 2417.899 2419.473 2419.473 2421.389 2421.389 2423.569 2423.569 2425.899 2425.899 2427.676 2427.676 2428.541 2428.541 2429.465 2429.465 2430.409 2430.409 2431.222 2428.78 2426.721 2426.721 2424.375 2424.375 2421.853 2421.853 2419.356 2419.356 2417.442 2417.442 2416.086 2416.086 2415.115 2415.115 2414.29 2414.29 2413.663 2413.663 2413.451 2413.451 2413.895 2413.895 2414.878 2414.878 2416.33 2416.33 2417.899 2417.899 2419.473 2419.473 2421.389 2421.389 2423.569 2423.569 2425.899 2425.899 2427.676 2427.676 2428.541 2428.541 2429.465 2429.465 2430.409 2430.409 2431.222 2427.664 2425.665 2425.665 2423.59 2423.59 2421.46 2421.46 2419.149 2419.149 2417.223 2417.223 2415.679 2415.679 2414.519 2414.519 2413.391 2413.391 2412.406 2412.406 2412.184 2412.184 2412.797 2412.797 2413.97 2413.97 2415.53 2415.53 2417.265 2417.265 2419.037 2419.037 2421.055 2421.055 2423.217 2423.217 2425.298 2425.298 2426.91 2426.91 2427.931 2427.931 2428.851 2428.851 2429.704 2429.704 2430.423 2427.664 2425.665 2425.665 2423.59 2423.59 2421.46 2421.46 2419.149 2419.149 2417.223 2417.223 2415.679 2415.679 2414.519 2414.519 2413.391 2413.391 2412.406 2412.406 2412.184 2412.184 2412.797 2412.797 2413.97 2413.97 2415.53 2415.53 2417.265 2417.265 2419.037 2419.037 2421.055 2421.055 2423.217 2423.217 2425.298 2425.298 2426.91 2426.91 2427.931 2427.931 2428.851 2428.851 2429.704 2429.704 2430.423 2426.778 2425.027 2425.027 2423.059 2423.059 2421.002 2421.002 2418.946 2418.946 2417.016 2417.016 2415.301 2415.301 2413.773 2413.773 2412.363 2412.363 2410.879 2410.879 2410.733 2410.733 2411.785 2411.785 2413.136 2413.136 2414.676 2414.676 2416.329 2416.329 2418.35 2418.35 2420.569 2420.569 2422.687 2422.687 2424.576 2424.576 2426.082 2426.082 2427.221 2427.221 2428.063 2428.063 2428.816 2428.816 2429.625 2426.778 2425.027 2425.027 2423.059 2423.059 2421.002 2421.002 2418.946 2418.946 2417.016 2417.016 2415.301 2415.301 2413.773 2413.773 2412.363 2412.363 2410.879 2410.879 2410.733 2410.733 2411.785 2411.785 2413.136 2413.136 2414.676 2414.676 2416.329 2416.329 2418.35 2418.35 2420.569 2420.569 2422.687 2422.687 2424.576 2424.576 2426.082 2426.082 2427.221 2427.221 2428.063 2428.063 2428.816 2428.816 2429.625 2426.058 2424.436 2424.436 2422.676 2422.676 2420.737 2420.737 2418.754 2418.754 2416.806 2416.806 2414.951 2414.951 2413.307 2413.307 2411.665 2411.665 2409.499 2409.499 2410.015 2410.015 2411.43 2411.43 2412.686 2412.686 2414.26 2414.26 2415.827 2415.827 2417.924 2417.924 2420.208 2420.208 2422.168 2422.168 2423.845 2423.845 2425.174 2425.174 2426.291 2426.291 2427.222 2427.222 2428.027 2428.027 2428.798 2426.058 2424.436 2424.436 2422.676 2422.676 2420.737 2420.737 2418.754 2418.754 2416.806 2416.806 2414.951 2414.951 2413.307 2413.307 2411.665 2411.665 2409.499 2409.499 2410.015 2410.015 2411.43 2411.43 2412.686 2412.686 2414.26 2414.26 2415.827 2415.827 2417.924 2417.924 2420.208 2420.208 2422.168 2422.168 2423.845 2423.845 2425.174 2425.174 2426.291 2426.291 2427.222 2427.222 2428.027 2428.027 2428.798 2425.346 2424.03 2424.03 2422.422 2422.422 2420.712 2420.712 2418.79 2418.79 2416.937 2416.937 2414.946 2414.946 2413.539 2413.539 2412.488 2412.488 2411.535 2411.535 2411.647 2411.647 2412.336 2412.336 2412.942 2412.942 2414.678 2414.678 2416.616 2416.616 2418.525 2418.525 2420.286 2420.286 2421.792 2421.792 2423.202 2423.202 2424.417 2424.417 2425.452 2425.452 2426.404 2426.404 2427.173 2427.173 2427.973 2425.346 2424.03 2424.03 2422.422 2422.422 2420.712 2420.712 2418.79 2418.79 2416.937 2416.937 2414.946 2414.946 2413.539 2413.539 2412.488 2412.488 2411.535 2411.535 2411.647 2411.647 2412.336 2412.336 2412.942 2412.942 2414.678 2414.678 2416.616 2416.616 2418.525 2418.525 2420.286 2420.286 2421.792 2421.792 2423.202 2423.202 2424.417 2424.417 2425.452 2425.452 2426.404 2426.404 2427.173 2427.173 2427.973 2424.702 2423.703 2423.703 2422.247 2422.247 2420.663 2420.663 2419.014 2419.014 2417.434 2417.434 2415.732 2415.732 2414.724 2414.724 2414.19 2414.19 2414.016 2414.016 2414.122 2414.122 2414.149 2414.149 2414.575 2414.575 2415.735 2415.735 2417.617 2417.617 2419.319 2419.319 2420.283 2420.283 2421.464 2421.464 2422.646 2422.646 2423.704 2423.704 2424.694 2424.694 2425.595 2425.595 2426.332 2426.332 2427.158 2424.702 2423.703 2423.703 2422.247 2422.247 2420.663 2420.663 2419.014 2419.014 2417.434 2417.434 2415.732 2415.732 2414.724 2414.724 2414.19 2414.19 2414.016 2414.016 2414.122 2414.122 2414.149 2414.149 2414.575 2414.575 2415.735 2415.735 2417.617 2417.617 2419.319 2419.319 2420.283 2420.283 2421.464 2421.464 2422.646 2422.646 2423.704 2423.704 2424.694 2424.694 2425.595 2425.595 2426.332 2426.332 2427.158 2424.019 2423.175 2423.175 2421.9 2421.9 2420.572 2420.572 2419.387 2419.387 2418.197 2418.197 2417.146 2417.146 2416.341 2416.341 2416.083 2416.083 2416.421 2416.421 2416.772 2416.772 2416.005 2416.005 2415.791 2415.791 2416.352 2416.352 2417.546 2417.546 2418.83 2418.83 2419.897 2419.897 2421.003 2421.003 2422.033 2422.033 2423.144 2423.144 2424.098 2424.098 2424.921 2424.921 2425.577 2425.577 2426.417 2424.019 2423.175 2423.175 2421.9 2421.9 2420.572 2420.572 2419.387 2419.387 2418.197 2418.197 2417.146 2417.146 2416.341 2416.341 2416.083 2416.083 2416.421 2416.421 2416.772 2416.772 2416.005 2416.005 2415.791 2415.791 2416.352 2416.352 2417.546 2417.546 2418.83 2418.83 2419.897 2419.897 2421.003 2421.003 2422.033 2422.033 2423.144 2423.144 2424.098 2424.098 2424.921 2424.921 2425.577 2425.577 2426.417 2423.515 2422.648 2422.648 2421.622 2421.622 2420.605 2420.605 2419.674 2419.674 2418.961 2418.961 2418.391 2418.391 2417.621 2417.621 2417.354 2417.354 2417.567 2417.567 2417.692 2417.692 2416.903 2416.903 2416.343 2416.343 2416.336 2416.336 2416.743 2416.743 2417.877 2417.877 2419.242 2419.242 2420.457 2420.457 2421.488 2421.488 2422.562 2422.562 2423.481 2423.481 2424.298 2424.298 2425.016 2425.016 2425.806 2423.515 2422.648 2422.648 2421.622 2421.622 2420.605 2420.605 2419.674 2419.674 2418.961 2418.961 2418.391 2418.391 2417.621 2417.621 2417.354 2417.354 2417.567 2417.567 2417.692 2417.692 2416.903 2416.903 2416.343 2416.343 2416.336 2416.336 2416.743 2416.743 2417.877 2417.877 2419.242 2419.242 2420.457 2420.457 2421.488 2421.488 2422.562 2422.562 2423.481 2423.481 2424.298 2424.298 2425.016 2425.016 2425.806 2422.868 2422.138 2422.138 2421.347 2421.347 2420.564 2420.564 2419.964 2419.964 2419.379 2419.379 2418.842 2418.842 2418.268 2418.268 2417.921 2417.921 2417.87 2417.87 2417.425 2417.425 2416.856 2416.856 2416.577 2416.577 2416.366 2416.366 2416.073 2416.073 2417.295 2417.295 2418.734 2418.734 2419.983 2419.983 2421.041 2421.041 2422.081 2422.081 2422.996 2422.996 2423.752 2423.752 2424.587 2424.587 2425.276 2422.868 2422.138 2422.138 2421.347 2421.347 2420.564 2420.564 2419.964 2419.964 2419.379 2419.379 2418.842 2418.842 2418.268 2418.268 2417.921 2417.921 2417.87 2417.87 2417.425 2417.425 2416.856 2416.856 2416.577 2416.577 2416.366 2416.366 2416.073 2416.073 2417.295 2417.295 2418.734 2418.734 2419.983 2419.983 2421.041 2421.041 2422.081 2422.081 2422.996 2422.996 2423.752 2423.752 2424.587 2424.587 2425.276 2422.213 2421.605 2421.605 2421.02 2421.02 2420.495 2420.495 2419.975 2419.975 2419.521 2419.521 2419.027 2419.027 2418.538 2418.538 2418.215 2418.215 2417.859 2417.859 2417.187 2417.187 2416.803 2416.803 2416.654 2416.654 2416.564 2416.564 2416.769 2416.769 2417.507 2417.507 2418.607 2418.607 2419.679 2419.679 2420.76 2420.76 2421.733 2421.733 2422.594 2422.594 2423.432 2423.432 2424.241 2424.241 2425.006 2422.213 2421.605 2421.605 2421.02 2421.02 2420.495 2420.495 2419.975 2419.975 2419.521 2419.521 2419.027 2419.027 2418.538 2418.538 2418.215 2418.215 2417.859 2417.859 2417.187 2417.187 2416.803 2416.803 2416.654 2416.654 2416.564 2416.564 2416.769 2416.769 2417.507 2417.507 2418.607 2418.607 2419.679 2419.679 2420.76 2420.76 2421.733 2421.733 2422.594 2422.594 2423.432 2423.432 2424.241 2424.241 2425.006 2421.637 2421.145 2421.145 2420.741 2420.741 2420.275 2420.275 2419.929 2419.929 2419.547 2419.547 2419.129 2419.129 2418.666 2418.666 2418.233 2418.233 2417.79 2417.79 2417.38 2417.38 2417.129 2417.129 2417.001 2417.001 2417.077 2417.077 2417.407 2417.407 2417.961 2417.961 2418.816 2418.816 2419.716 2419.716 2420.661 2420.661 2421.569 2421.569 2422.408 2422.408 2423.288 2423.288 2423.983 2423.983 2424.712 2421.637 2421.145 2421.145 2420.741 2420.741 2420.275 2420.275 2419.929 2419.929 2419.547 2419.547 2419.129 2419.129 2418.666 2418.666 2418.233 2418.233 2417.79 2417.79 2417.38 2417.38 2417.129 2417.129 2417.001 2417.001 2417.077 2417.077 2417.407 2417.407 2417.961 2417.961 2418.816 2418.816 2419.716 2419.716 2420.661 2420.661 2421.569 2421.569 2422.408 2422.408 2423.288 2423.288 2423.983 2423.983 2424.712 2421.097 2420.715 2420.715 2420.455 2420.455 2420.127 2420.127 2419.844 2419.844 2419.522 2419.522 2419.167 2419.167 2418.789 2418.789 2418.366 2418.366 2417.967 2417.967 2417.617 2417.617 2417.424 2417.424 2417.406 2417.406 2417.573 2417.573 2417.948 2417.948 2418.434 2418.434 2419.072 2419.072 2419.883 2419.883 2420.729 2420.729 2421.555 2421.555 2422.342 2422.342 2423.132 2423.132 2423.904 2423.904 2424.59 2421.097 2420.715 2420.715 2420.455 2420.455 2420.127 2420.127 2419.844 2419.844 2419.522 2419.522 2419.167 2419.167 2418.789 2418.789 2418.366 2418.366 2417.967 2417.967 2417.617 2417.617 2417.424 2417.424 2417.406 2417.406 2417.573 2417.573 2417.948 2417.948 2418.434 2418.434 2419.072 2419.072 2419.883 2419.883 2420.729 2420.729 2421.555 2421.555 2422.342 2422.342 2423.132 2423.132 2423.904 2423.904 2424.59 2420.593 2420.4 2420.4 2420.163 2420.163 2419.999 2419.999 2419.741 2419.741 2419.492 2419.492 2419.235 2419.235 2418.9 2418.9 2418.51 2418.51 2418.189 2418.189 2417.903 2417.903 2417.729 2417.729 2417.778 2417.778 2417.999 2417.999 2418.399 2418.399 2418.869 2418.869 2419.406 2419.406 2420.098 2420.098 2420.85 2420.85 2421.607 2421.607 2422.361 2422.361 2423.111 2423.111 2423.871 2423.871 2424.539 2420.593 2420.4 2420.4 2420.163 2420.163 2419.999 2419.999 2419.741 2419.741 2419.492 2419.492 2419.235 2419.235 2418.9 2418.9 2418.51 2418.51 2418.189 2418.189 2417.903 2417.903 2417.729 2417.729 2417.778 2417.778 2417.999 2417.999 2418.399 2418.399 2418.869 2418.869 2419.406 2419.406 2420.098 2420.098 2420.85 2420.85 2421.607 2421.607 2422.361 2422.361 2423.111 2423.111 2423.871 2423.871 2424.539 2420.124 2420.019 2420.019 2419.967 2419.967 2419.82 2419.82 2419.635 2419.635 2419.457 2419.457 2419.242 2419.242 2418.96 2418.96 2418.658 2418.658 2418.362 2418.362 2418.152 2418.152 2417.999 2417.999 2418.066 2418.066 2418.319 2418.319 2418.752 2418.752 2419.205 2419.205 2419.784 2419.784 2420.419 2420.419 2421.109 2421.109 2421.808 2421.808 2422.502 2422.502 2423.242 2423.242 2423.876 2423.876 2424.532 2420.124 2420.019 2420.019 2419.967 2419.967 2419.82 2419.82 2419.635 2419.635 2419.457 2419.457 2419.242 2419.242 2418.96 2418.96 2418.658 2418.658 2418.362 2418.362 2418.152 2418.152 2417.999 2417.999 2418.066 2418.066 2418.319 2418.319 2418.752 2418.752 2419.205 2419.205 2419.784 2419.784 2420.419 2420.419 2421.109 2421.109 2421.808 2421.808 2422.502 2422.502 2423.242 2423.242 2423.876 2423.876 2424.532 2419.823 2419.771 2419.771 2419.795 2419.795 2419.705 2419.705 2419.564 2419.564 2419.411 2419.411 2419.23 2419.23 2418.994 2418.994 2418.721 2418.721 2418.493 2418.493 2418.28 2418.28 2418.191 2418.191 2418.292 2418.292 2418.533 2418.533 2418.947 2418.947 2419.442 2419.442 2419.998 2419.998 2420.555 2420.555 2421.233 2421.233 2421.937 2421.937 2422.643 2422.643 2423.35 2423.35 2424.036 2424.036 2424.554 2439.796 2438.374 2438.374 2436.966 2436.966 2435.552 2435.552 2434.119 2434.119 2432.322 2432.322 2430.304 2430.304 2428.462 2428.462 2426.368 2426.368 2424.423 2424.423 2424.429 2424.429 2426.413 2426.413 2428.784 2428.784 2431.384 2431.384 2433.048 2433.048 2432.588 2432.588 2432.063 2432.063 2431.644 2431.644 2431.719 2431.719 2432.033 2432.033 2432.464 2432.464 2433.014 2433.014 2433.639 2433.639 2434.31 2439.724 2438.357 2438.357 2436.923 2436.923 2435.509 2435.509 2434.277 2434.277 2432.378 2432.378 2430.096 2430.096 2427.686 2427.686 2425.596 2425.596 2424.068 2424.068 2423.949 2423.949 2425.275 2425.275 2427.309 2427.309 2429.704 2429.704 2431.271 2431.271 2430.812 2430.812 2430.374 2430.374 2430.066 2430.066 2430.264 2430.264 2430.872 2430.872 2431.707 2431.707 2432.561 2432.561 2433.391 2433.391 2434.183 2439.724 2438.357 2438.357 2436.923 2436.923 2435.509 2435.509 2434.277 2434.277 2432.378 2432.378 2430.096 2430.096 2427.686 2427.686 2425.596 2425.596 2424.068 2424.068 2423.949 2423.949 2425.275 2425.275 2427.309 2427.309 2429.704 2429.704 2431.271 2431.271 2430.812 2430.812 2430.374 2430.374 2430.066 2430.066 2430.264 2430.264 2430.872 2430.872 2431.707 2431.707 2432.561 2432.561 2433.391 2433.391 2434.183 2439.482 2438.075 2438.075 2436.64 2436.64 2435.508 2435.508 2434.236 2434.236 2432.331 2432.331 2429.593 2429.593 2426.917 2426.917 2424.72 2424.72 2423.4 2423.4 2423.427 2423.427 2423.852 2423.852 2425.154 2425.154 2426.821 2426.821 2427.692 2427.692 2427.949 2427.949 2428.009 2428.009 2428.012 2428.012 2428.571 2428.571 2429.585 2429.585 2430.733 2430.733 2431.99 2431.99 2433.285 2433.285 2434.202 2439.482 2438.075 2438.075 2436.64 2436.64 2435.508 2435.508 2434.236 2434.236 2432.331 2432.331 2429.593 2429.593 2426.917 2426.917 2424.72 2424.72 2423.4 2423.4 2423.427 2423.427 2423.852 2423.852 2425.154 2425.154 2426.821 2426.821 2427.692 2427.692 2427.949 2427.949 2428.009 2428.009 2428.012 2428.012 2428.571 2428.571 2429.585 2429.585 2430.733 2430.733 2431.99 2431.99 2433.285 2433.285 2434.202 2438.976 2437.554 2437.554 2436.012 2436.012 2434.698 2434.698 2433.686 2433.686 2432.239 2432.239 2428.592 2428.592 2425.483 2425.483 2423.341 2423.341 2422.522 2422.522 2422.121 2422.121 2422.163 2422.163 2422.77 2422.77 2423.598 2423.598 2424.144 2424.144 2424.811 2424.811 2425.026 2425.026 2425.665 2425.665 2426.553 2426.553 2427.952 2427.952 2429.632 2429.632 2431.55 2431.55 2433.138 2433.138 2434.286 2438.976 2437.554 2437.554 2436.012 2436.012 2434.698 2434.698 2433.686 2433.686 2432.239 2432.239 2428.592 2428.592 2425.483 2425.483 2423.341 2423.341 2422.522 2422.522 2422.121 2422.121 2422.163 2422.163 2422.77 2422.77 2423.598 2423.598 2424.144 2424.144 2424.811 2424.811 2425.026 2425.026 2425.665 2425.665 2426.553 2426.553 2427.952 2427.952 2429.632 2429.632 2431.55 2431.55 2433.138 2433.138 2434.286 2438.407 2436.458 2436.458 2434.608 2434.608 2432.896 2432.896 2431.435 2431.435 2429.522 2429.522 2426.066 2426.066 2423.077 2423.077 2421.336 2421.336 2420.701 2420.701 2420.446 2420.446 2420.566 2420.566 2420.673 2420.673 2420.589 2420.589 2420.691 2420.691 2421.565 2421.565 2422.58 2422.58 2423.442 2423.442 2424.366 2424.366 2426.154 2426.154 2428.613 2428.613 2430.981 2430.981 2433.096 2433.096 2434.517 2438.407 2436.458 2436.458 2434.608 2434.608 2432.896 2432.896 2431.435 2431.435 2429.522 2429.522 2426.066 2426.066 2423.077 2423.077 2421.336 2421.336 2420.701 2420.701 2420.446 2420.446 2420.566 2420.566 2420.673 2420.673 2420.589 2420.589 2420.691 2420.691 2421.565 2421.565 2422.58 2422.58 2423.442 2423.442 2424.366 2424.366 2426.154 2426.154 2428.613 2428.613 2430.981 2430.981 2433.096 2433.096 2434.517 2437.151 2434.895 2434.895 2432.603 2432.603 2430.304 2430.304 2427.799 2427.799 2424.814 2424.814 2421.838 2421.838 2419.967 2419.967 2419.005 2419.005 2418.667 2418.667 2418.718 2418.718 2418.959 2418.959 2418.728 2418.728 2418.433 2418.433 2418.384 2418.384 2419.75 2419.75 2420.99 2420.99 2421.93 2421.93 2422.641 2422.641 2424.645 2424.645 2427.639 2427.639 2430.464 2430.464 2433.136 2433.136 2434.886 2437.151 2434.895 2434.895 2432.603 2432.603 2430.304 2430.304 2427.799 2427.799 2424.814 2424.814 2421.838 2421.838 2419.967 2419.967 2419.005 2419.005 2418.667 2418.667 2418.718 2418.718 2418.959 2418.959 2418.728 2418.728 2418.433 2418.433 2418.384 2418.384 2419.75 2419.75 2420.99 2420.99 2421.93 2421.93 2422.641 2422.641 2424.645 2424.645 2427.639 2427.639 2430.464 2430.464 2433.136 2433.136 2434.886 2435.316 2432.949 2432.949 2430.412 2430.412 2427.587 2427.587 2424.329 2424.329 2420.512 2420.512 2416.998 2416.998 2416.756 2416.756 2416.911 2416.911 2417.05 2417.05 2417.247 2417.247 2417.648 2417.648 2417.63 2417.63 2417.493 2417.493 2417.995 2417.995 2418.966 2418.966 2420.199 2420.199 2421.377 2421.377 2422.464 2422.464 2424.319 2424.319 2427.174 2427.174 2430.035 2430.035 2432.676 2432.676 2434.399 2435.316 2432.949 2432.949 2430.412 2430.412 2427.587 2427.587 2424.329 2424.329 2420.512 2420.512 2416.998 2416.998 2416.756 2416.756 2416.911 2416.911 2417.05 2417.05 2417.247 2417.247 2417.648 2417.648 2417.63 2417.63 2417.493 2417.493 2417.995 2417.995 2418.966 2418.966 2420.199 2420.199 2421.377 2421.377 2422.464 2422.464 2424.319 2424.319 2427.174 2427.174 2430.035 2430.035 2432.676 2432.676 2434.399 2433.395 2431.015 2431.015 2428.31 2428.31 2425.275 2425.275 2421.848 2421.848 2418.092 2418.092 2414.973 2414.973 2414.983 2414.983 2415.53 2415.53 2415.914 2415.914 2416.134 2416.134 2416.59 2416.59 2416.797 2416.797 2417.136 2417.136 2417.721 2417.721 2418.881 2418.881 2420.22 2420.22 2421.595 2421.595 2423.007 2423.007 2424.699 2424.699 2427.313 2427.313 2429.805 2429.805 2431.959 2431.959 2433.425 2433.395 2431.015 2431.015 2428.31 2428.31 2425.275 2425.275 2421.848 2421.848 2418.092 2418.092 2414.973 2414.973 2414.983 2414.983 2415.53 2415.53 2415.914 2415.914 2416.134 2416.134 2416.59 2416.59 2416.797 2416.797 2417.136 2417.136 2417.721 2417.721 2418.881 2418.881 2420.22 2420.22 2421.595 2421.595 2423.007 2423.007 2424.699 2424.699 2427.313 2427.313 2429.805 2429.805 2431.959 2431.959 2433.425 2431.537 2429.262 2429.262 2426.576 2426.576 2423.626 2423.626 2420.504 2420.504 2417.544 2417.544 2415.508 2415.508 2414.926 2414.926 2414.875 2414.875 2414.996 2414.996 2415.3 2415.3 2415.713 2415.713 2416.185 2416.185 2417.03 2417.03 2417.808 2417.808 2419.214 2419.214 2420.57 2420.57 2422.322 2422.322 2424.166 2424.166 2426.09 2426.09 2428.023 2428.023 2429.724 2429.724 2431.388 2431.388 2432.733 2431.537 2429.262 2429.262 2426.576 2426.576 2423.626 2423.626 2420.504 2420.504 2417.544 2417.544 2415.508 2415.508 2414.926 2414.926 2414.875 2414.875 2414.996 2414.996 2415.3 2415.3 2415.713 2415.713 2416.185 2416.185 2417.03 2417.03 2417.808 2417.808 2419.214 2419.214 2420.57 2420.57 2422.322 2422.322 2424.166 2424.166 2426.09 2426.09 2428.023 2428.023 2429.724 2429.724 2431.388 2431.388 2432.733 2430.056 2427.882 2427.882 2425.411 2425.411 2422.483 2422.483 2419.707 2419.707 2417.404 2417.404 2415.802 2415.802 2415.124 2415.124 2414.732 2414.732 2414.544 2414.544 2414.479 2414.479 2414.872 2414.872 2415.806 2415.806 2416.785 2416.785 2417.976 2417.976 2419.444 2419.444 2421.266 2421.266 2423.334 2423.334 2425.375 2425.375 2427.388 2427.388 2428.564 2428.564 2429.807 2429.807 2430.882 2430.882 2431.983 2430.056 2427.882 2427.882 2425.411 2425.411 2422.483 2422.483 2419.707 2419.707 2417.404 2417.404 2415.802 2415.802 2415.124 2415.124 2414.732 2414.732 2414.544 2414.544 2414.479 2414.479 2414.872 2414.872 2415.806 2415.806 2416.785 2416.785 2417.976 2417.976 2419.444 2419.444 2421.266 2421.266 2423.334 2423.334 2425.375 2425.375 2427.388 2427.388 2428.564 2428.564 2429.807 2429.807 2430.882 2430.882 2431.983 2428.78 2426.721 2426.721 2424.375 2424.375 2421.853 2421.853 2419.356 2419.356 2417.442 2417.442 2416.086 2416.086 2415.115 2415.115 2414.29 2414.29 2413.663 2413.663 2413.451 2413.451 2413.895 2413.895 2414.878 2414.878 2416.33 2416.33 2417.899 2417.899 2419.473 2419.473 2421.389 2421.389 2423.569 2423.569 2425.899 2425.899 2427.676 2427.676 2428.541 2428.541 2429.465 2429.465 2430.409 2430.409 2431.222 2428.78 2426.721 2426.721 2424.375 2424.375 2421.853 2421.853 2419.356 2419.356 2417.442 2417.442 2416.086 2416.086 2415.115 2415.115 2414.29 2414.29 2413.663 2413.663 2413.451 2413.451 2413.895 2413.895 2414.878 2414.878 2416.33 2416.33 2417.899 2417.899 2419.473 2419.473 2421.389 2421.389 2423.569 2423.569 2425.899 2425.899 2427.676 2427.676 2428.541 2428.541 2429.465 2429.465 2430.409 2430.409 2431.222 2427.664 2425.665 2425.665 2423.59 2423.59 2421.46 2421.46 2419.149 2419.149 2417.223 2417.223 2415.679 2415.679 2414.519 2414.519 2413.391 2413.391 2412.406 2412.406 2412.184 2412.184 2412.797 2412.797 2413.97 2413.97 2415.53 2415.53 2417.265 2417.265 2419.037 2419.037 2421.055 2421.055 2423.217 2423.217 2425.298 2425.298 2426.91 2426.91 2427.931 2427.931 2428.851 2428.851 2429.704 2429.704 2430.423 2427.664 2425.665 2425.665 2423.59 2423.59 2421.46 2421.46 2419.149 2419.149 2417.223 2417.223 2415.679 2415.679 2414.519 2414.519 2413.391 2413.391 2412.406 2412.406 2412.184 2412.184 2412.797 2412.797 2413.97 2413.97 2415.53 2415.53 2417.265 2417.265 2419.037 2419.037 2421.055 2421.055 2423.217 2423.217 2425.298 2425.298 2426.91 2426.91 2427.931 2427.931 2428.851 2428.851 2429.704 2429.704 2430.423 2426.778 2425.027 2425.027 2423.059 2423.059 2421.002 2421.002 2418.946 2418.946 2417.016 2417.016 2415.301 2415.301 2413.773 2413.773 2412.363 2412.363 2410.879 2410.879 2410.733 2410.733 2411.785 2411.785 2413.136 2413.136 2414.676 2414.676 2416.329 2416.329 2418.35 2418.35 2420.569 2420.569 2422.687 2422.687 2424.576 2424.576 2426.082 2426.082 2427.221 2427.221 2428.063 2428.063 2428.816 2428.816 2429.625 2426.778 2425.027 2425.027 2423.059 2423.059 2421.002 2421.002 2418.946 2418.946 2417.016 2417.016 2415.301 2415.301 2413.773 2413.773 2412.363 2412.363 2410.879 2410.879 2410.733 2410.733 2411.785 2411.785 2413.136 2413.136 2414.676 2414.676 2416.329 2416.329 2418.35 2418.35 2420.569 2420.569 2422.687 2422.687 2424.576 2424.576 2426.082 2426.082 2427.221 2427.221 2428.063 2428.063 2428.816 2428.816 2429.625 2426.058 2424.436 2424.436 2422.676 2422.676 2420.737 2420.737 2418.754 2418.754 2416.806 2416.806 2414.951 2414.951 2413.307 2413.307 2411.665 2411.665 2409.499 2409.499 2410.015 2410.015 2411.43 2411.43 2412.686 2412.686 2414.26 2414.26 2415.827 2415.827 2417.924 2417.924 2420.208 2420.208 2422.168 2422.168 2423.845 2423.845 2425.174 2425.174 2426.291 2426.291 2427.222 2427.222 2428.027 2428.027 2428.798 2426.058 2424.436 2424.436 2422.676 2422.676 2420.737 2420.737 2418.754 2418.754 2416.806 2416.806 2414.951 2414.951 2413.307 2413.307 2411.665 2411.665 2409.499 2409.499 2410.015 2410.015 2411.43 2411.43 2412.686 2412.686 2414.26 2414.26 2415.827 2415.827 2417.924 2417.924 2420.208 2420.208 2422.168 2422.168 2423.845 2423.845 2425.174 2425.174 2426.291 2426.291 2427.222 2427.222 2428.027 2428.027 2428.798 2425.346 2424.03 2424.03 2422.422 2422.422 2420.712 2420.712 2418.79 2418.79 2416.937 2416.937 2414.946 2414.946 2413.539 2413.539 2412.488 2412.488 2411.535 2411.535 2411.647 2411.647 2412.336 2412.336 2412.942 2412.942 2414.678 2414.678 2416.616 2416.616 2418.525 2418.525 2420.286 2420.286 2421.792 2421.792 2423.202 2423.202 2424.417 2424.417 2425.452 2425.452 2426.404 2426.404 2427.173 2427.173 2427.973 2425.346 2424.03 2424.03 2422.422 2422.422 2420.712 2420.712 2418.79 2418.79 2416.937 2416.937 2414.946 2414.946 2413.539 2413.539 2412.488 2412.488 2411.535 2411.535 2411.647 2411.647 2412.336 2412.336 2412.942 2412.942 2414.678 2414.678 2416.616 2416.616 2418.525 2418.525 2420.286 2420.286 2421.792 2421.792 2423.202 2423.202 2424.417 2424.417 2425.452 2425.452 2426.404 2426.404 2427.173 2427.173 2427.973 2424.702 2423.703 2423.703 2422.247 2422.247 2420.663 2420.663 2419.014 2419.014 2417.434 2417.434 2415.732 2415.732 2414.724 2414.724 2414.19 2414.19 2414.016 2414.016 2414.122 2414.122 2414.149 2414.149 2414.575 2414.575 2415.735 2415.735 2417.617 2417.617 2419.319 2419.319 2420.283 2420.283 2421.464 2421.464 2422.646 2422.646 2423.704 2423.704 2424.694 2424.694 2425.595 2425.595 2426.332 2426.332 2427.158 2424.702 2423.703 2423.703 2422.247 2422.247 2420.663 2420.663 2419.014 2419.014 2417.434 2417.434 2415.732 2415.732 2414.724 2414.724 2414.19 2414.19 2414.016 2414.016 2414.122 2414.122 2414.149 2414.149 2414.575 2414.575 2415.735 2415.735 2417.617 2417.617 2419.319 2419.319 2420.283 2420.283 2421.464 2421.464 2422.646 2422.646 2423.704 2423.704 2424.694 2424.694 2425.595 2425.595 2426.332 2426.332 2427.158 2424.019 2423.175 2423.175 2421.9 2421.9 2420.572 2420.572 2419.387 2419.387 2418.197 2418.197 2417.146 2417.146 2416.341 2416.341 2416.083 2416.083 2416.421 2416.421 2416.772 2416.772 2416.005 2416.005 2415.791 2415.791 2416.352 2416.352 2417.546 2417.546 2418.83 2418.83 2419.897 2419.897 2421.003 2421.003 2422.033 2422.033 2423.144 2423.144 2424.098 2424.098 2424.921 2424.921 2425.577 2425.577 2426.417 2424.019 2423.175 2423.175 2421.9 2421.9 2420.572 2420.572 2419.387 2419.387 2418.197 2418.197 2417.146 2417.146 2416.341 2416.341 2416.083 2416.083 2416.421 2416.421 2416.772 2416.772 2416.005 2416.005 2415.791 2415.791 2416.352 2416.352 2417.546 2417.546 2418.83 2418.83 2419.897 2419.897 2421.003 2421.003 2422.033 2422.033 2423.144 2423.144 2424.098 2424.098 2424.921 2424.921 2425.577 2425.577 2426.417 2423.515 2422.648 2422.648 2421.622 2421.622 2420.605 2420.605 2419.674 2419.674 2418.961 2418.961 2418.391 2418.391 2417.621 2417.621 2417.354 2417.354 2417.567 2417.567 2417.692 2417.692 2416.903 2416.903 2416.343 2416.343 2416.336 2416.336 2416.743 2416.743 2417.877 2417.877 2419.242 2419.242 2420.457 2420.457 2421.488 2421.488 2422.562 2422.562 2423.481 2423.481 2424.298 2424.298 2425.016 2425.016 2425.806 2423.515 2422.648 2422.648 2421.622 2421.622 2420.605 2420.605 2419.674 2419.674 2418.961 2418.961 2418.391 2418.391 2417.621 2417.621 2417.354 2417.354 2417.567 2417.567 2417.692 2417.692 2416.903 2416.903 2416.343 2416.343 2416.336 2416.336 2416.743 2416.743 2417.877 2417.877 2419.242 2419.242 2420.457 2420.457 2421.488 2421.488 2422.562 2422.562 2423.481 2423.481 2424.298 2424.298 2425.016 2425.016 2425.806 2422.868 2422.138 2422.138 2421.347 2421.347 2420.564 2420.564 2419.964 2419.964 2419.379 2419.379 2418.842 2418.842 2418.268 2418.268 2417.921 2417.921 2417.87 2417.87 2417.425 2417.425 2416.856 2416.856 2416.577 2416.577 2416.366 2416.366 2416.073 2416.073 2417.295 2417.295 2418.734 2418.734 2419.983 2419.983 2421.041 2421.041 2422.081 2422.081 2422.996 2422.996 2423.752 2423.752 2424.587 2424.587 2425.276 2422.868 2422.138 2422.138 2421.347 2421.347 2420.564 2420.564 2419.964 2419.964 2419.379 2419.379 2418.842 2418.842 2418.268 2418.268 2417.921 2417.921 2417.87 2417.87 2417.425 2417.425 2416.856 2416.856 2416.577 2416.577 2416.366 2416.366 2416.073 2416.073 2417.295 2417.295 2418.734 2418.734 2419.983 2419.983 2421.041 2421.041 2422.081 2422.081 2422.996 2422.996 2423.752 2423.752 2424.587 2424.587 2425.276 2422.213 2421.605 2421.605 2421.02 2421.02 2420.495 2420.495 2419.975 2419.975 2419.521 2419.521 2419.027 2419.027 2418.538 2418.538 2418.215 2418.215 2417.859 2417.859 2417.187 2417.187 2416.803 2416.803 2416.654 2416.654 2416.564 2416.564 2416.769 2416.769 2417.507 2417.507 2418.607 2418.607 2419.679 2419.679 2420.76 2420.76 2421.733 2421.733 2422.594 2422.594 2423.432 2423.432 2424.241 2424.241 2425.006 2422.213 2421.605 2421.605 2421.02 2421.02 2420.495 2420.495 2419.975 2419.975 2419.521 2419.521 2419.027 2419.027 2418.538 2418.538 2418.215 2418.215 2417.859 2417.859 2417.187 2417.187 2416.803 2416.803 2416.654 2416.654 2416.564 2416.564 2416.769 2416.769 2417.507 2417.507 2418.607 2418.607 2419.679 2419.679 2420.76 2420.76 2421.733 2421.733 2422.594 2422.594 2423.432 2423.432 2424.241 2424.241 2425.006 2421.637 2421.145 2421.145 2420.741 2420.741 2420.275 2420.275 2419.929 2419.929 2419.547 2419.547 2419.129 2419.129 2418.666 2418.666 2418.233 2418.233 2417.79 2417.79 2417.38 2417.38 2417.129 2417.129 2417.001 2417.001 2417.077 2417.077 2417.407 2417.407 2417.961 2417.961 2418.816 2418.816 2419.716 2419.716 2420.661 2420.661 2421.569 2421.569 2422.408 2422.408 2423.288 2423.288 2423.983 2423.983 2424.712 2421.637 2421.145 2421.145 2420.741 2420.741 2420.275 2420.275 2419.929 2419.929 2419.547 2419.547 2419.129 2419.129 2418.666 2418.666 2418.233 2418.233 2417.79 2417.79 2417.38 2417.38 2417.129 2417.129 2417.001 2417.001 2417.077 2417.077 2417.407 2417.407 2417.961 2417.961 2418.816 2418.816 2419.716 2419.716 2420.661 2420.661 2421.569 2421.569 2422.408 2422.408 2423.288 2423.288 2423.983 2423.983 2424.712 2421.097 2420.715 2420.715 2420.455 2420.455 2420.127 2420.127 2419.844 2419.844 2419.522 2419.522 2419.167 2419.167 2418.789 2418.789 2418.366 2418.366 2417.967 2417.967 2417.617 2417.617 2417.424 2417.424 2417.406 2417.406 2417.573 2417.573 2417.948 2417.948 2418.434 2418.434 2419.072 2419.072 2419.883 2419.883 2420.729 2420.729 2421.555 2421.555 2422.342 2422.342 2423.132 2423.132 2423.904 2423.904 2424.59 2421.097 2420.715 2420.715 2420.455 2420.455 2420.127 2420.127 2419.844 2419.844 2419.522 2419.522 2419.167 2419.167 2418.789 2418.789 2418.366 2418.366 2417.967 2417.967 2417.617 2417.617 2417.424 2417.424 2417.406 2417.406 2417.573 2417.573 2417.948 2417.948 2418.434 2418.434 2419.072 2419.072 2419.883 2419.883 2420.729 2420.729 2421.555 2421.555 2422.342 2422.342 2423.132 2423.132 2423.904 2423.904 2424.59 2420.593 2420.4 2420.4 2420.163 2420.163 2419.999 2419.999 2419.741 2419.741 2419.492 2419.492 2419.235 2419.235 2418.9 2418.9 2418.51 2418.51 2418.189 2418.189 2417.903 2417.903 2417.729 2417.729 2417.778 2417.778 2417.999 2417.999 2418.399 2418.399 2418.869 2418.869 2419.406 2419.406 2420.098 2420.098 2420.85 2420.85 2421.607 2421.607 2422.361 2422.361 2423.111 2423.111 2423.871 2423.871 2424.539 2420.593 2420.4 2420.4 2420.163 2420.163 2419.999 2419.999 2419.741 2419.741 2419.492 2419.492 2419.235 2419.235 2418.9 2418.9 2418.51 2418.51 2418.189 2418.189 2417.903 2417.903 2417.729 2417.729 2417.778 2417.778 2417.999 2417.999 2418.399 2418.399 2418.869 2418.869 2419.406 2419.406 2420.098 2420.098 2420.85 2420.85 2421.607 2421.607 2422.361 2422.361 2423.111 2423.111 2423.871 2423.871 2424.539 2420.124 2420.019 2420.019 2419.967 2419.967 2419.82 2419.82 2419.635 2419.635 2419.457 2419.457 2419.242 2419.242 2418.96 2418.96 2418.658 2418.658 2418.362 2418.362 2418.152 2418.152 2417.999 2417.999 2418.066 2418.066 2418.319 2418.319 2418.752 2418.752 2419.205 2419.205 2419.784 2419.784 2420.419 2420.419 2421.109 2421.109 2421.808 2421.808 2422.502 2422.502 2423.242 2423.242 2423.876 2423.876 2424.532 2420.124 2420.019 2420.019 2419.967 2419.967 2419.82 2419.82 2419.635 2419.635 2419.457 2419.457 2419.242 2419.242 2418.96 2418.96 2418.658 2418.658 2418.362 2418.362 2418.152 2418.152 2417.999 2417.999 2418.066 2418.066 2418.319 2418.319 2418.752 2418.752 2419.205 2419.205 2419.784 2419.784 2420.419 2420.419 2421.109 2421.109 2421.808 2421.808 2422.502 2422.502 2423.242 2423.242 2423.876 2423.876 2424.532 2419.823 2419.771 2419.771 2419.795 2419.795 2419.705 2419.705 2419.564 2419.564 2419.411 2419.411 2419.23 2419.23 2418.994 2418.994 2418.721 2418.721 2418.493 2418.493 2418.28 2418.28 2418.191 2418.191 2418.292 2418.292 2418.533 2418.533 2418.947 2418.947 2419.442 2419.442 2419.998 2419.998 2420.555 2420.555 2421.233 2421.233 2421.937 2421.937 2422.643 2422.643 2423.35 2423.35 2424.036 2424.036 2424.554 2441.137 2439.694 2439.694 2438.297 2438.297 2436.897 2436.897 2435.48 2435.48 2433.712 2433.712 2431.739 2431.739 2429.966 2429.966 2427.93 2427.93 2426.033 2426.033 2426.052 2426.052 2428.055 2428.055 2430.416 2430.416 2433.002 2433.002 2434.646 2434.646 2434.164 2434.164 2433.629 2433.629 2433.206 2433.206 2433.277 2433.277 2433.603 2433.603 2434.07 2434.07 2434.673 2434.673 2435.358 2435.358 2436.096 2441.089 2439.69 2439.69 2438.243 2438.243 2436.826 2436.826 2435.597 2435.597 2433.748 2433.748 2431.537 2431.537 2429.215 2429.215 2427.135 2427.135 2425.673 2425.673 2425.607 2425.607 2426.934 2426.934 2428.946 2428.946 2431.314 2431.314 2432.862 2432.862 2432.345 2432.345 2431.875 2431.875 2431.551 2431.551 2431.744 2431.744 2432.378 2432.378 2433.256 2433.256 2434.171 2434.171 2435.068 2435.068 2435.928 2441.089 2439.69 2439.69 2438.243 2438.243 2436.826 2436.826 2435.597 2435.597 2433.748 2433.748 2431.537 2431.537 2429.215 2429.215 2427.135 2427.135 2425.673 2425.673 2425.607 2425.607 2426.934 2426.934 2428.946 2428.946 2431.314 2431.314 2432.862 2432.862 2432.345 2432.345 2431.875 2431.875 2431.551 2431.551 2431.744 2431.744 2432.378 2432.378 2433.256 2433.256 2434.171 2434.171 2435.068 2435.068 2435.928 2440.881 2439.432 2439.432 2437.961 2437.961 2436.796 2436.796 2435.516 2435.516 2433.661 2433.661 2431.023 2431.023 2428.384 2428.384 2426.289 2426.289 2425.049 2425.049 2425.177 2425.177 2425.561 2425.561 2426.813 2426.813 2428.388 2428.388 2429.24 2429.24 2429.427 2429.427 2429.437 2429.437 2429.399 2429.399 2429.969 2429.969 2431.013 2431.013 2432.217 2432.217 2433.547 2433.547 2434.912 2434.912 2435.918 2440.881 2439.432 2439.432 2437.961 2437.961 2436.796 2436.796 2435.516 2435.516 2433.661 2433.661 2431.023 2431.023 2428.384 2428.384 2426.289 2426.289 2425.049 2425.049 2425.177 2425.177 2425.561 2425.561 2426.813 2426.813 2428.388 2428.388 2429.24 2429.24 2429.427 2429.427 2429.437 2429.437 2429.399 2429.399 2429.969 2429.969 2431.013 2431.013 2432.217 2432.217 2433.547 2433.547 2434.912 2434.912 2435.918 2440.425 2438.943 2438.943 2437.333 2437.333 2435.969 2435.969 2434.928 2434.928 2433.506 2433.506 2429.941 2429.941 2426.972 2426.972 2424.976 2424.976 2424.329 2424.329 2423.975 2423.975 2423.96 2423.96 2424.466 2424.466 2425.139 2425.139 2425.62 2425.62 2426.199 2426.199 2426.325 2426.325 2426.945 2426.945 2427.855 2427.855 2429.29 2429.29 2431.04 2431.04 2433.035 2433.035 2434.724 2434.724 2435.975 2440.425 2438.943 2438.943 2437.333 2437.333 2435.969 2435.969 2434.928 2434.928 2433.506 2433.506 2429.941 2429.941 2426.972 2426.972 2424.976 2424.976 2424.329 2424.329 2423.975 2423.975 2423.96 2423.96 2424.466 2424.466 2425.139 2425.139 2425.62 2425.62 2426.199 2426.199 2426.325 2426.325 2426.945 2426.945 2427.855 2427.855 2429.29 2429.29 2431.04 2431.04 2433.035 2433.035 2434.724 2434.724 2435.975 2439.906 2437.886 2437.886 2435.943 2435.943 2434.17 2434.17 2432.666 2432.666 2430.73 2430.73 2427.385 2427.385 2424.614 2424.614 2423.094 2423.094 2422.659 2422.659 2422.46 2422.46 2422.524 2422.524 2422.429 2422.429 2422.112 2422.112 2422.054 2422.054 2422.813 2422.813 2423.772 2423.772 2424.609 2424.609 2425.54 2425.54 2427.384 2427.384 2429.924 2429.924 2432.407 2432.407 2434.646 2434.646 2436.185 2439.906 2437.886 2437.886 2435.943 2435.943 2434.17 2434.17 2432.666 2432.666 2430.73 2430.73 2427.385 2427.385 2424.614 2424.614 2423.094 2423.094 2422.659 2422.659 2422.46 2422.46 2422.524 2422.524 2422.429 2422.429 2422.112 2422.112 2422.054 2422.054 2422.813 2422.813 2423.772 2423.772 2424.609 2424.609 2425.54 2425.54 2427.384 2427.384 2429.924 2429.924 2432.407 2432.407 2434.646 2434.646 2436.185 2438.686 2436.355 2436.355 2433.995 2433.995 2431.601 2431.601 2429.051 2429.051 2426 2426 2423.149 2423.149 2421.565 2421.565 2420.945 2420.945 2420.866 2420.866 2420.989 2420.989 2421.114 2421.114 2420.577 2420.577 2419.957 2419.957 2419.619 2419.619 2420.829 2420.829 2422.006 2422.006 2422.937 2422.937 2423.678 2423.678 2425.747 2425.747 2428.866 2428.866 2431.838 2431.838 2434.662 2434.662 2436.546 2438.686 2436.355 2436.355 2433.995 2433.995 2431.601 2431.601 2429.051 2429.051 2426 2426 2423.149 2423.149 2421.565 2421.565 2420.945 2420.945 2420.866 2420.866 2420.989 2420.989 2421.114 2421.114 2420.577 2420.577 2419.957 2419.957 2419.619 2419.619 2420.829 2420.829 2422.006 2422.006 2422.937 2422.937 2423.678 2423.678 2425.747 2425.747 2428.866 2428.866 2431.838 2431.838 2434.662 2434.662 2436.546 2436.859 2434.438 2434.438 2431.834 2431.834 2428.928 2428.928 2425.573 2425.573 2421.715 2421.715 2418.28 2418.28 2418.577 2418.577 2419.204 2419.204 2419.631 2419.631 2419.891 2419.891 2420.092 2420.092 2419.695 2419.695 2419.053 2419.053 2419.19 2419.19 2419.967 2419.967 2421.163 2421.163 2422.347 2422.347 2423.422 2423.422 2425.319 2425.319 2428.355 2428.355 2431.412 2431.412 2434.213 2434.213 2436.058 2436.859 2434.438 2434.438 2431.834 2431.834 2428.928 2428.928 2425.573 2425.573 2421.715 2421.715 2418.28 2418.28 2418.577 2418.577 2419.204 2419.204 2419.631 2419.631 2419.891 2419.891 2420.092 2420.092 2419.695 2419.695 2419.053 2419.053 2419.19 2419.19 2419.967 2419.967 2421.163 2421.163 2422.347 2422.347 2423.422 2423.422 2425.319 2425.319 2428.355 2428.355 2431.412 2431.412 2434.213 2434.213 2436.058 2434.936 2432.527 2432.527 2429.782 2429.782 2426.692 2426.692 2423.257 2423.257 2419.531 2419.531 2416.591 2416.591 2417.223 2417.223 2418.285 2418.285 2419 2419 2419.274 2419.274 2419.419 2419.419 2419.103 2419.103 2418.833 2418.833 2418.831 2418.831 2419.867 2419.867 2421.245 2421.245 2422.646 2422.646 2424.039 2424.039 2425.73 2425.73 2428.58 2428.58 2431.251 2431.251 2433.542 2433.542 2435.106 2434.936 2432.527 2432.527 2429.782 2429.782 2426.692 2426.692 2423.257 2423.257 2419.531 2419.531 2416.591 2416.591 2417.223 2417.223 2418.285 2418.285 2419 2419 2419.274 2419.274 2419.419 2419.419 2419.103 2419.103 2418.833 2418.833 2418.831 2418.831 2419.867 2419.867 2421.245 2421.245 2422.646 2422.646 2424.039 2424.039 2425.73 2425.73 2428.58 2428.58 2431.251 2431.251 2433.542 2433.542 2435.106 2433.083 2430.804 2430.804 2428.095 2428.095 2425.164 2425.164 2422.112 2422.112 2419.345 2419.345 2417.709 2417.709 2417.743 2417.743 2418.169 2418.169 2418.594 2418.594 2419.021 2419.021 2418.927 2418.927 2418.762 2418.762 2418.976 2418.976 2419.168 2419.168 2420.455 2420.455 2421.787 2421.787 2423.597 2423.597 2425.501 2425.501 2427.504 2427.504 2429.51 2429.51 2431.31 2431.31 2433.054 2433.054 2434.474 2433.083 2430.804 2430.804 2428.095 2428.095 2425.164 2425.164 2422.112 2422.112 2419.345 2419.345 2417.709 2417.709 2417.743 2417.743 2418.169 2418.169 2418.594 2418.594 2419.021 2419.021 2418.927 2418.927 2418.762 2418.762 2418.976 2418.976 2419.168 2419.168 2420.455 2420.455 2421.787 2421.787 2423.597 2423.597 2425.501 2425.501 2427.504 2427.504 2429.51 2429.51 2431.31 2431.31 2433.054 2433.054 2434.474 2431.609 2429.443 2429.443 2426.987 2426.987 2424.112 2424.112 2421.458 2421.458 2419.456 2419.456 2418.36 2418.36 2418.395 2418.395 2418.369 2418.369 2418.247 2418.247 2418.207 2418.207 2418.126 2418.126 2418.543 2418.543 2419.053 2419.053 2419.847 2419.847 2421.106 2421.106 2422.876 2422.876 2424.976 2424.976 2427.077 2427.077 2429.191 2429.191 2430.301 2430.301 2431.53 2431.53 2432.642 2432.642 2433.778 2431.609 2429.443 2429.443 2426.987 2426.987 2424.112 2424.112 2421.458 2421.458 2419.456 2419.456 2418.36 2418.36 2418.395 2418.395 2418.369 2418.369 2418.247 2418.247 2418.207 2418.207 2418.126 2418.126 2418.543 2418.543 2419.053 2419.053 2419.847 2419.847 2421.106 2421.106 2422.876 2422.876 2424.976 2424.976 2427.077 2427.077 2429.191 2429.191 2430.301 2430.301 2431.53 2431.53 2432.642 2432.642 2433.778 2430.343 2428.301 2428.301 2425.983 2425.983 2423.524 2423.524 2421.161 2421.161 2419.514 2419.514 2418.59 2418.59 2418.174 2418.174 2417.566 2417.566 2416.899 2416.899 2416.581 2416.581 2416.812 2416.812 2417.518 2417.518 2418.778 2418.778 2420.151 2420.151 2421.47 2421.47 2423.265 2423.265 2425.427 2425.427 2427.841 2427.841 2429.667 2429.667 2430.431 2430.431 2431.302 2431.302 2432.23 2432.23 2433.062 2430.343 2428.301 2428.301 2425.983 2425.983 2423.524 2423.524 2421.161 2421.161 2419.514 2419.514 2418.59 2418.59 2418.174 2418.174 2417.566 2417.566 2416.899 2416.899 2416.581 2416.581 2416.812 2416.812 2417.518 2417.518 2418.778 2418.778 2420.151 2420.151 2421.47 2421.47 2423.265 2423.265 2425.427 2425.427 2427.841 2427.841 2429.667 2429.667 2430.431 2430.431 2431.302 2431.302 2432.23 2432.23 2433.062 2429.231 2427.257 2427.257 2425.202 2425.202 2423.123 2423.123 2420.921 2420.921 2419.133 2419.133 2417.806 2417.806 2416.836 2416.836 2415.696 2415.696 2414.781 2414.781 2414.663 2414.663 2415.235 2415.235 2416.321 2416.321 2417.851 2417.851 2419.598 2419.598 2421.242 2421.242 2423.105 2423.105 2425.17 2425.17 2427.226 2427.226 2428.843 2428.843 2429.843 2429.843 2430.738 2430.738 2431.584 2431.584 2432.314 2429.231 2427.257 2427.257 2425.202 2425.202 2423.123 2423.123 2420.921 2420.921 2419.133 2419.133 2417.806 2417.806 2416.836 2416.836 2415.696 2415.696 2414.781 2414.781 2414.663 2414.663 2415.235 2415.235 2416.321 2416.321 2417.851 2417.851 2419.598 2419.598 2421.242 2421.242 2423.105 2423.105 2425.17 2425.17 2427.226 2427.226 2428.843 2428.843 2429.843 2429.843 2430.738 2430.738 2431.584 2431.584 2432.314 2428.34 2426.607 2426.607 2424.649 2424.649 2422.61 2422.61 2420.579 2420.579 2418.703 2418.703 2417.034 2417.034 2415.473 2415.473 2413.83 2413.83 2412.602 2412.602 2412.699 2412.699 2413.671 2413.671 2415.009 2415.009 2416.699 2416.699 2418.597 2418.597 2420.638 2420.638 2422.67 2422.67 2424.624 2424.624 2426.407 2426.407 2427.946 2427.946 2429.114 2429.114 2429.97 2429.97 2430.746 2430.746 2431.573 2428.34 2426.607 2426.607 2424.649 2424.649 2422.61 2422.61 2420.579 2420.579 2418.703 2418.703 2417.034 2417.034 2415.473 2415.473 2413.83 2413.83 2412.602 2412.602 2412.699 2412.699 2413.671 2413.671 2415.009 2415.009 2416.699 2416.699 2418.597 2418.597 2420.638 2420.638 2422.67 2422.67 2424.624 2424.624 2426.407 2426.407 2427.946 2427.946 2429.114 2429.114 2429.97 2429.97 2430.746 2430.746 2431.573 2427.616 2426.001 2426.001 2424.244 2424.244 2422.288 2422.288 2420.261 2420.261 2418.242 2418.242 2416.338 2416.338 2414.671 2414.671 2413.129 2413.129 2411.191 2411.191 2411.71 2411.71 2412.912 2412.912 2413.999 2413.999 2415.836 2415.836 2417.953 2417.953 2420.154 2420.154 2422.254 2422.254 2424.073 2424.073 2425.664 2425.664 2427.014 2427.014 2428.177 2428.177 2429.147 2429.147 2429.995 2429.995 2430.799 2427.616 2426.001 2426.001 2424.244 2424.244 2422.288 2422.288 2420.261 2420.261 2418.242 2418.242 2416.338 2416.338 2414.671 2414.671 2413.129 2413.129 2411.191 2411.191 2411.71 2411.71 2412.912 2412.912 2413.999 2413.999 2415.836 2415.836 2417.953 2417.953 2420.154 2420.154 2422.254 2422.254 2424.073 2424.073 2425.664 2425.664 2427.014 2427.014 2428.177 2428.177 2429.147 2429.147 2429.995 2429.995 2430.799 2426.904 2425.59 2425.59 2423.969 2423.969 2422.215 2422.215 2420.235 2420.235 2418.282 2418.282 2416.184 2416.184 2414.861 2414.861 2414.004 2414.004 2413.22 2413.22 2413.261 2413.261 2413.613 2413.613 2413.724 2413.724 2415.805 2415.805 2418.134 2418.134 2420.243 2420.243 2422.075 2422.075 2423.611 2423.611 2425.036 2425.036 2426.291 2426.291 2427.373 2427.373 2428.369 2428.369 2429.179 2429.179 2430.018 2426.904 2425.59 2425.59 2423.969 2423.969 2422.215 2422.215 2420.235 2420.235 2418.282 2418.282 2416.184 2416.184 2414.861 2414.861 2414.004 2414.004 2413.22 2413.22 2413.261 2413.261 2413.613 2413.613 2413.724 2413.724 2415.805 2415.805 2418.134 2418.134 2420.243 2420.243 2422.075 2422.075 2423.611 2423.611 2425.036 2425.036 2426.291 2426.291 2427.373 2427.373 2428.369 2428.369 2429.179 2429.179 2430.018 2426.257 2425.26 2425.26 2423.771 2423.771 2422.147 2422.147 2420.446 2420.446 2418.788 2418.788 2417.011 2417.011 2416.143 2416.143 2415.808 2415.808 2415.841 2415.841 2415.91 2415.91 2415.602 2415.602 2415.718 2415.718 2416.854 2416.854 2418.774 2418.774 2420.614 2420.614 2421.929 2421.929 2423.266 2423.266 2424.519 2424.519 2425.622 2425.622 2426.668 2426.668 2427.618 2427.618 2428.399 2428.399 2429.265 2426.257 2425.26 2425.26 2423.771 2423.771 2422.147 2422.147 2420.446 2420.446 2418.788 2418.788 2417.011 2417.011 2416.143 2416.143 2415.808 2415.808 2415.841 2415.841 2415.91 2415.91 2415.602 2415.602 2415.718 2415.718 2416.854 2416.854 2418.774 2418.774 2420.614 2420.614 2421.929 2421.929 2423.266 2423.266 2424.519 2424.519 2425.622 2425.622 2426.668 2426.668 2427.618 2427.618 2428.399 2428.399 2429.265 2425.563 2424.718 2424.718 2423.413 2423.413 2422.057 2422.057 2420.845 2420.845 2419.639 2419.639 2418.593 2418.593 2417.899 2417.899 2417.855 2417.855 2418.48 2418.48 2418.933 2418.933 2417.727 2417.727 2417.232 2417.232 2417.744 2417.744 2418.959 2418.959 2420.354 2420.354 2421.641 2421.641 2422.887 2422.887 2423.952 2423.952 2425.122 2425.122 2426.142 2426.142 2427.015 2427.015 2427.716 2427.716 2428.593 2425.563 2424.718 2424.718 2423.413 2423.413 2422.057 2422.057 2420.845 2420.845 2419.639 2419.639 2418.593 2418.593 2417.899 2417.899 2417.855 2417.855 2418.48 2418.48 2418.933 2418.933 2417.727 2417.727 2417.232 2417.232 2417.744 2417.744 2418.959 2418.959 2420.354 2420.354 2421.641 2421.641 2422.887 2422.887 2423.952 2423.952 2425.122 2425.122 2426.142 2426.142 2427.015 2427.015 2427.716 2427.716 2428.593 2425.049 2424.177 2424.177 2423.127 2423.127 2422.092 2422.092 2421.155 2421.155 2420.471 2420.471 2419.958 2419.958 2419.212 2419.212 2419.065 2419.065 2419.46 2419.46 2419.644 2419.644 2418.583 2418.583 2417.91 2417.91 2418.061 2418.061 2418.711 2418.711 2419.894 2419.894 2421.256 2421.256 2422.503 2422.503 2423.525 2423.525 2424.635 2424.635 2425.612 2425.612 2426.474 2426.474 2427.229 2427.229 2428.055 2425.049 2424.177 2424.177 2423.127 2423.127 2422.092 2422.092 2421.155 2421.155 2420.471 2420.471 2419.958 2419.958 2419.212 2419.212 2419.065 2419.065 2419.46 2419.46 2419.644 2419.644 2418.583 2418.583 2417.91 2417.91 2418.061 2418.061 2418.711 2418.711 2419.894 2419.894 2421.256 2421.256 2422.503 2422.503 2423.525 2423.525 2424.635 2424.635 2425.612 2425.612 2426.474 2426.474 2427.229 2427.229 2428.055 2424.393 2423.651 2423.651 2422.851 2422.851 2422.045 2422.045 2421.436 2421.436 2420.864 2420.864 2420.357 2420.357 2419.777 2419.777 2419.438 2419.438 2419.367 2419.367 2418.758 2418.758 2418.101 2418.101 2418.109 2418.109 2418.293 2418.293 2418.48 2418.48 2419.643 2419.643 2420.97 2420.97 2422.186 2422.186 2423.211 2423.211 2424.28 2424.28 2425.224 2425.224 2426.014 2426.014 2426.876 2426.876 2427.602 2424.393 2423.651 2423.651 2422.851 2422.851 2422.045 2422.045 2421.436 2421.436 2420.864 2420.864 2420.357 2420.357 2419.777 2419.777 2419.438 2419.438 2419.367 2419.367 2418.758 2418.758 2418.101 2418.101 2418.109 2418.109 2418.293 2418.293 2418.48 2418.48 2419.643 2419.643 2420.97 2420.97 2422.186 2422.186 2423.211 2423.211 2424.28 2424.28 2425.224 2425.224 2426.014 2426.014 2426.876 2426.876 2427.602 2423.729 2423.104 2423.104 2422.505 2422.505 2421.958 2421.958 2421.416 2421.416 2420.97 2420.97 2420.454 2420.454 2419.921 2419.921 2419.539 2419.539 2419.074 2419.074 2418.152 2418.152 2417.792 2417.792 2418.086 2418.086 2418.437 2418.437 2418.994 2418.994 2419.844 2419.844 2420.93 2420.93 2421.969 2421.969 2423.035 2423.035 2424.026 2424.026 2424.915 2424.915 2425.768 2425.768 2426.601 2426.601 2427.396 2423.729 2423.104 2423.104 2422.505 2422.505 2421.958 2421.958 2421.416 2421.416 2420.97 2420.97 2420.454 2420.454 2419.921 2419.921 2419.539 2419.539 2419.074 2419.074 2418.152 2418.152 2417.792 2417.792 2418.086 2418.086 2418.437 2418.437 2418.994 2418.994 2419.844 2419.844 2420.93 2420.93 2421.969 2421.969 2423.035 2423.035 2424.026 2424.026 2424.915 2424.915 2425.768 2425.768 2426.601 2426.601 2427.396 2423.144 2422.631 2422.631 2422.211 2422.211 2421.724 2421.724 2421.34 2421.34 2420.944 2420.944 2420.487 2420.487 2419.953 2419.953 2419.434 2419.434 2418.884 2418.884 2418.39 2418.39 2418.259 2418.259 2418.43 2418.43 2418.864 2418.864 2419.488 2419.488 2420.198 2420.198 2421.12 2421.12 2422.048 2422.048 2422.997 2422.997 2423.925 2423.925 2424.789 2424.789 2425.694 2425.694 2426.407 2426.407 2427.168 2423.144 2422.631 2422.631 2422.211 2422.211 2421.724 2421.724 2421.34 2421.34 2420.944 2420.944 2420.487 2420.487 2419.953 2419.953 2419.434 2419.434 2418.884 2418.884 2418.39 2418.39 2418.259 2418.259 2418.43 2418.43 2418.864 2418.864 2419.488 2419.488 2420.198 2420.198 2421.12 2421.12 2422.048 2422.048 2422.997 2422.997 2423.925 2423.925 2424.789 2424.789 2425.694 2425.694 2426.407 2426.407 2427.168 2422.6 2422.192 2422.192 2421.913 2421.913 2421.557 2421.557 2421.24 2421.24 2420.871 2420.871 2420.468 2420.468 2420.044 2420.044 2419.541 2419.541 2419.088 2419.088 2418.731 2418.731 2418.659 2418.659 2418.873 2418.873 2419.318 2419.318 2419.942 2419.942 2420.592 2420.592 2421.355 2421.355 2422.212 2422.212 2423.092 2423.092 2423.951 2423.951 2424.769 2424.769 2425.588 2425.588 2426.388 2426.388 2427.105 2422.6 2422.192 2422.192 2421.913 2421.913 2421.557 2421.557 2421.24 2421.24 2420.871 2420.871 2420.468 2420.468 2420.044 2420.044 2419.541 2419.541 2419.088 2419.088 2418.731 2418.731 2418.659 2418.659 2418.873 2418.873 2419.318 2419.318 2419.942 2419.942 2420.592 2420.592 2421.355 2421.355 2422.212 2422.212 2423.092 2423.092 2423.951 2423.951 2424.769 2424.769 2425.588 2425.588 2426.388 2426.388 2427.105 2422.097 2421.882 2421.882 2421.616 2421.616 2421.418 2421.418 2421.123 2421.123 2420.833 2420.833 2420.525 2420.525 2420.138 2420.138 2419.708 2419.708 2419.391 2419.391 2419.125 2419.125 2419.049 2419.049 2419.291 2419.291 2419.734 2419.734 2420.346 2420.346 2420.978 2420.978 2421.643 2421.643 2422.407 2422.407 2423.214 2423.214 2424.019 2424.019 2424.809 2424.809 2425.598 2425.598 2426.39 2426.39 2427.095 2422.097 2421.882 2421.882 2421.616 2421.616 2421.418 2421.418 2421.123 2421.123 2420.833 2420.833 2420.525 2420.525 2420.138 2420.138 2419.708 2419.708 2419.391 2419.391 2419.125 2419.125 2419.049 2419.049 2419.291 2419.291 2419.734 2419.734 2420.346 2420.346 2420.978 2420.978 2421.643 2421.643 2422.407 2422.407 2423.214 2423.214 2424.019 2424.019 2424.809 2424.809 2425.598 2425.598 2426.39 2426.39 2427.095 2421.635 2421.505 2421.505 2421.42 2421.42 2421.239 2421.239 2421.016 2421.016 2420.799 2420.799 2420.545 2420.545 2420.23 2420.23 2419.911 2419.911 2419.622 2419.622 2419.454 2419.454 2419.398 2419.398 2419.611 2419.611 2420.044 2420.044 2420.667 2420.667 2421.288 2421.288 2421.943 2421.943 2422.66 2422.66 2423.424 2423.424 2424.194 2424.194 2424.953 2424.953 2425.74 2425.74 2426.42 2426.42 2427.12 2421.635 2421.505 2421.505 2421.42 2421.42 2421.239 2421.239 2421.016 2421.016 2420.799 2420.799 2420.545 2420.545 2420.23 2420.23 2419.911 2419.911 2419.622 2419.622 2419.454 2419.454 2419.398 2419.398 2419.611 2419.611 2420.044 2420.044 2420.667 2420.667 2421.288 2421.288 2421.943 2421.943 2422.66 2422.66 2423.424 2423.424 2424.194 2424.194 2424.953 2424.953 2425.74 2425.74 2426.42 2426.42 2427.12 2421.345 2421.265 2421.265 2421.257 2421.257 2421.132 2421.132 2420.955 2420.955 2420.769 2420.769 2420.551 2420.551 2420.292 2420.292 2420.016 2420.016 2419.807 2419.807 2419.647 2419.647 2419.646 2419.646 2419.863 2419.863 2420.262 2420.262 2420.841 2420.841 2421.473 2421.473 2422.132 2422.132 2422.779 2422.779 2423.541 2423.541 2424.32 2424.32 2425.084 2425.084 2425.853 2425.853 2426.591 2426.591 2427.161 2441.137 2439.694 2439.694 2438.297 2438.297 2436.897 2436.897 2435.48 2435.48 2433.712 2433.712 2431.739 2431.739 2429.966 2429.966 2427.93 2427.93 2426.033 2426.033 2426.052 2426.052 2428.055 2428.055 2430.416 2430.416 2433.002 2433.002 2434.646 2434.646 2434.164 2434.164 2433.629 2433.629 2433.206 2433.206 2433.277 2433.277 2433.603 2433.603 2434.07 2434.07 2434.673 2434.673 2435.358 2435.358 2436.096 2441.089 2439.69 2439.69 2438.243 2438.243 2436.826 2436.826 2435.597 2435.597 2433.748 2433.748 2431.537 2431.537 2429.215 2429.215 2427.135 2427.135 2425.673 2425.673 2425.607 2425.607 2426.934 2426.934 2428.946 2428.946 2431.314 2431.314 2432.862 2432.862 2432.345 2432.345 2431.875 2431.875 2431.551 2431.551 2431.744 2431.744 2432.378 2432.378 2433.256 2433.256 2434.171 2434.171 2435.068 2435.068 2435.928 2441.089 2439.69 2439.69 2438.243 2438.243 2436.826 2436.826 2435.597 2435.597 2433.748 2433.748 2431.537 2431.537 2429.215 2429.215 2427.135 2427.135 2425.673 2425.673 2425.607 2425.607 2426.934 2426.934 2428.946 2428.946 2431.314 2431.314 2432.862 2432.862 2432.345 2432.345 2431.875 2431.875 2431.551 2431.551 2431.744 2431.744 2432.378 2432.378 2433.256 2433.256 2434.171 2434.171 2435.068 2435.068 2435.928 2440.881 2439.432 2439.432 2437.961 2437.961 2436.796 2436.796 2435.516 2435.516 2433.661 2433.661 2431.023 2431.023 2428.384 2428.384 2426.289 2426.289 2425.049 2425.049 2425.177 2425.177 2425.561 2425.561 2426.813 2426.813 2428.388 2428.388 2429.24 2429.24 2429.427 2429.427 2429.437 2429.437 2429.399 2429.399 2429.969 2429.969 2431.013 2431.013 2432.217 2432.217 2433.547 2433.547 2434.912 2434.912 2435.918 2440.881 2439.432 2439.432 2437.961 2437.961 2436.796 2436.796 2435.516 2435.516 2433.661 2433.661 2431.023 2431.023 2428.384 2428.384 2426.289 2426.289 2425.049 2425.049 2425.177 2425.177 2425.561 2425.561 2426.813 2426.813 2428.388 2428.388 2429.24 2429.24 2429.427 2429.427 2429.437 2429.437 2429.399 2429.399 2429.969 2429.969 2431.013 2431.013 2432.217 2432.217 2433.547 2433.547 2434.912 2434.912 2435.918 2440.425 2438.943 2438.943 2437.333 2437.333 2435.969 2435.969 2434.928 2434.928 2433.506 2433.506 2429.941 2429.941 2426.972 2426.972 2424.976 2424.976 2424.329 2424.329 2423.975 2423.975 2423.96 2423.96 2424.466 2424.466 2425.139 2425.139 2425.62 2425.62 2426.199 2426.199 2426.325 2426.325 2426.945 2426.945 2427.855 2427.855 2429.29 2429.29 2431.04 2431.04 2433.035 2433.035 2434.724 2434.724 2435.975 2440.425 2438.943 2438.943 2437.333 2437.333 2435.969 2435.969 2434.928 2434.928 2433.506 2433.506 2429.941 2429.941 2426.972 2426.972 2424.976 2424.976 2424.329 2424.329 2423.975 2423.975 2423.96 2423.96 2424.466 2424.466 2425.139 2425.139 2425.62 2425.62 2426.199 2426.199 2426.325 2426.325 2426.945 2426.945 2427.855 2427.855 2429.29 2429.29 2431.04 2431.04 2433.035 2433.035 2434.724 2434.724 2435.975 2439.906 2437.886 2437.886 2435.943 2435.943 2434.17 2434.17 2432.666 2432.666 2430.73 2430.73 2427.385 2427.385 2424.614 2424.614 2423.094 2423.094 2422.659 2422.659 2422.46 2422.46 2422.524 2422.524 2422.429 2422.429 2422.112 2422.112 2422.054 2422.054 2422.813 2422.813 2423.772 2423.772 2424.609 2424.609 2425.54 2425.54 2427.384 2427.384 2429.924 2429.924 2432.407 2432.407 2434.646 2434.646 2436.185 2439.906 2437.886 2437.886 2435.943 2435.943 2434.17 2434.17 2432.666 2432.666 2430.73 2430.73 2427.385 2427.385 2424.614 2424.614 2423.094 2423.094 2422.659 2422.659 2422.46 2422.46 2422.524 2422.524 2422.429 2422.429 2422.112 2422.112 2422.054 2422.054 2422.813 2422.813 2423.772 2423.772 2424.609 2424.609 2425.54 2425.54 2427.384 2427.384 2429.924 2429.924 2432.407 2432.407 2434.646 2434.646 2436.185 2438.686 2436.355 2436.355 2433.995 2433.995 2431.601 2431.601 2429.051 2429.051 2426 2426 2423.149 2423.149 2421.565 2421.565 2420.945 2420.945 2420.866 2420.866 2420.989 2420.989 2421.114 2421.114 2420.577 2420.577 2419.957 2419.957 2419.619 2419.619 2420.829 2420.829 2422.006 2422.006 2422.937 2422.937 2423.678 2423.678 2425.747 2425.747 2428.866 2428.866 2431.838 2431.838 2434.662 2434.662 2436.546 2438.686 2436.355 2436.355 2433.995 2433.995 2431.601 2431.601 2429.051 2429.051 2426 2426 2423.149 2423.149 2421.565 2421.565 2420.945 2420.945 2420.866 2420.866 2420.989 2420.989 2421.114 2421.114 2420.577 2420.577 2419.957 2419.957 2419.619 2419.619 2420.829 2420.829 2422.006 2422.006 2422.937 2422.937 2423.678 2423.678 2425.747 2425.747 2428.866 2428.866 2431.838 2431.838 2434.662 2434.662 2436.546 2436.859 2434.438 2434.438 2431.834 2431.834 2428.928 2428.928 2425.573 2425.573 2421.715 2421.715 2418.28 2418.28 2418.577 2418.577 2419.204 2419.204 2419.631 2419.631 2419.891 2419.891 2420.092 2420.092 2419.695 2419.695 2419.053 2419.053 2419.19 2419.19 2419.967 2419.967 2421.163 2421.163 2422.347 2422.347 2423.422 2423.422 2425.319 2425.319 2428.355 2428.355 2431.412 2431.412 2434.213 2434.213 2436.058 2436.859 2434.438 2434.438 2431.834 2431.834 2428.928 2428.928 2425.573 2425.573 2421.715 2421.715 2418.28 2418.28 2418.577 2418.577 2419.204 2419.204 2419.631 2419.631 2419.891 2419.891 2420.092 2420.092 2419.695 2419.695 2419.053 2419.053 2419.19 2419.19 2419.967 2419.967 2421.163 2421.163 2422.347 2422.347 2423.422 2423.422 2425.319 2425.319 2428.355 2428.355 2431.412 2431.412 2434.213 2434.213 2436.058 2434.936 2432.527 2432.527 2429.782 2429.782 2426.692 2426.692 2423.257 2423.257 2419.531 2419.531 2416.591 2416.591 2417.223 2417.223 2418.285 2418.285 2419 2419 2419.274 2419.274 2419.419 2419.419 2419.103 2419.103 2418.833 2418.833 2418.831 2418.831 2419.867 2419.867 2421.245 2421.245 2422.646 2422.646 2424.039 2424.039 2425.73 2425.73 2428.58 2428.58 2431.251 2431.251 2433.542 2433.542 2435.106 2434.936 2432.527 2432.527 2429.782 2429.782 2426.692 2426.692 2423.257 2423.257 2419.531 2419.531 2416.591 2416.591 2417.223 2417.223 2418.285 2418.285 2419 2419 2419.274 2419.274 2419.419 2419.419 2419.103 2419.103 2418.833 2418.833 2418.831 2418.831 2419.867 2419.867 2421.245 2421.245 2422.646 2422.646 2424.039 2424.039 2425.73 2425.73 2428.58 2428.58 2431.251 2431.251 2433.542 2433.542 2435.106 2433.083 2430.804 2430.804 2428.095 2428.095 2425.164 2425.164 2422.112 2422.112 2419.345 2419.345 2417.709 2417.709 2417.743 2417.743 2418.169 2418.169 2418.594 2418.594 2419.021 2419.021 2418.927 2418.927 2418.762 2418.762 2418.976 2418.976 2419.168 2419.168 2420.455 2420.455 2421.787 2421.787 2423.597 2423.597 2425.501 2425.501 2427.504 2427.504 2429.51 2429.51 2431.31 2431.31 2433.054 2433.054 2434.474 2433.083 2430.804 2430.804 2428.095 2428.095 2425.164 2425.164 2422.112 2422.112 2419.345 2419.345 2417.709 2417.709 2417.743 2417.743 2418.169 2418.169 2418.594 2418.594 2419.021 2419.021 2418.927 2418.927 2418.762 2418.762 2418.976 2418.976 2419.168 2419.168 2420.455 2420.455 2421.787 2421.787 2423.597 2423.597 2425.501 2425.501 2427.504 2427.504 2429.51 2429.51 2431.31 2431.31 2433.054 2433.054 2434.474 2431.609 2429.443 2429.443 2426.987 2426.987 2424.112 2424.112 2421.458 2421.458 2419.456 2419.456 2418.36 2418.36 2418.395 2418.395 2418.369 2418.369 2418.247 2418.247 2418.207 2418.207 2418.126 2418.126 2418.543 2418.543 2419.053 2419.053 2419.847 2419.847 2421.106 2421.106 2422.876 2422.876 2424.976 2424.976 2427.077 2427.077 2429.191 2429.191 2430.301 2430.301 2431.53 2431.53 2432.642 2432.642 2433.778 2431.609 2429.443 2429.443 2426.987 2426.987 2424.112 2424.112 2421.458 2421.458 2419.456 2419.456 2418.36 2418.36 2418.395 2418.395 2418.369 2418.369 2418.247 2418.247 2418.207 2418.207 2418.126 2418.126 2418.543 2418.543 2419.053 2419.053 2419.847 2419.847 2421.106 2421.106 2422.876 2422.876 2424.976 2424.976 2427.077 2427.077 2429.191 2429.191 2430.301 2430.301 2431.53 2431.53 2432.642 2432.642 2433.778 2430.343 2428.301 2428.301 2425.983 2425.983 2423.524 2423.524 2421.161 2421.161 2419.514 2419.514 2418.59 2418.59 2418.174 2418.174 2417.566 2417.566 2416.899 2416.899 2416.581 2416.581 2416.812 2416.812 2417.518 2417.518 2418.778 2418.778 2420.151 2420.151 2421.47 2421.47 2423.265 2423.265 2425.427 2425.427 2427.841 2427.841 2429.667 2429.667 2430.431 2430.431 2431.302 2431.302 2432.23 2432.23 2433.062 2430.343 2428.301 2428.301 2425.983 2425.983 2423.524 2423.524 2421.161 2421.161 2419.514 2419.514 2418.59 2418.59 2418.174 2418.174 2417.566 2417.566 2416.899 2416.899 2416.581 2416.581 2416.812 2416.812 2417.518 2417.518 2418.778 2418.778 2420.151 2420.151 2421.47 2421.47 2423.265 2423.265 2425.427 2425.427 2427.841 2427.841 2429.667 2429.667 2430.431 2430.431 2431.302 2431.302 2432.23 2432.23 2433.062 2429.231 2427.257 2427.257 2425.202 2425.202 2423.123 2423.123 2420.921 2420.921 2419.133 2419.133 2417.806 2417.806 2416.836 2416.836 2415.696 2415.696 2414.781 2414.781 2414.663 2414.663 2415.235 2415.235 2416.321 2416.321 2417.851 2417.851 2419.598 2419.598 2421.242 2421.242 2423.105 2423.105 2425.17 2425.17 2427.226 2427.226 2428.843 2428.843 2429.843 2429.843 2430.738 2430.738 2431.584 2431.584 2432.314 2429.231 2427.257 2427.257 2425.202 2425.202 2423.123 2423.123 2420.921 2420.921 2419.133 2419.133 2417.806 2417.806 2416.836 2416.836 2415.696 2415.696 2414.781 2414.781 2414.663 2414.663 2415.235 2415.235 2416.321 2416.321 2417.851 2417.851 2419.598 2419.598 2421.242 2421.242 2423.105 2423.105 2425.17 2425.17 2427.226 2427.226 2428.843 2428.843 2429.843 2429.843 2430.738 2430.738 2431.584 2431.584 2432.314 2428.34 2426.607 2426.607 2424.649 2424.649 2422.61 2422.61 2420.579 2420.579 2418.703 2418.703 2417.034 2417.034 2415.473 2415.473 2413.83 2413.83 2412.602 2412.602 2412.699 2412.699 2413.671 2413.671 2415.009 2415.009 2416.699 2416.699 2418.597 2418.597 2420.638 2420.638 2422.67 2422.67 2424.624 2424.624 2426.407 2426.407 2427.946 2427.946 2429.114 2429.114 2429.97 2429.97 2430.746 2430.746 2431.573 2428.34 2426.607 2426.607 2424.649 2424.649 2422.61 2422.61 2420.579 2420.579 2418.703 2418.703 2417.034 2417.034 2415.473 2415.473 2413.83 2413.83 2412.602 2412.602 2412.699 2412.699 2413.671 2413.671 2415.009 2415.009 2416.699 2416.699 2418.597 2418.597 2420.638 2420.638 2422.67 2422.67 2424.624 2424.624 2426.407 2426.407 2427.946 2427.946 2429.114 2429.114 2429.97 2429.97 2430.746 2430.746 2431.573 2427.616 2426.001 2426.001 2424.244 2424.244 2422.288 2422.288 2420.261 2420.261 2418.242 2418.242 2416.338 2416.338 2414.671 2414.671 2413.129 2413.129 2411.191 2411.191 2411.71 2411.71 2412.912 2412.912 2413.999 2413.999 2415.836 2415.836 2417.953 2417.953 2420.154 2420.154 2422.254 2422.254 2424.073 2424.073 2425.664 2425.664 2427.014 2427.014 2428.177 2428.177 2429.147 2429.147 2429.995 2429.995 2430.799 2427.616 2426.001 2426.001 2424.244 2424.244 2422.288 2422.288 2420.261 2420.261 2418.242 2418.242 2416.338 2416.338 2414.671 2414.671 2413.129 2413.129 2411.191 2411.191 2411.71 2411.71 2412.912 2412.912 2413.999 2413.999 2415.836 2415.836 2417.953 2417.953 2420.154 2420.154 2422.254 2422.254 2424.073 2424.073 2425.664 2425.664 2427.014 2427.014 2428.177 2428.177 2429.147 2429.147 2429.995 2429.995 2430.799 2426.904 2425.59 2425.59 2423.969 2423.969 2422.215 2422.215 2420.235 2420.235 2418.282 2418.282 2416.184 2416.184 2414.861 2414.861 2414.004 2414.004 2413.22 2413.22 2413.261 2413.261 2413.613 2413.613 2413.724 2413.724 2415.805 2415.805 2418.134 2418.134 2420.243 2420.243 2422.075 2422.075 2423.611 2423.611 2425.036 2425.036 2426.291 2426.291 2427.373 2427.373 2428.369 2428.369 2429.179 2429.179 2430.018 2426.904 2425.59 2425.59 2423.969 2423.969 2422.215 2422.215 2420.235 2420.235 2418.282 2418.282 2416.184 2416.184 2414.861 2414.861 2414.004 2414.004 2413.22 2413.22 2413.261 2413.261 2413.613 2413.613 2413.724 2413.724 2415.805 2415.805 2418.134 2418.134 2420.243 2420.243 2422.075 2422.075 2423.611 2423.611 2425.036 2425.036 2426.291 2426.291 2427.373 2427.373 2428.369 2428.369 2429.179 2429.179 2430.018 2426.257 2425.26 2425.26 2423.771 2423.771 2422.147 2422.147 2420.446 2420.446 2418.788 2418.788 2417.011 2417.011 2416.143 2416.143 2415.808 2415.808 2415.841 2415.841 2415.91 2415.91 2415.602 2415.602 2415.718 2415.718 2416.854 2416.854 2418.774 2418.774 2420.614 2420.614 2421.929 2421.929 2423.266 2423.266 2424.519 2424.519 2425.622 2425.622 2426.668 2426.668 2427.618 2427.618 2428.399 2428.399 2429.265 2426.257 2425.26 2425.26 2423.771 2423.771 2422.147 2422.147 2420.446 2420.446 2418.788 2418.788 2417.011 2417.011 2416.143 2416.143 2415.808 2415.808 2415.841 2415.841 2415.91 2415.91 2415.602 2415.602 2415.718 2415.718 2416.854 2416.854 2418.774 2418.774 2420.614 2420.614 2421.929 2421.929 2423.266 2423.266 2424.519 2424.519 2425.622 2425.622 2426.668 2426.668 2427.618 2427.618 2428.399 2428.399 2429.265 2425.563 2424.718 2424.718 2423.413 2423.413 2422.057 2422.057 2420.845 2420.845 2419.639 2419.639 2418.593 2418.593 2417.899 2417.899 2417.855 2417.855 2418.48 2418.48 2418.933 2418.933 2417.727 2417.727 2417.232 2417.232 2417.744 2417.744 2418.959 2418.959 2420.354 2420.354 2421.641 2421.641 2422.887 2422.887 2423.952 2423.952 2425.122 2425.122 2426.142 2426.142 2427.015 2427.015 2427.716 2427.716 2428.593 2425.563 2424.718 2424.718 2423.413 2423.413 2422.057 2422.057 2420.845 2420.845 2419.639 2419.639 2418.593 2418.593 2417.899 2417.899 2417.855 2417.855 2418.48 2418.48 2418.933 2418.933 2417.727 2417.727 2417.232 2417.232 2417.744 2417.744 2418.959 2418.959 2420.354 2420.354 2421.641 2421.641 2422.887 2422.887 2423.952 2423.952 2425.122 2425.122 2426.142 2426.142 2427.015 2427.015 2427.716 2427.716 2428.593 2425.049 2424.177 2424.177 2423.127 2423.127 2422.092 2422.092 2421.155 2421.155 2420.471 2420.471 2419.958 2419.958 2419.212 2419.212 2419.065 2419.065 2419.46 2419.46 2419.644 2419.644 2418.583 2418.583 2417.91 2417.91 2418.061 2418.061 2418.711 2418.711 2419.894 2419.894 2421.256 2421.256 2422.503 2422.503 2423.525 2423.525 2424.635 2424.635 2425.612 2425.612 2426.474 2426.474 2427.229 2427.229 2428.055 2425.049 2424.177 2424.177 2423.127 2423.127 2422.092 2422.092 2421.155 2421.155 2420.471 2420.471 2419.958 2419.958 2419.212 2419.212 2419.065 2419.065 2419.46 2419.46 2419.644 2419.644 2418.583 2418.583 2417.91 2417.91 2418.061 2418.061 2418.711 2418.711 2419.894 2419.894 2421.256 2421.256 2422.503 2422.503 2423.525 2423.525 2424.635 2424.635 2425.612 2425.612 2426.474 2426.474 2427.229 2427.229 2428.055 2424.393 2423.651 2423.651 2422.851 2422.851 2422.045 2422.045 2421.436 2421.436 2420.864 2420.864 2420.357 2420.357 2419.777 2419.777 2419.438 2419.438 2419.367 2419.367 2418.758 2418.758 2418.101 2418.101 2418.109 2418.109 2418.293 2418.293 2418.48 2418.48 2419.643 2419.643 2420.97 2420.97 2422.186 2422.186 2423.211 2423.211 2424.28 2424.28 2425.224 2425.224 2426.014 2426.014 2426.876 2426.876 2427.602 2424.393 2423.651 2423.651 2422.851 2422.851 2422.045 2422.045 2421.436 2421.436 2420.864 2420.864 2420.357 2420.357 2419.777 2419.777 2419.438 2419.438 2419.367 2419.367 2418.758 2418.758 2418.101 2418.101 2418.109 2418.109 2418.293 2418.293 2418.48 2418.48 2419.643 2419.643 2420.97 2420.97 2422.186 2422.186 2423.211 2423.211 2424.28 2424.28 2425.224 2425.224 2426.014 2426.014 2426.876 2426.876 2427.602 2423.729 2423.104 2423.104 2422.505 2422.505 2421.958 2421.958 2421.416 2421.416 2420.97 2420.97 2420.454 2420.454 2419.921 2419.921 2419.539 2419.539 2419.074 2419.074 2418.152 2418.152 2417.792 2417.792 2418.086 2418.086 2418.437 2418.437 2418.994 2418.994 2419.844 2419.844 2420.93 2420.93 2421.969 2421.969 2423.035 2423.035 2424.026 2424.026 2424.915 2424.915 2425.768 2425.768 2426.601 2426.601 2427.396 2423.729 2423.104 2423.104 2422.505 2422.505 2421.958 2421.958 2421.416 2421.416 2420.97 2420.97 2420.454 2420.454 2419.921 2419.921 2419.539 2419.539 2419.074 2419.074 2418.152 2418.152 2417.792 2417.792 2418.086 2418.086 2418.437 2418.437 2418.994 2418.994 2419.844 2419.844 2420.93 2420.93 2421.969 2421.969 2423.035 2423.035 2424.026 2424.026 2424.915 2424.915 2425.768 2425.768 2426.601 2426.601 2427.396 2423.144 2422.631 2422.631 2422.211 2422.211 2421.724 2421.724 2421.34 2421.34 2420.944 2420.944 2420.487 2420.487 2419.953 2419.953 2419.434 2419.434 2418.884 2418.884 2418.39 2418.39 2418.259 2418.259 2418.43 2418.43 2418.864 2418.864 2419.488 2419.488 2420.198 2420.198 2421.12 2421.12 2422.048 2422.048 2422.997 2422.997 2423.925 2423.925 2424.789 2424.789 2425.694 2425.694 2426.407 2426.407 2427.168 2423.144 2422.631 2422.631 2422.211 2422.211 2421.724 2421.724 2421.34 2421.34 2420.944 2420.944 2420.487 2420.487 2419.953 2419.953 2419.434 2419.434 2418.884 2418.884 2418.39 2418.39 2418.259 2418.259 2418.43 2418.43 2418.864 2418.864 2419.488 2419.488 2420.198 2420.198 2421.12 2421.12 2422.048 2422.048 2422.997 2422.997 2423.925 2423.925 2424.789 2424.789 2425.694 2425.694 2426.407 2426.407 2427.168 2422.6 2422.192 2422.192 2421.913 2421.913 2421.557 2421.557 2421.24 2421.24 2420.871 2420.871 2420.468 2420.468 2420.044 2420.044 2419.541 2419.541 2419.088 2419.088 2418.731 2418.731 2418.659 2418.659 2418.873 2418.873 2419.318 2419.318 2419.942 2419.942 2420.592 2420.592 2421.355 2421.355 2422.212 2422.212 2423.092 2423.092 2423.951 2423.951 2424.769 2424.769 2425.588 2425.588 2426.388 2426.388 2427.105 2422.6 2422.192 2422.192 2421.913 2421.913 2421.557 2421.557 2421.24 2421.24 2420.871 2420.871 2420.468 2420.468 2420.044 2420.044 2419.541 2419.541 2419.088 2419.088 2418.731 2418.731 2418.659 2418.659 2418.873 2418.873 2419.318 2419.318 2419.942 2419.942 2420.592 2420.592 2421.355 2421.355 2422.212 2422.212 2423.092 2423.092 2423.951 2423.951 2424.769 2424.769 2425.588 2425.588 2426.388 2426.388 2427.105 2422.097 2421.882 2421.882 2421.616 2421.616 2421.418 2421.418 2421.123 2421.123 2420.833 2420.833 2420.525 2420.525 2420.138 2420.138 2419.708 2419.708 2419.391 2419.391 2419.125 2419.125 2419.049 2419.049 2419.291 2419.291 2419.734 2419.734 2420.346 2420.346 2420.978 2420.978 2421.643 2421.643 2422.407 2422.407 2423.214 2423.214 2424.019 2424.019 2424.809 2424.809 2425.598 2425.598 2426.39 2426.39 2427.095 2422.097 2421.882 2421.882 2421.616 2421.616 2421.418 2421.418 2421.123 2421.123 2420.833 2420.833 2420.525 2420.525 2420.138 2420.138 2419.708 2419.708 2419.391 2419.391 2419.125 2419.125 2419.049 2419.049 2419.291 2419.291 2419.734 2419.734 2420.346 2420.346 2420.978 2420.978 2421.643 2421.643 2422.407 2422.407 2423.214 2423.214 2424.019 2424.019 2424.809 2424.809 2425.598 2425.598 2426.39 2426.39 2427.095 2421.635 2421.505 2421.505 2421.42 2421.42 2421.239 2421.239 2421.016 2421.016 2420.799 2420.799 2420.545 2420.545 2420.23 2420.23 2419.911 2419.911 2419.622 2419.622 2419.454 2419.454 2419.398 2419.398 2419.611 2419.611 2420.044 2420.044 2420.667 2420.667 2421.288 2421.288 2421.943 2421.943 2422.66 2422.66 2423.424 2423.424 2424.194 2424.194 2424.953 2424.953 2425.74 2425.74 2426.42 2426.42 2427.12 2421.635 2421.505 2421.505 2421.42 2421.42 2421.239 2421.239 2421.016 2421.016 2420.799 2420.799 2420.545 2420.545 2420.23 2420.23 2419.911 2419.911 2419.622 2419.622 2419.454 2419.454 2419.398 2419.398 2419.611 2419.611 2420.044 2420.044 2420.667 2420.667 2421.288 2421.288 2421.943 2421.943 2422.66 2422.66 2423.424 2423.424 2424.194 2424.194 2424.953 2424.953 2425.74 2425.74 2426.42 2426.42 2427.12 2421.345 2421.265 2421.265 2421.257 2421.257 2421.132 2421.132 2420.955 2420.955 2420.769 2420.769 2420.551 2420.551 2420.292 2420.292 2420.016 2420.016 2419.807 2419.807 2419.647 2419.647 2419.646 2419.646 2419.863 2419.863 2420.262 2420.262 2420.841 2420.841 2421.473 2421.473 2422.132 2422.132 2422.779 2422.779 2423.541 2423.541 2424.32 2424.32 2425.084 2425.084 2425.853 2425.853 2426.591 2426.591 2427.161 2443.851 2442.344 2442.344 2440.895 2440.895 2439.45 2439.45 2438 2438 2436.219 2436.219 2434.261 2434.261 2432.552 2432.552 2430.578 2430.578 2428.751 2428.751 2428.8 2428.8 2430.82 2430.82 2433.182 2433.182 2435.772 2435.772 2437.404 2437.404 2436.886 2436.886 2436.325 2436.325 2435.877 2435.877 2435.934 2435.934 2436.264 2436.264 2436.76 2436.76 2437.408 2437.408 2438.145 2438.145 2438.937 2443.769 2442.286 2442.286 2440.763 2440.763 2439.278 2439.278 2438.003 2438.003 2436.156 2436.156 2433.98 2433.98 2431.727 2431.727 2429.674 2429.674 2428.292 2428.292 2428.297 2428.297 2429.641 2429.641 2431.655 2431.655 2434.019 2434.019 2435.555 2435.555 2434.967 2434.967 2434.449 2434.449 2434.092 2434.092 2434.271 2434.271 2434.936 2434.936 2435.865 2435.865 2436.846 2436.846 2437.814 2437.814 2438.746 2443.769 2442.286 2442.286 2440.763 2440.763 2439.278 2439.278 2438.003 2438.003 2436.156 2436.156 2433.98 2433.98 2431.727 2431.727 2429.674 2429.674 2428.292 2428.292 2428.297 2428.297 2429.641 2429.641 2431.655 2431.655 2434.019 2434.019 2435.555 2435.555 2434.967 2434.967 2434.449 2434.449 2434.092 2434.092 2434.271 2434.271 2434.936 2434.936 2435.865 2435.865 2436.846 2436.846 2437.814 2437.814 2438.746 2443.53 2441.982 2441.982 2440.405 2440.405 2439.142 2439.142 2437.791 2437.791 2435.933 2435.933 2433.347 2433.347 2430.739 2430.739 2428.74 2428.74 2427.592 2427.592 2427.848 2427.848 2428.221 2428.221 2429.456 2429.456 2430.977 2430.977 2431.81 2431.81 2431.924 2431.924 2431.873 2431.873 2431.779 2431.779 2432.358 2432.358 2433.447 2433.447 2434.727 2434.727 2436.154 2436.154 2437.627 2437.627 2438.723 2443.53 2441.982 2441.982 2440.405 2440.405 2439.142 2439.142 2437.791 2437.791 2435.933 2435.933 2433.347 2433.347 2430.739 2430.739 2428.74 2428.74 2427.592 2427.592 2427.848 2427.848 2428.221 2428.221 2429.456 2429.456 2430.977 2430.977 2431.81 2431.81 2431.924 2431.924 2431.873 2431.873 2431.779 2431.779 2432.358 2432.358 2433.447 2433.447 2434.727 2434.727 2436.154 2436.154 2437.627 2437.627 2438.723 2443.058 2441.451 2441.451 2439.695 2439.695 2438.205 2438.205 2437.062 2437.062 2435.604 2435.604 2432.079 2432.079 2429.218 2429.218 2427.355 2427.355 2426.899 2426.899 2426.625 2426.625 2426.596 2426.596 2427.05 2427.05 2427.615 2427.615 2428.039 2428.039 2428.531 2428.531 2428.552 2428.552 2429.139 2429.139 2430.074 2430.074 2431.571 2431.571 2433.434 2433.434 2435.58 2435.58 2437.404 2437.404 2438.767 2443.058 2441.451 2441.451 2439.695 2439.695 2438.205 2438.205 2437.062 2437.062 2435.604 2435.604 2432.079 2432.079 2429.218 2429.218 2427.355 2427.355 2426.899 2426.899 2426.625 2426.625 2426.596 2426.596 2427.05 2427.05 2427.615 2427.615 2428.039 2428.039 2428.531 2428.531 2428.552 2428.552 2429.139 2429.139 2430.074 2430.074 2431.571 2431.571 2433.434 2433.434 2435.58 2435.58 2437.404 2437.404 2438.767 2442.524 2440.353 2440.353 2438.223 2438.223 2436.302 2436.302 2434.677 2434.677 2432.661 2432.661 2429.376 2429.376 2426.763 2426.763 2425.441 2425.441 2425.224 2425.224 2425.129 2425.129 2425.202 2425.202 2424.969 2424.969 2424.477 2424.477 2424.291 2424.291 2424.922 2424.922 2425.808 2425.808 2426.606 2426.606 2427.542 2427.542 2429.484 2429.484 2432.196 2432.196 2434.871 2434.871 2437.297 2437.297 2438.972 2442.524 2440.353 2440.353 2438.223 2438.223 2436.302 2436.302 2434.677 2434.677 2432.661 2432.661 2429.376 2429.376 2426.763 2426.763 2425.441 2425.441 2425.224 2425.224 2425.129 2425.129 2425.202 2425.202 2424.969 2424.969 2424.477 2424.477 2424.291 2424.291 2424.922 2424.922 2425.808 2425.808 2426.606 2426.606 2427.542 2427.542 2429.484 2429.484 2432.196 2432.196 2434.871 2434.871 2437.297 2437.297 2438.972 2441.261 2438.762 2438.762 2436.239 2436.239 2433.646 2433.646 2430.963 2430.963 2427.792 2427.792 2424.997 2424.997 2423.631 2423.631 2423.311 2423.311 2423.503 2423.503 2423.757 2423.757 2423.851 2423.851 2423.089 2423.089 2422.216 2422.216 2421.641 2421.641 2422.693 2422.693 2423.794 2423.794 2424.705 2424.705 2425.468 2425.468 2427.661 2427.661 2430.998 2430.998 2434.209 2434.209 2437.281 2437.281 2439.331 2441.261 2438.762 2438.762 2436.239 2436.239 2433.646 2433.646 2430.963 2430.963 2427.792 2427.792 2424.997 2424.997 2423.631 2423.631 2423.311 2423.311 2423.503 2423.503 2423.757 2423.757 2423.851 2423.851 2423.089 2423.089 2422.216 2422.216 2421.641 2421.641 2422.693 2422.693 2423.794 2423.794 2424.705 2424.705 2425.468 2425.468 2427.661 2427.661 2430.998 2430.998 2434.209 2434.209 2437.281 2437.281 2439.331 2439.346 2436.78 2436.78 2434.004 2434.004 2430.907 2430.907 2427.374 2427.374 2423.39 2423.39 2419.954 2419.954 2420.663 2420.663 2421.706 2421.706 2422.455 2422.455 2422.858 2422.858 2422.971 2422.971 2422.287 2422.287 2421.221 2421.221 2421.05 2421.05 2421.639 2421.639 2422.79 2422.79 2423.989 2423.989 2425.09 2425.09 2427.099 2427.099 2430.363 2430.363 2433.69 2433.69 2436.736 2436.736 2438.746 2439.346 2436.78 2436.78 2434.004 2434.004 2430.907 2430.907 2427.374 2427.374 2423.39 2423.39 2419.954 2419.954 2420.663 2420.663 2421.706 2421.706 2422.455 2422.455 2422.858 2422.858 2422.971 2422.971 2422.287 2422.287 2421.221 2421.221 2421.05 2421.05 2421.639 2421.639 2422.79 2422.79 2423.989 2423.989 2425.09 2425.09 2427.099 2427.099 2430.363 2430.363 2433.69 2433.69 2436.736 2436.736 2438.746 2437.322 2434.793 2434.793 2431.902 2431.902 2428.642 2428.642 2425.076 2425.076 2421.255 2421.255 2418.358 2418.358 2419.455 2419.455 2420.985 2420.985 2422.11 2422.11 2422.571 2422.571 2422.542 2422.542 2421.806 2421.806 2421.013 2421.013 2420.485 2420.485 2421.403 2421.403 2422.806 2422.806 2424.235 2424.235 2425.663 2425.663 2427.438 2427.438 2430.531 2430.531 2433.432 2433.432 2435.925 2435.925 2437.64 2437.322 2434.793 2434.793 2431.902 2431.902 2428.642 2428.642 2425.076 2425.076 2421.255 2421.255 2418.358 2418.358 2419.455 2419.455 2420.985 2420.985 2422.11 2422.11 2422.571 2422.571 2422.542 2422.542 2421.806 2421.806 2421.013 2421.013 2420.485 2420.485 2421.403 2421.403 2422.806 2422.806 2424.235 2424.235 2425.663 2425.663 2427.438 2427.438 2430.531 2430.531 2433.432 2433.432 2435.925 2435.925 2437.64 2435.388 2433.017 2433.017 2430.18 2430.18 2427.142 2427.142 2424.002 2424.002 2421.234 2421.234 2419.759 2419.759 2420.204 2420.204 2421.095 2421.095 2422.007 2422.007 2422.773 2422.773 2422.321 2422.321 2421.62 2421.62 2421.291 2421.291 2420.94 2420.94 2422.104 2422.104 2423.385 2423.385 2425.227 2425.227 2427.187 2427.187 2429.298 2429.298 2431.434 2431.434 2433.412 2433.412 2435.309 2435.309 2436.862 2435.388 2433.017 2433.017 2430.18 2430.18 2427.142 2427.142 2424.002 2424.002 2421.234 2421.234 2419.759 2419.759 2420.204 2420.204 2421.095 2421.095 2422.007 2422.007 2422.773 2422.773 2422.321 2422.321 2421.62 2421.62 2421.291 2421.291 2420.94 2420.94 2422.104 2422.104 2423.385 2423.385 2425.227 2425.227 2427.187 2427.187 2429.298 2429.298 2431.434 2431.434 2433.412 2433.412 2435.309 2435.309 2436.862 2433.855 2431.616 2431.616 2429.078 2429.078 2426.121 2426.121 2423.426 2423.426 2421.483 2421.483 2420.57 2420.57 2420.951 2420.951 2421.341 2421.341 2421.621 2421.621 2421.881 2421.881 2421.478 2421.478 2421.478 2421.478 2421.568 2421.568 2421.978 2421.978 2423.015 2423.015 2424.697 2424.697 2426.775 2426.775 2428.858 2428.858 2431.061 2431.061 2432.217 2432.217 2433.533 2433.533 2434.777 2434.777 2436.018 2433.855 2431.616 2431.616 2429.078 2429.078 2426.121 2426.121 2423.426 2423.426 2421.483 2421.483 2420.57 2420.57 2420.951 2420.951 2421.341 2421.341 2421.621 2421.621 2421.881 2421.881 2421.478 2421.478 2421.478 2421.478 2421.568 2421.568 2421.978 2421.978 2423.015 2423.015 2424.697 2424.697 2426.775 2426.775 2428.858 2428.858 2431.061 2431.061 2432.217 2432.217 2433.533 2433.533 2434.777 2434.777 2436.018 2432.541 2430.448 2430.448 2428.078 2428.078 2425.574 2425.574 2423.214 2423.214 2421.597 2421.597 2420.823 2420.823 2420.649 2420.649 2420.301 2420.301 2419.883 2419.883 2419.662 2419.662 2419.786 2419.786 2420.271 2420.271 2421.368 2421.368 2422.537 2422.537 2423.576 2423.576 2425.207 2425.207 2427.288 2427.288 2429.693 2429.693 2431.537 2431.537 2432.312 2432.312 2433.235 2433.235 2434.221 2434.221 2435.151 2432.541 2430.448 2430.448 2428.078 2428.078 2425.574 2425.574 2423.214 2423.214 2421.597 2421.597 2420.823 2420.823 2420.649 2420.649 2420.301 2420.301 2419.883 2419.883 2419.662 2419.662 2419.786 2419.786 2420.271 2420.271 2421.368 2421.368 2422.537 2422.537 2423.576 2423.576 2425.207 2425.207 2427.288 2427.288 2429.693 2429.693 2431.537 2431.537 2432.312 2432.312 2433.235 2433.235 2434.221 2434.221 2435.151 2431.386 2429.386 2429.386 2427.299 2427.299 2425.225 2425.225 2423.048 2423.048 2421.279 2421.279 2420.029 2420.029 2419.073 2419.073 2417.993 2417.993 2417.216 2417.216 2417.202 2417.202 2417.737 2417.737 2418.735 2418.735 2420.233 2420.233 2421.941 2421.941 2423.42 2423.42 2425.095 2425.095 2427.027 2427.027 2429.015 2429.015 2430.617 2430.617 2431.632 2431.632 2432.571 2432.571 2433.479 2433.479 2434.286 2431.386 2429.386 2429.386 2427.299 2427.299 2425.225 2425.225 2423.048 2423.048 2421.279 2421.279 2420.029 2420.029 2419.073 2419.073 2417.993 2417.993 2417.216 2417.216 2417.202 2417.202 2417.737 2417.737 2418.735 2418.735 2420.233 2420.233 2421.941 2421.941 2423.42 2423.42 2425.095 2425.095 2427.027 2427.027 2429.015 2429.015 2430.617 2430.617 2431.632 2431.632 2432.571 2432.571 2433.479 2433.479 2434.286 2430.453 2428.716 2428.716 2426.741 2426.741 2424.706 2424.706 2422.69 2422.69 2420.864 2420.864 2419.227 2419.227 2417.616 2417.616 2415.795 2415.795 2414.657 2414.657 2414.82 2414.82 2415.679 2415.679 2416.947 2416.947 2418.736 2418.736 2420.781 2420.781 2422.781 2422.781 2424.626 2424.626 2426.41 2426.41 2428.076 2428.076 2429.604 2429.604 2430.795 2430.795 2431.695 2431.695 2432.543 2432.543 2433.448 2430.453 2428.716 2428.716 2426.741 2426.741 2424.706 2424.706 2422.69 2422.69 2420.864 2420.864 2419.227 2419.227 2417.616 2417.616 2415.795 2415.795 2414.657 2414.657 2414.82 2414.82 2415.679 2415.679 2416.947 2416.947 2418.736 2418.736 2420.781 2420.781 2422.781 2422.781 2424.626 2424.626 2426.41 2426.41 2428.076 2428.076 2429.604 2429.604 2430.795 2430.795 2431.695 2431.695 2432.543 2432.543 2433.448 2429.698 2428.067 2428.067 2426.291 2426.291 2424.339 2424.339 2422.34 2422.34 2420.375 2420.375 2418.53 2418.53 2416.817 2416.817 2415.218 2415.218 2413.228 2413.228 2413.586 2413.586 2414.506 2414.506 2415.37 2415.37 2417.396 2417.396 2419.917 2419.917 2422.188 2422.188 2424.118 2424.118 2425.773 2425.773 2427.243 2427.243 2428.567 2428.567 2429.753 2429.753 2430.767 2430.767 2431.688 2431.688 2432.58 2429.698 2428.067 2428.067 2426.291 2426.291 2424.339 2424.339 2422.34 2422.34 2420.375 2420.375 2418.53 2418.53 2416.817 2416.817 2415.218 2415.218 2413.228 2413.228 2413.586 2413.586 2414.506 2414.506 2415.37 2415.37 2417.396 2417.396 2419.917 2419.917 2422.188 2422.188 2424.118 2424.118 2425.773 2425.773 2427.243 2427.243 2428.567 2428.567 2429.753 2429.753 2430.767 2430.767 2431.688 2431.688 2432.58 2428.924 2427.588 2427.588 2425.941 2425.941 2424.163 2424.163 2422.221 2422.221 2420.392 2420.392 2418.468 2418.468 2417.166 2417.166 2416.194 2416.194 2415.285 2415.285 2415.062 2415.062 2414.984 2414.984 2414.545 2414.545 2416.905 2416.905 2419.604 2419.604 2421.886 2421.886 2423.685 2423.685 2425.143 2425.143 2426.508 2426.508 2427.748 2427.748 2428.855 2428.855 2429.9 2429.9 2430.783 2430.783 2431.713 2428.924 2427.588 2427.588 2425.941 2425.941 2424.163 2424.163 2422.221 2422.221 2420.392 2420.392 2418.468 2418.468 2417.166 2417.166 2416.194 2416.194 2415.285 2415.285 2415.062 2415.062 2414.984 2414.984 2414.545 2414.545 2416.905 2416.905 2419.604 2419.604 2421.886 2421.886 2423.685 2423.685 2425.143 2425.143 2426.508 2426.508 2427.748 2427.748 2428.855 2428.855 2429.9 2429.9 2430.783 2430.783 2431.713 2428.19 2427.16 2427.16 2425.607 2425.607 2423.936 2423.936 2422.233 2422.233 2420.671 2420.671 2419.109 2419.109 2418.359 2418.359 2417.973 2417.973 2417.975 2417.975 2417.82 2417.82 2417.065 2417.065 2416.761 2416.761 2417.822 2417.822 2419.896 2419.896 2421.883 2421.883 2423.259 2423.259 2424.604 2424.604 2425.858 2425.858 2426.975 2426.975 2428.056 2428.056 2429.059 2429.059 2429.914 2429.914 2430.876 2428.19 2427.16 2427.16 2425.607 2425.607 2423.936 2423.936 2422.233 2422.233 2420.671 2420.671 2419.109 2419.109 2418.359 2418.359 2417.973 2417.973 2417.975 2417.975 2417.82 2417.82 2417.065 2417.065 2416.761 2416.761 2417.822 2417.822 2419.896 2419.896 2421.883 2421.883 2423.259 2423.259 2424.604 2424.604 2425.858 2425.858 2426.975 2426.975 2428.056 2428.056 2429.059 2429.059 2429.914 2429.914 2430.876 2427.394 2426.48 2426.48 2425.065 2425.065 2423.607 2423.607 2422.352 2422.352 2421.102 2421.102 2420.149 2420.149 2419.717 2419.717 2419.889 2419.889 2420.694 2420.694 2421.097 2421.097 2419.334 2419.334 2418.379 2418.379 2418.659 2418.659 2419.826 2419.826 2421.295 2421.295 2422.712 2422.712 2424.037 2424.037 2425.132 2425.132 2426.369 2426.369 2427.443 2427.443 2428.374 2428.374 2429.145 2429.145 2430.135 2427.394 2426.48 2426.48 2425.065 2425.065 2423.607 2423.607 2422.352 2422.352 2421.102 2421.102 2420.149 2420.149 2419.717 2419.717 2419.889 2419.889 2420.694 2420.694 2421.097 2421.097 2419.334 2419.334 2418.379 2418.379 2418.659 2418.659 2419.826 2419.826 2421.295 2421.295 2422.712 2422.712 2424.037 2424.037 2425.132 2425.132 2426.369 2426.369 2427.443 2427.443 2428.374 2428.374 2429.145 2429.145 2430.135 2426.785 2425.821 2425.821 2424.641 2424.641 2423.47 2423.47 2422.379 2422.379 2421.513 2421.513 2420.972 2420.972 2420.635 2420.635 2420.8 2420.8 2421.424 2421.424 2421.613 2421.613 2420.135 2420.135 2419.006 2419.006 2418.858 2418.858 2419.334 2419.334 2420.579 2420.579 2422.124 2422.124 2423.499 2423.499 2424.591 2424.591 2425.799 2425.799 2426.85 2426.85 2427.785 2427.785 2428.625 2428.625 2429.556 2426.785 2425.821 2425.821 2424.641 2424.641 2423.47 2423.47 2422.379 2422.379 2421.513 2421.513 2420.972 2420.972 2420.635 2420.635 2420.8 2420.8 2421.424 2421.424 2421.613 2421.613 2420.135 2420.135 2419.006 2419.006 2418.858 2418.858 2419.334 2419.334 2420.579 2420.579 2422.124 2422.124 2423.499 2423.499 2424.591 2424.591 2425.799 2425.799 2426.85 2426.85 2427.785 2427.785 2428.625 2428.625 2429.556 2426.055 2425.21 2425.21 2424.282 2424.282 2423.319 2423.319 2422.537 2422.537 2421.808 2421.808 2421.311 2421.311 2420.994 2420.994 2420.89 2420.89 2420.96 2420.96 2420.272 2420.272 2419.362 2419.362 2419.114 2419.114 2419.029 2419.029 2418.945 2418.945 2420.189 2420.189 2421.687 2421.687 2423.082 2423.082 2424.209 2424.209 2425.393 2425.393 2426.432 2426.432 2427.319 2427.319 2428.273 2428.273 2429.088 2426.055 2425.21 2425.21 2424.282 2424.282 2423.319 2423.319 2422.537 2422.537 2421.808 2421.808 2421.311 2421.311 2420.994 2420.994 2420.89 2420.89 2420.96 2420.96 2420.272 2420.272 2419.362 2419.362 2419.114 2419.114 2419.029 2419.029 2418.945 2418.945 2420.189 2420.189 2421.687 2421.687 2423.082 2423.082 2424.209 2424.209 2425.393 2425.393 2426.432 2426.432 2427.319 2427.319 2428.273 2428.273 2429.088 2425.343 2424.614 2424.614 2423.892 2423.892 2423.195 2423.195 2422.512 2422.512 2421.985 2421.985 2421.467 2421.467 2421.033 2421.033 2420.798 2420.798 2420.397 2420.397 2419.367 2419.367 2418.844 2418.844 2419.002 2419.002 2419.167 2419.167 2419.594 2419.594 2420.448 2420.448 2421.654 2421.654 2422.82 2422.82 2424.016 2424.016 2425.126 2425.126 2426.123 2426.123 2427.074 2427.074 2428.007 2428.007 2428.906 2425.343 2424.614 2424.614 2423.892 2423.892 2423.195 2423.195 2422.512 2422.512 2421.985 2421.985 2421.467 2421.467 2421.033 2421.033 2420.798 2420.798 2420.397 2420.397 2419.367 2419.367 2418.844 2418.844 2419.002 2419.002 2419.167 2419.167 2419.594 2419.594 2420.448 2420.448 2421.654 2421.654 2422.82 2422.82 2424.016 2424.016 2425.126 2425.126 2426.123 2426.123 2427.074 2427.074 2428.007 2428.007 2428.906 2424.742 2424.13 2424.13 2423.602 2423.602 2423.004 2423.004 2422.485 2422.485 2422.031 2422.031 2421.56 2421.56 2421.073 2421.073 2420.607 2420.607 2420.072 2420.072 2419.516 2419.516 2419.276 2419.276 2419.334 2419.334 2419.664 2419.664 2420.221 2420.221 2420.911 2420.911 2421.909 2421.909 2422.943 2422.943 2424.009 2424.009 2425.045 2425.045 2426.007 2426.007 2427.016 2427.016 2427.83 2427.83 2428.693 2424.742 2424.13 2424.13 2423.602 2423.602 2423.004 2423.004 2422.485 2422.485 2422.031 2422.031 2421.56 2421.56 2421.073 2421.073 2420.607 2420.607 2420.072 2420.072 2419.516 2419.516 2419.276 2419.276 2419.334 2419.334 2419.664 2419.664 2420.221 2420.221 2420.911 2420.911 2421.909 2421.909 2422.943 2422.943 2424.009 2424.009 2425.045 2425.045 2426.007 2426.007 2427.016 2427.016 2427.83 2427.83 2428.693 2424.208 2423.711 2423.711 2423.337 2423.337 2422.882 2422.882 2422.469 2422.469 2422.053 2422.053 2421.625 2421.625 2421.191 2421.191 2420.717 2420.717 2420.25 2420.25 2419.848 2419.848 2419.695 2419.695 2419.836 2419.836 2420.216 2420.216 2420.803 2420.803 2421.43 2421.43 2422.255 2422.255 2423.182 2423.182 2424.149 2424.149 2425.103 2425.103 2426.02 2426.02 2426.936 2426.936 2427.837 2427.837 2428.656 2424.208 2423.711 2423.711 2423.337 2423.337 2422.882 2422.882 2422.469 2422.469 2422.053 2422.053 2421.625 2421.625 2421.191 2421.191 2420.717 2420.717 2420.25 2420.25 2419.848 2419.848 2419.695 2419.695 2419.836 2419.836 2420.216 2420.216 2420.803 2420.803 2421.43 2421.43 2422.255 2422.255 2423.182 2423.182 2424.149 2424.149 2425.103 2425.103 2426.02 2426.02 2426.936 2426.936 2427.837 2427.837 2428.656 2423.735 2423.445 2423.445 2423.101 2423.101 2422.836 2422.836 2422.457 2422.457 2422.119 2422.119 2421.764 2421.764 2421.363 2421.363 2420.928 2420.928 2420.598 2420.598 2420.285 2420.285 2420.156 2420.156 2420.34 2420.34 2420.741 2420.741 2421.334 2421.334 2421.948 2421.948 2422.653 2422.653 2423.465 2423.465 2424.34 2424.34 2425.224 2425.224 2426.105 2426.105 2426.99 2426.99 2427.883 2427.883 2428.685 2423.735 2423.445 2423.445 2423.101 2423.101 2422.836 2422.836 2422.457 2422.457 2422.119 2422.119 2421.764 2421.764 2421.363 2421.363 2420.928 2420.928 2420.598 2420.598 2420.285 2420.285 2420.156 2420.156 2420.34 2420.34 2420.741 2420.741 2421.334 2421.334 2421.948 2421.948 2422.653 2422.653 2423.465 2423.465 2424.34 2424.34 2425.224 2425.224 2426.105 2426.105 2426.99 2426.99 2427.883 2427.883 2428.685 2423.323 2423.136 2423.136 2423.007 2423.007 2422.759 2422.759 2422.469 2422.469 2422.198 2422.198 2421.893 2421.893 2421.544 2421.544 2421.217 2421.217 2420.899 2420.899 2420.691 2420.691 2420.585 2420.585 2420.763 2420.763 2421.169 2421.169 2421.781 2421.781 2422.393 2422.393 2423.079 2423.079 2423.833 2423.833 2424.65 2424.65 2425.481 2425.481 2426.31 2426.31 2427.185 2427.185 2427.952 2427.952 2428.744 2423.323 2423.136 2423.136 2423.007 2423.007 2422.759 2422.759 2422.469 2422.469 2422.198 2422.198 2421.893 2421.893 2421.544 2421.544 2421.217 2421.217 2420.899 2420.899 2420.691 2420.691 2420.585 2420.585 2420.763 2420.763 2421.169 2421.169 2421.781 2421.781 2422.393 2422.393 2423.079 2423.079 2423.833 2423.833 2424.65 2424.65 2425.481 2425.481 2426.31 2426.31 2427.185 2427.185 2427.952 2427.952 2428.744 2423.104 2422.982 2422.982 2422.948 2422.948 2422.771 2422.771 2422.537 2422.537 2422.296 2422.296 2422.03 2422.03 2421.73 2421.73 2421.417 2421.417 2421.177 2421.177 2420.968 2420.968 2420.922 2420.922 2421.106 2421.106 2421.477 2421.477 2422.044 2422.044 2422.684 2422.684 2423.358 2423.358 2424.03 2424.03 2424.834 2424.834 2425.669 2425.669 2426.504 2426.504 2427.346 2427.346 2428.167 2428.167 2428.816 2443.851 2442.344 2442.344 2440.895 2440.895 2439.45 2439.45 2438 2438 2436.219 2436.219 2434.261 2434.261 2432.552 2432.552 2430.578 2430.578 2428.751 2428.751 2428.8 2428.8 2430.82 2430.82 2433.182 2433.182 2435.772 2435.772 2437.404 2437.404 2436.886 2436.886 2436.325 2436.325 2435.877 2435.877 2435.934 2435.934 2436.264 2436.264 2436.76 2436.76 2437.408 2437.408 2438.145 2438.145 2438.937 2443.769 2442.286 2442.286 2440.763 2440.763 2439.278 2439.278 2438.003 2438.003 2436.156 2436.156 2433.98 2433.98 2431.727 2431.727 2429.674 2429.674 2428.292 2428.292 2428.297 2428.297 2429.641 2429.641 2431.655 2431.655 2434.019 2434.019 2435.555 2435.555 2434.967 2434.967 2434.449 2434.449 2434.092 2434.092 2434.271 2434.271 2434.936 2434.936 2435.865 2435.865 2436.846 2436.846 2437.814 2437.814 2438.746 2443.769 2442.286 2442.286 2440.763 2440.763 2439.278 2439.278 2438.003 2438.003 2436.156 2436.156 2433.98 2433.98 2431.727 2431.727 2429.674 2429.674 2428.292 2428.292 2428.297 2428.297 2429.641 2429.641 2431.655 2431.655 2434.019 2434.019 2435.555 2435.555 2434.967 2434.967 2434.449 2434.449 2434.092 2434.092 2434.271 2434.271 2434.936 2434.936 2435.865 2435.865 2436.846 2436.846 2437.814 2437.814 2438.746 2443.53 2441.982 2441.982 2440.405 2440.405 2439.142 2439.142 2437.791 2437.791 2435.933 2435.933 2433.347 2433.347 2430.739 2430.739 2428.74 2428.74 2427.592 2427.592 2427.848 2427.848 2428.221 2428.221 2429.456 2429.456 2430.977 2430.977 2431.81 2431.81 2431.924 2431.924 2431.873 2431.873 2431.779 2431.779 2432.358 2432.358 2433.447 2433.447 2434.727 2434.727 2436.154 2436.154 2437.627 2437.627 2438.723 2443.53 2441.982 2441.982 2440.405 2440.405 2439.142 2439.142 2437.791 2437.791 2435.933 2435.933 2433.347 2433.347 2430.739 2430.739 2428.74 2428.74 2427.592 2427.592 2427.848 2427.848 2428.221 2428.221 2429.456 2429.456 2430.977 2430.977 2431.81 2431.81 2431.924 2431.924 2431.873 2431.873 2431.779 2431.779 2432.358 2432.358 2433.447 2433.447 2434.727 2434.727 2436.154 2436.154 2437.627 2437.627 2438.723 2443.058 2441.451 2441.451 2439.695 2439.695 2438.205 2438.205 2437.062 2437.062 2435.604 2435.604 2432.079 2432.079 2429.218 2429.218 2427.355 2427.355 2426.899 2426.899 2426.625 2426.625 2426.596 2426.596 2427.05 2427.05 2427.615 2427.615 2428.039 2428.039 2428.531 2428.531 2428.552 2428.552 2429.139 2429.139 2430.074 2430.074 2431.571 2431.571 2433.434 2433.434 2435.58 2435.58 2437.404 2437.404 2438.767 2443.058 2441.451 2441.451 2439.695 2439.695 2438.205 2438.205 2437.062 2437.062 2435.604 2435.604 2432.079 2432.079 2429.218 2429.218 2427.355 2427.355 2426.899 2426.899 2426.625 2426.625 2426.596 2426.596 2427.05 2427.05 2427.615 2427.615 2428.039 2428.039 2428.531 2428.531 2428.552 2428.552 2429.139 2429.139 2430.074 2430.074 2431.571 2431.571 2433.434 2433.434 2435.58 2435.58 2437.404 2437.404 2438.767 2442.524 2440.353 2440.353 2438.223 2438.223 2436.302 2436.302 2434.677 2434.677 2432.661 2432.661 2429.376 2429.376 2426.763 2426.763 2425.441 2425.441 2425.224 2425.224 2425.129 2425.129 2425.202 2425.202 2424.969 2424.969 2424.477 2424.477 2424.291 2424.291 2424.922 2424.922 2425.808 2425.808 2426.606 2426.606 2427.542 2427.542 2429.484 2429.484 2432.196 2432.196 2434.871 2434.871 2437.297 2437.297 2438.972 2442.524 2440.353 2440.353 2438.223 2438.223 2436.302 2436.302 2434.677 2434.677 2432.661 2432.661 2429.376 2429.376 2426.763 2426.763 2425.441 2425.441 2425.224 2425.224 2425.129 2425.129 2425.202 2425.202 2424.969 2424.969 2424.477 2424.477 2424.291 2424.291 2424.922 2424.922 2425.808 2425.808 2426.606 2426.606 2427.542 2427.542 2429.484 2429.484 2432.196 2432.196 2434.871 2434.871 2437.297 2437.297 2438.972 2441.261 2438.762 2438.762 2436.239 2436.239 2433.646 2433.646 2430.963 2430.963 2427.792 2427.792 2424.997 2424.997 2423.631 2423.631 2423.311 2423.311 2423.503 2423.503 2423.757 2423.757 2423.851 2423.851 2423.089 2423.089 2422.216 2422.216 2421.641 2421.641 2422.693 2422.693 2423.794 2423.794 2424.705 2424.705 2425.468 2425.468 2427.661 2427.661 2430.998 2430.998 2434.209 2434.209 2437.281 2437.281 2439.331 2441.261 2438.762 2438.762 2436.239 2436.239 2433.646 2433.646 2430.963 2430.963 2427.792 2427.792 2424.997 2424.997 2423.631 2423.631 2423.311 2423.311 2423.503 2423.503 2423.757 2423.757 2423.851 2423.851 2423.089 2423.089 2422.216 2422.216 2421.641 2421.641 2422.693 2422.693 2423.794 2423.794 2424.705 2424.705 2425.468 2425.468 2427.661 2427.661 2430.998 2430.998 2434.209 2434.209 2437.281 2437.281 2439.331 2439.346 2436.78 2436.78 2434.004 2434.004 2430.907 2430.907 2427.374 2427.374 2423.39 2423.39 2419.954 2419.954 2420.663 2420.663 2421.706 2421.706 2422.455 2422.455 2422.858 2422.858 2422.971 2422.971 2422.287 2422.287 2421.221 2421.221 2421.05 2421.05 2421.639 2421.639 2422.79 2422.79 2423.989 2423.989 2425.09 2425.09 2427.099 2427.099 2430.363 2430.363 2433.69 2433.69 2436.736 2436.736 2438.746 2439.346 2436.78 2436.78 2434.004 2434.004 2430.907 2430.907 2427.374 2427.374 2423.39 2423.39 2419.954 2419.954 2420.663 2420.663 2421.706 2421.706 2422.455 2422.455 2422.858 2422.858 2422.971 2422.971 2422.287 2422.287 2421.221 2421.221 2421.05 2421.05 2421.639 2421.639 2422.79 2422.79 2423.989 2423.989 2425.09 2425.09 2427.099 2427.099 2430.363 2430.363 2433.69 2433.69 2436.736 2436.736 2438.746 2437.322 2434.793 2434.793 2431.902 2431.902 2428.642 2428.642 2425.076 2425.076 2421.255 2421.255 2418.358 2418.358 2419.455 2419.455 2420.985 2420.985 2422.11 2422.11 2422.571 2422.571 2422.542 2422.542 2421.806 2421.806 2421.013 2421.013 2420.485 2420.485 2421.403 2421.403 2422.806 2422.806 2424.235 2424.235 2425.663 2425.663 2427.438 2427.438 2430.531 2430.531 2433.432 2433.432 2435.925 2435.925 2437.64 2437.322 2434.793 2434.793 2431.902 2431.902 2428.642 2428.642 2425.076 2425.076 2421.255 2421.255 2418.358 2418.358 2419.455 2419.455 2420.985 2420.985 2422.11 2422.11 2422.571 2422.571 2422.542 2422.542 2421.806 2421.806 2421.013 2421.013 2420.485 2420.485 2421.403 2421.403 2422.806 2422.806 2424.235 2424.235 2425.663 2425.663 2427.438 2427.438 2430.531 2430.531 2433.432 2433.432 2435.925 2435.925 2437.64 2435.388 2433.017 2433.017 2430.18 2430.18 2427.142 2427.142 2424.002 2424.002 2421.234 2421.234 2419.759 2419.759 2420.204 2420.204 2421.095 2421.095 2422.007 2422.007 2422.773 2422.773 2422.321 2422.321 2421.62 2421.62 2421.291 2421.291 2420.94 2420.94 2422.104 2422.104 2423.385 2423.385 2425.227 2425.227 2427.187 2427.187 2429.298 2429.298 2431.434 2431.434 2433.412 2433.412 2435.309 2435.309 2436.862 2435.388 2433.017 2433.017 2430.18 2430.18 2427.142 2427.142 2424.002 2424.002 2421.234 2421.234 2419.759 2419.759 2420.204 2420.204 2421.095 2421.095 2422.007 2422.007 2422.773 2422.773 2422.321 2422.321 2421.62 2421.62 2421.291 2421.291 2420.94 2420.94 2422.104 2422.104 2423.385 2423.385 2425.227 2425.227 2427.187 2427.187 2429.298 2429.298 2431.434 2431.434 2433.412 2433.412 2435.309 2435.309 2436.862 2433.855 2431.616 2431.616 2429.078 2429.078 2426.121 2426.121 2423.426 2423.426 2421.483 2421.483 2420.57 2420.57 2420.951 2420.951 2421.341 2421.341 2421.621 2421.621 2421.881 2421.881 2421.478 2421.478 2421.478 2421.478 2421.568 2421.568 2421.978 2421.978 2423.015 2423.015 2424.697 2424.697 2426.775 2426.775 2428.858 2428.858 2431.061 2431.061 2432.217 2432.217 2433.533 2433.533 2434.777 2434.777 2436.018 2433.855 2431.616 2431.616 2429.078 2429.078 2426.121 2426.121 2423.426 2423.426 2421.483 2421.483 2420.57 2420.57 2420.951 2420.951 2421.341 2421.341 2421.621 2421.621 2421.881 2421.881 2421.478 2421.478 2421.478 2421.478 2421.568 2421.568 2421.978 2421.978 2423.015 2423.015 2424.697 2424.697 2426.775 2426.775 2428.858 2428.858 2431.061 2431.061 2432.217 2432.217 2433.533 2433.533 2434.777 2434.777 2436.018 2432.541 2430.448 2430.448 2428.078 2428.078 2425.574 2425.574 2423.214 2423.214 2421.597 2421.597 2420.823 2420.823 2420.649 2420.649 2420.301 2420.301 2419.883 2419.883 2419.662 2419.662 2419.786 2419.786 2420.271 2420.271 2421.368 2421.368 2422.537 2422.537 2423.576 2423.576 2425.207 2425.207 2427.288 2427.288 2429.693 2429.693 2431.537 2431.537 2432.312 2432.312 2433.235 2433.235 2434.221 2434.221 2435.151 2432.541 2430.448 2430.448 2428.078 2428.078 2425.574 2425.574 2423.214 2423.214 2421.597 2421.597 2420.823 2420.823 2420.649 2420.649 2420.301 2420.301 2419.883 2419.883 2419.662 2419.662 2419.786 2419.786 2420.271 2420.271 2421.368 2421.368 2422.537 2422.537 2423.576 2423.576 2425.207 2425.207 2427.288 2427.288 2429.693 2429.693 2431.537 2431.537 2432.312 2432.312 2433.235 2433.235 2434.221 2434.221 2435.151 2431.386 2429.386 2429.386 2427.299 2427.299 2425.225 2425.225 2423.048 2423.048 2421.279 2421.279 2420.029 2420.029 2419.073 2419.073 2417.993 2417.993 2417.216 2417.216 2417.202 2417.202 2417.737 2417.737 2418.735 2418.735 2420.233 2420.233 2421.941 2421.941 2423.42 2423.42 2425.095 2425.095 2427.027 2427.027 2429.015 2429.015 2430.617 2430.617 2431.632 2431.632 2432.571 2432.571 2433.479 2433.479 2434.286 2431.386 2429.386 2429.386 2427.299 2427.299 2425.225 2425.225 2423.048 2423.048 2421.279 2421.279 2420.029 2420.029 2419.073 2419.073 2417.993 2417.993 2417.216 2417.216 2417.202 2417.202 2417.737 2417.737 2418.735 2418.735 2420.233 2420.233 2421.941 2421.941 2423.42 2423.42 2425.095 2425.095 2427.027 2427.027 2429.015 2429.015 2430.617 2430.617 2431.632 2431.632 2432.571 2432.571 2433.479 2433.479 2434.286 2430.453 2428.716 2428.716 2426.741 2426.741 2424.706 2424.706 2422.69 2422.69 2420.864 2420.864 2419.227 2419.227 2417.616 2417.616 2415.795 2415.795 2414.657 2414.657 2414.82 2414.82 2415.679 2415.679 2416.947 2416.947 2418.736 2418.736 2420.781 2420.781 2422.781 2422.781 2424.626 2424.626 2426.41 2426.41 2428.076 2428.076 2429.604 2429.604 2430.795 2430.795 2431.695 2431.695 2432.543 2432.543 2433.448 2430.453 2428.716 2428.716 2426.741 2426.741 2424.706 2424.706 2422.69 2422.69 2420.864 2420.864 2419.227 2419.227 2417.616 2417.616 2415.795 2415.795 2414.657 2414.657 2414.82 2414.82 2415.679 2415.679 2416.947 2416.947 2418.736 2418.736 2420.781 2420.781 2422.781 2422.781 2424.626 2424.626 2426.41 2426.41 2428.076 2428.076 2429.604 2429.604 2430.795 2430.795 2431.695 2431.695 2432.543 2432.543 2433.448 2429.698 2428.067 2428.067 2426.291 2426.291 2424.339 2424.339 2422.34 2422.34 2420.375 2420.375 2418.53 2418.53 2416.817 2416.817 2415.218 2415.218 2413.228 2413.228 2413.586 2413.586 2414.506 2414.506 2415.37 2415.37 2417.396 2417.396 2419.917 2419.917 2422.188 2422.188 2424.118 2424.118 2425.773 2425.773 2427.243 2427.243 2428.567 2428.567 2429.753 2429.753 2430.767 2430.767 2431.688 2431.688 2432.58 2429.698 2428.067 2428.067 2426.291 2426.291 2424.339 2424.339 2422.34 2422.34 2420.375 2420.375 2418.53 2418.53 2416.817 2416.817 2415.218 2415.218 2413.228 2413.228 2413.586 2413.586 2414.506 2414.506 2415.37 2415.37 2417.396 2417.396 2419.917 2419.917 2422.188 2422.188 2424.118 2424.118 2425.773 2425.773 2427.243 2427.243 2428.567 2428.567 2429.753 2429.753 2430.767 2430.767 2431.688 2431.688 2432.58 2428.924 2427.588 2427.588 2425.941 2425.941 2424.163 2424.163 2422.221 2422.221 2420.392 2420.392 2418.468 2418.468 2417.166 2417.166 2416.194 2416.194 2415.285 2415.285 2415.062 2415.062 2414.984 2414.984 2414.545 2414.545 2416.905 2416.905 2419.604 2419.604 2421.886 2421.886 2423.685 2423.685 2425.143 2425.143 2426.508 2426.508 2427.748 2427.748 2428.855 2428.855 2429.9 2429.9 2430.783 2430.783 2431.713 2428.924 2427.588 2427.588 2425.941 2425.941 2424.163 2424.163 2422.221 2422.221 2420.392 2420.392 2418.468 2418.468 2417.166 2417.166 2416.194 2416.194 2415.285 2415.285 2415.062 2415.062 2414.984 2414.984 2414.545 2414.545 2416.905 2416.905 2419.604 2419.604 2421.886 2421.886 2423.685 2423.685 2425.143 2425.143 2426.508 2426.508 2427.748 2427.748 2428.855 2428.855 2429.9 2429.9 2430.783 2430.783 2431.713 2428.19 2427.16 2427.16 2425.607 2425.607 2423.936 2423.936 2422.233 2422.233 2420.671 2420.671 2419.109 2419.109 2418.359 2418.359 2417.973 2417.973 2417.975 2417.975 2417.82 2417.82 2417.065 2417.065 2416.761 2416.761 2417.822 2417.822 2419.896 2419.896 2421.883 2421.883 2423.259 2423.259 2424.604 2424.604 2425.858 2425.858 2426.975 2426.975 2428.056 2428.056 2429.059 2429.059 2429.914 2429.914 2430.876 2428.19 2427.16 2427.16 2425.607 2425.607 2423.936 2423.936 2422.233 2422.233 2420.671 2420.671 2419.109 2419.109 2418.359 2418.359 2417.973 2417.973 2417.975 2417.975 2417.82 2417.82 2417.065 2417.065 2416.761 2416.761 2417.822 2417.822 2419.896 2419.896 2421.883 2421.883 2423.259 2423.259 2424.604 2424.604 2425.858 2425.858 2426.975 2426.975 2428.056 2428.056 2429.059 2429.059 2429.914 2429.914 2430.876 2427.394 2426.48 2426.48 2425.065 2425.065 2423.607 2423.607 2422.352 2422.352 2421.102 2421.102 2420.149 2420.149 2419.717 2419.717 2419.889 2419.889 2420.694 2420.694 2421.097 2421.097 2419.334 2419.334 2418.379 2418.379 2418.659 2418.659 2419.826 2419.826 2421.295 2421.295 2422.712 2422.712 2424.037 2424.037 2425.132 2425.132 2426.369 2426.369 2427.443 2427.443 2428.374 2428.374 2429.145 2429.145 2430.135 2427.394 2426.48 2426.48 2425.065 2425.065 2423.607 2423.607 2422.352 2422.352 2421.102 2421.102 2420.149 2420.149 2419.717 2419.717 2419.889 2419.889 2420.694 2420.694 2421.097 2421.097 2419.334 2419.334 2418.379 2418.379 2418.659 2418.659 2419.826 2419.826 2421.295 2421.295 2422.712 2422.712 2424.037 2424.037 2425.132 2425.132 2426.369 2426.369 2427.443 2427.443 2428.374 2428.374 2429.145 2429.145 2430.135 2426.785 2425.821 2425.821 2424.641 2424.641 2423.47 2423.47 2422.379 2422.379 2421.513 2421.513 2420.972 2420.972 2420.635 2420.635 2420.8 2420.8 2421.424 2421.424 2421.613 2421.613 2420.135 2420.135 2419.006 2419.006 2418.858 2418.858 2419.334 2419.334 2420.579 2420.579 2422.124 2422.124 2423.499 2423.499 2424.591 2424.591 2425.799 2425.799 2426.85 2426.85 2427.785 2427.785 2428.625 2428.625 2429.556 2426.785 2425.821 2425.821 2424.641 2424.641 2423.47 2423.47 2422.379 2422.379 2421.513 2421.513 2420.972 2420.972 2420.635 2420.635 2420.8 2420.8 2421.424 2421.424 2421.613 2421.613 2420.135 2420.135 2419.006 2419.006 2418.858 2418.858 2419.334 2419.334 2420.579 2420.579 2422.124 2422.124 2423.499 2423.499 2424.591 2424.591 2425.799 2425.799 2426.85 2426.85 2427.785 2427.785 2428.625 2428.625 2429.556 2426.055 2425.21 2425.21 2424.282 2424.282 2423.319 2423.319 2422.537 2422.537 2421.808 2421.808 2421.311 2421.311 2420.994 2420.994 2420.89 2420.89 2420.96 2420.96 2420.272 2420.272 2419.362 2419.362 2419.114 2419.114 2419.029 2419.029 2418.945 2418.945 2420.189 2420.189 2421.687 2421.687 2423.082 2423.082 2424.209 2424.209 2425.393 2425.393 2426.432 2426.432 2427.319 2427.319 2428.273 2428.273 2429.088 2426.055 2425.21 2425.21 2424.282 2424.282 2423.319 2423.319 2422.537 2422.537 2421.808 2421.808 2421.311 2421.311 2420.994 2420.994 2420.89 2420.89 2420.96 2420.96 2420.272 2420.272 2419.362 2419.362 2419.114 2419.114 2419.029 2419.029 2418.945 2418.945 2420.189 2420.189 2421.687 2421.687 2423.082 2423.082 2424.209 2424.209 2425.393 2425.393 2426.432 2426.432 2427.319 2427.319 2428.273 2428.273 2429.088 2425.343 2424.614 2424.614 2423.892 2423.892 2423.195 2423.195 2422.512 2422.512 2421.985 2421.985 2421.467 2421.467 2421.033 2421.033 2420.798 2420.798 2420.397 2420.397 2419.367 2419.367 2418.844 2418.844 2419.002 2419.002 2419.167 2419.167 2419.594 2419.594 2420.448 2420.448 2421.654 2421.654 2422.82 2422.82 2424.016 2424.016 2425.126 2425.126 2426.123 2426.123 2427.074 2427.074 2428.007 2428.007 2428.906 2425.343 2424.614 2424.614 2423.892 2423.892 2423.195 2423.195 2422.512 2422.512 2421.985 2421.985 2421.467 2421.467 2421.033 2421.033 2420.798 2420.798 2420.397 2420.397 2419.367 2419.367 2418.844 2418.844 2419.002 2419.002 2419.167 2419.167 2419.594 2419.594 2420.448 2420.448 2421.654 2421.654 2422.82 2422.82 2424.016 2424.016 2425.126 2425.126 2426.123 2426.123 2427.074 2427.074 2428.007 2428.007 2428.906 2424.742 2424.13 2424.13 2423.602 2423.602 2423.004 2423.004 2422.485 2422.485 2422.031 2422.031 2421.56 2421.56 2421.073 2421.073 2420.607 2420.607 2420.072 2420.072 2419.516 2419.516 2419.276 2419.276 2419.334 2419.334 2419.664 2419.664 2420.221 2420.221 2420.911 2420.911 2421.909 2421.909 2422.943 2422.943 2424.009 2424.009 2425.045 2425.045 2426.007 2426.007 2427.016 2427.016 2427.83 2427.83 2428.693 2424.742 2424.13 2424.13 2423.602 2423.602 2423.004 2423.004 2422.485 2422.485 2422.031 2422.031 2421.56 2421.56 2421.073 2421.073 2420.607 2420.607 2420.072 2420.072 2419.516 2419.516 2419.276 2419.276 2419.334 2419.334 2419.664 2419.664 2420.221 2420.221 2420.911 2420.911 2421.909 2421.909 2422.943 2422.943 2424.009 2424.009 2425.045 2425.045 2426.007 2426.007 2427.016 2427.016 2427.83 2427.83 2428.693 2424.208 2423.711 2423.711 2423.337 2423.337 2422.882 2422.882 2422.469 2422.469 2422.053 2422.053 2421.625 2421.625 2421.191 2421.191 2420.717 2420.717 2420.25 2420.25 2419.848 2419.848 2419.695 2419.695 2419.836 2419.836 2420.216 2420.216 2420.803 2420.803 2421.43 2421.43 2422.255 2422.255 2423.182 2423.182 2424.149 2424.149 2425.103 2425.103 2426.02 2426.02 2426.936 2426.936 2427.837 2427.837 2428.656 2424.208 2423.711 2423.711 2423.337 2423.337 2422.882 2422.882 2422.469 2422.469 2422.053 2422.053 2421.625 2421.625 2421.191 2421.191 2420.717 2420.717 2420.25 2420.25 2419.848 2419.848 2419.695 2419.695 2419.836 2419.836 2420.216 2420.216 2420.803 2420.803 2421.43 2421.43 2422.255 2422.255 2423.182 2423.182 2424.149 2424.149 2425.103 2425.103 2426.02 2426.02 2426.936 2426.936 2427.837 2427.837 2428.656 2423.735 2423.445 2423.445 2423.101 2423.101 2422.836 2422.836 2422.457 2422.457 2422.119 2422.119 2421.764 2421.764 2421.363 2421.363 2420.928 2420.928 2420.598 2420.598 2420.285 2420.285 2420.156 2420.156 2420.34 2420.34 2420.741 2420.741 2421.334 2421.334 2421.948 2421.948 2422.653 2422.653 2423.465 2423.465 2424.34 2424.34 2425.224 2425.224 2426.105 2426.105 2426.99 2426.99 2427.883 2427.883 2428.685 2423.735 2423.445 2423.445 2423.101 2423.101 2422.836 2422.836 2422.457 2422.457 2422.119 2422.119 2421.764 2421.764 2421.363 2421.363 2420.928 2420.928 2420.598 2420.598 2420.285 2420.285 2420.156 2420.156 2420.34 2420.34 2420.741 2420.741 2421.334 2421.334 2421.948 2421.948 2422.653 2422.653 2423.465 2423.465 2424.34 2424.34 2425.224 2425.224 2426.105 2426.105 2426.99 2426.99 2427.883 2427.883 2428.685 2423.323 2423.136 2423.136 2423.007 2423.007 2422.759 2422.759 2422.469 2422.469 2422.198 2422.198 2421.893 2421.893 2421.544 2421.544 2421.217 2421.217 2420.899 2420.899 2420.691 2420.691 2420.585 2420.585 2420.763 2420.763 2421.169 2421.169 2421.781 2421.781 2422.393 2422.393 2423.079 2423.079 2423.833 2423.833 2424.65 2424.65 2425.481 2425.481 2426.31 2426.31 2427.185 2427.185 2427.952 2427.952 2428.744 2423.323 2423.136 2423.136 2423.007 2423.007 2422.759 2422.759 2422.469 2422.469 2422.198 2422.198 2421.893 2421.893 2421.544 2421.544 2421.217 2421.217 2420.899 2420.899 2420.691 2420.691 2420.585 2420.585 2420.763 2420.763 2421.169 2421.169 2421.781 2421.781 2422.393 2422.393 2423.079 2423.079 2423.833 2423.833 2424.65 2424.65 2425.481 2425.481 2426.31 2426.31 2427.185 2427.185 2427.952 2427.952 2428.744 2423.104 2422.982 2422.982 2422.948 2422.948 2422.771 2422.771 2422.537 2422.537 2422.296 2422.296 2422.03 2422.03 2421.73 2421.73 2421.417 2421.417 2421.177 2421.177 2420.968 2420.968 2420.922 2420.922 2421.106 2421.106 2421.477 2421.477 2422.044 2422.044 2422.684 2422.684 2423.358 2423.358 2424.03 2424.03 2424.834 2424.834 2425.669 2425.669 2426.504 2426.504 2427.346 2427.346 2428.167 2428.167 2428.816 2445.787 2444.327 2444.327 2442.903 2442.903 2441.473 2441.473 2440.032 2440.032 2438.267 2438.267 2436.32 2436.32 2434.593 2434.593 2432.612 2432.612 2430.775 2430.775 2430.825 2430.825 2432.846 2432.846 2435.214 2435.214 2437.812 2437.812 2439.44 2439.44 2438.879 2438.879 2438.275 2438.275 2437.796 2437.796 2437.816 2437.816 2438.105 2438.105 2438.547 2438.547 2439.13 2439.13 2439.793 2439.793 2440.504 2445.741 2444.309 2444.309 2442.823 2442.823 2441.361 2441.361 2440.091 2440.091 2438.244 2438.244 2436.067 2436.067 2433.799 2433.799 2431.754 2431.754 2430.34 2430.34 2430.31 2430.31 2431.625 2431.625 2433.62 2433.62 2435.982 2435.982 2437.506 2437.506 2436.909 2436.909 2436.371 2436.371 2436.005 2436.005 2436.173 2436.173 2436.799 2436.799 2437.695 2437.695 2438.619 2438.619 2439.52 2439.52 2440.382 2445.741 2444.309 2444.309 2442.823 2442.823 2441.361 2441.361 2440.091 2440.091 2438.244 2438.244 2436.067 2436.067 2433.799 2433.799 2431.754 2431.754 2430.34 2430.34 2430.31 2430.31 2431.625 2431.625 2433.62 2433.62 2435.982 2435.982 2437.506 2437.506 2436.909 2436.909 2436.371 2436.371 2436.005 2436.005 2436.173 2436.173 2436.799 2436.799 2437.695 2437.695 2438.619 2438.619 2439.52 2439.52 2440.382 2445.54 2444.053 2444.053 2442.522 2442.522 2441.282 2441.282 2439.948 2439.948 2438.088 2438.088 2435.5 2435.5 2432.906 2432.906 2430.866 2430.866 2429.66 2429.66 2429.814 2429.814 2430.157 2430.157 2431.341 2431.341 2432.827 2432.827 2433.635 2433.635 2433.763 2433.763 2433.742 2433.742 2433.688 2433.688 2434.271 2434.271 2435.365 2435.365 2436.616 2436.616 2437.993 2437.993 2439.427 2439.427 2440.428 2445.54 2444.053 2444.053 2442.522 2442.522 2441.282 2441.282 2439.948 2439.948 2438.088 2438.088 2435.5 2435.5 2432.906 2432.906 2430.866 2430.866 2429.66 2429.66 2429.814 2429.814 2430.157 2430.157 2431.341 2431.341 2432.827 2432.827 2433.635 2433.635 2433.763 2433.763 2433.742 2433.742 2433.688 2433.688 2434.271 2434.271 2435.365 2435.365 2436.616 2436.616 2437.993 2437.993 2439.427 2439.427 2440.428 2445.11 2443.568 2443.568 2441.878 2441.878 2440.432 2440.432 2439.304 2439.304 2437.851 2437.851 2434.365 2434.365 2431.48 2431.48 2429.542 2429.542 2428.95 2428.95 2428.575 2428.575 2428.481 2428.481 2428.853 2428.853 2429.354 2429.354 2429.749 2429.749 2430.301 2430.301 2430.429 2430.429 2431.076 2431.076 2432.036 2432.036 2433.556 2433.556 2435.407 2435.407 2437.544 2437.544 2439.29 2439.29 2440.55 2445.11 2443.568 2443.568 2441.878 2441.878 2440.432 2440.432 2439.304 2439.304 2437.851 2437.851 2434.365 2434.365 2431.48 2431.48 2429.542 2429.542 2428.95 2428.95 2428.575 2428.575 2428.481 2428.481 2428.853 2428.853 2429.354 2429.354 2429.749 2429.749 2430.301 2430.301 2430.429 2430.429 2431.076 2431.076 2432.036 2432.036 2433.556 2433.556 2435.407 2435.407 2437.544 2437.544 2439.29 2439.29 2440.55 2444.606 2442.515 2442.515 2440.477 2440.477 2438.631 2438.631 2437.06 2437.06 2435.104 2435.104 2431.86 2431.86 2429.156 2429.156 2427.698 2427.698 2427.302 2427.302 2427.063 2427.063 2427.025 2427.025 2426.71 2426.71 2426.13 2426.13 2425.898 2425.898 2426.699 2426.699 2427.736 2427.736 2428.626 2428.626 2429.598 2429.598 2431.576 2431.576 2434.322 2434.322 2436.947 2436.947 2439.279 2439.279 2440.836 2444.606 2442.515 2442.515 2440.477 2440.477 2438.631 2438.631 2437.06 2437.06 2435.104 2435.104 2431.86 2431.86 2429.156 2429.156 2427.698 2427.698 2427.302 2427.302 2427.063 2427.063 2427.025 2427.025 2426.71 2426.71 2426.13 2426.13 2425.898 2425.898 2426.699 2426.699 2427.736 2427.736 2428.626 2428.626 2429.598 2429.598 2431.576 2431.576 2434.322 2434.322 2436.947 2436.947 2439.279 2439.279 2440.836 2443.372 2440.965 2440.965 2438.541 2438.541 2436.077 2436.077 2433.508 2433.508 2430.484 2430.484 2427.715 2427.715 2426.197 2426.197 2425.632 2425.632 2425.586 2425.586 2425.667 2425.667 2425.649 2425.649 2424.847 2424.847 2423.926 2423.926 2423.346 2423.346 2424.624 2424.624 2425.897 2425.897 2426.915 2426.915 2427.708 2427.708 2429.964 2429.964 2433.296 2433.296 2436.419 2436.419 2439.364 2439.364 2441.274 2443.372 2440.965 2440.965 2438.541 2438.541 2436.077 2436.077 2433.508 2433.508 2430.484 2430.484 2427.715 2427.715 2426.197 2426.197 2425.632 2425.632 2425.586 2425.586 2425.667 2425.667 2425.649 2425.649 2424.847 2424.847 2423.926 2423.926 2423.346 2423.346 2424.624 2424.624 2425.897 2425.897 2426.915 2426.915 2427.708 2427.708 2429.964 2429.964 2433.296 2433.296 2436.419 2436.419 2439.364 2439.364 2441.274 2441.472 2439.008 2439.008 2436.351 2436.351 2433.408 2433.408 2430.062 2430.062 2426.272 2426.272 2422.942 2422.942 2423.293 2423.293 2423.971 2423.971 2424.444 2424.444 2424.679 2424.679 2424.732 2424.732 2424.096 2424.096 2423.143 2423.143 2423.098 2423.098 2423.826 2423.826 2425.075 2425.075 2426.381 2426.381 2427.642 2427.642 2429.755 2429.755 2432.85 2432.85 2435.961 2435.961 2438.852 2438.852 2440.733 2441.472 2439.008 2439.008 2436.351 2436.351 2433.408 2433.408 2430.062 2430.062 2426.272 2426.272 2422.942 2422.942 2423.293 2423.293 2423.971 2423.971 2424.444 2424.444 2424.679 2424.679 2424.732 2424.732 2424.096 2424.096 2423.143 2423.143 2423.098 2423.098 2423.826 2423.826 2425.075 2425.075 2426.381 2426.381 2427.642 2427.642 2429.755 2429.755 2432.85 2432.85 2435.961 2435.961 2438.852 2438.852 2440.733 2439.444 2437.02 2437.02 2434.251 2434.251 2431.149 2431.149 2427.737 2427.737 2424.075 2424.075 2421.221 2421.221 2421.919 2421.919 2423.064 2423.064 2423.908 2423.908 2424.223 2424.223 2424.221 2424.221 2423.653 2423.653 2423.116 2423.116 2422.88 2422.88 2423.823 2423.823 2425.197 2425.197 2426.682 2426.682 2428.294 2428.294 2430.234 2430.234 2433.001 2433.001 2435.679 2435.679 2438.018 2438.018 2439.621 2439.444 2437.02 2437.02 2434.251 2434.251 2431.149 2431.149 2427.737 2427.737 2424.075 2424.075 2421.221 2421.221 2421.919 2421.919 2423.064 2423.064 2423.908 2423.908 2424.223 2424.223 2424.221 2424.221 2423.653 2423.653 2423.116 2423.116 2422.88 2422.88 2423.823 2423.823 2425.197 2425.197 2426.682 2426.682 2428.294 2428.294 2430.234 2430.234 2433.001 2433.001 2435.679 2435.679 2438.018 2438.018 2439.621 2437.491 2435.21 2435.21 2432.494 2432.494 2429.563 2429.563 2426.517 2426.517 2423.775 2423.775 2422.172 2422.172 2422.286 2422.286 2422.858 2422.858 2423.534 2423.534 2424.167 2424.167 2423.869 2423.869 2423.43 2423.43 2423.421 2423.421 2423.379 2423.379 2424.525 2424.525 2425.727 2425.727 2427.516 2427.516 2429.468 2429.468 2431.56 2431.56 2433.615 2433.615 2435.512 2435.512 2437.325 2437.325 2438.79 2437.491 2435.21 2435.21 2432.494 2432.494 2429.563 2429.563 2426.517 2426.517 2423.775 2423.775 2422.172 2422.172 2422.286 2422.286 2422.858 2422.858 2423.534 2423.534 2424.167 2424.167 2423.869 2423.869 2423.43 2423.43 2423.421 2423.421 2423.379 2423.379 2424.525 2424.525 2425.727 2425.727 2427.516 2427.516 2429.468 2429.468 2431.56 2431.56 2433.615 2433.615 2435.512 2435.512 2437.325 2437.325 2438.79 2435.904 2433.751 2433.751 2431.295 2431.295 2428.423 2428.423 2425.764 2425.764 2423.751 2423.751 2422.628 2422.628 2422.653 2422.653 2422.803 2422.803 2422.966 2422.966 2423.148 2423.148 2422.916 2422.916 2423.179 2423.179 2423.561 2423.561 2424.179 2424.179 2425.219 2425.219 2426.814 2426.814 2428.769 2428.769 2430.685 2430.685 2432.774 2432.774 2434.064 2434.064 2435.444 2435.444 2436.698 2436.698 2437.906 2435.904 2433.751 2433.751 2431.295 2431.295 2428.423 2428.423 2425.764 2425.764 2423.751 2423.751 2422.628 2422.628 2422.653 2422.653 2422.803 2422.803 2422.966 2422.966 2423.148 2423.148 2422.916 2422.916 2423.179 2423.179 2423.561 2423.561 2424.179 2424.179 2425.219 2425.219 2426.814 2426.814 2428.769 2428.769 2430.685 2430.685 2432.774 2432.774 2434.064 2434.064 2435.444 2435.444 2436.698 2436.698 2437.906 2434.53 2432.506 2432.506 2430.198 2430.198 2427.74 2427.74 2425.389 2425.389 2423.682 2423.682 2422.707 2422.707 2422.239 2422.239 2421.715 2421.715 2421.241 2421.241 2420.944 2420.944 2421.133 2421.133 2421.801 2421.801 2423.154 2423.154 2424.478 2424.478 2425.469 2425.469 2427.065 2427.065 2429.062 2429.062 2431.284 2431.284 2433.025 2433.025 2433.975 2433.975 2435.013 2435.013 2436.075 2436.075 2437.018 2434.53 2432.506 2432.506 2430.198 2430.198 2427.74 2427.74 2425.389 2425.389 2423.682 2423.682 2422.707 2422.707 2422.239 2422.239 2421.715 2421.715 2421.241 2421.241 2420.944 2420.944 2421.133 2421.133 2421.801 2421.801 2423.154 2423.154 2424.478 2424.478 2425.469 2425.469 2427.065 2427.065 2429.062 2429.062 2431.284 2431.284 2433.025 2433.025 2433.975 2433.975 2435.013 2435.013 2436.075 2436.075 2437.018 2433.313 2431.365 2431.365 2429.325 2429.325 2427.28 2427.28 2425.094 2425.094 2423.282 2423.282 2421.909 2421.909 2420.785 2420.785 2419.606 2419.606 2418.659 2418.659 2418.461 2418.461 2418.945 2418.945 2420.009 2420.009 2421.594 2421.594 2423.389 2423.389 2424.926 2424.926 2426.734 2426.734 2428.737 2428.737 2430.727 2430.727 2432.302 2432.302 2433.338 2433.338 2434.342 2434.342 2435.296 2435.296 2436.123 2433.313 2431.365 2431.365 2429.325 2429.325 2427.28 2427.28 2425.094 2425.094 2423.282 2423.282 2421.909 2421.909 2420.785 2420.785 2419.606 2419.606 2418.659 2418.659 2418.461 2418.461 2418.945 2418.945 2420.009 2420.009 2421.594 2421.594 2423.389 2423.389 2424.926 2424.926 2426.734 2426.734 2428.737 2428.737 2430.727 2430.727 2432.302 2432.302 2433.338 2433.338 2434.342 2434.342 2435.296 2435.296 2436.123 2432.323 2430.625 2430.625 2428.683 2428.683 2426.67 2426.67 2424.666 2424.666 2422.821 2422.821 2421.127 2421.127 2419.433 2419.433 2417.563 2417.563 2416.111 2416.111 2415.966 2415.966 2416.652 2416.652 2417.86 2417.86 2419.663 2419.663 2421.733 2421.733 2423.949 2423.949 2426.132 2426.132 2428.176 2428.176 2430.007 2430.007 2431.487 2431.487 2432.643 2432.643 2433.516 2433.516 2434.369 2434.369 2435.269 2432.323 2430.625 2430.625 2428.683 2428.683 2426.67 2426.67 2424.666 2424.666 2422.821 2422.821 2421.127 2421.127 2419.433 2419.433 2417.563 2417.563 2416.111 2416.111 2415.966 2415.966 2416.652 2416.652 2417.86 2417.86 2419.663 2419.663 2421.733 2421.733 2423.949 2423.949 2426.132 2426.132 2428.176 2428.176 2430.007 2430.007 2431.487 2431.487 2432.643 2432.643 2433.516 2433.516 2434.369 2434.369 2435.269 2431.52 2429.908 2429.908 2428.148 2428.148 2426.214 2426.214 2424.238 2424.238 2422.312 2422.312 2420.461 2420.461 2418.649 2418.649 2416.828 2416.828 2414.46 2414.46 2414.542 2414.542 2415.276 2415.276 2416.017 2416.017 2418.104 2418.104 2420.623 2420.623 2423.281 2423.281 2425.712 2425.712 2427.657 2427.657 2429.27 2429.27 2430.569 2430.569 2431.695 2431.695 2432.653 2432.653 2433.538 2433.538 2434.4 2431.52 2429.908 2429.908 2428.148 2428.148 2426.214 2426.214 2424.238 2424.238 2422.312 2422.312 2420.461 2420.461 2418.649 2418.649 2416.828 2416.828 2414.46 2414.46 2414.542 2414.542 2415.276 2415.276 2416.017 2416.017 2418.104 2418.104 2420.623 2420.623 2423.281 2423.281 2425.712 2425.712 2427.657 2427.657 2429.27 2429.27 2430.569 2430.569 2431.695 2431.695 2432.653 2432.653 2433.538 2433.538 2434.4 2430.687 2429.352 2429.352 2427.702 2427.702 2425.929 2425.929 2424.009 2424.009 2422.244 2422.244 2420.381 2420.381 2418.952 2418.952 2417.691 2417.691 2416.476 2416.476 2416.008 2416.008 2415.729 2415.729 2415.094 2415.094 2417.8 2417.8 2420.902 2420.902 2423.562 2423.562 2425.6 2425.6 2427.194 2427.194 2428.607 2428.607 2429.811 2429.811 2430.869 2430.869 2431.842 2431.842 2432.666 2432.666 2433.552 2430.687 2429.352 2429.352 2427.702 2427.702 2425.929 2425.929 2424.009 2424.009 2422.244 2422.244 2420.381 2420.381 2418.952 2418.952 2417.691 2417.691 2416.476 2416.476 2416.008 2416.008 2415.729 2415.729 2415.094 2415.094 2417.8 2417.8 2420.902 2420.902 2423.562 2423.562 2425.6 2425.6 2427.194 2427.194 2428.607 2428.607 2429.811 2429.811 2430.869 2430.869 2431.842 2431.842 2432.666 2432.666 2433.552 2429.886 2428.838 2428.838 2427.264 2427.264 2425.574 2425.574 2423.865 2423.865 2422.34 2422.34 2420.836 2420.836 2419.973 2419.973 2419.356 2419.356 2419.142 2419.142 2418.821 2418.821 2417.95 2417.95 2417.699 2417.699 2419.167 2419.167 2421.923 2421.923 2424.299 2424.299 2425.563 2425.563 2426.841 2426.841 2428.039 2428.039 2429.086 2429.086 2430.093 2430.093 2431.021 2431.021 2431.805 2431.805 2432.713 2429.886 2428.838 2428.838 2427.264 2427.264 2425.574 2425.574 2423.865 2423.865 2422.34 2422.34 2420.836 2420.836 2419.973 2419.973 2419.356 2419.356 2419.142 2419.142 2418.821 2418.821 2417.95 2417.95 2417.699 2417.699 2419.167 2419.167 2421.923 2421.923 2424.299 2424.299 2425.563 2425.563 2426.841 2426.841 2428.039 2428.039 2429.086 2429.086 2430.093 2430.093 2431.021 2431.021 2431.805 2431.805 2432.713 2429.013 2428.059 2428.059 2426.607 2426.607 2425.099 2425.099 2423.791 2423.791 2422.486 2422.486 2421.509 2421.509 2421.027 2421.027 2421.097 2421.097 2421.808 2421.808 2422.15 2422.15 2420.338 2420.338 2419.547 2419.547 2420.244 2420.244 2421.999 2421.999 2423.799 2423.799 2425.125 2425.125 2426.344 2426.344 2427.323 2427.323 2428.482 2428.482 2429.475 2429.475 2430.329 2430.329 2431.026 2431.026 2431.952 2429.013 2428.059 2428.059 2426.607 2426.607 2425.099 2425.099 2423.791 2423.791 2422.486 2422.486 2421.509 2421.509 2421.027 2421.027 2421.097 2421.097 2421.808 2421.808 2422.15 2422.15 2420.338 2420.338 2419.547 2419.547 2420.244 2420.244 2421.999 2421.999 2423.799 2423.799 2425.125 2425.125 2426.344 2426.344 2427.323 2427.323 2428.482 2428.482 2429.475 2429.475 2430.329 2430.329 2431.026 2431.026 2431.952 2428.332 2427.316 2427.316 2426.077 2426.077 2424.829 2424.829 2423.636 2423.636 2422.636 2422.636 2421.986 2421.986 2421.68 2421.68 2421.813 2421.813 2422.391 2422.391 2422.536 2422.536 2421.079 2421.079 2420.198 2420.198 2420.442 2420.442 2421.35 2421.35 2422.867 2422.867 2424.435 2424.435 2425.758 2425.758 2426.745 2426.745 2427.871 2427.871 2428.843 2428.843 2429.703 2429.703 2430.472 2430.472 2431.347 2428.332 2427.316 2427.316 2426.077 2426.077 2424.829 2424.829 2423.636 2423.636 2422.636 2422.636 2421.986 2421.986 2421.68 2421.68 2421.813 2421.813 2422.391 2422.391 2422.536 2422.536 2421.079 2421.079 2420.198 2420.198 2420.442 2420.442 2421.35 2421.35 2422.867 2422.867 2424.435 2424.435 2425.758 2425.758 2426.745 2426.745 2427.871 2427.871 2428.843 2428.843 2429.703 2429.703 2430.472 2430.472 2431.347 2427.546 2426.64 2426.64 2425.635 2425.635 2424.582 2424.582 2423.676 2423.676 2422.813 2422.813 2422.221 2422.221 2421.875 2421.875 2421.734 2421.734 2421.745 2421.745 2420.971 2420.971 2420.12 2420.12 2420.19 2420.19 2420.489 2420.489 2420.794 2420.794 2422.268 2422.268 2423.856 2423.856 2425.229 2425.229 2426.284 2426.284 2427.396 2427.396 2428.357 2428.357 2429.166 2429.166 2430.066 2430.066 2430.834 2427.546 2426.64 2426.64 2425.635 2425.635 2424.582 2424.582 2423.676 2423.676 2422.813 2422.813 2422.221 2422.221 2421.875 2421.875 2421.734 2421.734 2421.745 2421.745 2420.971 2420.971 2420.12 2420.12 2420.19 2420.19 2420.489 2420.489 2420.794 2420.794 2422.268 2422.268 2423.856 2423.856 2425.229 2425.229 2426.284 2426.284 2427.396 2427.396 2428.357 2428.357 2429.166 2429.166 2430.066 2430.066 2430.834 2426.799 2426.003 2426.003 2425.205 2425.205 2424.401 2424.401 2423.602 2423.602 2422.962 2422.962 2422.347 2422.347 2421.842 2421.842 2421.55 2421.55 2421.094 2421.094 2419.965 2419.965 2419.526 2419.526 2420.024 2420.024 2420.557 2420.557 2421.277 2421.277 2422.335 2422.335 2423.645 2423.645 2424.836 2424.836 2425.99 2425.99 2427.036 2427.036 2427.96 2427.96 2428.856 2428.856 2429.738 2429.738 2430.589 2426.799 2426.003 2426.003 2425.205 2425.205 2424.401 2424.401 2423.602 2423.602 2422.962 2422.962 2422.347 2422.347 2421.842 2421.842 2421.55 2421.55 2421.094 2421.094 2419.965 2419.965 2419.526 2419.526 2420.024 2420.024 2420.557 2420.557 2421.277 2421.277 2422.335 2422.335 2423.645 2423.645 2424.836 2424.836 2425.99 2425.99 2427.036 2427.036 2427.96 2427.96 2428.856 2428.856 2429.738 2429.738 2430.589 2426.178 2425.497 2425.497 2424.896 2424.896 2424.203 2424.203 2423.568 2423.568 2423.013 2423.013 2422.451 2422.451 2421.903 2421.903 2421.364 2421.364 2420.791 2420.791 2420.232 2420.232 2420.101 2420.101 2420.405 2420.405 2421.001 2421.001 2421.793 2421.793 2422.66 2422.66 2423.759 2423.759 2424.824 2424.824 2425.862 2425.862 2426.853 2426.853 2427.769 2427.769 2428.729 2428.729 2429.491 2429.491 2430.31 2426.178 2425.497 2425.497 2424.896 2424.896 2424.203 2424.203 2423.568 2423.568 2423.013 2423.013 2422.451 2422.451 2421.903 2421.903 2421.364 2421.364 2420.791 2420.791 2420.232 2420.232 2420.101 2420.101 2420.405 2420.405 2421.001 2421.001 2421.793 2421.793 2422.66 2422.66 2423.759 2423.759 2424.824 2424.824 2425.862 2425.862 2426.853 2426.853 2427.769 2427.769 2428.729 2428.729 2429.491 2429.491 2430.31 2425.643 2425.077 2425.077 2424.636 2424.636 2424.09 2424.09 2423.576 2423.576 2423.078 2423.078 2422.57 2422.57 2422.076 2422.076 2421.549 2421.549 2421.073 2421.073 2420.709 2420.709 2420.665 2420.665 2420.975 2420.975 2421.549 2421.549 2422.314 2422.314 2423.083 2423.083 2423.985 2423.985 2424.943 2424.943 2425.903 2425.903 2426.824 2426.824 2427.696 2427.696 2428.571 2428.571 2429.429 2429.429 2430.205 2425.643 2425.077 2425.077 2424.636 2424.636 2424.09 2424.09 2423.576 2423.576 2423.078 2423.078 2422.57 2422.57 2422.076 2422.076 2421.549 2421.549 2421.073 2421.073 2420.709 2420.709 2420.665 2420.665 2420.975 2420.975 2421.549 2421.549 2422.314 2422.314 2423.083 2423.083 2423.985 2423.985 2424.943 2424.943 2425.903 2425.903 2426.824 2426.824 2427.696 2427.696 2428.571 2428.571 2429.429 2429.429 2430.205 2425.186 2424.842 2424.842 2424.427 2424.427 2424.083 2424.083 2423.614 2423.614 2423.192 2423.192 2422.763 2422.763 2422.307 2422.307 2421.859 2421.859 2421.545 2421.545 2421.279 2421.279 2421.245 2421.245 2421.56 2421.56 2422.1 2422.1 2422.82 2422.82 2423.537 2423.537 2424.296 2424.296 2425.131 2425.131 2425.998 2425.998 2426.855 2426.855 2427.705 2427.705 2428.545 2428.545 2429.4 2429.4 2430.163 2425.186 2424.842 2424.842 2424.427 2424.427 2424.083 2424.083 2423.614 2423.614 2423.192 2423.192 2422.763 2422.763 2422.307 2422.307 2421.859 2421.859 2421.545 2421.545 2421.279 2421.279 2421.245 2421.245 2421.56 2421.56 2422.1 2422.1 2422.82 2422.82 2423.537 2423.537 2424.296 2424.296 2425.131 2425.131 2425.998 2425.998 2426.855 2426.855 2427.705 2427.705 2428.545 2428.545 2429.4 2429.4 2430.163 2424.805 2424.569 2424.569 2424.379 2424.379 2424.058 2424.058 2423.692 2423.692 2423.348 2423.348 2422.98 2422.98 2422.594 2422.594 2422.265 2422.265 2421.968 2421.968 2421.804 2421.804 2421.782 2421.782 2422.055 2422.055 2422.563 2422.563 2423.266 2423.266 2423.942 2423.942 2424.684 2424.684 2425.45 2425.45 2426.251 2426.251 2427.047 2427.047 2427.832 2427.832 2428.658 2428.658 2429.394 2429.394 2430.151 2424.805 2424.569 2424.569 2424.379 2424.379 2424.058 2424.058 2423.692 2423.692 2423.348 2423.348 2422.98 2422.98 2422.594 2422.594 2422.265 2422.265 2421.968 2421.968 2421.804 2421.804 2421.782 2421.782 2422.055 2422.055 2422.563 2422.563 2423.266 2423.266 2423.942 2423.942 2424.684 2424.684 2425.45 2425.45 2426.251 2426.251 2427.047 2427.047 2427.832 2427.832 2428.658 2428.658 2429.394 2429.394 2430.151 2424.626 2424.452 2424.452 2424.375 2424.375 2424.137 2424.137 2423.84 2423.84 2423.541 2423.541 2423.228 2423.228 2422.903 2422.903 2422.59 2422.59 2422.368 2422.368 2422.205 2422.205 2422.22 2422.22 2422.455 2422.455 2422.901 2422.901 2423.531 2423.531 2424.218 2424.218 2424.91 2424.91 2425.584 2425.584 2426.361 2426.361 2427.155 2427.155 2427.935 2427.935 2428.741 2428.741 2429.53 2429.53 2430.155 2445.787 2444.327 2444.327 2442.903 2442.903 2441.473 2441.473 2440.032 2440.032 2438.267 2438.267 2436.32 2436.32 2434.593 2434.593 2432.612 2432.612 2430.775 2430.775 2430.825 2430.825 2432.846 2432.846 2435.214 2435.214 2437.812 2437.812 2439.44 2439.44 2438.879 2438.879 2438.275 2438.275 2437.796 2437.796 2437.816 2437.816 2438.105 2438.105 2438.547 2438.547 2439.13 2439.13 2439.793 2439.793 2440.504 2445.741 2444.309 2444.309 2442.823 2442.823 2441.361 2441.361 2440.091 2440.091 2438.244 2438.244 2436.067 2436.067 2433.799 2433.799 2431.754 2431.754 2430.34 2430.34 2430.31 2430.31 2431.625 2431.625 2433.62 2433.62 2435.982 2435.982 2437.506 2437.506 2436.909 2436.909 2436.371 2436.371 2436.005 2436.005 2436.173 2436.173 2436.799 2436.799 2437.695 2437.695 2438.619 2438.619 2439.52 2439.52 2440.382 2445.741 2444.309 2444.309 2442.823 2442.823 2441.361 2441.361 2440.091 2440.091 2438.244 2438.244 2436.067 2436.067 2433.799 2433.799 2431.754 2431.754 2430.34 2430.34 2430.31 2430.31 2431.625 2431.625 2433.62 2433.62 2435.982 2435.982 2437.506 2437.506 2436.909 2436.909 2436.371 2436.371 2436.005 2436.005 2436.173 2436.173 2436.799 2436.799 2437.695 2437.695 2438.619 2438.619 2439.52 2439.52 2440.382 2445.54 2444.053 2444.053 2442.522 2442.522 2441.282 2441.282 2439.948 2439.948 2438.088 2438.088 2435.5 2435.5 2432.906 2432.906 2430.866 2430.866 2429.66 2429.66 2429.814 2429.814 2430.157 2430.157 2431.341 2431.341 2432.827 2432.827 2433.635 2433.635 2433.763 2433.763 2433.742 2433.742 2433.688 2433.688 2434.271 2434.271 2435.365 2435.365 2436.616 2436.616 2437.993 2437.993 2439.427 2439.427 2440.428 2445.54 2444.053 2444.053 2442.522 2442.522 2441.282 2441.282 2439.948 2439.948 2438.088 2438.088 2435.5 2435.5 2432.906 2432.906 2430.866 2430.866 2429.66 2429.66 2429.814 2429.814 2430.157 2430.157 2431.341 2431.341 2432.827 2432.827 2433.635 2433.635 2433.763 2433.763 2433.742 2433.742 2433.688 2433.688 2434.271 2434.271 2435.365 2435.365 2436.616 2436.616 2437.993 2437.993 2439.427 2439.427 2440.428 2445.11 2443.568 2443.568 2441.878 2441.878 2440.432 2440.432 2439.304 2439.304 2437.851 2437.851 2434.365 2434.365 2431.48 2431.48 2429.542 2429.542 2428.95 2428.95 2428.575 2428.575 2428.481 2428.481 2428.853 2428.853 2429.354 2429.354 2429.749 2429.749 2430.301 2430.301 2430.429 2430.429 2431.076 2431.076 2432.036 2432.036 2433.556 2433.556 2435.407 2435.407 2437.544 2437.544 2439.29 2439.29 2440.55 2445.11 2443.568 2443.568 2441.878 2441.878 2440.432 2440.432 2439.304 2439.304 2437.851 2437.851 2434.365 2434.365 2431.48 2431.48 2429.542 2429.542 2428.95 2428.95 2428.575 2428.575 2428.481 2428.481 2428.853 2428.853 2429.354 2429.354 2429.749 2429.749 2430.301 2430.301 2430.429 2430.429 2431.076 2431.076 2432.036 2432.036 2433.556 2433.556 2435.407 2435.407 2437.544 2437.544 2439.29 2439.29 2440.55 2444.606 2442.515 2442.515 2440.477 2440.477 2438.631 2438.631 2437.06 2437.06 2435.104 2435.104 2431.86 2431.86 2429.156 2429.156 2427.698 2427.698 2427.302 2427.302 2427.063 2427.063 2427.025 2427.025 2426.71 2426.71 2426.13 2426.13 2425.898 2425.898 2426.699 2426.699 2427.736 2427.736 2428.626 2428.626 2429.598 2429.598 2431.576 2431.576 2434.322 2434.322 2436.947 2436.947 2439.279 2439.279 2440.836 2444.606 2442.515 2442.515 2440.477 2440.477 2438.631 2438.631 2437.06 2437.06 2435.104 2435.104 2431.86 2431.86 2429.156 2429.156 2427.698 2427.698 2427.302 2427.302 2427.063 2427.063 2427.025 2427.025 2426.71 2426.71 2426.13 2426.13 2425.898 2425.898 2426.699 2426.699 2427.736 2427.736 2428.626 2428.626 2429.598 2429.598 2431.576 2431.576 2434.322 2434.322 2436.947 2436.947 2439.279 2439.279 2440.836 2443.372 2440.965 2440.965 2438.541 2438.541 2436.077 2436.077 2433.508 2433.508 2430.484 2430.484 2427.715 2427.715 2426.197 2426.197 2425.632 2425.632 2425.586 2425.586 2425.667 2425.667 2425.649 2425.649 2424.847 2424.847 2423.926 2423.926 2423.346 2423.346 2424.624 2424.624 2425.897 2425.897 2426.915 2426.915 2427.708 2427.708 2429.964 2429.964 2433.296 2433.296 2436.419 2436.419 2439.364 2439.364 2441.274 2443.372 2440.965 2440.965 2438.541 2438.541 2436.077 2436.077 2433.508 2433.508 2430.484 2430.484 2427.715 2427.715 2426.197 2426.197 2425.632 2425.632 2425.586 2425.586 2425.667 2425.667 2425.649 2425.649 2424.847 2424.847 2423.926 2423.926 2423.346 2423.346 2424.624 2424.624 2425.897 2425.897 2426.915 2426.915 2427.708 2427.708 2429.964 2429.964 2433.296 2433.296 2436.419 2436.419 2439.364 2439.364 2441.274 2441.472 2439.008 2439.008 2436.351 2436.351 2433.408 2433.408 2430.062 2430.062 2426.272 2426.272 2422.942 2422.942 2423.293 2423.293 2423.971 2423.971 2424.444 2424.444 2424.679 2424.679 2424.732 2424.732 2424.096 2424.096 2423.143 2423.143 2423.098 2423.098 2423.826 2423.826 2425.075 2425.075 2426.381 2426.381 2427.642 2427.642 2429.755 2429.755 2432.85 2432.85 2435.961 2435.961 2438.852 2438.852 2440.733 2441.472 2439.008 2439.008 2436.351 2436.351 2433.408 2433.408 2430.062 2430.062 2426.272 2426.272 2422.942 2422.942 2423.293 2423.293 2423.971 2423.971 2424.444 2424.444 2424.679 2424.679 2424.732 2424.732 2424.096 2424.096 2423.143 2423.143 2423.098 2423.098 2423.826 2423.826 2425.075 2425.075 2426.381 2426.381 2427.642 2427.642 2429.755 2429.755 2432.85 2432.85 2435.961 2435.961 2438.852 2438.852 2440.733 2439.444 2437.02 2437.02 2434.251 2434.251 2431.149 2431.149 2427.737 2427.737 2424.075 2424.075 2421.221 2421.221 2421.919 2421.919 2423.064 2423.064 2423.908 2423.908 2424.223 2424.223 2424.221 2424.221 2423.653 2423.653 2423.116 2423.116 2422.88 2422.88 2423.823 2423.823 2425.197 2425.197 2426.682 2426.682 2428.294 2428.294 2430.234 2430.234 2433.001 2433.001 2435.679 2435.679 2438.018 2438.018 2439.621 2439.444 2437.02 2437.02 2434.251 2434.251 2431.149 2431.149 2427.737 2427.737 2424.075 2424.075 2421.221 2421.221 2421.919 2421.919 2423.064 2423.064 2423.908 2423.908 2424.223 2424.223 2424.221 2424.221 2423.653 2423.653 2423.116 2423.116 2422.88 2422.88 2423.823 2423.823 2425.197 2425.197 2426.682 2426.682 2428.294 2428.294 2430.234 2430.234 2433.001 2433.001 2435.679 2435.679 2438.018 2438.018 2439.621 2437.491 2435.21 2435.21 2432.494 2432.494 2429.563 2429.563 2426.517 2426.517 2423.775 2423.775 2422.172 2422.172 2422.286 2422.286 2422.858 2422.858 2423.534 2423.534 2424.167 2424.167 2423.869 2423.869 2423.43 2423.43 2423.421 2423.421 2423.379 2423.379 2424.525 2424.525 2425.727 2425.727 2427.516 2427.516 2429.468 2429.468 2431.56 2431.56 2433.615 2433.615 2435.512 2435.512 2437.325 2437.325 2438.79 2437.491 2435.21 2435.21 2432.494 2432.494 2429.563 2429.563 2426.517 2426.517 2423.775 2423.775 2422.172 2422.172 2422.286 2422.286 2422.858 2422.858 2423.534 2423.534 2424.167 2424.167 2423.869 2423.869 2423.43 2423.43 2423.421 2423.421 2423.379 2423.379 2424.525 2424.525 2425.727 2425.727 2427.516 2427.516 2429.468 2429.468 2431.56 2431.56 2433.615 2433.615 2435.512 2435.512 2437.325 2437.325 2438.79 2435.904 2433.751 2433.751 2431.295 2431.295 2428.423 2428.423 2425.764 2425.764 2423.751 2423.751 2422.628 2422.628 2422.653 2422.653 2422.803 2422.803 2422.966 2422.966 2423.148 2423.148 2422.916 2422.916 2423.179 2423.179 2423.561 2423.561 2424.179 2424.179 2425.219 2425.219 2426.814 2426.814 2428.769 2428.769 2430.685 2430.685 2432.774 2432.774 2434.064 2434.064 2435.444 2435.444 2436.698 2436.698 2437.906 2435.904 2433.751 2433.751 2431.295 2431.295 2428.423 2428.423 2425.764 2425.764 2423.751 2423.751 2422.628 2422.628 2422.653 2422.653 2422.803 2422.803 2422.966 2422.966 2423.148 2423.148 2422.916 2422.916 2423.179 2423.179 2423.561 2423.561 2424.179 2424.179 2425.219 2425.219 2426.814 2426.814 2428.769 2428.769 2430.685 2430.685 2432.774 2432.774 2434.064 2434.064 2435.444 2435.444 2436.698 2436.698 2437.906 2434.53 2432.506 2432.506 2430.198 2430.198 2427.74 2427.74 2425.389 2425.389 2423.682 2423.682 2422.707 2422.707 2422.239 2422.239 2421.715 2421.715 2421.241 2421.241 2420.944 2420.944 2421.133 2421.133 2421.801 2421.801 2423.154 2423.154 2424.478 2424.478 2425.469 2425.469 2427.065 2427.065 2429.062 2429.062 2431.284 2431.284 2433.025 2433.025 2433.975 2433.975 2435.013 2435.013 2436.075 2436.075 2437.018 2434.53 2432.506 2432.506 2430.198 2430.198 2427.74 2427.74 2425.389 2425.389 2423.682 2423.682 2422.707 2422.707 2422.239 2422.239 2421.715 2421.715 2421.241 2421.241 2420.944 2420.944 2421.133 2421.133 2421.801 2421.801 2423.154 2423.154 2424.478 2424.478 2425.469 2425.469 2427.065 2427.065 2429.062 2429.062 2431.284 2431.284 2433.025 2433.025 2433.975 2433.975 2435.013 2435.013 2436.075 2436.075 2437.018 2433.313 2431.365 2431.365 2429.325 2429.325 2427.28 2427.28 2425.094 2425.094 2423.282 2423.282 2421.909 2421.909 2420.785 2420.785 2419.606 2419.606 2418.659 2418.659 2418.461 2418.461 2418.945 2418.945 2420.009 2420.009 2421.594 2421.594 2423.389 2423.389 2424.926 2424.926 2426.734 2426.734 2428.737 2428.737 2430.727 2430.727 2432.302 2432.302 2433.338 2433.338 2434.342 2434.342 2435.296 2435.296 2436.123 2433.313 2431.365 2431.365 2429.325 2429.325 2427.28 2427.28 2425.094 2425.094 2423.282 2423.282 2421.909 2421.909 2420.785 2420.785 2419.606 2419.606 2418.659 2418.659 2418.461 2418.461 2418.945 2418.945 2420.009 2420.009 2421.594 2421.594 2423.389 2423.389 2424.926 2424.926 2426.734 2426.734 2428.737 2428.737 2430.727 2430.727 2432.302 2432.302 2433.338 2433.338 2434.342 2434.342 2435.296 2435.296 2436.123 2432.323 2430.625 2430.625 2428.683 2428.683 2426.67 2426.67 2424.666 2424.666 2422.821 2422.821 2421.127 2421.127 2419.433 2419.433 2417.563 2417.563 2416.111 2416.111 2415.966 2415.966 2416.652 2416.652 2417.86 2417.86 2419.663 2419.663 2421.733 2421.733 2423.949 2423.949 2426.132 2426.132 2428.176 2428.176 2430.007 2430.007 2431.487 2431.487 2432.643 2432.643 2433.516 2433.516 2434.369 2434.369 2435.269 2432.323 2430.625 2430.625 2428.683 2428.683 2426.67 2426.67 2424.666 2424.666 2422.821 2422.821 2421.127 2421.127 2419.433 2419.433 2417.563 2417.563 2416.111 2416.111 2415.966 2415.966 2416.652 2416.652 2417.86 2417.86 2419.663 2419.663 2421.733 2421.733 2423.949 2423.949 2426.132 2426.132 2428.176 2428.176 2430.007 2430.007 2431.487 2431.487 2432.643 2432.643 2433.516 2433.516 2434.369 2434.369 2435.269 2431.52 2429.908 2429.908 2428.148 2428.148 2426.214 2426.214 2424.238 2424.238 2422.312 2422.312 2420.461 2420.461 2418.649 2418.649 2416.828 2416.828 2414.46 2414.46 2414.542 2414.542 2415.276 2415.276 2416.017 2416.017 2418.104 2418.104 2420.623 2420.623 2423.281 2423.281 2425.712 2425.712 2427.657 2427.657 2429.27 2429.27 2430.569 2430.569 2431.695 2431.695 2432.653 2432.653 2433.538 2433.538 2434.4 2431.52 2429.908 2429.908 2428.148 2428.148 2426.214 2426.214 2424.238 2424.238 2422.312 2422.312 2420.461 2420.461 2418.649 2418.649 2416.828 2416.828 2414.46 2414.46 2414.542 2414.542 2415.276 2415.276 2416.017 2416.017 2418.104 2418.104 2420.623 2420.623 2423.281 2423.281 2425.712 2425.712 2427.657 2427.657 2429.27 2429.27 2430.569 2430.569 2431.695 2431.695 2432.653 2432.653 2433.538 2433.538 2434.4 2430.687 2429.352 2429.352 2427.702 2427.702 2425.929 2425.929 2424.009 2424.009 2422.244 2422.244 2420.381 2420.381 2418.952 2418.952 2417.691 2417.691 2416.476 2416.476 2416.008 2416.008 2415.729 2415.729 2415.094 2415.094 2417.8 2417.8 2420.902 2420.902 2423.562 2423.562 2425.6 2425.6 2427.194 2427.194 2428.607 2428.607 2429.811 2429.811 2430.869 2430.869 2431.842 2431.842 2432.666 2432.666 2433.552 2430.687 2429.352 2429.352 2427.702 2427.702 2425.929 2425.929 2424.009 2424.009 2422.244 2422.244 2420.381 2420.381 2418.952 2418.952 2417.691 2417.691 2416.476 2416.476 2416.008 2416.008 2415.729 2415.729 2415.094 2415.094 2417.8 2417.8 2420.902 2420.902 2423.562 2423.562 2425.6 2425.6 2427.194 2427.194 2428.607 2428.607 2429.811 2429.811 2430.869 2430.869 2431.842 2431.842 2432.666 2432.666 2433.552 2429.886 2428.838 2428.838 2427.264 2427.264 2425.574 2425.574 2423.865 2423.865 2422.34 2422.34 2420.836 2420.836 2419.973 2419.973 2419.356 2419.356 2419.142 2419.142 2418.821 2418.821 2417.95 2417.95 2417.699 2417.699 2419.167 2419.167 2421.923 2421.923 2424.299 2424.299 2425.563 2425.563 2426.841 2426.841 2428.039 2428.039 2429.086 2429.086 2430.093 2430.093 2431.021 2431.021 2431.805 2431.805 2432.713 2429.886 2428.838 2428.838 2427.264 2427.264 2425.574 2425.574 2423.865 2423.865 2422.34 2422.34 2420.836 2420.836 2419.973 2419.973 2419.356 2419.356 2419.142 2419.142 2418.821 2418.821 2417.95 2417.95 2417.699 2417.699 2419.167 2419.167 2421.923 2421.923 2424.299 2424.299 2425.563 2425.563 2426.841 2426.841 2428.039 2428.039 2429.086 2429.086 2430.093 2430.093 2431.021 2431.021 2431.805 2431.805 2432.713 2429.013 2428.059 2428.059 2426.607 2426.607 2425.099 2425.099 2423.791 2423.791 2422.486 2422.486 2421.509 2421.509 2421.027 2421.027 2421.097 2421.097 2421.808 2421.808 2422.15 2422.15 2420.338 2420.338 2419.547 2419.547 2420.244 2420.244 2421.999 2421.999 2423.799 2423.799 2425.125 2425.125 2426.344 2426.344 2427.323 2427.323 2428.482 2428.482 2429.475 2429.475 2430.329 2430.329 2431.026 2431.026 2431.952 2429.013 2428.059 2428.059 2426.607 2426.607 2425.099 2425.099 2423.791 2423.791 2422.486 2422.486 2421.509 2421.509 2421.027 2421.027 2421.097 2421.097 2421.808 2421.808 2422.15 2422.15 2420.338 2420.338 2419.547 2419.547 2420.244 2420.244 2421.999 2421.999 2423.799 2423.799 2425.125 2425.125 2426.344 2426.344 2427.323 2427.323 2428.482 2428.482 2429.475 2429.475 2430.329 2430.329 2431.026 2431.026 2431.952 2428.332 2427.316 2427.316 2426.077 2426.077 2424.829 2424.829 2423.636 2423.636 2422.636 2422.636 2421.986 2421.986 2421.68 2421.68 2421.813 2421.813 2422.391 2422.391 2422.536 2422.536 2421.079 2421.079 2420.198 2420.198 2420.442 2420.442 2421.35 2421.35 2422.867 2422.867 2424.435 2424.435 2425.758 2425.758 2426.745 2426.745 2427.871 2427.871 2428.843 2428.843 2429.703 2429.703 2430.472 2430.472 2431.347 2428.332 2427.316 2427.316 2426.077 2426.077 2424.829 2424.829 2423.636 2423.636 2422.636 2422.636 2421.986 2421.986 2421.68 2421.68 2421.813 2421.813 2422.391 2422.391 2422.536 2422.536 2421.079 2421.079 2420.198 2420.198 2420.442 2420.442 2421.35 2421.35 2422.867 2422.867 2424.435 2424.435 2425.758 2425.758 2426.745 2426.745 2427.871 2427.871 2428.843 2428.843 2429.703 2429.703 2430.472 2430.472 2431.347 2427.546 2426.64 2426.64 2425.635 2425.635 2424.582 2424.582 2423.676 2423.676 2422.813 2422.813 2422.221 2422.221 2421.875 2421.875 2421.734 2421.734 2421.745 2421.745 2420.971 2420.971 2420.12 2420.12 2420.19 2420.19 2420.489 2420.489 2420.794 2420.794 2422.268 2422.268 2423.856 2423.856 2425.229 2425.229 2426.284 2426.284 2427.396 2427.396 2428.357 2428.357 2429.166 2429.166 2430.066 2430.066 2430.834 2427.546 2426.64 2426.64 2425.635 2425.635 2424.582 2424.582 2423.676 2423.676 2422.813 2422.813 2422.221 2422.221 2421.875 2421.875 2421.734 2421.734 2421.745 2421.745 2420.971 2420.971 2420.12 2420.12 2420.19 2420.19 2420.489 2420.489 2420.794 2420.794 2422.268 2422.268 2423.856 2423.856 2425.229 2425.229 2426.284 2426.284 2427.396 2427.396 2428.357 2428.357 2429.166 2429.166 2430.066 2430.066 2430.834 2426.799 2426.003 2426.003 2425.205 2425.205 2424.401 2424.401 2423.602 2423.602 2422.962 2422.962 2422.347 2422.347 2421.842 2421.842 2421.55 2421.55 2421.094 2421.094 2419.965 2419.965 2419.526 2419.526 2420.024 2420.024 2420.557 2420.557 2421.277 2421.277 2422.335 2422.335 2423.645 2423.645 2424.836 2424.836 2425.99 2425.99 2427.036 2427.036 2427.96 2427.96 2428.856 2428.856 2429.738 2429.738 2430.589 2426.799 2426.003 2426.003 2425.205 2425.205 2424.401 2424.401 2423.602 2423.602 2422.962 2422.962 2422.347 2422.347 2421.842 2421.842 2421.55 2421.55 2421.094 2421.094 2419.965 2419.965 2419.526 2419.526 2420.024 2420.024 2420.557 2420.557 2421.277 2421.277 2422.335 2422.335 2423.645 2423.645 2424.836 2424.836 2425.99 2425.99 2427.036 2427.036 2427.96 2427.96 2428.856 2428.856 2429.738 2429.738 2430.589 2426.178 2425.497 2425.497 2424.896 2424.896 2424.203 2424.203 2423.568 2423.568 2423.013 2423.013 2422.451 2422.451 2421.903 2421.903 2421.364 2421.364 2420.791 2420.791 2420.232 2420.232 2420.101 2420.101 2420.405 2420.405 2421.001 2421.001 2421.793 2421.793 2422.66 2422.66 2423.759 2423.759 2424.824 2424.824 2425.862 2425.862 2426.853 2426.853 2427.769 2427.769 2428.729 2428.729 2429.491 2429.491 2430.31 2426.178 2425.497 2425.497 2424.896 2424.896 2424.203 2424.203 2423.568 2423.568 2423.013 2423.013 2422.451 2422.451 2421.903 2421.903 2421.364 2421.364 2420.791 2420.791 2420.232 2420.232 2420.101 2420.101 2420.405 2420.405 2421.001 2421.001 2421.793 2421.793 2422.66 2422.66 2423.759 2423.759 2424.824 2424.824 2425.862 2425.862 2426.853 2426.853 2427.769 2427.769 2428.729 2428.729 2429.491 2429.491 2430.31 2425.643 2425.077 2425.077 2424.636 2424.636 2424.09 2424.09 2423.576 2423.576 2423.078 2423.078 2422.57 2422.57 2422.076 2422.076 2421.549 2421.549 2421.073 2421.073 2420.709 2420.709 2420.665 2420.665 2420.975 2420.975 2421.549 2421.549 2422.314 2422.314 2423.083 2423.083 2423.985 2423.985 2424.943 2424.943 2425.903 2425.903 2426.824 2426.824 2427.696 2427.696 2428.571 2428.571 2429.429 2429.429 2430.205 2425.643 2425.077 2425.077 2424.636 2424.636 2424.09 2424.09 2423.576 2423.576 2423.078 2423.078 2422.57 2422.57 2422.076 2422.076 2421.549 2421.549 2421.073 2421.073 2420.709 2420.709 2420.665 2420.665 2420.975 2420.975 2421.549 2421.549 2422.314 2422.314 2423.083 2423.083 2423.985 2423.985 2424.943 2424.943 2425.903 2425.903 2426.824 2426.824 2427.696 2427.696 2428.571 2428.571 2429.429 2429.429 2430.205 2425.186 2424.842 2424.842 2424.427 2424.427 2424.083 2424.083 2423.614 2423.614 2423.192 2423.192 2422.763 2422.763 2422.307 2422.307 2421.859 2421.859 2421.545 2421.545 2421.279 2421.279 2421.245 2421.245 2421.56 2421.56 2422.1 2422.1 2422.82 2422.82 2423.537 2423.537 2424.296 2424.296 2425.131 2425.131 2425.998 2425.998 2426.855 2426.855 2427.705 2427.705 2428.545 2428.545 2429.4 2429.4 2430.163 2425.186 2424.842 2424.842 2424.427 2424.427 2424.083 2424.083 2423.614 2423.614 2423.192 2423.192 2422.763 2422.763 2422.307 2422.307 2421.859 2421.859 2421.545 2421.545 2421.279 2421.279 2421.245 2421.245 2421.56 2421.56 2422.1 2422.1 2422.82 2422.82 2423.537 2423.537 2424.296 2424.296 2425.131 2425.131 2425.998 2425.998 2426.855 2426.855 2427.705 2427.705 2428.545 2428.545 2429.4 2429.4 2430.163 2424.805 2424.569 2424.569 2424.379 2424.379 2424.058 2424.058 2423.692 2423.692 2423.348 2423.348 2422.98 2422.98 2422.594 2422.594 2422.265 2422.265 2421.968 2421.968 2421.804 2421.804 2421.782 2421.782 2422.055 2422.055 2422.563 2422.563 2423.266 2423.266 2423.942 2423.942 2424.684 2424.684 2425.45 2425.45 2426.251 2426.251 2427.047 2427.047 2427.832 2427.832 2428.658 2428.658 2429.394 2429.394 2430.151 2424.805 2424.569 2424.569 2424.379 2424.379 2424.058 2424.058 2423.692 2423.692 2423.348 2423.348 2422.98 2422.98 2422.594 2422.594 2422.265 2422.265 2421.968 2421.968 2421.804 2421.804 2421.782 2421.782 2422.055 2422.055 2422.563 2422.563 2423.266 2423.266 2423.942 2423.942 2424.684 2424.684 2425.45 2425.45 2426.251 2426.251 2427.047 2427.047 2427.832 2427.832 2428.658 2428.658 2429.394 2429.394 2430.151 2424.626 2424.452 2424.452 2424.375 2424.375 2424.137 2424.137 2423.84 2423.84 2423.541 2423.541 2423.228 2423.228 2422.903 2422.903 2422.59 2422.59 2422.368 2422.368 2422.205 2422.205 2422.22 2422.22 2422.455 2422.455 2422.901 2422.901 2423.531 2423.531 2424.218 2424.218 2424.91 2424.91 2425.584 2425.584 2426.361 2426.361 2427.155 2427.155 2427.935 2427.935 2428.741 2428.741 2429.53 2429.53 2430.155 2448.786 2447.679 2447.679 2446.556 2446.556 2445.478 2445.478 2444.486 2444.486 2443.316 2443.316 2442.113 2442.113 2441.263 2441.263 2440.315 2440.315 2439.603 2439.603 2439.793 2439.793 2440.939 2440.939 2442.414 2442.414 2444.156 2444.156 2444.995 2444.995 2443.802 2443.802 2442.625 2442.625 2441.629 2441.629 2441.091 2441.091 2440.871 2440.871 2440.99 2440.99 2441.335 2441.335 2441.784 2441.784 2442.335 2448.258 2447.049 2447.049 2445.793 2445.793 2444.58 2444.58 2443.652 2443.652 2442.363 2442.363 2440.934 2440.934 2439.572 2439.572 2438.487 2438.487 2437.847 2437.847 2437.973 2437.973 2438.736 2438.736 2439.971 2439.971 2441.557 2441.557 2442.326 2442.326 2441.161 2441.161 2440.079 2440.079 2439.241 2439.241 2438.94 2438.94 2439.171 2439.171 2439.801 2439.801 2440.528 2440.528 2441.279 2441.279 2442.06 2448.258 2447.049 2447.049 2445.793 2445.793 2444.58 2444.58 2443.652 2443.652 2442.363 2442.363 2440.934 2440.934 2439.572 2439.572 2438.487 2438.487 2437.847 2437.847 2437.973 2437.973 2438.736 2438.736 2439.971 2439.971 2441.557 2441.557 2442.326 2442.326 2441.161 2441.161 2440.079 2440.079 2439.241 2439.241 2438.94 2438.94 2439.171 2439.171 2439.801 2439.801 2440.528 2440.528 2441.279 2441.279 2442.06 2447.607 2446.282 2446.282 2444.837 2444.837 2443.72 2443.72 2442.554 2442.554 2441.143 2441.143 2439.31 2439.31 2437.623 2437.623 2436.402 2436.402 2435.764 2435.764 2436.054 2436.054 2436.11 2436.11 2436.709 2436.709 2437.459 2437.459 2437.604 2437.604 2437.212 2437.212 2436.74 2436.74 2436.307 2436.307 2436.526 2436.526 2437.367 2437.367 2438.414 2438.414 2439.656 2439.656 2441.067 2441.067 2442.004 2447.607 2446.282 2446.282 2444.837 2444.837 2443.72 2443.72 2442.554 2442.554 2441.143 2441.143 2439.31 2439.31 2437.623 2437.623 2436.402 2436.402 2435.764 2435.764 2436.054 2436.054 2436.11 2436.11 2436.709 2436.709 2437.459 2437.459 2437.604 2437.604 2437.212 2437.212 2436.74 2436.74 2436.307 2436.307 2436.526 2436.526 2437.367 2437.367 2438.414 2438.414 2439.656 2439.656 2441.067 2441.067 2442.004 2446.836 2445.342 2445.342 2443.664 2443.664 2442.209 2442.209 2441.037 2441.037 2439.75 2439.75 2437.17 2437.17 2435.174 2435.174 2433.953 2433.953 2433.851 2433.851 2433.588 2433.588 2433.305 2433.305 2433.211 2433.211 2433.069 2433.069 2432.857 2432.857 2433.01 2433.01 2432.885 2432.885 2433.166 2433.166 2433.818 2433.818 2435.16 2435.16 2436.905 2436.905 2439.08 2439.08 2440.773 2440.773 2442.022 2446.836 2445.342 2445.342 2443.664 2443.664 2442.209 2442.209 2441.037 2441.037 2439.75 2439.75 2437.17 2437.17 2435.174 2435.174 2433.953 2433.953 2433.851 2433.851 2433.588 2433.588 2433.305 2433.305 2433.211 2433.211 2433.069 2433.069 2432.857 2432.857 2433.01 2433.01 2432.885 2432.885 2433.166 2433.166 2433.818 2433.818 2435.16 2435.16 2436.905 2436.905 2439.08 2439.08 2440.773 2440.773 2442.022 2446.04 2444.03 2444.03 2441.919 2441.919 2440.018 2440.018 2438.339 2438.339 2436.472 2436.472 2433.909 2433.909 2432.06 2432.06 2431.192 2431.192 2431.193 2431.193 2431.063 2431.063 2430.865 2430.865 2430.146 2430.146 2429.006 2429.006 2428.206 2428.206 2428.86 2428.86 2429.687 2429.687 2430.278 2430.278 2430.935 2430.935 2432.802 2432.802 2435.64 2435.64 2438.29 2438.29 2440.632 2440.632 2442.218 2446.04 2444.03 2444.03 2441.919 2441.919 2440.018 2440.018 2438.339 2438.339 2436.472 2436.472 2433.909 2433.909 2432.06 2432.06 2431.192 2431.192 2431.193 2431.193 2431.063 2431.063 2430.865 2430.865 2430.146 2430.146 2429.006 2429.006 2428.206 2428.206 2428.86 2428.86 2429.687 2429.687 2430.278 2430.278 2430.935 2430.935 2432.802 2432.802 2435.64 2435.64 2438.29 2438.29 2440.632 2440.632 2442.218 2444.679 2442.353 2442.353 2439.972 2439.972 2437.362 2437.362 2434.76 2434.76 2431.864 2431.864 2429.492 2429.492 2428.5 2428.5 2428.421 2428.421 2428.682 2428.682 2428.842 2428.842 2428.717 2428.717 2427.61 2427.61 2426.259 2426.259 2425.29 2425.29 2426.533 2426.533 2427.66 2427.66 2428.39 2428.39 2428.787 2428.787 2430.97 2430.97 2434.454 2434.454 2437.654 2437.654 2440.638 2440.638 2442.594 2444.679 2442.353 2442.353 2439.972 2439.972 2437.362 2437.362 2434.76 2434.76 2431.864 2431.864 2429.492 2429.492 2428.5 2428.5 2428.421 2428.421 2428.682 2428.682 2428.842 2428.842 2428.717 2428.717 2427.61 2427.61 2426.259 2426.259 2425.29 2425.29 2426.533 2426.533 2427.66 2427.66 2428.39 2428.39 2428.787 2428.787 2430.97 2430.97 2434.454 2434.454 2437.654 2437.654 2440.638 2440.638 2442.594 2442.826 2440.469 2440.469 2437.792 2437.792 2434.796 2434.796 2431.459 2431.459 2427.742 2427.742 2424.616 2424.616 2425.368 2425.368 2426.377 2426.377 2427.028 2427.028 2427.286 2427.286 2427.256 2427.256 2426.506 2426.506 2425.345 2425.345 2425.125 2425.125 2425.788 2425.788 2426.848 2426.848 2427.912 2427.912 2428.899 2428.899 2430.905 2430.905 2434.06 2434.06 2437.226 2437.226 2440.157 2440.157 2442.085 2442.826 2440.469 2440.469 2437.792 2437.792 2434.796 2434.796 2431.459 2431.459 2427.742 2427.742 2424.616 2424.616 2425.368 2425.368 2426.377 2426.377 2427.028 2427.028 2427.286 2427.286 2427.256 2427.256 2426.506 2426.506 2425.345 2425.345 2425.125 2425.125 2425.788 2425.788 2426.848 2426.848 2427.912 2427.912 2428.899 2428.899 2430.905 2430.905 2434.06 2434.06 2437.226 2437.226 2440.157 2440.157 2442.085 2440.839 2438.517 2438.517 2435.835 2435.835 2432.781 2432.781 2429.441 2429.441 2425.84 2425.84 2423.105 2423.105 2424.148 2424.148 2425.343 2425.343 2426.185 2426.185 2426.431 2426.431 2426.391 2426.391 2425.855 2425.855 2425.365 2425.365 2425.17 2425.17 2426.004 2426.004 2427.154 2427.154 2428.433 2428.433 2429.867 2429.867 2431.695 2431.695 2434.437 2434.437 2437.108 2437.108 2439.441 2439.441 2441.065 2440.839 2438.517 2438.517 2435.835 2435.835 2432.781 2432.781 2429.441 2429.441 2425.84 2425.84 2423.105 2423.105 2424.148 2424.148 2425.343 2425.343 2426.185 2426.185 2426.431 2426.431 2426.391 2426.391 2425.855 2425.855 2425.365 2425.365 2425.17 2425.17 2426.004 2426.004 2427.154 2427.154 2428.433 2428.433 2429.867 2429.867 2431.695 2431.695 2434.437 2434.437 2437.108 2437.108 2439.441 2439.441 2441.065 2438.961 2436.793 2436.793 2434.19 2434.19 2431.383 2431.383 2428.465 2428.465 2425.864 2425.864 2424.453 2424.453 2424.791 2424.791 2425.394 2425.394 2425.842 2425.842 2426.075 2426.075 2425.815 2425.815 2425.499 2425.499 2425.756 2425.756 2425.78 2425.78 2426.801 2426.801 2427.816 2427.816 2429.502 2429.502 2431.398 2431.398 2433.432 2433.432 2435.387 2435.387 2437.143 2437.143 2438.887 2438.887 2440.314 2438.961 2436.793 2436.793 2434.19 2434.19 2431.383 2431.383 2428.465 2428.465 2425.864 2425.864 2424.453 2424.453 2424.791 2424.791 2425.394 2425.394 2425.842 2425.842 2426.075 2426.075 2425.815 2425.815 2425.499 2425.499 2425.756 2425.756 2425.78 2425.78 2426.801 2426.801 2427.816 2427.816 2429.502 2429.502 2431.398 2431.398 2433.432 2433.432 2435.387 2435.387 2437.143 2437.143 2438.887 2438.887 2440.314 2437.482 2435.45 2435.45 2433.14 2433.14 2430.439 2430.439 2427.977 2427.977 2426.161 2426.161 2425.261 2425.261 2425.533 2425.533 2425.611 2425.611 2425.322 2425.322 2425.055 2425.055 2424.807 2424.807 2425.238 2425.238 2425.736 2425.736 2426.424 2426.424 2427.436 2427.436 2428.977 2428.977 2430.929 2430.929 2432.917 2432.917 2435.023 2435.023 2436.087 2436.087 2437.289 2437.289 2438.386 2438.386 2439.52 2437.482 2435.45 2435.45 2433.14 2433.14 2430.439 2430.439 2427.977 2427.977 2426.161 2426.161 2425.261 2425.261 2425.533 2425.533 2425.611 2425.611 2425.322 2425.322 2425.055 2425.055 2424.807 2424.807 2425.238 2425.238 2425.736 2425.736 2426.424 2426.424 2427.436 2427.436 2428.977 2428.977 2430.929 2430.929 2432.917 2432.917 2435.023 2435.023 2436.087 2436.087 2437.289 2437.289 2438.386 2438.386 2439.52 2436.226 2434.333 2434.333 2432.179 2432.179 2429.906 2429.906 2427.786 2427.786 2426.342 2426.342 2425.622 2425.622 2425.379 2425.379 2424.722 2424.722 2423.813 2423.813 2423.006 2423.006 2422.969 2422.969 2423.63 2423.63 2425.11 2425.11 2426.557 2426.557 2427.567 2427.567 2429.16 2429.16 2431.188 2431.188 2433.535 2433.535 2435.315 2435.315 2436.036 2436.036 2436.899 2436.899 2437.867 2437.867 2438.697 2436.226 2434.333 2434.333 2432.179 2432.179 2429.906 2429.906 2427.786 2427.786 2426.342 2426.342 2425.622 2425.622 2425.379 2425.379 2424.722 2424.722 2423.813 2423.813 2423.006 2423.006 2422.969 2422.969 2423.63 2423.63 2425.11 2425.11 2426.557 2426.557 2427.567 2427.567 2429.16 2429.16 2431.188 2431.188 2433.535 2433.535 2435.315 2435.315 2436.036 2436.036 2436.899 2436.899 2437.867 2437.867 2438.697 2435.134 2433.312 2433.312 2431.409 2431.409 2429.544 2429.544 2427.545 2427.545 2426.004 2426.004 2424.865 2424.865 2423.944 2423.944 2422.765 2422.765 2421.3 2421.3 2420.487 2420.487 2420.626 2420.626 2421.601 2421.601 2423.233 2423.233 2425.186 2425.186 2426.798 2426.798 2428.648 2428.648 2430.636 2430.636 2432.657 2432.657 2434.286 2434.286 2435.29 2435.29 2436.217 2436.217 2437.09 2437.09 2437.855 2435.134 2433.312 2433.312 2431.409 2431.409 2429.544 2429.544 2427.545 2427.545 2426.004 2426.004 2424.865 2424.865 2423.944 2423.944 2422.765 2422.765 2421.3 2421.3 2420.487 2420.487 2420.626 2420.626 2421.601 2421.601 2423.233 2423.233 2425.186 2425.186 2426.798 2426.798 2428.648 2428.648 2430.636 2430.636 2432.657 2432.657 2434.286 2434.286 2435.29 2435.29 2436.217 2436.217 2437.09 2437.09 2437.855 2434.265 2432.675 2432.675 2430.858 2430.858 2428.978 2428.978 2427.157 2427.157 2425.504 2425.504 2423.993 2423.993 2422.438 2422.438 2420.636 2420.636 2418.555 2418.555 2417.687 2417.687 2417.959 2417.959 2419.042 2419.042 2420.941 2420.941 2423.248 2423.248 2425.661 2425.661 2427.897 2427.897 2429.847 2429.847 2431.549 2431.549 2433.235 2433.235 2434.492 2434.492 2435.361 2435.361 2436.19 2436.19 2437.038 2434.265 2432.675 2432.675 2430.858 2430.858 2428.978 2428.978 2427.157 2427.157 2425.504 2425.504 2423.993 2423.993 2422.438 2422.438 2420.636 2420.636 2418.555 2418.555 2417.687 2417.687 2417.959 2417.959 2419.042 2419.042 2420.941 2420.941 2423.248 2423.248 2425.661 2425.661 2427.897 2427.897 2429.847 2429.847 2431.549 2431.549 2433.235 2433.235 2434.492 2434.492 2435.361 2435.361 2436.19 2436.19 2437.038 2433.591 2432.056 2432.056 2430.367 2430.367 2428.522 2428.522 2426.653 2426.653 2424.842 2424.842 2423.091 2423.091 2421.309 2421.309 2419.325 2419.325 2416.227 2416.227 2415.842 2415.842 2416.268 2416.268 2416.799 2416.799 2419.14 2419.14 2422.072 2422.072 2425.034 2425.034 2427.556 2427.556 2429.398 2429.398 2430.892 2430.892 2432.281 2432.281 2433.502 2433.502 2434.5 2434.5 2435.381 2435.381 2436.207 2433.591 2432.056 2432.056 2430.367 2430.367 2428.522 2428.522 2426.653 2426.653 2424.842 2424.842 2423.091 2423.091 2421.309 2421.309 2419.325 2419.325 2416.227 2416.227 2415.842 2415.842 2416.268 2416.268 2416.799 2416.799 2419.14 2419.14 2422.072 2422.072 2425.034 2425.034 2427.556 2427.556 2429.398 2429.398 2430.892 2430.892 2432.281 2432.281 2433.502 2433.502 2434.5 2434.5 2435.381 2435.381 2436.207 2432.879 2431.586 2431.586 2429.963 2429.963 2428.206 2428.206 2426.325 2426.325 2424.618 2424.618 2422.82 2422.82 2421.377 2421.377 2419.901 2419.901 2418.282 2418.282 2417.4 2417.4 2416.724 2416.724 2415.623 2415.623 2418.91 2418.91 2422.656 2422.656 2425.677 2425.677 2427.733 2427.733 2429.193 2429.193 2430.498 2430.498 2431.676 2431.676 2432.76 2432.76 2433.74 2433.74 2434.549 2434.549 2435.396 2432.879 2431.586 2431.586 2429.963 2429.963 2428.206 2428.206 2426.325 2426.325 2424.618 2424.618 2422.82 2422.82 2421.377 2421.377 2419.901 2419.901 2418.282 2418.282 2417.4 2417.4 2416.724 2416.724 2415.623 2415.623 2418.91 2418.91 2422.656 2422.656 2425.677 2425.677 2427.733 2427.733 2429.193 2429.193 2430.498 2430.498 2431.676 2431.676 2432.76 2432.76 2433.74 2433.74 2434.549 2434.549 2435.396 2432.175 2431.136 2431.136 2429.538 2429.538 2427.825 2427.825 2426.095 2426.095 2424.588 2424.588 2423.095 2423.095 2422.226 2422.226 2421.543 2421.543 2421.173 2421.173 2420.585 2420.585 2419.369 2419.369 2418.967 2418.967 2420.784 2420.784 2424.209 2424.209 2426.945 2426.945 2428.045 2428.045 2429.138 2429.138 2430.18 2430.18 2431.13 2431.13 2432.101 2432.101 2433.007 2433.007 2433.763 2433.763 2434.622 2432.175 2431.136 2431.136 2429.538 2429.538 2427.825 2427.825 2426.095 2426.095 2424.588 2424.588 2423.095 2423.095 2422.226 2422.226 2421.543 2421.543 2421.173 2421.173 2420.585 2420.585 2419.369 2419.369 2418.967 2418.967 2420.784 2420.784 2424.209 2424.209 2426.945 2426.945 2428.045 2428.045 2429.138 2429.138 2430.18 2430.18 2431.13 2431.13 2432.101 2432.101 2433.007 2433.007 2433.763 2433.763 2434.622 2431.387 2430.397 2430.397 2428.904 2428.904 2427.341 2427.341 2425.957 2425.957 2424.581 2424.581 2423.598 2423.598 2423.178 2423.178 2423.311 2423.311 2424.097 2424.097 2424.416 2424.416 2422.262 2422.262 2421.349 2421.349 2422.274 2422.274 2424.492 2424.492 2426.54 2426.54 2427.769 2427.769 2428.82 2428.82 2429.595 2429.595 2430.684 2430.684 2431.617 2431.617 2432.427 2432.427 2433.072 2433.072 2433.933 2431.387 2430.397 2430.397 2428.904 2428.904 2427.341 2427.341 2425.957 2425.957 2424.581 2424.581 2423.598 2423.598 2423.178 2423.178 2423.311 2423.311 2424.097 2424.097 2424.416 2424.416 2422.262 2422.262 2421.349 2421.349 2422.274 2422.274 2424.492 2424.492 2426.54 2426.54 2427.769 2427.769 2428.82 2428.82 2429.595 2429.595 2430.684 2430.684 2431.617 2431.617 2432.427 2432.427 2433.072 2433.072 2433.933 2430.778 2429.719 2429.719 2428.417 2428.417 2427.085 2427.085 2425.786 2425.786 2424.655 2424.655 2423.935 2423.935 2423.78 2423.78 2424.028 2424.028 2424.716 2424.716 2424.857 2424.857 2423.186 2423.186 2422.256 2422.256 2422.676 2422.676 2423.857 2423.857 2425.535 2425.535 2427.102 2427.102 2428.315 2428.315 2429.119 2429.119 2430.168 2430.168 2431.062 2431.062 2431.862 2431.862 2432.569 2432.569 2433.381 2430.778 2429.719 2429.719 2428.417 2428.417 2427.085 2427.085 2425.786 2425.786 2424.655 2424.655 2423.935 2423.935 2423.78 2423.78 2424.028 2424.028 2424.716 2424.716 2424.857 2424.857 2423.186 2423.186 2422.256 2422.256 2422.676 2422.676 2423.857 2423.857 2425.535 2425.535 2427.102 2427.102 2428.315 2428.315 2429.119 2429.119 2430.168 2430.168 2431.062 2431.062 2431.862 2431.862 2432.569 2432.569 2433.381 2430.104 2429.138 2429.138 2428.055 2428.055 2426.903 2426.903 2425.862 2425.862 2424.88 2424.88 2424.243 2424.243 2423.974 2423.974 2423.895 2423.895 2423.937 2423.937 2423.064 2423.064 2422.131 2422.131 2422.321 2422.321 2422.805 2422.805 2423.311 2423.311 2424.898 2424.898 2426.491 2426.491 2427.811 2427.811 2428.721 2428.721 2429.736 2429.736 2430.621 2430.621 2431.35 2431.35 2432.19 2432.19 2432.903 2430.104 2429.138 2429.138 2428.055 2428.055 2426.903 2426.903 2425.862 2425.862 2424.88 2424.88 2424.243 2424.243 2423.974 2423.974 2423.895 2423.895 2423.937 2423.937 2423.064 2423.064 2422.131 2422.131 2422.321 2422.321 2422.805 2422.805 2423.311 2423.311 2424.898 2424.898 2426.491 2426.491 2427.811 2427.811 2428.721 2428.721 2429.736 2429.736 2430.621 2430.621 2431.35 2431.35 2432.19 2432.19 2432.903 2429.484 2428.619 2428.619 2427.738 2427.738 2426.827 2426.827 2425.912 2425.912 2425.181 2425.181 2424.507 2424.507 2423.982 2423.982 2423.706 2423.706 2423.236 2423.236 2421.961 2421.961 2421.514 2421.514 2422.199 2422.199 2422.93 2422.93 2423.797 2423.797 2424.944 2424.944 2426.27 2426.27 2427.412 2427.412 2428.469 2428.469 2429.41 2429.41 2430.241 2430.241 2431.069 2431.069 2431.884 2431.884 2432.667 2429.484 2428.619 2428.619 2427.738 2427.738 2426.827 2426.827 2425.912 2425.912 2425.181 2425.181 2424.507 2424.507 2423.982 2423.982 2423.706 2423.706 2423.236 2423.236 2421.961 2421.961 2421.514 2421.514 2422.199 2422.199 2422.93 2422.93 2423.797 2423.797 2424.944 2424.944 2426.27 2426.27 2427.412 2427.412 2428.469 2428.469 2429.41 2429.41 2430.241 2430.241 2431.069 2431.069 2431.884 2431.884 2432.667 2429.017 2428.264 2428.264 2427.577 2427.577 2426.789 2426.789 2426.041 2426.041 2425.402 2425.402 2424.772 2424.772 2424.177 2424.177 2423.603 2423.603 2422.997 2422.997 2422.394 2422.394 2422.295 2422.295 2422.722 2422.722 2423.453 2423.453 2424.351 2424.351 2425.283 2425.283 2426.388 2426.388 2427.403 2427.403 2428.355 2428.355 2429.246 2429.246 2430.073 2430.073 2430.951 2430.951 2431.653 2431.653 2432.405 2429.017 2428.264 2428.264 2427.577 2427.577 2426.789 2426.789 2426.041 2426.041 2425.402 2425.402 2424.772 2424.772 2424.177 2424.177 2423.603 2423.603 2422.997 2422.997 2422.394 2422.394 2422.295 2422.295 2422.722 2422.722 2423.453 2423.453 2424.351 2424.351 2425.283 2425.283 2426.388 2426.388 2427.403 2427.403 2428.355 2428.355 2429.246 2429.246 2430.073 2430.073 2430.951 2430.951 2431.653 2431.653 2432.405 2428.655 2428.017 2428.017 2427.493 2427.493 2426.854 2426.854 2426.238 2426.238 2425.655 2425.655 2425.075 2425.075 2424.527 2424.527 2423.964 2423.964 2423.459 2423.459 2423.088 2423.088 2423.075 2423.075 2423.46 2423.46 2424.118 2424.118 2424.947 2424.947 2425.748 2425.748 2426.626 2426.626 2427.529 2427.529 2428.405 2428.405 2429.23 2429.23 2430.008 2430.008 2430.802 2430.802 2431.588 2431.588 2432.3 2428.655 2428.017 2428.017 2427.493 2427.493 2426.854 2426.854 2426.238 2426.238 2425.655 2425.655 2425.075 2425.075 2424.527 2424.527 2423.964 2423.964 2423.459 2423.459 2423.088 2423.088 2423.075 2423.075 2423.46 2423.46 2424.118 2424.118 2424.947 2424.947 2425.748 2425.748 2426.626 2426.626 2427.529 2427.529 2428.405 2428.405 2429.23 2429.23 2430.008 2430.008 2430.802 2430.802 2431.588 2431.588 2432.3 2428.388 2427.977 2427.977 2427.485 2427.485 2427.051 2427.051 2426.487 2426.487 2425.977 2425.977 2425.471 2425.471 2424.955 2424.955 2424.479 2424.479 2424.137 2424.137 2423.866 2423.866 2423.858 2423.858 2424.232 2424.232 2424.813 2424.813 2425.555 2425.555 2426.268 2426.268 2426.975 2426.975 2427.736 2427.736 2428.51 2428.51 2429.265 2429.265 2430.018 2430.018 2430.774 2430.774 2431.556 2431.556 2432.256 2428.388 2427.977 2427.977 2427.485 2427.485 2427.051 2427.051 2426.487 2426.487 2425.977 2425.977 2425.471 2425.471 2424.955 2424.955 2424.479 2424.479 2424.137 2424.137 2423.866 2423.866 2423.858 2423.858 2424.232 2424.232 2424.813 2424.813 2425.555 2425.555 2426.268 2426.268 2426.975 2426.975 2427.736 2427.736 2428.51 2428.51 2429.265 2429.265 2430.018 2430.018 2430.774 2430.774 2431.556 2431.556 2432.256 2428.21 2427.916 2427.916 2427.654 2427.654 2427.249 2427.249 2426.792 2426.792 2426.362 2426.362 2425.914 2425.914 2425.464 2425.464 2425.106 2425.106 2424.784 2424.784 2424.606 2424.606 2424.601 2424.601 2424.887 2424.887 2425.405 2425.405 2426.109 2426.109 2426.75 2426.75 2427.422 2427.422 2428.093 2428.093 2428.783 2428.783 2429.465 2429.465 2430.144 2430.144 2430.874 2430.874 2431.548 2431.548 2432.242 2428.21 2427.916 2427.916 2427.654 2427.654 2427.249 2427.249 2426.792 2426.792 2426.362 2426.362 2425.914 2425.914 2425.464 2425.464 2425.106 2425.106 2424.784 2424.784 2424.606 2424.606 2424.601 2424.601 2424.887 2424.887 2425.405 2425.405 2426.109 2426.109 2426.75 2426.75 2427.422 2427.422 2428.093 2428.093 2428.783 2428.783 2429.465 2429.465 2430.144 2430.144 2430.874 2430.874 2431.548 2431.548 2432.242 2428.232 2427.994 2427.994 2427.877 2427.877 2427.563 2427.563 2427.179 2427.179 2426.796 2426.796 2426.406 2426.406 2426.021 2426.021 2425.663 2425.663 2425.414 2425.414 2425.234 2425.234 2425.241 2425.241 2425.443 2425.443 2425.874 2425.874 2426.478 2426.478 2427.108 2427.108 2427.695 2427.695 2428.261 2428.261 2428.908 2428.908 2429.572 2429.572 2430.232 2430.232 2430.942 2430.942 2431.655 2431.655 2432.24 2448.786 2447.679 2447.679 2446.556 2446.556 2445.478 2445.478 2444.486 2444.486 2443.316 2443.316 2442.113 2442.113 2441.263 2441.263 2440.315 2440.315 2439.603 2439.603 2439.793 2439.793 2440.939 2440.939 2442.414 2442.414 2444.156 2444.156 2444.995 2444.995 2443.802 2443.802 2442.625 2442.625 2441.629 2441.629 2441.091 2441.091 2440.871 2440.871 2440.99 2440.99 2441.335 2441.335 2441.784 2441.784 2442.335 2448.258 2447.049 2447.049 2445.793 2445.793 2444.58 2444.58 2443.652 2443.652 2442.363 2442.363 2440.934 2440.934 2439.572 2439.572 2438.487 2438.487 2437.847 2437.847 2437.973 2437.973 2438.736 2438.736 2439.971 2439.971 2441.557 2441.557 2442.326 2442.326 2441.161 2441.161 2440.079 2440.079 2439.241 2439.241 2438.94 2438.94 2439.171 2439.171 2439.801 2439.801 2440.528 2440.528 2441.279 2441.279 2442.06 2448.258 2447.049 2447.049 2445.793 2445.793 2444.58 2444.58 2443.652 2443.652 2442.363 2442.363 2440.934 2440.934 2439.572 2439.572 2438.487 2438.487 2437.847 2437.847 2437.973 2437.973 2438.736 2438.736 2439.971 2439.971 2441.557 2441.557 2442.326 2442.326 2441.161 2441.161 2440.079 2440.079 2439.241 2439.241 2438.94 2438.94 2439.171 2439.171 2439.801 2439.801 2440.528 2440.528 2441.279 2441.279 2442.06 2447.607 2446.282 2446.282 2444.837 2444.837 2443.72 2443.72 2442.554 2442.554 2441.143 2441.143 2439.31 2439.31 2437.623 2437.623 2436.402 2436.402 2435.764 2435.764 2436.054 2436.054 2436.11 2436.11 2436.709 2436.709 2437.459 2437.459 2437.604 2437.604 2437.212 2437.212 2436.74 2436.74 2436.307 2436.307 2436.526 2436.526 2437.367 2437.367 2438.414 2438.414 2439.656 2439.656 2441.067 2441.067 2442.004 2447.607 2446.282 2446.282 2444.837 2444.837 2443.72 2443.72 2442.554 2442.554 2441.143 2441.143 2439.31 2439.31 2437.623 2437.623 2436.402 2436.402 2435.764 2435.764 2436.054 2436.054 2436.11 2436.11 2436.709 2436.709 2437.459 2437.459 2437.604 2437.604 2437.212 2437.212 2436.74 2436.74 2436.307 2436.307 2436.526 2436.526 2437.367 2437.367 2438.414 2438.414 2439.656 2439.656 2441.067 2441.067 2442.004 2446.836 2445.342 2445.342 2443.664 2443.664 2442.209 2442.209 2441.037 2441.037 2439.75 2439.75 2437.17 2437.17 2435.174 2435.174 2433.953 2433.953 2433.851 2433.851 2433.588 2433.588 2433.305 2433.305 2433.211 2433.211 2433.069 2433.069 2432.857 2432.857 2433.01 2433.01 2432.885 2432.885 2433.166 2433.166 2433.818 2433.818 2435.16 2435.16 2436.905 2436.905 2439.08 2439.08 2440.773 2440.773 2442.022 2446.836 2445.342 2445.342 2443.664 2443.664 2442.209 2442.209 2441.037 2441.037 2439.75 2439.75 2437.17 2437.17 2435.174 2435.174 2433.953 2433.953 2433.851 2433.851 2433.588 2433.588 2433.305 2433.305 2433.211 2433.211 2433.069 2433.069 2432.857 2432.857 2433.01 2433.01 2432.885 2432.885 2433.166 2433.166 2433.818 2433.818 2435.16 2435.16 2436.905 2436.905 2439.08 2439.08 2440.773 2440.773 2442.022 2446.04 2444.03 2444.03 2441.919 2441.919 2440.018 2440.018 2438.339 2438.339 2436.472 2436.472 2433.909 2433.909 2432.06 2432.06 2431.192 2431.192 2431.193 2431.193 2431.063 2431.063 2430.865 2430.865 2430.146 2430.146 2429.006 2429.006 2428.206 2428.206 2428.86 2428.86 2429.687 2429.687 2430.278 2430.278 2430.935 2430.935 2432.802 2432.802 2435.64 2435.64 2438.29 2438.29 2440.632 2440.632 2442.218 2446.04 2444.03 2444.03 2441.919 2441.919 2440.018 2440.018 2438.339 2438.339 2436.472 2436.472 2433.909 2433.909 2432.06 2432.06 2431.192 2431.192 2431.193 2431.193 2431.063 2431.063 2430.865 2430.865 2430.146 2430.146 2429.006 2429.006 2428.206 2428.206 2428.86 2428.86 2429.687 2429.687 2430.278 2430.278 2430.935 2430.935 2432.802 2432.802 2435.64 2435.64 2438.29 2438.29 2440.632 2440.632 2442.218 2444.679 2442.353 2442.353 2439.972 2439.972 2437.362 2437.362 2434.76 2434.76 2431.864 2431.864 2429.492 2429.492 2428.5 2428.5 2428.421 2428.421 2428.682 2428.682 2428.842 2428.842 2428.717 2428.717 2427.61 2427.61 2426.259 2426.259 2425.29 2425.29 2426.533 2426.533 2427.66 2427.66 2428.39 2428.39 2428.787 2428.787 2430.97 2430.97 2434.454 2434.454 2437.654 2437.654 2440.638 2440.638 2442.594 2444.679 2442.353 2442.353 2439.972 2439.972 2437.362 2437.362 2434.76 2434.76 2431.864 2431.864 2429.492 2429.492 2428.5 2428.5 2428.421 2428.421 2428.682 2428.682 2428.842 2428.842 2428.717 2428.717 2427.61 2427.61 2426.259 2426.259 2425.29 2425.29 2426.533 2426.533 2427.66 2427.66 2428.39 2428.39 2428.787 2428.787 2430.97 2430.97 2434.454 2434.454 2437.654 2437.654 2440.638 2440.638 2442.594 2442.826 2440.469 2440.469 2437.792 2437.792 2434.796 2434.796 2431.459 2431.459 2427.742 2427.742 2424.616 2424.616 2425.368 2425.368 2426.377 2426.377 2427.028 2427.028 2427.286 2427.286 2427.256 2427.256 2426.506 2426.506 2425.345 2425.345 2425.125 2425.125 2425.788 2425.788 2426.848 2426.848 2427.912 2427.912 2428.899 2428.899 2430.905 2430.905 2434.06 2434.06 2437.226 2437.226 2440.157 2440.157 2442.085 2442.826 2440.469 2440.469 2437.792 2437.792 2434.796 2434.796 2431.459 2431.459 2427.742 2427.742 2424.616 2424.616 2425.368 2425.368 2426.377 2426.377 2427.028 2427.028 2427.286 2427.286 2427.256 2427.256 2426.506 2426.506 2425.345 2425.345 2425.125 2425.125 2425.788 2425.788 2426.848 2426.848 2427.912 2427.912 2428.899 2428.899 2430.905 2430.905 2434.06 2434.06 2437.226 2437.226 2440.157 2440.157 2442.085 2440.839 2438.517 2438.517 2435.835 2435.835 2432.781 2432.781 2429.441 2429.441 2425.84 2425.84 2423.105 2423.105 2424.148 2424.148 2425.343 2425.343 2426.185 2426.185 2426.431 2426.431 2426.391 2426.391 2425.855 2425.855 2425.365 2425.365 2425.17 2425.17 2426.004 2426.004 2427.154 2427.154 2428.433 2428.433 2429.867 2429.867 2431.695 2431.695 2434.437 2434.437 2437.108 2437.108 2439.441 2439.441 2441.065 2440.839 2438.517 2438.517 2435.835 2435.835 2432.781 2432.781 2429.441 2429.441 2425.84 2425.84 2423.105 2423.105 2424.148 2424.148 2425.343 2425.343 2426.185 2426.185 2426.431 2426.431 2426.391 2426.391 2425.855 2425.855 2425.365 2425.365 2425.17 2425.17 2426.004 2426.004 2427.154 2427.154 2428.433 2428.433 2429.867 2429.867 2431.695 2431.695 2434.437 2434.437 2437.108 2437.108 2439.441 2439.441 2441.065 2438.961 2436.793 2436.793 2434.19 2434.19 2431.383 2431.383 2428.465 2428.465 2425.864 2425.864 2424.453 2424.453 2424.791 2424.791 2425.394 2425.394 2425.842 2425.842 2426.075 2426.075 2425.815 2425.815 2425.499 2425.499 2425.756 2425.756 2425.78 2425.78 2426.801 2426.801 2427.816 2427.816 2429.502 2429.502 2431.398 2431.398 2433.432 2433.432 2435.387 2435.387 2437.143 2437.143 2438.887 2438.887 2440.314 2438.961 2436.793 2436.793 2434.19 2434.19 2431.383 2431.383 2428.465 2428.465 2425.864 2425.864 2424.453 2424.453 2424.791 2424.791 2425.394 2425.394 2425.842 2425.842 2426.075 2426.075 2425.815 2425.815 2425.499 2425.499 2425.756 2425.756 2425.78 2425.78 2426.801 2426.801 2427.816 2427.816 2429.502 2429.502 2431.398 2431.398 2433.432 2433.432 2435.387 2435.387 2437.143 2437.143 2438.887 2438.887 2440.314 2437.482 2435.45 2435.45 2433.14 2433.14 2430.439 2430.439 2427.977 2427.977 2426.161 2426.161 2425.261 2425.261 2425.533 2425.533 2425.611 2425.611 2425.322 2425.322 2425.055 2425.055 2424.807 2424.807 2425.238 2425.238 2425.736 2425.736 2426.424 2426.424 2427.436 2427.436 2428.977 2428.977 2430.929 2430.929 2432.917 2432.917 2435.023 2435.023 2436.087 2436.087 2437.289 2437.289 2438.386 2438.386 2439.52 2437.482 2435.45 2435.45 2433.14 2433.14 2430.439 2430.439 2427.977 2427.977 2426.161 2426.161 2425.261 2425.261 2425.533 2425.533 2425.611 2425.611 2425.322 2425.322 2425.055 2425.055 2424.807 2424.807 2425.238 2425.238 2425.736 2425.736 2426.424 2426.424 2427.436 2427.436 2428.977 2428.977 2430.929 2430.929 2432.917 2432.917 2435.023 2435.023 2436.087 2436.087 2437.289 2437.289 2438.386 2438.386 2439.52 2436.226 2434.333 2434.333 2432.179 2432.179 2429.906 2429.906 2427.786 2427.786 2426.342 2426.342 2425.622 2425.622 2425.379 2425.379 2424.722 2424.722 2423.813 2423.813 2423.006 2423.006 2422.969 2422.969 2423.63 2423.63 2425.11 2425.11 2426.557 2426.557 2427.567 2427.567 2429.16 2429.16 2431.188 2431.188 2433.535 2433.535 2435.315 2435.315 2436.036 2436.036 2436.899 2436.899 2437.867 2437.867 2438.697 2436.226 2434.333 2434.333 2432.179 2432.179 2429.906 2429.906 2427.786 2427.786 2426.342 2426.342 2425.622 2425.622 2425.379 2425.379 2424.722 2424.722 2423.813 2423.813 2423.006 2423.006 2422.969 2422.969 2423.63 2423.63 2425.11 2425.11 2426.557 2426.557 2427.567 2427.567 2429.16 2429.16 2431.188 2431.188 2433.535 2433.535 2435.315 2435.315 2436.036 2436.036 2436.899 2436.899 2437.867 2437.867 2438.697 2435.134 2433.312 2433.312 2431.409 2431.409 2429.544 2429.544 2427.545 2427.545 2426.004 2426.004 2424.865 2424.865 2423.944 2423.944 2422.765 2422.765 2421.3 2421.3 2420.487 2420.487 2420.626 2420.626 2421.601 2421.601 2423.233 2423.233 2425.186 2425.186 2426.798 2426.798 2428.648 2428.648 2430.636 2430.636 2432.657 2432.657 2434.286 2434.286 2435.29 2435.29 2436.217 2436.217 2437.09 2437.09 2437.855 2435.134 2433.312 2433.312 2431.409 2431.409 2429.544 2429.544 2427.545 2427.545 2426.004 2426.004 2424.865 2424.865 2423.944 2423.944 2422.765 2422.765 2421.3 2421.3 2420.487 2420.487 2420.626 2420.626 2421.601 2421.601 2423.233 2423.233 2425.186 2425.186 2426.798 2426.798 2428.648 2428.648 2430.636 2430.636 2432.657 2432.657 2434.286 2434.286 2435.29 2435.29 2436.217 2436.217 2437.09 2437.09 2437.855 2434.265 2432.675 2432.675 2430.858 2430.858 2428.978 2428.978 2427.157 2427.157 2425.504 2425.504 2423.993 2423.993 2422.438 2422.438 2420.636 2420.636 2418.555 2418.555 2417.687 2417.687 2417.959 2417.959 2419.042 2419.042 2420.941 2420.941 2423.248 2423.248 2425.661 2425.661 2427.897 2427.897 2429.847 2429.847 2431.549 2431.549 2433.235 2433.235 2434.492 2434.492 2435.361 2435.361 2436.19 2436.19 2437.038 2434.265 2432.675 2432.675 2430.858 2430.858 2428.978 2428.978 2427.157 2427.157 2425.504 2425.504 2423.993 2423.993 2422.438 2422.438 2420.636 2420.636 2418.555 2418.555 2417.687 2417.687 2417.959 2417.959 2419.042 2419.042 2420.941 2420.941 2423.248 2423.248 2425.661 2425.661 2427.897 2427.897 2429.847 2429.847 2431.549 2431.549 2433.235 2433.235 2434.492 2434.492 2435.361 2435.361 2436.19 2436.19 2437.038 2433.591 2432.056 2432.056 2430.367 2430.367 2428.522 2428.522 2426.653 2426.653 2424.842 2424.842 2423.091 2423.091 2421.309 2421.309 2419.325 2419.325 2416.227 2416.227 2415.842 2415.842 2416.268 2416.268 2416.799 2416.799 2419.14 2419.14 2422.072 2422.072 2425.034 2425.034 2427.556 2427.556 2429.398 2429.398 2430.892 2430.892 2432.281 2432.281 2433.502 2433.502 2434.5 2434.5 2435.381 2435.381 2436.207 2433.591 2432.056 2432.056 2430.367 2430.367 2428.522 2428.522 2426.653 2426.653 2424.842 2424.842 2423.091 2423.091 2421.309 2421.309 2419.325 2419.325 2416.227 2416.227 2415.842 2415.842 2416.268 2416.268 2416.799 2416.799 2419.14 2419.14 2422.072 2422.072 2425.034 2425.034 2427.556 2427.556 2429.398 2429.398 2430.892 2430.892 2432.281 2432.281 2433.502 2433.502 2434.5 2434.5 2435.381 2435.381 2436.207 2432.879 2431.586 2431.586 2429.963 2429.963 2428.206 2428.206 2426.325 2426.325 2424.618 2424.618 2422.82 2422.82 2421.377 2421.377 2419.901 2419.901 2418.282 2418.282 2417.4 2417.4 2416.724 2416.724 2415.623 2415.623 2418.91 2418.91 2422.656 2422.656 2425.677 2425.677 2427.733 2427.733 2429.193 2429.193 2430.498 2430.498 2431.676 2431.676 2432.76 2432.76 2433.74 2433.74 2434.549 2434.549 2435.396 2432.879 2431.586 2431.586 2429.963 2429.963 2428.206 2428.206 2426.325 2426.325 2424.618 2424.618 2422.82 2422.82 2421.377 2421.377 2419.901 2419.901 2418.282 2418.282 2417.4 2417.4 2416.724 2416.724 2415.623 2415.623 2418.91 2418.91 2422.656 2422.656 2425.677 2425.677 2427.733 2427.733 2429.193 2429.193 2430.498 2430.498 2431.676 2431.676 2432.76 2432.76 2433.74 2433.74 2434.549 2434.549 2435.396 2432.175 2431.136 2431.136 2429.538 2429.538 2427.825 2427.825 2426.095 2426.095 2424.588 2424.588 2423.095 2423.095 2422.226 2422.226 2421.543 2421.543 2421.173 2421.173 2420.585 2420.585 2419.369 2419.369 2418.967 2418.967 2420.784 2420.784 2424.209 2424.209 2426.945 2426.945 2428.045 2428.045 2429.138 2429.138 2430.18 2430.18 2431.13 2431.13 2432.101 2432.101 2433.007 2433.007 2433.763 2433.763 2434.622 2432.175 2431.136 2431.136 2429.538 2429.538 2427.825 2427.825 2426.095 2426.095 2424.588 2424.588 2423.095 2423.095 2422.226 2422.226 2421.543 2421.543 2421.173 2421.173 2420.585 2420.585 2419.369 2419.369 2418.967 2418.967 2420.784 2420.784 2424.209 2424.209 2426.945 2426.945 2428.045 2428.045 2429.138 2429.138 2430.18 2430.18 2431.13 2431.13 2432.101 2432.101 2433.007 2433.007 2433.763 2433.763 2434.622 2431.387 2430.397 2430.397 2428.904 2428.904 2427.341 2427.341 2425.957 2425.957 2424.581 2424.581 2423.598 2423.598 2423.178 2423.178 2423.311 2423.311 2424.097 2424.097 2424.416 2424.416 2422.262 2422.262 2421.349 2421.349 2422.274 2422.274 2424.492 2424.492 2426.54 2426.54 2427.769 2427.769 2428.82 2428.82 2429.595 2429.595 2430.684 2430.684 2431.617 2431.617 2432.427 2432.427 2433.072 2433.072 2433.933 2431.387 2430.397 2430.397 2428.904 2428.904 2427.341 2427.341 2425.957 2425.957 2424.581 2424.581 2423.598 2423.598 2423.178 2423.178 2423.311 2423.311 2424.097 2424.097 2424.416 2424.416 2422.262 2422.262 2421.349 2421.349 2422.274 2422.274 2424.492 2424.492 2426.54 2426.54 2427.769 2427.769 2428.82 2428.82 2429.595 2429.595 2430.684 2430.684 2431.617 2431.617 2432.427 2432.427 2433.072 2433.072 2433.933 2430.778 2429.719 2429.719 2428.417 2428.417 2427.085 2427.085 2425.786 2425.786 2424.655 2424.655 2423.935 2423.935 2423.78 2423.78 2424.028 2424.028 2424.716 2424.716 2424.857 2424.857 2423.186 2423.186 2422.256 2422.256 2422.676 2422.676 2423.857 2423.857 2425.535 2425.535 2427.102 2427.102 2428.315 2428.315 2429.119 2429.119 2430.168 2430.168 2431.062 2431.062 2431.862 2431.862 2432.569 2432.569 2433.381 2430.778 2429.719 2429.719 2428.417 2428.417 2427.085 2427.085 2425.786 2425.786 2424.655 2424.655 2423.935 2423.935 2423.78 2423.78 2424.028 2424.028 2424.716 2424.716 2424.857 2424.857 2423.186 2423.186 2422.256 2422.256 2422.676 2422.676 2423.857 2423.857 2425.535 2425.535 2427.102 2427.102 2428.315 2428.315 2429.119 2429.119 2430.168 2430.168 2431.062 2431.062 2431.862 2431.862 2432.569 2432.569 2433.381 2430.104 2429.138 2429.138 2428.055 2428.055 2426.903 2426.903 2425.862 2425.862 2424.88 2424.88 2424.243 2424.243 2423.974 2423.974 2423.895 2423.895 2423.937 2423.937 2423.064 2423.064 2422.131 2422.131 2422.321 2422.321 2422.805 2422.805 2423.311 2423.311 2424.898 2424.898 2426.491 2426.491 2427.811 2427.811 2428.721 2428.721 2429.736 2429.736 2430.621 2430.621 2431.35 2431.35 2432.19 2432.19 2432.903 2430.104 2429.138 2429.138 2428.055 2428.055 2426.903 2426.903 2425.862 2425.862 2424.88 2424.88 2424.243 2424.243 2423.974 2423.974 2423.895 2423.895 2423.937 2423.937 2423.064 2423.064 2422.131 2422.131 2422.321 2422.321 2422.805 2422.805 2423.311 2423.311 2424.898 2424.898 2426.491 2426.491 2427.811 2427.811 2428.721 2428.721 2429.736 2429.736 2430.621 2430.621 2431.35 2431.35 2432.19 2432.19 2432.903 2429.484 2428.619 2428.619 2427.738 2427.738 2426.827 2426.827 2425.912 2425.912 2425.181 2425.181 2424.507 2424.507 2423.982 2423.982 2423.706 2423.706 2423.236 2423.236 2421.961 2421.961 2421.514 2421.514 2422.199 2422.199 2422.93 2422.93 2423.797 2423.797 2424.944 2424.944 2426.27 2426.27 2427.412 2427.412 2428.469 2428.469 2429.41 2429.41 2430.241 2430.241 2431.069 2431.069 2431.884 2431.884 2432.667 2429.484 2428.619 2428.619 2427.738 2427.738 2426.827 2426.827 2425.912 2425.912 2425.181 2425.181 2424.507 2424.507 2423.982 2423.982 2423.706 2423.706 2423.236 2423.236 2421.961 2421.961 2421.514 2421.514 2422.199 2422.199 2422.93 2422.93 2423.797 2423.797 2424.944 2424.944 2426.27 2426.27 2427.412 2427.412 2428.469 2428.469 2429.41 2429.41 2430.241 2430.241 2431.069 2431.069 2431.884 2431.884 2432.667 2429.017 2428.264 2428.264 2427.577 2427.577 2426.789 2426.789 2426.041 2426.041 2425.402 2425.402 2424.772 2424.772 2424.177 2424.177 2423.603 2423.603 2422.997 2422.997 2422.394 2422.394 2422.295 2422.295 2422.722 2422.722 2423.453 2423.453 2424.351 2424.351 2425.283 2425.283 2426.388 2426.388 2427.403 2427.403 2428.355 2428.355 2429.246 2429.246 2430.073 2430.073 2430.951 2430.951 2431.653 2431.653 2432.405 2429.017 2428.264 2428.264 2427.577 2427.577 2426.789 2426.789 2426.041 2426.041 2425.402 2425.402 2424.772 2424.772 2424.177 2424.177 2423.603 2423.603 2422.997 2422.997 2422.394 2422.394 2422.295 2422.295 2422.722 2422.722 2423.453 2423.453 2424.351 2424.351 2425.283 2425.283 2426.388 2426.388 2427.403 2427.403 2428.355 2428.355 2429.246 2429.246 2430.073 2430.073 2430.951 2430.951 2431.653 2431.653 2432.405 2428.655 2428.017 2428.017 2427.493 2427.493 2426.854 2426.854 2426.238 2426.238 2425.655 2425.655 2425.075 2425.075 2424.527 2424.527 2423.964 2423.964 2423.459 2423.459 2423.088 2423.088 2423.075 2423.075 2423.46 2423.46 2424.118 2424.118 2424.947 2424.947 2425.748 2425.748 2426.626 2426.626 2427.529 2427.529 2428.405 2428.405 2429.23 2429.23 2430.008 2430.008 2430.802 2430.802 2431.588 2431.588 2432.3 2428.655 2428.017 2428.017 2427.493 2427.493 2426.854 2426.854 2426.238 2426.238 2425.655 2425.655 2425.075 2425.075 2424.527 2424.527 2423.964 2423.964 2423.459 2423.459 2423.088 2423.088 2423.075 2423.075 2423.46 2423.46 2424.118 2424.118 2424.947 2424.947 2425.748 2425.748 2426.626 2426.626 2427.529 2427.529 2428.405 2428.405 2429.23 2429.23 2430.008 2430.008 2430.802 2430.802 2431.588 2431.588 2432.3 2428.388 2427.977 2427.977 2427.485 2427.485 2427.051 2427.051 2426.487 2426.487 2425.977 2425.977 2425.471 2425.471 2424.955 2424.955 2424.479 2424.479 2424.137 2424.137 2423.866 2423.866 2423.858 2423.858 2424.232 2424.232 2424.813 2424.813 2425.555 2425.555 2426.268 2426.268 2426.975 2426.975 2427.736 2427.736 2428.51 2428.51 2429.265 2429.265 2430.018 2430.018 2430.774 2430.774 2431.556 2431.556 2432.256 2428.388 2427.977 2427.977 2427.485 2427.485 2427.051 2427.051 2426.487 2426.487 2425.977 2425.977 2425.471 2425.471 2424.955 2424.955 2424.479 2424.479 2424.137 2424.137 2423.866 2423.866 2423.858 2423.858 2424.232 2424.232 2424.813 2424.813 2425.555 2425.555 2426.268 2426.268 2426.975 2426.975 2427.736 2427.736 2428.51 2428.51 2429.265 2429.265 2430.018 2430.018 2430.774 2430.774 2431.556 2431.556 2432.256 2428.21 2427.916 2427.916 2427.654 2427.654 2427.249 2427.249 2426.792 2426.792 2426.362 2426.362 2425.914 2425.914 2425.464 2425.464 2425.106 2425.106 2424.784 2424.784 2424.606 2424.606 2424.601 2424.601 2424.887 2424.887 2425.405 2425.405 2426.109 2426.109 2426.75 2426.75 2427.422 2427.422 2428.093 2428.093 2428.783 2428.783 2429.465 2429.465 2430.144 2430.144 2430.874 2430.874 2431.548 2431.548 2432.242 2428.21 2427.916 2427.916 2427.654 2427.654 2427.249 2427.249 2426.792 2426.792 2426.362 2426.362 2425.914 2425.914 2425.464 2425.464 2425.106 2425.106 2424.784 2424.784 2424.606 2424.606 2424.601 2424.601 2424.887 2424.887 2425.405 2425.405 2426.109 2426.109 2426.75 2426.75 2427.422 2427.422 2428.093 2428.093 2428.783 2428.783 2429.465 2429.465 2430.144 2430.144 2430.874 2430.874 2431.548 2431.548 2432.242 2428.232 2427.994 2427.994 2427.877 2427.877 2427.563 2427.563 2427.179 2427.179 2426.796 2426.796 2426.406 2426.406 2426.021 2426.021 2425.663 2425.663 2425.414 2425.414 2425.234 2425.234 2425.241 2425.241 2425.443 2425.443 2425.874 2425.874 2426.478 2426.478 2427.108 2427.108 2427.695 2427.695 2428.261 2428.261 2428.908 2428.908 2429.572 2429.572 2430.232 2430.232 2430.942 2430.942 2431.655 2431.655 2432.24 2449.188 2448.231 2448.231 2447.263 2447.263 2446.355 2446.355 2445.553 2445.553 2444.659 2444.659 2443.773 2443.773 2443.217 2443.217 2442.628 2442.628 2442.265 2442.265 2442.34 2442.34 2442.861 2442.861 2443.672 2443.672 2444.734 2444.734 2445.195 2445.195 2444.233 2444.233 2443.344 2443.344 2442.645 2442.645 2442.319 2442.319 2442.258 2442.258 2442.502 2442.502 2442.938 2442.938 2443.444 2443.444 2443.998 2448.59 2447.534 2447.534 2446.445 2446.445 2445.406 2445.406 2444.646 2444.646 2443.628 2443.628 2442.531 2442.531 2441.522 2441.522 2440.816 2440.816 2440.369 2440.369 2440.326 2440.326 2440.629 2440.629 2441.271 2441.271 2442.224 2442.224 2442.627 2442.627 2441.773 2441.773 2441.021 2441.021 2440.506 2440.506 2440.434 2440.434 2440.809 2440.809 2441.535 2441.535 2442.323 2442.323 2443.101 2443.101 2443.868 2448.59 2447.534 2447.534 2446.445 2446.445 2445.406 2445.406 2444.646 2444.646 2443.628 2443.628 2442.531 2442.531 2441.522 2441.522 2440.816 2440.816 2440.369 2440.369 2440.326 2440.326 2440.629 2440.629 2441.271 2441.271 2442.224 2442.224 2442.627 2442.627 2441.773 2441.773 2441.021 2441.021 2440.506 2440.506 2440.434 2440.434 2440.809 2440.809 2441.535 2441.535 2442.323 2442.323 2443.101 2443.101 2443.868 2447.885 2446.731 2446.731 2445.462 2445.462 2444.497 2444.497 2443.496 2443.496 2442.345 2442.345 2440.883 2440.883 2439.634 2439.634 2438.691 2438.691 2438.159 2438.159 2438.214 2438.214 2438.012 2438.012 2438.201 2438.201 2438.538 2438.538 2438.477 2438.477 2438.245 2438.245 2438.057 2438.057 2437.952 2437.952 2438.373 2438.373 2439.329 2439.329 2440.438 2440.438 2441.684 2441.684 2443.08 2443.08 2443.936 2447.885 2446.731 2446.731 2445.462 2445.462 2444.497 2444.497 2443.496 2443.496 2442.345 2442.345 2440.883 2440.883 2439.634 2439.634 2438.691 2438.691 2438.159 2438.159 2438.214 2438.214 2438.012 2438.012 2438.201 2438.201 2438.538 2438.538 2438.477 2438.477 2438.245 2438.245 2438.057 2438.057 2437.952 2437.952 2438.373 2438.373 2439.329 2439.329 2440.438 2440.438 2441.684 2441.684 2443.08 2443.08 2443.936 2447.091 2445.791 2445.791 2444.326 2444.326 2443.052 2443.052 2442.001 2442.001 2440.9 2440.9 2438.863 2438.863 2437.271 2437.271 2436.266 2436.266 2436.076 2436.076 2435.71 2435.71 2435.273 2435.273 2434.952 2434.952 2434.609 2434.609 2434.297 2434.297 2434.589 2434.589 2434.81 2434.81 2435.317 2435.317 2436.132 2436.132 2437.547 2437.547 2439.28 2439.28 2441.404 2441.404 2442.987 2442.987 2444.094 2447.091 2445.791 2445.791 2444.326 2444.326 2443.052 2443.052 2442.001 2442.001 2440.9 2440.9 2438.863 2438.863 2437.271 2437.271 2436.266 2436.266 2436.076 2436.076 2435.71 2435.71 2435.273 2435.273 2434.952 2434.952 2434.609 2434.609 2434.297 2434.297 2434.589 2434.589 2434.81 2434.81 2435.317 2435.317 2436.132 2436.132 2437.547 2437.547 2439.28 2439.28 2441.404 2441.404 2442.987 2442.987 2444.094 2446.297 2444.565 2444.565 2442.734 2442.734 2441.078 2441.078 2439.599 2439.599 2438.025 2438.025 2435.938 2435.938 2434.393 2434.393 2433.609 2433.609 2433.468 2433.468 2433.206 2433.206 2432.88 2432.88 2432.099 2432.099 2430.97 2430.97 2430.21 2430.21 2431.106 2431.106 2432.162 2432.162 2432.976 2432.976 2433.809 2433.809 2435.688 2435.688 2438.429 2438.429 2440.907 2440.907 2443.05 2443.05 2444.427 2446.297 2444.565 2444.565 2442.734 2442.734 2441.078 2441.078 2439.599 2439.599 2438.025 2438.025 2435.938 2435.938 2434.393 2434.393 2433.609 2433.609 2433.468 2433.468 2433.206 2433.206 2432.88 2432.88 2432.099 2432.099 2430.97 2430.97 2430.21 2430.21 2431.106 2431.106 2432.162 2432.162 2432.976 2432.976 2433.809 2433.809 2435.688 2435.688 2438.429 2438.429 2440.907 2440.907 2443.05 2443.05 2444.427 2445.046 2443.056 2443.056 2441.011 2441.011 2438.755 2438.755 2436.521 2436.521 2434.134 2434.134 2432.125 2432.125 2431.176 2431.176 2430.95 2430.95 2431.007 2431.007 2431 2431 2430.78 2430.78 2429.803 2429.803 2428.64 2428.64 2427.909 2427.909 2429.422 2429.422 2430.759 2430.759 2431.675 2431.675 2432.23 2432.23 2434.389 2434.389 2437.628 2437.628 2440.546 2440.546 2443.239 2443.239 2444.922 2445.046 2443.056 2443.056 2441.011 2441.011 2438.755 2438.755 2436.521 2436.521 2434.134 2434.134 2432.125 2432.125 2431.176 2431.176 2430.95 2430.95 2431.007 2431.007 2431 2431 2430.78 2430.78 2429.803 2429.803 2428.64 2428.64 2427.909 2427.909 2429.422 2429.422 2430.759 2430.759 2431.675 2431.675 2432.23 2432.23 2434.389 2434.389 2437.628 2437.628 2440.546 2440.546 2443.239 2443.239 2444.922 2443.424 2441.404 2441.404 2439.096 2439.096 2436.523 2436.523 2433.729 2433.729 2430.611 2430.611 2427.96 2427.96 2428.27 2428.27 2428.823 2428.823 2429.187 2429.187 2429.302 2429.302 2429.255 2429.255 2428.784 2428.784 2428.08 2428.08 2428.26 2428.26 2429.179 2429.179 2430.335 2430.335 2431.515 2431.515 2432.694 2432.694 2434.717 2434.717 2437.507 2437.507 2440.249 2440.249 2442.836 2442.836 2444.479 2443.424 2441.404 2441.404 2439.096 2439.096 2436.523 2436.523 2433.729 2433.729 2430.611 2430.611 2427.96 2427.96 2428.27 2428.27 2428.823 2428.823 2429.187 2429.187 2429.302 2429.302 2429.255 2429.255 2428.784 2428.784 2428.08 2428.08 2428.26 2428.26 2429.179 2429.179 2430.335 2430.335 2431.515 2431.515 2432.694 2432.694 2434.717 2434.717 2437.507 2437.507 2440.249 2440.249 2442.836 2442.836 2444.479 2441.698 2439.689 2439.689 2437.368 2437.368 2434.747 2434.747 2431.886 2431.886 2428.798 2428.798 2426.364 2426.364 2426.844 2426.844 2427.467 2427.467 2427.938 2427.938 2428.105 2428.105 2428.16 2428.16 2428.056 2428.056 2428.218 2428.218 2428.786 2428.786 2429.673 2429.673 2430.729 2430.729 2432.059 2432.059 2433.662 2433.662 2435.603 2435.603 2437.831 2437.831 2440.097 2440.097 2442.105 2442.105 2443.465 2441.698 2439.689 2439.689 2437.368 2437.368 2434.747 2434.747 2431.886 2431.886 2428.798 2428.798 2426.364 2426.364 2426.844 2426.844 2427.467 2427.467 2427.938 2427.938 2428.105 2428.105 2428.16 2428.16 2428.056 2428.056 2428.218 2428.218 2428.786 2428.786 2429.673 2429.673 2430.729 2430.729 2432.059 2432.059 2433.662 2433.662 2435.603 2435.603 2437.831 2437.831 2440.097 2440.097 2442.105 2442.105 2443.465 2440.078 2438.174 2438.174 2435.916 2435.916 2433.44 2433.44 2430.844 2430.844 2428.457 2428.457 2426.955 2426.955 2426.82 2426.82 2426.971 2426.971 2427.119 2427.119 2427.219 2427.219 2427.215 2427.215 2427.367 2427.367 2428.211 2428.211 2429.04 2429.04 2430.143 2430.143 2431.067 2431.067 2432.751 2432.751 2434.704 2434.704 2436.715 2436.715 2438.487 2438.487 2439.952 2439.952 2441.468 2441.468 2442.67 2440.078 2438.174 2438.174 2435.916 2435.916 2433.44 2433.44 2430.844 2430.844 2428.457 2428.457 2426.955 2426.955 2426.82 2426.82 2426.971 2426.971 2427.119 2427.119 2427.219 2427.219 2427.215 2427.215 2427.367 2427.367 2428.211 2428.211 2429.04 2429.04 2430.143 2430.143 2431.067 2431.067 2432.751 2432.751 2434.704 2434.704 2436.715 2436.715 2438.487 2438.487 2439.952 2439.952 2441.468 2441.468 2442.67 2438.791 2436.998 2436.998 2434.945 2434.945 2432.517 2432.517 2430.235 2430.235 2428.393 2428.393 2427.2 2427.2 2426.886 2426.886 2426.62 2426.62 2426.194 2426.194 2425.857 2425.857 2425.807 2425.807 2426.569 2426.569 2427.406 2427.406 2428.577 2428.577 2429.969 2429.969 2431.652 2431.652 2433.624 2433.624 2435.568 2435.568 2437.654 2437.654 2438.764 2438.764 2439.918 2439.918 2440.865 2440.865 2441.863 2438.791 2436.998 2436.998 2434.945 2434.945 2432.517 2432.517 2430.235 2430.235 2428.393 2428.393 2427.2 2427.2 2426.886 2426.886 2426.62 2426.62 2426.194 2426.194 2425.857 2425.857 2425.807 2425.807 2426.569 2426.569 2427.406 2427.406 2428.577 2428.577 2429.969 2429.969 2431.652 2431.652 2433.624 2433.624 2435.568 2435.568 2437.654 2437.654 2438.764 2438.764 2439.918 2439.918 2440.865 2440.865 2441.863 2437.684 2436.001 2436.001 2434.066 2434.066 2431.983 2431.983 2429.948 2429.948 2428.406 2428.406 2427.349 2427.349 2426.582 2426.582 2425.628 2425.628 2424.704 2424.704 2423.802 2423.802 2423.788 2423.788 2424.511 2424.511 2425.993 2425.993 2427.765 2427.765 2429.376 2429.376 2431.246 2431.246 2433.322 2433.322 2435.625 2435.625 2437.437 2437.437 2438.309 2438.309 2439.25 2439.25 2440.298 2440.298 2441.056 2437.684 2436.001 2436.001 2434.066 2434.066 2431.983 2431.983 2429.948 2429.948 2428.406 2428.406 2427.349 2427.349 2426.582 2426.582 2425.628 2425.628 2424.704 2424.704 2423.802 2423.802 2423.788 2423.788 2424.511 2424.511 2425.993 2425.993 2427.765 2427.765 2429.376 2429.376 2431.246 2431.246 2433.322 2433.322 2435.625 2435.625 2437.437 2437.437 2438.309 2438.309 2439.25 2439.25 2440.298 2440.298 2441.056 2436.699 2435.071 2435.071 2433.371 2433.371 2431.626 2431.626 2429.722 2429.722 2428.144 2428.144 2426.787 2426.787 2425.523 2425.523 2424.112 2424.112 2422.426 2422.426 2421.436 2421.436 2421.434 2421.434 2422.349 2422.349 2423.963 2423.963 2426.266 2426.266 2428.336 2428.336 2430.443 2430.443 2432.407 2432.407 2434.384 2434.384 2436.116 2436.116 2437.361 2437.361 2438.433 2438.433 2439.389 2439.389 2440.177 2436.699 2435.071 2435.071 2433.371 2433.371 2431.626 2431.626 2429.722 2429.722 2428.144 2428.144 2426.787 2426.787 2425.523 2425.523 2424.112 2424.112 2422.426 2422.426 2421.436 2421.436 2421.434 2421.434 2422.349 2422.349 2423.963 2423.963 2426.266 2426.266 2428.336 2428.336 2430.443 2430.443 2432.407 2432.407 2434.384 2434.384 2436.116 2436.116 2437.361 2437.361 2438.433 2438.433 2439.389 2439.389 2440.177 2435.892 2434.485 2434.485 2432.859 2432.859 2431.152 2431.152 2429.466 2429.466 2427.868 2427.868 2426.278 2426.278 2424.516 2424.516 2422.475 2422.475 2420.138 2420.138 2418.929 2418.929 2418.798 2418.798 2419.717 2419.717 2421.843 2421.843 2424.622 2424.622 2427.447 2427.447 2429.774 2429.774 2431.541 2431.541 2432.977 2432.977 2434.961 2434.961 2436.469 2436.469 2437.533 2437.533 2438.438 2438.438 2439.337 2435.892 2434.485 2434.485 2432.859 2432.859 2431.152 2431.152 2429.466 2429.466 2427.868 2427.868 2426.278 2426.278 2424.516 2424.516 2422.475 2422.475 2420.138 2420.138 2418.929 2418.929 2418.798 2418.798 2419.717 2419.717 2421.843 2421.843 2424.622 2424.622 2427.447 2427.447 2429.774 2429.774 2431.541 2431.541 2432.977 2432.977 2434.961 2434.961 2436.469 2436.469 2437.533 2437.533 2438.438 2438.438 2439.337 2435.231 2433.893 2433.893 2432.43 2432.43 2430.806 2430.806 2429.142 2429.142 2427.531 2427.531 2425.863 2425.863 2423.956 2423.956 2421.727 2421.727 2418.344 2418.344 2417.4 2417.4 2417.22 2417.22 2417.428 2417.428 2420.258 2420.258 2424.003 2424.003 2427.427 2427.427 2429.936 2429.936 2431.506 2431.506 2432.747 2432.747 2434.235 2434.235 2435.616 2435.616 2436.718 2436.718 2437.676 2437.676 2438.537 2435.231 2433.893 2433.893 2432.43 2432.43 2430.806 2430.806 2429.142 2429.142 2427.531 2427.531 2425.863 2425.863 2423.956 2423.956 2421.727 2421.727 2418.344 2418.344 2417.4 2417.4 2417.22 2417.22 2417.428 2417.428 2420.258 2420.258 2424.003 2424.003 2427.427 2427.427 2429.936 2429.936 2431.506 2431.506 2432.747 2432.747 2434.235 2434.235 2435.616 2435.616 2436.718 2436.718 2437.676 2437.676 2438.537 2434.53 2433.424 2433.424 2432.055 2432.055 2430.542 2430.542 2428.952 2428.952 2427.575 2427.575 2426.083 2426.083 2424.576 2424.576 2422.737 2422.737 2420.755 2420.755 2419.344 2419.344 2418.04 2418.04 2416.272 2416.272 2420.528 2420.528 2425.367 2425.367 2428.923 2428.923 2430.856 2430.856 2431.961 2431.961 2432.987 2432.987 2434.042 2434.042 2435.115 2435.115 2436.118 2436.118 2436.957 2436.957 2437.805 2434.53 2433.424 2433.424 2432.055 2432.055 2430.542 2430.542 2428.952 2428.952 2427.575 2427.575 2426.083 2426.083 2424.576 2424.576 2422.737 2422.737 2420.755 2420.755 2419.344 2419.344 2418.04 2418.04 2416.272 2416.272 2420.528 2420.528 2425.367 2425.367 2428.923 2428.923 2430.856 2430.856 2431.961 2431.961 2432.987 2432.987 2434.042 2434.042 2435.115 2435.115 2436.118 2436.118 2436.957 2436.957 2437.805 2433.829 2432.962 2432.962 2431.619 2431.619 2430.183 2430.183 2428.761 2428.761 2427.611 2427.611 2426.501 2426.501 2425.637 2425.637 2424.669 2424.669 2424.027 2424.027 2423.056 2423.056 2421.432 2421.432 2420.905 2420.905 2423.384 2423.384 2427.925 2427.925 2431.191 2431.191 2431.851 2431.851 2432.507 2432.507 2433.194 2433.194 2433.884 2433.884 2434.731 2434.731 2435.576 2435.576 2436.306 2436.306 2437.128 2433.829 2432.962 2432.962 2431.619 2431.619 2430.183 2430.183 2428.761 2428.761 2427.611 2427.611 2426.501 2426.501 2425.637 2425.637 2424.669 2424.669 2424.027 2424.027 2423.056 2423.056 2421.432 2421.432 2420.905 2420.905 2423.384 2423.384 2427.925 2427.925 2431.191 2431.191 2431.851 2431.851 2432.507 2432.507 2433.194 2433.194 2433.884 2433.884 2434.731 2434.731 2435.576 2435.576 2436.306 2436.306 2437.128 2433.049 2432.231 2432.231 2430.945 2430.945 2429.62 2429.62 2428.555 2428.555 2427.457 2427.457 2426.738 2426.738 2426.463 2426.463 2426.593 2426.593 2427.326 2427.326 2427.509 2427.509 2425.137 2425.137 2424.243 2424.243 2425.605 2425.605 2428.562 2428.562 2430.919 2430.919 2431.888 2431.888 2432.547 2432.547 2432.883 2432.883 2433.736 2433.736 2434.501 2434.501 2435.195 2435.195 2435.748 2435.748 2436.535 2433.049 2432.231 2432.231 2430.945 2430.945 2429.62 2429.62 2428.555 2428.555 2427.457 2427.457 2426.738 2426.738 2426.463 2426.463 2426.593 2426.593 2427.326 2427.326 2427.509 2427.509 2425.137 2425.137 2424.243 2424.243 2425.605 2425.605 2428.562 2428.562 2430.919 2430.919 2431.888 2431.888 2432.547 2432.547 2432.883 2432.883 2433.736 2433.736 2434.501 2434.501 2435.195 2435.195 2435.748 2435.748 2436.535 2432.43 2431.547 2431.547 2430.433 2430.433 2429.312 2429.312 2428.229 2428.229 2427.303 2427.303 2426.798 2426.798 2426.911 2426.911 2427.333 2427.333 2428.151 2428.151 2428.342 2428.342 2426.608 2426.608 2425.733 2425.733 2426.375 2426.375 2427.886 2427.886 2429.721 2429.721 2431.238 2431.238 2432.183 2432.183 2432.593 2432.593 2433.397 2433.397 2434.098 2434.098 2434.754 2434.754 2435.343 2435.343 2436.073 2432.43 2431.547 2431.547 2430.433 2430.433 2429.312 2429.312 2428.229 2428.229 2427.303 2427.303 2426.798 2426.798 2426.911 2426.911 2427.333 2427.333 2428.151 2428.151 2428.342 2428.342 2426.608 2426.608 2425.733 2425.733 2426.375 2426.375 2427.886 2427.886 2429.721 2429.721 2431.238 2431.238 2432.183 2432.183 2432.593 2432.593 2433.397 2433.397 2434.098 2434.098 2434.754 2434.754 2435.343 2435.343 2436.073 2431.743 2430.943 2430.943 2430.04 2430.04 2429.066 2429.066 2428.211 2428.211 2427.419 2427.419 2426.977 2426.977 2426.976 2426.976 2427.148 2427.148 2427.427 2427.427 2426.757 2426.757 2425.906 2425.906 2426.077 2426.077 2426.63 2426.63 2427.263 2427.263 2428.941 2428.941 2430.488 2430.488 2431.686 2431.686 2432.286 2432.286 2433.072 2433.072 2433.748 2433.748 2434.307 2434.307 2435.031 2435.031 2435.658 2431.743 2430.943 2430.943 2430.04 2430.04 2429.066 2429.066 2428.211 2428.211 2427.419 2427.419 2426.977 2426.977 2426.976 2426.976 2427.148 2427.148 2427.427 2427.427 2426.757 2426.757 2425.906 2425.906 2426.077 2426.077 2426.63 2426.63 2427.263 2427.263 2428.941 2428.941 2430.488 2430.488 2431.686 2431.686 2432.286 2432.286 2433.072 2433.072 2433.748 2433.748 2434.307 2434.307 2435.031 2435.031 2435.658 2431.107 2430.396 2430.396 2429.666 2429.666 2428.912 2428.912 2428.172 2428.172 2427.609 2427.609 2427.141 2427.141 2426.846 2426.846 2426.846 2426.846 2426.673 2426.673 2425.632 2425.632 2425.4 2425.4 2426.083 2426.083 2426.83 2426.83 2427.728 2427.728 2428.912 2428.912 2430.199 2430.199 2431.217 2431.217 2432.06 2432.06 2432.779 2432.779 2433.406 2433.406 2434.088 2434.088 2434.773 2434.773 2435.438 2431.107 2430.396 2430.396 2429.666 2429.666 2428.912 2428.912 2428.172 2428.172 2427.609 2427.609 2427.141 2427.141 2426.846 2426.846 2426.846 2426.846 2426.673 2426.673 2425.632 2425.632 2425.4 2425.4 2426.083 2426.083 2426.83 2426.83 2427.728 2427.728 2428.912 2428.912 2430.199 2430.199 2431.217 2431.217 2432.06 2432.06 2432.779 2432.779 2433.406 2433.406 2434.088 2434.088 2434.773 2434.773 2435.438 2430.601 2429.989 2429.989 2429.428 2429.428 2428.796 2428.796 2428.195 2428.195 2427.723 2427.723 2427.294 2427.294 2426.93 2426.93 2426.596 2426.596 2426.244 2426.244 2425.896 2425.896 2426.008 2426.008 2426.51 2426.51 2427.282 2427.282 2428.207 2428.207 2429.167 2429.167 2430.234 2430.234 2431.125 2431.125 2431.898 2431.898 2432.611 2432.611 2433.283 2433.283 2434.006 2434.006 2434.575 2434.575 2435.199 2430.601 2429.989 2429.989 2429.428 2429.428 2428.796 2428.796 2428.195 2428.195 2427.723 2427.723 2427.294 2427.294 2426.93 2426.93 2426.596 2426.596 2426.244 2426.244 2425.896 2425.896 2426.008 2426.008 2426.51 2426.51 2427.282 2427.282 2428.207 2428.207 2429.167 2429.167 2430.234 2430.234 2431.125 2431.125 2431.898 2431.898 2432.611 2432.611 2433.283 2433.283 2434.006 2434.006 2434.575 2434.575 2435.199 2430.186 2429.676 2429.676 2429.253 2429.253 2428.75 2428.75 2428.273 2428.273 2427.857 2427.857 2427.471 2427.471 2427.139 2427.139 2426.804 2426.804 2426.537 2426.537 2426.388 2426.388 2426.57 2426.57 2427.076 2427.076 2427.811 2427.811 2428.685 2428.685 2429.522 2429.522 2430.317 2430.317 2431.158 2431.158 2431.918 2431.918 2432.599 2432.599 2433.219 2433.219 2433.879 2433.879 2434.53 2434.53 2435.111 2430.186 2429.676 2429.676 2429.253 2429.253 2428.75 2428.75 2428.273 2428.273 2427.857 2427.857 2427.471 2427.471 2427.139 2427.139 2426.804 2426.804 2426.537 2426.537 2426.388 2426.388 2426.57 2426.57 2427.076 2427.076 2427.811 2427.811 2428.685 2428.685 2429.522 2429.522 2430.317 2430.317 2431.158 2431.158 2431.918 2431.918 2432.599 2432.599 2433.219 2433.219 2433.879 2433.879 2434.53 2434.53 2435.111 2429.853 2429.527 2429.527 2429.146 2429.146 2428.822 2428.822 2428.402 2428.402 2428.052 2428.052 2427.715 2427.715 2427.402 2427.402 2427.143 2427.143 2427.021 2427.021 2426.959 2426.959 2427.127 2427.127 2427.646 2427.646 2428.336 2428.336 2429.153 2429.153 2429.915 2429.915 2430.562 2430.562 2431.273 2431.273 2431.963 2431.963 2432.608 2432.608 2433.23 2433.23 2433.854 2433.854 2434.504 2434.504 2435.078 2429.853 2429.527 2429.527 2429.146 2429.146 2428.822 2428.822 2428.402 2428.402 2428.052 2428.052 2427.715 2427.715 2427.402 2427.402 2427.143 2427.143 2427.021 2427.021 2426.959 2426.959 2427.127 2427.127 2427.646 2427.646 2428.336 2428.336 2429.153 2429.153 2429.915 2429.915 2430.562 2430.562 2431.273 2431.273 2431.963 2431.963 2432.608 2432.608 2433.23 2433.23 2433.854 2433.854 2434.504 2434.504 2435.078 2429.595 2429.372 2429.372 2429.188 2429.188 2428.894 2428.894 2428.573 2428.573 2428.288 2428.288 2428.008 2428.008 2427.743 2427.743 2427.581 2427.581 2427.467 2427.467 2427.484 2427.484 2427.651 2427.651 2428.086 2428.086 2428.733 2428.733 2429.547 2429.547 2430.234 2430.234 2430.887 2430.887 2431.521 2431.521 2432.154 2432.154 2432.759 2432.759 2433.346 2433.346 2433.955 2433.955 2434.513 2434.513 2435.089 2429.595 2429.372 2429.372 2429.188 2429.188 2428.894 2428.894 2428.573 2428.573 2428.288 2428.288 2428.008 2428.008 2427.743 2427.743 2427.581 2427.581 2427.467 2427.467 2427.484 2427.484 2427.651 2427.651 2428.086 2428.086 2428.733 2428.733 2429.547 2429.547 2430.234 2430.234 2430.887 2430.887 2431.521 2431.521 2432.154 2432.154 2432.759 2432.759 2433.346 2433.346 2433.955 2433.955 2434.513 2434.513 2435.089 2429.518 2429.348 2429.348 2429.276 2429.276 2429.062 2429.062 2428.806 2428.806 2428.566 2428.566 2428.326 2428.326 2428.115 2428.115 2427.95 2427.95 2427.891 2427.891 2427.899 2427.899 2428.071 2428.071 2428.438 2428.438 2429.006 2429.006 2429.718 2429.718 2430.412 2430.412 2431.019 2431.019 2431.583 2431.583 2432.207 2432.207 2432.828 2432.828 2433.401 2433.401 2434.031 2434.031 2434.643 2434.643 2435.116 2449.188 2448.231 2448.231 2447.263 2447.263 2446.355 2446.355 2445.553 2445.553 2444.659 2444.659 2443.773 2443.773 2443.217 2443.217 2442.628 2442.628 2442.265 2442.265 2442.34 2442.34 2442.861 2442.861 2443.672 2443.672 2444.734 2444.734 2445.195 2445.195 2444.233 2444.233 2443.344 2443.344 2442.645 2442.645 2442.319 2442.319 2442.258 2442.258 2442.502 2442.502 2442.938 2442.938 2443.444 2443.444 2443.998 2448.59 2447.534 2447.534 2446.445 2446.445 2445.406 2445.406 2444.646 2444.646 2443.628 2443.628 2442.531 2442.531 2441.522 2441.522 2440.816 2440.816 2440.369 2440.369 2440.326 2440.326 2440.629 2440.629 2441.271 2441.271 2442.224 2442.224 2442.627 2442.627 2441.773 2441.773 2441.021 2441.021 2440.506 2440.506 2440.434 2440.434 2440.809 2440.809 2441.535 2441.535 2442.323 2442.323 2443.101 2443.101 2443.868 2448.59 2447.534 2447.534 2446.445 2446.445 2445.406 2445.406 2444.646 2444.646 2443.628 2443.628 2442.531 2442.531 2441.522 2441.522 2440.816 2440.816 2440.369 2440.369 2440.326 2440.326 2440.629 2440.629 2441.271 2441.271 2442.224 2442.224 2442.627 2442.627 2441.773 2441.773 2441.021 2441.021 2440.506 2440.506 2440.434 2440.434 2440.809 2440.809 2441.535 2441.535 2442.323 2442.323 2443.101 2443.101 2443.868 2447.885 2446.731 2446.731 2445.462 2445.462 2444.497 2444.497 2443.496 2443.496 2442.345 2442.345 2440.883 2440.883 2439.634 2439.634 2438.691 2438.691 2438.159 2438.159 2438.214 2438.214 2438.012 2438.012 2438.201 2438.201 2438.538 2438.538 2438.477 2438.477 2438.245 2438.245 2438.057 2438.057 2437.952 2437.952 2438.373 2438.373 2439.329 2439.329 2440.438 2440.438 2441.684 2441.684 2443.08 2443.08 2443.936 2447.885 2446.731 2446.731 2445.462 2445.462 2444.497 2444.497 2443.496 2443.496 2442.345 2442.345 2440.883 2440.883 2439.634 2439.634 2438.691 2438.691 2438.159 2438.159 2438.214 2438.214 2438.012 2438.012 2438.201 2438.201 2438.538 2438.538 2438.477 2438.477 2438.245 2438.245 2438.057 2438.057 2437.952 2437.952 2438.373 2438.373 2439.329 2439.329 2440.438 2440.438 2441.684 2441.684 2443.08 2443.08 2443.936 2447.091 2445.791 2445.791 2444.326 2444.326 2443.052 2443.052 2442.001 2442.001 2440.9 2440.9 2438.863 2438.863 2437.271 2437.271 2436.266 2436.266 2436.076 2436.076 2435.71 2435.71 2435.273 2435.273 2434.952 2434.952 2434.609 2434.609 2434.297 2434.297 2434.589 2434.589 2434.81 2434.81 2435.317 2435.317 2436.132 2436.132 2437.547 2437.547 2439.28 2439.28 2441.404 2441.404 2442.987 2442.987 2444.094 2447.091 2445.791 2445.791 2444.326 2444.326 2443.052 2443.052 2442.001 2442.001 2440.9 2440.9 2438.863 2438.863 2437.271 2437.271 2436.266 2436.266 2436.076 2436.076 2435.71 2435.71 2435.273 2435.273 2434.952 2434.952 2434.609 2434.609 2434.297 2434.297 2434.589 2434.589 2434.81 2434.81 2435.317 2435.317 2436.132 2436.132 2437.547 2437.547 2439.28 2439.28 2441.404 2441.404 2442.987 2442.987 2444.094 2446.297 2444.565 2444.565 2442.734 2442.734 2441.078 2441.078 2439.599 2439.599 2438.025 2438.025 2435.938 2435.938 2434.393 2434.393 2433.609 2433.609 2433.468 2433.468 2433.206 2433.206 2432.88 2432.88 2432.099 2432.099 2430.97 2430.97 2430.21 2430.21 2431.106 2431.106 2432.162 2432.162 2432.976 2432.976 2433.809 2433.809 2435.688 2435.688 2438.429 2438.429 2440.907 2440.907 2443.05 2443.05 2444.427 2446.297 2444.565 2444.565 2442.734 2442.734 2441.078 2441.078 2439.599 2439.599 2438.025 2438.025 2435.938 2435.938 2434.393 2434.393 2433.609 2433.609 2433.468 2433.468 2433.206 2433.206 2432.88 2432.88 2432.099 2432.099 2430.97 2430.97 2430.21 2430.21 2431.106 2431.106 2432.162 2432.162 2432.976 2432.976 2433.809 2433.809 2435.688 2435.688 2438.429 2438.429 2440.907 2440.907 2443.05 2443.05 2444.427 2445.046 2443.056 2443.056 2441.011 2441.011 2438.755 2438.755 2436.521 2436.521 2434.134 2434.134 2432.125 2432.125 2431.176 2431.176 2430.95 2430.95 2431.007 2431.007 2431 2431 2430.78 2430.78 2429.803 2429.803 2428.64 2428.64 2427.909 2427.909 2429.422 2429.422 2430.759 2430.759 2431.675 2431.675 2432.23 2432.23 2434.389 2434.389 2437.628 2437.628 2440.546 2440.546 2443.239 2443.239 2444.922 2445.046 2443.056 2443.056 2441.011 2441.011 2438.755 2438.755 2436.521 2436.521 2434.134 2434.134 2432.125 2432.125 2431.176 2431.176 2430.95 2430.95 2431.007 2431.007 2431 2431 2430.78 2430.78 2429.803 2429.803 2428.64 2428.64 2427.909 2427.909 2429.422 2429.422 2430.759 2430.759 2431.675 2431.675 2432.23 2432.23 2434.389 2434.389 2437.628 2437.628 2440.546 2440.546 2443.239 2443.239 2444.922 2443.424 2441.404 2441.404 2439.096 2439.096 2436.523 2436.523 2433.729 2433.729 2430.611 2430.611 2427.96 2427.96 2428.27 2428.27 2428.823 2428.823 2429.187 2429.187 2429.302 2429.302 2429.255 2429.255 2428.784 2428.784 2428.08 2428.08 2428.26 2428.26 2429.179 2429.179 2430.335 2430.335 2431.515 2431.515 2432.694 2432.694 2434.717 2434.717 2437.507 2437.507 2440.249 2440.249 2442.836 2442.836 2444.479 2443.424 2441.404 2441.404 2439.096 2439.096 2436.523 2436.523 2433.729 2433.729 2430.611 2430.611 2427.96 2427.96 2428.27 2428.27 2428.823 2428.823 2429.187 2429.187 2429.302 2429.302 2429.255 2429.255 2428.784 2428.784 2428.08 2428.08 2428.26 2428.26 2429.179 2429.179 2430.335 2430.335 2431.515 2431.515 2432.694 2432.694 2434.717 2434.717 2437.507 2437.507 2440.249 2440.249 2442.836 2442.836 2444.479 2441.698 2439.689 2439.689 2437.368 2437.368 2434.747 2434.747 2431.886 2431.886 2428.798 2428.798 2426.364 2426.364 2426.844 2426.844 2427.467 2427.467 2427.938 2427.938 2428.105 2428.105 2428.16 2428.16 2428.056 2428.056 2428.218 2428.218 2428.786 2428.786 2429.673 2429.673 2430.729 2430.729 2432.059 2432.059 2433.662 2433.662 2435.603 2435.603 2437.831 2437.831 2440.097 2440.097 2442.105 2442.105 2443.465 2441.698 2439.689 2439.689 2437.368 2437.368 2434.747 2434.747 2431.886 2431.886 2428.798 2428.798 2426.364 2426.364 2426.844 2426.844 2427.467 2427.467 2427.938 2427.938 2428.105 2428.105 2428.16 2428.16 2428.056 2428.056 2428.218 2428.218 2428.786 2428.786 2429.673 2429.673 2430.729 2430.729 2432.059 2432.059 2433.662 2433.662 2435.603 2435.603 2437.831 2437.831 2440.097 2440.097 2442.105 2442.105 2443.465 2440.078 2438.174 2438.174 2435.916 2435.916 2433.44 2433.44 2430.844 2430.844 2428.457 2428.457 2426.955 2426.955 2426.82 2426.82 2426.971 2426.971 2427.119 2427.119 2427.219 2427.219 2427.215 2427.215 2427.367 2427.367 2428.211 2428.211 2429.04 2429.04 2430.143 2430.143 2431.067 2431.067 2432.751 2432.751 2434.704 2434.704 2436.715 2436.715 2438.487 2438.487 2439.952 2439.952 2441.468 2441.468 2442.67 2440.078 2438.174 2438.174 2435.916 2435.916 2433.44 2433.44 2430.844 2430.844 2428.457 2428.457 2426.955 2426.955 2426.82 2426.82 2426.971 2426.971 2427.119 2427.119 2427.219 2427.219 2427.215 2427.215 2427.367 2427.367 2428.211 2428.211 2429.04 2429.04 2430.143 2430.143 2431.067 2431.067 2432.751 2432.751 2434.704 2434.704 2436.715 2436.715 2438.487 2438.487 2439.952 2439.952 2441.468 2441.468 2442.67 2438.791 2436.998 2436.998 2434.945 2434.945 2432.517 2432.517 2430.235 2430.235 2428.393 2428.393 2427.2 2427.2 2426.886 2426.886 2426.62 2426.62 2426.194 2426.194 2425.857 2425.857 2425.807 2425.807 2426.569 2426.569 2427.406 2427.406 2428.577 2428.577 2429.969 2429.969 2431.652 2431.652 2433.624 2433.624 2435.568 2435.568 2437.654 2437.654 2438.764 2438.764 2439.918 2439.918 2440.865 2440.865 2441.863 2438.791 2436.998 2436.998 2434.945 2434.945 2432.517 2432.517 2430.235 2430.235 2428.393 2428.393 2427.2 2427.2 2426.886 2426.886 2426.62 2426.62 2426.194 2426.194 2425.857 2425.857 2425.807 2425.807 2426.569 2426.569 2427.406 2427.406 2428.577 2428.577 2429.969 2429.969 2431.652 2431.652 2433.624 2433.624 2435.568 2435.568 2437.654 2437.654 2438.764 2438.764 2439.918 2439.918 2440.865 2440.865 2441.863 2437.684 2436.001 2436.001 2434.066 2434.066 2431.983 2431.983 2429.948 2429.948 2428.406 2428.406 2427.349 2427.349 2426.582 2426.582 2425.628 2425.628 2424.704 2424.704 2423.802 2423.802 2423.788 2423.788 2424.511 2424.511 2425.993 2425.993 2427.765 2427.765 2429.376 2429.376 2431.246 2431.246 2433.322 2433.322 2435.625 2435.625 2437.437 2437.437 2438.309 2438.309 2439.25 2439.25 2440.298 2440.298 2441.056 2437.684 2436.001 2436.001 2434.066 2434.066 2431.983 2431.983 2429.948 2429.948 2428.406 2428.406 2427.349 2427.349 2426.582 2426.582 2425.628 2425.628 2424.704 2424.704 2423.802 2423.802 2423.788 2423.788 2424.511 2424.511 2425.993 2425.993 2427.765 2427.765 2429.376 2429.376 2431.246 2431.246 2433.322 2433.322 2435.625 2435.625 2437.437 2437.437 2438.309 2438.309 2439.25 2439.25 2440.298 2440.298 2441.056 2436.699 2435.071 2435.071 2433.371 2433.371 2431.626 2431.626 2429.722 2429.722 2428.144 2428.144 2426.787 2426.787 2425.523 2425.523 2424.112 2424.112 2422.426 2422.426 2421.436 2421.436 2421.434 2421.434 2422.349 2422.349 2423.963 2423.963 2426.266 2426.266 2428.336 2428.336 2430.443 2430.443 2432.407 2432.407 2434.384 2434.384 2436.116 2436.116 2437.361 2437.361 2438.433 2438.433 2439.389 2439.389 2440.177 2436.699 2435.071 2435.071 2433.371 2433.371 2431.626 2431.626 2429.722 2429.722 2428.144 2428.144 2426.787 2426.787 2425.523 2425.523 2424.112 2424.112 2422.426 2422.426 2421.436 2421.436 2421.434 2421.434 2422.349 2422.349 2423.963 2423.963 2426.266 2426.266 2428.336 2428.336 2430.443 2430.443 2432.407 2432.407 2434.384 2434.384 2436.116 2436.116 2437.361 2437.361 2438.433 2438.433 2439.389 2439.389 2440.177 2435.892 2434.485 2434.485 2432.859 2432.859 2431.152 2431.152 2429.466 2429.466 2427.868 2427.868 2426.278 2426.278 2424.516 2424.516 2422.475 2422.475 2420.138 2420.138 2418.929 2418.929 2418.798 2418.798 2419.717 2419.717 2421.843 2421.843 2424.622 2424.622 2427.447 2427.447 2429.774 2429.774 2431.541 2431.541 2432.977 2432.977 2434.961 2434.961 2436.469 2436.469 2437.533 2437.533 2438.438 2438.438 2439.337 2435.892 2434.485 2434.485 2432.859 2432.859 2431.152 2431.152 2429.466 2429.466 2427.868 2427.868 2426.278 2426.278 2424.516 2424.516 2422.475 2422.475 2420.138 2420.138 2418.929 2418.929 2418.798 2418.798 2419.717 2419.717 2421.843 2421.843 2424.622 2424.622 2427.447 2427.447 2429.774 2429.774 2431.541 2431.541 2432.977 2432.977 2434.961 2434.961 2436.469 2436.469 2437.533 2437.533 2438.438 2438.438 2439.337 2435.231 2433.893 2433.893 2432.43 2432.43 2430.806 2430.806 2429.142 2429.142 2427.531 2427.531 2425.863 2425.863 2423.956 2423.956 2421.727 2421.727 2418.344 2418.344 2417.4 2417.4 2417.22 2417.22 2417.428 2417.428 2420.258 2420.258 2424.003 2424.003 2427.427 2427.427 2429.936 2429.936 2431.506 2431.506 2432.747 2432.747 2434.235 2434.235 2435.616 2435.616 2436.718 2436.718 2437.676 2437.676 2438.537 2435.231 2433.893 2433.893 2432.43 2432.43 2430.806 2430.806 2429.142 2429.142 2427.531 2427.531 2425.863 2425.863 2423.956 2423.956 2421.727 2421.727 2418.344 2418.344 2417.4 2417.4 2417.22 2417.22 2417.428 2417.428 2420.258 2420.258 2424.003 2424.003 2427.427 2427.427 2429.936 2429.936 2431.506 2431.506 2432.747 2432.747 2434.235 2434.235 2435.616 2435.616 2436.718 2436.718 2437.676 2437.676 2438.537 2434.53 2433.424 2433.424 2432.055 2432.055 2430.542 2430.542 2428.952 2428.952 2427.575 2427.575 2426.083 2426.083 2424.576 2424.576 2422.737 2422.737 2420.755 2420.755 2419.344 2419.344 2418.04 2418.04 2416.272 2416.272 2420.528 2420.528 2425.367 2425.367 2428.923 2428.923 2430.856 2430.856 2431.961 2431.961 2432.987 2432.987 2434.042 2434.042 2435.115 2435.115 2436.118 2436.118 2436.957 2436.957 2437.805 2434.53 2433.424 2433.424 2432.055 2432.055 2430.542 2430.542 2428.952 2428.952 2427.575 2427.575 2426.083 2426.083 2424.576 2424.576 2422.737 2422.737 2420.755 2420.755 2419.344 2419.344 2418.04 2418.04 2416.272 2416.272 2420.528 2420.528 2425.367 2425.367 2428.923 2428.923 2430.856 2430.856 2431.961 2431.961 2432.987 2432.987 2434.042 2434.042 2435.115 2435.115 2436.118 2436.118 2436.957 2436.957 2437.805 2433.829 2432.962 2432.962 2431.619 2431.619 2430.183 2430.183 2428.761 2428.761 2427.611 2427.611 2426.501 2426.501 2425.637 2425.637 2424.669 2424.669 2424.027 2424.027 2423.056 2423.056 2421.432 2421.432 2420.905 2420.905 2423.384 2423.384 2427.925 2427.925 2431.191 2431.191 2431.851 2431.851 2432.507 2432.507 2433.194 2433.194 2433.884 2433.884 2434.731 2434.731 2435.576 2435.576 2436.306 2436.306 2437.128 2433.829 2432.962 2432.962 2431.619 2431.619 2430.183 2430.183 2428.761 2428.761 2427.611 2427.611 2426.501 2426.501 2425.637 2425.637 2424.669 2424.669 2424.027 2424.027 2423.056 2423.056 2421.432 2421.432 2420.905 2420.905 2423.384 2423.384 2427.925 2427.925 2431.191 2431.191 2431.851 2431.851 2432.507 2432.507 2433.194 2433.194 2433.884 2433.884 2434.731 2434.731 2435.576 2435.576 2436.306 2436.306 2437.128 2433.049 2432.231 2432.231 2430.945 2430.945 2429.62 2429.62 2428.555 2428.555 2427.457 2427.457 2426.738 2426.738 2426.463 2426.463 2426.593 2426.593 2427.326 2427.326 2427.509 2427.509 2425.137 2425.137 2424.243 2424.243 2425.605 2425.605 2428.562 2428.562 2430.919 2430.919 2431.888 2431.888 2432.547 2432.547 2432.883 2432.883 2433.736 2433.736 2434.501 2434.501 2435.195 2435.195 2435.748 2435.748 2436.535 2433.049 2432.231 2432.231 2430.945 2430.945 2429.62 2429.62 2428.555 2428.555 2427.457 2427.457 2426.738 2426.738 2426.463 2426.463 2426.593 2426.593 2427.326 2427.326 2427.509 2427.509 2425.137 2425.137 2424.243 2424.243 2425.605 2425.605 2428.562 2428.562 2430.919 2430.919 2431.888 2431.888 2432.547 2432.547 2432.883 2432.883 2433.736 2433.736 2434.501 2434.501 2435.195 2435.195 2435.748 2435.748 2436.535 2432.43 2431.547 2431.547 2430.433 2430.433 2429.312 2429.312 2428.229 2428.229 2427.303 2427.303 2426.798 2426.798 2426.911 2426.911 2427.333 2427.333 2428.151 2428.151 2428.342 2428.342 2426.608 2426.608 2425.733 2425.733 2426.375 2426.375 2427.886 2427.886 2429.721 2429.721 2431.238 2431.238 2432.183 2432.183 2432.593 2432.593 2433.397 2433.397 2434.098 2434.098 2434.754 2434.754 2435.343 2435.343 2436.073 2432.43 2431.547 2431.547 2430.433 2430.433 2429.312 2429.312 2428.229 2428.229 2427.303 2427.303 2426.798 2426.798 2426.911 2426.911 2427.333 2427.333 2428.151 2428.151 2428.342 2428.342 2426.608 2426.608 2425.733 2425.733 2426.375 2426.375 2427.886 2427.886 2429.721 2429.721 2431.238 2431.238 2432.183 2432.183 2432.593 2432.593 2433.397 2433.397 2434.098 2434.098 2434.754 2434.754 2435.343 2435.343 2436.073 2431.743 2430.943 2430.943 2430.04 2430.04 2429.066 2429.066 2428.211 2428.211 2427.419 2427.419 2426.977 2426.977 2426.976 2426.976 2427.148 2427.148 2427.427 2427.427 2426.757 2426.757 2425.906 2425.906 2426.077 2426.077 2426.63 2426.63 2427.263 2427.263 2428.941 2428.941 2430.488 2430.488 2431.686 2431.686 2432.286 2432.286 2433.072 2433.072 2433.748 2433.748 2434.307 2434.307 2435.031 2435.031 2435.658 2431.743 2430.943 2430.943 2430.04 2430.04 2429.066 2429.066 2428.211 2428.211 2427.419 2427.419 2426.977 2426.977 2426.976 2426.976 2427.148 2427.148 2427.427 2427.427 2426.757 2426.757 2425.906 2425.906 2426.077 2426.077 2426.63 2426.63 2427.263 2427.263 2428.941 2428.941 2430.488 2430.488 2431.686 2431.686 2432.286 2432.286 2433.072 2433.072 2433.748 2433.748 2434.307 2434.307 2435.031 2435.031 2435.658 2431.107 2430.396 2430.396 2429.666 2429.666 2428.912 2428.912 2428.172 2428.172 2427.609 2427.609 2427.141 2427.141 2426.846 2426.846 2426.846 2426.846 2426.673 2426.673 2425.632 2425.632 2425.4 2425.4 2426.083 2426.083 2426.83 2426.83 2427.728 2427.728 2428.912 2428.912 2430.199 2430.199 2431.217 2431.217 2432.06 2432.06 2432.779 2432.779 2433.406 2433.406 2434.088 2434.088 2434.773 2434.773 2435.438 2431.107 2430.396 2430.396 2429.666 2429.666 2428.912 2428.912 2428.172 2428.172 2427.609 2427.609 2427.141 2427.141 2426.846 2426.846 2426.846 2426.846 2426.673 2426.673 2425.632 2425.632 2425.4 2425.4 2426.083 2426.083 2426.83 2426.83 2427.728 2427.728 2428.912 2428.912 2430.199 2430.199 2431.217 2431.217 2432.06 2432.06 2432.779 2432.779 2433.406 2433.406 2434.088 2434.088 2434.773 2434.773 2435.438 2430.601 2429.989 2429.989 2429.428 2429.428 2428.796 2428.796 2428.195 2428.195 2427.723 2427.723 2427.294 2427.294 2426.93 2426.93 2426.596 2426.596 2426.244 2426.244 2425.896 2425.896 2426.008 2426.008 2426.51 2426.51 2427.282 2427.282 2428.207 2428.207 2429.167 2429.167 2430.234 2430.234 2431.125 2431.125 2431.898 2431.898 2432.611 2432.611 2433.283 2433.283 2434.006 2434.006 2434.575 2434.575 2435.199 2430.601 2429.989 2429.989 2429.428 2429.428 2428.796 2428.796 2428.195 2428.195 2427.723 2427.723 2427.294 2427.294 2426.93 2426.93 2426.596 2426.596 2426.244 2426.244 2425.896 2425.896 2426.008 2426.008 2426.51 2426.51 2427.282 2427.282 2428.207 2428.207 2429.167 2429.167 2430.234 2430.234 2431.125 2431.125 2431.898 2431.898 2432.611 2432.611 2433.283 2433.283 2434.006 2434.006 2434.575 2434.575 2435.199 2430.186 2429.676 2429.676 2429.253 2429.253 2428.75 2428.75 2428.273 2428.273 2427.857 2427.857 2427.471 2427.471 2427.139 2427.139 2426.804 2426.804 2426.537 2426.537 2426.388 2426.388 2426.57 2426.57 2427.076 2427.076 2427.811 2427.811 2428.685 2428.685 2429.522 2429.522 2430.317 2430.317 2431.158 2431.158 2431.918 2431.918 2432.599 2432.599 2433.219 2433.219 2433.879 2433.879 2434.53 2434.53 2435.111 2430.186 2429.676 2429.676 2429.253 2429.253 2428.75 2428.75 2428.273 2428.273 2427.857 2427.857 2427.471 2427.471 2427.139 2427.139 2426.804 2426.804 2426.537 2426.537 2426.388 2426.388 2426.57 2426.57 2427.076 2427.076 2427.811 2427.811 2428.685 2428.685 2429.522 2429.522 2430.317 2430.317 2431.158 2431.158 2431.918 2431.918 2432.599 2432.599 2433.219 2433.219 2433.879 2433.879 2434.53 2434.53 2435.111 2429.853 2429.527 2429.527 2429.146 2429.146 2428.822 2428.822 2428.402 2428.402 2428.052 2428.052 2427.715 2427.715 2427.402 2427.402 2427.143 2427.143 2427.021 2427.021 2426.959 2426.959 2427.127 2427.127 2427.646 2427.646 2428.336 2428.336 2429.153 2429.153 2429.915 2429.915 2430.562 2430.562 2431.273 2431.273 2431.963 2431.963 2432.608 2432.608 2433.23 2433.23 2433.854 2433.854 2434.504 2434.504 2435.078 2429.853 2429.527 2429.527 2429.146 2429.146 2428.822 2428.822 2428.402 2428.402 2428.052 2428.052 2427.715 2427.715 2427.402 2427.402 2427.143 2427.143 2427.021 2427.021 2426.959 2426.959 2427.127 2427.127 2427.646 2427.646 2428.336 2428.336 2429.153 2429.153 2429.915 2429.915 2430.562 2430.562 2431.273 2431.273 2431.963 2431.963 2432.608 2432.608 2433.23 2433.23 2433.854 2433.854 2434.504 2434.504 2435.078 2429.595 2429.372 2429.372 2429.188 2429.188 2428.894 2428.894 2428.573 2428.573 2428.288 2428.288 2428.008 2428.008 2427.743 2427.743 2427.581 2427.581 2427.467 2427.467 2427.484 2427.484 2427.651 2427.651 2428.086 2428.086 2428.733 2428.733 2429.547 2429.547 2430.234 2430.234 2430.887 2430.887 2431.521 2431.521 2432.154 2432.154 2432.759 2432.759 2433.346 2433.346 2433.955 2433.955 2434.513 2434.513 2435.089 2429.595 2429.372 2429.372 2429.188 2429.188 2428.894 2428.894 2428.573 2428.573 2428.288 2428.288 2428.008 2428.008 2427.743 2427.743 2427.581 2427.581 2427.467 2427.467 2427.484 2427.484 2427.651 2427.651 2428.086 2428.086 2428.733 2428.733 2429.547 2429.547 2430.234 2430.234 2430.887 2430.887 2431.521 2431.521 2432.154 2432.154 2432.759 2432.759 2433.346 2433.346 2433.955 2433.955 2434.513 2434.513 2435.089 2429.518 2429.348 2429.348 2429.276 2429.276 2429.062 2429.062 2428.806 2428.806 2428.566 2428.566 2428.326 2428.326 2428.115 2428.115 2427.95 2427.95 2427.891 2427.891 2427.899 2427.899 2428.071 2428.071 2428.438 2428.438 2429.006 2429.006 2429.718 2429.718 2430.412 2430.412 2431.019 2431.019 2431.583 2431.583 2432.207 2432.207 2432.828 2432.828 2433.401 2433.401 2434.031 2434.031 2434.643 2434.643 2435.116 2449.57 2448.796 2448.796 2448.022 2448.022 2447.291 2447.291 2446.611 2446.611 2445.782 2445.782 2444.886 2444.886 2444.258 2444.258 2443.542 2443.542 2443.008 2443.008 2442.937 2442.937 2443.268 2443.268 2443.907 2443.907 2444.777 2444.777 2445.289 2445.289 2444.884 2444.884 2444.558 2444.558 2444.367 2444.367 2444.494 2444.494 2444.822 2444.822 2445.33 2445.33 2445.974 2445.974 2446.666 2446.666 2447.363 2449.032 2448.219 2448.219 2447.382 2447.382 2446.592 2446.592 2446.021 2446.021 2445.105 2445.105 2444.02 2444.02 2442.938 2442.938 2442.141 2442.141 2441.543 2441.543 2441.327 2441.327 2441.536 2441.536 2442.055 2442.055 2442.829 2442.829 2443.285 2443.285 2442.946 2442.946 2442.741 2442.741 2442.695 2442.695 2442.995 2442.995 2443.691 2443.691 2444.587 2444.587 2445.526 2445.526 2446.424 2446.424 2447.259 2449.032 2448.219 2448.219 2447.382 2447.382 2446.592 2446.592 2446.021 2446.021 2445.105 2445.105 2444.02 2444.02 2442.938 2442.938 2442.141 2442.141 2441.543 2441.543 2441.327 2441.327 2441.536 2441.536 2442.055 2442.055 2442.829 2442.829 2443.285 2443.285 2442.946 2442.946 2442.741 2442.741 2442.695 2442.695 2442.995 2442.995 2443.691 2443.691 2444.587 2444.587 2445.526 2445.526 2446.424 2446.424 2447.259 2448.364 2447.492 2447.492 2446.565 2446.565 2445.927 2445.927 2445.216 2445.216 2444.227 2444.227 2442.779 2442.779 2441.486 2441.486 2440.431 2440.431 2439.776 2439.776 2439.685 2439.685 2439.452 2439.452 2439.673 2439.673 2440.105 2440.105 2440.224 2440.224 2440.331 2440.331 2440.495 2440.495 2440.719 2440.719 2441.408 2441.408 2442.489 2442.489 2443.703 2443.703 2445.011 2445.011 2446.375 2446.375 2447.296 2448.364 2447.492 2447.492 2446.565 2446.565 2445.927 2445.927 2445.216 2445.216 2444.227 2444.227 2442.779 2442.779 2441.486 2441.486 2440.431 2440.431 2439.776 2439.776 2439.685 2439.685 2439.452 2439.452 2439.673 2439.673 2440.105 2440.105 2440.224 2440.224 2440.331 2440.331 2440.495 2440.495 2440.719 2440.719 2441.408 2441.408 2442.489 2442.489 2443.703 2443.703 2445.011 2445.011 2446.375 2446.375 2447.296 2447.559 2446.615 2446.615 2445.567 2445.567 2444.706 2444.706 2444.058 2444.058 2443.233 2443.233 2441.183 2441.183 2439.498 2439.498 2438.382 2438.382 2437.993 2437.993 2437.599 2437.599 2437.229 2437.229 2437.131 2437.131 2437.135 2437.135 2437.111 2437.111 2437.563 2437.563 2437.936 2437.936 2438.627 2438.627 2439.612 2439.612 2441.042 2441.042 2442.736 2442.736 2444.7 2444.7 2446.281 2446.281 2447.41 2447.559 2446.615 2446.615 2445.567 2445.567 2444.706 2444.706 2444.058 2444.058 2443.233 2443.233 2441.183 2441.183 2439.498 2439.498 2438.382 2438.382 2437.993 2437.993 2437.599 2437.599 2437.229 2437.229 2437.131 2437.131 2437.135 2437.135 2437.111 2437.111 2437.563 2437.563 2437.936 2437.936 2438.627 2438.627 2439.612 2439.612 2441.042 2441.042 2442.736 2442.736 2444.7 2444.7 2446.281 2446.281 2447.41 2446.738 2445.423 2445.423 2444.084 2444.084 2442.886 2442.886 2441.854 2441.854 2440.615 2440.615 2438.547 2438.547 2436.909 2436.909 2436.007 2436.007 2435.695 2435.695 2435.405 2435.405 2435.189 2435.189 2434.804 2434.804 2434.29 2434.29 2434.032 2434.032 2434.789 2434.789 2435.749 2435.749 2436.655 2436.655 2437.681 2437.681 2439.468 2439.468 2441.887 2441.887 2444.21 2444.21 2446.295 2446.295 2447.673 2446.738 2445.423 2445.423 2444.084 2444.084 2442.886 2442.886 2441.854 2441.854 2440.615 2440.615 2438.547 2438.547 2436.909 2436.909 2436.007 2436.007 2435.695 2435.695 2435.405 2435.405 2435.189 2435.189 2434.804 2434.804 2434.29 2434.29 2434.032 2434.032 2434.789 2434.789 2435.749 2435.749 2436.655 2436.655 2437.681 2437.681 2439.468 2439.468 2441.887 2441.887 2444.21 2444.21 2446.295 2446.295 2447.673 2445.504 2443.961 2443.961 2442.373 2442.373 2440.636 2440.636 2438.836 2438.836 2436.804 2436.804 2434.906 2434.906 2433.882 2433.882 2433.503 2433.503 2433.404 2433.404 2433.344 2433.344 2433.246 2433.246 2432.724 2432.724 2432.198 2432.198 2432.014 2432.014 2433.229 2433.229 2434.388 2434.388 2435.341 2435.341 2436.162 2436.162 2438.126 2438.126 2440.968 2440.968 2443.729 2443.729 2446.372 2446.372 2448.067 2445.504 2443.961 2443.961 2442.373 2442.373 2440.636 2440.636 2438.836 2438.836 2436.804 2436.804 2434.906 2434.906 2433.882 2433.882 2433.503 2433.503 2433.404 2433.404 2433.344 2433.344 2433.246 2433.246 2432.724 2432.724 2432.198 2432.198 2432.014 2432.014 2433.229 2433.229 2434.388 2434.388 2435.341 2435.341 2436.162 2436.162 2438.126 2438.126 2440.968 2440.968 2443.729 2443.729 2446.372 2446.372 2448.067 2443.999 2442.366 2442.366 2440.511 2440.511 2438.418 2438.418 2436.069 2436.069 2433.326 2433.326 2430.889 2430.889 2430.995 2430.995 2431.326 2431.326 2431.519 2431.519 2431.584 2431.584 2431.629 2431.629 2431.439 2431.439 2431.174 2431.174 2431.594 2431.594 2432.485 2432.485 2433.582 2433.582 2434.694 2434.694 2435.816 2435.816 2437.655 2437.655 2440.416 2440.416 2443.203 2443.203 2445.82 2445.82 2447.497 2443.999 2442.366 2442.366 2440.511 2440.511 2438.418 2438.418 2436.069 2436.069 2433.326 2433.326 2430.889 2430.889 2430.995 2430.995 2431.326 2431.326 2431.519 2431.519 2431.584 2431.584 2431.629 2431.629 2431.439 2431.439 2431.174 2431.174 2431.594 2431.594 2432.485 2432.485 2433.582 2433.582 2434.694 2434.694 2435.816 2435.816 2437.655 2437.655 2440.416 2440.416 2443.203 2443.203 2445.82 2445.82 2447.497 2442.431 2440.749 2440.749 2438.806 2438.806 2436.597 2436.597 2434.119 2434.119 2431.377 2431.377 2429.14 2429.14 2429.388 2429.388 2429.801 2429.801 2430.06 2430.06 2430.152 2430.152 2430.253 2430.253 2430.3 2430.3 2430.604 2430.604 2431.265 2431.265 2432.231 2432.231 2433.36 2433.36 2434.649 2434.649 2436.035 2436.035 2437.759 2437.759 2440.306 2440.306 2442.786 2442.786 2444.942 2444.942 2446.393 2442.431 2440.749 2440.749 2438.806 2438.806 2436.597 2436.597 2434.119 2434.119 2431.377 2431.377 2429.14 2429.14 2429.388 2429.388 2429.801 2429.801 2430.06 2430.06 2430.152 2430.152 2430.253 2430.253 2430.3 2430.3 2430.604 2430.604 2431.265 2431.265 2432.231 2432.231 2433.36 2433.36 2434.649 2434.649 2436.035 2436.035 2437.759 2437.759 2440.306 2440.306 2442.786 2442.786 2444.942 2444.942 2446.393 2440.947 2439.311 2439.311 2437.382 2437.382 2435.226 2435.226 2432.936 2432.936 2430.789 2430.789 2429.366 2429.366 2429.069 2429.069 2429.032 2429.032 2428.973 2428.973 2428.947 2428.947 2429.006 2429.006 2429.226 2429.226 2429.939 2429.939 2430.854 2430.854 2432.173 2432.173 2433.286 2433.286 2434.965 2434.965 2436.786 2436.786 2438.764 2438.764 2440.769 2440.769 2442.511 2442.511 2444.237 2444.237 2445.602 2440.947 2439.311 2439.311 2437.382 2437.382 2435.226 2435.226 2432.936 2432.936 2430.789 2430.789 2429.366 2429.366 2429.069 2429.069 2429.032 2429.032 2428.973 2428.973 2428.947 2428.947 2429.006 2429.006 2429.226 2429.226 2429.939 2429.939 2430.854 2430.854 2432.173 2432.173 2433.286 2433.286 2434.965 2434.965 2436.786 2436.786 2438.764 2438.764 2440.769 2440.769 2442.511 2442.511 2444.237 2444.237 2445.602 2439.76 2438.194 2438.194 2436.397 2436.397 2434.227 2434.227 2432.169 2432.169 2430.476 2430.476 2429.341 2429.341 2428.943 2428.943 2428.519 2428.519 2428.009 2428.009 2427.559 2427.559 2427.502 2427.502 2428.097 2428.097 2428.832 2428.832 2430.087 2430.087 2431.784 2431.784 2433.712 2433.712 2435.747 2435.747 2437.596 2437.596 2439.675 2439.675 2441.085 2441.085 2442.516 2442.516 2443.668 2443.668 2444.843 2439.76 2438.194 2438.194 2436.397 2436.397 2434.227 2434.227 2432.169 2432.169 2430.476 2430.476 2429.341 2429.341 2428.943 2428.943 2428.519 2428.519 2428.009 2428.009 2427.559 2427.559 2427.502 2427.502 2428.097 2428.097 2428.832 2428.832 2430.087 2430.087 2431.784 2431.784 2433.712 2433.712 2435.747 2435.747 2437.596 2437.596 2439.675 2439.675 2441.085 2441.085 2442.516 2442.516 2443.668 2443.668 2444.843 2438.733 2437.235 2437.235 2435.503 2435.503 2433.618 2433.618 2431.724 2431.724 2430.271 2430.271 2429.227 2429.227 2428.44 2428.44 2427.501 2427.501 2426.664 2426.664 2425.856 2425.856 2425.801 2425.801 2426.321 2426.321 2427.431 2427.431 2429.185 2429.185 2431.374 2431.374 2433.581 2433.581 2435.795 2435.795 2438.03 2438.03 2439.816 2439.816 2440.966 2440.966 2442.121 2442.121 2443.277 2443.277 2444.159 2438.733 2437.235 2437.235 2435.503 2435.503 2433.618 2433.618 2431.724 2431.724 2430.271 2430.271 2429.227 2429.227 2428.44 2428.44 2427.501 2427.501 2426.664 2426.664 2425.856 2425.856 2425.801 2425.801 2426.321 2426.321 2427.431 2427.431 2429.185 2429.185 2431.374 2431.374 2433.581 2433.581 2435.795 2435.795 2438.03 2438.03 2439.816 2439.816 2440.966 2440.966 2442.121 2442.121 2443.277 2443.277 2444.159 2437.814 2436.339 2436.339 2434.799 2434.799 2433.165 2433.165 2431.39 2431.39 2429.852 2429.852 2428.525 2428.525 2427.326 2427.326 2426.014 2426.014 2424.75 2424.75 2424.073 2424.073 2424.025 2424.025 2424.703 2424.703 2426.162 2426.162 2428.496 2428.496 2430.94 2430.94 2433.305 2433.305 2435.497 2435.497 2437.549 2437.549 2439.207 2439.207 2440.487 2440.487 2441.625 2441.625 2442.66 2442.66 2443.504 2437.814 2436.339 2436.339 2434.799 2434.799 2433.165 2433.165 2431.39 2431.39 2429.852 2429.852 2428.525 2428.525 2427.326 2427.326 2426.014 2426.014 2424.75 2424.75 2424.073 2424.073 2424.025 2424.025 2424.703 2424.703 2426.162 2426.162 2428.496 2428.496 2430.94 2430.94 2433.305 2433.305 2435.497 2435.497 2437.549 2437.549 2439.207 2439.207 2440.487 2440.487 2441.625 2441.625 2442.66 2442.66 2443.504 2437.072 2435.772 2435.772 2434.275 2434.275 2432.686 2432.686 2431.069 2431.069 2429.513 2429.513 2427.991 2427.991 2426.389 2426.389 2424.609 2424.609 2423.221 2423.221 2422.467 2422.467 2422.226 2422.226 2422.885 2422.885 2424.899 2424.899 2427.824 2427.824 2430.748 2430.748 2433.15 2433.15 2435.206 2435.206 2436.984 2436.984 2438.653 2438.653 2439.992 2439.992 2441.053 2441.053 2441.955 2441.955 2442.935 2437.072 2435.772 2435.772 2434.275 2434.275 2432.686 2432.686 2431.069 2431.069 2429.513 2429.513 2427.991 2427.991 2426.389 2426.389 2424.609 2424.609 2423.221 2423.221 2422.467 2422.467 2422.226 2422.226 2422.885 2422.885 2424.899 2424.899 2427.824 2427.824 2430.748 2430.748 2433.15 2433.15 2435.206 2435.206 2436.984 2436.984 2438.653 2438.653 2439.992 2439.992 2441.053 2441.053 2441.955 2441.955 2442.935 2436.454 2435.228 2435.228 2433.901 2433.901 2432.393 2432.393 2430.804 2430.804 2429.25 2429.25 2427.677 2427.677 2426.085 2426.085 2424.583 2424.583 2422.643 2422.643 2421.733 2421.733 2421.074 2421.074 2421.013 2421.013 2423.683 2423.683 2427.66 2427.66 2430.975 2430.975 2433.359 2433.359 2435.212 2435.212 2436.771 2436.771 2438.19 2438.19 2439.449 2439.449 2440.486 2440.486 2441.452 2441.452 2442.384 2436.454 2435.228 2435.228 2433.901 2433.901 2432.393 2432.393 2430.804 2430.804 2429.25 2429.25 2427.677 2427.677 2426.085 2426.085 2424.583 2424.583 2422.643 2422.643 2421.733 2421.733 2421.074 2421.074 2421.013 2421.013 2423.683 2423.683 2427.66 2427.66 2430.975 2430.975 2433.359 2433.359 2435.212 2435.212 2436.771 2436.771 2438.19 2438.19 2439.449 2439.449 2440.486 2440.486 2441.452 2441.452 2442.384 2435.838 2434.833 2434.833 2433.614 2433.614 2432.256 2432.256 2430.764 2430.764 2429.356 2429.356 2427.851 2427.851 2426.704 2426.704 2425.569 2425.569 2424.359 2424.359 2423.147 2423.147 2421.686 2421.686 2419.819 2419.819 2423.598 2423.598 2428.073 2428.073 2431.537 2431.537 2433.741 2433.741 2435.309 2435.309 2436.691 2436.691 2437.919 2437.919 2438.994 2438.994 2440.036 2440.036 2440.923 2440.923 2441.862 2435.838 2434.833 2434.833 2433.614 2433.614 2432.256 2432.256 2430.764 2430.764 2429.356 2429.356 2427.851 2427.851 2426.704 2426.704 2425.569 2425.569 2424.359 2424.359 2423.147 2423.147 2421.686 2421.686 2419.819 2419.819 2423.598 2423.598 2428.073 2428.073 2431.537 2431.537 2433.741 2433.741 2435.309 2435.309 2436.691 2436.691 2437.919 2437.919 2438.994 2438.994 2440.036 2440.036 2440.923 2440.923 2441.862 2435.264 2434.494 2434.494 2433.346 2433.346 2432.101 2432.101 2430.826 2430.826 2429.666 2429.666 2428.487 2428.487 2427.797 2427.797 2427.215 2427.215 2426.822 2426.822 2425.954 2425.954 2424.441 2424.441 2423.815 2423.815 2425.826 2425.826 2429.534 2429.534 2432.608 2432.608 2434.097 2434.097 2435.428 2435.428 2436.617 2436.617 2437.615 2437.615 2438.628 2438.628 2439.588 2439.588 2440.41 2440.41 2441.35 2435.264 2434.494 2434.494 2433.346 2433.346 2432.101 2432.101 2430.826 2430.826 2429.666 2429.666 2428.487 2428.487 2427.797 2427.797 2427.215 2427.215 2426.822 2426.822 2425.954 2425.954 2424.441 2424.441 2423.815 2423.815 2425.826 2425.826 2429.534 2429.534 2432.608 2432.608 2434.097 2434.097 2435.428 2435.428 2436.617 2436.617 2437.615 2437.615 2438.628 2438.628 2439.588 2439.588 2440.41 2440.41 2441.35 2434.644 2433.971 2433.971 2432.917 2432.917 2431.835 2431.835 2430.947 2430.947 2430.032 2430.032 2429.318 2429.318 2428.951 2428.951 2428.984 2428.984 2429.487 2429.487 2429.506 2429.506 2427.563 2427.563 2426.823 2426.823 2427.941 2427.941 2430.312 2430.312 2432.562 2432.562 2434.122 2434.122 2435.38 2435.38 2436.213 2436.213 2437.366 2437.366 2438.362 2438.362 2439.234 2439.234 2439.965 2439.965 2440.882 2434.644 2433.971 2433.971 2432.917 2432.917 2431.835 2431.835 2430.947 2430.947 2430.032 2430.032 2429.318 2429.318 2428.951 2428.951 2428.984 2428.984 2429.487 2429.487 2429.506 2429.506 2427.563 2427.563 2426.823 2426.823 2427.941 2427.941 2430.312 2430.312 2432.562 2432.562 2434.122 2434.122 2435.38 2435.38 2436.213 2436.213 2437.366 2437.366 2438.362 2438.362 2439.234 2439.234 2439.965 2439.965 2440.882 2434.169 2433.462 2433.462 2432.593 2432.593 2431.736 2431.736 2430.945 2430.945 2430.337 2430.337 2429.97 2429.97 2429.713 2429.713 2429.845 2429.845 2430.358 2430.358 2430.448 2430.448 2429.09 2429.09 2428.429 2428.429 2429.057 2429.057 2430.45 2430.45 2432.206 2432.206 2433.885 2433.885 2435.187 2435.187 2435.991 2435.991 2437.08 2437.08 2438.044 2438.044 2438.909 2438.909 2439.673 2439.673 2440.538 2434.169 2433.462 2433.462 2432.593 2432.593 2431.736 2431.736 2430.945 2430.945 2430.337 2430.337 2429.97 2429.97 2429.713 2429.713 2429.845 2429.845 2430.358 2430.358 2430.448 2430.448 2429.09 2429.09 2428.429 2428.429 2429.057 2429.057 2430.45 2430.45 2432.206 2432.206 2433.885 2433.885 2435.187 2435.187 2435.991 2435.991 2437.08 2437.08 2438.044 2438.044 2438.909 2438.909 2439.673 2439.673 2440.538 2433.599 2432.984 2432.984 2432.313 2432.313 2431.611 2431.611 2431.055 2431.055 2430.543 2430.543 2430.177 2430.177 2429.968 2429.968 2429.936 2429.936 2430.072 2430.072 2429.549 2429.549 2428.921 2428.921 2429.128 2429.128 2429.747 2429.747 2430.559 2430.559 2432.068 2432.068 2433.596 2433.596 2434.958 2434.958 2435.844 2435.844 2436.902 2436.902 2437.822 2437.822 2438.589 2438.589 2439.483 2439.483 2440.252 2433.599 2432.984 2432.984 2432.313 2432.313 2431.611 2431.611 2431.055 2431.055 2430.543 2430.543 2430.177 2430.177 2429.968 2429.968 2429.936 2429.936 2430.072 2430.072 2429.549 2429.549 2428.921 2428.921 2429.128 2429.128 2429.747 2429.747 2430.559 2430.559 2432.068 2432.068 2433.596 2433.596 2434.958 2434.958 2435.844 2435.844 2436.902 2436.902 2437.822 2437.822 2438.589 2438.589 2439.483 2439.483 2440.252 2433.04 2432.513 2432.513 2431.992 2431.992 2431.489 2431.489 2431 2431 2430.617 2430.617 2430.247 2430.247 2429.93 2429.93 2429.835 2429.835 2429.658 2429.658 2428.853 2428.853 2428.806 2428.806 2429.462 2429.462 2430.209 2430.209 2431.166 2431.166 2432.323 2432.323 2433.614 2433.614 2434.733 2434.733 2435.791 2435.791 2436.762 2436.762 2437.627 2437.627 2438.488 2438.488 2439.347 2439.347 2440.181 2433.04 2432.513 2432.513 2431.992 2431.992 2431.489 2431.489 2431 2431 2430.617 2430.617 2430.247 2430.247 2429.93 2429.93 2429.835 2429.835 2429.658 2429.658 2428.853 2428.853 2428.806 2428.806 2429.462 2429.462 2430.209 2430.209 2431.166 2431.166 2432.323 2432.323 2433.614 2433.614 2434.733 2434.733 2435.791 2435.791 2436.762 2436.762 2437.627 2437.627 2438.488 2438.488 2439.347 2439.347 2440.181 2432.56 2432.117 2432.117 2431.736 2431.736 2431.301 2431.301 2430.931 2430.931 2430.607 2430.607 2430.286 2430.286 2429.959 2429.959 2429.646 2429.646 2429.34 2429.34 2429.117 2429.117 2429.366 2429.366 2429.896 2429.896 2430.716 2430.716 2431.703 2431.703 2432.689 2432.689 2433.818 2433.818 2434.824 2434.824 2435.791 2435.791 2436.73 2436.73 2437.602 2437.602 2438.52 2438.52 2439.267 2439.267 2440.064 2432.56 2432.117 2432.117 2431.736 2431.736 2431.301 2431.301 2430.931 2430.931 2430.607 2430.607 2430.286 2430.286 2429.959 2429.959 2429.646 2429.646 2429.34 2429.34 2429.117 2429.117 2429.366 2429.366 2429.896 2429.896 2430.716 2430.716 2431.703 2431.703 2432.689 2432.689 2433.818 2433.818 2434.824 2434.824 2435.791 2435.791 2436.73 2436.73 2437.602 2437.602 2438.52 2438.52 2439.267 2439.267 2440.064 2432.128 2431.77 2431.77 2431.499 2431.499 2431.167 2431.167 2430.864 2430.864 2430.583 2430.583 2430.311 2430.311 2430.068 2430.068 2429.763 2429.763 2429.562 2429.562 2429.492 2429.492 2429.78 2429.78 2430.373 2430.373 2431.197 2431.197 2432.17 2432.17 2433.087 2433.087 2433.98 2433.98 2434.975 2434.975 2435.928 2435.928 2436.823 2436.823 2437.658 2437.658 2438.506 2438.506 2439.338 2439.338 2440.093 2432.128 2431.77 2431.77 2431.499 2431.499 2431.167 2431.167 2430.864 2430.864 2430.583 2430.583 2430.311 2430.311 2430.068 2430.068 2429.763 2429.763 2429.562 2429.562 2429.492 2429.492 2429.78 2429.78 2430.373 2430.373 2431.197 2431.197 2432.17 2432.17 2433.087 2433.087 2433.98 2433.98 2434.975 2434.975 2435.928 2435.928 2436.823 2436.823 2437.658 2437.658 2438.506 2438.506 2439.338 2439.338 2440.093 2431.743 2431.536 2431.536 2431.289 2431.289 2431.088 2431.088 2430.827 2430.827 2430.605 2430.605 2430.395 2430.395 2430.164 2430.164 2429.952 2429.952 2429.892 2429.892 2429.914 2429.914 2430.153 2430.153 2430.794 2430.794 2431.611 2431.611 2432.57 2432.57 2433.468 2433.468 2434.261 2434.261 2435.157 2435.157 2436.057 2436.057 2436.924 2436.924 2437.751 2437.751 2438.584 2438.584 2439.421 2439.421 2440.175 2431.743 2431.536 2431.536 2431.289 2431.289 2431.088 2431.088 2430.827 2430.827 2430.605 2430.605 2430.395 2430.395 2430.164 2430.164 2429.952 2429.952 2429.892 2429.892 2429.914 2429.914 2430.153 2430.153 2430.794 2430.794 2431.611 2431.611 2432.57 2432.57 2433.468 2433.468 2434.261 2434.261 2435.157 2435.157 2436.057 2436.057 2436.924 2436.924 2437.751 2437.751 2438.584 2438.584 2439.421 2439.421 2440.175 2431.403 2431.272 2431.272 2431.168 2431.168 2430.997 2430.997 2430.808 2430.808 2430.646 2430.646 2430.486 2430.486 2430.305 2430.305 2430.193 2430.193 2430.146 2430.146 2430.253 2430.253 2430.495 2430.495 2431.043 2431.043 2431.836 2431.836 2432.836 2432.836 2433.727 2433.727 2434.516 2434.516 2435.36 2435.36 2436.236 2436.236 2437.1 2437.1 2437.94 2437.94 2438.779 2438.779 2439.521 2439.521 2440.28 2431.403 2431.272 2431.272 2431.168 2431.168 2430.997 2430.997 2430.808 2430.808 2430.646 2430.646 2430.486 2430.486 2430.305 2430.305 2430.193 2430.193 2430.146 2430.146 2430.253 2430.253 2430.495 2430.495 2431.043 2431.043 2431.836 2431.836 2432.836 2432.836 2433.727 2433.727 2434.516 2434.516 2435.36 2435.36 2436.236 2436.236 2437.1 2437.1 2437.94 2437.94 2438.779 2438.779 2439.521 2439.521 2440.28 2431.207 2431.112 2431.112 2431.084 2431.084 2430.969 2430.969 2430.828 2430.828 2430.701 2430.701 2430.556 2430.556 2430.429 2430.429 2430.335 2430.335 2430.347 2430.347 2430.435 2430.435 2430.709 2430.709 2431.235 2431.235 2431.976 2431.976 2432.895 2432.895 2433.8 2433.8 2434.639 2434.639 2435.431 2435.431 2436.33 2436.33 2437.233 2437.233 2438.066 2438.066 2438.934 2438.934 2439.749 2439.749 2440.383 / PORO 0.2026501 0.2017641 0.2007596 0.1997745 0.1987492 0.1976898 0.1967107 0.1955639 0.1943458 0.1927219 0.1911421 0.1895063 0.187981 0.1875791 0.1875075 0.1878702 0.1888911 0.1908249 0.1938413 0.197694 0.2018218 0.2060825 0.2101729 0.2034482 0.2025433 0.201488 0.200433 0.1993252 0.1981106 0.1968852 0.1955017 0.1936182 0.1917895 0.1899028 0.1879114 0.1864745 0.1854991 0.1847924 0.1844831 0.1846877 0.1864173 0.1897949 0.1940988 0.1988955 0.2038033 0.208585 0.2041956 0.2032091 0.2020884 0.200901 0.1997504 0.1984697 0.1970446 0.195102 0.1933805 0.1915328 0.1890918 0.1872604 0.1852819 0.1835425 0.1820797 0.181141 0.1811779 0.1824543 0.185708 0.190144 0.1955159 0.2016225 0.2073079 0.2048382 0.2037318 0.2024258 0.2011602 0.1999272 0.1987275 0.1969119 0.1951674 0.1933821 0.1914434 0.1887917 0.1867788 0.1841925 0.1818217 0.1795451 0.1782894 0.177648 0.1785312 0.1811478 0.1857522 0.1918924 0.1990494 0.2063212 0.2053483 0.2038291 0.202386 0.2010514 0.199826 0.1984109 0.1970097 0.1952493 0.1936307 0.1917701 0.1895403 0.1867598 0.1837363 0.1805305 0.1776562 0.1750658 0.1740896 0.1740146 0.1759629 0.1805822 0.1876938 0.1965588 0.2057381 0.2049672 0.2032899 0.2018317 0.2005141 0.1989387 0.1977199 0.1966068 0.1956616 0.1944645 0.1927416 0.1903419 0.1872608 0.1837437 0.1797317 0.1760383 0.1726597 0.1702702 0.1691671 0.1700644 0.1742448 0.182648 0.1935024 0.2050894 0.2033458 0.202012 0.2007217 0.1991488 0.1980738 0.1970583 0.196191 0.1960399 0.1956058 0.1941557 0.1916771 0.1882485 0.1841987 0.1792382 0.1747672 0.1710438 0.1677399 0.165413 0.1641481 0.1667554 0.1772141 0.1896524 0.2015717 0.2011322 0.2001295 0.1987688 0.1978097 0.197136 0.1964812 0.1964547 0.1971737 0.1971756 0.1962478 0.193911 0.1903873 0.1854289 0.1797766 0.173936 0.1701754 0.1674349 0.1646226 0.1617128 0.1622808 0.1743132 0.1861653 0.196629 0.1986824 0.1977565 0.1965098 0.1958149 0.1957174 0.1962393 0.1973044 0.1986824 0.1992676 0.1988517 0.1971588 0.1929485 0.1876613 0.1822178 0.1764934 0.1737499 0.1695731 0.1672283 0.1659083 0.1683038 0.175708 0.1847408 0.1932417 0.1962515 0.1954808 0.1947301 0.1938472 0.1942838 0.1957278 0.1978591 0.2002111 0.2011938 0.201356 0.1997256 0.1953994 0.1908881 0.1862618 0.182135 0.1786443 0.1763449 0.1743616 0.1716591 0.1738843 0.1783874 0.1849181 0.1912696 0.1938186 0.1930274 0.1923265 0.1920257 0.1924371 0.1939138 0.196476 0.1998217 0.2022384 0.20238 0.2009776 0.1983047 0.1938005 0.1905701 0.1875511 0.1841149 0.1815283 0.1794491 0.1782887 0.1785085 0.181212 0.185404 0.1901676 0.1913488 0.1904782 0.1896871 0.1891947 0.1895242 0.1908651 0.1935008 0.1973927 0.2011402 0.2025867 0.2017393 0.1999034 0.1977564 0.1945272 0.1926183 0.1895133 0.1865685 0.1843664 0.1828298 0.1820674 0.1835967 0.1862583 0.1895788 0.1890112 0.1878876 0.1868642 0.1859919 0.18572 0.1863902 0.1886371 0.1929203 0.1988915 0.2016156 0.2013667 0.2004982 0.199528 0.1986915 0.1972672 0.194524 0.191056 0.1879566 0.1859629 0.1848167 0.1854763 0.1869107 0.1890665 0.1868535 0.1855316 0.1841436 0.1828436 0.181608 0.1813467 0.1824011 0.1865023 0.1927428 0.1975848 0.1995642 0.2000656 0.2001761 0.2002878 0.2007259 0.197841 0.1933963 0.1900544 0.1878713 0.1866942 0.1865339 0.187139 0.1881223 0.1850717 0.1834876 0.1819257 0.1802394 0.1783238 0.1764036 0.1751436 0.179324 0.1865952 0.1923466 0.196109 0.1982983 0.1991178 0.1994586 0.1992223 0.1971376 0.193724 0.1908791 0.1887828 0.1875215 0.1871426 0.1870722 0.1874919 0.1838209 0.182308 0.1804138 0.1785889 0.1764975 0.1742478 0.1722484 0.1760266 0.1830305 0.1887669 0.1932641 0.1954381 0.1972975 0.1974596 0.1968203 0.1950375 0.1927984 0.1904821 0.1886888 0.1874982 0.1869287 0.186873 0.1869005 0.1829354 0.1814678 0.1798729 0.1780783 0.1762944 0.1748556 0.1746531 0.1775345 0.182342 0.1871862 0.1907806 0.1937284 0.1944831 0.1951599 0.1942278 0.1926982 0.1911066 0.1892831 0.187705 0.1865176 0.1858696 0.1857019 0.1858314 0.1824556 0.1811394 0.1799048 0.1786288 0.1772441 0.1766927 0.1770401 0.179299 0.1831502 0.1870294 0.1903151 0.1928562 0.1931259 0.1923327 0.1915384 0.1903258 0.189125 0.1879254 0.1866965 0.185636 0.1855113 0.18481 0.1841124 0.182462 0.1813604 0.1803355 0.1794906 0.178517 0.1784227 0.1792694 0.1811517 0.1841668 0.1874728 0.1907398 0.1927718 0.1922008 0.1908815 0.1891226 0.1882679 0.1875508 0.186628 0.185557 0.1851386 0.1842468 0.183361 0.1823988 0.1829163 0.1818009 0.1809692 0.1804007 0.1798722 0.1802381 0.1810477 0.1825977 0.185064 0.1879228 0.1907307 0.1919184 0.1908732 0.1895918 0.1881775 0.1870213 0.1862327 0.1855004 0.1847172 0.1838534 0.1829174 0.1819117 0.1807647 0.1834933 0.1825245 0.181861 0.1814952 0.1813066 0.1815357 0.1822255 0.183736 0.1854897 0.1875747 0.1893226 0.1898018 0.1894022 0.1883443 0.1871613 0.1859723 0.1851157 0.1844403 0.1836054 0.1827164 0.1817108 0.1805809 0.1793057 0.1841527 0.1833673 0.1828785 0.1826625 0.1826535 0.182682 0.1831907 0.1843629 0.1856007 0.1869226 0.1880299 0.1882697 0.1878718 0.1870575 0.1860732 0.184959 0.1842407 0.1833007 0.182499 0.1815737 0.1806338 0.1794783 0.1781973 0.1848476 0.184266 0.1839776 0.1837391 0.1836769 0.1837672 0.1841294 0.1849179 0.1856979 0.1864295 0.1869012 0.1871349 0.1864631 0.1857938 0.1849772 0.1839884 0.1831981 0.1822705 0.1815372 0.1806762 0.1796744 0.178527 0.1771893 0.1854095 0.1851557 0.1848134 0.1846188 0.1845699 0.1846353 0.185156 0.1854205 0.1857683 0.18599 0.1859585 0.1858737 0.1853816 0.1847328 0.1838959 0.1830604 0.182179 0.18131 0.1806808 0.1799624 0.1788601 0.1777507 0.1764445 0.2007253 0.1995849 0.1985759 0.1974502 0.1962012 0.1947907 0.1931419 0.1914289 0.1894296 0.1874578 0.1851911 0.1829622 0.1804426 0.1780876 0.1778514 0.1816111 0.185618 0.1892007 0.1923326 0.1951651 0.1977273 0.2002073 0.2025491 0.201918 0.2008165 0.1997225 0.1985732 0.197354 0.1960241 0.1943036 0.1925842 0.1906017 0.1886266 0.1863926 0.1841504 0.1816231 0.179198 0.1791235 0.182604 0.1865363 0.1901104 0.1932313 0.1964412 0.1990689 0.201686 0.2039704 0.2030654 0.2019545 0.2007905 0.1996145 0.1984556 0.1972578 0.1955906 0.1937983 0.1919313 0.1900744 0.1882258 0.1861467 0.1847245 0.1835489 0.1838287 0.1858841 0.1887308 0.1916443 0.1948555 0.1975938 0.2005224 0.2031875 0.2053299 0.2041268 0.2028825 0.201519 0.2002974 0.1993282 0.1983735 0.1965702 0.1948763 0.1933684 0.1918612 0.1903155 0.1887473 0.1877625 0.1875408 0.1880581 0.1890222 0.1905494 0.1931348 0.1964248 0.1991705 0.2021616 0.2046724 0.2069469 0.2048872 0.2032346 0.2017151 0.2004826 0.1995313 0.1983634 0.1968991 0.1956816 0.1945915 0.1935238 0.1922676 0.1907748 0.1900295 0.1904595 0.1914731 0.1908667 0.1918246 0.1942669 0.197417 0.2007602 0.2037428 0.2064521 0.2086863 0.2047127 0.202864 0.2013057 0.2000256 0.1989836 0.197629 0.1967746 0.1961225 0.195795 0.1951229 0.1941024 0.1922157 0.190744 0.190389 0.1907672 0.1896175 0.1910914 0.1944529 0.1984648 0.2023703 0.2055798 0.2081029 0.2103215 0.2033015 0.2017407 0.2002648 0.1990534 0.197779 0.1968661 0.1963189 0.1971126 0.1975331 0.1972252 0.1959639 0.1933495 0.1900252 0.1866996 0.1845893 0.1855024 0.1894051 0.1944371 0.1999558 0.2047132 0.2073759 0.209763 0.2114072 0.2012806 0.2000412 0.1988062 0.1977364 0.1968677 0.1964332 0.1965782 0.1982134 0.1994941 0.1999274 0.1985805 0.1951674 0.1902603 0.1837837 0.177408 0.1809243 0.1878581 0.1944757 0.2008513 0.2062927 0.2086117 0.2102687 0.2115526 0.1990378 0.1979865 0.1967185 0.1958932 0.1956035 0.196016 0.1973314 0.1996686 0.2015297 0.2027263 0.2026743 0.1983714 0.1925936 0.1857615 0.1790847 0.1826011 0.1889582 0.195162 0.2007782 0.2053745 0.2078488 0.2100651 0.2112101 0.1966865 0.1955735 0.1944714 0.1937166 0.193761 0.195056 0.197362 0.2003665 0.202779 0.204821 0.2048215 0.2015484 0.1964813 0.192873 0.1898845 0.1898343 0.1929452 0.1971706 0.2012358 0.2048776 0.2070922 0.2086821 0.2104208 0.1944062 0.1930867 0.1919887 0.1913009 0.1914963 0.192971 0.1957158 0.1994047 0.2028081 0.2046414 0.2043653 0.2029339 0.2011456 0.2005097 0.1988835 0.196507 0.1970746 0.1993361 0.2021277 0.2046397 0.2064055 0.2078058 0.208808 0.191952 0.1907954 0.1893766 0.1887798 0.1886322 0.1896363 0.1921484 0.1963833 0.2003484 0.2030821 0.2034436 0.2029534 0.2023641 0.2026748 0.2016151 0.2001216 0.1998029 0.2009661 0.2026505 0.2043459 0.2055164 0.2066258 0.2076377 0.1895219 0.1882734 0.186875 0.1857101 0.1850866 0.1854897 0.1874926 0.1915191 0.197025 0.2009188 0.201855 0.202146 0.2019213 0.2013905 0.2016634 0.2011229 0.2009556 0.2017511 0.2029869 0.2036937 0.2044361 0.2052371 0.2059099 0.1872603 0.1859102 0.1843129 0.182788 0.1813621 0.1804799 0.1812279 0.1853146 0.192205 0.197562 0.199956 0.2002483 0.1997542 0.1995864 0.2004377 0.2005985 0.2006759 0.2011975 0.2018754 0.2023282 0.2029128 0.2036467 0.2044999 0.1852373 0.1839193 0.182282 0.1805292 0.1785847 0.1763613 0.1746621 0.1795131 0.1879579 0.1945004 0.197817 0.1982953 0.197146 0.1971224 0.1975698 0.1980592 0.1986136 0.1993377 0.2001055 0.2007908 0.2014654 0.2022334 0.2030626 0.1838198 0.1825807 0.1808774 0.179271 0.1774631 0.1752831 0.1732896 0.1780713 0.1866174 0.1936445 0.1975388 0.1979038 0.1968983 0.1953741 0.1948556 0.1951246 0.1962265 0.1972973 0.1982993 0.1991656 0.1999674 0.2007516 0.201567 0.1829003 0.1821355 0.1808165 0.1798299 0.1780298 0.1773985 0.1777864 0.1816157 0.1878945 0.1946372 0.1991186 0.1980893 0.1961429 0.1943597 0.1927904 0.1929367 0.1941756 0.1954776 0.1967047 0.1976872 0.1985895 0.1993715 0.2001175 0.182363 0.1816701 0.1806385 0.1801414 0.1799834 0.1805215 0.1820371 0.1847549 0.1892546 0.1943761 0.1977758 0.1969178 0.1947423 0.1926849 0.1908481 0.1911834 0.1925593 0.1939902 0.1953509 0.1964344 0.1974416 0.1983129 0.1991754 0.1817786 0.181218 0.1808331 0.180575 0.1811836 0.1821687 0.183931 0.1863089 0.1895059 0.1928144 0.1945619 0.1944122 0.1932056 0.1914216 0.1892718 0.1898889 0.1913443 0.1928919 0.1943111 0.1956032 0.1966246 0.1976353 0.1985871 0.1813012 0.1809455 0.1807134 0.1810677 0.1818437 0.1831778 0.1848092 0.1869034 0.1892633 0.1911317 0.1922065 0.1920348 0.1913262 0.1901565 0.189466 0.1896762 0.1908331 0.1921717 0.1935918 0.1949351 0.1961114 0.1971207 0.1981121 0.1807983 0.1807271 0.1808373 0.1814245 0.1822866 0.1835977 0.1850765 0.1865424 0.1883704 0.1896612 0.1903849 0.1903631 0.1900117 0.1896139 0.1894871 0.189648 0.1906313 0.191918 0.1932165 0.1945442 0.1957532 0.1969241 0.1977656 0.1802815 0.1804489 0.1807531 0.1814799 0.1825537 0.1835073 0.1847453 0.1860768 0.1874117 0.188339 0.1889018 0.1890363 0.1890659 0.1890924 0.1893338 0.1896311 0.1906918 0.1918387 0.1931062 0.1943825 0.1955768 0.1967008 0.197725 0.1796834 0.1799233 0.1804653 0.1813086 0.1823237 0.1835025 0.1845531 0.1857221 0.186566 0.1872892 0.1877925 0.1881314 0.188208 0.1885383 0.1890597 0.1896008 0.1906677 0.1918136 0.1930672 0.1943359 0.1955751 0.196665 0.197699 0.1789816 0.179389 0.1801033 0.1809348 0.1818989 0.1829849 0.1840745 0.1849942 0.1856878 0.1863328 0.1868897 0.1872141 0.1876843 0.1882073 0.18883 0.1895719 0.1907118 0.1919265 0.1932097 0.1944773 0.1956711 0.1968119 0.1976849 0.2101457 0.2092489 0.2082445 0.2071672 0.206187 0.2053254 0.20467 0.2044202 0.2040277 0.2040421 0.20439 0.2047856 0.2049786 0.2049932 0.2049073 0.2047716 0.2047643 0.2048236 0.2051872 0.205787 0.2064927 0.2072555 0.2080305 0.209918 0.2088331 0.2076474 0.2064213 0.2052946 0.2044826 0.2040479 0.2038922 0.2037381 0.204125 0.2044617 0.2048439 0.2050791 0.2051446 0.2050201 0.2047399 0.2044613 0.2042906 0.2045133 0.2052513 0.2061276 0.2071383 0.2081606 0.2097155 0.2084711 0.2070113 0.2055047 0.2042345 0.2034494 0.2031502 0.203036 0.20341 0.2041441 0.2046666 0.2051061 0.2055203 0.205504 0.2051916 0.2045817 0.204033 0.2036186 0.2038376 0.2045394 0.2057165 0.2070861 0.2084547 0.2096399 0.208084 0.2062495 0.2045404 0.2030119 0.202087 0.2018517 0.2022249 0.2030144 0.2041232 0.2050031 0.2055579 0.2058236 0.2058613 0.2053941 0.2045421 0.2035305 0.2028462 0.2027856 0.2036448 0.2052869 0.2072187 0.2088859 0.2094683 0.2075187 0.2053142 0.2034409 0.2018216 0.2006202 0.2005325 0.2012721 0.2025668 0.2041023 0.2051513 0.2059301 0.2061703 0.2060403 0.2056665 0.2041234 0.2028127 0.2018296 0.201438 0.2025807 0.2050584 0.2074857 0.2095649 0.2087538 0.2065909 0.2045177 0.2022763 0.2005846 0.1991303 0.1990052 0.2002169 0.2022681 0.204248 0.2056257 0.2062746 0.206091 0.2056108 0.2047424 0.2030645 0.2019146 0.2011811 0.2004658 0.2021747 0.20531 0.2079607 0.2103966 0.2072905 0.205416 0.2032537 0.2011111 0.1991629 0.1976381 0.1971049 0.1996865 0.2026137 0.205157 0.2067645 0.2068776 0.2056222 0.2039468 0.2023822 0.2012027 0.201069 0.2013836 0.2023356 0.2043053 0.206316 0.2086228 0.2106065 0.2054527 0.2038828 0.2020574 0.2001029 0.1984957 0.1972542 0.1971151 0.200164 0.2036835 0.2068367 0.2085728 0.2078744 0.2055075 0.2024503 0.1994775 0.1993229 0.200451 0.2018529 0.2038618 0.2062525 0.2073732 0.2087319 0.2100912 0.2036876 0.2023811 0.2006726 0.1992377 0.1981165 0.1977156 0.1985587 0.2012885 0.204741 0.2086372 0.211353 0.2091891 0.2057533 0.2019614 0.1988844 0.1991927 0.2004193 0.2021647 0.2041351 0.2060915 0.2072506 0.2083501 0.2093269 0.2020657 0.2008683 0.1995864 0.1983171 0.1976818 0.1979321 0.1991778 0.2016311 0.2049992 0.2086615 0.2109858 0.2088133 0.2054229 0.2025252 0.2004694 0.2002232 0.2012218 0.2027318 0.2041815 0.2057785 0.2066853 0.2074839 0.2083116 0.2004758 0.199366 0.1983453 0.1975069 0.197316 0.1974671 0.1988313 0.2011017 0.2039895 0.2066134 0.207728 0.2070116 0.2050353 0.2029306 0.2014375 0.2010784 0.2016607 0.2028008 0.2041246 0.2052289 0.2058654 0.2064769 0.2070291 0.1986796 0.197917 0.1970068 0.196744 0.1966896 0.197003 0.1982424 0.1996188 0.2018576 0.2040551 0.2052016 0.2051291 0.2040777 0.2029624 0.2018607 0.2015513 0.2017892 0.2026645 0.2036397 0.2044474 0.204894 0.2053734 0.2058595 0.1967828 0.1962619 0.1955904 0.1952334 0.1952065 0.1958097 0.1969593 0.198446 0.1999349 0.2021363 0.2034218 0.2038621 0.2033783 0.2024316 0.2018298 0.2013378 0.2013966 0.2021394 0.2031513 0.2034131 0.2037306 0.2041426 0.2045621 0.1948803 0.1943536 0.1937107 0.1933917 0.1934308 0.1939587 0.1951382 0.1967443 0.1990016 0.2010948 0.2023095 0.2026565 0.2023956 0.2014822 0.2008895 0.2004164 0.2003735 0.2009181 0.2016184 0.2019995 0.2023708 0.2028101 0.203272 0.192739 0.1922653 0.1916782 0.1912665 0.1912809 0.1919621 0.1933187 0.1954079 0.1977332 0.1999068 0.2013185 0.201664 0.2012648 0.199739 0.1985113 0.1980026 0.1982435 0.1988744 0.1996196 0.200259 0.2008005 0.2013829 0.2019499 0.1906794 0.1901789 0.1894201 0.1888868 0.1886895 0.1891635 0.1906916 0.1932441 0.1960469 0.198812 0.2004729 0.2004539 0.1993954 0.1973554 0.1955963 0.1949618 0.1957667 0.1967277 0.1976765 0.1985153 0.1992403 0.199917 0.2005509 0.1887219 0.188247 0.1872783 0.1865667 0.1859369 0.1858269 0.1870976 0.1903873 0.1941218 0.1977561 0.2000636 0.1990841 0.1973627 0.1953408 0.1932561 0.1927879 0.19367 0.1948232 0.1961121 0.1969975 0.1978324 0.198558 0.1992078 0.1870046 0.1863647 0.1853371 0.1845334 0.1837052 0.1828569 0.1834123 0.1877289 0.1918069 0.1954587 0.1976912 0.1969717 0.1951725 0.1930881 0.1910793 0.1910124 0.1920225 0.1932838 0.1946969 0.1956861 0.196622 0.1974346 0.1982236 0.185311 0.1846555 0.1839176 0.1830406 0.1824526 0.1820246 0.1830737 0.18622 0.1896823 0.1927049 0.1943667 0.194337 0.1931389 0.191349 0.189275 0.1896106 0.1908278 0.1921472 0.1935653 0.1947558 0.1957033 0.1966515 0.1974829 0.1839003 0.1833371 0.1826721 0.1820932 0.1818195 0.1820882 0.1832197 0.1854166 0.1880883 0.1903075 0.1918137 0.1919257 0.1912544 0.1900722 0.1892526 0.1892405 0.1902177 0.1914153 0.1927432 0.193992 0.1950792 0.1959872 0.1968486 0.1826101 0.1822268 0.1818276 0.1816823 0.1814782 0.1820127 0.1830845 0.1848375 0.1867974 0.1885374 0.1896879 0.189921 0.1897009 0.1892938 0.1890783 0.1890627 0.1899247 0.1910794 0.1922432 0.1934736 0.1945784 0.195601 0.1963436 0.181474 0.1812676 0.1810461 0.18106 0.1812744 0.1818901 0.1828724 0.1841248 0.1857245 0.1870378 0.1880024 0.188398 0.1885494 0.1885826 0.1887525 0.1889126 0.1898686 0.1909108 0.1919934 0.1931829 0.1942725 0.1952368 0.1960898 0.180423 0.1802913 0.1803388 0.1806594 0.1809946 0.1817143 0.1824572 0.183619 0.1848117 0.1859299 0.1867715 0.1873967 0.1875682 0.187895 0.1883321 0.188764 0.1897383 0.1907906 0.1918486 0.1930224 0.1941116 0.1950431 0.1958967 0.1794243 0.1794857 0.1798484 0.1801729 0.1806451 0.1813114 0.1821059 0.1830448 0.184051 0.1850205 0.1858477 0.1864442 0.1870291 0.1875437 0.1880257 0.1886233 0.1895842 0.1906793 0.1918451 0.1930199 0.1940943 0.195082 0.1957172 0.1943914 0.1925061 0.1902141 0.1878613 0.1850928 0.1819672 0.1783331 0.1746599 0.1707709 0.1667412 0.1692189 0.17843 0.1872144 0.195384 0.2007959 0.2016274 0.201679 0.2014845 0.2024757 0.2038211 0.2048902 0.2058343 0.2067788 0.1971645 0.1952351 0.1929387 0.1903551 0.1874973 0.1844325 0.1810624 0.1778035 0.1748401 0.1731917 0.1759087 0.1824864 0.1902851 0.1980218 0.2033999 0.2037357 0.2033741 0.2027251 0.2032027 0.2040334 0.2051818 0.2062963 0.2074538 0.2002925 0.1983051 0.1958696 0.1931928 0.1904241 0.18774 0.1849766 0.1822233 0.1804695 0.1802248 0.182783 0.1876315 0.1935279 0.1995149 0.2035184 0.2045483 0.2042388 0.2032007 0.2031975 0.2039589 0.2052546 0.2067673 0.2081461 0.2034478 0.2013147 0.1987057 0.195843 0.1934672 0.1910257 0.188989 0.1874482 0.1862707 0.1870326 0.1890211 0.1926081 0.196838 0.201177 0.2042719 0.205083 0.2034234 0.2028432 0.2025033 0.2033902 0.205213 0.2071901 0.2091152 0.2063137 0.2038525 0.2013241 0.1986469 0.1963394 0.1945946 0.1929412 0.1920959 0.1917729 0.1927792 0.1945049 0.1971685 0.2004251 0.2033346 0.2054927 0.2048587 0.2039226 0.2026283 0.2014737 0.2025488 0.2052822 0.2080891 0.2104339 0.2083471 0.2058003 0.2034567 0.2011369 0.1990105 0.1976351 0.1970201 0.1967761 0.1970561 0.1979976 0.1995857 0.2015873 0.2036871 0.2055881 0.2064099 0.2057943 0.2046419 0.203182 0.2012407 0.2027866 0.2064335 0.2093769 0.2120087 0.2086423 0.20669 0.2048137 0.2028072 0.2011702 0.2001544 0.199935 0.2002376 0.2011442 0.2024098 0.2039153 0.2055093 0.2066173 0.2075261 0.208027 0.2069475 0.2060643 0.2053683 0.2054098 0.207001 0.2086167 0.2105448 0.2125691 0.2082106 0.2068779 0.2052833 0.2038668 0.2024891 0.2017901 0.2018252 0.2024212 0.2043278 0.206324 0.2078257 0.208816 0.2090065 0.2091103 0.2091144 0.2082089 0.2075008 0.2073422 0.2084624 0.2103757 0.2102496 0.2110496 0.2122228 0.2074158 0.2063891 0.2051929 0.2041567 0.2032245 0.2027524 0.2028273 0.2039388 0.2056773 0.2083752 0.2113496 0.2111725 0.2104904 0.2099302 0.2097078 0.2090935 0.2083474 0.2081933 0.2086478 0.2093915 0.2099283 0.2107213 0.2115412 0.2062256 0.2053088 0.2042866 0.2035645 0.2029823 0.2026723 0.2028813 0.2038908 0.2060638 0.2088376 0.2115336 0.2111709 0.2104793 0.2100713 0.2095368 0.2088836 0.2084544 0.2082622 0.2079208 0.20804 0.2090128 0.2098379 0.2106351 0.204814 0.2039105 0.203037 0.2023751 0.2018334 0.2015084 0.2019992 0.2029236 0.2048136 0.2069853 0.2087777 0.2093762 0.2092381 0.2091337 0.2086421 0.2075879 0.2074675 0.2076922 0.2076463 0.207593 0.2083595 0.209052 0.2096789 0.2029261 0.2021096 0.2014086 0.2008217 0.2003608 0.2001126 0.2002735 0.2009736 0.2025209 0.2042765 0.2060409 0.2069616 0.2070304 0.2066626 0.205802 0.2054593 0.2062244 0.2075239 0.2084776 0.2086411 0.2084505 0.2087474 0.2090924 0.2007492 0.2001695 0.1996121 0.1990854 0.1986999 0.1983884 0.1984589 0.1990274 0.1999421 0.2017916 0.2036954 0.2047842 0.2048305 0.2035678 0.2021916 0.2023998 0.204432 0.2071314 0.2096665 0.2091369 0.2087349 0.2084936 0.208696 0.1982586 0.1978788 0.1975117 0.1972088 0.1968874 0.1964294 0.1964316 0.197117 0.1986583 0.2005726 0.2023981 0.2033194 0.2034111 0.2015431 0.1988365 0.1994496 0.2024427 0.2055425 0.2079489 0.2082996 0.2081336 0.2080825 0.2081748 0.1958036 0.1955224 0.1953341 0.1951802 0.1949848 0.194684 0.194391 0.1955404 0.1974747 0.1994659 0.2013537 0.2024109 0.2028076 0.2004688 0.1982781 0.1984251 0.2006994 0.2033718 0.2054919 0.2066157 0.2070196 0.2073059 0.2075133 0.1935484 0.1933535 0.1932766 0.193298 0.1933003 0.1932041 0.1932417 0.1946177 0.1966289 0.1988278 0.2006006 0.2011542 0.200852 0.1991417 0.1975221 0.1974771 0.1993588 0.2015838 0.2035574 0.2049711 0.2057725 0.2062748 0.2066271 0.1915233 0.1915895 0.1916024 0.1918049 0.1918623 0.1922765 0.1928917 0.1941578 0.1960877 0.1983976 0.2001376 0.1998167 0.199114 0.1981521 0.1969967 0.1972297 0.1986672 0.200479 0.2021884 0.2035717 0.204475 0.2051716 0.2057279 0.189603 0.189758 0.1898668 0.1902019 0.1906661 0.191358 0.192251 0.1931831 0.1947175 0.1965999 0.1979937 0.197803 0.197244 0.1968445 0.1964928 0.1969468 0.1979971 0.1994874 0.2010106 0.2023612 0.2033946 0.2042381 0.20502 0.1876581 0.1878507 0.1881941 0.1885486 0.1893169 0.1900416 0.1908433 0.1918664 0.1930775 0.1939407 0.1947205 0.1950057 0.1953183 0.1955279 0.1957193 0.1962672 0.1973114 0.1986338 0.2000895 0.2013526 0.2024976 0.2034787 0.2044031 0.1858522 0.1861001 0.1864103 0.1868731 0.1875664 0.1883621 0.189208 0.1899973 0.1909442 0.1917377 0.1921443 0.1925035 0.1933169 0.1938229 0.1945705 0.1953699 0.1965186 0.1978405 0.1991809 0.2005025 0.2017527 0.2028317 0.2038186 0.1838093 0.1841267 0.1845941 0.185159 0.1857403 0.1865246 0.1873217 0.1880038 0.1888056 0.1894948 0.1900231 0.1906378 0.1913671 0.1922843 0.1933167 0.1942994 0.1956239 0.1971414 0.1983544 0.199784 0.2011413 0.2023138 0.2033029 0.1817469 0.1821037 0.1826297 0.1832202 0.183905 0.1845811 0.1853522 0.186021 0.1867452 0.1873616 0.1880267 0.1887584 0.1896501 0.1907389 0.191995 0.193193 0.1948444 0.196379 0.1979635 0.199488 0.2006478 0.2018784 0.2028809 0.1796416 0.1800594 0.1805514 0.1812276 0.1819028 0.1826488 0.1833495 0.1841113 0.1847086 0.1854849 0.1862415 0.187125 0.1879035 0.1891638 0.1906279 0.1920862 0.1938704 0.1955771 0.1972884 0.19891 0.200313 0.2015207 0.2025542 0.1774998 0.1778931 0.17847 0.1790917 0.1798091 0.1805469 0.1813558 0.1821256 0.1827822 0.1835866 0.1844893 0.1853794 0.1865582 0.1879062 0.1893852 0.1910258 0.1927544 0.1946217 0.1965065 0.1983103 0.1999417 0.2012233 0.2022471 0.2113502 0.2114519 0.2115189 0.2115874 0.2116589 0.2118466 0.2120885 0.2126828 0.2132255 0.2137458 0.2116337 0.2067933 0.2017178 0.1965276 0.1935407 0.1951256 0.1971296 0.1990023 0.2008256 0.2024492 0.2040213 0.2052348 0.2061249 0.2108697 0.2108806 0.2109064 0.2109456 0.2110592 0.2114896 0.2118991 0.2123829 0.2126227 0.2124707 0.2103736 0.2067642 0.2022938 0.1974252 0.1946115 0.1963985 0.1984335 0.2003577 0.2021828 0.2037971 0.2051859 0.2063947 0.2073256 0.21032 0.210268 0.2101757 0.2101884 0.2102647 0.2107325 0.2111282 0.2113759 0.2116071 0.211287 0.2097462 0.2071478 0.2041398 0.2011568 0.1993897 0.1997486 0.2012637 0.2025616 0.2041068 0.2053665 0.2066669 0.2078093 0.2086967 0.2097753 0.2095779 0.2093163 0.209214 0.2092721 0.209616 0.2098111 0.2101749 0.2104994 0.2101853 0.209504 0.2080556 0.2065214 0.2050974 0.2039936 0.2036553 0.2043266 0.2050023 0.2060841 0.2071502 0.2083176 0.2093607 0.2101877 0.2091449 0.208763 0.2082717 0.2080308 0.2079529 0.2079274 0.2080125 0.2087475 0.2093755 0.2095834 0.2095527 0.2091923 0.2086071 0.2085098 0.2083404 0.2075323 0.2070448 0.2072282 0.2078763 0.2087541 0.2097489 0.2107374 0.2116968 0.2082567 0.2077315 0.207284 0.206677 0.206354 0.2059944 0.206183 0.2070127 0.2081845 0.2092237 0.2097875 0.2099364 0.2098587 0.2103235 0.2108306 0.2095333 0.2088474 0.2088994 0.2094279 0.2102674 0.2110767 0.2119711 0.2129882 0.2071379 0.206648 0.2059738 0.2053066 0.2046622 0.2041448 0.2041028 0.2057333 0.2074278 0.2090089 0.2099818 0.2103615 0.210486 0.2103117 0.2102481 0.2098123 0.2095319 0.2096708 0.2104616 0.2113848 0.2118393 0.2123431 0.2132279 0.2058074 0.2053317 0.2047426 0.2040787 0.2035456 0.2031372 0.2033142 0.205137 0.2070479 0.2086997 0.2102423 0.2105871 0.2104615 0.210049 0.2093644 0.2091804 0.2092964 0.2096816 0.2104657 0.211515 0.2116491 0.2120973 0.2126852 0.2044935 0.2040407 0.2034096 0.202911 0.2025608 0.2026418 0.2034854 0.2050871 0.2070028 0.2088734 0.2105897 0.2106251 0.210243 0.2096724 0.2089803 0.2087366 0.2088647 0.2090263 0.2093565 0.2098886 0.2104327 0.2113047 0.211893 0.2032474 0.2027738 0.2022677 0.201714 0.2015524 0.2020045 0.2031165 0.2049489 0.206558 0.2083513 0.2098134 0.2100053 0.2096733 0.2094962 0.2089029 0.2082913 0.2080682 0.2080778 0.2080582 0.2081875 0.2092575 0.2101502 0.211069 0.2020144 0.2014786 0.2009981 0.2006186 0.2005652 0.2008051 0.2018209 0.2034364 0.205032 0.2065968 0.2079396 0.2085993 0.2087246 0.2088983 0.2083622 0.2071893 0.2070719 0.2074025 0.2075032 0.2077623 0.2087337 0.2096281 0.2102791 0.2006476 0.2002226 0.1996984 0.1994744 0.1994417 0.1995456 0.2002666 0.2010614 0.2022348 0.2043406 0.2063275 0.2070636 0.2069276 0.2064216 0.2054415 0.2049482 0.2057759 0.2071983 0.2083277 0.2087816 0.2089514 0.2095642 0.2101503 0.1992622 0.1988697 0.1983833 0.1980463 0.1978346 0.1980096 0.1985498 0.1993609 0.2001249 0.2033176 0.2056858 0.2058312 0.2050198 0.2032758 0.2015512 0.2017775 0.2040538 0.2069439 0.2096327 0.2095349 0.2095384 0.2096885 0.2101729 0.1978928 0.1974499 0.1969921 0.1966255 0.1963414 0.1963639 0.1968758 0.198139 0.2006161 0.2045326 0.205683 0.2050298 0.203716 0.2012441 0.1981994 0.1990536 0.2025151 0.2058796 0.2085017 0.2092306 0.2094949 0.2098263 0.2103168 0.1964896 0.1960442 0.1956365 0.1952538 0.195005 0.1949214 0.1952788 0.1971402 0.2000455 0.2030332 0.2046191 0.2043618 0.2031767 0.200621 0.1985858 0.1990928 0.2017011 0.2045743 0.2069048 0.2083768 0.2091893 0.2097581 0.2102732 0.1952842 0.1948173 0.1943468 0.1939962 0.1937575 0.193672 0.1941634 0.1962641 0.1990905 0.2018306 0.203593 0.2036428 0.2024742 0.2006419 0.1993222 0.1996039 0.20177 0.2040987 0.2062009 0.2076988 0.2087812 0.209602 0.2101926 0.1942541 0.1939301 0.1933727 0.1930317 0.1926818 0.192726 0.1934814 0.1956289 0.1984271 0.2012368 0.2031652 0.2028779 0.2021341 0.2008646 0.2002794 0.2007539 0.2022768 0.2041761 0.2060582 0.2074987 0.2086577 0.2095323 0.2102643 0.1934125 0.1930274 0.1924802 0.1921607 0.1919439 0.1919077 0.1926034 0.1948728 0.1974778 0.2000708 0.2018739 0.2021063 0.2018023 0.2013005 0.2013667 0.2019025 0.2031277 0.2046437 0.2062196 0.2075895 0.2087477 0.209743 0.2105239 0.1925315 0.1921561 0.1918306 0.1914756 0.1914802 0.1916436 0.1924872 0.1942835 0.196501 0.1986076 0.2001866 0.2010467 0.2014431 0.201698 0.2019638 0.2026997 0.2038462 0.2052403 0.2065203 0.2078126 0.2089876 0.2098101 0.2108426 0.1917765 0.191456 0.1911245 0.1909658 0.1910525 0.1914427 0.1923278 0.193775 0.1955496 0.1973036 0.1988508 0.2000784 0.2009272 0.2017721 0.2023894 0.2033586 0.2044871 0.2057685 0.2068702 0.2081276 0.2090827 0.2101925 0.2112233 0.1910249 0.1907981 0.1905657 0.1905644 0.1906404 0.1911195 0.1918798 0.1930777 0.1945822 0.1962451 0.197825 0.1992144 0.2004934 0.2017416 0.2027133 0.2038783 0.2051054 0.2062204 0.2073727 0.2084871 0.2095495 0.2106508 0.2116591 0.1903207 0.1901753 0.1899928 0.1900405 0.1902582 0.190671 0.1913752 0.1923737 0.1936501 0.1952483 0.1968395 0.1985163 0.2000653 0.2016099 0.2031827 0.2043914 0.2054614 0.2065883 0.2077609 0.2088587 0.2100549 0.2111743 0.2121416 0.1896297 0.1894466 0.1894195 0.1895552 0.1898202 0.190275 0.1910065 0.1918693 0.1927376 0.1943085 0.1960981 0.1978978 0.1996173 0.2013904 0.203112 0.2044656 0.205671 0.2069228 0.2080907 0.2093845 0.2105319 0.2117055 0.2126654 0.1889392 0.1888272 0.1888759 0.1890287 0.1893474 0.1898043 0.1904975 0.1913037 0.1923601 0.1938374 0.1955138 0.1973432 0.1991506 0.2009177 0.2026347 0.2041302 0.2056197 0.2069507 0.2083869 0.2098083 0.2110194 0.2121348 0.213201 0.1909101 0.1912411 0.1915138 0.1918039 0.1919141 0.1920676 0.1922431 0.1923487 0.1923294 0.1923321 0.1935432 0.1960426 0.1983958 0.2005653 0.2025437 0.2043187 0.2058791 0.2072829 0.2085876 0.2097512 0.2102669 0.2105275 0.2107484 0.1914596 0.1917905 0.1922126 0.1926244 0.1928277 0.1931894 0.1934027 0.1936451 0.1939055 0.1944835 0.1957975 0.1979085 0.200163 0.2022943 0.2041696 0.2058471 0.2072157 0.2085052 0.2096328 0.2104896 0.2110863 0.2113556 0.2115007 0.192082 0.1924716 0.1928951 0.1933541 0.1938705 0.1943874 0.1948415 0.195379 0.1959235 0.1968316 0.1982929 0.2001327 0.2022521 0.2042667 0.2060019 0.2073026 0.2086048 0.2097092 0.2105454 0.2112761 0.211801 0.212044 0.2120639 0.1927353 0.1932114 0.1937006 0.1943013 0.1949758 0.1957133 0.1964459 0.1971614 0.1979643 0.1991106 0.2005649 0.2023364 0.2043027 0.2063149 0.207932 0.2090091 0.2099115 0.210787 0.2115052 0.2120605 0.2124836 0.2126256 0.2126357 0.193398 0.1938905 0.1945384 0.1952555 0.1961106 0.1970433 0.1979235 0.1989097 0.1999317 0.2011589 0.202642 0.2043127 0.2061212 0.2081805 0.209935 0.2102802 0.2107661 0.2114876 0.2121942 0.2127582 0.2131242 0.2131064 0.2131572 0.1939806 0.1945978 0.1953196 0.1961378 0.1971632 0.1981424 0.1993069 0.2004214 0.2016618 0.2030319 0.2044803 0.205915 0.2074396 0.2091346 0.2104633 0.2103915 0.2107381 0.2115577 0.2126046 0.2132691 0.2134615 0.2135008 0.2135821 0.1945688 0.1952374 0.1960273 0.1969305 0.1979281 0.1992043 0.2005214 0.2017876 0.2031792 0.2046687 0.2060833 0.2071966 0.2080721 0.208778 0.2093136 0.2093797 0.2100374 0.2109237 0.2122733 0.2133063 0.213209 0.2129743 0.2130783 0.1951783 0.1958572 0.1967187 0.1976591 0.1986758 0.1999709 0.2013506 0.2027048 0.2043811 0.2061255 0.2075957 0.2083148 0.2084562 0.2081546 0.207585 0.2078688 0.2086522 0.2095461 0.2108402 0.212106 0.2118062 0.2118222 0.211998 0.1956435 0.1963767 0.1972051 0.1981972 0.1993321 0.2004743 0.2017578 0.2032524 0.2050893 0.2072445 0.2091745 0.2093183 0.2088887 0.2080068 0.2070567 0.2070285 0.2075334 0.2077058 0.2078871 0.2083892 0.2091991 0.2100925 0.2108062 0.1959805 0.1967063 0.1975149 0.1984674 0.1995781 0.2007773 0.2020032 0.203371 0.2053508 0.2077108 0.2095008 0.2095671 0.2089887 0.2086006 0.207713 0.2068255 0.2062847 0.205743 0.2049437 0.2047278 0.2068619 0.2085996 0.2098015 0.1962574 0.1969342 0.1977562 0.1986982 0.1996858 0.2008566 0.2021687 0.2035796 0.2056019 0.2076592 0.2086696 0.2089146 0.2087477 0.208816 0.2079601 0.2061291 0.2054189 0.205013 0.2040667 0.2039041 0.2061498 0.2080159 0.2093007 0.1964452 0.1971084 0.1978186 0.1986879 0.1997066 0.2008444 0.2022088 0.2039133 0.2058945 0.2074178 0.2079447 0.2078059 0.2072376 0.2062579 0.2051292 0.2042351 0.204702 0.2056393 0.2062162 0.2064619 0.2070078 0.2081813 0.2092936 0.1966239 0.1972817 0.1979369 0.1987342 0.1996455 0.2007136 0.2020796 0.2038417 0.2059542 0.2072714 0.2072795 0.2061974 0.2049032 0.2030191 0.2012302 0.2015453 0.2039173 0.2067023 0.2091522 0.2086356 0.2084928 0.2087113 0.2095138 0.1968104 0.1974113 0.1980597 0.1987046 0.1994192 0.200422 0.2016813 0.2033529 0.2053485 0.2066874 0.206425 0.2052562 0.2035665 0.2013339 0.1984443 0.199862 0.2037507 0.2070003 0.2092437 0.2093866 0.2091919 0.2092211 0.2096162 0.196928 0.1975092 0.1980417 0.1985403 0.1991059 0.1999484 0.2010579 0.2027313 0.2045142 0.2057723 0.2060079 0.2050858 0.2033977 0.2019429 0.2009687 0.2020404 0.2044746 0.2069989 0.2086199 0.2092566 0.2095047 0.2095554 0.2096986 0.1969403 0.1974689 0.197801 0.198239 0.1988071 0.199429 0.2004376 0.2021085 0.2039061 0.2054104 0.206067 0.2055236 0.2045766 0.203821 0.2042237 0.2050992 0.2061893 0.207468 0.208526 0.2091947 0.2094731 0.2095897 0.2096456 0.1968132 0.1972492 0.1975225 0.1979172 0.1983564 0.1989164 0.1999495 0.2015598 0.2034453 0.2053682 0.2066157 0.2059115 0.2055061 0.2057382 0.2062654 0.2071181 0.2075314 0.2081639 0.2087595 0.2091677 0.2093658 0.2094422 0.2095226 0.1965895 0.1969427 0.1971882 0.197544 0.1979638 0.1984775 0.1993147 0.2008728 0.2025546 0.2042526 0.2053393 0.2051689 0.2056365 0.2066401 0.2076593 0.2083682 0.2084239 0.2086462 0.2089849 0.2092377 0.2093792 0.2094655 0.2095525 0.1963208 0.1965995 0.1968484 0.1971691 0.1975836 0.1981278 0.198966 0.2001498 0.2014193 0.2024793 0.202952 0.2034667 0.2049468 0.2066684 0.2085517 0.2088327 0.2088277 0.2088884 0.2090644 0.2092611 0.2094011 0.2094423 0.2097063 0.1960153 0.196299 0.1965941 0.1969374 0.1973108 0.1978717 0.1986244 0.1995357 0.2004267 0.2011471 0.2014153 0.2022417 0.2042212 0.2061457 0.2076972 0.208502 0.208801 0.2089485 0.2090936 0.2092262 0.2093461 0.2095607 0.2098149 0.1957105 0.195999 0.1962962 0.1966548 0.1971248 0.1975853 0.1982675 0.1990356 0.199789 0.2004301 0.2011198 0.2021514 0.2038279 0.2055914 0.2069517 0.2078782 0.2084301 0.2087093 0.2090012 0.2092341 0.2093988 0.2096498 0.2098889 0.1954335 0.1956904 0.1960044 0.1964067 0.1968871 0.1973503 0.1979982 0.1986824 0.1994473 0.2001769 0.2010725 0.2021637 0.2036382 0.2051167 0.206386 0.2073664 0.2080353 0.2085005 0.2088669 0.2091837 0.2094702 0.2096869 0.2099216 0.1951182 0.1953915 0.1957607 0.1961781 0.1966383 0.197151 0.1977502 0.1984378 0.1992044 0.1999962 0.2009609 0.202114 0.2034537 0.2047527 0.2059931 0.206995 0.2077062 0.2082134 0.2086778 0.2090912 0.2094375 0.2096834 0.2099214 0.1948387 0.1951819 0.1955512 0.1959781 0.1964579 0.1969835 0.1976357 0.1983331 0.1990484 0.1998821 0.200887 0.2020007 0.203214 0.2045199 0.2057539 0.2066772 0.2073486 0.2079491 0.2084549 0.2089227 0.2093195 0.2096051 0.2098961 0.206117 0.2063828 0.2067839 0.207298 0.207881 0.2085163 0.2091745 0.2097623 0.2104352 0.2110357 0.2114731 0.2119683 0.2124862 0.2129258 0.2132194 0.2134108 0.2135313 0.2134614 0.2131598 0.2127512 0.2119175 0.2108552 0.2097439 0.2056566 0.2059559 0.2062987 0.206859 0.2075164 0.2082171 0.2089065 0.2094942 0.2101777 0.2107784 0.2112577 0.2118398 0.212466 0.2130841 0.2132878 0.2134803 0.2136198 0.213671 0.2134416 0.2130706 0.2122192 0.2111168 0.2099268 0.2050477 0.2053542 0.2058233 0.2063055 0.2070411 0.2078271 0.2085518 0.2092701 0.2098728 0.2104569 0.2110291 0.211562 0.2122034 0.2129402 0.2134205 0.213431 0.2136813 0.2138393 0.213849 0.2133732 0.2124796 0.2112946 0.2100171 0.2042638 0.2045978 0.2050847 0.205728 0.2065168 0.2073417 0.2080968 0.2088361 0.209531 0.2101229 0.210605 0.2111915 0.2118313 0.2125406 0.2131447 0.2134761 0.2137981 0.2141166 0.2141756 0.2137228 0.2127664 0.2113813 0.2099417 0.2033141 0.2036865 0.2041596 0.2049112 0.2057777 0.2067004 0.2074652 0.208308 0.2091281 0.2096232 0.2101484 0.2105073 0.2110216 0.2117426 0.2125684 0.212658 0.2130417 0.2137221 0.2145309 0.2141964 0.2129884 0.2111579 0.2096214 0.2023467 0.2026418 0.2030894 0.2038606 0.2048308 0.2058544 0.2068909 0.2077602 0.2086767 0.2092477 0.2095022 0.2096341 0.2097777 0.2101044 0.2106138 0.2105316 0.2112244 0.212562 0.2142038 0.2142653 0.2127734 0.2110438 0.2092874 0.2012001 0.2013985 0.2019189 0.2027258 0.2036948 0.2048514 0.2060352 0.2072845 0.2082383 0.2088919 0.2091118 0.2088176 0.2081078 0.2072959 0.2067923 0.2072248 0.2085794 0.2104592 0.2123558 0.2130902 0.2118421 0.2103136 0.2087774 0.1999056 0.1999574 0.2003894 0.2012017 0.2023884 0.203587 0.2048443 0.2062966 0.2078937 0.2087065 0.2090261 0.2082549 0.2066189 0.2044957 0.202526 0.2035523 0.2055809 0.2075785 0.2094552 0.2108027 0.2099985 0.2089952 0.2080237 0.1985142 0.1983219 0.1986175 0.199551 0.2005562 0.2016264 0.2031837 0.2050276 0.2071572 0.208799 0.2095113 0.2079759 0.2056329 0.2029612 0.2005756 0.2012405 0.2032794 0.2046542 0.2056047 0.2064716 0.2070489 0.2074139 0.2074008 0.197185 0.19684 0.1969705 0.1974844 0.198069 0.1991594 0.2010118 0.2034956 0.2060521 0.2085258 0.2093462 0.2079965 0.2048865 0.2027384 0.2010839 0.2008384 0.2015482 0.20219 0.2023318 0.2025595 0.2048923 0.2063659 0.2071367 0.1960792 0.1954436 0.1951171 0.1952427 0.1956235 0.1966867 0.1987623 0.2015342 0.2051088 0.2076806 0.2084007 0.2074625 0.2054464 0.2031673 0.2012938 0.2007464 0.2012682 0.2019527 0.2017539 0.2020219 0.2044207 0.2061505 0.2072714 0.1947594 0.1938928 0.1931682 0.1925042 0.1922362 0.1928625 0.1950829 0.1986892 0.2034753 0.2068599 0.2078268 0.2070022 0.2050287 0.2026428 0.2002684 0.2000004 0.2015078 0.2034437 0.2047272 0.2052596 0.2058872 0.206902 0.2077867 0.1934542 0.1924412 0.1911313 0.1896057 0.1883782 0.1879542 0.1898537 0.1936283 0.2007433 0.2059876 0.2073302 0.2068008 0.2048528 0.2010487 0.1986119 0.1988795 0.2017861 0.2054679 0.2088143 0.2082063 0.2078779 0.2080187 0.2085198 0.1922673 0.1911544 0.1896079 0.1878462 0.1854904 0.183324 0.1828372 0.1871761 0.1956201 0.2033724 0.2061412 0.2062737 0.2050978 0.2014356 0.1975135 0.1984607 0.2025388 0.2064312 0.2093092 0.2095066 0.209166 0.2090082 0.2092411 0.1915808 0.1902957 0.1888665 0.1869138 0.1841782 0.1802543 0.1758582 0.180554 0.1907363 0.1988093 0.203358 0.2052355 0.2059448 0.2032567 0.2007255 0.2010977 0.203837 0.206708 0.2088231 0.2096546 0.209826 0.2097941 0.2098428 0.1916543 0.190289 0.1894093 0.1881348 0.1859833 0.1824106 0.1774302 0.1809838 0.1899222 0.1969816 0.2017515 0.2044196 0.2060158 0.2049656 0.2038095 0.204072 0.2054484 0.2072504 0.2089035 0.2098101 0.2101507 0.2102592 0.2102928 0.1927612 0.1923544 0.1919438 0.1919249 0.1905002 0.189867 0.1888471 0.1895941 0.1934936 0.1980307 0.2017667 0.2043715 0.2064495 0.2066687 0.2062122 0.2065369 0.2072762 0.208336 0.209389 0.2100123 0.2103382 0.2105898 0.2106356 0.1939946 0.1941569 0.1943118 0.1951374 0.196388 0.198525 0.1999108 0.1975303 0.1982329 0.2005277 0.203088 0.2052043 0.2072343 0.2080152 0.208284 0.2085706 0.2089303 0.2094613 0.2100763 0.2104888 0.2107606 0.2109349 0.2110631 0.1951819 0.1956605 0.1966003 0.1979685 0.1998106 0.2020883 0.2030509 0.2021932 0.2022314 0.2030928 0.2048199 0.2068431 0.2080945 0.2091048 0.2099895 0.2100564 0.2101426 0.2104052 0.2107557 0.2110221 0.211213 0.2112976 0.2115775 0.1959372 0.1969138 0.1983491 0.2000066 0.2017476 0.2033837 0.2042519 0.2042276 0.2044162 0.2051629 0.2064137 0.2076622 0.2087939 0.2097935 0.2104928 0.2108731 0.2110481 0.2111616 0.2113402 0.211488 0.2115972 0.2118123 0.2120545 0.1968101 0.1980241 0.1995019 0.2008477 0.2023376 0.2033501 0.2041391 0.2048078 0.2054169 0.2063015 0.2072074 0.2082489 0.2092645 0.2102001 0.2107559 0.2111329 0.2113995 0.2115556 0.2117361 0.2118886 0.2120852 0.2122851 0.2124753 0.1975397 0.1989221 0.2001773 0.2015819 0.2029644 0.2040059 0.2047269 0.2052382 0.2059456 0.2066038 0.2074723 0.2085345 0.2093933 0.2103453 0.2110754 0.2115438 0.2117907 0.2119239 0.2120636 0.2122568 0.2125046 0.2126656 0.2128344 0.1980292 0.1996246 0.2008346 0.2021194 0.2034617 0.2045975 0.2050359 0.2055888 0.2062563 0.2068574 0.2076024 0.2085101 0.2094568 0.2103659 0.2112741 0.2118289 0.2120206 0.2121022 0.2122481 0.2124915 0.2127981 0.2129453 0.2130902 0.1983572 0.1998675 0.2011648 0.2023699 0.2035542 0.2044253 0.205075 0.2056483 0.2062894 0.2068651 0.2074489 0.2082137 0.2091208 0.2101816 0.2113703 0.2119237 0.2119328 0.2120572 0.2122434 0.2125459 0.2128673 0.2131447 0.2132571 / NTG 0.3575942 0.3001976 0.2461884 0.184634 0.1235513 0.08635809 0.06646195 0.03434071 0.02217066 0.009024735 0.01136072 0.01407988 0.01204309 0.00717662 0.006314305 0.0131383 0.01989863 0.02414387 0.02990875 0.03920331 0.06433156 0.09516528 0.1222105 0.4425144 0.3709653 0.2951516 0.2111957 0.1218236 0.07191437 0.05007923 0.04486424 0.05425849 0.04501681 0.05298582 0.04013725 0.02574916 0.01044267 0.001507073 0.003806339 0.006884058 0.01029225 0.02052448 0.03846085 0.07429601 0.1145109 0.1526447 0.545531 0.4646582 0.3656833 0.245367 0.1357458 0.07247234 0.06801742 0.09912971 0.1061396 0.09681815 0.08471169 0.07536772 0.04545151 0.01776226 0.00474296 3*0 0.008189221 0.04259054 0.09369648 0.1488848 0.206775 0.6724969 0.5716923 0.4563606 0.3273267 0.1776535 0.07573669 0.1410284 0.184861 0.1901569 0.1781521 0.1403145 0.1139938 0.06779543 0.0275316 0.006387796 4*0 0.04686556 0.1240235 0.2129339 0.2693347 0.7938284 0.6869267 0.5707224 0.4545704 0.33049 0.2531042 0.3066269 0.3306045 0.3078426 0.2621714 0.199331 0.1426212 0.08808187 0.03641924 0.002949348 4*0 0.06033852 0.1910015 0.2869674 0.3497242 0.8901396 0.7880662 0.6962086 0.6159128 0.5582896 0.5505588 0.5647115 0.5270616 0.4449486 0.3521615 0.2594387 0.1646075 0.1018942 0.04781127 0.01777687 0.03174786 0.05353292 0.06687377 0.04409653 0.1507766 0.3018484 0.3865756 0.4427871 0.9221609 0.8610655 0.8012528 0.7666759 0.7668144 0.8111302 0.8555928 0.7452762 0.5910957 0.436745 0.2999402 0.1713855 0.1021685 0.07098776 0.05801082 0.08079764 0.1292575 0.203134 0.3100693 0.4400259 0.4725873 0.4898643 0.506285 0.915506 0.89176 0.8718157 0.8761163 0.9065391 0.9684414 1 0.8854856 0.6952869 0.4859889 0.3044819 0.1611976 0.09667472 0.07062298 0.08292904 0.1218271 0.1965914 0.3131184 0.4915456 0.6666755 0.5893105 0.5483809 0.5279132 0.8934504 0.8888672 0.8912873 0.9078197 0.948545 0.9982587 1 0.9553136 0.7647891 0.4959593 0.25109 0.1291156 0.07653157 0.05680392 0.08018769 0.1356464 0.210389 0.3293903 0.4736443 0.5784743 0.5767991 0.5430459 0.5168145 0.8411878 0.8478504 0.8494549 0.8833251 0.9210008 0.966127 0.9981582 1 0.8057432 0.4736018 0.2161468 0.1037506 0.04848029 0.03353466 0.06587714 0.1200377 0.1995535 0.2969255 0.394202 0.4766925 0.498497 0.4933811 0.4775236 0.7809774 0.7836906 0.7874257 0.8008593 0.827388 0.8438034 0.8499914 0.8437142 0.6636425 0.3858416 0.1879346 0.0837526 0.03379058 0.009661145 0.03077597 0.08510822 0.1477939 0.2144153 0.2890354 0.3551244 0.3829998 0.3978834 0.4194681 0.7053196 0.7038963 0.7000481 0.6970831 0.6887781 0.6807342 0.6387131 0.5460782 0.3576759 0.1963024 0.1033599 0.04891279 0.02245498 0.02555875 0.043195 0.07569541 0.1018967 0.1255517 0.1629639 0.2237417 0.2823975 0.3182926 0.342231 0.6179541 0.6122701 0.597625 0.57533 0.5505804 0.5084171 0.4342412 0.304729 0.09933924 0.02434809 0.02468284 0.01977145 0.02483447 0.04509071 0.0774532 0.08958337 0.07473234 0.05293953 0.03666376 0.1193719 0.189768 0.2454593 0.274419 0.5309773 0.5130472 0.4952509 0.4609224 0.408484 0.3545045 0.2727064 0.164712 0.04720405 0.0001189021 0.0009040633 0.003234523 0.01384176 0.04652036 0.1013232 0.09838848 0.05929398 0.02697458 0.01839444 0.07446755 0.1373222 0.1870265 0.2272279 0.4438537 0.4192259 0.3951504 0.3534816 0.296718 0.2211221 0.1547433 0.07815722 0.01859978 4*0 0.03008125 0.05704326 0.05738778 0.04560178 0.02984204 0.03606296 0.06803848 0.1116086 0.1548848 0.1925215 0.3669453 0.3376387 0.3043203 0.2624266 0.2081059 0.1410289 0.07757053 0.03543349 0.004931859 2*0 0.001452865 0.01470395 0.02524275 0.02028335 0.01946254 0.03788863 0.04511142 0.0541709 0.07300849 0.1041706 0.1370832 0.1682908 0.2974535 0.2708677 0.2377049 0.1974952 0.1388808 0.08297351 0.03435028 0.0152516 0.003146555 0 0.0002961686 0.02588914 0.04233432 0.04876303 0.04387163 0.04383626 0.05503602 0.06406608 0.07170819 0.0896518 0.1131405 0.1353995 0.1525265 0.2389885 0.2106826 0.1770635 0.1399173 0.09531745 0.04290244 0.002719565 0.005037949 0.01136406 0.02129831 0.04258508 0.07203483 0.08517898 0.09394225 0.0994083 0.09363782 0.08846004 0.08914978 0.09153588 0.1019292 0.1167371 0.1313183 0.1460577 0.1861998 0.1596088 0.1288633 0.0992083 0.07175319 0.03591907 0.0103644 0.01394679 0.03196361 0.06644973 0.1018914 0.1304968 0.134521 0.1398699 0.1503705 0.1344105 0.1198556 0.1132268 0.1108007 0.1158012 0.1234407 0.1324136 0.144109 0.1458769 0.1235586 0.0971768 0.07642361 0.05801356 0.03601284 0.0265872 0.03324685 0.05805041 0.09163264 0.1346898 0.1661956 0.1646676 0.1632215 0.1629492 0.1537423 0.1417793 0.1316066 0.1271278 0.1271786 0.13039 0.1363861 0.1436508 0.1094586 0.0928681 0.07745269 0.06318692 0.05338605 0.04202406 0.03978265 0.05312782 0.07169446 0.1018954 0.135406 0.1611858 0.1681895 0.1701884 0.1690328 0.1623682 0.1544982 0.1459172 0.1404934 0.138349 0.1388839 0.1429537 0.144557 0.07894282 0.06785445 0.05998943 0.05363709 0.051629 0.04989653 0.05233674 0.06216374 0.08056135 0.1053889 0.130857 0.1518028 0.163505 0.1690144 0.1703078 0.16683 0.1591368 0.1552997 0.1517445 0.1486969 0.1459991 0.1470815 0.1487167 0.05142551 0.04663418 0.0432927 0.04640634 0.04539525 0.04733828 0.05299844 0.06489024 0.08273335 0.100931 0.1235667 0.1412136 0.1558652 0.1639835 0.1682812 0.1683143 0.1638623 0.1615181 0.1589307 0.156224 0.152023 0.1515472 0.1511906 0.0257531 0.02563342 0.03136948 0.03363092 0.03703553 0.04271761 0.05145422 0.06374148 0.07932419 0.0979886 0.1166469 0.1325562 0.1443895 0.1539045 0.1620882 0.1662034 0.1616691 0.1601111 0.1594517 0.1594009 0.1595364 0.15919 0.1568842 0.763711 0.7229987 0.6916621 0.6546405 0.6060299 0.5382404 0.4526342 0.3482654 0.2248447 0.090601 0.1075891 0.2833797 0.4612017 0.6336235 0.7602918 0.7963387 0.8195444 0.8379834 0.8731505 0.90943 0.9305127 0.945205 0.9597429 0.8259854 0.801275 0.7776465 0.7520962 0.7154804 0.6495628 0.5621061 0.45562 0.3440649 0.2619752 0.2779671 0.3973227 0.550989 0.7097946 0.8302769 0.8574852 0.8743471 0.8854261 0.9098696 0.9317481 0.949441 0.9617895 0.9727861 0.8850078 0.868705 0.8621021 0.8508047 0.8341342 0.7805727 0.6926177 0.5875432 0.4962117 0.4423819 0.4533404 0.5284263 0.6399416 0.7654127 0.8562639 0.8969057 0.9153923 0.9212357 0.9352536 0.9487506 0.9616224 0.9724579 0.9745511 0.9318321 0.9300168 0.9324736 0.9369848 0.9450014 0.925707 0.8206684 0.718929 0.6407272 0.5977885 0.6027816 0.6509066 0.7267672 0.8172668 0.8900965 0.9262904 0.9246683 0.9401149 0.9502057 0.9600348 0.9698247 0.9695233 0.9807332 0.9731165 0.9686083 0.981985 0.9926537 1 0.9992107 0.9213729 0.8241036 0.7604669 0.7250803 0.7247683 0.75733 0.8130424 0.8719782 0.9259502 0.9372522 0.9471225 0.9545679 0.9605641 0.9661761 0.9664388 0.9760293 0.9866126 0.9955986 0.9927714 0.9940526 3*1 0.9647242 0.908812 0.8570958 0.8265019 0.8243693 0.845769 0.8833017 0.9224129 0.9489073 0.9567575 0.9590164 0.9605178 0.9634079 0.9653832 0.9707664 0.9802242 0.9915723 0.9984594 0.9942449 4*1 0.9903361 0.9563171 0.9245236 0.9012153 0.8975607 0.9128839 0.9303932 0.9591742 0.9784521 0.9738153 0.9722127 0.968433 0.9642046 0.9629405 0.9709689 0.9807717 0.9916753 6*1 0.9992164 0.9727283 0.9695222 0.9596817 0.9512886 0.9584855 0.9648317 0.9776666 0.9943548 0.987846 0.9815388 0.9745826 0.966754 0.9616836 0.9711361 0.980934 0.9897549 6*1 0.9999371 0.9894051 0.9782954 0.9737296 0.9878314 0.9841337 0.9821176 0.9780897 0.9940242 0.9947199 0.9858918 0.9803472 0.9758816 0.9734934 0.977858 0.9833226 0.9895363 0.998845 0.9988697 0.9975199 0.9957716 0.9923206 0.9920885 0.9946706 0.998988 0.9897407 0.9845265 0.9889817 0.9782759 0.9742505 0.9759063 0.9838117 0.9898536 0.9909056 0.9889573 0.984342 0.9845132 0.9854294 0.988143 0.99095 0.9939426 0.9940125 0.992212 0.9883598 0.9817386 0.9756466 0.9723077 0.9710448 0.962651 0.9590451 0.9628307 0.9649971 0.9636661 0.9642236 0.9723254 0.9811872 0.9861162 0.9878037 0.9895192 0.9905891 0.9904689 0.99162 0.9942353 0.9888971 0.9882587 0.9874599 0.9821938 0.9773983 0.9660114 0.9528744 0.9299088 0.9029582 0.9146873 0.9405054 0.9489574 0.9507217 0.9542643 0.9701854 0.9832056 0.9893845 0.9903176 0.9909983 0.9918157 0.9941874 0.9958192 0.9975688 0.9841519 0.983723 0.9819299 0.9787552 0.971811 0.9624444 0.9459011 0.9170755 0.8721131 0.9078754 0.9444226 0.9331901 0.9291811 0.9471518 0.9743279 0.9922522 0.9951923 0.9932028 0.9906555 0.994399 0.9977108 2*1 0.97914 0.9789538 0.9801022 0.9784819 0.9736172 0.968114 0.9580643 0.9412976 0.9366834 0.9796249 0.9676099 0.9266028 0.9026528 0.9287506 0.9789953 3*1 0.998348 4*1 0.9742254 0.9746847 0.9776459 0.9780918 0.9786174 0.9780228 0.9796807 0.9754445 0.9742311 0.9842091 0.9668542 0.9233053 0.8729966 0.9152136 0.9682456 8*1 0.9697983 0.9709103 0.974095 0.9770188 0.9804578 0.983472 0.9911305 0.993784 0.9886467 0.9869992 0.970795 0.9410374 0.9179022 0.9355585 0.9737977 8*1 0.965312 0.9671701 0.9684429 0.9706344 0.9780149 0.9824323 0.9866674 0.99313 0.9961051 0.9960684 0.9857976 0.9641712 0.9531602 0.9615141 0.9831579 8*1 0.9611486 0.9629899 0.9646741 0.9671578 0.9702708 0.974003 0.9795934 0.9861727 0.992116 0.9960759 0.9946954 0.9844769 0.9766085 0.9802911 0.9917875 8*1 0.9562166 0.9582749 0.9606708 0.9629791 0.9665392 0.970134 0.9742616 0.9811071 0.9879428 0.9941513 0.9971313 0.9949653 0.9916626 0.9934551 9*1 0.9512796 0.9534667 0.955695 0.9583027 0.9616307 0.9651896 0.9698083 0.9752142 0.9824918 0.9899162 0.9937996 0.9992444 11*1 0.9457521 0.9479876 0.950174 0.9530875 0.9560876 0.9598899 0.9646433 0.9703065 0.9758961 0.9817889 0.9881228 0.9953043 0.998628 10*1 0.9399566 0.9421737 0.9442051 0.9469686 0.9500726 0.9541963 0.9590726 0.9645476 0.9697987 0.975792 0.9817549 0.9886999 0.9949846 10*1 0.9338849 0.9356309 0.9379686 0.9407557 0.9441785 0.9483499 0.9527543 0.9579251 0.9632525 0.9697267 0.9758921 0.9819775 0.9898429 0.9980366 9*1 0.9275752 0.9292254 0.9314467 0.9342887 0.9378398 0.941848 0.9464913 0.9513295 0.9567186 0.9627182 0.9692473 0.9754561 0.98329 0.9924338 9*1 0.5656366 0.5513052 0.5465186 0.5343633 0.5068343 0.4626395 0.3975715 0.3143002 0.2101303 0.08982395 0.02678948 0.02329247 0.01174706 0 0.01077287 0.1280476 0.2473906 0.3599281 0.4705064 0.5721649 0.6573191 0.7325559 0.8005836 0.622666 0.6277587 0.6355332 0.6400359 0.6293883 0.5948164 0.5331323 0.4474182 0.3444982 0.249808 0.1803126 0.1624561 0.1468846 0.1211813 0.141809 0.2535885 0.3676469 0.4697765 0.5642785 0.6496797 0.7174804 0.7828828 0.8418539 0.6733747 0.6916783 0.7207467 0.7436168 0.7595378 0.7419935 0.6807687 0.5902817 0.5020691 0.4257872 0.3620602 0.3381253 0.3350445 0.3492051 0.3847635 0.4532906 0.5303114 0.6034033 0.6741433 0.7272297 0.7844891 0.8352105 0.871181 0.7108082 0.746244 0.7869019 0.831111 0.8794914 0.8985638 0.8170694 0.7296581 0.6522803 0.5714421 0.5359423 0.5239807 0.5416988 0.5846121 0.6291682 0.6626202 0.695425 0.741516 0.7882467 0.8209757 0.8560031 0.8756536 0.9109486 0.7372802 0.7729192 0.8277106 0.8832052 0.9436766 0.9721812 0.915006 0.8395483 0.7775453 0.7165619 0.6904172 0.6933282 0.7311639 0.8005896 0.8645908 0.8499765 0.8459695 0.8663763 0.9006962 0.914619 0.9132465 0.9292076 0.9503874 0.7414773 0.7811151 0.8285033 0.8980458 0.9529297 0.9780273 0.9610695 0.9199434 0.873246 0.8359803 0.819653 0.8270603 0.8713886 0.9435266 1 0.9669631 0.9453942 0.9521524 0.9829807 0.9834685 0.9683034 0.9696335 0.9822232 0.726272 0.7674295 0.8230299 0.886928 0.9385431 0.9771815 0.9896269 0.9639933 0.9341155 0.9130443 0.9074451 0.9168252 0.9446787 0.9908367 2*1 0.9955077 0.9964742 2*1 0.9920845 0.9936016 0.9958409 0.7070496 0.7523048 0.8028506 0.8586122 0.9092986 0.9561659 0.9863496 0.9711968 0.9714627 0.9599346 0.9626582 0.9673192 0.9801865 0.9973225 5*1 0.9984615 0.9943498 0.9894974 0.9878985 0.6823673 0.7270211 0.7750205 0.8283089 0.8825809 0.9303856 0.9639068 0.9720376 0.9753253 0.9760718 0.9923401 0.9911731 0.9924707 0.9753543 0.9919691 4*1 0.9960942 0.9846864 0.9775171 0.970515 0.6496692 0.6930268 0.7420476 0.7904339 0.8478028 0.8985716 0.941331 0.9744074 0.9892657 2*1 0.9910243 0.9768939 0.9743746 0.9837811 0.9968885 3*1 0.9943861 0.9749338 0.9555895 0.9442175 0.6113061 0.6510554 0.6989923 0.7508249 0.8116618 0.85812 0.9101958 0.9579855 0.9943129 2*1 0.9981327 0.9857922 0.9717003 0.9720587 0.988296 0.9998339 2*1 0.9898889 0.9661598 0.9409195 0.9118009 0.5614749 0.6060293 0.6486378 0.7073985 0.7699794 0.8378313 0.9032646 0.9358056 0.9849867 2*1 0.9999825 0.9902396 0.9892724 0.9788551 0.9890257 0.9982957 1 0.9986898 0.9786429 0.9490116 0.9196074 0.8927552 0.5052019 0.5484776 0.5917702 0.646176 0.7141908 0.7950681 0.8743236 0.9378155 0.9821445 6*1 0.9931616 0.9932664 0.994953 0.9948087 0.9584272 0.92428 0.894913 0.8699516 0.4456523 0.48094 0.5178571 0.5710635 0.6385157 0.7314187 0.8292953 0.9051243 0.9551847 0.9783117 0.9994843 4*1 0.9997044 0.988498 0.9727511 0.9535968 0.9205839 0.8895178 0.8641595 0.8423569 0.3760985 0.4008667 0.4344323 0.4703341 0.5370151 0.6371724 0.7763907 0.865373 0.9217004 0.9699703 0.9990201 1 0.9995957 0.9936672 2*1 0.9663118 0.922007 0.8884847 0.8611974 0.8363529 0.8206841 0.8105096 0.3083531 0.3187221 0.332284 0.3602858 0.4070958 0.4917575 0.6324223 0.7615559 0.8593723 0.9477403 0.994127 0.9925024 0.9565285 0.9232917 0.9654912 0.9725755 0.8743496 0.8259208 0.8026767 0.7882346 0.7753832 0.7691799 0.7680179 0.2467618 0.2498703 0.2426024 0.2493972 0.261162 0.2920967 0.3927365 0.5885538 0.7688751 0.9169905 0.997642 0.9609692 0.8749014 0.7828135 0.7302957 0.7158116 0.7012779 0.69286 0.7001041 0.7062048 0.7056125 0.7110641 0.7208742 0.1894567 0.1867053 0.1675368 0.1592089 0.1443326 0.115931 0.164182 0.4452631 0.6810127 0.8682002 0.9721243 0.9315213 0.7775271 0.5733364 0.3832849 0.392136 0.4876478 0.544162 0.5893121 0.6212536 0.6380169 0.6566249 0.6775097 0.1431308 0.1350584 0.1229853 0.1052504 0.09544083 0.09382916 0.1745115 0.3959876 0.6217586 0.8192679 0.9516346 0.9267218 0.7102135 0.4316362 0.111716 0.176413 0.3107325 0.4205672 0.4923108 0.5419049 0.577051 0.6123955 0.6387268 0.1128938 0.106574 0.09199192 0.0850242 0.09514246 0.1311667 0.2255307 0.3871074 0.5823798 0.7536765 0.896171 0.8667544 0.6467638 0.3940715 0.207265 0.1762564 0.2550696 0.3459578 0.4238798 0.4842755 0.5320723 0.5716105 0.6048971 0.08781399 0.08877702 0.08264057 0.09738399 0.1107403 0.1631373 0.2532938 0.3879496 0.539264 0.6724864 0.752467 0.7075924 0.5678661 0.4018258 0.2764023 0.2235655 0.2571948 0.3201666 0.3880984 0.4483271 0.498564 0.5427157 0.5782528 0.0691818 0.0773086 0.07637563 0.09684228 0.1294355 0.1883578 0.2694788 0.3633136 0.4871624 0.5755477 0.6227233 0.5888917 0.5032095 0.3971655 0.3134347 0.2642213 0.2768876 0.3224045 0.376381 0.4303747 0.4802727 0.5235449 0.5616118 0.05244283 0.05471459 0.07243362 0.1054926 0.1429383 0.202713 0.2653639 0.352084 0.4329463 0.4903249 0.5216559 0.5108289 0.4463972 0.3811049 0.3284943 0.2940292 0.302859 0.3358338 0.3800408 0.4277379 0.4791899 0.5187008 0.5580477 0.03527026 0.0465329 0.07669715 0.1074518 0.1479415 0.1991002 0.2569578 0.3185538 0.3795769 0.4259717 0.4505868 0.4391361 0.4143133 0.377542 0.341179 0.3154892 0.3458265 0.3765198 0.4132062 0.4504658 0.4859481 0.5253629 0.5547857 0.6402353 0.6046063 0.5490698 0.4945201 0.4574814 0.4615802 0.5065487 0.5599613 0.6566779 0.7682396 0.845292 0.8599523 0.8737046 0.8823644 0.8881136 0.9016803 0.9129773 0.9197445 0.9302225 0.9400987 0.950159 0.9595968 0.967689 0.6478825 0.5830743 0.5048045 0.4209353 0.3445738 0.3326006 0.3793847 0.4702672 0.6132544 0.7181457 0.8082722 0.8478906 0.8742491 0.8909546 0.8972635 0.9165558 0.9285603 0.934114 0.9420724 0.949432 0.9574491 0.9654254 0.972267 0.6778475 0.5932006 0.4813636 0.35021 0.237905 0.2026776 0.2735839 0.4313251 0.5560631 0.6627204 0.739686 0.8246258 0.8692459 0.9040173 0.9126973 0.9342734 0.9454566 0.9506307 0.9534997 0.9581858 0.964829 0.9713627 0.9788025 0.7402003 0.626491 0.4956356 0.3443111 0.1686986 0.06688309 0.2447338 0.4043849 0.5247808 0.6170408 0.6981209 0.7952046 0.8587878 0.9158097 0.9365036 0.9587818 0.966296 0.96646 0.9626915 0.9661882 0.9719401 0.9815353 0.9853186 0.8133548 0.702022 0.5648207 0.4219918 0.2670748 0.2014776 0.3421656 0.4565956 0.5271975 0.5836486 0.6548417 0.7437106 0.8345128 0.9209452 0.9737108 0.9872758 0.9856542 0.9799814 0.9742705 0.9728693 0.9817063 0.9888974 0.9926333 0.900767 0.7932013 0.684642 0.5708476 0.4948954 0.5227292 0.5779606 0.5787894 0.5481973 0.5470377 0.5940927 0.6651986 0.7877998 0.9059234 4*1 0.9886608 0.9804074 0.9869914 0.992124 0.9977098 0.966899 0.8871741 0.7997452 0.7312751 0.7322603 0.7905785 0.8578799 0.6834177 0.5343006 0.4762108 0.4895501 0.5468985 0.6848049 0.8603343 0.9892915 4*1 0.9913514 0.9899119 0.9933462 0.9884104 1 0.9559044 0.8969429 0.859751 0.8506661 0.8777409 0.8726844 0.6395035 0.4348431 0.3337587 0.3345329 0.3972599 0.5558481 0.76037 0.9797502 5*1 0.9919725 0.9798772 0.96368 2*1 0.9626446 0.9189503 0.8777758 0.8097963 0.6643059 0.439674 0.260084 0.1734204 0.1367094 0.2312068 0.3848265 0.5789379 0.7922499 0.8430905 0.881264 0.9269095 0.9857162 2*1 0.9578221 0.9355793 2*1 0.9861361 0.9507676 0.8885029 0.7581134 0.5316306 0.2146737 0.09246248 0.07658815 0.07140761 0.14263 0.2334825 0.315486 0.4376407 0.5597486 0.6589932 0.772164 0.9299513 1 0.9777934 0.9464806 0.9000502 3*1 0.9642813 0.9031435 0.7797771 0.5771067 0.3206194 0.2183965 0.1987558 0.1759213 0.1549194 0.1441375 0.0886108 0.1235447 0.29597 0.4279159 0.5615228 0.7327806 0.8635131 0.8512672 0.84691 0.8605857 3*1 0.9917681 0.9263077 0.8545186 0.7392891 0.6548702 0.6420038 0.4845119 0.2909479 0.2227812 0.1828735 0.09577622 0.06453786 0.1323173 0.21427 0.3028184 0.4164312 0.5592309 0.6593289 0.7171659 0.7583236 4*1 0.9956979 0.9423018 0.8845913 0.8597664 0.9285658 0.5555071 0.282708 0.3189027 0.3369223 0.2355287 0.08814548 0.03676244 0.05503713 0.0727345 0.09489071 0.30785 0.4703558 0.5836335 0.6503433 6*1 0.9799504 0.8882176 0.6570964 0.1831267 0.1773217 0.4361776 0.6119055 0.4490578 0.1352474 3*0 0.02018672 0.190648 0.353162 0.4779155 0.5584306 7*1 0.8376755 0.5379837 0.2485317 0.2629336 0.5478899 0.928393 0.6262192 0.2311468 3*0 0.05819984 0.1760016 0.3033441 0.4097925 0.4838994 7*1 0.7881427 0.5091462 0.2764448 0.2690916 0.4859438 0.6970962 0.5880628 0.2386238 0.00908797 0.04099486 0.08262654 0.1350944 0.2140723 0.3040787 0.3836109 0.4430818 0.9731705 0.9907892 4*1 0.9633231 0.7522947 0.4932645 0.2417665 0.1596142 0.4325023 0.61075 0.5941311 0.4268933 0.2711568 0.2207991 0.220834 0.2702879 0.3036772 0.3592247 0.4053423 0.4286261 0.9405874 0.9591122 0.9919654 3*1 0.9480765 0.7746612 0.5714478 0.3792767 0.3266049 0.5198771 0.6853256 0.7438843 0.7308322 0.5934513 0.4479737 0.3834122 0.3895246 0.3839144 0.4015705 0.4179604 0.4290202 0.8987928 0.9220628 0.9438921 0.9717999 0.9874817 0.979702 0.9152439 0.7938017 0.6744667 0.6006293 0.6463013 0.7610433 0.8231983 0.8885263 0.9706267 0.8175158 0.6518593 0.5278622 0.4901151 0.4568148 0.4461244 0.4351008 0.4346439 0.8557987 0.8805754 0.9036879 0.9253114 0.9377197 0.9141537 0.8781385 0.8210415 0.7621781 0.7533931 0.8405265 0.9276252 0.9322888 0.9529375 0.9540252 0.8721389 0.7416897 0.6350359 0.5632467 0.5134206 0.4804583 0.4604663 0.4436085 0.807448 0.8300994 0.8519315 0.8645857 0.8830644 0.8669738 0.8476915 0.8312358 0.8099725 0.8252516 0.8769684 0.9327511 0.9467779 0.9473789 0.9241874 0.8708251 0.7782545 0.6879356 0.6145322 0.5588702 0.517949 0.4869959 0.454048 0.7557134 0.7757728 0.7968564 0.8114696 0.8220068 0.8263211 0.8224362 0.8187239 0.8148292 0.8365726 0.869072 0.9051611 0.9180744 0.9132522 0.8874353 0.8499145 0.7787768 0.7115465 0.649269 0.5935636 0.5426165 0.5041676 0.4677121 0.7012798 0.7214963 0.7379844 0.7519628 0.7632273 0.7660473 0.7757826 0.7802873 0.7925458 0.8082674 0.8373565 0.8565808 0.8734257 0.868012 0.845763 0.8174836 0.766898 0.7159368 0.6636615 0.6126115 0.5557398 0.5137998 0.4695415 0.6450571 0.660754 0.6735595 0.6876042 0.7012522 0.7111391 0.723782 0.7389374 0.75133 0.7717847 0.7931877 0.8121073 0.8151419 0.8089059 0.7944807 0.7778663 0.7218863 0.6790339 0.6387778 0.602044 0.5667078 0.5270768 0.4828522 0.8140635 0.7847985 0.7607358 0.7331927 0.6995362 0.6560341 0.6040977 0.5408309 0.4677591 0.3886861 0.421169 0.5466884 0.678686 0.8036684 0.8747957 0.8604201 0.8270718 0.7806715 0.7668911 0.7772216 0.8198011 0.8802542 0.9488739 0.8557808 0.8344286 0.8131592 0.7904748 0.761065 0.718081 0.6658331 0.6050223 0.5441399 0.5024186 0.5510701 0.6516989 0.7683709 0.8736735 0.9320537 0.8679769 0.8007534 0.7245418 0.6872508 0.7039052 0.746969 0.8217025 0.9097848 0.8970747 0.8793018 0.8660934 0.8482798 0.8289983 0.7924389 0.7425605 0.6875538 0.6415247 0.6209287 0.6758297 0.7481902 0.8354385 0.9185767 0.9443945 0.8778983 0.7697051 0.6389099 0.5910389 0.594892 0.6609999 0.764069 0.866872 0.9329754 0.9220234 0.9126865 0.903501 0.8947996 0.8752284 0.8222718 0.7715713 0.7350765 0.7476555 0.7735946 0.8274438 0.8905848 0.9544305 0.9604366 0.8520077 0.641758 0.5112497 0.4440213 0.4541534 0.5569074 0.6857665 0.8410251 0.9660902 0.9532762 0.9501148 0.9454176 0.9436741 0.9328833 0.8955528 0.8446818 0.8142893 0.8203719 0.8395295 0.8770965 0.9236609 0.9738894 0.9762129 0.7479393 0.5354074 0.358708 0.2413343 0.2777068 0.4315782 0.6329406 0.8331452 0.9876992 0.9759899 0.9672179 0.9722326 0.9718437 0.9646068 0.9430792 0.9116149 0.8812702 0.8688255 0.8709564 0.8746759 0.8656446 0.8709552 0.8350369 0.5912828 0.3814544 0.2064336 0.0522745 0.1113958 0.3522569 0.5973946 0.8439968 0.9937142 0.9831579 0.9826503 0.9851398 0.9862514 0.9883007 0.9826789 0.9628927 0.9380024 0.9127004 0.8891547 0.8469028 0.7679309 0.6522252 0.5178725 0.3672382 0.2621436 0.1622189 0.0709184 0.117047 0.3477435 0.6332995 0.864692 0.9994725 0.9924013 0.9867862 0.9853545 0.9859606 0.990986 0.9929404 0.9779404 0.9707144 0.9569386 0.9162849 0.8365827 0.6940815 0.475077 0.2069269 0.1883994 0.2278544 0.2219154 0.1974585 0.2312071 0.474772 0.6928863 0.8801244 1 0.9970328 0.9924294 0.9873902 0.9839237 0.9828029 0.9795322 0.9773199 0.9737024 0.9769583 0.9669922 0.8674194 0.7132069 0.4922989 0.2309655 0.261099 0.3333299 0.3970239 0.452601 0.5369402 0.6523502 0.788926 0.9128351 1 0.9983081 0.9912381 0.9851691 0.9747474 0.9681394 0.9620187 0.9556008 0.9610977 0.9753868 0.9784711 0.9004661 0.8160251 0.7036201 0.5792322 0.5275574 0.5660324 0.6466566 0.7421167 0.8366557 0.8379914 0.8734883 0.9410027 1 0.9992853 0.9922661 0.9816799 0.9670907 0.9513201 0.9360639 0.9220877 0.922066 0.9389611 0.9496652 0.9389493 0.9200529 0.9325361 0.8874226 0.7977635 0.7866063 0.8424726 0.9449573 1 0.954968 0.9373097 0.9375802 2*1 0.9953468 0.9826279 0.969215 0.9463505 0.9216166 0.8893095 0.8587391 0.8908588 0.9325824 0.960998 0.9822685 2*1 0.948421 0.9163301 0.945462 0.99244 1 0.9731941 0.9425554 0.9281507 2*1 0.9982691 0.9876615 0.9712084 0.9515035 0.9239563 0.884877 0.8323385 0.873509 0.9383701 4*1 0.9860061 0.9571815 0.9688265 1 0.9771169 0.9435278 0.9073494 0.8917768 3*1 0.9962425 0.9829307 0.9672542 0.947108 0.9196389 0.9002615 0.9357443 0.9837307 3*1 0.9990618 0.9580191 0.9259508 0.9195136 0.9172916 0.8882639 0.8612837 0.8449796 0.8260012 5*1 0.9969727 0.9813202 0.9640517 0.9818142 0.9984619 2*1 0.9899209 0.9286843 0.8781784 0.8419545 0.813135 0.8003234 0.7936932 0.7810797 0.7663756 0.7558174 0.7438046 11*1 0.9343865 0.8418363 0.7647529 0.7073641 0.6741095 0.648495 0.647961 0.656301 0.6613473 0.6594641 0.6572285 0.6535331 0.9968466 0.9986308 0.9987429 0.9970295 3*1 0.9936125 0.9845648 1 0.9836152 0.7901999 0.6446095 0.5437571 0.481465 0.4567978 0.4650146 0.488177 0.5228128 0.5403395 0.549473 0.5563255 0.5612743 0.9823225 0.9795446 0.9797947 0.9761245 0.9766938 0.9873502 0.9882869 0.9252194 0.8726948 0.8287976 0.7347811 0.5340554 0.3945393 0.2934993 0.2213853 0.2307013 0.2831119 0.3357053 0.391104 0.4253612 0.4473099 0.4642649 0.4808614 0.9609671 0.9554337 0.9512793 0.941026 0.9275596 0.9127566 0.8917747 0.8178253 0.7161232 0.5757875 0.371952 0.1927484 0.1390572 0.07780725 0 0.05603281 0.1408017 0.2100513 0.2768404 0.3248801 0.3581632 0.39075 0.4101431 0.9356805 0.9248597 0.917971 0.8958752 0.8657435 0.845945 0.7881863 0.6981977 0.5698336 0.3919295 0.1570001 5*0 0.05267501 0.1219104 0.1884416 0.2443175 0.2888449 0.3203341 0.3463483 0.9082133 0.8899676 0.8780124 0.8507963 0.8074492 0.7696285 0.6992025 0.5983883 0.4686637 0.30389 0.1261127 5*0 0.006328348 0.07328499 0.1323102 0.1845769 0.2286271 0.2673639 0.2910514 0.8816334 0.8564022 0.8396577 0.8052721 0.7623416 0.7051259 0.6285402 0.5288822 0.4080277 0.2693553 0.1328292 0.02550445 4*0 0.01019567 0.047043 0.092026 0.1382385 0.1817585 0.2184308 0.2501259 0.858744 0.8383946 0.8050056 0.7709334 0.7194536 0.6597326 0.5824167 0.4876109 0.3785468 0.2819199 0.1623769 0.07283477 0.0005843172 3*0 0.005311609 0.03301268 0.06812198 0.1064271 0.1508396 0.1826816 0.2149796 0.841143 0.8133844 0.784014 0.7409217 0.6876724 0.6269792 0.5508444 0.4688964 0.3813065 0.2827983 0.1876967 0.1095574 0.05747559 0.02399943 0.003775256 0 0.0286738 0.0525207 0.07752013 0.1019952 0.1260307 0.1558647 0.1801244 0.4275754 0.384058 0.3468552 0.3208723 0.3163651 0.3513019 0.423055 0.5299986 0.6522957 0.777357 0.8438969 0.8519549 0.8504863 0.8450643 0.8449508 0.853582 0.869661 0.8883398 0.9086222 0.9271131 0.9249944 0.9103857 0.8898311 0.3999116 0.3517309 0.3000127 0.2558359 0.2378765 0.2557577 0.343879 0.4793708 0.6161302 0.7386613 0.8128173 0.8395324 0.845171 0.8418138 0.8438262 0.8537388 0.8711562 0.8963115 0.9197215 0.9363722 0.9374864 0.9273669 0.9097419 0.3862645 0.3327004 0.2686135 0.1948148 0.1409537 0.15851 0.2750104 0.4405405 0.5939947 0.7156058 0.7810674 0.8320279 0.8395088 0.8307467 0.8325599 0.8441806 0.8693312 0.9007396 0.9270568 0.9458733 0.9506757 0.9451905 0.9314441 0.3898829 0.3371622 0.2615121 0.1806302 0.09020005 0.05903406 0.2508949 0.4455913 0.6094355 0.7091088 0.7906556 0.8411785 0.8399019 0.8187664 0.8108948 0.8313109 0.8664672 0.9036115 0.9360626 0.9596284 0.9687209 0.9668011 0.9535094 0.4147741 0.3623689 0.3088761 0.2456493 0.1779227 0.1819521 0.361909 0.5403931 0.681221 0.7662286 0.8299323 0.8696811 0.8496847 0.8104728 0.7903554 0.8278615 0.8736036 0.9151235 0.9531894 0.9744553 0.9883026 0.9821608 0.9786518 0.4528976 0.4203009 0.3952034 0.3779657 0.3866918 0.4603535 0.5883799 0.7040841 0.792208 0.8585416 0.8972932 0.902562 0.8860084 0.8490743 0.81736 0.8607197 0.8990101 0.937368 0.9750721 1 0.9966511 0.9916908 0.9957348 0.501826 0.4884486 0.4959349 0.5199066 0.5860379 0.7031742 0.8503946 0.8972222 0.923793 0.942711 0.9545742 0.9324583 0.9195856 0.9126297 0.915676 0.9021964 0.8950148 0.9002992 0.9596054 1 0.9681017 0.9341739 0.9422836 0.5504166 0.5590311 0.5834672 0.6327581 0.7180248 0.8505247 0.9869412 3*1 0.9959682 0.9488286 0.9226682 0.933703 0.9794459 0.896792 0.816592 0.7959563 0.837116 0.9076285 0.8420572 0.829748 0.8472961 0.5932238 0.6077585 0.6476901 0.7057577 0.7906642 0.8874508 0.9880674 4*1 0.917065 0.8492021 0.8183458 0.8618415 0.7837051 0.6857625 0.6123605 0.56494 0.5734666 0.6233105 0.6888314 0.7503668 0.6258345 0.6453721 0.6864943 0.7489699 0.8189971 0.8941576 0.9658998 2*1 0.9310104 0.8823148 0.7623 0.6657069 0.592451 0.5744917 0.5657386 0.5220619 0.4338775 0.286068 0.2385615 0.4283868 0.5847973 0.6894676 0.6405084 0.6678527 0.7127033 0.7683033 0.8290355 0.8644199 0.89453 0.9237213 0.8664968 0.7648668 0.6459513 0.5398576 0.4320916 0.324954 0.3022185 0.3673231 0.4040847 0.3772589 0.2508307 0.1991026 0.4085424 0.5758847 0.6938429 0.6656955 0.6809469 0.7332846 0.7860917 0.8304777 0.8495745 0.8569706 0.80796 0.7021677 0.5364888 0.405569 0.3206939 0.2412203 0.1451089 0.1512306 0.2464935 0.3904366 0.4949104 0.5289207 0.5192133 0.5689393 0.6636996 0.7525917 0.704656 0.7299668 0.7704054 0.8136888 0.8472105 0.8587263 0.8247275 0.7204214 0.5428599 0.3054735 0.1808398 0.1267306 0.09080859 0.05418017 0.05262833 0.2047878 0.4513173 0.6959738 0.8948177 0.818404 0.7837318 0.7956327 0.8498311 0.7486028 0.7793077 0.8096067 0.8426701 0.8690985 0.8851092 0.8512056 0.7191138 0.4843825 0.1313914 0.06376033 0.08855651 0.07580687 0.07759792 0.05819292 0.270119 0.5855423 0.8422694 1 0.9947749 0.9487953 0.9234149 0.9409788 0.7885509 0.8242438 0.8422738 0.8549944 0.894866 0.9163304 0.9383114 0.8179567 0.5830581 0.3620093 0.2624333 0.2358485 0.1923596 0.2736987 0.3902998 0.5723401 0.7631676 0.9384431 5*1 0.8095614 0.8465648 0.8454311 0.8455979 0.8541865 0.9097187 0.949981 0.882172 0.7298298 0.6230994 0.5548098 0.4995545 0.4939744 0.5771031 0.7656169 0.9176089 0.9534962 6*1 0.8065276 0.8272315 0.824172 0.8174174 0.8129463 0.8354731 0.8476939 0.852589 0.8411118 0.8522974 0.8578764 0.7706778 0.7395621 0.7995531 0.9337239 8*1 0.7967304 0.8078159 0.8012141 0.7891799 0.7700053 0.7426096 0.7413854 0.8255078 0.8838324 0.9453096 0.9777594 0.911263 0.890217 0.916402 0.9774258 8*1 0.7903819 0.7920029 0.7827287 0.767773 0.7491167 0.7294512 0.741456 0.8123882 0.87916 0.9399024 0.9747567 0.9663209 0.9594669 0.9727817 0.9991359 8*1 0.7860589 0.7864284 0.7771181 0.7649896 0.7521658 0.7464234 0.7614627 0.8002997 0.8624368 0.9211411 0.9484879 0.9820828 0.9978513 10*1 0.7895989 0.7869743 0.7777202 0.7718346 0.7676406 0.767159 0.7830831 0.8124525 0.8528942 0.8962293 0.940523 0.9771351 11*1 0.7963775 0.790283 0.7845902 0.7802105 0.7788647 0.7805113 0.79577 0.8227823 0.8556675 0.8914815 0.9324327 0.9767174 11*1 0.8050395 0.7952937 0.7906732 0.7876701 0.7886885 0.7922534 0.8073193 0.8282636 0.855637 0.887057 0.9253861 0.9700989 11*1 0.815307 0.8072873 0.8020855 0.8004138 0.8017572 0.8058983 0.8176032 0.8336833 0.8538665 0.8812016 0.9171767 0.9604469 11*1 0.4999866 0.5408799 0.5724784 0.5905481 0.5856676 0.5403603 0.4560503 0.3434643 0.2177858 0.08754428 0.06753927 0.177279 0.2791096 0.3718425 0.4506076 0.5170347 0.5746588 0.6273043 0.6778114 0.7253845 0.7628539 0.7991322 0.8367378 0.5390541 0.5832209 0.632159 0.6690543 0.6801167 0.6576554 0.5634694 0.4370072 0.3221991 0.2220895 0.2006843 0.2725842 0.3665751 0.4590847 0.5347359 0.5944311 0.6392534 0.6807081 0.7199693 0.7532026 0.7930533 0.8279162 0.8627024 0.5667499 0.6162595 0.6753451 0.7445354 0.7941924 0.7763609 0.6591009 0.5229299 0.4112059 0.3556301 0.3692655 0.3954949 0.4789412 0.5664529 0.6361655 0.6748663 0.7098613 0.7361048 0.7559997 0.7845138 0.8205305 0.853766 0.8830606 0.5800775 0.6273643 0.6975838 0.771957 0.8571534 0.8866952 0.7095224 0.5528602 0.4783365 0.4742676 0.4888001 0.5183268 0.6025183 0.6868875 0.7490929 0.7736145 0.7840068 0.7899088 0.7946113 0.8142317 0.8439578 0.8763737 0.908128 0.5747639 0.6199436 0.6676942 0.7228736 0.7851968 0.767185 0.6192157 0.5155296 0.4977057 0.5344113 0.5804214 0.6408777 0.7232257 0.8129382 0.8760555 0.8663655 0.8501783 0.8366743 0.8227009 0.8376415 0.8685563 0.9045683 0.9359406 0.5574828 0.5847523 0.6019882 0.6018766 0.5701058 0.4880338 0.4073191 0.4084259 0.4806737 0.5740122 0.659298 0.7429196 0.8228533 0.9058524 0.9587843 0.9339819 0.9042007 0.8782399 0.8545709 0.8621679 0.8954408 0.9278253 0.9617804 0.5362963 0.5457767 0.5297757 0.4901877 0.4024715 0.2613868 0.139658 0.3024392 0.4838166 0.6371315 0.7419052 0.8339669 0.8959041 0.9510692 0.9864511 0.9665037 0.9431286 0.9168742 0.9033731 0.9077653 0.9261377 0.9455444 0.9741199 0.5197718 0.5042945 0.4855939 0.4302449 0.3451838 0.2176107 0.1397718 0.3411493 0.5636922 0.720274 0.837423 0.9083504 0.9428732 0.9726334 0.9973035 0.9804699 0.9614788 0.947809 0.9448752 0.9490076 0.9508303 0.9620342 0.9774547 0.5170032 0.5020644 0.4757559 0.4343239 0.3846757 0.3500834 0.3874994 0.5493907 0.7157013 0.8417199 0.9455203 0.9669518 0.9657856 0.9618795 0.9776853 0.9725188 0.9676837 0.9660345 0.9688211 0.9718641 0.9735551 0.9712753 0.9742463 0.5416203 0.5237361 0.5056869 0.4897879 0.4829014 0.5007954 0.5996872 0.7798976 0.9057434 0.9712198 2*1 0.9582142 0.9307177 0.9216419 0.9383348 0.9535187 0.9683153 0.9840396 0.9907655 0.9804 0.9755079 0.973161 0.5855743 0.5611314 0.5486688 0.5552958 0.5840254 0.6443834 0.7528364 0.9046904 0.9967769 3*1 0.9686588 0.8982937 0.8690692 0.902902 0.9350541 0.9650375 0.9899993 0.9988663 0.9913535 0.9840089 0.9750712 0.6391712 0.5993795 0.6063874 0.625744 0.6617966 0.7278888 0.8067194 0.9048872 0.9823856 3*1 0.9752253 0.9110205 0.8857028 0.9023996 0.9220755 0.9612753 0.992904 0.9985085 0.9940062 0.9913014 0.9901932 0.7089887 0.6802318 0.6787401 0.686107 0.711936 0.7680584 0.8225585 0.8889959 0.953769 2*1 0.9993018 0.9744976 0.9365937 0.9057255 0.8794392 0.879527 0.9290336 0.9956735 0.9871414 0.9886945 0.9975539 1 0.7922451 0.7727104 0.7544065 0.7439834 0.7586853 0.7767826 0.8025497 0.8384503 0.8709987 0.9549664 0.953425 0.9539042 0.9667656 0.8957587 0.835704 0.7695141 0.7567243 0.8276784 0.9126306 0.9559271 0.9815524 2*1 0.879069 0.8467928 0.8147423 0.7939082 0.7617155 0.7602274 0.7508836 0.7307694 0.7105545 0.7163963 0.7356054 0.7978775 0.9051018 0.7373548 0.5523812 0.4764504 0.5589948 0.7011963 0.8108771 0.9004145 0.9591621 2*1 0.9570967 0.9101889 0.8736925 0.8342775 0.79043 0.7187917 0.6754456 0.6073533 0.5358652 0.4543441 0.4464639 0.5554739 0.6294526 0.5166864 0.2478886 0.1653634 0.4098022 0.6035348 0.7501715 0.8670042 0.9514342 3*1 0.9719928 0.919817 0.8576902 0.8009246 0.6944814 0.6145493 0.5226471 0.4050766 0.2341761 0.1406748 0.3804879 0.512655 0.4796739 0.3192265 0.2869812 0.4552315 0.6193738 0.7525147 0.8699293 0.9546276 4*1 0.9747668 0.9017518 0.8130096 0.6999477 0.5832345 0.5198897 0.4221319 0.2936051 0.2657971 0.4769313 0.597752 0.6276908 0.6068694 0.5828326 0.6269572 0.7223389 0.8030221 0.9058213 0.9831837 5*1 0.9580283 0.869893 0.7659349 0.6804805 0.6167696 0.5685377 0.554319 0.6462516 0.7774935 0.80883 0.8351189 0.885711 0.8260978 0.7996323 0.8367552 0.8951569 0.9436149 7*1 0.955511 0.8729849 0.8067331 0.7666147 0.748247 0.7864518 0.9227787 1 0.9874981 0.9793272 0.9814789 0.9569604 0.930819 0.9290737 0.9664741 9*1 0.9888145 0.9390753 0.9094214 0.9077383 0.9519947 6*1 0.9995474 75*1 / PERMX 28.46475 26.0489 23.92494 21.56025 18.9007 16.06549 12.95938 11*10 14.4079 19.63223 25.3539 31.30118 37.08924 30.58815 28.35372 26.08888 23.69568 21.15849 18.3357 15.11632 11.60012 10*10 11.93604 17.7311 24.11961 30.8744 37.39278 32.71802 30.53498 28.29243 25.9491 23.57183 20.88554 17.54641 13.58125 10.07638 10*10 15.45504 22.72255 30.5534 38.14525 34.73024 32.52114 30.09408 27.80673 25.6969 23.47845 19.56349 15.92461 12.67936 10.24014 9*10 12.70038 21.11979 30.63981 39.42607 36.39785 33.60525 31.07339 28.77392 26.7648 24.38379 21.17523 17.87334 15.21554 12.97008 10.42701 9*10 19.42051 30.77535 41.47674 36.69354 33.73072 31.04131 28.84596 26.66185 23.99103 21.594 19.51848 17.68766 15.81589 13.45986 10.58405 8*10 17.58384 30.50139 43.71768 35.20016 32.74248 30.39788 28.25708 25.86429 23.55674 21.5179 21.14222 20.3447 18.865 16.54854 13.35958 8*10 15.99125 28.77846 41.25793 33.03378 31.19117 29.20101 27.28168 25.39437 23.74302 22.68619 23.04012 23.13242 22.15721 19.90223 16.03453 11.55475 7*10 14.90137 25.7634 35.79701 30.64297 29.2229 27.50793 26.03699 24.90567 24.30367 24.70232 25.64886 25.73187 24.90381 23.37716 18.00316 12.35342 7*10 14.60868 22.97743 31.1174 28.10005 26.90451 25.55456 24.38146 23.80944 24.16803 25.42447 27.65481 27.52925 26.08801 23.66806 17.88428 11.08499 7*10 13.92915 20.6779 27.30363 25.58286 24.40105 23.25083 22.33542 22.09076 22.01524 23.14014 25.24076 25.57512 23.8312 21.13189 16.5232 10.58808 7*10 12.23184 17.81182 23.97103 22.8509 21.80544 20.67109 20.09919 19.56218 19.26563 19.64501 19.74469 19.60194 20.2065 19.26055 15.54079 11.13389 7*10 10.40017 15.29705 20.43135 20.0718 19.1228 18.02761 17.09128 16.25332 15.70648 15.57188 15.61897 15.2358 19.07458 19.15395 14.45865 11.32387 12.42771 16.93627 16.38473 10.76637 4*10 12.84841 17.41876 17.43285 16.29006 15.12662 14.01179 12.94464 12.22822 11.94774 12.6392 16.00992 22.22754 18.73478 11.60441 10 11.74803 22.17462 21.00858 12.60685 4*10 10.66389 14.64439 14.69752 13.49467 12.29257 11.13978 4*10 11.91951 14.51515 12.13196 3*10 11.97079 12.79987 6*10 12.5344 12.33372 11.03975 20*10 10.82714 10.31159 55*10 11.13274 14.00235 13.93617 14.11033 15.12889 13.10567 11.34642 10.59081 4*10 10.51462 9*10 10.50979 15.17789 18.2625 17.65893 17.04216 16.58825 15.30694 13.76124 12.31428 11.44693 11.0279 10.91804 11.05144 11.54655 9*10 11.86019 15.25072 17.68303 18.06653 17.88403 17.38128 16.33741 15.17455 13.91338 13.11901 12.57379 12.26807 12.37606 12.56127 9*10 12.08778 14.66723 16.62946 17.58684 17.85469 17.6729 16.98355 15.80839 15.09393 14.43208 13.892 13.52609 13.48286 13.66514 9*10 11.49214 13.7691 15.44686 16.78016 17.40434 17.61724 17.34396 16.53864 16.00951 15.50163 15.05923 14.58646 14.57267 14.65679 9*10 11.06449 12.93238 14.45701 15.56219 16.40782 17.11548 17.30843 16.59088 16.19255 15.93338 15.7989 15.76175 15.77118 15.72776 28.42131 25.99351 23.86019 21.50438 18.85966 15.99893 12.91844 8*10 11.87475 15.83306 19.49683 23.338 27.16259 30.79497 34.37266 37.77029 30.51501 28.25076 25.97688 23.61515 21.10217 18.42957 15.43718 12.23513 7*10 12.90705 16.60855 20.08039 23.78329 27.9271 31.8905 35.82655 39.39055 32.6126 30.34343 28.09532 25.72754 23.47142 21.04239 18.12601 14.52357 11.73453 4*10 10.70689 12.97852 15.39546 18.19263 20.79254 24.54715 28.51475 32.9867 37.34222 41.13786 34.56702 32.23918 29.74942 27.47811 25.49433 23.60603 20.14146 17.2602 15.06488 14.12648 13.3105 12.67189 13.00242 13.89452 15.84982 17.38164 18.51415 21.31884 24.99229 29.19399 34.21766 39.03736 43.30742 36.1895 33.26605 30.61304 28.30838 26.45477 24.38823 21.86053 19.48816 18.19024 17.67255 17.02874 16.53704 16.08589 16.49156 17.87389 17.84895 19.26193 21.70638 24.8992 29.74608 35.58998 41.15869 45.87885 36.49318 33.33247 30.4988 28.19283 26.17569 23.79423 22.20452 21.39769 21.2021 21.21262 20.82823 19.57607 17.8651 17.04738 17.097 16.68218 18.44329 21.67629 25.23929 31.04246 37.64369 43.30518 48.50212 35.02998 32.25602 29.68525 27.34537 24.95488 23.03598 21.82886 23.06032 24.26625 24.98368 24.77157 22.58068 19.37809 15.68793 13.82382 14.35538 17.98777 23.04182 28.93957 35.35019 40.24317 45.11111 49.36546 32.97298 30.71647 28.33379 26.05874 24.11082 22.78206 22.5414 24.63694 27.23761 29.11796 29.3558 26.14401 21.07721 14.93531 10 11.90292 17.95105 24.3698 31.56591 38.57961 41.94305 45.3314 48.4441 30.7488 28.85694 26.57172 24.74104 23.43332 23.06161 24.12498 26.72139 29.61739 32.67209 34.75406 30.15795 24.05395 17.1722 11.34693 14.24127 19.49315 25.53657 31.70181 37.30975 40.9342 44.41704 46.96539 28.44763 26.64966 24.72873 23.1204 22.2715 22.86716 24.69584 27.72112 30.97969 34.55125 36.153 32.46363 27.15243 23.07671 20.06317 20.19642 23.2753 27.55187 31.61171 36.02699 39.3768 42.19183 45.03577 26.23428 24.40923 22.69918 21.3292 20.86414 21.40161 23.48524 26.79287 30.52532 33.13002 33.60129 32.15485 29.87109 28.53819 26.93571 25.09261 26.07926 28.6523 31.79542 34.89423 37.64101 40.14323 42.36334 23.88613 22.34889 20.56372 19.58776 18.97893 19.29634 21.104 24.08759 27.50338 30.29733 31.00423 30.58789 29.76613 29.61792 28.77972 27.82475 27.88813 29.42316 31.53934 33.89254 35.95994 38.05989 40.06131 21.54528 20.11794 18.50074 17.14279 16.24275 16.27321 17.60164 20.42473 24.232 27.29203 28.26501 28.46162 28.25007 27.98635 28.50163 28.30929 28.43887 29.5365 31.12037 32.55857 34.13376 35.83328 37.41133 19.36333 17.91022 16.21918 14.66654 13.30551 12.40954 12.8456 15.61564 20.48706 24.03701 25.79489 25.99759 25.54515 25.68946 26.95346 27.40268 27.67594 28.48889 29.58754 30.68494 32.01342 33.49141 35.11633 17.24625 15.90582 14.23758 12.56497 10.85908 2*10 11.51561 17.33651 21.81101 24.01379 24.03453 22.6498 22.79795 23.47453 24.21691 25.11851 26.21809 27.45834 28.68048 29.98163 31.41429 32.90346 15.53808 14.31476 12.59682 10.97867 3*10 10.07469 16.13982 21.28953 23.95059 23.65911 22.33523 20.80317 20.22265 20.67687 22.30539 23.854 25.32391 26.66068 27.9806 29.30634 30.6647 14.1643 13.27533 11.77586 10.54165 3*10 11.62537 16.67418 22.08804 25.47257 23.81246 21.56213 19.68041 18.13174 18.45636 20.08566 21.83233 23.49613 24.91533 26.25873 27.4344 28.54304 13.15686 12.24591 10.95952 10.06346 2*10 10.07632 12.90911 16.88836 21.20885 23.87744 22.54463 20.15178 18.09928 16.41289 16.8991 18.49334 20.2622 21.98851 23.43571 24.80748 26.01002 27.24593 12.09815 11.29398 10.54834 3*10 11.18287 13.42836 16.30239 19.11647 20.32367 19.83208 18.63688 16.98263 15.06357 15.77477 17.39444 19.14978 20.86697 22.49389 23.81927 25.14283 26.48668 11.20037 10.57781 10.00342 2*10 10.65549 11.77736 13.50963 15.57649 17.12802 17.77619 17.45511 16.90846 15.89789 15.35985 15.67336 16.9608 18.44921 20.13377 21.75477 23.20963 24.5303 25.87091 10.35984 3*10 10.11965 10.89805 11.91597 13.11172 14.57478 15.60831 16.1102 16.03778 15.75954 15.5062 15.52828 15.77883 16.88865 18.33203 19.83793 21.39122 22.84178 24.32896 25.4226 4*10 10.23793 10.82466 11.67845 12.65624 13.71554 14.4378 14.86265 14.96183 15.05139 15.19304 15.56623 15.94422 17.13875 18.41048 19.84021 21.29999 22.69565 24.07112 25.37204 4*10 10.03982 10.81256 11.50202 12.36421 13.02553 13.63127 14.0216 14.31807 14.45848 14.87845 15.51138 16.12835 17.29884 18.54801 19.93142 21.34895 22.75187 24.06371 25.34597 5*10 10.43874 11.18054 11.84556 12.40565 12.92288 13.38675 13.6751 14.16508 14.7595 15.49351 16.32598 17.52966 18.83284 20.22878 21.62877 22.97654 24.32285 25.36912 37.26092 33.81702 30.75051 27.47444 23.91318 20.13371 16.18496 12.49294 9*10 13.71773 18.19689 22.76447 27.36244 31.87403 36.09463 39.46547 36.19756 32.954 29.68512 26.30622 23.0769 19.55128 15.95275 11.65278 7*10 12.92618 16.34217 20.06802 24.41246 28.69769 33.30869 37.72094 41.64612 38.29392 35.06471 31.7584 28.7163 25.91372 22.71163 18.87202 16.23893 14.42335 14.03196 13.4396 13.55033 13.86283 14.76673 16.30127 18.06573 19.51643 22.41868 25.73874 30.29535 35.10464 39.35628 43.63537 40.20787 36.5211 33.26009 30.57933 28.3549 24.61654 22.03388 20.65616 20.55498 20.94365 21.28005 22.1264 23.21594 24.0677 23.64454 22.17433 22.62818 24.39695 27.3037 32.02924 36.84516 41.76437 45.35081 41.11733 37.0633 33.63784 30.9636 28.33662 25.66659 24.21653 24.45453 25.74741 27.40261 29.28189 30.21586 31.73429 32.86168 29.2073 26.56764 25.3381 25.5579 28.52088 33.61291 39.4395 44.77374 45.46326 40.88311 36.64558 32.8593 29.77442 26.50138 24.95501 25.49422 27.65049 30.7914 33.60465 35.26456 35.57553 36.52688 36.75344 32.12686 28.92484 27.39825 26.79413 30.17488 36.1315 42.01674 47.92736 43.45856 39.28666 35.27967 31.30401 27.46769 24.40651 22.89735 26.66249 31.16831 35.86629 39.1462 40.01243 38.91688 36.67648 34.83041 31.66066 30.10043 29.95735 31.42894 34.96297 39.00216 44.16397 48.83756 40.93526 37.38136 33.45502 29.46451 26.05946 23.53024 23.0454 27.73369 34.30652 40.52159 44.99475 44.27164 40.58484 35.91393 31.22064 29.68294 30.23127 31.69538 34.57844 38.67582 41.11052 44.30614 47.53263 38.43022 35.37531 31.62099 28.32421 25.52129 24.10899 25.05769 29.54918 36.01859 44.21202 51.51397 47.59338 41.2795 34.4697 29.71399 29.28591 30.0496 32.21461 35.19 38.55103 40.9559 43.44999 45.81139 36.01883 33.20087 30.07659 27.06897 24.84392 24.3874 25.68795 29.19648 35.70591 44.13818 50.3851 46.2547 39.7381 33.85044 29.8654 29.36327 30.6972 32.88374 35.01979 37.88652 39.84014 41.76593 43.74717 33.72629 31.10772 28.46313 26.01844 24.49991 23.67763 24.94198 27.97777 33.45974 39.34563 42.84702 41.56401 37.23979 32.19029 29.08815 28.87729 30.01434 31.96203 34.33942 36.5301 38.029 39.6312 41.30604 31.33251 29.23302 26.87575 25.35713 24.14725 23.31002 24.23144 25.92178 29.56549 34.09702 36.92138 36.82761 34.39779 31.05118 28.96192 28.78245 29.43855 30.99689 32.82739 34.6833 36.067 37.50228 38.92889 28.93297 27.26493 25.34306 23.79338 22.5183 22.14174 22.7409 24.24039 26.22231 30.00991 32.73075 32.94281 31.87249 30.03234 28.86787 28.24533 28.52625 29.7265 31.34915 32.6192 33.89356 35.23335 36.53273 26.652 25.10361 23.34244 21.91142 20.88393 20.25205 20.68724 22.10299 25.10366 28.06314 29.94593 30.52793 30.08516 28.63643 27.67883 27.14334 27.24208 28.08378 29.25779 30.42524 31.66444 32.93432 34.17967 24.14385 22.84114 21.23929 19.8912 18.87664 18.59814 18.83924 20.8995 23.65975 26.33065 28.17204 28.75356 28.42675 26.45766 24.79 24.12923 24.58545 25.55453 26.81404 28.07647 29.33854 30.65024 31.89433 21.76008 20.61925 19.00206 17.5615 16.44959 16.01165 16.63477 19.03242 21.94838 25.04156 26.94025 27.01135 26.01126 23.56349 21.25305 20.44338 21.64685 23.04982 24.47961 25.84276 27.14455 28.40583 29.59715 19.48113 18.47595 16.77889 15.31463 13.95477 13.17173 13.8314 16.7414 20.42449 24.14148 26.4245 25.41799 23.52771 21.23505 18.77353 18.24575 19.36434 20.90811 22.68748 24.014 25.31846 26.4562 27.45404 17.55352 16.37183 14.74897 13.34961 11.9784 10.70288 10.85335 14.54895 18.27908 21.73909 23.82609 22.91731 21.00942 18.83692 16.72775 16.65306 17.72499 19.25743 21.07487 22.40931 23.70926 24.84929 25.99624 15.55501 14.44055 13.21581 11.86782 10.89003 10.06477 10.69787 13.27879 16.26993 18.91276 20.14857 19.8808 18.75685 17.0496 15.04121 15.37729 16.6519 18.07763 19.79917 21.29715 22.53035 23.77468 24.97172 13.82403 12.86998 11.83991 10.90843 10.26536 10.18769 10.89288 12.61223 14.79652 16.51838 17.52529 17.34839 16.79929 15.70672 14.97917 15.01491 16.03657 17.34056 18.88549 20.38361 21.72867 22.92206 24.09795 12.26255 11.54718 10.88165 10.40065 10 10.1225 10.80479 12.10729 13.61526 14.9049 15.64617 15.64833 15.37696 15.01667 14.85791 14.88156 15.77981 17.08419 18.43208 19.84588 21.16526 22.49212 23.40574 10.87627 10.3942 3*10 10.00939 10.6405 11.51173 12.69915 13.62252 14.25082 14.42007 14.46787 14.48201 14.66968 14.83605 15.9329 17.02193 18.28815 19.59128 20.81836 22.02407 23.12476 6*10 10.3138 11.13533 11.96963 12.76375 13.30898 13.69248 13.74876 14.01799 14.44511 14.8511 15.93432 17.01963 18.23288 19.47678 20.70627 21.81078 22.87271 6*10 10.03682 10.69796 11.40647 12.07912 12.64814 13.00144 13.42916 13.86082 14.3423 14.9721 16.0646 17.20899 18.41852 19.61707 20.75442 21.88142 22.70566 26.78577 22.87798 18.5754 14.13467 10.03357 6*10 14.85895 21.2513 26.91351 30.58848 31.4712 31.92658 32.12877 33.42154 35.30967 37.59265 40.00063 42.30618 28.91283 24.13972 18.93972 13.54933 6*10 12.60372 18.37915 24.30151 29.69304 33.20183 33.34592 32.97143 32.43715 33.25821 34.94691 37.53379 40.39392 43.29671 31.73748 26.20028 19.86969 12.71132 5*10 12.57588 17.77116 23.23081 27.9977 31.90437 34.1427 34.25486 33.42037 31.91948 32.36871 34.27391 37.45262 41.16463 44.75349 35.44158 28.77459 21.34345 13.71264 4*10 12.83406 18.23255 23.38566 28.60891 32.14798 34.47575 35.57771 35.1278 32.09475 30.93138 30.84316 33.06413 37.40082 42.37871 46.8539 39.19164 31.83967 23.78451 16.35136 3*10 13.1833 17.73037 23.29617 29.04439 34.54579 36.73758 37.42031 37.37257 35.09842 32.94919 30.53451 28.71232 31.5683 37.98555 44.40089 49.8189 41.95862 34.29332 27.06226 20.18091 15.80264 14.83769 17.3208 20.06837 23.44698 28.90761 35.01596 39.27445 40.448 40.45623 39.22861 37.26176 34.85263 32.14207 28.68313 32.47966 40.49064 47.22077 53.36376 41.98862 35.45447 28.98947 23.38113 20.62696 21.52211 24.9535 25.56274 28.23832 34.1426 40.20869 43.66991 44.87411 43.46692 42.6141 39.94918 37.93816 36.72371 37.33511 41.23336 45.09063 49.65697 54.45688 40.93771 35.49919 29.74654 24.86514 22.24908 22.55659 24.61525 24.7386 29.01192 37.38192 45.58479 48.45056 48.38005 47.07685 45.091 42.68027 40.97781 40.8165 43.54086 48.10963 48.27142 50.45562 53.38893 39.88423 35.02212 29.57409 24.94644 21.25132 18.98672 17.29088 17.81431 24.05463 37.60148 51.45488 52.12863 50.27493 48.28431 46.64948 44.87936 42.72772 42.46757 43.68606 45.76165 47.32756 49.50378 51.67794 38.26117 33.58066 28.27806 23.86546 19.3336 15.38986 10.77378 10 14.81264 32.53685 47.82385 49.43967 48.79822 47.6904 46.09207 44.64655 43.64562 43.0992 41.9753 42.60238 45.17964 47.45378 49.60107 36.55794 31.99379 27.30528 22.65855 18.52719 13.81405 2*10 13.05112 27.05886 37.19379 41.67863 43.29009 44.37867 44.1497 42.29811 42.02312 42.21243 41.75252 41.59193 43.7123 45.69082 47.52352 34.62238 30.78701 26.5045 22.87884 19.17102 15.32312 12.89369 13.29867 19.51247 24.89099 28.60002 33.10811 36.51564 38.02561 38.40046 38.30803 39.78983 42.10944 43.70098 43.91172 43.99466 45.08278 46.26283 32.39636 29.30232 25.89974 22.76077 19.71484 17.27734 16.11353 17.51353 22.91436 18.96189 18.58173 25.30325 30.29774 31.69152 31.09673 32.55772 36.67022 41.70504 46.29166 45.21599 44.6931 44.65945 45.50397 30.13667 27.68035 24.8351 22.38517 20.4709 18.38819 17.28567 16.73617 14.45792 2*10 20.80044 28.00342 28.44341 25.08779 26.84212 32.68764 38.63961 43.25327 43.96613 43.86451 44.02678 44.57895 27.78032 25.98152 23.66562 21.88871 20.26918 19.90858 18.25245 16.48329 13.31814 10 12.83296 21.24272 29.46945 27.69561 24.59915 25.07211 29.56166 34.77066 38.75308 40.88429 41.9808 42.70152 43.41924 25.53066 24.30308 22.53211 20.87466 19.53091 19.25687 18.72382 17.70857 15.7547 15.92315 18.82646 22.90417 26.70028 25.98208 23.63822 23.7054 27.6177 31.75828 35.31243 37.97715 39.68414 40.92914 41.87397 23.38879 22.58896 21.02074 19.68425 18.63303 18.05569 18.24959 18.13131 18.93613 21.4186 24.40608 24.84222 24.92024 24.20513 22.96077 23.50089 26.21135 29.65757 33.23679 35.58085 37.53997 39.05254 40.32728 21.66086 20.75437 19.51448 18.51303 17.72673 17.3261 17.46595 18.49181 19.93556 22.3248 24.52016 24.07133 23.11177 22.60605 22.25663 23.25648 25.31824 28.23479 31.52666 33.81511 35.92278 37.66305 39.18 19.59426 18.88388 18.12608 17.28586 16.92601 16.65821 17.01809 17.77906 18.9808 20.42591 20.87874 20.83898 21.37128 21.53572 21.221 22.65231 24.92656 27.25706 30.21031 32.69414 34.75323 36.55213 38.31862 17.61734 17.08234 16.5581 16.10484 15.82729 15.8914 16.18338 16.81101 17.62904 18.17578 17.99902 18.07942 19.06458 19.77741 20.81215 22.15287 24.23348 26.60596 29.21856 31.71027 33.88565 35.76039 37.58025 15.7302 15.36256 15.10493 14.89494 14.70608 14.87375 15.1654 15.61814 16.05831 16.35756 16.59407 17.01138 17.83271 18.97295 20.36641 21.73901 23.81599 26.19002 28.56965 31.0215 33.24324 35.37924 36.98205 13.92342 13.69974 13.61467 13.54839 13.60325 13.78804 14.09584 14.47863 14.78214 15.11421 15.46361 16.04764 17.00187 18.28448 19.87434 21.37896 23.6571 25.88995 28.2711 30.64285 32.85588 34.91187 36.80074 12.17672 12.13979 12.12587 12.32072 12.44683 12.7651 13.03068 13.39118 13.68707 14.23185 14.67443 15.32238 16.20254 17.59948 19.32784 21.05171 23.31961 25.59928 27.9845 30.35402 32.62403 34.66613 36.58492 10.48471 10.54863 10.81153 11.00286 11.25903 11.61432 12.00482 12.39883 12.7689 13.24875 13.87603 14.52113 15.64928 17.09776 18.8235 20.75858 22.99972 25.37902 27.83121 30.2372 32.50579 34.63953 36.34409 50.28269 50.60425 50.82726 51.09893 51.44468 52.02129 52.77707 54.28493 55.76146 57.24226 54.14917 46.09889 37.21888 27.61391 20.35491 19.32769 18.40743 17.27707 16.59324 16.9192 19.94379 23.90134 27.5686 49.05484 49.14237 49.25928 49.43091 49.80629 50.81906 51.9062 53.25858 54.34503 54.7158 51.96226 46.04153 38.15386 28.90875 21.57228 19.58691 17.4628 15.16728 14.03251 15.08117 18.31717 23.15635 28.4108 47.70484 47.62676 47.46169 47.53606 47.75777 48.79207 49.8672 50.90905 52.01292 52.24435 50.4018 46.64482 41.08874 34.69825 28.13718 23.23834 18.48315 13.49634 11.71884 13.03604 17.84032 24.28811 31.35444 46.39522 45.99951 45.48199 45.26661 45.35831 46.0582 46.83131 48.04477 49.37484 49.98632 49.85923 48.2431 45.11558 41.19858 35.2728 28.30103 19.52604 12.69197 10 10.8841 18.02713 27.57035 35.55331 44.98773 44.26252 43.25686 42.72224 42.48505 42.45028 42.85828 44.7275 46.54496 48.18874 49.67381 50.4006 49.17427 47.37149 43.17376 32.97255 22.75173 13.0372 2*10 20.64328 32.19551 41.78215 43.23797 42.22832 41.31551 39.99319 39.25842 38.54652 38.99236 40.87857 43.56363 46.64469 49.26986 50.95433 50.46123 49.97785 47.67019 38.00824 28.0436 18.12374 10 12.18452 27.25952 39.06316 49.52837 41.20459 40.20404 38.82625 37.36136 35.97281 34.85254 34.72905 38.19109 41.94838 45.8227 48.67258 50.5269 50.67723 49.02715 46.26022 40.07487 33.48307 28.44083 27.46787 33.63842 39.28356 46.72913 53.90957 38.88017 37.85257 36.58535 35.11771 33.89594 32.90822 33.13733 36.91073 41.03891 44.89967 48.46175 49.9875 49.70462 48.11654 45.05354 41.42049 38.36393 37.75304 42.78469 51.39618 49.12589 50.82279 54.29242 36.65985 35.66724 34.3339 33.16248 32.20284 32.09608 33.52307 36.70847 40.72481 44.90015 48.70047 49.30393 48.574 47.33359 44.93029 43.11895 41.30828 41.74262 44.67677 48.34616 49.41386 51.00029 52.93327 34.66173 33.66249 32.54305 31.29271 30.60656 31.12355 32.94809 36.22115 39.5757 43.453 46.7194 47.11477 47.08594 46.41856 44.79512 43.25648 42.64328 42.84563 42.50851 43.70105 46.42488 48.31273 50.13999 32.80193 31.76271 30.69034 29.69978 29.21008 29.34669 30.90245 33.59862 36.58675 39.83383 42.57759 43.87042 44.08265 44.40239 43.59295 41.59586 41.50682 42.01069 41.65138 41.42603 43.30647 44.85778 46.6176 30.94475 30.07296 28.94398 28.21211 27.76056 27.46801 28.3737 29.60399 31.59041 35.40582 39.0907 40.44389 40.24737 39.84317 38.14822 37.49242 39.11035 41.73742 43.39827 43.42791 42.81942 43.23956 43.75973 29.27317 28.43766 27.31889 26.34673 25.4698 25.25716 25.71733 26.74008 27.78386 33.37335 37.49975 38.11058 36.72186 33.93901 31.11752 31.53141 35.7518 41.19098 46.14569 44.17746 42.67629 41.73292 41.81363 27.74879 26.80034 25.66667 24.54811 23.51745 22.92141 23.22617 24.91485 28.92932 35.55726 37.46885 36.04612 33.53305 29.54735 24.56845 26.41113 32.52903 38.20915 42.22488 41.82964 40.6341 39.86284 39.5479 26.14622 25.26163 24.0667 22.96002 21.95884 21.22289 20.92695 23.61806 28.99369 33.83228 35.73075 34.17309 31.11522 27.25224 24.82142 26.05034 29.43297 33.31147 36.13594 37.08405 37.13681 36.98544 37.00571 24.63279 23.82022 22.56461 21.41303 20.44856 19.68814 19.64349 22.92249 27.72231 32.11918 33.71918 31.26345 27.24486 24.11021 24.12206 25.21418 25.90139 28.13375 30.47503 32.11124 32.87276 33.37719 33.74136 23.06732 22.3161 21.07543 19.99969 19.04314 18.6074 18.9925 21.8264 25.81482 30.33761 32.29109 26.359 21.51542 18.63899 17.79297 18.97855 20.29229 22.58637 25.4965 27.2471 28.49701 29.47525 30.32024 21.72992 20.78489 19.59255 18.55066 17.68977 17.27437 17.77911 19.29348 21.53515 23.84236 23.47456 17.80105 13.46817 10.32588 10 10.39799 13.664 16.96582 20.44665 22.71086 24.47685 25.95638 27.32974 20.25568 19.27159 18.30459 17.13683 16.2606 15.57071 15.84283 16.19705 16.2755 15.08481 11.02641 6*10 12.11897 15.93174 18.80822 20.9645 22.92749 24.67319 18.87565 17.87576 16.95923 15.83872 14.78666 14.49248 13.80904 13.05946 11.68611 9*10 12.35718 15.52287 18.10311 20.25905 22.23166 17.55028 16.55841 15.78808 14.85659 13.56184 12.96574 11.89388 10.4404 11*10 13.0732 15.79082 18.29691 20.09583 16.36163 15.38295 14.67972 13.72153 12.7429 11.61907 10.29361 12*10 11.34242 14.03147 16.44762 18.61482 15.32425 14.60267 13.69143 12.96973 11.85358 10.78806 13*10 10.14546 12.91868 15.16891 17.38299 14.45132 13.73178 13.17793 12.26464 11.19252 10.07253 13*10 10.0165 12.12266 14.35186 16.1681 8*10 12.86372 16.2551 16.23888 12.57212 4*10 15.8372 22.48809 28.26445 33.34769 37.39904 40.85456 43.83982 7*10 10.78192 14.64556 17.80016 18.24445 16.36727 12.92437 2*10 13.97481 20.97585 27.29409 32.56467 37.25743 40.73601 43.87772 46.45391 7*10 12.05064 16.81017 20.25082 21.56242 21.44044 20.35285 18.84906 19.89248 23.8276 28.72019 33.55494 37.9787 41.23263 44.42299 46.98363 48.60721 7*10 14.46982 19.85723 23.21317 25.89457 27.4513 28.70587 29.90567 31.94527 34.07003 36.94404 40.28525 43.71831 46.15998 48.4144 49.73436 51.24513 6*10 11.58303 18.42523 23.89852 27.62894 30.70862 33.27868 35.73853 39.59111 43.20539 43.07987 43.84282 46.20511 49.33136 51.13557 51.84351 52.93479 53.89962 5*10 12.34787 17.98623 23.42931 28.34255 32.5297 35.68102 37.87731 40.75653 44.89782 48.67462 47.06465 47.21785 49.5365 53.3179 55.05379 54.81872 55.29103 56.08327 4*10 13.373 18.68966 24.88097 29.01432 32.81932 36.70702 39.78706 41.23363 43.15364 44.74081 46.06335 46.14512 47.31506 49.60416 53.33527 55.82071 55.44957 55.45617 55.7961 2*10 10.15563 12.98969 17.27381 22.78839 28.73385 32.45785 36.05285 39.6324 43.15239 43.80486 44.08266 43.41279 41.98714 42.64922 44.59292 46.9164 50.02885 53.13319 52.69458 52.92992 53.46241 10 10.20089 12.59265 15.6335 19.48343 24.27725 29.30333 33.5682 37.5935 41.76038 45.87019 45.68127 44.71452 42.46296 40.55927 40.80487 42.0245 42.67112 43.34791 44.69885 46.55623 49.20021 50.73703 10.03102 11.92179 14.11181 17.1863 20.47661 24.46514 28.77966 33.23505 36.84755 40.41866 44.5869 44.97277 44.16852 43.59345 41.97326 40.41145 39.51982 38.48693 36.67548 36.41624 41.17197 45.05055 48.36142 11.44968 13.22501 15.391 17.90469 20.66381 23.22267 26.14805 29.5467 32.48864 36.26541 39.98061 42.19896 42.99957 43.89854 42.62597 39.15599 37.77873 36.84328 34.68596 34.32148 39.31831 43.50043 46.54834 12.39329 14.31374 16.24746 18.17334 20.80027 22.42321 24.14353 24.95679 25.64231 30.46629 36.34248 39.095 39.63423 38.86854 37.36928 35.77697 36.59893 38.24337 39.17164 39.61523 41.01468 43.7157 46.30019 12.83181 14.6056 16.46313 18.44869 20.23127 22.02833 23.20665 23.26577 21.57171 29.18271 36.15027 36.38806 35.13449 32.85997 30.07174 30.93586 35.38315 40.62199 45.25345 44.15097 44.0009 44.73489 46.31424 12.86098 14.64615 16.68644 18.72026 20.49384 22.13642 23.75836 25.18785 28.26431 36.75394 38.41135 35.74506 32.51358 29.17575 24.75056 27.81174 35.10085 41.27399 45.59308 45.83985 45.52033 45.717 46.61538 12.88881 14.50887 16.69623 18.69768 21.04871 23.26837 25.70971 28.40403 32.13905 36.82905 38.34209 35.93556 31.8391 29.83823 28.89319 31.37443 36.16451 41.07606 44.34417 45.60317 46.11364 46.34549 46.88162 12.96186 14.40618 16.47681 18.79507 21.30791 23.79415 26.94299 30.36422 33.30337 36.78279 38.38277 37.01602 34.62926 33.63645 34.71572 36.63726 39.26509 41.91959 44.04036 45.35863 45.9852 46.34662 46.70806 13.16706 14.68641 16.36172 18.47202 21.16866 23.84189 26.69615 30.06958 33.65956 37.30333 39.39292 37.72996 36.89328 37.48133 38.84535 40.67157 41.72115 43.1109 44.4847 45.07936 45.66635 45.98493 46.35316 13.25018 14.79495 16.35183 18.28635 20.45864 22.93772 25.74226 28.60679 31.76481 34.94207 36.94787 36.57502 37.42896 39.50165 41.88638 43.30534 43.44474 44.06256 44.86204 45.10269 45.63931 46.01441 46.36621 13.28566 14.69313 16.33798 17.89505 19.7681 21.93346 24.36469 26.76443 29.21996 31.15054 32.27022 33.30336 36.06409 39.52475 43.59724 44.25698 44.36009 44.46408 44.97118 45.43533 45.70944 45.94566 46.61349 13.26048 14.52472 15.85361 17.23435 18.85819 20.77713 22.77208 24.77508 26.56632 28.07423 28.73019 30.61798 34.47224 38.15875 41.36177 42.91972 43.67045 44.23652 44.74557 45.25097 45.64543 46.13809 46.78179 12.99922 14.12594 15.19766 16.58739 17.76556 19.41938 21.13516 22.77283 24.32205 25.66301 27.14034 29.57935 32.75828 36.19028 39.17215 41.10762 42.54107 43.54451 44.13587 44.92474 45.70686 46.42991 46.87885 12.61466 13.58743 14.41091 15.51482 16.6548 17.92399 19.4387 21.09792 22.45421 24.02431 25.78234 28.22955 31.16994 34.29908 37.19307 39.36506 41.25339 42.61851 43.76892 44.77892 45.61692 46.45269 47.15826 12.11806 12.7339 13.55482 14.35407 15.48822 16.76051 17.96514 19.39275 20.86757 22.74388 24.60807 26.85539 29.53041 32.49897 35.3866 37.78336 39.87653 41.58928 43.08628 44.39804 45.46832 46.38274 47.15467 11.51843 11.98148 12.46623 13.26932 14.28289 15.39692 16.66966 18.03739 19.49584 21.25659 23.24616 25.42315 28.0179 30.83055 33.69468 36.29792 38.26717 40.23208 42.06846 43.74316 45.20959 46.29494 47.09802 13.45783 14.52078 16.29164 18.01783 18.98754 18.19339 15.82882 13.36304 8*10 15.63838 22.04994 27.47649 31.84415 34.27064 35.73948 36.82675 13.23855 15.56712 18.39869 21.50295 24.23383 24.50089 22.53152 18.95968 13.76986 6*10 15.11311 22.35033 28.59455 33.36606 36.92397 38.45307 39.27724 39.49701 12.18167 15.24386 19.65112 24.76906 29.26626 30.77054 28.25912 22.97039 19.13138 16.42801 15.1088 14.25484 15.69452 17.83087 21.43972 26.38564 31.66038 36.61714 40.30983 41.93441 42.73013 42.47402 41.02816 10 14.15379 19.35427 25.44478 32.73266 37.15516 30.89021 25.83936 23.04655 21.27667 21.60571 22.09688 25.3838 29.7304 34.28046 37.32525 40.88271 44.45395 47.35974 47.95446 47.16324 44.55702 42.80401 10 11.61379 17.10929 22.82999 29.21061 32.39628 27.61974 24.84472 24.67057 25.30637 26.94635 29.36877 33.49971 39.93228 46.01193 46.41812 47.64625 50.76622 54.28892 54.01275 50.37146 47.06891 44.07656 2*10 12.98806 17.35564 20.36181 19.68186 18.2198 20.03578 24.23639 28.3067 31.4692 34.61647 38.34635 44.17193 49.63683 48.00415 48.91018 52.66286 58.25747 57.85225 52.7284 48.43909 44.5652 3*10 11.50152 11.23972 2*10 15.05279 23.9987 30.73863 35.29683 38.21223 39.58563 40.7655 42.03162 42.98539 45.78962 49.65931 54.29121 55.31099 51.78347 47.84661 44.17669 7*10 15.0034 26.2045 34.17953 39.37024 40.60139 38.82396 35.77428 32.33145 34.63384 39.23683 43.58972 47.31632 49.52465 47.54553 45.16966 42.94225 6*10 11.91855 20.98312 30.3254 38.08656 44.3249 42.37537 37.97271 31.69221 27.49054 29.51408 34.04691 36.99071 38.7667 40.10177 40.92057 41.75912 41.35893 5*10 10.83644 17.31049 27.28397 34.70118 40.26665 44.62752 42.14643 36.05452 31.37847 28.14533 28.57327 30.49913 31.73686 31.56833 31.70417 35.8517 38.50453 40.21155 5*10 12.63264 18.62087 26.75376 32.57798 36.33365 40.31292 40.12508 36.82054 32.08265 28.68202 28.91472 30.31195 31.39046 30.41676 30.50117 35.22774 38.4848 40.02784 4*10 10.1172 11.84611 15.5364 20.46329 24.06458 30.87289 36.95015 38.52362 36.53549 32.81203 30.08478 30.09777 31.93618 34.92791 36.66543 36.93201 38.12614 40.07342 41.78329 5*10 10.67491 12.29836 14.89313 17.22807 27.90027 36.40659 37.69953 36.69311 33.52845 30.5255 29.91076 32.68773 38.52034 44.7229 42.42773 41.67961 42.457 43.3632 2*10 10.02391 10.6165 10.79056 2*10 12.28374 18.52448 31.55651 36.1563 37.08974 37.33917 32.52103 27.50247 26.0794 29.51487 36.60905 43.1834 44.29294 44.22697 44.56449 45.71099 10.37488 11.10881 11.79364 12.53337 12.27608 10.10368 2*10 15.05489 22.31861 27.51259 31.60379 36.49918 27.86511 18.78906 16.63348 22.93681 31.83876 38.81455 42.9159 44.79709 46.26857 47.69064 12.24641 13.16424 14.26039 15.12888 15.23219 13.21444 10.022 10 11.24409 12.95403 16.38146 22.7335 26.61362 21.60406 2*10 18.89332 28.92702 36.55387 41.94051 45.31334 47.63265 49.4008 14.18353 15.47684 17.42331 19.11122 19.50453 19.94684 18.22136 14.59518 11.40817 2*10 16.7553 23.42206 22.98756 16.69161 15.7928 22.90058 30.79878 37.9076 42.33826 46.02901 48.7689 51.17245 15.84369 17.49094 19.72803 21.93621 24.26505 26.69876 26.67052 20.58396 15.65691 11.05863 11.22914 21.11059 28.05054 31.50603 32.65856 31.84117 32.22985 36.04685 41.08806 44.66816 48.17843 50.94102 53.16051 17.19603 19.03132 21.18178 23.82963 26.60107 29.0897 28.83469 25.27287 22.4751 21.60122 26.15986 32.88272 36.66285 40.92595 46.7026 43.69755 41.72054 42.04987 45.07091 47.99068 50.87525 53.16269 55.32651 18.08232 19.98791 22.08033 24.74175 27.33184 28.67835 29.42182 29.03026 28.29218 29.84131 35.9227 41.54703 43.34705 45.85002 48.4755 48.13694 46.9908 47.05172 48.70303 51.06904 53.49039 55.44665 57.46271 18.48802 20.36588 22.23605 24.31308 27.08139 28.44848 29.73034 30.57454 31.63439 33.97081 37.97845 42.29519 44.73409 47.12476 49.07826 49.65656 49.79601 50.16783 51.62725 53.64058 55.54428 57.57984 59.46624 18.42318 20.22672 21.937 23.9459 26.00187 27.73917 29.40715 31.15841 32.4495 34.89612 37.88183 41.28832 44.15192 46.66447 48.77855 50.09473 50.72727 52.0394 53.6983 55.6224 57.61611 59.46309 61.35976 17.94484 19.43528 21.17365 22.70739 24.78506 26.52159 28.60475 30.30531 32.0012 33.87194 36.73527 39.29688 42.55082 45.26396 47.74557 49.76705 51.16478 53.02223 55.01752 57.11503 58.90728 61.04329 62.92547 17.10144 18.42705 19.56284 21.28111 23.18564 25.02746 27.10244 28.8609 30.38591 32.47724 35.00045 37.38144 39.92416 42.68838 45.73133 48.65942 49.82521 52.00508 54.54773 57.29947 60.01513 62.37294 64.29894 / PERMY 28.46475 26.0489 23.92494 21.56025 18.9007 16.06549 12.95938 11*10 14.4079 19.63223 25.3539 31.30118 37.08924 30.58815 28.35372 26.08888 23.69568 21.15849 18.3357 15.11632 11.60012 10*10 11.93604 17.7311 24.11961 30.8744 37.39278 32.71802 30.53498 28.29243 25.9491 23.57183 20.88554 17.54641 13.58125 10.07638 10*10 15.45504 22.72255 30.5534 38.14525 34.73024 32.52114 30.09408 27.80673 25.6969 23.47845 19.56349 15.92461 12.67936 10.24014 9*10 12.70038 21.11979 30.63981 39.42607 36.39785 33.60525 31.07339 28.77392 26.7648 24.38379 21.17523 17.87334 15.21554 12.97008 10.42701 9*10 19.42051 30.77535 41.47674 36.69354 33.73072 31.04131 28.84596 26.66185 23.99103 21.594 19.51848 17.68766 15.81589 13.45986 10.58405 8*10 17.58384 30.50139 43.71768 35.20016 32.74248 30.39788 28.25708 25.86429 23.55674 21.5179 21.14222 20.3447 18.865 16.54854 13.35958 8*10 15.99125 28.77846 41.25793 33.03378 31.19117 29.20101 27.28168 25.39437 23.74302 22.68619 23.04012 23.13242 22.15721 19.90223 16.03453 11.55475 7*10 14.90137 25.7634 35.79701 30.64297 29.2229 27.50793 26.03699 24.90567 24.30367 24.70232 25.64886 25.73187 24.90381 23.37716 18.00316 12.35342 7*10 14.60868 22.97743 31.1174 28.10005 26.90451 25.55456 24.38146 23.80944 24.16803 25.42447 27.65481 27.52925 26.08801 23.66806 17.88428 11.08499 7*10 13.92915 20.6779 27.30363 25.58286 24.40105 23.25083 22.33542 22.09076 22.01524 23.14014 25.24076 25.57512 23.8312 21.13189 16.5232 10.58808 7*10 12.23184 17.81182 23.97103 22.8509 21.80544 20.67109 20.09919 19.56218 19.26563 19.64501 19.74469 19.60194 20.2065 19.26055 15.54079 11.13389 7*10 10.40017 15.29705 20.43135 20.0718 19.1228 18.02761 17.09128 16.25332 15.70648 15.57188 15.61897 15.2358 19.07458 19.15395 14.45865 11.32387 12.42771 16.93627 16.38473 10.76637 4*10 12.84841 17.41876 17.43285 16.29006 15.12662 14.01179 12.94464 12.22822 11.94774 12.6392 16.00992 22.22754 18.73478 11.60441 10 11.74803 22.17462 21.00858 12.60685 4*10 10.66389 14.64439 14.69752 13.49467 12.29257 11.13978 4*10 11.91951 14.51515 12.13196 3*10 11.97079 12.79987 6*10 12.5344 12.33372 11.03975 20*10 10.82714 10.31159 55*10 11.13274 14.00235 13.93617 14.11033 15.12889 13.10567 11.34642 10.59081 4*10 10.51462 9*10 10.50979 15.17789 18.2625 17.65893 17.04216 16.58825 15.30694 13.76124 12.31428 11.44693 11.0279 10.91804 11.05144 11.54655 9*10 11.86019 15.25072 17.68303 18.06653 17.88403 17.38128 16.33741 15.17455 13.91338 13.11901 12.57379 12.26807 12.37606 12.56127 9*10 12.08778 14.66723 16.62946 17.58684 17.85469 17.6729 16.98355 15.80839 15.09393 14.43208 13.892 13.52609 13.48286 13.66514 9*10 11.49214 13.7691 15.44686 16.78016 17.40434 17.61724 17.34396 16.53864 16.00951 15.50163 15.05923 14.58646 14.57267 14.65679 9*10 11.06449 12.93238 14.45701 15.56219 16.40782 17.11548 17.30843 16.59088 16.19255 15.93338 15.7989 15.76175 15.77118 15.72776 28.42131 25.99351 23.86019 21.50438 18.85966 15.99893 12.91844 8*10 11.87475 15.83306 19.49683 23.338 27.16259 30.79497 34.37266 37.77029 30.51501 28.25076 25.97688 23.61515 21.10217 18.42957 15.43718 12.23513 7*10 12.90705 16.60855 20.08039 23.78329 27.9271 31.8905 35.82655 39.39055 32.6126 30.34343 28.09532 25.72754 23.47142 21.04239 18.12601 14.52357 11.73453 4*10 10.70689 12.97852 15.39546 18.19263 20.79254 24.54715 28.51475 32.9867 37.34222 41.13786 34.56702 32.23918 29.74942 27.47811 25.49433 23.60603 20.14146 17.2602 15.06488 14.12648 13.3105 12.67189 13.00242 13.89452 15.84982 17.38164 18.51415 21.31884 24.99229 29.19399 34.21766 39.03736 43.30742 36.1895 33.26605 30.61304 28.30838 26.45477 24.38823 21.86053 19.48816 18.19024 17.67255 17.02874 16.53704 16.08589 16.49156 17.87389 17.84895 19.26193 21.70638 24.8992 29.74608 35.58998 41.15869 45.87885 36.49318 33.33247 30.4988 28.19283 26.17569 23.79423 22.20452 21.39769 21.2021 21.21262 20.82823 19.57607 17.8651 17.04738 17.097 16.68218 18.44329 21.67629 25.23929 31.04246 37.64369 43.30518 48.50212 35.02998 32.25602 29.68525 27.34537 24.95488 23.03598 21.82886 23.06032 24.26625 24.98368 24.77157 22.58068 19.37809 15.68793 13.82382 14.35538 17.98777 23.04182 28.93957 35.35019 40.24317 45.11111 49.36546 32.97298 30.71647 28.33379 26.05874 24.11082 22.78206 22.5414 24.63694 27.23761 29.11796 29.3558 26.14401 21.07721 14.93531 10 11.90292 17.95105 24.3698 31.56591 38.57961 41.94305 45.3314 48.4441 30.7488 28.85694 26.57172 24.74104 23.43332 23.06161 24.12498 26.72139 29.61739 32.67209 34.75406 30.15795 24.05395 17.1722 11.34693 14.24127 19.49315 25.53657 31.70181 37.30975 40.9342 44.41704 46.96539 28.44763 26.64966 24.72873 23.1204 22.2715 22.86716 24.69584 27.72112 30.97969 34.55125 36.153 32.46363 27.15243 23.07671 20.06317 20.19642 23.2753 27.55187 31.61171 36.02699 39.3768 42.19183 45.03577 26.23428 24.40923 22.69918 21.3292 20.86414 21.40161 23.48524 26.79287 30.52532 33.13002 33.60129 32.15485 29.87109 28.53819 26.93571 25.09261 26.07926 28.6523 31.79542 34.89423 37.64101 40.14323 42.36334 23.88613 22.34889 20.56372 19.58776 18.97893 19.29634 21.104 24.08759 27.50338 30.29733 31.00423 30.58789 29.76613 29.61792 28.77972 27.82475 27.88813 29.42316 31.53934 33.89254 35.95994 38.05989 40.06131 21.54528 20.11794 18.50074 17.14279 16.24275 16.27321 17.60164 20.42473 24.232 27.29203 28.26501 28.46162 28.25007 27.98635 28.50163 28.30929 28.43887 29.5365 31.12037 32.55857 34.13376 35.83328 37.41133 19.36333 17.91022 16.21918 14.66654 13.30551 12.40954 12.8456 15.61564 20.48706 24.03701 25.79489 25.99759 25.54515 25.68946 26.95346 27.40268 27.67594 28.48889 29.58754 30.68494 32.01342 33.49141 35.11633 17.24625 15.90582 14.23758 12.56497 10.85908 2*10 11.51561 17.33651 21.81101 24.01379 24.03453 22.6498 22.79795 23.47453 24.21691 25.11851 26.21809 27.45834 28.68048 29.98163 31.41429 32.90346 15.53808 14.31476 12.59682 10.97867 3*10 10.07469 16.13982 21.28953 23.95059 23.65911 22.33523 20.80317 20.22265 20.67687 22.30539 23.854 25.32391 26.66068 27.9806 29.30634 30.6647 14.1643 13.27533 11.77586 10.54165 3*10 11.62537 16.67418 22.08804 25.47257 23.81246 21.56213 19.68041 18.13174 18.45636 20.08566 21.83233 23.49613 24.91533 26.25873 27.4344 28.54304 13.15686 12.24591 10.95952 10.06346 2*10 10.07632 12.90911 16.88836 21.20885 23.87744 22.54463 20.15178 18.09928 16.41289 16.8991 18.49334 20.2622 21.98851 23.43571 24.80748 26.01002 27.24593 12.09815 11.29398 10.54834 3*10 11.18287 13.42836 16.30239 19.11647 20.32367 19.83208 18.63688 16.98263 15.06357 15.77477 17.39444 19.14978 20.86697 22.49389 23.81927 25.14283 26.48668 11.20037 10.57781 10.00342 2*10 10.65549 11.77736 13.50963 15.57649 17.12802 17.77619 17.45511 16.90846 15.89789 15.35985 15.67336 16.9608 18.44921 20.13377 21.75477 23.20963 24.5303 25.87091 10.35984 3*10 10.11965 10.89805 11.91597 13.11172 14.57478 15.60831 16.1102 16.03778 15.75954 15.5062 15.52828 15.77883 16.88865 18.33203 19.83793 21.39122 22.84178 24.32896 25.4226 4*10 10.23793 10.82466 11.67845 12.65624 13.71554 14.4378 14.86265 14.96183 15.05139 15.19304 15.56623 15.94422 17.13875 18.41048 19.84021 21.29999 22.69565 24.07112 25.37204 4*10 10.03982 10.81256 11.50202 12.36421 13.02553 13.63127 14.0216 14.31807 14.45848 14.87845 15.51138 16.12835 17.29884 18.54801 19.93142 21.34895 22.75187 24.06371 25.34597 5*10 10.43874 11.18054 11.84556 12.40565 12.92288 13.38675 13.6751 14.16508 14.7595 15.49351 16.32598 17.52966 18.83284 20.22878 21.62877 22.97654 24.32285 25.36912 37.26092 33.81702 30.75051 27.47444 23.91318 20.13371 16.18496 12.49294 9*10 13.71773 18.19689 22.76447 27.36244 31.87403 36.09463 39.46547 36.19756 32.954 29.68512 26.30622 23.0769 19.55128 15.95275 11.65278 7*10 12.92618 16.34217 20.06802 24.41246 28.69769 33.30869 37.72094 41.64612 38.29392 35.06471 31.7584 28.7163 25.91372 22.71163 18.87202 16.23893 14.42335 14.03196 13.4396 13.55033 13.86283 14.76673 16.30127 18.06573 19.51643 22.41868 25.73874 30.29535 35.10464 39.35628 43.63537 40.20787 36.5211 33.26009 30.57933 28.3549 24.61654 22.03388 20.65616 20.55498 20.94365 21.28005 22.1264 23.21594 24.0677 23.64454 22.17433 22.62818 24.39695 27.3037 32.02924 36.84516 41.76437 45.35081 41.11733 37.0633 33.63784 30.9636 28.33662 25.66659 24.21653 24.45453 25.74741 27.40261 29.28189 30.21586 31.73429 32.86168 29.2073 26.56764 25.3381 25.5579 28.52088 33.61291 39.4395 44.77374 45.46326 40.88311 36.64558 32.8593 29.77442 26.50138 24.95501 25.49422 27.65049 30.7914 33.60465 35.26456 35.57553 36.52688 36.75344 32.12686 28.92484 27.39825 26.79413 30.17488 36.1315 42.01674 47.92736 43.45856 39.28666 35.27967 31.30401 27.46769 24.40651 22.89735 26.66249 31.16831 35.86629 39.1462 40.01243 38.91688 36.67648 34.83041 31.66066 30.10043 29.95735 31.42894 34.96297 39.00216 44.16397 48.83756 40.93526 37.38136 33.45502 29.46451 26.05946 23.53024 23.0454 27.73369 34.30652 40.52159 44.99475 44.27164 40.58484 35.91393 31.22064 29.68294 30.23127 31.69538 34.57844 38.67582 41.11052 44.30614 47.53263 38.43022 35.37531 31.62099 28.32421 25.52129 24.10899 25.05769 29.54918 36.01859 44.21202 51.51397 47.59338 41.2795 34.4697 29.71399 29.28591 30.0496 32.21461 35.19 38.55103 40.9559 43.44999 45.81139 36.01883 33.20087 30.07659 27.06897 24.84392 24.3874 25.68795 29.19648 35.70591 44.13818 50.3851 46.2547 39.7381 33.85044 29.8654 29.36327 30.6972 32.88374 35.01979 37.88652 39.84014 41.76593 43.74717 33.72629 31.10772 28.46313 26.01844 24.49991 23.67763 24.94198 27.97777 33.45974 39.34563 42.84702 41.56401 37.23979 32.19029 29.08815 28.87729 30.01434 31.96203 34.33942 36.5301 38.029 39.6312 41.30604 31.33251 29.23302 26.87575 25.35713 24.14725 23.31002 24.23144 25.92178 29.56549 34.09702 36.92138 36.82761 34.39779 31.05118 28.96192 28.78245 29.43855 30.99689 32.82739 34.6833 36.067 37.50228 38.92889 28.93297 27.26493 25.34306 23.79338 22.5183 22.14174 22.7409 24.24039 26.22231 30.00991 32.73075 32.94281 31.87249 30.03234 28.86787 28.24533 28.52625 29.7265 31.34915 32.6192 33.89356 35.23335 36.53273 26.652 25.10361 23.34244 21.91142 20.88393 20.25205 20.68724 22.10299 25.10366 28.06314 29.94593 30.52793 30.08516 28.63643 27.67883 27.14334 27.24208 28.08378 29.25779 30.42524 31.66444 32.93432 34.17967 24.14385 22.84114 21.23929 19.8912 18.87664 18.59814 18.83924 20.8995 23.65975 26.33065 28.17204 28.75356 28.42675 26.45766 24.79 24.12923 24.58545 25.55453 26.81404 28.07647 29.33854 30.65024 31.89433 21.76008 20.61925 19.00206 17.5615 16.44959 16.01165 16.63477 19.03242 21.94838 25.04156 26.94025 27.01135 26.01126 23.56349 21.25305 20.44338 21.64685 23.04982 24.47961 25.84276 27.14455 28.40583 29.59715 19.48113 18.47595 16.77889 15.31463 13.95477 13.17173 13.8314 16.7414 20.42449 24.14148 26.4245 25.41799 23.52771 21.23505 18.77353 18.24575 19.36434 20.90811 22.68748 24.014 25.31846 26.4562 27.45404 17.55352 16.37183 14.74897 13.34961 11.9784 10.70288 10.85335 14.54895 18.27908 21.73909 23.82609 22.91731 21.00942 18.83692 16.72775 16.65306 17.72499 19.25743 21.07487 22.40931 23.70926 24.84929 25.99624 15.55501 14.44055 13.21581 11.86782 10.89003 10.06477 10.69787 13.27879 16.26993 18.91276 20.14857 19.8808 18.75685 17.0496 15.04121 15.37729 16.6519 18.07763 19.79917 21.29715 22.53035 23.77468 24.97172 13.82403 12.86998 11.83991 10.90843 10.26536 10.18769 10.89288 12.61223 14.79652 16.51838 17.52529 17.34839 16.79929 15.70672 14.97917 15.01491 16.03657 17.34056 18.88549 20.38361 21.72867 22.92206 24.09795 12.26255 11.54718 10.88165 10.40065 10 10.1225 10.80479 12.10729 13.61526 14.9049 15.64617 15.64833 15.37696 15.01667 14.85791 14.88156 15.77981 17.08419 18.43208 19.84588 21.16526 22.49212 23.40574 10.87627 10.3942 3*10 10.00939 10.6405 11.51173 12.69915 13.62252 14.25082 14.42007 14.46787 14.48201 14.66968 14.83605 15.9329 17.02193 18.28815 19.59128 20.81836 22.02407 23.12476 6*10 10.3138 11.13533 11.96963 12.76375 13.30898 13.69248 13.74876 14.01799 14.44511 14.8511 15.93432 17.01963 18.23288 19.47678 20.70627 21.81078 22.87271 6*10 10.03682 10.69796 11.40647 12.07912 12.64814 13.00144 13.42916 13.86082 14.3423 14.9721 16.0646 17.20899 18.41852 19.61707 20.75442 21.88142 22.70566 26.78577 22.87798 18.5754 14.13467 10.03357 6*10 14.85895 21.2513 26.91351 30.58848 31.4712 31.92658 32.12877 33.42154 35.30967 37.59265 40.00063 42.30618 28.91283 24.13972 18.93972 13.54933 6*10 12.60372 18.37915 24.30151 29.69304 33.20183 33.34592 32.97143 32.43715 33.25821 34.94691 37.53379 40.39392 43.29671 31.73748 26.20028 19.86969 12.71132 5*10 12.57588 17.77116 23.23081 27.9977 31.90437 34.1427 34.25486 33.42037 31.91948 32.36871 34.27391 37.45262 41.16463 44.75349 35.44158 28.77459 21.34345 13.71264 4*10 12.83406 18.23255 23.38566 28.60891 32.14798 34.47575 35.57771 35.1278 32.09475 30.93138 30.84316 33.06413 37.40082 42.37871 46.8539 39.19164 31.83967 23.78451 16.35136 3*10 13.1833 17.73037 23.29617 29.04439 34.54579 36.73758 37.42031 37.37257 35.09842 32.94919 30.53451 28.71232 31.5683 37.98555 44.40089 49.8189 41.95862 34.29332 27.06226 20.18091 15.80264 14.83769 17.3208 20.06837 23.44698 28.90761 35.01596 39.27445 40.448 40.45623 39.22861 37.26176 34.85263 32.14207 28.68313 32.47966 40.49064 47.22077 53.36376 41.98862 35.45447 28.98947 23.38113 20.62696 21.52211 24.9535 25.56274 28.23832 34.1426 40.20869 43.66991 44.87411 43.46692 42.6141 39.94918 37.93816 36.72371 37.33511 41.23336 45.09063 49.65697 54.45688 40.93771 35.49919 29.74654 24.86514 22.24908 22.55659 24.61525 24.7386 29.01192 37.38192 45.58479 48.45056 48.38005 47.07685 45.091 42.68027 40.97781 40.8165 43.54086 48.10963 48.27142 50.45562 53.38893 39.88423 35.02212 29.57409 24.94644 21.25132 18.98672 17.29088 17.81431 24.05463 37.60148 51.45488 52.12863 50.27493 48.28431 46.64948 44.87936 42.72772 42.46757 43.68606 45.76165 47.32756 49.50378 51.67794 38.26117 33.58066 28.27806 23.86546 19.3336 15.38986 10.77378 10 14.81264 32.53685 47.82385 49.43967 48.79822 47.6904 46.09207 44.64655 43.64562 43.0992 41.9753 42.60238 45.17964 47.45378 49.60107 36.55794 31.99379 27.30528 22.65855 18.52719 13.81405 2*10 13.05112 27.05886 37.19379 41.67863 43.29009 44.37867 44.1497 42.29811 42.02312 42.21243 41.75252 41.59193 43.7123 45.69082 47.52352 34.62238 30.78701 26.5045 22.87884 19.17102 15.32312 12.89369 13.29867 19.51247 24.89099 28.60002 33.10811 36.51564 38.02561 38.40046 38.30803 39.78983 42.10944 43.70098 43.91172 43.99466 45.08278 46.26283 32.39636 29.30232 25.89974 22.76077 19.71484 17.27734 16.11353 17.51353 22.91436 18.96189 18.58173 25.30325 30.29774 31.69152 31.09673 32.55772 36.67022 41.70504 46.29166 45.21599 44.6931 44.65945 45.50397 30.13667 27.68035 24.8351 22.38517 20.4709 18.38819 17.28567 16.73617 14.45792 2*10 20.80044 28.00342 28.44341 25.08779 26.84212 32.68764 38.63961 43.25327 43.96613 43.86451 44.02678 44.57895 27.78032 25.98152 23.66562 21.88871 20.26918 19.90858 18.25245 16.48329 13.31814 10 12.83296 21.24272 29.46945 27.69561 24.59915 25.07211 29.56166 34.77066 38.75308 40.88429 41.9808 42.70152 43.41924 25.53066 24.30308 22.53211 20.87466 19.53091 19.25687 18.72382 17.70857 15.7547 15.92315 18.82646 22.90417 26.70028 25.98208 23.63822 23.7054 27.6177 31.75828 35.31243 37.97715 39.68414 40.92914 41.87397 23.38879 22.58896 21.02074 19.68425 18.63303 18.05569 18.24959 18.13131 18.93613 21.4186 24.40608 24.84222 24.92024 24.20513 22.96077 23.50089 26.21135 29.65757 33.23679 35.58085 37.53997 39.05254 40.32728 21.66086 20.75437 19.51448 18.51303 17.72673 17.3261 17.46595 18.49181 19.93556 22.3248 24.52016 24.07133 23.11177 22.60605 22.25663 23.25648 25.31824 28.23479 31.52666 33.81511 35.92278 37.66305 39.18 19.59426 18.88388 18.12608 17.28586 16.92601 16.65821 17.01809 17.77906 18.9808 20.42591 20.87874 20.83898 21.37128 21.53572 21.221 22.65231 24.92656 27.25706 30.21031 32.69414 34.75323 36.55213 38.31862 17.61734 17.08234 16.5581 16.10484 15.82729 15.8914 16.18338 16.81101 17.62904 18.17578 17.99902 18.07942 19.06458 19.77741 20.81215 22.15287 24.23348 26.60596 29.21856 31.71027 33.88565 35.76039 37.58025 15.7302 15.36256 15.10493 14.89494 14.70608 14.87375 15.1654 15.61814 16.05831 16.35756 16.59407 17.01138 17.83271 18.97295 20.36641 21.73901 23.81599 26.19002 28.56965 31.0215 33.24324 35.37924 36.98205 13.92342 13.69974 13.61467 13.54839 13.60325 13.78804 14.09584 14.47863 14.78214 15.11421 15.46361 16.04764 17.00187 18.28448 19.87434 21.37896 23.6571 25.88995 28.2711 30.64285 32.85588 34.91187 36.80074 12.17672 12.13979 12.12587 12.32072 12.44683 12.7651 13.03068 13.39118 13.68707 14.23185 14.67443 15.32238 16.20254 17.59948 19.32784 21.05171 23.31961 25.59928 27.9845 30.35402 32.62403 34.66613 36.58492 10.48471 10.54863 10.81153 11.00286 11.25903 11.61432 12.00482 12.39883 12.7689 13.24875 13.87603 14.52113 15.64928 17.09776 18.8235 20.75858 22.99972 25.37902 27.83121 30.2372 32.50579 34.63953 36.34409 50.28269 50.60425 50.82726 51.09893 51.44468 52.02129 52.77707 54.28493 55.76146 57.24226 54.14917 46.09889 37.21888 27.61391 20.35491 19.32769 18.40743 17.27707 16.59324 16.9192 19.94379 23.90134 27.5686 49.05484 49.14237 49.25928 49.43091 49.80629 50.81906 51.9062 53.25858 54.34503 54.7158 51.96226 46.04153 38.15386 28.90875 21.57228 19.58691 17.4628 15.16728 14.03251 15.08117 18.31717 23.15635 28.4108 47.70484 47.62676 47.46169 47.53606 47.75777 48.79207 49.8672 50.90905 52.01292 52.24435 50.4018 46.64482 41.08874 34.69825 28.13718 23.23834 18.48315 13.49634 11.71884 13.03604 17.84032 24.28811 31.35444 46.39522 45.99951 45.48199 45.26661 45.35831 46.0582 46.83131 48.04477 49.37484 49.98632 49.85923 48.2431 45.11558 41.19858 35.2728 28.30103 19.52604 12.69197 10 10.8841 18.02713 27.57035 35.55331 44.98773 44.26252 43.25686 42.72224 42.48505 42.45028 42.85828 44.7275 46.54496 48.18874 49.67381 50.4006 49.17427 47.37149 43.17376 32.97255 22.75173 13.0372 2*10 20.64328 32.19551 41.78215 43.23797 42.22832 41.31551 39.99319 39.25842 38.54652 38.99236 40.87857 43.56363 46.64469 49.26986 50.95433 50.46123 49.97785 47.67019 38.00824 28.0436 18.12374 10 12.18452 27.25952 39.06316 49.52837 41.20459 40.20404 38.82625 37.36136 35.97281 34.85254 34.72905 38.19109 41.94838 45.8227 48.67258 50.5269 50.67723 49.02715 46.26022 40.07487 33.48307 28.44083 27.46787 33.63842 39.28356 46.72913 53.90957 38.88017 37.85257 36.58535 35.11771 33.89594 32.90822 33.13733 36.91073 41.03891 44.89967 48.46175 49.9875 49.70462 48.11654 45.05354 41.42049 38.36393 37.75304 42.78469 51.39618 49.12589 50.82279 54.29242 36.65985 35.66724 34.3339 33.16248 32.20284 32.09608 33.52307 36.70847 40.72481 44.90015 48.70047 49.30393 48.574 47.33359 44.93029 43.11895 41.30828 41.74262 44.67677 48.34616 49.41386 51.00029 52.93327 34.66173 33.66249 32.54305 31.29271 30.60656 31.12355 32.94809 36.22115 39.5757 43.453 46.7194 47.11477 47.08594 46.41856 44.79512 43.25648 42.64328 42.84563 42.50851 43.70105 46.42488 48.31273 50.13999 32.80193 31.76271 30.69034 29.69978 29.21008 29.34669 30.90245 33.59862 36.58675 39.83383 42.57759 43.87042 44.08265 44.40239 43.59295 41.59586 41.50682 42.01069 41.65138 41.42603 43.30647 44.85778 46.6176 30.94475 30.07296 28.94398 28.21211 27.76056 27.46801 28.3737 29.60399 31.59041 35.40582 39.0907 40.44389 40.24737 39.84317 38.14822 37.49242 39.11035 41.73742 43.39827 43.42791 42.81942 43.23956 43.75973 29.27317 28.43766 27.31889 26.34673 25.4698 25.25716 25.71733 26.74008 27.78386 33.37335 37.49975 38.11058 36.72186 33.93901 31.11752 31.53141 35.7518 41.19098 46.14569 44.17746 42.67629 41.73292 41.81363 27.74879 26.80034 25.66667 24.54811 23.51745 22.92141 23.22617 24.91485 28.92932 35.55726 37.46885 36.04612 33.53305 29.54735 24.56845 26.41113 32.52903 38.20915 42.22488 41.82964 40.6341 39.86284 39.5479 26.14622 25.26163 24.0667 22.96002 21.95884 21.22289 20.92695 23.61806 28.99369 33.83228 35.73075 34.17309 31.11522 27.25224 24.82142 26.05034 29.43297 33.31147 36.13594 37.08405 37.13681 36.98544 37.00571 24.63279 23.82022 22.56461 21.41303 20.44856 19.68814 19.64349 22.92249 27.72231 32.11918 33.71918 31.26345 27.24486 24.11021 24.12206 25.21418 25.90139 28.13375 30.47503 32.11124 32.87276 33.37719 33.74136 23.06732 22.3161 21.07543 19.99969 19.04314 18.6074 18.9925 21.8264 25.81482 30.33761 32.29109 26.359 21.51542 18.63899 17.79297 18.97855 20.29229 22.58637 25.4965 27.2471 28.49701 29.47525 30.32024 21.72992 20.78489 19.59255 18.55066 17.68977 17.27437 17.77911 19.29348 21.53515 23.84236 23.47456 17.80105 13.46817 10.32588 10 10.39799 13.664 16.96582 20.44665 22.71086 24.47685 25.95638 27.32974 20.25568 19.27159 18.30459 17.13683 16.2606 15.57071 15.84283 16.19705 16.2755 15.08481 11.02641 6*10 12.11897 15.93174 18.80822 20.9645 22.92749 24.67319 18.87565 17.87576 16.95923 15.83872 14.78666 14.49248 13.80904 13.05946 11.68611 9*10 12.35718 15.52287 18.10311 20.25905 22.23166 17.55028 16.55841 15.78808 14.85659 13.56184 12.96574 11.89388 10.4404 11*10 13.0732 15.79082 18.29691 20.09583 16.36163 15.38295 14.67972 13.72153 12.7429 11.61907 10.29361 12*10 11.34242 14.03147 16.44762 18.61482 15.32425 14.60267 13.69143 12.96973 11.85358 10.78806 13*10 10.14546 12.91868 15.16891 17.38299 14.45132 13.73178 13.17793 12.26464 11.19252 10.07253 13*10 10.0165 12.12266 14.35186 16.1681 8*10 12.86372 16.2551 16.23888 12.57212 4*10 15.8372 22.48809 28.26445 33.34769 37.39904 40.85456 43.83982 7*10 10.78192 14.64556 17.80016 18.24445 16.36727 12.92437 2*10 13.97481 20.97585 27.29409 32.56467 37.25743 40.73601 43.87772 46.45391 7*10 12.05064 16.81017 20.25082 21.56242 21.44044 20.35285 18.84906 19.89248 23.8276 28.72019 33.55494 37.9787 41.23263 44.42299 46.98363 48.60721 7*10 14.46982 19.85723 23.21317 25.89457 27.4513 28.70587 29.90567 31.94527 34.07003 36.94404 40.28525 43.71831 46.15998 48.4144 49.73436 51.24513 6*10 11.58303 18.42523 23.89852 27.62894 30.70862 33.27868 35.73853 39.59111 43.20539 43.07987 43.84282 46.20511 49.33136 51.13557 51.84351 52.93479 53.89962 5*10 12.34787 17.98623 23.42931 28.34255 32.5297 35.68102 37.87731 40.75653 44.89782 48.67462 47.06465 47.21785 49.5365 53.3179 55.05379 54.81872 55.29103 56.08327 4*10 13.373 18.68966 24.88097 29.01432 32.81932 36.70702 39.78706 41.23363 43.15364 44.74081 46.06335 46.14512 47.31506 49.60416 53.33527 55.82071 55.44957 55.45617 55.7961 2*10 10.15563 12.98969 17.27381 22.78839 28.73385 32.45785 36.05285 39.6324 43.15239 43.80486 44.08266 43.41279 41.98714 42.64922 44.59292 46.9164 50.02885 53.13319 52.69458 52.92992 53.46241 10 10.20089 12.59265 15.6335 19.48343 24.27725 29.30333 33.5682 37.5935 41.76038 45.87019 45.68127 44.71452 42.46296 40.55927 40.80487 42.0245 42.67112 43.34791 44.69885 46.55623 49.20021 50.73703 10.03102 11.92179 14.11181 17.1863 20.47661 24.46514 28.77966 33.23505 36.84755 40.41866 44.5869 44.97277 44.16852 43.59345 41.97326 40.41145 39.51982 38.48693 36.67548 36.41624 41.17197 45.05055 48.36142 11.44968 13.22501 15.391 17.90469 20.66381 23.22267 26.14805 29.5467 32.48864 36.26541 39.98061 42.19896 42.99957 43.89854 42.62597 39.15599 37.77873 36.84328 34.68596 34.32148 39.31831 43.50043 46.54834 12.39329 14.31374 16.24746 18.17334 20.80027 22.42321 24.14353 24.95679 25.64231 30.46629 36.34248 39.095 39.63423 38.86854 37.36928 35.77697 36.59893 38.24337 39.17164 39.61523 41.01468 43.7157 46.30019 12.83181 14.6056 16.46313 18.44869 20.23127 22.02833 23.20665 23.26577 21.57171 29.18271 36.15027 36.38806 35.13449 32.85997 30.07174 30.93586 35.38315 40.62199 45.25345 44.15097 44.0009 44.73489 46.31424 12.86098 14.64615 16.68644 18.72026 20.49384 22.13642 23.75836 25.18785 28.26431 36.75394 38.41135 35.74506 32.51358 29.17575 24.75056 27.81174 35.10085 41.27399 45.59308 45.83985 45.52033 45.717 46.61538 12.88881 14.50887 16.69623 18.69768 21.04871 23.26837 25.70971 28.40403 32.13905 36.82905 38.34209 35.93556 31.8391 29.83823 28.89319 31.37443 36.16451 41.07606 44.34417 45.60317 46.11364 46.34549 46.88162 12.96186 14.40618 16.47681 18.79507 21.30791 23.79415 26.94299 30.36422 33.30337 36.78279 38.38277 37.01602 34.62926 33.63645 34.71572 36.63726 39.26509 41.91959 44.04036 45.35863 45.9852 46.34662 46.70806 13.16706 14.68641 16.36172 18.47202 21.16866 23.84189 26.69615 30.06958 33.65956 37.30333 39.39292 37.72996 36.89328 37.48133 38.84535 40.67157 41.72115 43.1109 44.4847 45.07936 45.66635 45.98493 46.35316 13.25018 14.79495 16.35183 18.28635 20.45864 22.93772 25.74226 28.60679 31.76481 34.94207 36.94787 36.57502 37.42896 39.50165 41.88638 43.30534 43.44474 44.06256 44.86204 45.10269 45.63931 46.01441 46.36621 13.28566 14.69313 16.33798 17.89505 19.7681 21.93346 24.36469 26.76443 29.21996 31.15054 32.27022 33.30336 36.06409 39.52475 43.59724 44.25698 44.36009 44.46408 44.97118 45.43533 45.70944 45.94566 46.61349 13.26048 14.52472 15.85361 17.23435 18.85819 20.77713 22.77208 24.77508 26.56632 28.07423 28.73019 30.61798 34.47224 38.15875 41.36177 42.91972 43.67045 44.23652 44.74557 45.25097 45.64543 46.13809 46.78179 12.99922 14.12594 15.19766 16.58739 17.76556 19.41938 21.13516 22.77283 24.32205 25.66301 27.14034 29.57935 32.75828 36.19028 39.17215 41.10762 42.54107 43.54451 44.13587 44.92474 45.70686 46.42991 46.87885 12.61466 13.58743 14.41091 15.51482 16.6548 17.92399 19.4387 21.09792 22.45421 24.02431 25.78234 28.22955 31.16994 34.29908 37.19307 39.36506 41.25339 42.61851 43.76892 44.77892 45.61692 46.45269 47.15826 12.11806 12.7339 13.55482 14.35407 15.48822 16.76051 17.96514 19.39275 20.86757 22.74388 24.60807 26.85539 29.53041 32.49897 35.3866 37.78336 39.87653 41.58928 43.08628 44.39804 45.46832 46.38274 47.15467 11.51843 11.98148 12.46623 13.26932 14.28289 15.39692 16.66966 18.03739 19.49584 21.25659 23.24616 25.42315 28.0179 30.83055 33.69468 36.29792 38.26717 40.23208 42.06846 43.74316 45.20959 46.29494 47.09802 13.45783 14.52078 16.29164 18.01783 18.98754 18.19339 15.82882 13.36304 8*10 15.63838 22.04994 27.47649 31.84415 34.27064 35.73948 36.82675 13.23855 15.56712 18.39869 21.50295 24.23383 24.50089 22.53152 18.95968 13.76986 6*10 15.11311 22.35033 28.59455 33.36606 36.92397 38.45307 39.27724 39.49701 12.18167 15.24386 19.65112 24.76906 29.26626 30.77054 28.25912 22.97039 19.13138 16.42801 15.1088 14.25484 15.69452 17.83087 21.43972 26.38564 31.66038 36.61714 40.30983 41.93441 42.73013 42.47402 41.02816 10 14.15379 19.35427 25.44478 32.73266 37.15516 30.89021 25.83936 23.04655 21.27667 21.60571 22.09688 25.3838 29.7304 34.28046 37.32525 40.88271 44.45395 47.35974 47.95446 47.16324 44.55702 42.80401 10 11.61379 17.10929 22.82999 29.21061 32.39628 27.61974 24.84472 24.67057 25.30637 26.94635 29.36877 33.49971 39.93228 46.01193 46.41812 47.64625 50.76622 54.28892 54.01275 50.37146 47.06891 44.07656 2*10 12.98806 17.35564 20.36181 19.68186 18.2198 20.03578 24.23639 28.3067 31.4692 34.61647 38.34635 44.17193 49.63683 48.00415 48.91018 52.66286 58.25747 57.85225 52.7284 48.43909 44.5652 3*10 11.50152 11.23972 2*10 15.05279 23.9987 30.73863 35.29683 38.21223 39.58563 40.7655 42.03162 42.98539 45.78962 49.65931 54.29121 55.31099 51.78347 47.84661 44.17669 7*10 15.0034 26.2045 34.17953 39.37024 40.60139 38.82396 35.77428 32.33145 34.63384 39.23683 43.58972 47.31632 49.52465 47.54553 45.16966 42.94225 6*10 11.91855 20.98312 30.3254 38.08656 44.3249 42.37537 37.97271 31.69221 27.49054 29.51408 34.04691 36.99071 38.7667 40.10177 40.92057 41.75912 41.35893 5*10 10.83644 17.31049 27.28397 34.70118 40.26665 44.62752 42.14643 36.05452 31.37847 28.14533 28.57327 30.49913 31.73686 31.56833 31.70417 35.8517 38.50453 40.21155 5*10 12.63264 18.62087 26.75376 32.57798 36.33365 40.31292 40.12508 36.82054 32.08265 28.68202 28.91472 30.31195 31.39046 30.41676 30.50117 35.22774 38.4848 40.02784 4*10 10.1172 11.84611 15.5364 20.46329 24.06458 30.87289 36.95015 38.52362 36.53549 32.81203 30.08478 30.09777 31.93618 34.92791 36.66543 36.93201 38.12614 40.07342 41.78329 5*10 10.67491 12.29836 14.89313 17.22807 27.90027 36.40659 37.69953 36.69311 33.52845 30.5255 29.91076 32.68773 38.52034 44.7229 42.42773 41.67961 42.457 43.3632 2*10 10.02391 10.6165 10.79056 2*10 12.28374 18.52448 31.55651 36.1563 37.08974 37.33917 32.52103 27.50247 26.0794 29.51487 36.60905 43.1834 44.29294 44.22697 44.56449 45.71099 10.37488 11.10881 11.79364 12.53337 12.27608 10.10368 2*10 15.05489 22.31861 27.51259 31.60379 36.49918 27.86511 18.78906 16.63348 22.93681 31.83876 38.81455 42.9159 44.79709 46.26857 47.69064 12.24641 13.16424 14.26039 15.12888 15.23219 13.21444 10.022 10 11.24409 12.95403 16.38146 22.7335 26.61362 21.60406 2*10 18.89332 28.92702 36.55387 41.94051 45.31334 47.63265 49.4008 14.18353 15.47684 17.42331 19.11122 19.50453 19.94684 18.22136 14.59518 11.40817 2*10 16.7553 23.42206 22.98756 16.69161 15.7928 22.90058 30.79878 37.9076 42.33826 46.02901 48.7689 51.17245 15.84369 17.49094 19.72803 21.93621 24.26505 26.69876 26.67052 20.58396 15.65691 11.05863 11.22914 21.11059 28.05054 31.50603 32.65856 31.84117 32.22985 36.04685 41.08806 44.66816 48.17843 50.94102 53.16051 17.19603 19.03132 21.18178 23.82963 26.60107 29.0897 28.83469 25.27287 22.4751 21.60122 26.15986 32.88272 36.66285 40.92595 46.7026 43.69755 41.72054 42.04987 45.07091 47.99068 50.87525 53.16269 55.32651 18.08232 19.98791 22.08033 24.74175 27.33184 28.67835 29.42182 29.03026 28.29218 29.84131 35.9227 41.54703 43.34705 45.85002 48.4755 48.13694 46.9908 47.05172 48.70303 51.06904 53.49039 55.44665 57.46271 18.48802 20.36588 22.23605 24.31308 27.08139 28.44848 29.73034 30.57454 31.63439 33.97081 37.97845 42.29519 44.73409 47.12476 49.07826 49.65656 49.79601 50.16783 51.62725 53.64058 55.54428 57.57984 59.46624 18.42318 20.22672 21.937 23.9459 26.00187 27.73917 29.40715 31.15841 32.4495 34.89612 37.88183 41.28832 44.15192 46.66447 48.77855 50.09473 50.72727 52.0394 53.6983 55.6224 57.61611 59.46309 61.35976 17.94484 19.43528 21.17365 22.70739 24.78506 26.52159 28.60475 30.30531 32.0012 33.87194 36.73527 39.29688 42.55082 45.26396 47.74557 49.76705 51.16478 53.02223 55.01752 57.11503 58.90728 61.04329 62.92547 17.10144 18.42705 19.56284 21.28111 23.18564 25.02746 27.10244 28.8609 30.38591 32.47724 35.00045 37.38144 39.92416 42.68838 45.73133 48.65942 49.82521 52.00508 54.54773 57.29947 60.01513 62.37294 64.29894 / PERMZ 2.846475 2.60489 2.392494 2.156025 1.89007 1.60655 1.295938 11*1 1.440789 1.963223 2.53539 3.130118 3.708924 3.058815 2.835372 2.608888 2.369568 2.115849 1.83357 1.511632 1.160012 10*1 1.193604 1.77311 2.411961 3.08744 3.739278 3.271802 3.053498 2.829243 2.59491 2.357183 2.088554 1.754641 1.358125 1.007638 10*1 1.545504 2.272255 3.05534 3.814525 3.473024 3.252115 3.009408 2.780674 2.56969 2.347845 1.956349 1.592461 1.267936 1.024014 9*1 1.270038 2.111979 3.063982 3.942607 3.639785 3.360525 3.107339 2.877392 2.67648 2.438379 2.117523 1.787334 1.521554 1.297008 1.042701 9*1 1.942051 3.077535 4.147674 3.669354 3.373072 3.104131 2.884596 2.666185 2.399103 2.1594 1.951848 1.768766 1.581589 1.345986 1.058406 8*1 1.758384 3.050139 4.371768 3.520016 3.274248 3.039788 2.825708 2.586429 2.355674 2.15179 2.114222 2.03447 1.8865 1.654854 1.335958 8*1 1.599125 2.877846 4.125793 3.303378 3.119117 2.920101 2.728168 2.539437 2.374302 2.268619 2.304012 2.313242 2.215721 1.990223 1.603453 1.155475 7*1 1.490137 2.57634 3.579701 3.064296 2.92229 2.750793 2.603698 2.490567 2.430367 2.470232 2.564886 2.573187 2.490381 2.337716 1.800316 1.235342 7*1 1.460868 2.297743 3.11174 2.810005 2.690451 2.555456 2.438146 2.380944 2.416803 2.542447 2.765481 2.752925 2.608801 2.366806 1.788428 1.108499 7*1 1.392915 2.067791 2.730363 2.558286 2.440105 2.325083 2.233542 2.209076 2.201524 2.314014 2.524076 2.557512 2.38312 2.113189 1.65232 1.058808 7*1 1.223184 1.781182 2.397103 2.28509 2.180544 2.06711 2.009919 1.956218 1.926564 1.964501 1.974469 1.960194 2.02065 1.926055 1.554079 1.113389 7*1 1.040017 1.529705 2.043135 2.00718 1.91228 1.802761 1.709128 1.625332 1.570648 1.557188 1.561897 1.52358 1.907458 1.915395 1.445865 1.132387 1.242771 1.693627 1.638473 1.076637 4*1 1.284841 1.741876 1.743285 1.629006 1.512662 1.401179 1.294464 1.222822 1.194774 1.26392 1.600992 2.222754 1.873478 1.160441 1 1.174803 2.217462 2.100858 1.260685 4*1 1.066389 1.464439 1.469752 1.349467 1.229257 1.113978 4*1 1.191951 1.451515 1.213196 3*1 1.197079 1.279987 6*1 1.25344 1.233371 1.103975 20*1 1.082714 1.031159 55*1 1.113274 1.400235 1.393617 1.411033 1.512889 1.310567 1.134642 1.059081 4*1 1.051462 9*1 1.050979 1.517789 1.82625 1.765893 1.704216 1.658825 1.530694 1.376124 1.231428 1.144693 1.10279 1.091804 1.105144 1.154655 9*1 1.186019 1.525072 1.768303 1.806653 1.788403 1.738128 1.633741 1.517455 1.391338 1.311901 1.257379 1.226807 1.237606 1.256127 9*1 1.208778 1.466723 1.662946 1.758684 1.785469 1.76729 1.698355 1.580839 1.509393 1.443208 1.3892 1.352609 1.348286 1.366514 9*1 1.149214 1.37691 1.544686 1.678015 1.740434 1.761724 1.734396 1.653864 1.600951 1.550163 1.505923 1.458647 1.457267 1.465679 9*1 1.106449 1.293238 1.445701 1.556219 1.640782 1.711548 1.730843 1.659088 1.619255 1.593338 1.57989 1.576174 1.577118 1.572776 2.842131 2.599351 2.386019 2.150438 1.885966 1.599893 1.291844 8*1 1.187475 1.583306 1.949683 2.3338 2.716259 3.079497 3.437266 3.777029 3.051501 2.825076 2.597687 2.361515 2.110217 1.842957 1.543718 1.223513 7*1 1.290705 1.660856 2.008039 2.378329 2.79271 3.18905 3.582654 3.939055 3.26126 3.034343 2.809532 2.572754 2.347142 2.104239 1.812601 1.452357 1.173453 4*1 1.070689 1.297852 1.539546 1.819263 2.079254 2.454715 2.851475 3.29867 3.734222 4.113786 3.456702 3.223918 2.974942 2.747811 2.549433 2.360603 2.014146 1.72602 1.506488 1.412648 1.33105 1.267189 1.300242 1.389452 1.584982 1.738164 1.851415 2.131884 2.499229 2.919399 3.421766 3.903736 4.330742 3.61895 3.326605 3.061304 2.830838 2.645477 2.438823 2.186054 1.948816 1.819024 1.767255 1.702874 1.653704 1.608589 1.649156 1.787389 1.784895 1.926193 2.170638 2.48992 2.974608 3.558999 4.115869 4.587884 3.649318 3.333247 3.04988 2.819283 2.617569 2.379423 2.220453 2.139769 2.12021 2.121262 2.082823 1.957607 1.78651 1.704738 1.7097 1.668218 1.844329 2.167629 2.523929 3.104246 3.764369 4.330518 4.850213 3.502998 3.225602 2.968525 2.734537 2.495488 2.303598 2.182886 2.306032 2.426625 2.498368 2.477157 2.258068 1.937809 1.568793 1.382382 1.435538 1.798777 2.304182 2.893957 3.535018 4.024317 4.511111 4.936545 3.297298 3.071647 2.833379 2.605875 2.411082 2.278206 2.25414 2.463694 2.723761 2.911796 2.93558 2.614401 2.107721 1.493531 1 1.190292 1.795105 2.43698 3.156591 3.85796 4.194305 4.53314 4.84441 3.07488 2.885694 2.657172 2.474103 2.343332 2.306161 2.412498 2.672139 2.961739 3.267209 3.475406 3.015795 2.405395 1.71722 1.134693 1.424127 1.949315 2.553657 3.170181 3.730975 4.093421 4.441704 4.696539 2.844763 2.664966 2.472872 2.31204 2.227149 2.286716 2.469584 2.772112 3.09797 3.455125 3.6153 3.246363 2.715243 2.307671 2.006317 2.019642 2.32753 2.755187 3.161171 3.602699 3.93768 4.219182 4.503577 2.623428 2.440923 2.269918 2.13292 2.086414 2.140161 2.348524 2.679286 3.052532 3.313002 3.360129 3.215485 2.987109 2.853819 2.693571 2.509261 2.607926 2.86523 3.179542 3.489423 3.764101 4.014323 4.236334 2.388613 2.234889 2.056372 1.958776 1.897893 1.929634 2.1104 2.408759 2.750338 3.029733 3.100423 3.058789 2.976613 2.961792 2.877972 2.782475 2.788813 2.942316 3.153934 3.389254 3.595994 3.805989 4.006131 2.154528 2.011794 1.850074 1.714279 1.624275 1.627321 1.760164 2.042473 2.4232 2.729203 2.826501 2.846162 2.825007 2.798635 2.850163 2.830929 2.843887 2.95365 3.112036 3.255857 3.413376 3.583328 3.741133 1.936333 1.791023 1.621918 1.466654 1.330551 1.240954 1.28456 1.561564 2.048706 2.403701 2.579489 2.599759 2.554515 2.568946 2.695346 2.740268 2.767594 2.848889 2.958754 3.068494 3.201342 3.349141 3.511633 1.724625 1.590582 1.423758 1.256497 1.085908 2*1 1.151561 1.733651 2.181101 2.401379 2.403453 2.26498 2.279795 2.347453 2.421691 2.511851 2.621809 2.745834 2.868048 2.998163 3.141429 3.290346 1.553808 1.431476 1.259682 1.097867 3*1 1.007469 1.613982 2.128953 2.395059 2.365911 2.233523 2.080317 2.022265 2.067687 2.230539 2.3854 2.532391 2.666068 2.79806 2.930634 3.06647 1.41643 1.327533 1.177586 1.054165 3*1 1.162537 1.667418 2.208804 2.547257 2.381246 2.156213 1.968041 1.813174 1.845636 2.008566 2.183233 2.349613 2.491533 2.625873 2.74344 2.854304 1.315686 1.224591 1.095952 1.006346 2*1 1.007632 1.290911 1.688836 2.120885 2.387743 2.254463 2.015178 1.809928 1.641289 1.68991 1.849334 2.02622 2.198851 2.343571 2.480748 2.601002 2.724593 1.209815 1.129398 1.054834 3*1 1.118287 1.342836 1.630239 1.911647 2.032367 1.983208 1.863688 1.698263 1.506356 1.577477 1.739444 1.914978 2.086697 2.249388 2.381927 2.514283 2.648668 1.120037 1.057781 1.000342 2*1 1.065549 1.177736 1.350963 1.557649 1.712802 1.777619 1.745511 1.690846 1.589789 1.535985 1.567336 1.69608 1.844921 2.013377 2.175477 2.320963 2.45303 2.587091 1.035984 3*1 1.011966 1.089805 1.191597 1.311172 1.457478 1.560831 1.61102 1.603778 1.575954 1.55062 1.552828 1.577883 1.688865 1.833203 1.983793 2.139122 2.284178 2.432896 2.54226 4*1 1.023793 1.082466 1.167845 1.265624 1.371554 1.44378 1.486265 1.496183 1.505139 1.519304 1.556623 1.594422 1.713875 1.841048 1.984021 2.129999 2.269565 2.407112 2.537204 4*1 1.003982 1.081256 1.150202 1.236421 1.302553 1.363127 1.40216 1.431807 1.445848 1.487845 1.551138 1.612835 1.729884 1.854801 1.993142 2.134895 2.275187 2.406371 2.534597 5*1 1.043874 1.118054 1.184556 1.240565 1.292288 1.338675 1.36751 1.416508 1.47595 1.549351 1.632598 1.752966 1.883284 2.022878 2.162877 2.297654 2.432285 2.536912 3.726092 3.381702 3.075051 2.747444 2.391318 2.013371 1.618496 1.249294 9*1 1.371773 1.819689 2.276448 2.736244 3.187403 3.609463 3.946547 3.619756 3.2954 2.968512 2.630622 2.30769 1.955127 1.595275 1.165278 7*1 1.292618 1.634217 2.006802 2.441247 2.869769 3.330868 3.772094 4.164612 3.829392 3.506471 3.17584 2.87163 2.591372 2.271163 1.887202 1.623893 1.442335 1.403196 1.34396 1.355033 1.386283 1.476673 1.630127 1.806573 1.951643 2.241868 2.573874 3.029535 3.510464 3.935628 4.363537 4.020787 3.65211 3.326009 3.057933 2.83549 2.461654 2.203388 2.065616 2.055498 2.094365 2.128005 2.21264 2.321594 2.40677 2.364455 2.217433 2.262818 2.439695 2.73037 3.202924 3.684516 4.176437 4.535081 4.111733 3.70633 3.363784 3.09636 2.833662 2.566659 2.421653 2.445453 2.574741 2.740262 2.928189 3.021586 3.173429 3.286168 2.92073 2.656764 2.53381 2.55579 2.852088 3.361291 3.943949 4.477374 4.546327 4.088311 3.664558 3.28593 2.977442 2.650138 2.495501 2.549422 2.765049 3.079139 3.360465 3.526456 3.557554 3.652688 3.675344 3.212686 2.892484 2.739825 2.679413 3.017488 3.61315 4.201674 4.792736 4.345856 3.928666 3.527967 3.130401 2.746769 2.440651 2.289735 2.66625 3.116831 3.586629 3.91462 4.001243 3.891688 3.667648 3.483041 3.166066 3.010043 2.995735 3.142894 3.496297 3.900216 4.416397 4.883756 4.093526 3.738136 3.345502 2.946451 2.605946 2.353024 2.30454 2.773369 3.430652 4.052159 4.499475 4.427165 4.058484 3.591393 3.122064 2.968294 3.023127 3.169538 3.457844 3.867582 4.111052 4.430614 4.753263 3.843022 3.53753 3.162099 2.832421 2.552129 2.410899 2.505769 2.954918 3.601859 4.421203 5.151397 4.759338 4.12795 3.44697 2.9714 2.928591 3.00496 3.221462 3.519 3.855103 4.09559 4.344999 4.58114 3.601882 3.320087 3.007659 2.706897 2.484392 2.43874 2.568795 2.919648 3.570591 4.413818 5.03851 4.62547 3.97381 3.385045 2.98654 2.936327 3.06972 3.288374 3.501979 3.788652 3.984014 4.176593 4.374717 3.372629 3.110772 2.846313 2.601844 2.449991 2.367763 2.494198 2.797777 3.345974 3.934563 4.284702 4.156401 3.723979 3.219029 2.908815 2.887729 3.001434 3.196203 3.433942 3.65301 3.8029 3.96312 4.130604 3.133251 2.923302 2.687575 2.535713 2.414725 2.331002 2.423144 2.592178 2.956549 3.409702 3.692138 3.682761 3.439779 3.105118 2.896192 2.878245 2.943855 3.099689 3.282739 3.46833 3.6067 3.750228 3.892889 2.893297 2.726492 2.534306 2.379338 2.25183 2.214174 2.27409 2.424039 2.622231 3.000991 3.273075 3.294281 3.187249 3.003234 2.886787 2.824533 2.852624 2.97265 3.134915 3.26192 3.389356 3.523335 3.653273 2.6652 2.510361 2.334244 2.191142 2.088393 2.025205 2.068724 2.210299 2.510366 2.806314 2.994593 3.052793 3.008516 2.863643 2.767883 2.714334 2.724208 2.808378 2.925779 3.042524 3.166444 3.293432 3.417967 2.414385 2.284114 2.12393 1.98912 1.887664 1.859814 1.883924 2.08995 2.365975 2.633065 2.817204 2.875356 2.842675 2.645766 2.479 2.412923 2.458545 2.555453 2.681405 2.807647 2.933855 3.065024 3.189433 2.176008 2.061925 1.900206 1.75615 1.644959 1.601165 1.663477 1.903242 2.194838 2.504156 2.694026 2.701135 2.601126 2.356349 2.125305 2.044338 2.164685 2.304982 2.447961 2.584276 2.714455 2.840583 2.959715 1.948113 1.847595 1.677889 1.531463 1.395477 1.317173 1.38314 1.67414 2.042449 2.414148 2.64245 2.541799 2.352771 2.123505 1.877352 1.824575 1.936434 2.090811 2.268748 2.4014 2.531846 2.64562 2.745404 1.755352 1.637183 1.474897 1.334961 1.19784 1.070288 1.085335 1.454895 1.827908 2.173909 2.382609 2.291731 2.100942 1.883692 1.672776 1.665306 1.772499 1.925743 2.107487 2.240931 2.370926 2.484929 2.599624 1.555501 1.444055 1.321581 1.186782 1.089003 1.006477 1.069787 1.327879 1.626993 1.891276 2.014857 1.98808 1.875685 1.70496 1.504121 1.537729 1.66519 1.807763 1.979917 2.129715 2.253035 2.377469 2.497172 1.382403 1.286999 1.183991 1.090843 1.026536 1.018769 1.089288 1.261223 1.479652 1.651838 1.752529 1.734839 1.679929 1.570672 1.497917 1.501491 1.603657 1.734056 1.888549 2.038361 2.172867 2.292206 2.409795 1.226255 1.154718 1.088165 1.040065 1 1.01225 1.080479 1.210729 1.361526 1.49049 1.564617 1.564833 1.537696 1.501667 1.485791 1.488156 1.577981 1.708419 1.843208 1.984588 2.116526 2.249212 2.340574 1.087627 1.03942 3*1 1.000939 1.064049 1.151173 1.269915 1.362252 1.425082 1.442007 1.446787 1.448201 1.466968 1.483605 1.59329 1.702193 1.828815 1.959128 2.081836 2.202407 2.312476 6*1 1.03138 1.113533 1.196963 1.276375 1.330898 1.369248 1.374876 1.401799 1.444511 1.48511 1.593432 1.701963 1.823288 1.947678 2.070627 2.181077 2.287271 6*1 1.003682 1.069796 1.140647 1.207912 1.264814 1.300144 1.342916 1.386082 1.43423 1.49721 1.60646 1.720899 1.841852 1.961707 2.075442 2.188142 2.270566 2.678577 2.287798 1.85754 1.413467 1.003357 6*1 1.485895 2.12513 2.691351 3.058848 3.14712 3.192658 3.212877 3.342154 3.530967 3.759265 4.000063 4.230618 2.891284 2.413971 1.893972 1.354933 6*1 1.260372 1.837915 2.430151 2.969304 3.320183 3.334592 3.297143 3.243715 3.325821 3.494691 3.753379 4.039392 4.329671 3.173748 2.620028 1.986969 1.271132 5*1 1.257588 1.777116 2.323081 2.79977 3.190437 3.41427 3.425486 3.342037 3.191948 3.236871 3.427392 3.745262 4.116463 4.475348 3.544158 2.877459 2.134345 1.371264 4*1 1.283406 1.823255 2.338566 2.860891 3.214798 3.447575 3.557771 3.51278 3.209475 3.093138 3.084316 3.306413 3.740082 4.237871 4.68539 3.919164 3.183967 2.378451 1.635136 3*1 1.318331 1.773037 2.329617 2.904439 3.454579 3.673758 3.742032 3.737257 3.509842 3.294919 3.053451 2.871232 3.15683 3.798555 4.440089 4.981891 4.195862 3.429332 2.706226 2.018091 1.580264 1.483769 1.73208 2.006837 2.344698 2.890761 3.501596 3.927445 4.0448 4.045623 3.922861 3.726176 3.485263 3.214207 2.868313 3.247966 4.049064 4.722077 5.336376 4.198863 3.545447 2.898947 2.338113 2.062696 2.152211 2.495349 2.556274 2.823832 3.41426 4.020869 4.366991 4.487411 4.346692 4.26141 3.994918 3.793816 3.672371 3.733511 4.123336 4.509063 4.965697 5.445688 4.093771 3.549919 2.974654 2.486514 2.224908 2.255659 2.461525 2.47386 2.901191 3.738192 4.558479 4.845056 4.838005 4.707685 4.509099 4.268027 4.097781 4.08165 4.354085 4.810963 4.827142 5.045562 5.338893 3.988423 3.502212 2.957409 2.494644 2.125132 1.898672 1.729088 1.781431 2.405463 3.760148 5.145488 5.212863 5.027493 4.828431 4.664948 4.487936 4.272772 4.246757 4.368606 4.576165 4.732757 4.950378 5.167794 3.826117 3.358066 2.827806 2.386546 1.93336 1.538986 1.077378 1 1.481264 3.253685 4.782385 4.943967 4.879822 4.76904 4.609207 4.464655 4.364562 4.30992 4.19753 4.260238 4.517964 4.745378 4.960107 3.655794 3.199378 2.730528 2.265855 1.852719 1.381405 2*1 1.305112 2.705886 3.719379 4.167863 4.329009 4.437867 4.414969 4.229812 4.202312 4.221243 4.175252 4.159193 4.37123 4.569082 4.752352 3.462238 3.078701 2.65045 2.287884 1.917102 1.532312 1.289369 1.329867 1.951247 2.489099 2.860002 3.310811 3.651564 3.802561 3.840045 3.830803 3.978983 4.210944 4.370099 4.391171 4.399466 4.508278 4.626283 3.239636 2.930232 2.589974 2.276077 1.971484 1.727734 1.611353 1.751353 2.291436 1.896189 1.858173 2.530324 3.029774 3.169152 3.109673 3.255772 3.667022 4.170504 4.629167 4.521599 4.46931 4.465945 4.550397 3.013667 2.768035 2.48351 2.238517 2.04709 1.838819 1.728567 1.673617 1.445792 2*1 2.080044 2.800342 2.844341 2.508779 2.684211 3.268764 3.863961 4.325327 4.396613 4.386451 4.402678 4.457894 2.778032 2.598152 2.366562 2.188871 2.026918 1.990858 1.825245 1.648329 1.331814 1 1.283296 2.124272 2.946945 2.769561 2.459915 2.507211 2.956166 3.477066 3.875308 4.088429 4.198081 4.270152 4.341924 2.553066 2.430308 2.253211 2.087466 1.953091 1.925687 1.872382 1.770857 1.57547 1.592315 1.882646 2.290417 2.670028 2.598208 2.363822 2.37054 2.76177 3.175828 3.531243 3.797715 3.968414 4.092914 4.187397 2.338879 2.258896 2.102074 1.968425 1.863303 1.805569 1.824959 1.813131 1.893613 2.14186 2.440608 2.484222 2.492024 2.420513 2.296077 2.350089 2.621135 2.965757 3.323678 3.558085 3.753997 3.905254 4.032728 2.166086 2.075437 1.951448 1.851303 1.772673 1.73261 1.746595 1.849181 1.993556 2.23248 2.452016 2.407133 2.311177 2.260605 2.225663 2.325648 2.531824 2.823479 3.152667 3.381511 3.592278 3.766305 3.918 1.959427 1.888388 1.812608 1.728586 1.692601 1.66582 1.701809 1.777906 1.89808 2.042591 2.087874 2.083898 2.137128 2.153572 2.1221 2.265231 2.492656 2.725706 3.021031 3.269414 3.475323 3.655213 3.831862 1.761734 1.708234 1.65581 1.610484 1.582729 1.58914 1.618338 1.681101 1.762904 1.817578 1.799902 1.807942 1.906458 1.977741 2.081215 2.215287 2.423348 2.660596 2.921856 3.171027 3.388565 3.576039 3.758025 1.57302 1.536256 1.510493 1.489494 1.470608 1.487375 1.51654 1.561814 1.605831 1.635756 1.659407 1.701138 1.783271 1.897295 2.036641 2.173901 2.381599 2.619002 2.856965 3.10215 3.324324 3.537924 3.698205 1.392342 1.369974 1.361467 1.354839 1.360325 1.378804 1.409584 1.447863 1.478214 1.511421 1.546361 1.604764 1.700187 1.828448 1.987434 2.137896 2.36571 2.588995 2.82711 3.064285 3.285588 3.491187 3.680074 1.217672 1.213979 1.212587 1.232072 1.244684 1.27651 1.303068 1.339118 1.368707 1.423185 1.467443 1.532238 1.620254 1.759948 1.932784 2.105171 2.331961 2.559928 2.79845 3.035402 3.262403 3.466613 3.658492 1.048471 1.054863 1.081153 1.100286 1.125903 1.161432 1.200482 1.239883 1.27689 1.324875 1.387604 1.452113 1.564928 1.709776 1.88235 2.075858 2.299972 2.537902 2.783121 3.02372 3.250579 3.463953 3.634409 5.028269 5.060425 5.082726 5.109893 5.144468 5.202128 5.277707 5.428493 5.576146 5.724226 5.414917 4.609889 3.721888 2.761391 2.035491 1.932769 1.840743 1.727707 1.659324 1.69192 1.994379 2.390134 2.75686 4.905484 4.914237 4.925928 4.943091 4.980629 5.081906 5.190619 5.325858 5.434503 5.47158 5.196226 4.604154 3.815386 2.890875 2.157228 1.958691 1.74628 1.516728 1.403251 1.508117 1.831717 2.315635 2.84108 4.770484 4.762676 4.746169 4.753606 4.775777 4.879207 4.98672 5.090905 5.201292 5.224435 5.04018 4.664482 4.108874 3.469825 2.813718 2.323834 1.848315 1.349634 1.171884 1.303604 1.784032 2.428811 3.135444 4.639522 4.599951 4.548199 4.526661 4.53583 4.605821 4.683131 4.804477 4.937484 4.998632 4.985923 4.824309 4.511558 4.119858 3.52728 2.830103 1.952604 1.269197 1 1.08841 1.802713 2.757035 3.555331 4.498773 4.426251 4.325686 4.272224 4.248505 4.245028 4.285829 4.472751 4.654496 4.818874 4.967381 5.04006 4.917427 4.737149 4.317376 3.297255 2.275173 1.30372 2*1 2.064328 3.219552 4.178215 4.323797 4.222832 4.131551 3.999319 3.925842 3.854652 3.899235 4.087857 4.356363 4.664469 4.926986 5.095433 5.046123 4.997785 4.767018 3.800824 2.80436 1.812374 1 1.218452 2.725952 3.906316 4.952837 4.120459 4.020404 3.882625 3.736136 3.597281 3.485254 3.472905 3.819109 4.194839 4.58227 4.867258 5.05269 5.067723 4.902715 4.626022 4.007487 3.348307 2.844083 2.746787 3.363842 3.928356 4.672914 5.390957 3.888017 3.785257 3.658535 3.511771 3.389594 3.290822 3.313733 3.691073 4.10389 4.489966 4.846175 4.99875 4.970462 4.811654 4.505353 4.142049 3.836393 3.775304 4.278469 5.139618 4.912589 5.082279 5.429242 3.665985 3.566724 3.43339 3.316247 3.220284 3.209608 3.352307 3.670847 4.072481 4.490015 4.870048 4.930393 4.8574 4.733359 4.49303 4.311895 4.130828 4.174262 4.467677 4.834616 4.941386 5.100029 5.293326 3.466173 3.366249 3.254305 3.129271 3.060656 3.112355 3.294809 3.622115 3.95757 4.3453 4.67194 4.711477 4.708594 4.641856 4.479512 4.325648 4.264328 4.284563 4.250852 4.370105 4.642488 4.831273 5.013999 3.280193 3.176271 3.069034 2.969978 2.921009 2.934669 3.090245 3.359862 3.658675 3.983383 4.257759 4.387042 4.408265 4.440239 4.359295 4.159586 4.150682 4.201069 4.165138 4.142603 4.330647 4.485778 4.66176 3.094475 3.007296 2.894398 2.821211 2.776057 2.746801 2.83737 2.960399 3.159041 3.540581 3.90907 4.044389 4.024737 3.984317 3.814822 3.749242 3.911035 4.173742 4.339828 4.342791 4.281942 4.323956 4.375973 2.927317 2.843766 2.731889 2.634673 2.54698 2.525716 2.571733 2.674008 2.778386 3.337335 3.749975 3.811059 3.672185 3.393901 3.111752 3.153141 3.57518 4.119098 4.614569 4.417747 4.267629 4.173292 4.181363 2.774879 2.680034 2.566667 2.454811 2.351745 2.292141 2.322617 2.491485 2.892932 3.555726 3.746885 3.604612 3.353305 2.954735 2.456845 2.641113 3.252903 3.820915 4.222487 4.182963 4.06341 3.986284 3.954791 2.614622 2.526164 2.40667 2.296002 2.195884 2.122289 2.092695 2.361806 2.899369 3.383228 3.573075 3.417309 3.111522 2.725224 2.482142 2.605034 2.943297 3.331147 3.613595 3.708405 3.713681 3.698544 3.700572 2.463279 2.382022 2.256461 2.141303 2.044856 1.968814 1.964349 2.292249 2.772231 3.211918 3.371918 3.126345 2.724486 2.411021 2.412206 2.521418 2.590139 2.813375 3.047503 3.211124 3.287276 3.337719 3.374136 2.306732 2.23161 2.107543 1.999969 1.904314 1.86074 1.89925 2.18264 2.581481 3.033761 3.229109 2.6359 2.151542 1.863899 1.779297 1.897855 2.029229 2.258637 2.54965 2.72471 2.849701 2.947525 3.032024 2.172992 2.078489 1.959255 1.855066 1.768977 1.727437 1.777911 1.929348 2.153515 2.384236 2.347456 1.780105 1.346817 1.032588 1 1.039799 1.3664 1.696582 2.044665 2.271086 2.447685 2.595639 2.732974 2.025568 1.927159 1.830459 1.713683 1.62606 1.557071 1.584283 1.619705 1.62755 1.508481 1.102641 6*1 1.211897 1.593174 1.880822 2.09645 2.292749 2.467319 1.887565 1.787576 1.695923 1.583872 1.478666 1.449248 1.380904 1.305946 1.168611 9*1 1.235718 1.552287 1.810311 2.025905 2.223166 1.755028 1.655841 1.578809 1.485659 1.356184 1.296574 1.189388 1.04404 11*1 1.30732 1.579082 1.829691 2.009583 1.636163 1.538295 1.467972 1.372153 1.27429 1.161907 1.029361 12*1 1.134242 1.403147 1.644762 1.861482 1.532425 1.460267 1.369143 1.296973 1.185358 1.078806 13*1 1.014546 1.291868 1.516891 1.738299 1.445132 1.373178 1.317793 1.226464 1.119252 1.007253 13*1 1.00165 1.212266 1.435186 1.61681 8*1 1.286372 1.62551 1.623888 1.257212 4*1 1.58372 2.248809 2.826445 3.334769 3.739904 4.085456 4.383983 7*1 1.078192 1.464556 1.780016 1.824445 1.636727 1.292437 2*1 1.397481 2.097585 2.729409 3.256467 3.725743 4.073601 4.387772 4.645391 7*1 1.205064 1.681018 2.025082 2.156242 2.144044 2.035285 1.884906 1.989248 2.38276 2.872019 3.355494 3.79787 4.123263 4.442299 4.698363 4.860721 7*1 1.446982 1.985723 2.321317 2.589457 2.74513 2.870587 2.990567 3.194527 3.407003 3.694404 4.028525 4.371831 4.615998 4.84144 4.973435 5.124513 6*1 1.158303 1.842523 2.389852 2.762894 3.070862 3.327868 3.573853 3.959111 4.320539 4.307987 4.384282 4.620511 4.933136 5.113557 5.18435 5.293479 5.389962 5*1 1.234787 1.798622 2.342931 2.834255 3.25297 3.568102 3.787731 4.075653 4.489782 4.867462 4.706465 4.721785 4.95365 5.33179 5.50538 5.481872 5.529103 5.608327 4*1 1.3373 1.868966 2.488097 2.901432 3.281932 3.670702 3.978706 4.123363 4.315364 4.474081 4.606335 4.614512 4.731505 4.960416 5.333528 5.582071 5.544957 5.545617 5.57961 2*1 1.015563 1.298969 1.727381 2.278839 2.873385 3.245785 3.605285 3.96324 4.315239 4.380486 4.408267 4.341279 4.198714 4.264922 4.459292 4.69164 5.002885 5.313319 5.269458 5.292992 5.346241 1 1.020089 1.259265 1.56335 1.948343 2.427725 2.930333 3.35682 3.75935 4.176038 4.587018 4.568127 4.471452 4.246296 4.055926 4.080487 4.20245 4.267112 4.334791 4.469885 4.655623 4.920021 5.073703 1.003102 1.192178 1.411181 1.71863 2.047661 2.446514 2.877966 3.323505 3.684755 4.041866 4.45869 4.497277 4.416852 4.359345 4.197326 4.041145 3.951982 3.848693 3.667548 3.641624 4.117197 4.505055 4.836142 1.144968 1.322501 1.5391 1.790469 2.066381 2.322267 2.614805 2.95467 3.248864 3.626541 3.998061 4.219896 4.299956 4.389854 4.262597 3.915599 3.777873 3.684329 3.468596 3.432148 3.931831 4.350043 4.654834 1.239329 1.431374 1.624746 1.817334 2.080027 2.242321 2.414353 2.495679 2.56423 3.046629 3.634248 3.9095 3.963423 3.886854 3.736928 3.577697 3.659893 3.824337 3.917164 3.961524 4.101468 4.37157 4.630019 1.283181 1.46056 1.646313 1.844869 2.023127 2.202833 2.320665 2.326577 2.157171 2.918272 3.615027 3.638806 3.513449 3.285997 3.007174 3.093586 3.538315 4.062199 4.525345 4.415097 4.40009 4.473489 4.631424 1.286098 1.464615 1.668644 1.872026 2.049384 2.213642 2.375836 2.518785 2.826431 3.675395 3.841136 3.574506 3.251358 2.917575 2.475056 2.781174 3.510085 4.127398 4.559308 4.583985 4.552033 4.5717 4.661538 1.288881 1.450887 1.669623 1.869768 2.104871 2.326837 2.570971 2.840403 3.213905 3.682905 3.834209 3.593556 3.18391 2.983823 2.889319 3.137443 3.616451 4.107606 4.434417 4.560317 4.611363 4.634549 4.688162 1.296186 1.440618 1.647681 1.879507 2.130791 2.379415 2.694299 3.036422 3.330337 3.678279 3.838277 3.701602 3.462926 3.363645 3.471572 3.663726 3.926509 4.191959 4.404036 4.535863 4.598519 4.634662 4.670806 1.316706 1.468641 1.636172 1.847202 2.116867 2.384189 2.669615 3.006958 3.365956 3.730333 3.939292 3.772996 3.689328 3.748133 3.884535 4.067157 4.172115 4.31109 4.44847 4.507936 4.566635 4.598493 4.635316 1.325018 1.479495 1.635183 1.828635 2.045865 2.293772 2.574226 2.860679 3.176481 3.494207 3.694787 3.657502 3.742896 3.950165 4.188638 4.330534 4.344474 4.406256 4.486204 4.510269 4.563931 4.601441 4.636621 1.328566 1.469313 1.633798 1.789505 1.97681 2.193346 2.436469 2.676443 2.921996 3.115054 3.227022 3.330336 3.606409 3.952475 4.359724 4.425698 4.436009 4.446408 4.497118 4.543532 4.570944 4.594566 4.661349 1.326048 1.452472 1.585361 1.723435 1.885819 2.077713 2.277208 2.477508 2.656632 2.807423 2.873019 3.061799 3.447224 3.815875 4.136178 4.291972 4.367045 4.423652 4.474557 4.525096 4.564543 4.613809 4.678179 1.299922 1.412594 1.519766 1.658739 1.776556 1.941938 2.113516 2.277283 2.432205 2.566301 2.714034 2.957935 3.275828 3.619028 3.917215 4.110762 4.254107 4.354451 4.413587 4.492475 4.570685 4.642991 4.687885 1.261466 1.358743 1.441091 1.551482 1.66548 1.792399 1.94387 2.109792 2.245421 2.402431 2.578233 2.822955 3.116994 3.429908 3.719307 3.936506 4.125339 4.261851 4.376892 4.477891 4.561692 4.645269 4.715826 1.211806 1.27339 1.355482 1.435407 1.548823 1.676051 1.796514 1.939275 2.086756 2.274388 2.460807 2.685539 2.953041 3.249897 3.538661 3.778336 3.987653 4.158927 4.308628 4.439804 4.546832 4.638274 4.715466 1.151843 1.198148 1.246623 1.326932 1.428289 1.539692 1.666966 1.803739 1.949584 2.125659 2.324616 2.542315 2.80179 3.083055 3.369468 3.629792 3.826717 4.023208 4.206846 4.374316 4.520959 4.629494 4.709802 1.345783 1.452078 1.629164 1.801783 1.898754 1.819339 1.582883 1.336304 8*1 1.563838 2.204994 2.747649 3.184415 3.427064 3.573947 3.682675 1.323856 1.556712 1.839869 2.150295 2.423383 2.450089 2.253152 1.895968 1.376986 6*1 1.511311 2.235033 2.859455 3.336606 3.692397 3.845307 3.927724 3.949701 1.218167 1.524386 1.965112 2.476906 2.926626 3.077054 2.825912 2.297039 1.913138 1.642801 1.51088 1.425484 1.569453 1.783087 2.143972 2.638564 3.166038 3.661714 4.030983 4.19344 4.273013 4.247402 4.102816 1 1.415379 1.935427 2.544478 3.273266 3.715516 3.089021 2.583936 2.304655 2.127667 2.160571 2.209688 2.53838 2.97304 3.428046 3.732525 4.088271 4.445395 4.735974 4.795445 4.716324 4.455702 4.280401 1 1.161379 1.71093 2.282999 2.921061 3.239628 2.761974 2.484472 2.467057 2.530637 2.694635 2.936877 3.349971 3.993228 4.601193 4.641812 4.764625 5.076622 5.428892 5.401275 5.037146 4.706891 4.407656 2*1 1.298806 1.735564 2.036181 1.968186 1.82198 2.003578 2.423639 2.83067 3.14692 3.461648 3.834635 4.417193 4.963683 4.800415 4.891017 5.266286 5.825747 5.785225 5.27284 4.843909 4.456521 3*1 1.150152 1.123972 2*1 1.505279 2.399869 3.073863 3.529683 3.821223 3.958563 4.07655 4.203162 4.298539 4.578961 4.96593 5.429121 5.531099 5.178347 4.784661 4.417668 7*1 1.50034 2.62045 3.417953 3.937024 4.060139 3.882396 3.577428 3.233145 3.463384 3.923683 4.358972 4.731632 4.952465 4.754553 4.516966 4.294225 6*1 1.191855 2.098312 3.03254 3.808656 4.43249 4.237537 3.797271 3.169221 2.749054 2.951408 3.404691 3.699071 3.87667 4.010177 4.092057 4.175912 4.135893 5*1 1.083644 1.731049 2.728397 3.470118 4.026665 4.462752 4.214643 3.605452 3.137847 2.814533 2.857327 3.049913 3.173686 3.156833 3.170417 3.58517 3.850453 4.021155 5*1 1.263264 1.862087 2.675376 3.257798 3.633365 4.031292 4.012508 3.682054 3.208265 2.868202 2.891472 3.031195 3.139046 3.041676 3.050117 3.522774 3.84848 4.002784 4*1 1.01172 1.184611 1.55364 2.046329 2.406458 3.087289 3.695014 3.852362 3.653549 3.281203 3.008478 3.009777 3.193618 3.492791 3.666543 3.693201 3.812614 4.007342 4.178329 5*1 1.067491 1.229836 1.489313 1.722807 2.790027 3.640659 3.769953 3.669311 3.352845 3.05255 2.991076 3.268773 3.852034 4.472291 4.242773 4.167961 4.2457 4.33632 2*1 1.002391 1.06165 1.079057 2*1 1.228374 1.852448 3.155651 3.61563 3.708974 3.733917 3.252103 2.750247 2.607939 2.951487 3.660905 4.31834 4.429294 4.422697 4.456449 4.571099 1.037488 1.110881 1.179364 1.253337 1.227607 1.010368 2*1 1.505489 2.231861 2.751259 3.160379 3.649918 2.786511 1.878906 1.663348 2.293681 3.183876 3.881455 4.29159 4.479709 4.626857 4.769064 1.224641 1.316424 1.426039 1.512888 1.523219 1.321444 1.0022 1 1.124409 1.295403 1.638146 2.27335 2.661362 2.160406 2*1 1.889332 2.892702 3.655387 4.194051 4.531334 4.763265 4.94008 1.418353 1.547684 1.742331 1.911122 1.950453 1.994684 1.822136 1.459518 1.140817 2*1 1.67553 2.342206 2.298756 1.669161 1.57928 2.290058 3.079878 3.790761 4.233827 4.602901 4.87689 5.117245 1.584369 1.749094 1.972803 2.193621 2.426505 2.669876 2.667052 2.058396 1.565691 1.105863 1.122914 2.111059 2.805054 3.150604 3.265856 3.184117 3.222986 3.604685 4.108806 4.466816 4.817843 5.094102 5.316051 1.719603 1.903132 2.118178 2.382963 2.660107 2.90897 2.883469 2.527287 2.24751 2.160121 2.615986 3.288272 3.666285 4.092595 4.67026 4.369755 4.172053 4.204987 4.507091 4.799068 5.087525 5.316268 5.532651 1.808232 1.998791 2.208033 2.474175 2.733184 2.867835 2.942182 2.903026 2.829218 2.984131 3.59227 4.154703 4.334704 4.585002 4.84755 4.813694 4.69908 4.705172 4.870303 5.106904 5.34904 5.544665 5.746271 1.848802 2.036588 2.223605 2.431308 2.708139 2.844848 2.973034 3.057455 3.163439 3.397081 3.797845 4.229519 4.473409 4.712476 4.907826 4.965656 4.9796 5.016783 5.162724 5.364058 5.554428 5.757984 5.946624 1.842318 2.022672 2.1937 2.39459 2.600187 2.773917 2.940715 3.115841 3.244951 3.489612 3.788183 4.128832 4.415193 4.666447 4.877854 5.009473 5.072727 5.20394 5.36983 5.56224 5.761611 5.946309 6.135976 1.794484 1.943528 2.117364 2.270739 2.478507 2.652159 2.860475 3.03053 3.20012 3.387194 3.673527 3.929688 4.255082 4.526396 4.774558 4.976705 5.116478 5.302223 5.501752 5.711503 5.890728 6.104329 6.292547 1.710144 1.842705 1.956284 2.128111 2.318564 2.502746 2.710244 2.88609 3.038591 3.247724 3.500045 3.738143 3.992416 4.268838 4.573133 4.865942 4.982522 5.200508 5.454773 5.729947 6.001513 6.237294 6.429894 / MULTX 1209*1 3*0.1 20*1 3*0.1 526*1 3*0.1 20*1 3*0.1 241*1 3*0.01 20*1 3*0.01 20*1 3*0.01 503*1 3*0.01 20*1 3*0.01 20*1 3*0.01 503*1 3*0.01 20*1 3*0.01 20*1 3*0.01 503*1 3*0.01 20*1 3*0.01 20*1 3*0.01 131*1 / MULTY 1209*1 3*0.1 20*1 3*0.1 526*1 3*0.1 20*1 3*0.1 2077*1 / MULTZ 657*1 3*0.01 20*1 3*0.01 180*1 4*0.08 19*1 5*0.08 19*1 4*0.08 295*1 3*0.01 20*1 3*0.01 20*1 3*0.01 20*1 3*0.01 20*1 3*0.01 111*1 4*0.08 19*1 5*0.08 14*1 3*0.03 2*1 4*0.08 10*1 3*0.005 1 3*0.03 16*1 3*0.005 1 3*0.03 16*1 3*0.005 236*1 3*0.01 20*1 3*0.01 20*1 3*0.01 20*1 3*0.01 20*1 3*0.01 111*1 4*0.08 19*1 5*0.08 14*1 3*0.03 2*1 4*0.08 10*1 3*0.005 1 3*0.03 16*1 3*0.005 1 3*0.03 16*1 3*0.005 236*1 3*0.01 20*1 3*0.01 180*1 4*0.05 19*1 5*0.05 14*1 3*0.03 2*1 4*0.05 10*1 3*0.01 1 3*0.03 16*1 3*0.01 1 3*0.03 16*1 3*0.01 236*1 3*0.01 20*1 3*0.01 222*1 3*0.03 16*1 3*0.01 1 3*0.03 16*1 3*0.01 1 3*0.03 16*1 3*0.01 484*1 3*0.03 16*1 3*0.01 1 3*0.03 16*1 3*0.01 1 3*0.03 16*1 3*0.01 131*1 / MULTX- 3864*1 / MULTY- 3864*1 / MULTZ- 3864*1 / MULTPV 593*1 55 22*1 3*55 22*1 2*55 22*1 55 22*1 2*55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 21*1 2*55 21*1 55 22*1 55 21*1 2*55 21*1 55 22*1 55 21*1 2*55 9*1 2*55 6*1 5*55 11*1 8*55 48*1 55 22*1 3*55 22*1 2*55 22*1 55 22*1 2*55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 21*1 2*55 21*1 55 22*1 55 21*1 2*55 21*1 55 22*1 55 21*1 2*55 9*1 2*55 6*1 5*55 11*1 8*55 48*1 55 22*1 3*55 22*1 2*55 22*1 55 22*1 2*55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 21*1 2*55 21*1 55 22*1 55 21*1 2*55 21*1 55 22*1 55 21*1 2*55 9*1 2*55 6*1 5*55 11*1 8*55 48*1 55 22*1 3*55 22*1 2*55 22*1 55 22*1 2*55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 21*1 2*55 21*1 55 22*1 55 21*1 2*55 21*1 55 22*1 55 21*1 2*55 9*1 2*55 6*1 5*55 11*1 8*55 48*1 55 22*1 3*55 22*1 2*55 22*1 55 22*1 2*55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 21*1 2*55 21*1 55 22*1 55 21*1 2*55 21*1 55 22*1 55 21*1 2*55 9*1 2*55 6*1 5*55 11*1 8*55 48*1 55 22*1 3*55 22*1 2*55 22*1 55 22*1 2*55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 22*1 55 21*1 2*55 21*1 55 22*1 55 21*1 2*55 21*1 55 22*1 55 21*1 2*55 9*1 2*55 6*1 5*55 11*1 8*55 7*1 / ACTNUM 579*0 15*1 7*0 18*1 4*0 20*1 2*0 21*1 2*0 22*1 0 22*1 0 22*1 0 137*1 0 22*1 0 22*1 0 21*1 2*0 21*1 3*0 20*1 3*0 19*1 4*0 19*1 5*0 18*1 7*0 15*1 11*0 8*1 34*0 15*1 7*0 18*1 4*0 20*1 2*0 21*1 2*0 22*1 0 22*1 0 22*1 0 137*1 0 22*1 0 22*1 0 21*1 2*0 21*1 3*0 20*1 3*0 19*1 4*0 19*1 5*0 18*1 7*0 15*1 11*0 8*1 34*0 15*1 7*0 18*1 4*0 20*1 2*0 21*1 2*0 22*1 0 22*1 0 22*1 0 129*1 3*0 5*1 0 14*1 3*0 5*1 0 22*1 0 21*1 2*0 21*1 3*0 20*1 3*0 19*1 4*0 19*1 5*0 18*1 7*0 15*1 11*0 8*1 34*0 15*1 7*0 18*1 4*0 20*1 2*0 21*1 2*0 22*1 0 22*1 0 22*1 0 137*1 0 22*1 0 22*1 0 21*1 2*0 21*1 3*0 12*1 0 7*1 3*0 9*1 5*0 5*1 4*0 9*1 5*0 5*1 5*0 9*1 4*0 5*1 7*0 7*1 4*0 4*1 11*0 7*1 35*0 15*1 7*0 18*1 4*0 20*1 2*0 21*1 2*0 22*1 0 22*1 0 22*1 0 137*1 0 22*1 0 22*1 0 21*1 2*0 21*1 3*0 20*1 3*0 19*1 4*0 19*1 5*0 18*1 7*0 15*1 11*0 8*1 34*0 15*1 7*0 18*1 4*0 20*1 2*0 21*1 2*0 22*1 0 22*1 0 22*1 0 137*1 0 22*1 0 22*1 0 21*1 2*0 21*1 3*0 20*1 3*0 19*1 4*0 19*1 5*0 18*1 7*0 15*1 11*0 8*1 7*0 /
[ [ [ 1, 7120 ] ] ]
d72f01d351e1cce3f9b0f3b81c641c0a3b5d92a9
9bee84b14afb3c746f093edce6710c48003f3405
/ActiveContoursWithoutEdges/BasicFilters/Dense/itkMultiphaseDenseSegmentationFiniteDifferenceImageFilter.h
6d97879675d0b024d008ec5238273c5c23877e77
[]
no_license
midas-journal/midas-journal-642
e5479b9c22be4506dcf16188c4b37cd4143bf4b4
80ff0a5866b2b3a77c43439e752c285fe832cf76
refs/heads/master
2020-05-01T06:40:23.235332
2011-08-22T13:24:51
2011-08-22T13:24:51
2,248,632
2
0
null
null
null
null
UTF-8
C++
false
false
7,822
h
#ifndef __itkMultiphaseDenseSegmentationFiniteDifferenceImageFilter_h_ #define __itkMultiphaseDenseSegmentationFiniteDifferenceImageFilter_h_ #include "itkMultiphaseFiniteDifferenceImageFilter.h" #include "itkBinaryThresholdImageFilter.h" #include "itkSignedMaurerDistanceMapImageFilter.h" #include <list> #include "itkImageRegionConstIterator.h" #include "itkImageRegionIterator.h" #include "itkNumericTraits.h" #include "itkNeighborhoodAlgorithm.h" namespace itk { /** * \class DenseSegmentationFiniteDifferenceImageFilter * * This filter implements a layer of the finite difference solver hierarchy that * performs ``dense'' iteration, ie. iteration over all pixels in the input and * output at each change calculation and update step. Dense iteration is in * contrast to a ``sparse'' iteration over a subset of the pixels. See * documentation for FiniteDifferenceImageFilter for an overview of the * iterative finite difference algorithm: * * \par * \f$u_{\mathbf{i}}^{n+1}=u^n_{\mathbf{i}}+\Delta u^n_{\mathbf{i}}\Delta t\f$ * * \par * The generic code for performing iterations and updates at each time * step is inherited from the parent class. This class defines an update * buffer for \f$ \Delta \f$ and the methods CalculateChange() and * ApplyUpdate(). These methods are designed to automatically thread their * execution. \f$ \Delta \f$ is defined as an image of identical size and type * as the output image. * * \par * As we descend through each layer in the hierarchy, we know more and more * about the specific application of our filter. At this level, we * have committed to iteration over each pixel in an image. We take advantage * of that knowledge to multithread the iteration and update methods. * * \par Inputs and Outputs * This is an image to image filter. The specific types of the images are not * fixed at this level in the hierarchy. * * \par How to use this class * This filter is only one layer in a branch the finite difference solver * hierarchy. It does not define the function used in the CalculateChange() and * it does not define the stopping criteria (Halt method). To use this class, * subclass it to a specific instance that supplies a function and Halt() * method. * * \ingroup ImageFilters * \sa FiniteDifferenceImageFilter */ template < class TInputImage, class TOutputImage, class TFunction > class ITK_EXPORT DenseSegmentationFiniteDifferenceImageFilter : public MultiphaseFiniteDifferenceImageFilter<TInputImage, TOutputImage, TFunction > { public: /** Standard class typedefs */ typedef DenseSegmentationFiniteDifferenceImageFilter Self; typedef MultiphaseFiniteDifferenceImageFilter< TInputImage, TOutputImage, TFunction > Superclass; typedef SmartPointer<Self> Pointer; typedef SmartPointer<const Self> ConstPointer; /** Run-time type information (and related methods) */ itkTypeMacro( DenseSegmentationFiniteDifferenceImageFilter, ImageToImageFilter ); /** Convenient typedefs */ typedef typename Superclass::InputImageType InputImageType; typedef typename Superclass::InputSizeType InputSizeType; typedef typename Superclass::InputImagePointer InputImagePointer; typedef typename Superclass::InputRegionType InputRegionType; typedef typename Superclass::InputSpacingType InputSpacingType; typedef typename Superclass::InputPointType InputPointType; typedef typename Superclass::OutputImageType OutputImageType; typedef typename Superclass::OutputImagePointer OutputImagePointer; typedef typename Superclass::OutputRegionType OutputRegionType; typedef typename Superclass::OutputSizeType OutputSizeType; typedef typename Superclass::OutputSizeValueType SizeValueType; typedef typename Superclass::OutputIndexType OutputIndexType; typedef typename Superclass::OutputIndexValueType OutputIndexValueType; typedef typename OutputImageType::PixelType OutputPixelType; typedef OutputImageType UpdateBufferType; typedef ImageRegionIterator<UpdateBufferType> UpdateIteratorType; typedef typename Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType; /** Dimensionality of input and output data is assumed to be the same. * It is inherited from the superclass. */ itkStaticConstMacro(ImageDimension, unsigned int,Superclass::ImageDimension); /** The pixel type of the output image will be used in computations. * Inherited from the superclass. */ typedef typename Superclass::PixelType PixelType; /** The value type of a time step. Inherited from the superclass. */ typedef typename Superclass::TimeStepType TimeStepType; /** The container type for the update buffer. */ typedef typename FiniteDifferenceFunctionType::NeighborhoodType NeighborhoodIteratorType; typedef NeighborhoodAlgorithm::ImageBoundaryFacesCalculator< OutputImageType > FaceCalculatorType; typedef typename FaceCalculatorType::FaceListType FaceListType; #ifdef ITK_USE_CONCEPT_CHECKING /** Begin concept checking */ itkConceptMacro(OutputTimesDoubleCheck, (Concept::MultiplyOperator<PixelType, double>)); itkConceptMacro(OutputAdditiveOperatorsCheck, (Concept::AdditiveOperators<PixelType>)); itkConceptMacro(InputConvertibleToOutputCheck, (Concept::Convertible<typename TInputImage::PixelType, PixelType>)); /** End concept checking */ #endif protected: DenseSegmentationFiniteDifferenceImageFilter() { reinitCounter = 1; updateCounter = 0; } ~DenseSegmentationFiniteDifferenceImageFilter() { delete [] m_UpdateBuffers; } void SetFunctionCount( unsigned int n ) { Superclass::SetFunctionCount( n ); m_UpdateBuffers = new UpdateBufferPtr[n]; for( unsigned int i = 0; i < this->m_FunctionCount; i++ ) { m_UpdateBuffers[i] = UpdateBufferType::New(); } } /** A simple method to copy the data from the input to the output. ( Supports * "read-only" image adaptors in the case where the input image type converts * to a different output image type. ) */ virtual void CopyInputToOutput(); virtual void PostProcessOutput(); /** This method applies changes from the m_UpdateBuffer to the output using * the ThreadedApplyUpdate() method and a multithreading mechanism. "dt" is * the time step to use for the update of each pixel. */ virtual void ApplyUpdate(TimeStepType dt); unsigned int reinitCounter; unsigned int updateCounter; private: DenseSegmentationFiniteDifferenceImageFilter(const Self&); void operator=(const Self&); //purposely not implemented /** The type of region used for multithreading */ typedef typename UpdateBufferType::RegionType ThreadRegionType; /** This method allocates storage in m_UpdateBuffer. It is called from * Superclass::GenerateData(). */ virtual void AllocateUpdateBuffer(); /** This method populates an update buffer with changes for each pixel in the * output using the ThreadedCalculateChange() method and a multithreading * mechanism. Returns value is a time step to be used for the update. */ virtual TimeStepType CalculateChange(); /** The buffer that holds the updates for an iteration of the algorithm. */ typedef typename UpdateBufferType::Pointer UpdateBufferPtr; typedef BinaryThresholdImageFilter< OutputImageType, OutputImageType > ThresholdFilterType; typedef SignedMaurerDistanceMapImageFilter< OutputImageType, OutputImageType > MaurerType; UpdateBufferPtr *m_UpdateBuffers; }; }// end namespace itk #ifndef ITK_MANUAL_INSTANTIATION #include "itkMultiphaseDenseSegmentationFiniteDifferenceImageFilter.txx" #endif #endif
[ [ [ 1, 199 ] ] ]
8450148252462320b5a015b4635ddd605172f8a3
91b964984762870246a2a71cb32187eb9e85d74e
/SRC/OFFI SRC!/_Common/testcase.cpp
93f64f116eced0f618507a32114d6bf9e6586aaf
[]
no_license
willrebuild/flyffsf
e5911fb412221e00a20a6867fd00c55afca593c7
d38cc11790480d617b38bb5fc50729d676aef80d
refs/heads/master
2021-01-19T20:27:35.200154
2011-02-10T12:34:43
2011-02-10T12:34:43
32,710,780
3
0
null
null
null
null
UTF-8
C++
false
false
591
cpp
#include "stdafx.h" #include "testcase.h" ITestCase::ITestCase() { CTestCaseMgr::Instance()->AddTest( this ); } CTestCaseMgr::~CTestCaseMgr() { Clear(); } void CTestCaseMgr::Clear() { m_vTestCases.clear(); } void CTestCaseMgr::AddTest( ITestCase* pTestCase ) { m_vTestCases.push_back( pTestCase ); } CTestCaseMgr* CTestCaseMgr::Instance() { static CTestCaseMgr sTestCaseMgr; return &sTestCaseMgr; } void CTestCaseMgr::Test() { BOOL bResult = TRUE; for( VTC::iterator i = m_vTestCases.begin(); i != m_vTestCases.end(); ++i ) (*i)->Test(); }
[ "[email protected]@e2c90bd7-ee55-cca0-76d2-bbf4e3699278" ]
[ [ [ 1, 35 ] ] ]
0949d9ed690ec77e11aa0a5a1a9936ae7601fc6d
a96b15c6a02225d27ac68a7ed5f8a46bddb67544
/SetGame/GazaLogger.hpp
2313cceb71891c595c78204e7a2e7ce167b13b77
[]
no_license
joelverhagen/Gaza-2D-Game-Engine
0dca1549664ff644f61fe0ca45ea6efcbad54591
a3fe5a93e5d21a93adcbd57c67c888388b402938
refs/heads/master
2020-05-15T05:08:38.412819
2011-04-03T22:22:01
2011-04-03T22:22:01
1,519,417
3
0
null
null
null
null
UTF-8
C++
false
false
411
hpp
#ifndef GAZALOGGER_HPP #define GAZALOGGER_HPP #include "GazaUtility.hpp" #include <string> #include <fstream> #include <iostream> namespace Gaza { class Logger { public: static Logger * getInstance(); void write(const std::string &input); void write(int input); ~Logger(); private: Logger(); static Logger * instance; std::ofstream outputStream; }; } #endif
[ [ [ 1, 29 ] ] ]
9fd79106eb8cff60fd3e0c7d1e352581c9517e07
0f973718202109e95fc25240d1cec2d952225732
/Source/UnitManager/Movement/ObserverFollow.cpp
91ba7a53982f110bebb99b55c6c6f1286639a5ea
[]
no_license
RadicalZephyr/fast-ai
eeb9a7bb2357680f63f06c5d49361e274772b456
4f8b9847f6d59f0ec0fcbbdaef8b2c7291be338f
refs/heads/master
2021-01-01T19:47:08.047409
2011-09-28T01:14:48
2011-09-28T01:14:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,965
cpp
#include "ObserverFollow.h" ObserverFollow::ObserverFollow(BWAPI::Unit *unit) : m_unit(unit), m_connection() { m_connection = Signal::onFrame().connect(boost::bind(&ObserverFollow::onFrame, this)); m_following = NULL; } void ObserverFollow::onFrame(void) { if (!m_unit->exists()) { //BWAPI::Broodwar->printf("Unit has died"); delete this; return; } if (m_following && !m_following->exists()) { m_following = NULL; // Broodwar->printf("Unit to follow has died"); } BWAPI::Unit *cEnemy = cloakedEnemy(); if (!m_following && !cEnemy) { // Not currently following a unit followNewUnit(); // Broodwar->printf("Observer following new unit"); } if (cEnemy) { // Cloaked enemy is present m_following = NULL; m_unit->move(cEnemy->getPosition()); // Broodwar->printf("Observer moving to cloaked enemy"); } } void ObserverFollow::followNewUnit(void) { UnitSet myUnits = Broodwar->self()->getUnits(); UnitSet::iterator it; int distance = 999999; for (it=myUnits.begin(); it!=myUnits.end(); it++) { if ((*it)->getType() == BWAPI::UnitTypes::Protoss_Dragoon && m_unit->getDistance(*it) < distance) { distance = m_unit->getDistance(*it); m_following = (*it); } } m_unit->follow(m_following); } BWAPI::Unit *ObserverFollow::cloakedEnemy(void) { BWAPI::Unit *enemy = NULL; UnitSet enemyUnits = Broodwar->enemy()->getUnits(); UnitSet::iterator it; int distance = 999999; for (it=enemyUnits.begin(); it!=enemyUnits.end(); it++) { if (!(*it)->isDetected() && (*it)->getDistance(Position(Broodwar->self()->getStartLocation())) < distance) { distance = (*it)->getDistance(Position(Broodwar->self()->getStartLocation())); enemy = (*it); } } return enemy; }
[ [ [ 1, 66 ] ], [ [ 67, 67 ] ] ]
63f473da9936dd6be455f9d43aae417ec423bbd6
5dc6c87a7e6459ef8e832774faa4b5ae4363da99
/vis_avs/r_dcolormod.cpp
584f7fec76f25ca5f2c132b6774fbb52ac0cbb49
[]
no_license
aidinabedi/avs4unity
407603d2fc44bc8b075b54cd0a808250582ee077
9b6327db1d092218e96d8907bd14d68b741dcc4d
refs/heads/master
2021-01-20T15:27:32.449282
2010-12-24T03:28:09
2010-12-24T03:28:09
90,773,183
5
2
null
null
null
null
UTF-8
C++
false
false
11,915
cpp
/* LICENSE ------- Copyright 2005 Nullsoft, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Nullsoft nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "config.h" #include <windows.h> #include <commctrl.h> #include <math.h> #include "r_defs.h" #include "resource.h" #include "avs_eelif.h" #include "timing.h" #ifndef LASER #define C_THISCLASS C_DColorModClass #define MOD_NAME "Trans / Color Modifier" class C_THISCLASS : public C_RBASE { protected: public: C_THISCLASS(); virtual ~C_THISCLASS(); virtual int render(char visdata[2][2][SAMPLES], int isBeat, int *framebuffer, int *fbout, int w, int h); virtual char *get_desc() { return MOD_NAME; } virtual HWND conf(HINSTANCE hInstance, HWND hwndParent); virtual void load_config(unsigned char *data, int len); virtual int save_config(unsigned char *data); RString effect_exp[4]; int m_recompute; int m_tab_valid; unsigned char m_tab[768]; int AVS_EEL_CONTEXTNAME; double *var_r, *var_g, *var_b, *var_beat; int inited; int codehandle[4]; int need_recompile; CRITICAL_SECTION rcs; }; #define PUT_INT(y) data[pos]=(y)&255; data[pos+1]=(y>>8)&255; data[pos+2]=(y>>16)&255; data[pos+3]=(y>>24)&255 #define GET_INT() (data[pos]|(data[pos+1]<<8)|(data[pos+2]<<16)|(data[pos+3]<<24)) void C_THISCLASS::load_config(unsigned char *data, int len) { int pos=0; if (data[pos] == 1) { pos++; load_string(effect_exp[0],data,pos,len); load_string(effect_exp[1],data,pos,len); load_string(effect_exp[2],data,pos,len); load_string(effect_exp[3],data,pos,len); } else { char buf[1025]; if (len-pos >= 1024) { memcpy(buf,data+pos,1024); pos+=1024; buf[1024]=0; effect_exp[3].assign(buf+768); buf[768]=0; effect_exp[2].assign(buf+512); buf[512]=0; effect_exp[1].assign(buf+256); buf[256]=0; effect_exp[0].assign(buf); } } if (len-pos >= 4) { m_recompute=GET_INT(); pos+=4; } } int C_THISCLASS::save_config(unsigned char *data) { int pos=0; data[pos++]=1; save_string(data,pos,effect_exp[0]); save_string(data,pos,effect_exp[1]); save_string(data,pos,effect_exp[2]); save_string(data,pos,effect_exp[3]); PUT_INT(m_recompute); pos+=4; return pos; } C_THISCLASS::C_THISCLASS() { AVS_EEL_INITINST(); //InitializeCriticalSection(&rcs); need_recompile=1; m_recompute=1; memset(codehandle,0,sizeof(codehandle)); effect_exp[0].assign(""); effect_exp[1].assign(""); effect_exp[2].assign(""); effect_exp[3].assign(""); var_beat=0; m_tab_valid=0; } C_THISCLASS::~C_THISCLASS() { int x; for (x = 0; x < 4; x ++) { freeCode(codehandle[x]); codehandle[x]=0; } AVS_EEL_QUITINST(); //DeleteCriticalSection(&rcs); } int C_THISCLASS::render(char visdata[2][2][SAMPLES], int isBeat, int *framebuffer, int *fbout, int w, int h) { if (need_recompile) { //EnterCriticalSection(&rcs); if (!var_beat || g_reset_vars_on_recompile) { clearVars(); var_r = registerVar("red"); var_g = registerVar("green"); var_b = registerVar("blue"); var_beat = registerVar("beat"); inited=0; } need_recompile=0; int x; for (x = 0; x < 4; x ++) { freeCode(codehandle[x]); codehandle[x]=compileCode(effect_exp[x].get()); } //LeaveCriticalSection(&rcs); } if (isBeat&0x80000000) return 0; *var_beat=isBeat?1.0:0.0; if (codehandle[3] && !inited) { executeCode(codehandle[3],visdata); inited=1; } executeCode(codehandle[1],visdata); if (isBeat) executeCode(codehandle[2],visdata); if (m_recompute || !m_tab_valid) { int x; unsigned char *t=m_tab; for (x = 0; x < 256; x ++) { *var_r=*var_b=*var_g=x/255.0; executeCode(codehandle[0],visdata); int r=(int) (*var_r*255.0 + 0.5); int g=(int) (*var_g*255.0 + 0.5); int b=(int) (*var_b*255.0 + 0.5); if (r < 0) r=0; else if (r > 255)r=255; if (g < 0) g=0; else if (g > 255)g=255; if (b < 0) b=0; else if (b > 255)b=255; t[512]=r; t[256]=g; t[0]=b; t++; } m_tab_valid=1; } unsigned char *fb=(unsigned char *)framebuffer; int l=w*h; while (l--) { fb[0]=m_tab[fb[0]]; fb[1]=m_tab[(int)fb[1]+256]; fb[2]=m_tab[(int)fb[2]+512]; fb+=4; } return 0; } C_RBASE *R_DColorMod(char *desc) { if (desc) { strcpy(desc,MOD_NAME); return NULL; } return (C_RBASE *) new C_THISCLASS(); } typedef struct { char *name; char *init; char *point; char *frame; char *beat; int recompute; } presetType; static presetType presets[]= { // Name, Init, Level, Frame, Beat, Recalc {"4x Red Brightness, 2x Green, 1x Blue","","red=4*red; green=2*green;","","",0}, {"Solarization","","red=(min(1,red*2)-red)*2;\r\ngreen=red; blue=red;","","",0}, {"Double Solarization","","red=(min(1,red*2)-red)*2;\r\nred=(min(1,red*2)-red)*2;\r\ngreen=red; blue=red;","","",0}, {"Inverse Solarization (Soft)","","red=abs(red - .5) * 1.5;\r\ngreen=red; blue=red;","","",0}, {"Big Brightness on Beat","scale=1.0","red=red*scale;\r\ngreen=red; blue=red;","scale=0.07 + (scale*0.93)","scale=16",1}, {"Big Brightness on Beat (Interpolative)","c = 200; f = 0;","red = red * t;\r\ngreen=red;blue=red;","f = f + 1;\r\nt = (1.025 - (f / c)) * 5;","c = f;f = 0;",1}, {"Pulsing Brightness (Beat Interpolative)","c = 200; f = 0;","red = red * st;\r\ngreen=red;blue=red;","f = f + 1;\r\nt = (f * 2 * $PI) / c;\r\nst = sin(t) + 1;","c = f;f = 0;",1}, {"Rolling Solarization (Beat Interpolative)","c = 200; f = 0;","red=(min(1,red*st)-red)*st;\r\nred=(min(1,red*2)-red)*2;\r\ngreen=red; blue=red;","f = f + 1;\r\nt = (f * 2 * $PI) / c;\r\nst = ( sin(t) * .75 ) + 2;","c = f;f = 0;",1}, {"Rolling Tone (Beat Interpolative)","c = 200; f = 0;","red = red * st;\r\ngreen = green * ct;\r\nblue = (blue * 4 * ti) - red - green;","f = f + 1;\r\nt = (f * 2 * $PI) / c;\r\nti = (f / c);\r\nst = sin(t) + 1.5;\r\nct = cos(t) + 1.5;","c = f;f = 0;",1}, {"Random Inverse Tone (Switch on Beat)","","dd = red * 1.5;\r\nred = pow(dd, dr);\r\ngreen = pow(dd, dg);\r\nblue = pow(dd, db);","","token = rand(99) % 3;\r\ndr = if (equal(token, 0), -1, 1);\r\ndg = if (equal(token, 1), -1, 1);\r\ndb = if (equal(token, 2), -1, 1);",1}, }; static C_THISCLASS *g_this; static BOOL CALLBACK g_DlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam,LPARAM lParam) { static int isstart; switch (uMsg) { case WM_INITDIALOG: isstart=1; SetDlgItemText(hwndDlg,IDC_EDIT1,g_this->effect_exp[0].get()); SetDlgItemText(hwndDlg,IDC_EDIT2,g_this->effect_exp[1].get()); SetDlgItemText(hwndDlg,IDC_EDIT3,g_this->effect_exp[2].get()); SetDlgItemText(hwndDlg,IDC_EDIT4,g_this->effect_exp[3].get()); if (g_this->m_recompute) CheckDlgButton(hwndDlg,IDC_CHECK1,BST_CHECKED); isstart=0; return 1; case WM_COMMAND: if (LOWORD(wParam) == IDC_BUTTON1) { char *text="Color Modifier\0" "The color modifier allows you to modify the intensity of each color\r\n" "channel with respect to itself. For example, you could reverse the red\r\n" "channel, double the green channel, or half the blue channel.\r\n" "\r\n" "The code in the 'level' section should adjust the variables\r\n" "'red', 'green', and 'blue', whose value represent the channel\r\n" "intensity (0..1).\r\n" "Code in the 'frame' or 'level' sections can also use the variable\r\n" "'beat' to detect if it is currently a beat.\r\n" "\r\n" "Try loading an example via the 'Load Example' button for examples." ; } if (LOWORD(wParam)==IDC_CHECK1) { g_this->m_recompute=IsDlgButtonChecked(hwndDlg,IDC_CHECK1)?1:0; } if (LOWORD(wParam) == IDC_BUTTON4) { RECT r; HMENU hMenu; MENUITEMINFO i={sizeof(i),}; hMenu=CreatePopupMenu(); int x; for (x = 0; x < sizeof(presets)/sizeof(presets[0]); x ++) { i.fMask=MIIM_TYPE|MIIM_DATA|MIIM_ID; i.fType=MFT_STRING; i.wID = x+16; i.dwTypeData=presets[x].name; i.cch=strlen(presets[x].name); InsertMenuItem(hMenu,x,TRUE,&i); } GetWindowRect(GetDlgItem(hwndDlg,IDC_BUTTON4),&r); x=TrackPopupMenu(hMenu,TPM_LEFTALIGN|TPM_TOPALIGN|TPM_RETURNCMD|TPM_RIGHTBUTTON|TPM_LEFTBUTTON|TPM_NONOTIFY,r.right,r.top,0,hwndDlg,NULL); if (x >= 16 && x < 16+sizeof(presets)/sizeof(presets[0])) { isstart=1; SetDlgItemText(hwndDlg,IDC_EDIT1,presets[x-16].point); SetDlgItemText(hwndDlg,IDC_EDIT2,presets[x-16].frame); SetDlgItemText(hwndDlg,IDC_EDIT3,presets[x-16].beat); SetDlgItemText(hwndDlg,IDC_EDIT4,presets[x-16].init); g_this->m_recompute=presets[x-16].recompute; CheckDlgButton(hwndDlg,IDC_CHECK1,g_this->m_recompute?BST_CHECKED:0); isstart=0; SendMessage(hwndDlg,WM_COMMAND,MAKEWPARAM(IDC_EDIT4,EN_CHANGE),0); } DestroyMenu(hMenu); } if (!isstart && HIWORD(wParam) == EN_CHANGE) { if (LOWORD(wParam) == IDC_EDIT1||LOWORD(wParam) == IDC_EDIT2||LOWORD(wParam) == IDC_EDIT3||LOWORD(wParam) == IDC_EDIT4) { //EnterCriticalSection(&g_this->rcs); g_this->effect_exp[0].get_from_dlgitem(hwndDlg,IDC_EDIT1); g_this->effect_exp[1].get_from_dlgitem(hwndDlg,IDC_EDIT2); g_this->effect_exp[2].get_from_dlgitem(hwndDlg,IDC_EDIT3); g_this->effect_exp[3].get_from_dlgitem(hwndDlg,IDC_EDIT4); g_this->need_recompile=1; if (LOWORD(wParam) == IDC_EDIT4) g_this->inited = 0; g_this->m_tab_valid=0; //LeaveCriticalSection(&g_this->rcs); } } return 0; } return 0; } HWND C_THISCLASS::conf(HINSTANCE hInstance, HWND hwndParent) { g_this = this; return CreateDialog(hInstance,MAKEINTRESOURCE(IDD_CFG_COLORMOD),hwndParent,g_DlgProc); } #else C_RBASE *R_DColorMod(char *desc) { return NULL; } #endif
[ [ [ 1, 351 ] ] ]
36749b047b8b8c4ad848f86a41cc07b5f374a605
99d3989754840d95b316a36759097646916a15ea
/trunk/2011_09_07_to_baoxin_gpd/ferrylibs/src/ferry/cv_geometry/Camera.cpp
df2342107c0c355445034c55b760f70051bcbbdb
[]
no_license
svn2github/ferryzhouprojects
5d75b3421a9cb8065a2de424c6c45d194aeee09c
482ef1e6070c75f7b2c230617afe8a8df6936f30
refs/heads/master
2021-01-02T09:20:01.983370
2011-10-20T11:39:38
2011-10-20T11:39:38
11,786,263
1
0
null
null
null
null
UTF-8
C++
false
false
25
cpp
#include ".\camera.h"
[ "ferryzhou@b6adba56-547e-11de-b413-c5e99dc0a8e2" ]
[ [ [ 1, 2 ] ] ]
e43685404dbc13623610ff2e03abec3e18a09fa5
8b0840f68733f5e6ca06ca53e6afcb66341cd4ef
/HouseOfPhthah/SkyDome.cpp
7dfea50558bbb8c51484dba37bf292adf7de289a
[]
no_license
adkoba/the-house-of-phthah
886ee45ee67953cfd67e676fbccb61a12a095e20
5be2084b49fe1fbafb22545c4d31d3b6458bf90f
refs/heads/master
2021-01-18T16:04:29.460707
2010-03-20T16:32:09
2010-03-20T16:32:09
32,143,404
0
0
null
null
null
null
UTF-8
C++
false
false
4,275
cpp
#include "SkyDome.h" #include <OgreEntity.h> #include <OgreMaterialManager.h> #include <OgreRoot.h> #include "Macros.h" CSkyDomeListener::CSkyDomeListener(Camera* camera, SceneNode* skyDomeNode): mCamera(camera), mSkyDomeNode(skyDomeNode), mCaelumSystem(NULL) { //Root* root = Root::getSingletonPtr(); // SceneManager* sceneMgr = root->getSceneManager("MainScene"); // // Pick components to create in the demo. // // You can comment any of those and it should still work // // Trying to disable one of these can be useful in finding problems. // Caelum::CaelumSystem::CaelumComponent componentMask; // componentMask = static_cast<Caelum::CaelumSystem::CaelumComponent> ( // Caelum::CaelumSystem::CAELUM_COMPONENT_SUN | // Caelum::CaelumSystem::CAELUM_COMPONENT_MOON | // Caelum::CaelumSystem::CAELUM_COMPONENT_SKY_DOME | // //Caelum::CaelumSystem::CAELUM_COMPONENT_IMAGE_STARFIELD | // Caelum::CaelumSystem::CAELUM_COMPONENT_POINT_STARFIELD | // Caelum::CaelumSystem::CAELUM_COMPONENT_CLOUDS | // 0); // componentMask = Caelum::CaelumSystem::CAELUM_COMPONENTS_DEFAULT; // // Initialise CaelumSystem. // mCaelumSystem = new Caelum::CaelumSystem (root, sceneMgr, componentMask); // // Set time acceleration. // mCaelumSystem->getUniversalClock()->setTimeScale (512); // // Register caelum as a listener. //RenderWindow* mWindow = root->getAutoCreatedWindow(); // mWindow->addListener (mCaelumSystem); // Root::getSingletonPtr()->addFrameListener (mCaelumSystem); } CSkyDomeListener::~CSkyDomeListener() { // I don't want to delete these things since CSkyDome can handle it mCamera = NULL; mSkyDomeNode = NULL; if (mCaelumSystem) { mCaelumSystem->shutdown(false); mCaelumSystem = NULL; } } bool CSkyDomeListener::frameStarted(const Ogre::FrameEvent& evt) { assert(mCamera&&mSkyDomeNode&&"Problem in CSkyDomeListener::frameStarted()"); // position the skydome at camera position as frequently as possible (I should assert that SkyDomeNode exists) // trick to make the sky closer to the camera, thus player can't easily see the void under the terrain unless he's very close to the border mSkyDomeNode->setPosition(mCamera->getPosition() - Ogre::Vector3(0,50,0)); return true; } CSkyDome::CSkyDome(): mListener(NULL), mSkyDomeEntity(NULL), mEntityId(""), mMaterialName(""), mMeshName(""), mNodeId("") { } CSkyDome::CSkyDome(const CSkyDome& copy): mListener(NULL), mSkyDomeEntity(NULL), mEntityId(copy.mEntityId), mMaterialName(copy.mMaterialName), mMeshName(copy.mMeshName), mNodeId(copy.mNodeId) { } CSkyDome::~CSkyDome() { // do I have to detach it from Ogre::Root first? SAFE_DELETE( mListener ) // do I have to detach something from any tree? } void CSkyDome::createSkyDome(const Ogre::String MeshName, const Ogre::String MaterialName, const Ogre::String EntityId, const Ogre::String NodeId) { assert(MeshName!=""&&MaterialName!=""&&EntityId!=""&&NodeId!=""&&"Problem in CSkyDome::createSkyDome()"); mMaterialName = MaterialName; mMeshName = MeshName; mNodeId = NodeId; mEntityId = EntityId; Root* root = Root::getSingletonPtr(); SceneManager* sceneMgr = root->getSceneManager("MainScene"); // Destroy previous entity if (mSkyDomeEntity) sceneMgr->destroyEntity(mEntityId); // Create new sentity mSkyDomeEntity = sceneMgr->createEntity(mEntityId, mMeshName); mSkyDomeEntity->setMaterialName(mMaterialName); mSkyDomeEntity->setRenderQueueGroup(Ogre::RENDER_QUEUE_SKIES_EARLY); MaterialPtr m = MaterialManager::getSingleton().getByName(mMaterialName); // Make sure the material doesn't update the depth buffer m->setDepthWriteEnabled(false); // Ensure loaded m->load(); sceneMgr->getRootSceneNode()->createChildSceneNode(mNodeId)->attachObject(mSkyDomeEntity); sceneMgr->getSceneNode(mNodeId)->scale(100,100,100); // create the listener mListener = new CSkyDomeListener( sceneMgr->getCamera("PlayerCam"), sceneMgr->getSceneNode(mNodeId) ); root->addFrameListener(mListener); //mSkyDomeNode->attachObject(mSkyDomeEntity); }
[ "franstreb@4d33156a-524b-11de-a3da-17e148e7a168" ]
[ [ [ 1, 122 ] ] ]
12955c48701cbc6929f1e166f576df7f99944d75
a30b091525dc3f07cd7e12c80b8d168a0ee4f808
/EngineAll/Victor/jdqz.cpp
386ea3fe827ce0d579036e9af3c47be27f393bb4
[]
no_license
ghsoftco/basecode14
f50dc049b8f2f8d284fece4ee72f9d2f3f59a700
57de2a24c01cec6dc3312cbfe200f2b15d923419
refs/heads/master
2021-01-10T11:18:29.585561
2011-01-23T02:25:21
2011-01-23T02:25:21
47,255,927
0
0
null
null
null
null
UTF-8
C++
false
false
22,117
cpp
#include <cmath> #include <complex> #include <limits> #include <iostream> #include <ctime> #include "TBLAS.h" #include "Random.h" #include "TLASupport.h" #include "GeneralizedEigensystems.h" #include "IterativeLinearSolvers.h" bool QZSorter_Nearest(const std::complex<double> &n1, const std::complex<double> &d1, const std::complex<double> &n2, const std::complex<double> &d2, void *data){ const std::complex<double> *target = reinterpret_cast<std::complex<double>*>(data); std::complex<double> z1 = n1/d1 - *target; std::complex<double> z2 = n2/d2 - *target; return std::abs(z1) < std::abs(z2); } bool QZSorter_MaxReal(const std::complex<double> &n1, const std::complex<double> &d1, const std::complex<double> &n2, const std::complex<double> &d2, void *data){ // If n1 = a+bi, d1 = c+di, // n1/d1 = [(ac+bd) + i(bc-ad)] / (cc+dd) // naive method return (n1/d1).real() > (n2/d2).real(); } // Sorts a QZ decomposition // Inputs: // A generalized Schur decomposition of (A,B) such that // U*S*V^H == A and U*T*V^H == B // where k is the dimension of the problem. // // EvalSorter takes (num1,den1, num2,den2) and returns // true if num1/den1 should come before num2/den2. // Return: // The eigenvalues are sorted according to the comparison // function EvalSorter. This must be a strict weak ordering. void QZSort(size_t k, std::complex<double> *s, size_t lds, std::complex<double> *t, size_t ldt, std::complex<double> *u, size_t ldu, std::complex<double> *v, size_t ldv, bool (*EvalSorter)(const std::complex<double> &, const std::complex<double> &, const std::complex<double> &, const std::complex<double> &, void*), void *sorter_data ){ for(size_t i = 0; i < k; ++i){ size_t j = i; // Determine the order of the diagonal elements from i:k-1 (0-based inclusive) for(size_t l = i+1; l < k; ++l){ if(EvalSorter(s[l+l*lds], t[l+l*ldt], s[j+j*lds], t[j+j*ldt], sorter_data)){ j = l; } } // for(size_t qq = 0; qq < k; ++qq){ // std::cout << (s[qq+qq*lds]/t[qq+qq*ldt]).real() << std::endl; // }std::cout << std::endl; if(j != i){ // std::cout << "Swapping " << i << " with " << j << std::endl; // Perform a swap between i and j; we always have i < j //for(size_t p = i; p < j; ++p){ for(int p = j-1; p >= (int)i; --p){ double f = std::max(std::abs(t[p+1+(p+1)*ldt]), std::abs(s[p+1+(p+1)*lds])); std::complex<double> ft = t[p+1+(p+1)*ldt] / f; std::complex<double> fs = s[p+1+(p+1)*lds] / f; bool tlts = (std::abs(ft) < std::abs(fs)); std::complex<double> c1 = ft*s[p+p*lds] - fs*t[p+p*ldt]; std::complex<double> c2 = ft*s[p+(p+1)*lds] - fs*t[p+(p+1)*ldt]; double cs; std::complex<double> sn, r; RNP::TLASupport::GeneratePlaneRotation(c2, c1, &cs, &sn, &r); RNP::TLASupport::ApplyPlaneRotation(p+2, &s[0+(p+1)*lds], 1, &s[0+p*lds], 1, cs, sn); RNP::TLASupport::ApplyPlaneRotation(p+2, &t[0+(p+1)*ldt], 1, &t[0+p*ldt], 1, cs, sn); RNP::TLASupport::ApplyPlaneRotation(k, &v[0+(p+1)*ldu], 1, &v[0+p*ldu], 1, cs, sn); if(tlts){ c1 = s[p+p*lds]; c2 = s[p+1+p*lds]; }else{ c1 = t[p+p*ldt]; c2 = t[p+1+p*ldt]; } RNP::TLASupport::GeneratePlaneRotation(c1, c2, &cs, &sn, &r); RNP::TLASupport::ApplyPlaneRotation(k-p, &s[p+p*lds], lds, &s[p+1+p*lds], lds, cs, sn); RNP::TLASupport::ApplyPlaneRotation(k-p, &t[p+p*ldt], ldt, &t[p+1+p*ldt], ldt, cs, sn); RNP::TLASupport::ApplyPlaneRotation(k, &u[0+p*ldv], 1, &u[0+(p+1)*ldv], 1, cs, std::conj(sn)); } } } } int ModifiedGramSchmidt(size_t n, size_t k, const std::complex<double> *v, std::complex<double> *w, bool normalize_w = true){ double s1 = RNP::TBLAS::Norm2(n, w, 1); int info = 0; for(size_t i = 0; i < k; ++i){ double s0 = s1; std::complex<double> znrm = RNP::TBLAS::ConjugateDot(n, &v[0+i*n], 1, w, 1); RNP::TBLAS::Axpy(n, -znrm, &v[0+i*n], 1, w, 1); s1 = RNP::TBLAS::Norm2(n, w, 1); if(s1 <= s0/100){ // If the norm of w was reduced drastically, // w was almost parallel to a vector in v s0 = s1; std::complex<double> ztmp = RNP::TBLAS::ConjugateDot(n, &v[0+i*n], 1, w, 1); znrm += ztmp; RNP::TBLAS::Axpy(n, -ztmp, &v[0+i*n], 1, w, 1); s1 = RNP::TBLAS::Norm2(n, w, 1); if(s1 <= s0/100){ // we have a problem... if(0 == info){ info = 1 + i; } } } } if(normalize_w){ RNP::TBLAS::Scale(n, 1./s1, w, 1); } return info; } struct jdqz_op_data{ size_t n; void (*Aop)(const std::complex<double> *, std::complex<double> *, void*); void (*Bop)(const std::complex<double> *, std::complex<double> *, void*); std::complex<double> *work; std::complex<double> alpha, beta; void *Adata, *Bdata; }; // Computes y = beta*Ax - alpha*Bx void jdqz_op(const std::complex<double> *x, std::complex<double> *y, void *_data){ jdqz_op_data *data = reinterpret_cast<jdqz_op_data*>(_data); data->Aop(x, data->work, data->Adata); data->Bop(x, y, data->Bdata); for(size_t i = 0; i < data->n; ++i){ y[i] = data->beta * data->work[i] - data->alpha * y[i]; } } struct jdqz_preconditioner_data{ size_t n; void (*preconditioner)(std::complex<double> *, void *); void *preconditioner_data; size_t nq; // number of columns in q std::complex<double> *q; std::complex<double> *kz; std::complex<double> *invqkz; size_t ldqkz; // typically jmax size_t *ipiv; // length ldqkz; should store pivots for LU of invqkz std::complex<double> *work; // length n }; void jdqz_preconditioner(std::complex<double> *x, void *_data){ jdqz_preconditioner_data *data = reinterpret_cast<jdqz_preconditioner_data*>(_data); if(NULL != data->preconditioner){ data->preconditioner(x, data->preconditioner_data); } RNP::TBLAS::MultMV<'C'>(data->n, data->nq, 1., data->q, data->n, x, 1, 0., data->work, 1); RNP::TLASupport::LUSolve<'N'>(data->nq, 1, data->invqkz, data->ldqkz, data->ipiv, data->work, data->ldqkz); RNP::TBLAS::MultMV<'N'>(data->n, data->nq, -1., data->kz, data->n, data->work, 1, 1., x, 1); } struct jdqz_linsolve_data{ RNP::LinearSolverWorkspace *workspace; RNP::LinearSolverParams ls_params; jdqz_linsolve_data(){ workspace = NULL; } }; void jdqz_linsolve_IDRs( size_t n, void (*Op)(const std::complex<double> *, std::complex<double> *, void*), std::complex<double> *x, std::complex<double> *b, double tol, size_t &max_mult, jdqz_op_data *op_data, void *precon_data, void *_data ){ jdqz_linsolve_data *data = reinterpret_cast<jdqz_linsolve_data*>(_data); static RNP::IDRs_params params; data->ls_params.max_mult = max_mult; data->ls_params.tol = tol; RNP::TBLAS::Scale(n, -1., b, 1); RNP::IDRs(n, Op, b, x, data->ls_params, params, data->workspace, op_data, &jdqz_preconditioner, precon_data); max_mult = data->ls_params.max_mult; } void jdqz_linsolve_GMRES( size_t n, void (*Op)(const std::complex<double> *, std::complex<double> *, void*), std::complex<double> *x, std::complex<double> *b, double tol, size_t &max_mult, jdqz_op_data *op_data, void *precon_data, void *_data ){ jdqz_linsolve_data *data = reinterpret_cast<jdqz_linsolve_data*>(_data); static RNP::GMRES_params params; data->ls_params.max_mult = max_mult; data->ls_params.tol = tol; RNP::TBLAS::Scale(n, -1., b, 1); RNP::GMRES(n, Op, b, x, data->ls_params, params, data->workspace, op_data, &jdqz_preconditioner, precon_data); max_mult = data->ls_params.max_mult; } struct jdqz_params{ double eps; double lock; size_t max_search_space; size_t min_search_space; void (*linear_solver)( size_t n, void (*Op)(const std::complex<double> *, std::complex<double> *, void*), std::complex<double> *x, std::complex<double> *b, double tol, size_t &max_mult, jdqz_op_data *op_data, void *precon_data, void *data); void *linear_solver_data; size_t max_iters; size_t max_mult; int testspace; // Testspace: // 1 = standard Petrov // 2 = Standard "variable" Petrov // 3 = harmonic Petrov // 4 = same as searchspace // 5 = B*v // 6 = A*v std::complex<double> *work; jdqz_params(){ eps = 1e-9; max_iters = 1000; lock = 1e-9; // auto select min_search_space = 0; max_search_space = 0; work = NULL; testspace = 2; } }; // Inputs: // n - size of the problem // k - number of eigenstuffs to compute // Aop - A routine that applies the A matrix to the first argument and stores it in the second // Bop - just like Aop // EvalSorter - sorter for eigenvalues (args: alpha1,beta1,alpha2,beta2,data) // preconditioner - Applies (approximatino of) inv(A-tau*B) to its argument // Ouptuts: // alpha,beta - numerator/denominator pairs for eigenvalues (length k) // vr,ldvr - eigenvalue matrix and leading dimension // int jdqz( size_t n, size_t kmax, void (*Aop)(const std::complex<double> *, std::complex<double> *, void*), void (*Bop)(const std::complex<double> *, std::complex<double> *, void*), std::complex<double> *alpha, std::complex<double> *beta, std::complex<double> *eivec, size_t ldeivec, const std::complex<double> &target, bool (*EvalSorter)(const std::complex<double> &, const std::complex<double> &, const std::complex<double> &, const std::complex<double> &, void*), void (*preconditioner)(std::complex<double> *, void *), const jdqz_params &params, // User data parameters passed onto the corresponding arguments void *Aop_data = NULL, void *Bop_data = NULL, void *EvalSorter_data = NULL, void *preconditioner_data = NULL ) { // Check inputs if(kmax > n){ return -2; } if(ldeivec < n){ return -8; } const size_t default_jmin = 2*kmax; const size_t default_jmax = (3*kmax >= 20 ? 3*kmax : 20); const size_t jmin = ((params.min_search_space == 0) ? default_jmin : params.min_search_space); const size_t jmax = ((params.max_search_space == 0) ? default_jmax : params.min_search_space); if(jmax <= jmin){ return -11; } if(kmax > jmax){ return -11; } // Setup the workspace std::complex<double> *_work = params.work; std::complex<double> *rhs, *temp, *v, *w, *av, *bv, *aux, *q, *z, *kz; std::complex<double> *f, *ma, *mb, *ra, *rb, *zma, *zmb, *vsl, *vsr; std::complex<double> *mqkz, *invqkz, *aconv, *bconv; if(params.work == NULL){ // leading dimension n: // rhs = zeros(n,1) // RHS of solves // temp = zeros(n,1) // workspace for computing (alpha*A-beta*B)*x, general temporary storage for a vector // //DO-NOT-COUNT u = linear_solver_space (for GMRES, zeros(n,m)) // v = zeros(n,jmax) // pointer to search space JDQZ // w = zeros(n,jmax) // pointer to test subspace JDQZ // av = zeros(n,jmax) // pointer to subspace AV // bv = zeros(n,jmax) // pointer to subspace BV // aux = zeros(n,jmax) // rotating buffer space; points at v,w,av,bv in rotation to prevent unnecessary copies // q = zeros(n,kmax) // pointer to search Schur basis in JDQZ // z = zeros(n,kmax) // pointer to test Schur basis in JDQZ // kz = zeros(n,kmax) // stores matrix inv(K)*Z_k // leading dimension jmax: // f = zeros(jmax,1) // temporary space used in the preconditioner // ma = zeros(jmax,jmax) // M_A matrix (pre-Schur decomposition matrix) // mb = zeros(jmax,jmax) // M_B matrix // ra = zeros(jmax,jmax) // r_A matrix (stores up residuals) // rb = zeros(jmax,jmax) // r_B matrix // zma = zeros(jmax,jmax) // M_A matrix (post-Schur decomposition matrix) // zmb = zeros(jmax,jmax) // M_B matrix // vsl = zeros(jmax,jmax) // left Schur vectors // vsr = zeros(jmax,jmax) // right Schur vectors // mqkz = zeros(jmax,jmax) // invqkz = zeros(jmax,jmax) // aconv = zeros(jmax,1) // temp holding of eigenvalues (may overflow alpha/beta) // bconv = zeros(jmax,1) _work = new std::complex<double>[n*(2+5*jmax+3*kmax)+jmax*(10*jmax+3)]; rhs = _work; temp = rhs + n; v = temp + n; w = v + n*jmax; av = w + n*jmax; bv = av + n*jmax; aux = bv + n*jmax; q = aux + n*jmax; z = q + n*kmax; kz = z + n*kmax; f = kz + n*kmax; ma = f + jmax; mb = ma + jmax*jmax; ra = mb + jmax*jmax; rb = ra + jmax*jmax; zma = rb + jmax*jmax; zmb = zma + jmax*jmax; vsl = zmb + jmax*jmax; vsr = vsl + jmax*jmax; mqkz = vsr + jmax*jmax; invqkz = mqkz + jmax*jmax; aconv = invqkz + jmax*jmax; bconv = aconv + jmax; /* rhs = new std::complex<double>[n]; temp = new std::complex<double>[n]; v = new std::complex<double>[n*jmax]; w = new std::complex<double>[n*jmax]; av = new std::complex<double>[n*jmax]; bv = new std::complex<double>[n*jmax]; aux = new std::complex<double>[n*jmax]; q = new std::complex<double>[n*kmax]; z = new std::complex<double>[n*kmax]; kz = new std::complex<double>[n*kmax]; f = new std::complex<double>[jmax]; ma = new std::complex<double>[jmax*jmax]; mb = new std::complex<double>[jmax*jmax]; ra = new std::complex<double>[jmax*jmax]; rb = new std::complex<double>[jmax*jmax]; zma = new std::complex<double>[jmax*jmax]; zmb = new std::complex<double>[jmax*jmax]; vsl = new std::complex<double>[jmax*jmax]; vsr = new std::complex<double>[jmax*jmax]; mqkz = new std::complex<double>[jmax*jmax]; invqkz = new std::complex<double>[jmax*jmax]; aconv = new std::complex<double>[jmax]; bconv = new std::complex<double>[jmax]; */ } jdqz_op_data op_data; op_data.work = temp; op_data.n = n; op_data.Aop = Aop; op_data.Bop = Bop; op_data.Adata = Aop_data; op_data.Bdata = Bop_data; // rwork needed for zgges double *rwork = new double[8*jmax]; std::complex<double> *zwork = new std::complex<double>[2*jmax]; size_t *ipivqkz = new size_t[jmax]; jdqz_preconditioner_data precon_data; precon_data.n = n; precon_data.preconditioner = preconditioner; precon_data.preconditioner_data = preconditioner_data; precon_data.q = q; precon_data.kz = kz; precon_data.invqkz = invqkz; precon_data.ldqkz = jmax; precon_data.ipiv = ipivqkz; precon_data.work = f; size_t num_multmv = 0; bool ok = true; double evcond = sqrt(std::norm(target) + 1); std::complex<double> shifta = target / evcond; std::complex<double> shiftb = 1. / evcond; std::complex<double> targeta = shifta; std::complex<double> targetb = shiftb; std::complex<double> zalpha = shifta; std::complex<double> zbeta = shiftb; size_t step = 0; int solvestep = 0; size_t j = 0; size_t k = 0; int iseed[4] = { 3,3,1966,29 }; while(k < kmax && step < params.max_iters){ ++step; ++solvestep; if(j == 0){ // set v to initial value v0 for(size_t i = 0; i < n; ++i){ double ra[2]; RNP::Random::RandomRealsUniform01(2, ra, iseed); v[i+0*n] = 2*ra[0]-1; } for(size_t i = 0; i < n; ++i){ double ra[2]; RNP::Random::RandomRealsUniform01(2, ra, iseed); w[i+0*n] = 2*ra[0]-1; } }else{ size_t linsolve_max_mult = params.max_mult; double deps = pow(2.0, -solvestep); // stopping tolerance for the solve precon_data.nq = k+1; if(j < jmin){ linsolve_max_mult = 1; } op_data.alpha = zalpha; op_data.beta = zbeta; params.linear_solver(n, &jdqz_op, &v[0+j*n], rhs, deps, linsolve_max_mult, &op_data, &precon_data, params.linear_solver_data); } // The projected problem ModifiedGramSchmidt(n, j, v, &v[0+j*n]); // v = mgs(V,v); v = v/|v| ModifiedGramSchmidt(n, k, q, &v[0+j*n]); // this step was not mentioned in the paper if(params.testspace == 1){ // Standard Petrov // testspace = alpha'*Av + beta'*Bv op_data.alpha = -std::conj(shiftb); op_data.beta = std::conj(shifta); }else if(params.testspace == 2){ // Standard variable Petrov op_data.alpha = -std::conj(zbeta); op_data.beta = std::conj(zalpha); }else if(params.testspace == 3){ // Harmonic Petrov // testspace = beta*Av - alpha*Bv op_data.alpha = shifta; op_data.beta = shiftb; }else if(params.testspace == 5){ // testspace = Bv op_data.alpha = -1; op_data.beta = 0; }else if(params.testspace == 6){ // testspace = Bv op_data.alpha = 0; op_data.beta = 1; } jdqz_op(&v[0+j*n], &w[0+j*n], &op_data); ModifiedGramSchmidt(n, j, w, &w[0+j*n]); // w = mgs(W,w); w = w/|w| ModifiedGramSchmidt(n, k, z, &w[0+j*n]); // w = mgs(Z,w); Aop(&v[0+j*n], &av[0+j*n], Aop_data); // vA = A*v Bop(&v[0+j*n], &bv[0+j*n], Bop_data); // vB = B*v ++j; // Make MA = [MA,W^* * vA; w^* * VA, w^* * vA] for(size_t jj = 0; jj < j; ++jj){ for(size_t ii = 0; ii < j; ++ii){ if(ii == j-1 || jj == j-1){ ma[ii+jj*jmax] = RNP::TBLAS::ConjugateDot(n, &w[0+ii*n], 1, &av[0+jj*n], 1); } zma[ii+jj*jmax] = ma[ii+jj*jmax]; } } for(size_t jj = 0; jj < j; ++jj){ for(size_t ii = 0; ii < j; ++ii){ if(ii == j-1 || jj == j-1){ mb[ii+jj*jmax] = RNP::TBLAS::ConjugateDot(n, &w[0+ii*n], 1, &bv[0+jj*n], 1); } zmb[ii+jj*jmax] = mb[ii+jj*jmax]; } } //RNP::GeneralizedSchurDecomposition(j, zma, jmax, zmb, jmax, alpha, beta, vsl, jmax, vsr, jmax, zwork, rwork); RNP::GeneralizedSchurDecomposition(j, zma, jmax, zmb, jmax, aconv, bconv, vsl, jmax, vsr, jmax, zwork, rwork); bool found = true; while(found){ // Sort the Petrov pairs QZSort(j, zma, jmax, zmb, jmax, vsl, jmax, vsr, jmax, EvalSorter, EvalSorter_data); zalpha = zma[0]; zbeta = zmb[0]; evcond = sqrt(std::norm(zalpha) + std::norm(zbeta)); // compute new q RNP::TBLAS::MultMV<'N'>(n, j, 1., v, n, vsr, 1, 0., &q[0+k*n], 1); ModifiedGramSchmidt(n, k, q, &q[0+k*n]); // compute new z RNP::TBLAS::MultMV<'N'>(n, j, 1., w, n, vsl, 1, 0., &z[0+k*n], 1); ModifiedGramSchmidt(n, k, z, &z[0+k*n]); // Make new qkz RNP::TBLAS::Copy(n, &z[0+k*n], 1, &kz[0+k*n], 1); if(NULL != preconditioner){ preconditioner(&kz[0+k*n], preconditioner_data); } for(size_t jj = 0; jj <= k; ++jj){ for(size_t ii = 0; ii <= k; ++ii){ if(ii == k || jj == k){ mqkz[ii+jj*jmax] = RNP::TBLAS::ConjugateDot(n, &q[0+ii*n], 1, &kz[0+jj*n], 1); } invqkz[ii+jj*jmax] = mqkz[ii+jj*jmax]; } } RNP::TLASupport::LUDecomposition(k+1, k+1, invqkz, jmax, ipivqkz); // compute new (right) residual= beta Aq - alpha Bq and orthogonalize this vector on Z. op_data.alpha = zalpha; op_data.beta = zbeta; jdqz_op(&q[0+k*n], rhs, &op_data); ModifiedGramSchmidt(n, k, z, rhs, false); double rnrm = RNP::TBLAS::Norm2(n, rhs, 1) / evcond; if(rnrm < params.lock && ok){ targeta = zalpha; targetb = zbeta; ok = false; } if(found = (rnrm < params.eps && (j > 1 || k == kmax - 1))){ // store the eigenvalue alpha[k] = zalpha; beta[k] = zbeta; // increase the number of found evs by 1 ++k; solvestep = 0; if(k == kmax){ break; } RNP::TBLAS::MultMM<'N','N'>(n, j-1, j, 1., v , n, &vsr[0+1*jmax], jmax, 0., aux, n); std::swap(v, aux); RNP::TBLAS::MultMM<'N','N'>(n, j-1, j, 1., av, n, &vsr[0+1*jmax], jmax, 0., aux, n); std::swap(av, aux); RNP::TBLAS::MultMM<'N','N'>(n, j-1, j, 1., bv, n, &vsr[0+1*jmax], jmax, 0., aux, n); std::swap(bv, aux); RNP::TBLAS::MultMM<'N','N'>(n, j-1, j, 1., w , n, &vsl[0+1*jmax], jmax, 0., aux, n); std::swap(w, aux); --j; RNP::TBLAS::CopyMatrix<'A'>(j, j, &zma[1+1*jmax], jmax, ma, jmax); RNP::TBLAS::CopyMatrix<'A'>(j, j, ma, jmax, zma, jmax); RNP::TBLAS::CopyMatrix<'A'>(j, j, &zmb[1+1*jmax], jmax, mb, jmax); RNP::TBLAS::CopyMatrix<'A'>(j, j, mb, jmax, zmb, jmax); RNP::TBLAS::SetMatrix<'A'>(j, j, 0., 1., vsr, jmax); RNP::TBLAS::SetMatrix<'A'>(j, j, 0., 1., vsl, jmax); targeta = shifta; targetb = shiftb; ok = true; }else if(j == jmax){ RNP::TBLAS::MultMM<'N','N'>(n, jmin, j, 1., v , n, vsr, jmax, 0., aux, n); std::swap(v, aux); RNP::TBLAS::MultMM<'N','N'>(n, jmin, j, 1., av, n, vsr, jmax, 0., aux, n); std::swap(av, aux); RNP::TBLAS::MultMM<'N','N'>(n, jmin, j, 1., bv, n, vsr, jmax, 0., aux, n); std::swap(bv, aux); RNP::TBLAS::MultMM<'N','N'>(n, jmin, j, 1., w , n, vsl, jmax, 0., aux, n); std::swap(w, aux); j = jmin; RNP::TBLAS::CopyMatrix<'A'>(j, j, zma, jmax, ma, jmax); RNP::TBLAS::CopyMatrix<'A'>(j, j, zmb, jmax, mb, jmax); RNP::TBLAS::SetMatrix<'A'>(j, j, 0., 1., vsr, jmax); RNP::TBLAS::SetMatrix<'A'>(j, j, 0., 1., vsl, jmax); } } } // Did enough eigenpairs converge? kmax = k; if(NULL != eivec){ // Compute the Schur matrices if the eigenvectors are // wanted, work(1,temp) is used for temporary storage // Compute RA: RNP::TBLAS::SetMatrix<'L'>(k, k, 0., 0., ra, jmax); for(size_t i = 0; i < k; ++i){ Aop(&q[0+i*n], temp, Aop_data); RNP::TBLAS::MultMV<'C'>(n, i+1, 1., z, n, temp, 1, 0., &ra[0+i*jmax], 1); } // Compute RB: RNP::TBLAS::SetMatrix<'L'>(k, k, 0., 0., rb, jmax); for(size_t i = 0; i < k; ++i){ Bop(&q[0+i*n], temp, Bop_data); RNP::TBLAS::MultMV<'C'>(n, i+1, 1., z, n, temp, 1, 0., &rb[0+i*jmax], 1); } // The eigenvectors RA and RB belonging to the found eigenvalues // are computed. The Schur vectors in VR and VS are replaced by the // eigenvectors of RA and RB RNP::GeneralizedEigensystem(k, ra, jmax, rb, jmax, alpha, beta, NULL, jmax, vsr, jmax, zwork, rwork); // Compute the eigenvectors belonging to the found eigenvalues // of A and put them in EIVEC RNP::TBLAS::MultMM<'N','N'>(n, k, k, 1., q, n, vsr, jmax, 0., eivec, ldeivec); }else{ // Store the Schurvectors in eivec: //zcopy_(k * n, &work[q * n + 1], 1, &eivec[eivec_offset], 1); //RNP::TBLAS::Copy(k, aconv, 1, alpha, 1); //RNP::TBLAS::Copy(k, bconv, 1, beta, 1); } if(NULL == params.work){ delete [] _work; } delete [] zwork; delete [] rwork; delete [] ipivqkz; return 0; }
[ "zhaodongmpii@7e7f00ea-7cf8-66b5-cf80-f378872134d2" ]
[ [ [ 1, 614 ] ] ]
dfcb6c7c55205b40a6b3938ffbca02aec41a1d76
5a05acb4caae7d8eb6ab4731dcda528e2696b093
/GameEngine/Gfx/Utility/Image.cpp
6c24f69663fb5e1355c0e71d1b25613e195420f7
[]
no_license
andreparker/spiralengine
aea8b22491aaae4c14f1cdb20f5407a4fb725922
36a4942045f49a7255004ec968b188f8088758f4
refs/heads/master
2021-01-22T12:12:39.066832
2010-05-07T00:02:31
2010-05-07T00:02:31
33,547,546
0
0
null
null
null
null
UTF-8
C++
false
false
3,988
cpp
#include <boost/make_shared.hpp> #include <algorithm> #include "Image.hpp" #include "../../Core/File.hpp" #include "../../../ThirdParty/libpng/png.h" using namespace Spiral::GfxUtil; using namespace Spiral; using namespace boost; extern "C" void CustomPngReadFunc( png_structp pngPtr, png_bytep data, png_size_t size ) { IFile* pngFile = static_cast< IFile* >( png_get_io_ptr( pngPtr ) ); pngFile->Read( reinterpret_cast<int8_t*>( data ), size ); } const int32_t Png_Check_Bytes = 8; shared_ptr< Image > Image::LoadPng( boost::shared_ptr<IFile>& pngFile ) { int8_t signature[ Png_Check_Bytes ]; shared_ptr< Image > image; // check to see if this is valid png file pngFile->Read( signature, Png_Check_Bytes ); int isPng = !png_sig_cmp( reinterpret_cast<png_bytep>( signature ), 0, Png_Check_Bytes ); if( isPng ) { png_structp pngStructPtr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); png_infop pngInfoPtr = png_create_info_struct( pngStructPtr ); png_set_read_fn(pngStructPtr, reinterpret_cast<void*>(pngFile.get()), CustomPngReadFunc ); png_set_sig_bytes( pngStructPtr, Png_Check_Bytes ); png_uint_32 width,height; int bitDepth,colorType, interlaced; png_read_info( pngStructPtr, pngInfoPtr ); png_get_IHDR( pngStructPtr, pngInfoPtr, &width, &height, &bitDepth, &colorType, &interlaced, NULL, NULL ); if( bitDepth == 8 ) { if( colorType == PNG_COLOR_TYPE_RGB ) { bitDepth = 24; }else if( colorType == PNG_COLOR_TYPE_RGBA ) { bitDepth = 32; } if( bitDepth == 32 || bitDepth == 24 ) { int rowbytes = png_get_rowbytes( pngStructPtr, pngInfoPtr ); png_bytepp rowsPtr = new png_bytep[ height ]; // this is terrible, but its the way pnglib does things // I have to allocate rows instead of one big allocation... for( png_uint_32 i = 0; i < height; ++i ) { rowsPtr[ i ] = new png_byte[ rowbytes ]; } int8_t* data = new int8_t[ height * rowbytes ]; png_read_image( pngStructPtr, rowsPtr ); png_read_end( pngStructPtr, pngInfoPtr ); for( png_uint_32 i = 0; i < height; ++i ) { std::copy( rowsPtr[i], rowsPtr[i]+rowbytes, reinterpret_cast<png_bytep>(&data[i*rowbytes]) ); delete [] rowsPtr[i]; } delete [] rowsPtr; image = make_shared< Image >( width, height, bitDepth, data ); } } // free memory used by pnglib png_destroy_read_struct( &pngStructPtr, &pngInfoPtr, png_infopp_NULL ); } return image; } inline void copy4( const boost::int8_t* src, boost::int8_t* dst ) { boost::int32_t* dst4 = reinterpret_cast<boost::int32_t*>( dst ); *dst4 = *reinterpret_cast<const boost::int32_t*>( src ); } inline void copy3( const boost::int8_t* src, boost::int8_t* dst ) { *dst++ = *src++; *dst++ = *src++; *dst++ = *src++; } template< void copyElement( const boost::int8_t*, boost::int8_t* ), int colorChannels > void BlitImpl( const Image::ImageDesc& src, Image::ImageDesc& dest, boost::int32_t x, boost::int32_t y ) { int8_t* destSurf = dest.data + (y * dest.rowBytes + x * dest.colorChannel); const int8_t* srcSurf = src.data; int32_t rows = src.height; int32_t col = src.width; int8_t* destline = destSurf; const int8_t* srcline = srcSurf; while( rows-- != 0 ) { do { copyElement( srcline, destline ); srcline += colorChannels; destline += colorChannels; } while ( --col != 0 ); srcSurf += src.rowBytes; destSurf += dest.rowBytes; destline = destSurf; srcline = srcSurf; col = src.width; } } void Image::Blit( const Image::ImageDesc& src, Image::ImageDesc& dest, boost::int32_t x, boost::int32_t y ) { if( src.colorChannel == dest.colorChannel ) { if( src.colorChannel == 4 ) { BlitImpl< copy4, 4 >( src, dest, x, y ); }else if( src.colorChannel == 3 ) { BlitImpl< copy3, 3 >( src, dest, x, y ); } } }
[ "DreLnBrown@e933ee44-1dc6-11de-9e56-bf19dc6c588e" ]
[ [ [ 1, 145 ] ] ]
69075e39d76ab3f68f1c359489654183a132e0e7
d504537dae74273428d3aacd03b89357215f3d11
/src/main/w32/Wndclass.cpp
4a3c3155b7f0980f2d9c766f812e408c4d5a0a19
[]
no_license
h0MER247/e6
1026bf9aabd5c11b84e358222d103aee829f62d7
f92546fd1fc53ba783d84e9edf5660fe19b739cc
refs/heads/master
2020-12-23T05:42:42.373786
2011-02-18T16:16:24
2011-02-18T16:16:24
237,055,477
1
0
null
2020-01-29T18:39:15
2020-01-29T18:39:14
null
UTF-8
C++
false
false
5,678
cpp
#include "wndclass.h" #include <stdio.h> namespace w32 { ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // CDialog // ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// BOOL CALLBACK CDialog::dlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { if ( uMsg == WM_INITDIALOG ) // get this-ptr from lparam SetWindowLong( hWnd, GWL_USERDATA, lParam ); CDialog *dlg = (CDialog *)GetWindowLong(hWnd, GWL_USERDATA); if ( ! dlg ) return FALSE; return dlg->message(hWnd, uMsg, wParam, lParam); } BOOL CDialog::open(int nID, HINSTANCE hInstance, HWND hWndParent) { return DialogBoxParam(hInstance, MAKEINTRESOURCE(nID), hWndParent, dlgProc, (LPARAM)this); } BOOL CDialog::message(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { if (uMsg == WM_COMMAND && wParam == IDCANCEL) return EndDialog( hWnd, wParam ); return FALSE; } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // CWindow // ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// HWND CWindow::create( const char *cls, const char *title, const int x, const int y, const int w, const int h, int style, const int menu, const HWND parent, const HINSTANCE hi, const int color, const int exStyle ) { WNDCLASS wndclass; if ( ! (GetClassInfo( hi, cls, &wndclass) ) ) { memset( &wndclass, 0, sizeof( WNDCLASS ) ); wndclass.lpszClassName = cls; wndclass.hInstance = hi; wndclass.lpfnWndProc = winProc; wndclass.hCursor = LoadCursor(NULL, IDC_ARROW); wndclass.hIcon = LoadIcon(NULL,IDI_APPLICATION); wndclass.hbrBackground = (HBRUSH)color; //wndclass.lpszMenuName = (LPCSTR)IDR_MENU1; RegisterClass(&wndclass); } HWND win = CreateWindowEx( exStyle, cls, title, style, x, y, w, h, parent, (HMENU)menu, hi, this ); // if ( menu ) ShowMenu( win, menu ); ShowWindow( win, SW_SHOWNORMAL ); return win; } LRESULT CALLBACK CWindow::winProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { if ( uMsg == WM_CREATE ) { CREATESTRUCT *cr = (CREATESTRUCT*)lParam; if ( cr ) SetWindowLong (hWnd, GWL_USERDATA, (long)(cr->lpCreateParams) ); } CWindow *cwin = (CWindow*)(GetWindowLong( hWnd, GWL_USERDATA )); if ( cwin ) return cwin->message(hWnd,uMsg,wParam,lParam); return DefWindowProc( hWnd, uMsg, wParam, lParam ); } LRESULT CALLBACK CWindow::message(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { if ( uMsg == WM_DESTROY ) { PostQuitMessage(0); return 0; } return DefWindowProc( hWnd, uMsg, wParam, lParam ); } void CWindow::main() { MSG msg; while( GetMessage(&msg,0,0,0) ) { TranslateMessage(&msg); DispatchMessage(&msg); } } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Helpers //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// int alert( char *caption, char *format, ... ) { static char buffer[2048] = {0}; va_list args; va_start( args, format ); vsprintf( buffer, format, args ); va_end( args ); MessageBox(GetActiveWindow(), buffer, caption, 0); return 0; } char *fileBox( bool SAV, char *startPath, char *filter, HWND parent ) { static char _fileName[0xfff] = {0}; if ( startPath ) strcpy( _fileName, startPath ); OPENFILENAME of = {0}; of.lStructSize = sizeof( OPENFILENAME ); of.nMaxFile = 0xfff; of.lpstrFile = _fileName; of.lpstrFilter = filter; of.nFilterIndex= 1; of.hwndOwner = parent?parent:GetActiveWindow(); of.hInstance = getHinst(of.hwndOwner); //GetModuleHandle(__argv[0]); of.Flags = OFN_LONGNAMES | ( SAV ? OFN_OVERWRITEPROMPT : OFN_FILEMUSTEXIST ); int res = SAV ? GetSaveFileName( &of ) : GetOpenFileName( &of ); if ( ! res || CommDlgExtendedError() ) return 0; // cancelled. strcpy( _fileName, of.lpstrFile ); return _fileName; } BOOL fullScreen(HWND hWnd, bool on) { static long oldStyle; static RECT oldSize; DEVMODE dmSettings = {0}; if ( ! EnumDisplaySettings(NULL,ENUM_CURRENT_SETTINGS,&dmSettings) ) return FALSE; if ( on ) { oldStyle = GetWindowLong( hWnd, GWL_STYLE ); GetWindowRect( hWnd, &oldSize ); SetWindowLong( hWnd, GWL_STYLE, WS_POPUP ); SetWindowPos( hWnd,HWND_TOP, 0,0, dmSettings.dmPelsWidth, dmSettings.dmPelsHeight, SWP_SHOWWINDOW ); return true; } SetWindowLong( hWnd, GWL_STYLE, oldStyle ); //SetWindowPos( hWnd,HWND_TOP, oldSize.left, oldSize.top, oldSize.right-oldSize.left, oldSize.bottom-oldSize.top, SWP_SHOWWINDOW ); SetWindowPos( hWnd,HWND_TOP, 0,0, dmSettings.dmPelsWidth, dmSettings.dmPelsHeight, SWP_SHOWWINDOW ); // ( stupid way to clear the desktop ... ) SetWindowPos( hWnd,HWND_TOP, oldSize.left, oldSize.top, oldSize.right-oldSize.left, oldSize.bottom-oldSize.top, SWP_SHOWWINDOW ); // this crashes NT4. // UpdateWindow( GetDesktopWindow() ); return false; } };
[ [ [ 1, 181 ] ] ]
554e6a1fde3e70a2645f0af6a13c671f61361615
b2d46af9c6152323ce240374afc998c1574db71f
/cursovideojuegos/theflostiproject/Code/Flosti Engine/GUI/Image.h
b1f7f514cab2e2f01cbc8066d76c4bb164ccc88b
[]
no_license
bugbit/cipsaoscar
601b4da0f0a647e71717ed35ee5c2f2d63c8a0f4
52aa8b4b67d48f59e46cb43527480f8b3552e96d
refs/heads/master
2021-01-10T21:31:18.653163
2011-09-28T16:39:12
2011-09-28T16:39:12
33,032,640
0
0
null
null
null
null
UTF-8
C++
false
false
2,370
h
//---------------------------------------------------------------------------------- // CSlider class // Author: Enric Vergara // // Description: // A Image.. //---------------------------------------------------------------------------------- #pragma once #ifndef INC_IMAGE_H #define INC_IMAGE_H #include "Graphics/RenderManager.h" #include "gui/GuiElement.h" #include "Math/Color.h" #include <map> //---Forward Declarations--- class CTexture; //-------------------------- class CImage: public CGuiElement { private: typedef std::map<std::string, CTexture*> tTexturesMap; typedef std::vector<CTexture*>::iterator tItTexturesVec; typedef std::vector<CTexture*> tTexturesVec; public: CImage( uint32 windowsHeight, uint32 windowsWidth, float height_precent, float witdh_percent, const Vect2f position_percent, std::string lit="", uint32 textHeightOffset=0, uint32 textWidthOffset=0, bool isVisible = true, bool isActive = true); virtual ~CImage() {/*NOTHING*/;} //---------------CGuiElement Interface---------------------- virtual void Render (CRenderManager *renderManager, CFontManager* fm); virtual void Update (CInputManager* intputManager, float elapsedTime); virtual void OnClickedChild (const std::string& name) {/*NOTHING*/;} //---------------CImage Interface--------------------------- void SetTexture (CTexture* texture, std::string name ); void SetActiveTexture (const std::string& inName) {m_sActiveTexture = inName;} std::string& GetActiveTexture () {return m_sActiveTexture;} void PlayAnimation (float timePerImage, bool loop); void SetFlip (ETypeFlip flip) {m_eFlip = flip;} ETypeFlip GetFlip () const {return m_eFlip;} bool IsQuadrant () const {return m_bIsQuadrant;} void SetQuadrant (bool flag) {m_bIsQuadrant = flag;} void SetBackGround (bool flag) {m_bIsBackGround=flag;} private: tTexturesMap m_Textures; tItTexturesVec m_itVecTextures; tTexturesVec m_VecTextures; CColor m_Color; std::string m_sActiveTexture; bool m_bAnimated; bool m_bLoop; float m_fTimePerImage; float m_fCounter; ETypeFlip m_eFlip; bool m_bIsQuadrant; bool m_bIsBackGround; }; #endif //INC_IMAGE_H
[ "ohernandezba@71d53fa2-cca5-e1f2-4b5e-677cbd06613a" ]
[ [ [ 1, 69 ] ] ]
97719938a9b9ac511efe3956ece558ccedafe28b
45c0d7927220c0607531d6a0d7ce49e6399c8785
/GlobeFactory/src/gfx/material_def/simple_texture.cc
9d2b84b5ea0e65a2780fd55fd4b711a086ccc823
[]
no_license
wavs/pfe-2011-scia
74e0fc04e30764ffd34ee7cee3866a26d1beb7e2
a4e1843239d9a65ecaa50bafe3c0c66b9c05d86a
refs/heads/master
2021-01-25T07:08:36.552423
2011-01-17T20:23:43
2011-01-17T20:23:43
39,025,134
0
0
null
null
null
null
UTF-8
C++
false
false
3,406
cc
#include "simple_texture.hh" #include "../texture_mng.hh" //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ SimpleTextureMaterial::SimpleTextureMaterial(const std::string& parFilename) : Material(parFilename, MaterialEnum::SIMPLE_TEXTURE), MTextureId(0) { } //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ SimpleTextureMaterial::~SimpleTextureMaterial() { TextureMng::get()->Unload(MTextureId); } //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ void SimpleTextureMaterial::PreRender() { glBindTexture(GL_TEXTURE_2D, TextureMng::get()->GetGLId(MTextureId)); } //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ void SimpleTextureMaterial::PostRender() { glBindTexture(GL_TEXTURE_2D, 0); } //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ SimpleTextureMaterialDescriptor::SimpleTextureMaterialDescriptor() { } //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ SimpleTextureMaterialDescriptor::~SimpleTextureMaterialDescriptor() { } //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ SimpleTextureMaterial* SimpleTextureMaterialDescriptor::Load(XmlTree&) const { return NULL; } //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ SimpleTextureMaterial* SimpleTextureMaterialDescriptor::Load(unsigned parCfgFileId) const { ConfigMng* cfgMng = ConfigMng::get(); SimpleTextureMaterial* mat = new SimpleTextureMaterial(cfgMng->GetFilename(parCfgFileId)); const std::string* texture = ConfigMng::get()->GetOptionStr(parCfgFileId, "texture"); mat->MTextureId = TextureMng::get()->Load(texture ? *texture : ""); return mat; } //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ void SimpleTextureMaterialDescriptor::PreRender() const { glColor3f(1.0f, 1.0f, 1.0f); glEnable(GL_TEXTURE_2D); } //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ void SimpleTextureMaterialDescriptor::PostRender() const { glDisable(GL_TEXTURE_2D); } //------------------------------------------------------------------------------ //------------------------------------------------------------------------------
[ "creteur.c@8e971d8e-9cf3-0c36-aa0f-a7c54ab41ffc" ]
[ [ [ 1, 92 ] ] ]
3c5ac44320435101125cab305f892748d2614033
dae66863ac441ab98adbd2d6dc2cabece7ba90be
/examples/flexscan/ASWorkFlexScan.cpp
05a1939f4b2798001d1199ec296713cc5f8d70eb
[]
no_license
bitcrystal/flexcppbridge
2485e360f47f8d8d124e1d7af5237f7e30dd1980
474c17cfa271a9d260be6afb2496785e69e72ead
refs/heads/master
2021-01-10T14:14:30.928229
2008-11-11T06:11:34
2008-11-11T06:11:34
48,993,836
0
0
null
null
null
null
UTF-8
C++
false
false
2,469
cpp
/* * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * * The Original Code is the Flex C++ Bridge. * * The Initial Developer of the Original Code is * Anirudh Sasikumar (http://anirudhs.chaosnet.org/). * Portions created by the Initial Developer are Copyright (C) 2008 * the Initial Developer. All Rights Reserved. * * Contributor(s): * */ #include "ASWorkFlexScan.h" #include "Logger.h" #include "FlexBridge.h" #include "ASObject.h" #include <sstream> #include <windows.h> #include "BridgeException.h" #include "TwainCpp.h" #include "FlexCall.h" #define WM_FLEXSCAN (WM_USER + 104) #define WM_FLEXSCAN_COMPLETE (WM_USER + 106) static CTwain* g_pTwain = NULL; CASWorkFlexScan::CASWorkFlexScan(void) { m_pTwain = NULL; } CASWorkFlexScan::CASWorkFlexScan(void* pTwain) { m_pTwain = pTwain; } CASWorkFlexScan::~CASWorkFlexScan(void) { //delete g_pTwain; } static void ScanClick(CASObject& obj, CFlexBridge* pBridge) { if ( pBridge ) { CASObject oRootObj; pBridge->Root(oRootObj); CASObject oRunText; CASValue oRunValue; oRootObj.Call("getscanButton").Call("setenabled", false); SendMessage((HWND)CFlexCall::m_pDlg, WM_FLEXSCAN, (WPARAM)0, (LPARAM)0); } } void CASWorkFlexScan::Worker() { CFlexBridge* pBridge = (CFlexBridge*)m_pBridge; CASObject oRootObj; pBridge->Root(oRootObj); if ( oRootObj.GetInstance() ) { try { //g_pTwain = (CTwain*)m_pTwain; /* add a mouseClick event listener for the button */ oRootObj.Call("getscanButton").Call("addEventListener", "click", ScanClick); } catch ( CBridgeException& oErrBridge ) { LOG("Bridge Exception Caught: \"" << oErrBridge.what() << "\""); } } } CASWork* CASWorkFlexScan::Clone() { return (CASWork*)(new CASWorkFlexScan(m_pTwain)); }
[ "anirudhsasikumar@1c1c0844-4f48-0410-9872-0bebc774e022" ]
[ [ [ 1, 97 ] ] ]
2e358a2c59fbf9cc2b405bac8598cc809d2d307c
a6df88ed496a76728445bae502b94b3b85980d32
/src/testApp.cpp
d3255789f0b36db3e67e6df0fccf5314259c57c3
[]
no_license
runemadsen/LedSculpture
425bcf0c8f8987957d5ba3717e84f9fd11d70858
1d037b251aa82e1be36a7be6118cef875a28919a
refs/heads/master
2016-09-10T15:12:28.069785
2010-12-07T17:29:44
2010-12-07T17:29:44
1,073,265
0
0
null
null
null
null
UTF-8
C++
false
false
8,342
cpp
#include "testApp.h" #include <iostream> #include <fstream> /* Setup _________________________________________________________________ */ void testApp::setup() { ofSetFrameRate(60); ofBackground(0, 0, 0); ofEnableSmoothing(); boxes = new BoxesController(); url = "http://versionize.com/ledsculpture/displaycells.php?checkSessions"; ofAddListener(httpUtils.newResponseEvent, this, &testApp::newResponse); httpUtils.start(); /*serial.enumerateDevices(); if(serial.setup("/dev/tty.usbserial-A800euZ6", 9600)) { printf("serial is setup!"); }*/ lastReceived = ofGetElapsedTimeMillis(); enableHTTP = false; } /* Update _________________________________________________________________ */ void testApp::update() { if(newData != NULL) { createBoxesFromData(); } boxes->update(); // check if call didn't get through if(enableHTTP && ofGetElapsedTimeMillis() - lastReceived > HTTP_TIMEOUT) { lastReceived = ofGetElapsedTimeMillis(); makeHTTPCall(); } // check serial response /*if (serial.available() > 0) { while(serial.available() > 0) { cout << serial.readByte(); } cout << "\n"; }*/ } /* Draw _________________________________________________________________ */ void testApp::draw() { ofSetColor(255, 255, 255); ofDrawBitmapString(ofToString(ofGetFrameRate(), 0), 10, 10); if(!enableHTTP) { ofDrawBitmapString("Press space to start HTTP calls", 10, 30); } ofSetColor(0, 0, 0); boxes->draw(); } /* Key Events _________________________________________________________________ */ void testApp::keyPressed(int key) { if(key == 'f') { ofToggleFullscreen(); } /*else if(key == 'Z') { // send test cout << "Sending test \n"; bool byteWritten = serial.writeByte('y'); if(!byteWritten) cout << "y was not written to serial port \n"; byteWritten = serial.writeByte('y'); if(!byteWritten) cout << "y was not written to serial port \n"; byteWritten = serial.writeByte('y'); if(!byteWritten) cout << "y was not written to serial port \n"; byteWritten = serial.writeByte('y'); if(!byteWritten) cout << "y was not written to serial port \n"; }*/ else if(key == 'p') { boxes->printVars(); } else if(key == 'x') { boxes->setProperty("x", -1); } else if(key == 'X') { boxes->setProperty("x", 1); } else if(key == 'y') { boxes->setProperty("y", -1); } else if(key == 'Y') { boxes->setProperty("y", 1); } else if(key == 's') { boxes->setProperty("size", -0.5); } else if(key == 'S') { boxes->setProperty("size", 0.5); } else if(key == ' ') { enableHTTP = !enableHTTP; if(enableHTTP) { lastReceived = ofGetElapsedTimeMillis(); makeHTTPCall(); } } else if(key == 't') { App::getInstance()->testMode = !App::getInstance()->testMode; } } void testApp::keyReleased(int key){} void testApp::mouseMoved(int x, int y ){} void testApp::mouseDragged(int x, int y, int button){} void testApp::mousePressed(int x, int y, int button) { for (int i = 0; i < 64; i++) { Box * box = boxes->getBox(i); if(box != NULL) { int boxX = box->getLoc().x + boxes->getX(); int boxY = box->getLoc().y + boxes->getY(); if(x > boxX && x < boxX + box->getSize() && y > boxY && y < boxY + box->getSize()) { bool updated = boxes->updateBox(box->getId(), !box->getState(), box->getColor(), box->getUserId()); if(updated) { //sendBoxToArduino(i); } } } else { cout << "Box not found in mousepress, id: " << i << endl; } } } void testApp::mouseReleased(int x, int y, int button){} void testApp::windowResized(int w, int h){} void testApp::makeHTTPCall() { //cout << "HTTP Call requested" << endl; httpUtils.addUrl(url); } /* HTTP Events _________________________________________________________________ */ void testApp::newResponse(ofxHttpResponse & response) { lastReceived = ofGetElapsedTimeMillis(); parseJSON(response.responseBody); /*if(enableHTTP) { makeHTTPCall(); }*/ //cout << "HTTP Call received" << endl; } void testApp::newError(string error) { printf("new error = %s\n", error.c_str()); } /* JSON parse _________________________________________________________________ */ void testApp::parseJSON(string s) { //cout << "HTTP Call parsing" << endl; bool parsingSuccessful = reader.parse(s, root); if (!parsingSuccessful) { cout << "Failed to parse JSON\n" << reader.getFormatedErrorMessages(); } newData = root["cells"]; } /* Create boxes from data _________________________________________________________________ */ void testApp::createBoxesFromData() { for(int i = 0; i < newData.size(); i++) { Json::Value cell = newData[i]; int id = cell["cellid"].asInt(); int state = cell["state"].asInt(); ofColor color = getColorFromString(cell["color"].asString()); int userid = cell["userid"].asInt(); bool updated = boxes->updateBox(cell["cellid"].asInt(), cell["state"].asInt(), getColorFromString(cell["color"].asString()), cell["userid"].asInt()); if(updated) { sendBoxToArduino(id); } } newData = NULL; } /* Serial communication _________________________________________________________________ */ void testApp::sendBoxToArduino(int boxid) { Box * box = boxes->getBox(boxid); int idToSend = getIDToSend(boxid); cout << "> Sending Box Serial Data \n"; // start send to arduino bool byteWritten = serial.writeByte('*'); if(!byteWritten) cout << "* was not written to serial port \n"; else cout << "*"; // send id byteWritten = serial.writeByte(idToSend); if(!byteWritten) cout << "Id was not written to serial port \n"; else cout << idToSend; // send state byteWritten = serial.writeByte(box->getState()); if(!byteWritten) cout << "State was not written to serial port \n"; else cout << box->getState(); // send color (must convert to number) byteWritten = serial.writeByte(getIntFromColor(box->getColor())); if(!byteWritten) cout << "Color was not written to serial port \n"; else cout << getIntFromColor(box->getColor()) << "\n"; } int testApp::getIDToSend(int boxid) { int order[64] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 32, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 33, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31 }; for (int i = 0; i < 64; i++) { if(boxid == order[i]) { return i; } } return DISABLED; } /* get color object from string name _________________________________________________________________ */ ofColor testApp::getColorFromString(string color) { ofColor c; if(color == RED) { c.r = 255; c.g = 0; c.b = 0; } else if(color == GREEN) { c.r = 0; c.g = 104; c.b = 55; } else if(color == BLUE) { c.r = 46; c.g = 49; c.b = 146; } else if(color == YELLOW) { c.r = 252; c.g = 238; c.b = 33; } else if(color == PURPLE) { c.r = 102; c.g = 45; c.b = 145; } else if(color == CYAN) { c.r = 41; c.g = 171; c.b = 226; } else if(color == PINK) { c.r = 255; c.g = 0; c.b = 255; } else if(color == ORANGE) { c.r = 251; c.g = 176; c.b = 59; } else { c.r = 255; c.g = 255; c.b = 255; } return c; } int testApp::getIntFromColor(ofColor c) { // red if(c.r == 255 && c.g == 0 && c.b == 0) { return 0; } // green else if(c.r == 0 && c.g == 104 && c.b == 55) { return 1; } // blue else if(c.r == 46 && c.g == 49 && c.b == 146) { return 2; } // yellow else if(c.r == 252 && c.g == 238 && c.b == 33) { return 3; } // purple else if(c.r == 102 && c.g == 45 && c.b == 145) { return 4; } // cyan else if(c.r == 41 && c.g == 171 && c.b == 226) { return 5; } // pink else if(c.r == 255 && c.g == 0 && c.b == 255) { return 6; } // orange else if(c.r == 251 && c.g == 176 && c.b == 59) { return 7; } // white else { return DISABLED; } }
[ [ [ 1, 406 ] ] ]
4f1e8c77291a7c2f7d17e4dba0d15bfe46105241
50040b270d0548cd42756f75b23be4c1fa5d18a8
/camera/camera.cpp
85aaf6d09533ea0bbcb947775118716063c1f3c7
[]
no_license
martalex/wxmulticam
77b8d83026569713984f2b07f43ae8c303d83da6
4be99048b037115683850332a52b386d01b54257
refs/heads/master
2022-09-10T19:39:53.999222
2011-12-09T02:06:35
2011-12-09T02:06:35
268,398,740
0
0
null
null
null
null
UTF-8
C++
false
false
22,728
cpp
//////////////////////////////////////////////////////////////////// // Name: implementation of the CCamera class // File: camera.cpp // Purpose: camera system control methods // // Based on source code of Larry Lart //////////////////////////////////////////////////////////////////// #include "stdwx.h" #ifndef WX_PRECOMP #include "wx/wx.h" #endif //precompiled headers //#define _GUI_RUN 0 // Multicam includes #include "MultiCam/multicam.h" // other local includes #include "../worker.h" // GUI include #if _GUI_RUN #include "../gui/camview.h" #include "../gui/frame.h" #endif // Main header #include "camera.h" #ifdef _DEBUG #define new DEBUG_NEW #endif void WINAPI GlobalGrabberCallback(PMCSIGNALINFO pSigInfo) { if (pSigInfo && pSigInfo->Context) { CCamera* pCamera = (CCamera*) pSigInfo->Context; pCamera->OnImageGrabbed(pSigInfo); } } const int SURF_COUNT = 10; //////////////////////////////////////////////////////////////////// // Method: Constructor // Class: CCamera // Purpose: build my Camera object // Input: nothing // Output: nothing //////////////////////////////////////////////////////////////////// CCamera::CCamera( #if _GUI_RUN CGUIFrame* pFrame, CCamView* pCameraView #endif ) : #if _GUI_RUN m_pCameraView( pCameraView ), m_pFrame( pFrame ), #endif m_pWorker( NULL ) { m_isRunning = false; m_isPause = false; // the new camera implementation m_pVideoImg = NULL; m_nFps = -1; m_nFpsAlpha = 0.1; m_isAvi = false; m_isImageReady = false; m_bIsChange = 0; m_nTotalFrames = 0; m_MulticamDriverOK = false; m_nWidth = 0; m_nHeight = 0; m_nImagePixelSize = 0; m_bIsProcessing = false; } //////////////////////////////////////////////////////////////////// // Method: Destructor // Class: CCamera // Purpose: destroy my object // Input: nothing // Output: nothing //////////////////////////////////////////////////////////////////// CCamera::~CCamera( ) { Uninitialize( ); m_pWorker = NULL; #if _GUI_RUN m_pCameraView = NULL; m_pFrame = NULL; #endif } bool CCamera::OpenMulticam() { // Allocate Multicam driver MCSTATUS Status; Status = McOpenDriver(NULL); if(Status != MC_OK) { m_MulticamDriverOK = false; //FormatMulticamErrorText(Status, _T("McOpenDriver"), m_MulticamAllocationErrorMessage); } else { m_MulticamDriverOK = true; McSetParamInt(MC_CONFIGURATION, MC_ErrorHandling, MC_ErrorHandling_NONE); } return m_MulticamDriverOK; } void CCamera::CloseMulticam() { //release Multicam if(m_MulticamDriverOK) { McCloseDriver(); m_MulticamDriverOK = false; } } //////////////////////////////////////////////////////////////////// // Method: Init // Class: CCamera // Purpose: initialize my startup variables // Input: nothing // Output: nothing //////////////////////////////////////////////////////////////////// int CCamera::Init( ) { if( false == OpenMulticam() ) return( 0 ); m_timeCurrFrameStamp = m_pWorker->GetTime( ); m_timePrevFrameStamp = m_timeCurrFrameStamp; int ColorFormat; MCSTATUS Status; //channel Status = McCreate(MC_CHANNEL, &m_Channel); if(Status != MC_OK) { //FormatMulticamErrorText(Status, _T("McCreate"), ErrorStr); return false; } //board sys num Status = McSetParamInt(m_Channel, MC_DriverIndex, 0/*iBoardSystemNumber*/); if(Status != MC_OK) { // = _T("Please check camera connection to the computer and specified grabber system number."); //ErrorStr.Format(IDS_ERROR_GRABBER_CONNECTION, m_StartupSettings.m_iBoardSystemNumber); //Str.Format("McSetParamInt: MC_DriverIndex = %d", m_StartupSettings.m_iBoardSystemNumber); //FormatMulticamErrorText(Status, Str, ErrorStr); return false; } // #ifdef _UNICODE // USES_CONVERSION; // char *connector = W2A(m_StartupSettings.m_strConnector); // #else char *connector = "VID1";//(char *)LPCTSTR(m_StartupSettings.m_strConnector); // #endif //connector Status = McSetParamStr(m_Channel, MC_Connector, connector); if(Status != MC_OK) { //Str.Format( _T("McSetParamStr: MC_Connector = %s"), (LPCTSTR)m_StartupSettings.m_strConnector); //FormatMulticamErrorText(Status, Str, ErrorStr); return false; } // #ifdef _UNICODE // //USES_CONVERSION; // char *dcft = W2A(m_StartupSettings.m_strCameraFilename); // #else char *dcft = "NTSC.cam";//(char *)LPCTSTR(m_StartupSettings.m_strCameraFilename); // #endif //camera file Status = McSetParamStr(m_Channel, MC_CamFile, dcft); if(Status != MC_OK) { //Str.Format( _T("McSetParamStr: MC_CamFile = %s"), (LPCTSTR)m_StartupSettings.m_strCameraFilename); //FormatMulticamErrorText(Status, Str, ErrorStr); return false; } //image type int iPixelDepth = 1; ColorFormat = MC_ColorFormat_RGB24;//MC_ColorFormat_Y8; if( ColorFormat == MC_ColorFormat_RGB24 ) iPixelDepth = 3; Status = McSetParamInt(m_Channel, MC_ColorFormat, ColorFormat); if(Status != MC_OK) { //Str.Format( _T("McSetParamInt: MC_ColorFormat = %d"), ColorFormat); //FormatMulticamErrorText(Status, Str, ErrorStr); return false; } //surface count int SurfaceCount = SURF_COUNT; Status = McSetParamInt(m_Channel, MC_SurfaceCount, SurfaceCount); if(Status != MC_OK) { //Str.Format( _T("McSetParamInt: MC_SurfaceCount = %d"), SurfaceCount); //FormatMulticamErrorText(Status, Str, ErrorStr); return false; } // Choose the way the first acquisition is triggered Status = McSetParamInt(m_Channel, MC_TrigMode, MC_TrigMode_IMMEDIATE); if(Status != MC_OK) { //Str.Format( _T("McSetParamInt: MC_TrigMode = %s"), _T("MC_TrigMode_IMMEDIATE")); //FormatMulticamErrorText(Status, Str, ErrorStr); return false; } // Choose the triggering mode for subsequent acquisitions Status = McSetParamInt(m_Channel, MC_NextTrigMode, MC_NextTrigMode_REPEAT); if(Status != MC_OK) { //Str.Format( _T("McSetParamInt: MC_NextTrigMode = %s"), _T("MC_NextTrigMode_REPEAT")); //FormatMulticamErrorText(Status, Str, ErrorStr); return false; } // Choose the number of images to acquire Status = McSetParamInt(m_Channel, MC_SeqLength_Fr, MC_INDETERMINATE); if(Status != MC_OK) { //Str.Format( _T("McSetParamInt: MC_SeqLength_Fr = %s"), _T("MC_INDETERMINATE")); //FormatMulticamErrorText(Status, Str, ErrorStr); return false; } //image size INT32 cx = 640; INT32 cy = 480; //width Status = McSetParamInt(m_Channel, MC_ImageSizeX, /*m_StartupSettings.m_szImage.*/cx); if(Status != MC_OK) { //Str.Format( _T("McSetParamInt: MC_ImageSizeX = %d"), m_StartupSettings.m_szImage.cx); //FormatMulticamErrorText(Status, Str, ErrorStr); return false; } //height Status = McSetParamInt(m_Channel, MC_ImageSizeY, /*m_StartupSettings.m_szImage.*/cy); if(Status != MC_OK) { //Str.Format( _T("McSetParamInt: MC_ImageSizeY = %d"), m_StartupSettings.m_szImage.cy); //FormatMulticamErrorText(Status, Str, ErrorStr); return false; } //set line pitch = image width (as required by Dr. Lee's library int iLinePitch = /*m_StartupSettings.m_szImage.*/cx * iPixelDepth; Status = McSetParamInt(m_Channel, MC_BufferPitch, iLinePitch); if(Status != MC_OK) { //Str.Format( _T("McSetParamInt: MC_BufferPitch = %d"), iLinePitch); //FormatMulticamErrorText(Status, Str, ErrorStr); return false; } // Enable MultiCam signals //processing Status = McSetParamInt(m_Channel, MC_SignalEnable + MC_SIG_SURFACE_PROCESSING, MC_SignalEnable_ON); if(Status != MC_OK) { //FormatMulticamErrorText(Status, _T("McSetParamInt: MC_SignalEnable + MC_SIG_SURFACE_PROCESSING"), ErrorStr); return false; } //failure Status = McSetParamInt(m_Channel, MC_SignalEnable + MC_SIG_ACQUISITION_FAILURE, MC_SignalEnable_ON); if(Status != MC_OK) { //FormatMulticamErrorText(Status, _T("McSetParamInt: MC_SignalEnable + MC_SIG_ACQUISITION_FAILURE"), ErrorStr); return false; } // Register the callback function McRegisterCallback(m_Channel, GlobalGrabberCallback, this); //GetSize(); //reset the callback event // ResetEvent(m_ImageGrabbedEvent); //activate // if(!StartGrab(ErrorStr)) // { // return false; // } return( 1 ); } void CCamera::Uninitialize() { if(m_Channel) { McSetParamInt(m_Channel, MC_ChannelState, MC_ChannelState_IDLE); McDelete(m_Channel); m_Channel = 0; } if( m_pVideoImg ) delete [] m_pVideoImg; m_pVideoImg = NULL; CloseMulticam(); } //////////////////////////////////////////////////////////////////// // Method: GetSize // Class: CCamera // Purpose: initialize my startup variables // Input: nothing // Output: nothing //////////////////////////////////////////////////////////////////// int CCamera::GetSize( ) { //width MCSTATUS Status = McGetParamInt(m_Channel, MC_ImageSizeX, &m_nWidth); if(Status != MC_OK) { //Str.Format( _T("McSetParamInt: MC_ImageSizeX = %d"), m_StartupSettings.m_szImage.cx); //FormatMulticamErrorText(Status, Str, ErrorStr); return false; } //height Status = McGetParamInt(m_Channel, MC_ImageSizeY, &m_nHeight); if(Status != MC_OK) { //Str.Format( _T("McSetParamInt: MC_ImageSizeY = %d"), m_StartupSettings.m_szImage.cy); //FormatMulticamErrorText(Status, Str, ErrorStr); return false; } #if _GUI_RUN // set camview size wxASSERT( m_pCameraView && m_pFrame ); if( m_pCameraView ) m_pCameraView->SetSize( m_nWidth, m_nHeight ); if( m_pFrame ) m_pFrame->ResetLayout( ); #endif return( 1 ); } //////////////////////////////////////////////////////////////////// // Method: Start // Class: CCamera // Purpose: Start capture // Input: nothing // Output: nothing //////////////////////////////////////////////////////////////////// void CCamera::Start( ) { MCSTATUS Status; Status = McSetParamInt(m_Channel, MC_ChannelState, MC_ChannelState_ACTIVE); if(Status != MC_OK) { // FormatMulticamErrorText(Status, _T("McSetParamInt: MC_ChannelState_ACTIVE"), ErrorStr); // CString strPossibleReasonOfFailure; // strPossibleReasonOfFailure.Format( // IDS_ERROR_CANT_START_GRABBER_ONE_OF_POSSIBLE_REASONS_OF_FAILURE, // m_StartupSettings.m_szImage.cx, m_StartupSettings.m_szImage.cy // ); // ErrorStr += strPossibleReasonOfFailure; return /*false*/; } /* #ifdef WIN32_LARRY m_pCapture = cvCaptureFromCAM( -1 ); // grab first frame to initialize format IplImage* pFrame = cvQueryFrame( m_pCapture ); // get camera's size GetSize( ); #else int ncameras = cvcamGetCamerasCount(); printf("DEBUG :: Found cameras=%d\n", ncameras ); int w = 640; int h = 480; int nCam = 0; int t=1; int p=1; cvcamSetProperty(nCam, CVCAM_RNDWIDTH, &w ); cvcamSetProperty(nCam, CVCAM_RNDHEIGHT, &h ); cvcamSetProperty(nCam, CVCAM_PROP_ENABLE, &t ); int width = 320; int height = 200; HWND MyWin = (HWND)m_pCameraView->GetHandle(); cvcamSetProperty(nCam, CVCAM_PROP_WINDOW, &MyWin ); cvcamSetProperty(nCam, CVCAM_PROP_RENDER, &p ); cvcamSetProperty(0, CVCAM_PROP_CALLBACK, (void*)testcallback ); cvcamInit(); Sleep( 5000 ); cvcamStart(); #endif */ m_isRunning = true; } //////////////////////////////////////////////////////////////////// // Method: PauseResume // Class: CCamera // Purpose: pause/resume capture // Input: nothing // Output: nothing //////////////////////////////////////////////////////////////////// void CCamera::PauseResume( ) { if( m_isPause ) m_isPause = false; else m_isPause = true; } //////////////////////////////////////////////////////////////////// // Method: IsChanged // Class: CCamera // Purpose: mark flag change // Input: nothing // Output: nothing //////////////////////////////////////////////////////////////////// void CCamera::IsChanged( ) { m_bIsChange = 1; m_isPause = true; } //////////////////////////////////////////////////////////////////// // Method: Stop // Class: CCamera // Purpose: Stop capture // Input: nothing // Output: nothing //////////////////////////////////////////////////////////////////// void CCamera::Stop( ) { m_isRunning = false; MCSTATUS Status; Status = McSetParamInt(m_Channel, MC_ChannelState, MC_ChannelState_IDLE); if(Status != MC_OK) { //FormatMulticamErrorText(Status, _T("McSetParamInt: MC_ChannelState_IDLE"), ErrorStr); return /*false*/; } // #ifdef WIN32_LARRY // cvReleaseCapture( &m_pCapture ); // if( m_pVideoImg ) // { // cvReleaseImage( &m_pVideoImg ); // m_pVideoImg = NULL; // } // #else // cvcamExit(); // #endif } //////////////////////////////////////////////////////////////////// // feedback - only for linux // #ifndef WIN32_LARRY // void testcallback(void* _image) // { // IplImage* image = (IplImage*)_image; // cvLine(image, cvPoint(0, 0), cvPoint(image->width, image->height),CV_RGB(255, 0, 0), 1); // m_pLnxFrame = image ; // } // #endif //////////////////////////////////////////////////////////////////// // Method: Get Next Frame // Class: CCamera // Purpose: get next frame from camera buffer // Input: pointer to void // Output: Nothing //////////////////////////////////////////////////////////////////// void CCamera::GetNextFrame( void* ) { static int repositioning = 0; // IplImage* pFrame = NULL; const int kMinimalPoolingTime = 1; // 1 ms // get current frame time stamp m_timeCurrFrameStamp = m_pWorker->GetTime( ); if( m_timeCurrFrameStamp - m_timePrevFrameStamp < kMinimalPoolingTime ) return; // else // m_timePrevFrameStamp = m_timeCurrFrameStamp; if( m_bIsProcessing ) return; m_bIsProcessing = true; // #ifdef WIN32_LARRY // // get frame if any // pFrame = cvQueryFrame( m_pCapture ); // #else // // to test this - don't remmember how i got this working // // on linux // pFrame = m_pLnxFrame; // // get frame in linux ? // // cvcamPause(); // cvcamGetProperty(0,CVCAM_PROP_RAW,&pFrame); // cvcamResume(); // // pFrame = cvCloneImage( fimg ); // // Sleep(400); // #endif // if this was avi and frame is zero(end or none?) stop // if( pFrame == 0 && m_isAvi ) // { // //this->StopAvi( 0,0 ); // return; // } // // #ifdef _GUI_RUN // // Update gui // m_pCameraView->DrawCam( m_pVideoImg ); // #endif // // } if( m_isImageReady ) { #ifdef _GUI_RUN // Update gui if( m_pCameraView ) m_pCameraView->DrawCam( m_pVideoImg, m_nWidth, m_nHeight ); #endif m_isImageReady = false; // If camera started if( m_isRunning ) { // get current frame time stamp m_timeCurrFrameStamp = m_pWorker->GetTime( ); int timeBetweenFrames = m_timeCurrFrameStamp - m_timePrevFrameStamp; if( timeBetweenFrames <= 0 ) timeBetweenFrames = 1; // update fps if( m_nFps < 0 ) m_nFps = 1000 / timeBetweenFrames; else m_nFps = ( 1 - m_nFpsAlpha ) * m_nFps + m_nFpsAlpha * 1000 / timeBetweenFrames; // set current time stamp as previous m_timePrevFrameStamp = m_timeCurrFrameStamp; ++m_nTotalFrames; // get info of number of frames per second in a string // for debugging/etc m_strFps.Empty(); m_strFps << "FPS: " << (int)m_nFps; // get info of number of received frames in a string // for debugging/etc m_strFrames.Empty(); m_strFrames << "Frames: " << m_nTotalFrames; #if _GUI_RUN if( m_pFrame ) { m_pFrame->SetStatusBarText( m_strFps, SBID_FPS ); m_pFrame->SetStatusBarText( m_strFrames, SBID_FRAMES ); // if( m_nTotalFrames % 10 == 1 ) // { // // m_pFrame->SendFrameNumber( m_nTotalFrames ); // m_pFrame->SendFrameData( m_pVideoImg, m_nWidth, m_nHeight, m_nImagePixelSize ); // } //wxSleep( 3000 ); } #endif } } m_bIsProcessing = false; } void CCamera::SendFrame( wxSocketBase *sock ) { #if _GUI_RUN if( m_pFrame && m_pVideoImg ) m_pFrame->SendFrameData( sock, m_pVideoImg, m_nWidth, m_nHeight, m_nImagePixelSize ); #endif } //////////////////////////////////////////////////////////////////// // Method: GetIFrame // Class: CCamera // Purpose: get last frame grabbed // Input: nothing // Output: nothing //////////////////////////////////////////////////////////////////// //IplImage *CCamera::GetIFrame( ) BYTE *CCamera::GetIFrame( ) { return( m_pVideoImg ); } //////////////////////////////////////////////////////////////////// // Method: Run // Class: CCamera // Purpose: Start to run my camera thread // Input: nothing // Output: nothing //////////////////////////////////////////////////////////////////// int CCamera::Run( ) { if( !m_isPause ) { // Get my next frame this->GetNextFrame( NULL ); } else { if( m_bIsChange == 1 ) { // check size Stop( ); Start( ); m_bIsChange = 0; m_isPause = 0; } } return( 0 ); } //--------------------------------------------------------------------------- //called after the image had been grabbed void CCamera::OnImageGrabbed(PMCSIGNALINFO pSigInfo) { //ignore if not yet started if(!m_isRunning || m_isPause ) { return; } m_isImageReady = false; //look what happened bool Result = false; void* pPixels = NULL; int ImageWidth, ImageHeight, ColorFormat; MCSTATUS Status; switch(pSigInfo->Signal) { case MC_SIG_SURFACE_PROCESSING: Result = true; break; case MC_SIG_ACQUISITION_FAILURE: wxMessageBox( _T("No signal. Please check video connection."), _T("Acquisition Failure") ); break; default: break; } if( false != Result ) { //get the source of pixels Status = McGetParamInt(pSigInfo->SignalInfo, MC_SurfaceAddr, (PINT32)&pPixels); if(Status != MC_OK) { //FormatMulticamErrorText(Status, _T("MC_SurfaceAddr"), strError); Result = false; } else //image parameters Status = McGetParamInt(m_Channel, MC_ImageSizeX, &ImageWidth); if(Status != MC_OK) { //Str = _T("McGetParamInt: MC_ImageSizeX"); //FormatMulticamErrorText(Status, Str, strError); Result = false; } else Status = McGetParamInt(m_Channel, MC_ImageSizeY, &ImageHeight); if(Status != MC_OK) { //Str = _T("McGetParamInt: MC_ImageSizeY"); //FormatMulticamErrorText(Status, Str, strError); Result = false; } else Status = McGetParamInt(m_Channel, MC_ColorFormat, &ColorFormat); int ImagePixelSize=0; if(Status != MC_OK) { //Str = _T("McGetParamInt: MC_ColorFormat"); //FormatMulticamErrorText(Status, Str, strError); Result = false; } else Status = McGetParamInt(m_Channel, MC_ImagePixelSize, &ImagePixelSize); int iLinePitch = 1; if(Status != MC_OK) { //Str = _T("McGetParamInt: MC_ColorFormat"); //FormatMulticamErrorText(Status, Str, strError); Result = false; } /* if(ColorFormat == MC_ColorFormat_Y8) { ImageFmt = IDT_BW08; } else if(ColorFormat == MC_ColorFormat_Y12) { ImageFmt = IDT_BW12; } else { ImageWidth = 0; ImageHeight = 0; ImageFmt = 0; strError.Format(IDS_ERROR_UNSUPPORTED_IMAGE_TYPE, ColorFormat); Result = false; goto end; } */ if( ImageHeight != m_nHeight || ImageWidth != m_nWidth ) { //GetSize(); m_nWidth = ImageWidth; m_nHeight = ImageHeight; m_nImagePixelSize = ImagePixelSize; // #if _GUI_RUN // if( m_pCameraView ) // m_pCameraView->SetSize( m_nWidth, m_nHeight ); // if( m_pFrame ) // m_pFrame->ResetLayout( ); // #endif } //copy int ImageSizeBytes = ImageWidth*ImageHeight*ImagePixelSize; if( NULL == m_pVideoImg ) m_pVideoImg = new BYTE [ImageSizeBytes]; if( NULL != m_pVideoImg ) { memcpy(m_pVideoImg, pPixels, ImageSizeBytes); m_isImageReady = true; } } // end: // m_GrabbResultIntermediateCS.BeginWrite(); // m_GrabbingResult = Result; // m_GrabbingError = strError; // m_GrabbResultIntermediateCS.EndWrite(); // if(!Result) // { // StopGrab(strFakeErrorStr); // } // //prepare the image // SetEvent(m_ImageGrabbedEvent); }
[ [ [ 1, 10 ], [ 16, 24 ], [ 26, 54 ], [ 64, 78 ], [ 86, 99 ], [ 101, 102 ], [ 134, 144 ], [ 148, 333 ], [ 336, 363 ], [ 365, 371 ], [ 373, 373 ], [ 375, 533 ], [ 539, 575 ], [ 577, 604 ], [ 607, 609 ], [ 628, 629 ], [ 633, 634 ], [ 643, 709 ], [ 712, 725 ], [ 727, 789 ], [ 791, 791 ], [ 798, 823 ] ], [ [ 11, 15 ], [ 25, 25 ], [ 55, 63 ], [ 79, 85 ], [ 100, 100 ], [ 103, 133 ], [ 145, 147 ], [ 334, 335 ], [ 364, 364 ], [ 372, 372 ], [ 374, 374 ], [ 534, 538 ], [ 576, 576 ], [ 605, 606 ], [ 610, 627 ], [ 630, 632 ], [ 635, 642 ], [ 710, 711 ], [ 726, 726 ], [ 790, 790 ], [ 792, 797 ] ] ]
3f5fb60219268033155bc5d3a3ebb288083c4b47
e9944cc3f8c362cd0314a2d7a01291ed21de19ee
/ xcommon/Public/XViewWnd.cpp
a455794eb11f60101850f72e0b8405084ea29f44
[]
no_license
wermanhme1990/xcommon
49d7185a28316d46992ad9311ae9cdfe220cb586
c9b1567da1f11e7a606c6ed638a9fde1f6ece577
refs/heads/master
2016-09-06T12:43:43.593776
2008-12-05T04:24:11
2008-12-05T04:24:11
39,864,906
2
0
null
null
null
null
GB18030
C++
false
false
8,726
cpp
/******************************************************************** Copyright (c) 2002-2003 汉王科技有限公司. 版权所有. 文件名称: XViewWnd.h 文件内容: 将view转换为wnd一样使用 版本历史: 1.0 作者: xuejuntao [email protected] 2008/04/05 *********************************************************************/ #include "stdafx.h" #include "XViewWnd.h" #include <vector> #include <algorithm> using namespace std; using namespace Gdiplus; #ifdef _DEBUG #undef THIS_FILE static char BASED_CODE THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CXViewWnd CXString CXViewWnd:: m_strClassName = TEXT("HWX_VIEWWND"); CXString CXViewWnd:: m_strDefWndName = TEXT("HWX_RENDER"); IMPLEMENT_DYNCREATE(CXViewWnd, CScrollView) BEGIN_MESSAGE_MAP(CXViewWnd, CScrollView) //{{AFX_MSG_MAP(CXViewWnd) ON_WM_SIZE() ON_WM_ERASEBKGND() ON_WM_SETFOCUS() ON_WM_DESTROY() ON_WM_CREATE() ON_WM_CONTEXTMENU() //}}AFX_MSG_MAP // Standard printing commands ON_COMMAND(ID_FILE_PRINT, OnFilePrint) ON_COMMAND(ID_FILE_PRINT_PREVIEW, CScrollView::OnFilePrintPreview) ON_WM_MOUSEACTIVATE() ON_WM_SETCURSOR() END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CXViewWnd construction/destruction CXViewWnd::CXViewWnd() { m_bActive = TRUE;//FALSE; } CXViewWnd::~CXViewWnd() { } BOOL CXViewWnd::PreCreateWindow(CREATESTRUCT& cs) { ASSERT(cs.style & WS_CHILD); if (cs.lpszClass == NULL) cs.lpszClass = AfxRegisterWndClass(CS_DBLCLKS); return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CXViewWnd drawing void CXViewWnd::OnPrepareDC(CDC* pDC, CPrintInfo* pInfo) { __super::OnPrepareDC(pDC, pInfo); } BOOL CXViewWnd::OnScrollBy(CSize sizeScroll, BOOL bDoScroll) { // do the scroll if (!__super::OnScrollBy(sizeScroll, bDoScroll)) return FALSE; // update the position of any in-place active item if (bDoScroll) { UpdateWindow(); } return TRUE; } void CXViewWnd::OnDraw(CDC* pDC) { CDC dc; CDC* pDrawDC = pDC; CBitmap bitmap; CBitmap* pOldBitmap = 0; // only paint the rect that needs repainting CRect client; pDC->GetClipBox(client); CRect rect = client; DocToClient(rect); if (dc.CreateCompatibleDC(pDC)) { if (bitmap.CreateCompatibleBitmap(pDC, rect.Width(), rect.Height())) { OnPrepareDC(&dc, NULL); pDrawDC = &dc; dc.OffsetViewportOrg(-rect.left, -rect.top); pOldBitmap = dc.SelectObject(&bitmap); dc.SetBrushOrg(rect.left % 8, rect.top % 8); dc.IntersectClipRect(client); } } Draw(pDrawDC->GetSafeHdc()); if (pDrawDC != pDC) { pDC->SetViewportOrg(0, 0); pDC->SetWindowOrg(0, 0); pDC->SetMapMode(MM_TEXT); dc.SetViewportOrg(0, 0); dc.SetWindowOrg(0, 0); dc.SetMapMode(MM_TEXT); pDC->BitBlt(rect.left, rect.top, rect.Width(), rect.Height(), &dc, 0, 0, SRCCOPY); dc.SelectObject(pOldBitmap); } } void CXViewWnd::Draw( HDC pDC) { } void CXViewWnd::OnInitialUpdate() { SetScrollSizes(MM_TEXT, m_szPaper); } void CXViewWnd::SetPageSize(CSize size) { SetScrollSizes(MM_TEXT, size); m_szPaper = size; } ///////////////////////////////////////////////////////////////////////////// // CXViewWnd printing BOOL CXViewWnd::OnPreparePrinting(CPrintInfo* pInfo) { // default preparation return DoPreparePrinting(pInfo); } void CXViewWnd::OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo) { CScrollView::OnBeginPrinting(pDC,pInfo); } void CXViewWnd::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/) { } void CXViewWnd::ClientToDoc(CPoint& point) { CClientDC dc(this); OnPrepareDC(&dc, NULL); dc.DPtoLP(&point); } void CXViewWnd::ClientToDoc(CRect& rect) { CClientDC dc(this); OnPrepareDC(&dc, NULL); dc.DPtoLP(rect); ASSERT(rect.left <= rect.right); } void CXViewWnd::DocToClient(CPoint& point) { CClientDC dc(this); OnPrepareDC(&dc, NULL); dc.LPtoDP(&point); } void CXViewWnd::DocToClient(CRect& rect) { CClientDC dc(this); OnPrepareDC(&dc, NULL); dc.LPtoDP(rect); rect.NormalizeRect(); } BOOL CXViewWnd::OnEraseBkgnd(CDC*) { return TRUE; } void CXViewWnd::OnFilePrint() { CScrollView::OnFilePrint(); //GetDocument()->ComputePageSize(); } //////////////////////////////////////////////////////////////////////////// // CXViewWnd diagnostics #ifdef _DEBUG void CXViewWnd::AssertValid() const { CScrollView::AssertValid(); } void CXViewWnd::Dump(CDumpContext& dc) const { CScrollView::Dump(dc); } #endif //_DEBUG BOOL CXViewWnd::RegisterWndClass() { WNDCLASS tWC; HINSTANCE hInst = AfxGetInstanceHandle(); if (!(::GetClassInfo(hInst, m_strClassName, &tWC))) { tWC.style = CS_DBLCLKS | CS_HREDRAW | CS_VREDRAW; tWC.lpfnWndProc = ::DefWindowProc; tWC.cbClsExtra = tWC.cbWndExtra = 0; tWC.hInstance = hInst; tWC.hIcon = NULL; tWC.hCursor = AfxGetApp()->LoadStandardCursor(IDC_ARROW); tWC.hbrBackground = ::GetSysColorBrush(COLOR_WINDOW); tWC.lpszMenuName = NULL; tWC.lpszClassName = m_strClassName; if (!AfxRegisterClass(&tWC)) { AfxThrowResourceException(); return FALSE; } } return TRUE; } BOOL CXViewWnd::Create(CWnd * pParent, const CRect &rect, const CSize &szPaper, DWORD dwStyple, DWORD dwStypleEx, LPCTSTR pszWndName) { RegisterWndClass(); if (szPaper == CSize(0, 0)) { m_szPaper.cx = rect.Width(); m_szPaper.cy = rect.Height(); } else { m_szPaper = szPaper; } if (!pszWndName) { pszWndName = m_strDefWndName; } BOOL blCreated = __super::Create(m_strClassName, pszWndName, dwStyple | WS_VISIBLE | WS_CHILD | WS_CLIPSIBLINGS, rect, pParent, 0); if (blCreated) { SetPageSize(szPaper); } return blCreated; } BOOL CXViewWnd::Create(HWND hParent, const CRect &rect, const CSize &szPaper, DWORD dwStyple, DWORD dwStypleEx, LPCTSTR pszWndName) { return Create(CWnd::FromHandle(hParent), rect, szPaper, dwStyple, dwStypleEx); } void CXViewWnd::PostNcDestroy() { // TODO: 在此添加专用代码和/或调用基类 //CScrollView::PostNcDestroy(); } CSize CXViewWnd::GetPaperSize() { return m_szPaper; } int CXViewWnd::OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message) { // TODO: 在此添加消息处理程序代码和/或调用默认值 LONG nResult = CWnd::OnMouseActivate(pDesktopWnd, nHitTest, message); OnActivateView(TRUE, this, NULL); return nResult; } CXStringT CXViewWnd::GetWndClass() { RegisterWndClass(); return m_strClassName; } BOOL CXViewWnd::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext) { return CreateEx(0, lpszClassName, lpszWindowName, dwStyle | WS_CHILD, rect, pParentWnd, nID, pContext); } BOOL CXViewWnd::CreateEx(DWORD dwExStyle, LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, LPVOID lpParam) { if (!lpszClassName) { return Create(pParentWnd, rect, CSize(_abs(rect.right - rect.left), _abs(rect.bottom - rect.top)), dwStyle, dwExStyle, lpszWindowName); } else { return __super::CreateEx(dwExStyle, lpszClassName, lpszWindowName, dwStyle, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, pParentWnd->GetSafeHwnd(), (HMENU)(UINT_PTR)nID, lpParam); } } void CXViewWnd::OnSize(UINT nType, int cx, int cy) { __super::OnSize(nType, cx, cy); //m_szPaper = CSize(cx, cy); } void CXViewWnd::OnActivateFrame(UINT nState, CFrameWnd* pDeactivateFrame) { // TODO: 在此添加专用代码和/或调用基类 __super::OnActivateFrame(nState, pDeactivateFrame); } void CXViewWnd::OnActivateView(BOOL bActivate, CView* pActiveView, CView* pDeactiveView) { CView::OnActivateView(bActivate, pActiveView, pDeactiveView); // invalidate selections when active status changes if (m_bActive != bActivate) { if (bActivate) // if becoming active update as if active m_bActive = bActivate; m_bActive = bActivate; } }
[ "jtxuee@8e66cb3a-4d54-0410-a772-b92400a1a2d6", "[email protected]" ]
[ [ [ 1, 26 ], [ 28, 93 ], [ 95, 106 ], [ 108, 282 ], [ 284, 336 ], [ 338, 351 ] ], [ [ 27, 27 ], [ 94, 94 ], [ 107, 107 ], [ 283, 283 ], [ 337, 337 ], [ 352, 352 ] ] ]
54523ab43dd39da057a1a41db2aab98b5f75dba2
d54d8b1bbc9575f3c96853e0c67f17c1ad7ab546
/hlsdk-2.3-p3/singleplayer/utils/vgui/include/VGUI_App.h
db402646c0c47e16ded914516a59b10914f522a0
[]
no_license
joropito/amxxgroup
637ee71e250ffd6a7e628f77893caef4c4b1af0a
f948042ee63ebac6ad0332f8a77393322157fa8f
refs/heads/master
2021-01-10T09:21:31.449489
2010-04-11T21:34:27
2010-04-11T21:34:27
47,087,485
1
0
null
null
null
null
WINDOWS-1252
C++
false
false
5,116
h
//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============ // // Purpose: // // $NoKeywords: $ //============================================================================= #ifndef VGUI_APP_H #define VGUI_APP_H #include<VGUI.h> #include<VGUI_MouseCode.h> #include<VGUI_KeyCode.h> #include<VGUI_Dar.h> #include<VGUI_Cursor.h> namespace vgui { enum MouseCode; enum KeyCode; class Panel; class TickSignal; class Scheme; class TickSignal; class SurfaceBase; class VGUIAPI App { public: App(); App(bool externalMain); public: static App* getInstance(); //TODO: the public and public bullshit are all messed up, need to organize //TODO: actually all of the access needs to be properly thought out while you are at it public: virtual void start(); virtual void stop(); virtual void externalTick(); virtual bool wasMousePressed(MouseCode code,Panel* panel); virtual bool wasMouseDoublePressed(MouseCode code,Panel* panel); virtual bool isMouseDown(MouseCode code,Panel* panel); virtual bool wasMouseReleased(MouseCode code,Panel* panel); virtual bool wasKeyPressed(KeyCode code,Panel* panel); virtual bool isKeyDown(KeyCode code,Panel* panel); virtual bool wasKeyTyped(KeyCode code,Panel* panel); virtual bool wasKeyReleased(KeyCode code,Panel* panel); virtual void addTickSignal(TickSignal* s); virtual void setCursorPos(int x,int y); virtual void getCursorPos(int& x,int& y); virtual void setMouseCapture(Panel* panel); virtual void setMouseArena(int x0,int y0,int x1,int y1,bool enabled); virtual void setMouseArena(Panel* panel); virtual void requestFocus(Panel* panel); virtual Panel* getFocus(); virtual void repaintAll(); virtual void setScheme(Scheme* scheme); virtual Scheme* getScheme(); virtual void enableBuildMode(); virtual long getTimeMillis(); virtual char getKeyCodeChar(KeyCode code,bool shifted); virtual void getKeyCodeText(KeyCode code,char* buf,int buflen); virtual int getClipboardTextCount(); virtual void setClipboardText(const char* text,int textLen); virtual int getClipboardText(int offset,char* buf,int bufLen); virtual void reset(); virtual void internalSetMouseArena(int x0,int y0,int x1,int y1,bool enabled); virtual bool setRegistryString(const char* key,const char* value); virtual bool getRegistryString(const char* key,char* value,int valueLen); virtual bool setRegistryInteger(const char* key,int value); virtual bool getRegistryInteger(const char* key,int& value); virtual void setCursorOveride(Cursor* cursor); virtual Cursor* getCursorOveride(); virtual void setMinimumTickMillisInterval(int interval); public: //bullshit public stuff virtual void main(int argc,char* argv[])=0; virtual void run(); virtual void internalCursorMoved(int x,int y,SurfaceBase* surfaceBase); //expects input in surface space virtual void internalMousePressed(MouseCode code,SurfaceBase* surfaceBase); virtual void internalMouseDoublePressed(MouseCode code,SurfaceBase* surfaceBase); virtual void internalMouseReleased(MouseCode code,SurfaceBase* surfaceBase); virtual void internalMouseWheeled(int delta,SurfaceBase* surfaceBase); virtual void internalKeyPressed(KeyCode code,SurfaceBase* surfaceBase); virtual void internalKeyTyped(KeyCode code,SurfaceBase* surfaceBase); virtual void internalKeyReleased(KeyCode code,SurfaceBase* surfaceBase); private: virtual void init(); virtual void updateMouseFocus(int x,int y,SurfaceBase* surfaceBase); virtual void setMouseFocus(Panel* newMouseFocus); protected: virtual void surfaceBaseCreated(SurfaceBase* surfaceBase); virtual void surfaceBaseDeleted(SurfaceBase* surfaceBase); virtual void platTick(); virtual void internalTick(); protected: static App* _instance; protected: bool _running; bool _externalMain; Dar<SurfaceBase*> _surfaceBaseDar; Panel* _keyFocus; Panel* _oldMouseFocus; Panel* _mouseFocus; Panel* _mouseCapture; Panel* _wantedKeyFocus; bool _mousePressed[MOUSE_LAST]; bool _mouseDoublePressed[MOUSE_LAST]; bool _mouseDown[MOUSE_LAST]; bool _mouseReleased[MOUSE_LAST]; bool _keyPressed[KEY_LAST]; bool _keyTyped[KEY_LAST]; bool _keyDown[KEY_LAST]; bool _keyReleased[KEY_LAST]; Dar<TickSignal*> _tickSignalDar; Scheme* _scheme; bool _buildMode; bool _wantedBuildMode; Panel* _mouseArenaPanel; Cursor* _cursor[Cursor::DefaultCursor::dc_last]; Cursor* _cursorOveride; private: long _nextTickMillis; long _minimumTickMillisInterval; friend class SurfaceBase; }; } #endif
[ "joropito@23c7d628-c96c-11de-a380-73d83ba7c083" ]
[ [ [ 1, 132 ] ] ]
caa7e92bcdde1ff4659d7159c8e581941209fde6
580738f96494d426d6e5973c5b3493026caf8b6a
/Include/Vcl/dbactns.hpp
f2066aa4718c411819fbe0fb4b39e358596cc8f4
[]
no_license
bravesoftdz/cbuilder-vcl
6b460b4d535d17c309560352479b437d99383d4b
7b91ef1602681e094a6a7769ebb65ffd6f291c59
refs/heads/master
2021-01-10T14:21:03.726693
2010-01-11T11:23:45
2010-01-11T11:23:45
48,485,606
2
1
null
null
null
null
UTF-8
C++
false
false
8,540
hpp
// Borland C++ Builder // Copyright (c) 1995, 2002 by Borland Software Corporation // All rights reserved // (DO NOT EDIT: machine generated header) 'DBActns.pas' rev: 6.00 #ifndef DBActnsHPP #define DBActnsHPP #pragma delphiheader begin #pragma option push -w- #pragma option push -Vx #include <ActnList.hpp> // Pascal unit #include <DB.hpp> // Pascal unit #include <Classes.hpp> // Pascal unit #include <SysInit.hpp> // Pascal unit #include <System.hpp> // Pascal unit //-- user supplied ----------------------------------------------------------- namespace Dbactns { //-- type declarations ------------------------------------------------------- class DELPHICLASS TDataSetAction; class PASCALIMPLEMENTATION TDataSetAction : public Actnlist::TAction { typedef Actnlist::TAction inherited; private: Db::TDataSource* FDataSource; void __fastcall SetDataSource(Db::TDataSource* Value); protected: virtual Db::TDataSet* __fastcall GetDataSet(System::TObject* Target); virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation); public: virtual bool __fastcall HandlesTarget(System::TObject* Target); __property Db::TDataSource* DataSource = {read=FDataSource, write=SetDataSource}; public: #pragma option push -w-inl /* TAction.Create */ inline __fastcall virtual TDataSetAction(Classes::TComponent* AOwner) : Actnlist::TAction(AOwner) { } #pragma option pop public: #pragma option push -w-inl /* TCustomAction.Destroy */ inline __fastcall virtual ~TDataSetAction(void) { } #pragma option pop }; class DELPHICLASS TDataSetFirst; class PASCALIMPLEMENTATION TDataSetFirst : public TDataSetAction { typedef TDataSetAction inherited; public: virtual void __fastcall ExecuteTarget(System::TObject* Target); virtual void __fastcall UpdateTarget(System::TObject* Target); __published: __property DataSource ; public: #pragma option push -w-inl /* TAction.Create */ inline __fastcall virtual TDataSetFirst(Classes::TComponent* AOwner) : TDataSetAction(AOwner) { } #pragma option pop public: #pragma option push -w-inl /* TCustomAction.Destroy */ inline __fastcall virtual ~TDataSetFirst(void) { } #pragma option pop }; class DELPHICLASS TDataSetPrior; class PASCALIMPLEMENTATION TDataSetPrior : public TDataSetAction { typedef TDataSetAction inherited; public: virtual void __fastcall ExecuteTarget(System::TObject* Target); virtual void __fastcall UpdateTarget(System::TObject* Target); __published: __property DataSource ; public: #pragma option push -w-inl /* TAction.Create */ inline __fastcall virtual TDataSetPrior(Classes::TComponent* AOwner) : TDataSetAction(AOwner) { } #pragma option pop public: #pragma option push -w-inl /* TCustomAction.Destroy */ inline __fastcall virtual ~TDataSetPrior(void) { } #pragma option pop }; class DELPHICLASS TDataSetNext; class PASCALIMPLEMENTATION TDataSetNext : public TDataSetAction { typedef TDataSetAction inherited; public: virtual void __fastcall ExecuteTarget(System::TObject* Target); virtual void __fastcall UpdateTarget(System::TObject* Target); __published: __property DataSource ; public: #pragma option push -w-inl /* TAction.Create */ inline __fastcall virtual TDataSetNext(Classes::TComponent* AOwner) : TDataSetAction(AOwner) { } #pragma option pop public: #pragma option push -w-inl /* TCustomAction.Destroy */ inline __fastcall virtual ~TDataSetNext(void) { } #pragma option pop }; class DELPHICLASS TDataSetLast; class PASCALIMPLEMENTATION TDataSetLast : public TDataSetAction { typedef TDataSetAction inherited; public: virtual void __fastcall ExecuteTarget(System::TObject* Target); virtual void __fastcall UpdateTarget(System::TObject* Target); __published: __property DataSource ; public: #pragma option push -w-inl /* TAction.Create */ inline __fastcall virtual TDataSetLast(Classes::TComponent* AOwner) : TDataSetAction(AOwner) { } #pragma option pop public: #pragma option push -w-inl /* TCustomAction.Destroy */ inline __fastcall virtual ~TDataSetLast(void) { } #pragma option pop }; class DELPHICLASS TDataSetInsert; class PASCALIMPLEMENTATION TDataSetInsert : public TDataSetAction { typedef TDataSetAction inherited; public: virtual void __fastcall ExecuteTarget(System::TObject* Target); virtual void __fastcall UpdateTarget(System::TObject* Target); __published: __property DataSource ; public: #pragma option push -w-inl /* TAction.Create */ inline __fastcall virtual TDataSetInsert(Classes::TComponent* AOwner) : TDataSetAction(AOwner) { } #pragma option pop public: #pragma option push -w-inl /* TCustomAction.Destroy */ inline __fastcall virtual ~TDataSetInsert(void) { } #pragma option pop }; class DELPHICLASS TDataSetDelete; class PASCALIMPLEMENTATION TDataSetDelete : public TDataSetAction { typedef TDataSetAction inherited; public: virtual void __fastcall ExecuteTarget(System::TObject* Target); virtual void __fastcall UpdateTarget(System::TObject* Target); __published: __property DataSource ; public: #pragma option push -w-inl /* TAction.Create */ inline __fastcall virtual TDataSetDelete(Classes::TComponent* AOwner) : TDataSetAction(AOwner) { } #pragma option pop public: #pragma option push -w-inl /* TCustomAction.Destroy */ inline __fastcall virtual ~TDataSetDelete(void) { } #pragma option pop }; class DELPHICLASS TDataSetEdit; class PASCALIMPLEMENTATION TDataSetEdit : public TDataSetAction { typedef TDataSetAction inherited; public: virtual void __fastcall ExecuteTarget(System::TObject* Target); virtual void __fastcall UpdateTarget(System::TObject* Target); __published: __property DataSource ; public: #pragma option push -w-inl /* TAction.Create */ inline __fastcall virtual TDataSetEdit(Classes::TComponent* AOwner) : TDataSetAction(AOwner) { } #pragma option pop public: #pragma option push -w-inl /* TCustomAction.Destroy */ inline __fastcall virtual ~TDataSetEdit(void) { } #pragma option pop }; class DELPHICLASS TDataSetPost; class PASCALIMPLEMENTATION TDataSetPost : public TDataSetAction { typedef TDataSetAction inherited; public: virtual void __fastcall ExecuteTarget(System::TObject* Target); virtual void __fastcall UpdateTarget(System::TObject* Target); __published: __property DataSource ; public: #pragma option push -w-inl /* TAction.Create */ inline __fastcall virtual TDataSetPost(Classes::TComponent* AOwner) : TDataSetAction(AOwner) { } #pragma option pop public: #pragma option push -w-inl /* TCustomAction.Destroy */ inline __fastcall virtual ~TDataSetPost(void) { } #pragma option pop }; class DELPHICLASS TDataSetCancel; class PASCALIMPLEMENTATION TDataSetCancel : public TDataSetAction { typedef TDataSetAction inherited; public: virtual void __fastcall ExecuteTarget(System::TObject* Target); virtual void __fastcall UpdateTarget(System::TObject* Target); __published: __property DataSource ; public: #pragma option push -w-inl /* TAction.Create */ inline __fastcall virtual TDataSetCancel(Classes::TComponent* AOwner) : TDataSetAction(AOwner) { } #pragma option pop public: #pragma option push -w-inl /* TCustomAction.Destroy */ inline __fastcall virtual ~TDataSetCancel(void) { } #pragma option pop }; class DELPHICLASS TDataSetRefresh; class PASCALIMPLEMENTATION TDataSetRefresh : public TDataSetAction { typedef TDataSetAction inherited; public: virtual void __fastcall ExecuteTarget(System::TObject* Target); virtual void __fastcall UpdateTarget(System::TObject* Target); __published: __property DataSource ; public: #pragma option push -w-inl /* TAction.Create */ inline __fastcall virtual TDataSetRefresh(Classes::TComponent* AOwner) : TDataSetAction(AOwner) { } #pragma option pop public: #pragma option push -w-inl /* TCustomAction.Destroy */ inline __fastcall virtual ~TDataSetRefresh(void) { } #pragma option pop }; //-- var, const, procedure --------------------------------------------------- } /* namespace Dbactns */ using namespace Dbactns; #pragma option pop // -w- #pragma option pop // -Vx #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // DBActns
[ "bitscode@7bd08ab0-fa70-11de-930f-d36749347e7b" ]
[ [ [ 1, 302 ] ] ]
4bd36be127123df692ddd9c5d2796c1882db9937
87ff03fd1b5a4642773a5a001165b595cfacd60d
/WinampRemoteMedia/winampplugin/in_redcaza/AskAppEngine.h
71b376699375602c2a65b69a9546a82d5cafb798
[]
no_license
jubbynox/googlegadets
f7f16b2eb417871601a33d2f1f5615b3a007780a
79e94a0af754b0f3dfed59f73aeaa3bff39dafa5
refs/heads/master
2021-01-10T21:46:45.901272
2010-02-06T13:38:25
2010-02-06T13:38:25
32,803,954
0
0
null
null
null
null
UTF-8
C++
false
false
917
h
#include <string> #include "WinAmpHooks.h" #include "RemoteInvocation.h" namespace ask_app_engine // Can't be arsed to write another C++ object. { std::wstring *inJSON; // To hold the JSON response. RemoteInvocation *remoteInvocation = 0; void setup(HWND parent) { remoteInvocation = new RemoteInvocation(parent); } void destroy() { delete remoteInvocation; } void processResults(DISPPARAMS FAR *results) { if (results && results->cArgs > 0 && results->rgvarg[0].pvarVal && results->rgvarg[0].vt == VT_BSTR) { // Correct data passed in. Get string stream. *inJSON = results->rgvarg[0].bstrVal; } } void askAppEngine(std::string *url, std::wstring &responseJSON) { inJSON = &responseJSON; url->append("&callback=window.external.externalMethod"); remoteInvocation->remoteInvoke(url->c_str(), "externalMethod", &processResults, false); } }
[ "jubbynox@9a519766-8835-0410-a643-67b8b61f6624" ]
[ [ [ 1, 37 ] ] ]
0430549801e1b26470b25a591db0a353df4bfeff
be77a86176ebc9919c1b5366ac5d8ce579f06fbe
/C++/OpenCV/AffineTransformations/AffineTransformations/AffineTransformations.cpp
0e7aa191d444088de1ffc3ce8a201407acd2c1f4
[]
no_license
MrChuCong/dvbao
505c3510f73ad9fbe0cb44883a0109921b8ef317
7ca4b47fb7bc8fa4bea3962b3cee73aea3d0b40a
refs/heads/master
2021-01-15T22:52:03.692972
2008-12-09T18:49:52
2008-12-09T18:49:52
33,026,621
1
0
null
null
null
null
UTF-8
C++
false
false
10,967
cpp
#include <cv.h> #include <cxcore.h> #include <highgui.h> #include <stdio.h> #include <iostream> #include <cmath> using namespace std; #define WINDOW_ID "Affine Transformations" #define MAXS 1000 bool dragging = false; CvPoint startPoint; CvPoint endPoint; int tmp[MAXS][MAXS][3]; IplImage* originalImage; IplImage* selectedImage; IplImage* resultImage; void TranslateImage () { cout << "Translating the current region ..." << endl; // Read the translation distances int tx, ty; cout << "tx = "; cin >> tx; cout << "ty = "; cin >> ty; cvReleaseImage(&resultImage); resultImage = cvCloneImage(originalImage); // Fill the region before processing cvRectangle(resultImage, startPoint, endPoint, cvScalar(255, 255, 255), CV_FILLED); for (int y=startPoint.y; y<=endPoint.y; y++) { for (int x=startPoint.x; x<=endPoint.x; x++) { // Calculate the new point CvPoint point = cvPoint(x + tx, y + ty); if (0 <= point.x && point.x < resultImage->width && 0 <= point.y && point.y < resultImage->height) { unsigned char* p1 = (unsigned char*)originalImage->imageData + y * originalImage->widthStep + x * originalImage->nChannels; unsigned char* p2 = (unsigned char*)resultImage->imageData + point.y * resultImage->widthStep + point.x * resultImage->nChannels; // Set pixel for the new point p2[0] = p1[0]; p2[1] = p1[1]; p2[2] = p1[2]; } } } cvShowImage(WINDOW_ID, resultImage); } void ScaleImage () { cout << "Scaling the current region ..." << endl; // Read the scaling ratios double sx, sy; cout << "sx = "; cin >> sx; cout << "sy = "; cin >> sy; // Reset the temporary array for (int i=0; i<MAXS; i++) for (int j=0; j<MAXS; j++) tmp[i][j][0] = -1; cvReleaseImage(&resultImage); resultImage = cvCloneImage(originalImage); // Fill the region before processing cvRectangle(resultImage, startPoint, endPoint, cvScalar(255, 255, 255), CV_FILLED); for (int y=startPoint.y; y<=endPoint.y; y++) { for (int x=startPoint.x; x<=endPoint.x; x++) { // Calculate the new point CvPoint point = cvPoint( x * sx + startPoint.x * (1 - sx), y * sy + startPoint.y * (1 - sy)); if (0 <= point.x && point.x < resultImage->width && 0 <= point.y && point.y < resultImage->height) { unsigned char* p = (unsigned char*)originalImage->imageData + y * originalImage->widthStep + x * originalImage->nChannels; // Set pixel to the temporary array tmp[point.y][point.x][0] = p[0]; tmp[point.y][point.x][1] = p[1]; tmp[point.y][point.x][2] = p[2]; } } } // Interpolation int maxx = startPoint.x + (endPoint.x - startPoint.x) * sx + 1; if (maxx > resultImage->width) maxx = resultImage->width; int maxy = startPoint.y + (endPoint.y - startPoint.y) * sy + 1; if (maxy > resultImage->height) maxy = resultImage->height; for (int y=startPoint.y; y<maxy; y++) { for (int x=startPoint.x; x<maxx; x++) { if (tmp[y][x][0] < 0) { tmp[y][x][0] = tmp[y-1][x-1][0]; tmp[y][x][1] = tmp[y-1][x-1][1]; tmp[y][x][2] = tmp[y-1][x-1][2]; if (sx > 1 && sy < 1) { tmp[y][x][0] = tmp[y][x-1][0]; tmp[y][x][1] = tmp[y][x-1][1]; tmp[y][x][2] = tmp[y][x-1][2]; } if (sx < 1 && sy > 1) { tmp[y][x][0] = tmp[y-1][x][0]; tmp[y][x][1] = tmp[y-1][x][1]; tmp[y][x][2] = tmp[y-1][x][2]; } } if (tmp[y][x][0] < 0) { if (tmp[y][x-1][0] >= 0) { tmp[y][x][0] = tmp[y][x-1][0]; tmp[y][x][1] = tmp[y][x-1][1]; tmp[y][x][2] = tmp[y][x-1][2]; } else { tmp[y][x][0] = tmp[y-1][x][0]; tmp[y][x][1] = tmp[y-1][x][1]; tmp[y][x][2] = tmp[y-1][x][2]; } } // After interpolation (if any), set pixel to the result image unsigned char* p = (unsigned char*)resultImage->imageData + y * resultImage->widthStep + x * resultImage->nChannels; p[0] = tmp[y][x][0]; p[1] = tmp[y][x][1]; p[2] = tmp[y][x][2]; } } cvShowImage(WINDOW_ID, resultImage); } // Get the rotated point from the orininal point with specified arguments CvPoint GetRotatedPoint (CvPoint point, double sina, double cosa, double dx, double dy) { return cvPoint( point.x * cosa - point.y * sina + dx, point.x * sina + point.y * cosa + dy); } // Get the intersect point (if any), between a vertical line acrossing a specified point // and a specified line CvPoint GetIntersectPoint (CvPoint p1, CvPoint p2, CvPoint point) { if (p1.x == p2.x) return cvPoint(-1, -1); int x = point.x; int y = (p2.y - p1.y) * (x - p1.x) / (p2.x - p1.x) + p1.y; if (y < min(p1.y, p2.y) || y > max(p1.y, p2.y)) x = -1; return cvPoint(x, y); } // Check whether a point inside a polygon with 4 specified vertices bool CheckPointInside (CvPoint p1, CvPoint p2, CvPoint p3, CvPoint p4, CvPoint point) { int miny = resultImage->height; int maxy = 0; CvPoint p = GetIntersectPoint(p1, p2, point); if (p.x >= 0) { if (miny > p.y) miny = p.y; if (maxy < p.y) maxy = p.y; } p = GetIntersectPoint(p2, p3, point); if (p.x >= 0) { if (miny > p.y) miny = p.y; if (maxy < p.y) maxy = p.y; } p = GetIntersectPoint(p3, p4, point); if (p.x >= 0) { if (miny > p.y) miny = p.y; if (maxy < p.y) maxy = p.y; } p = GetIntersectPoint(p4, p1, point); if (p.x >= 0) { if (miny > p.y) miny = p.y; if (maxy < p.y) maxy = p.y; } return (miny <= point.y) && (point.y <= maxy); } void RotateImage () { cout << "Rotating the current region ..." << endl; // Read the angle to rotate double angle; cout << "angle = "; cin >> angle; angle = angle * CV_PI / 180; double sina = sin(angle); double cosa = cos(angle); double dx = startPoint.x - startPoint.x * cosa + startPoint.y * sina; double dy = startPoint.y - startPoint.x * sina - startPoint.y * cosa; // Reset the temporary array for (int i=0; i<MAXS; i++) for (int j=0; j<MAXS; j++) tmp[i][j][0] = -1; cvReleaseImage(&resultImage); resultImage = cvCloneImage(originalImage); cvRectangle(resultImage, startPoint, endPoint, cvScalar(255, 255, 255), CV_FILLED); int minx = resultImage->width; int maxx = 0; int miny = resultImage->height; int maxy = 0; for (int y=startPoint.y; y<=endPoint.y; y++) { for (int x=startPoint.x; x<=endPoint.x; x++) { // Calculate the new point CvPoint point = GetRotatedPoint(cvPoint(x, y), sina, cosa, dx, dy); if (0 <= point.x && point.x < resultImage->width && 0 <= point.y && point.y < resultImage->height) { if (minx > point.x) minx = point.x; if (maxx < point.x) maxx = point.x; if (miny > point.y) miny = point.y; if (maxy < point.y) maxy = point.y; // Set pixel to the temporary array unsigned char* p = (unsigned char*)originalImage->imageData + y * originalImage->widthStep + x * originalImage->nChannels; tmp[point.y][point.x][0] = p[0]; tmp[point.y][point.x][1] = p[1]; tmp[point.y][point.x][2] = p[2]; } } } // Get 4 vertices of the rotated region CvPoint p1 = GetRotatedPoint(startPoint, sina, cosa, dx, dy); CvPoint p2 = GetRotatedPoint(cvPoint(endPoint.x, startPoint.y), sina, cosa, dx, dy); CvPoint p3 = GetRotatedPoint(endPoint, sina, cosa, dx, dy); CvPoint p4 = GetRotatedPoint(cvPoint(startPoint.x, endPoint.y), sina, cosa, dx, dy); // Interpolation for (int y=miny; y<=maxy; y++) { for (int x=minx; x<=maxx; x++) { if (CheckPointInside(p1, p2, p3, p4, cvPoint(x, y))) { if (tmp[y][x][0] < 0) { if (tmp[y][x-1][0] >= 0) { tmp[y][x][0] = tmp[y][x-1][0]; tmp[y][x][1] = tmp[y][x-1][1]; tmp[y][x][2] = tmp[y][x-1][2]; } } if (tmp[y][x][0] >= 0) { // After interpolation (if any), set pixel to the result image unsigned char* p = (unsigned char*)resultImage->imageData + y * resultImage->widthStep + x * resultImage->nChannels; p[0] = tmp[y][x][0]; p[1] = tmp[y][x][1]; p[2] = tmp[y][x][2]; } } } } cvShowImage(WINDOW_ID, resultImage); } // Process a mouse event void mouseHandler (int mouseEvent, int x, int y, int flags, void* param) { switch (mouseEvent) { case CV_EVENT_LBUTTONDOWN: if (!dragging) { // If left mouse button down, and not dragging, start to drag dragging = true; startPoint = cvPoint(x, y); } break; case CV_EVENT_LBUTTONUP: if (dragging) { int x1 = min(startPoint.x, endPoint.x); int x2 = max(startPoint.x, endPoint.x); int y1 = min(startPoint.y, endPoint.y); int y2 = max(startPoint.y, endPoint.y); // Reset the start point to the left-top point startPoint.x = x1; startPoint.y = y1; // Reset the end point to the right-bottom point endPoint.x = x2; endPoint.y = y2; system("cls"); cout << "Selected Region: "; cout << "(" << startPoint.x << ", " << startPoint.y << ") -> "; cout << "(" << endPoint.x << ", " << endPoint.y << ")" << endl; cout << "Press ESC or Q to exit the program." << endl; cout << "Press T to translate the current region." << endl; cout << "Press S to scale the current region." << endl; cout << "Press R to rotate the current region." << endl; cout << "Press L to reload the original image." << endl; // End dragging dragging = false; } break; case CV_EVENT_MOUSEMOVE: if (dragging) { // If dragging, draw a red rectangle on the selected region endPoint = cvPoint(x, y); cvReleaseImage(&selectedImage); selectedImage = cvCloneImage(originalImage); cvRectangle(selectedImage, startPoint, endPoint, cvScalar(0, 0, 255), 2); cvShowImage(WINDOW_ID, selectedImage); } break; } } int main (int argc, char* argv[]) { originalImage = cvLoadImage("input.jpg"); if (!originalImage) { cout << "Input image not found!" << endl; return 0; } // Create a window to show image cvNamedWindow(WINDOW_ID); cvMoveWindow(WINDOW_ID, 100, 100); cvShowImage(WINDOW_ID, originalImage); // Set mouse callback cvSetMouseCallback(WINDOW_ID, mouseHandler, 0); bool stop = false; while (!stop) { int key = cvWaitKey(0); switch (key) { case 27: // ESC : Exit case 'q': // Q : Exit stop = true; break; case 't': // T : Translate if (!dragging) { TranslateImage(); } break; case 's': // S : Scale if (!dragging) { ScaleImage(); } break; case 'r': // R : Rotate if (!dragging) { RotateImage(); } break; case 'l': // L : Load the original image cvShowImage(WINDOW_ID, originalImage); break; } } // Release all images cvReleaseImage(&resultImage); cvReleaseImage(&originalImage); cvReleaseImage(&selectedImage); return 0; }
[ "[email protected]@21bdbfa0-87e6-11dd-9299-37fd5bf03096" ]
[ [ [ 1, 389 ] ] ]
00cc7e1bc6c38de41aab6dba40df4521b6fd6915
4f89f1c71575c7a5871b2a00de68ebd61f443dac
/lib/boost/gil/extension/io_new/detail/gil_extensions.hpp
d3c7e4d58612689414d2361a59d0d21866d6f75c
[]
no_license
inayatkh/uniclop
1386494231276c63eb6cdbe83296cdfd0692a47c
487a5aa50987f9406b3efb6cdc656d76f15957cb
refs/heads/master
2021-01-10T09:43:09.416338
2009-09-03T16:26:15
2009-09-03T16:26:15
50,645,836
0
0
null
null
null
null
UTF-8
C++
false
false
9,350
hpp
/* Copyright 2008 Christian Henning, Andreas Pokorny, Lubomir Bourdev Use, modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). */ /*************************************************************************************************/ #ifndef BOOST_GIL_EXTENSION_IO_DETAIL_GIL_EXTENSIONS_HPP_INCLUDED #define BOOST_GIL_EXTENSION_IO_DETAIL_GIL_EXTENSIONS_HPP_INCLUDED //////////////////////////////////////////////////////////////////////////////////////// /// \file /// \brief Definitions of is_bit_aligned, is_homogeneous, and is_similar metafunctions and /// some other goodies. /// \author Christian Henning, Andreas Pokorny, Lubomir Bourdev \n /// /// \date 2008 \n /// //////////////////////////////////////////////////////////////////////////////////////// #include <boost/gil/gil_all.hpp> #include <boost/mpl/if.hpp> #include "dynamic_io_new.hpp" namespace boost { namespace gil { /// is_bit_aligned metafunctions /// \brief Determines whether the given type is bit_aligned. template< typename PixelRef > struct is_bit_aligned : mpl::false_ {}; template <typename B, typename C, typename L, bool M> struct is_bit_aligned<bit_aligned_pixel_reference<B,C,L,M> > : mpl::true_ {}; template <typename B, typename C, typename L, bool M> struct is_bit_aligned<const bit_aligned_pixel_reference<B,C,L,M> > : mpl::true_ {}; template <typename B, typename C, typename L> struct is_bit_aligned<packed_pixel<B,C,L> > : mpl::true_ {}; template <typename B, typename C, typename L> struct is_bit_aligned<const packed_pixel<B,C,L> > : mpl::true_ {}; /// is_similar metafunctions /// \brief Determines if two pixel types are similar. template< typename A, typename B > struct is_similar : mpl::false_ {}; template<typename A> struct is_similar< A, A > : mpl::true_ {}; template<typename B,int I, int S, bool M, int I2> struct is_similar< packed_channel_reference< B, I, S, M > , packed_channel_reference< B, I2, S, M > > : mpl::true_ {}; /// is_homogeneous metafunctions /// \brief Determines if a pixel types are homogeneous. template<typename C,typename CMP, int Next, int Last> struct is_homogeneous_impl; template<typename C,typename CMP, int Last> struct is_homogeneous_impl<C,CMP,Last,Last> : mpl::true_ {}; template<typename C,typename CMP, int Next, int Last> struct is_homogeneous_impl : mpl::and_< is_homogeneous_impl< C, CMP,Next + 1, Last > , is_same< CMP, typename mpl::at_c<C,Next>::type > > {}; template < typename P > struct is_homogeneous : mpl::false_ {}; // pixel template < typename C, typename L > struct is_homogeneous< pixel<C,L> > : mpl::true_ {}; template < typename C, typename L > struct is_homogeneous<const pixel<C,L> > : mpl::true_ {}; template < typename C, typename L > struct is_homogeneous< pixel<C,L>& > : mpl::true_ {}; template < typename C, typename L > struct is_homogeneous<const pixel<C,L>& > : mpl::true_ {}; // planar pixel reference template <typename Channel, typename ColorSpace> struct is_homogeneous< planar_pixel_reference< Channel, ColorSpace > > : mpl::true_ {}; template <typename Channel, typename ColorSpace> struct is_homogeneous< const planar_pixel_reference< Channel, ColorSpace > > : mpl::true_ {}; template<typename C,typename CMP, int I,int Last> struct is_homogeneous_impl_p {}; // for packed_pixel template <typename B, typename C, typename L > struct is_homogeneous<packed_pixel< B, C, L > > : is_homogeneous_impl_p< C , typename mpl::at_c< C, 0 >::type , 1 , mpl::size< C >::type::value > {}; template< typename B , typename C , typename L > struct is_homogeneous< const packed_pixel< B, C, L > > : is_homogeneous_impl_p< C , typename mpl::at_c<C,0>::type , 1 , mpl::size< C >::type::value > {}; // for bit_aligned_pixel_reference template <typename B, typename C, typename L, bool M> struct is_homogeneous<bit_aligned_pixel_reference<B,C,L,M> > : is_homogeneous_impl<C,typename mpl::at_c<C,0>::type,1,mpl::size<C>::type::value> {}; template <typename B, typename C, typename L, bool M> struct is_homogeneous<const bit_aligned_pixel_reference<B,C,L,M> > : is_homogeneous_impl<C,typename mpl::at_c<C,0>::type,1,mpl::size<C>::type::value> {}; ////////////////////// /// other goodies /// get_num_bits metafunctions /// \brief Determines the numbers of bits for the given channel type. template <typename T> struct get_num_bits; template< typename B, int I, int S, bool M > struct get_num_bits< packed_channel_reference< B, I, S, M > > { BOOST_STATIC_CONSTANT( int, value = S ); }; template<typename B,int I, int S, bool M> struct get_num_bits< const packed_channel_reference< B, I, S, M > > { BOOST_STATIC_CONSTANT( int, value = S ); }; /// channel_type metafunction /// \brief Generates the channel type for template <typename B, typename C, typename L, bool M> struct gen_chan_ref { typedef packed_dynamic_channel_reference< B , mpl::at_c< C, 0 >::type::value , M > type; }; //! This implementation works for bit_algined_pixel_reference //! with a homegeneous channel layout. //! The result type will be a packed_dynamic_channel_reference, since the //! offset info will be missing. // bit_aligned_pixel_reference template <typename B, typename C, typename L, bool M> struct channel_type< bit_aligned_pixel_reference<B,C,L,M> > : lazy_enable_if< is_homogeneous< bit_aligned_pixel_reference< B, C, L, M > > , gen_chan_ref< B, C, L, M > > {}; template <typename B, typename C, typename L, bool M> struct channel_type<const bit_aligned_pixel_reference<B,C,L,M> > : lazy_enable_if< is_homogeneous< bit_aligned_pixel_reference< B, C, L, M > > , gen_chan_ref< B, C, L, M > > {}; template <typename B, typename C, typename L> struct gen_chan_ref_p { typedef packed_dynamic_channel_reference< B , get_num_bits< typename mpl::at_c<C,0>::type>::value , true > type; }; // packed_pixel template < typename BitField , typename ChannelRefVec , typename Layout > struct channel_type< packed_pixel< BitField , ChannelRefVec , Layout > > : lazy_enable_if< is_homogeneous< packed_pixel< BitField , ChannelRefVec , Layout > > , gen_chan_ref_p< BitField , ChannelRefVec , Layout > > {}; template <typename B, typename C, typename L> struct channel_type< const packed_pixel< B, C, L > > : lazy_enable_if< is_homogeneous<packed_pixel< B, C, L > > , gen_chan_ref_p< B, C, L > > {}; template<> struct channel_type< any_image_pixel_t > { typedef any_image_channel_t type; }; template<> struct color_space_type< any_image_pixel_t > { typedef any_image_color_space_t type; }; /// get_pixel_type metafunction /// \brief Depending on Image this function generates either /// the pixel type or the reference type in case /// the image is bit_aligned. template< typename View > struct get_pixel_type : mpl::if_< typename is_bit_aligned< typename View::value_type >::type , typename View::reference , typename View::value_type > {}; template< typename ImageViewTypes > struct get_pixel_type< any_image_view< ImageViewTypes > > { typedef any_image_pixel_t type; }; namespace detail { /// - performance specialization double /// - to eliminate compiler warning 4244 template <typename GrayChannelValue> struct rgb_to_luminance_fn< double, double, double, GrayChannelValue > { GrayChannelValue operator()( const double& red , const double& green , const double& blue ) const { return channel_convert<GrayChannelValue>( red * 0.30 + green * 0.59 + blue * 0.11 ); } }; } // namespace detail /// This one is missing in gil ( color_convert.hpp ). template <> struct default_color_converter_impl<gray_t,rgba_t> { template <typename P1, typename P2> void operator()(const P1& src, P2& dst) const { get_color(dst,red_t()) = channel_convert<typename color_element_type<P2, red_t >::type>(get_color(src,gray_color_t())); get_color(dst,green_t())= channel_convert<typename color_element_type<P2, green_t>::type>(get_color(src,gray_color_t())); get_color(dst,blue_t()) = channel_convert<typename color_element_type<P2, blue_t >::type>(get_color(src,gray_color_t())); typedef typename channel_type< P2 >::type channel_t; get_color(dst,alpha_t()) = channel_traits< channel_t >::max_value(); } }; } // namespace gil } // namespace boost #endif // BOOST_GIL_EXTENSION_IO_DETAIL_GIL_EXTENSIONS_HPP_INCLUDED
[ "rodrigo.benenson@gmailcom" ]
[ [ [ 1, 285 ] ] ]
ba249a671f2999452ee50c67c0f464dad6a599bd
4561a0f9a0de6a9b75202e1c05a4bd6ba7adabcf
/bvt/bvt18.cpp
b4af9067136e615a31ff7aa58b3ce7207df167f5
[ "MIT" ]
permissive
embarkmobile/ustl-symbian
3a2471a0487ae8d834f44a69debdb4e093215ce0
6d108f5683677d1d6b57705ac08cf1a4f5a37204
refs/heads/master
2020-04-23T15:37:30.148583
2010-12-10T15:35:16
2010-12-10T15:35:16
898,964
1
0
null
null
null
null
UTF-8
C++
false
false
2,588
cpp
// This file is part of the ustl library, an STL implementation. // // Copyright (C) 2005 by Mike Sharov <[email protected]> // This file is free software, distributed under the MIT License. // #include "stdtest.h" template <size_t N, typename T> void TestTuple (const char* ctrType) { cout << "================================================" << endl; cout << "Testing " << ctrType << endl; cout << "================================================" << endl; assert (N <= 8); T pt1v[8] = { 1, 2, 3, 4, 5, 6, 7, 8 }; T increment; tuple<N,T> pt1 (pt1v); tuple<N,T> pt2 (5, 6, 7, 8); increment = pt1v[2]; cout << "pt1:\t\t\tsize = " << pt1.size() << ", value = " << pt1 << endl; cout << "pt2:\t\t\t" << pt2 << endl; iota (pt2.begin(), pt2.end(), 10); cout << "pt2:\t\t\t" << pt2 << endl; pt1 *= increment; cout << "pt1 *= 3:\t\t" << pt1 << endl; pt1 /= increment; cout << "pt1 /= 3:\t\t" << pt1 << endl; pt1 += increment; cout << "pt1 += 3:\t\t" << pt1 << endl; pt1 -= increment; cout << "pt1 -= 3:\t\t" << pt1 << endl; pt1 *= pt2; cout << "pt1 *= pt2:\t\t" << pt1 << endl; pt1 /= pt2; cout << "pt1 /= pt2:\t\t" << pt1 << endl; pt1 += pt2; cout << "pt1 += pt2:\t\t" << pt1 << endl; pt1 -= pt2; cout << "pt1 -= pt2:\t\t" << pt1 << endl; pt1 = pt1 * pt2; cout << "pt1 = pt1 * pt2:\t" << pt1 << endl; pt1 = pt1 / pt2; cout << "pt1 = pt1 / pt2:\t" << pt1 << endl; pt1 = pt1 + pt2; cout << "pt1 = pt1 + pt2:\t" << pt1 << endl; pt1 = pt1 - pt2; cout << "pt1 = pt1 - pt2:\t" << pt1 << endl; } void TestIntegralTuples (void) { TestTuple<4,float> ("tuple<4,float>"); TestTuple<2,float> ("tuple<2,float>"); TestTuple<4,int32_t> ("tuple<4,int32_t>"); TestTuple<4,uint32_t> ("tuple<4,uint32_t>"); TestTuple<2,int32_t> ("tuple<2,int32_t>"); TestTuple<2,uint32_t> ("tuple<2,uint32_t>"); TestTuple<4,int16_t> ("tuple<4,int16_t>"); TestTuple<4,uint16_t> ("tuple<4,uint16_t>"); TestTuple<8,int8_t> ("tuple<8,int8_t>"); TestTuple<8,uint8_t> ("tuple<8,uint8_t>"); cout << "================================================" << endl; cout << "Testing tuple<3,string>" << endl; cout << "================================================" << endl; tuple<3, string> strv; strv[0] = "str0"; strv[1] = "str1"; strv[2] = "str2"; cout << "str: " << strv << endl; } StdBvtMain (TestIntegralTuples)
[ [ [ 1, 79 ] ] ]
97fa9517a97384288e41cd5fe54e5888526e2b50
d9d498167237f41a9cf47f4ec2d444a49da4b23b
/zhangxin/example2/NECTestPattern.h
702aade05b0740ec22d9d6c2e7e640886c4c096f
[]
no_license
wangluyi1982/piggypic
d81cf15a6b58bbb5a9cde3d124333348419c9663
d173e3acc6c3e57267733fb7b80b1b07cb21fa01
refs/heads/master
2021-01-10T20:13:42.615324
2010-03-17T13:44:49
2010-03-17T13:44:49
32,907,995
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,779
h
// NECTestPattern.h : NECTESTPATTERN アプリケーションのメイン ヘッダー ファイルです。 // #if !defined(AFX_NECTESTPATTERN_H__5CE87CA7_3789_4577_B8BB_045D1BEC706B__INCLUDED_) #define AFX_NECTESTPATTERN_H__5CE87CA7_3789_4577_B8BB_045D1BEC706B__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // メイン シンボル ///////////////////////////////////////////////////////////////////////////// // CNECTestPatternApp: // このクラスの動作の定義に関しては NECTestPattern.cpp ファイルを参照してください。 // class CNECTestPatternApp : public CWinApp { public: CNECTestPatternApp(); void SetDialogBkColor(COLORREF clrCtlBk = RGB(192, 192, 192), COLORREF clrCtlText= RGB(0, 0, 0)){ CWinApp::SetDialogBkColor(clrCtlBk,clrCtlText); } // オーバーライド // ClassWizard は仮想関数のオーバーライドを生成します。 //{{AFX_VIRTUAL(CNECTestPatternApp) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // インプリメンテーション //{{AFX_MSG(CNECTestPatternApp) // メモ - ClassWizard はこの位置にメンバ関数を追加または削除します。 // この位置に生成されるコードを編集しないでください。 //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ は前行の直前に追加の宣言を挿入します。 #endif // !defined(AFX_NECTESTPATTERN_H__5CE87CA7_3789_4577_B8BB_045D1BEC706B__INCLUDED_)
[ "zhangxin.sanjin@fa8d6de2-2387-11df-88d9-3f628f631586" ]
[ [ [ 1, 53 ] ] ]
43472c056ca523584035aa4b889f218630e5bb77
11af1673bab82ca2329ef8b596d1f3d2f8b82481
/source/game/ai_wpnav.cpp
69864adec71bce69eae7e432ae187aac91e81f11
[]
no_license
legacyrp/legacyojp
8b33ecf24fd973bee5e7adbd369748cfdd891202
d918151e917ea06e8698f423bbe2cf6ab9d7f180
refs/heads/master
2021-01-10T20:09:55.748893
2011-04-18T21:07:13
2011-04-18T21:07:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
93,828
cpp
#include "g_local.h" #include "q_shared.h" #include "botlib.h" #include "ai_main.h" float gWPRenderTime = 0; float gDeactivated = 0; float gBotEdit = 0; int gWPRenderedFrame = 0; #include "../namespace_begin.h" wpobject_t *gWPArray[MAX_WPARRAY_SIZE]; int gWPNum = 0; #include "../namespace_end.h" int gLastPrintedIndex = -1; nodeobject_t nodetable[MAX_NODETABLE_SIZE]; int nodenum; //so we can connect broken trails int gLevelFlags = 0; char *GetFlagStr( int flags ) { char *flagstr; int i; flagstr = (char *)B_TempAlloc(128); i = 0; if (!flags) { strcpy(flagstr, "none\0"); goto fend; } if (flags & WPFLAG_JUMP) { flagstr[i] = 'j'; i++; } if (flags & WPFLAG_DUCK) { flagstr[i] = 'd'; i++; } if (flags & WPFLAG_SNIPEORCAMPSTAND) { flagstr[i] = 'c'; i++; } if (flags & WPFLAG_WAITFORFUNC) { flagstr[i] = 'f'; i++; } if (flags & WPFLAG_SNIPEORCAMP) { flagstr[i] = 's'; i++; } if (flags & WPFLAG_ONEWAY_FWD) { flagstr[i] = 'x'; i++; } if (flags & WPFLAG_ONEWAY_BACK) { flagstr[i] = 'y'; i++; } if (flags & WPFLAG_GOALPOINT) { flagstr[i] = 'g'; i++; } if (flags & WPFLAG_NOVIS) { flagstr[i] = 'n'; i++; } if (flags & WPFLAG_NOMOVEFUNC) { flagstr[i] = 'm'; i++; } //[TABBot] if (flags & WPFLAG_DESTROY_FUNCBREAK) { flagstr[i] = 'q'; i++; } if (flags & WPFLAG_REDONLY) { flagstr[i] = 'r'; i++; } if (flags & WPFLAG_BLUEONLY) { flagstr[i] = 'b'; i++; } if (flags & WPFLAG_FORCEPUSH) { flagstr[i] = 'p'; i++; } if (flags & WPFLAG_FORCEPULL) { flagstr[i] = 'o'; i++; } //[/TABBot] if (flags & WPFLAG_RED_FLAG) { if (i) { flagstr[i] = ' '; i++; } flagstr[i] = 'r'; i++; flagstr[i] = 'e'; i++; flagstr[i] = 'd'; i++; flagstr[i] = ' '; i++; flagstr[i] = 'f'; i++; flagstr[i] = 'l'; i++; flagstr[i] = 'a'; i++; flagstr[i] = 'g'; i++; } if (flags & WPFLAG_BLUE_FLAG) { if (i) { flagstr[i] = ' '; i++; } flagstr[i] = 'b'; i++; flagstr[i] = 'l'; i++; flagstr[i] = 'u'; i++; flagstr[i] = 'e'; i++; flagstr[i] = ' '; i++; flagstr[i] = 'f'; i++; flagstr[i] = 'l'; i++; flagstr[i] = 'a'; i++; flagstr[i] = 'g'; i++; } if (flags & WPFLAG_SIEGE_IMPERIALOBJ) { if (i) { flagstr[i] = ' '; i++; } flagstr[i] = 's'; i++; flagstr[i] = 'a'; i++; flagstr[i] = 'g'; i++; flagstr[i] = 'a'; i++; flagstr[i] = '_'; i++; flagstr[i] = 'i'; i++; flagstr[i] = 'm'; i++; flagstr[i] = 'p'; i++; } if (flags & WPFLAG_SIEGE_REBELOBJ) { if (i) { flagstr[i] = ' '; i++; } flagstr[i] = 's'; i++; flagstr[i] = 'a'; i++; flagstr[i] = 'g'; i++; flagstr[i] = 'a'; i++; flagstr[i] = '_'; i++; flagstr[i] = 'r'; i++; flagstr[i] = 'e'; i++; flagstr[i] = 'b'; i++; } flagstr[i] = '\0'; if (i == 0) { strcpy(flagstr, "unknown\0"); } fend: return flagstr; } void G_TestLine(vec3_t start, vec3_t end, int color, int time) { gentity_t *te; te = G_TempEntity( start, EV_TESTLINE ); VectorCopy(start, te->s.origin); VectorCopy(end, te->s.origin2); te->s.time2 = time; te->s.weapon = color; te->r.svFlags |= SVF_BROADCAST; } //[BotTweaks] extern vmCvar_t bot_wp_editornumber; //[/BotTweaks] //[CoOpEditor] void AutosaveRender(); void SpawnPointRender(); //[/CoOpEditor] void BotWaypointRender(void) { int i, n; int inc_checker; int bestindex; int gotbestindex; float bestdist; float checkdist; gentity_t *plum; gentity_t *viewent; char *flagstr; vec3_t a; if (!gBotEdit) { return; } bestindex = 0; //[BotTweaks] //update the bot editor number so we know who to send this stuff to. trap_Cvar_Update(&bot_wp_editornumber); if(bot_wp_editornumber.integer < 0) {//noone is currently set to be the editor. Don't render anything. return; } //[/BotTweaks] if (gWPRenderTime > level.time) { goto checkprint; } gWPRenderTime = level.time + 100; i = gWPRenderedFrame; inc_checker = gWPRenderedFrame; while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse) { plum = G_TempEntity( gWPArray[i]->origin, EV_SCOREPLUM ); plum->r.svFlags |= SVF_BROADCAST; plum->s.time = i; //[BotTweaks] //display the bot editor information to whoever is set to doing the waypoint editting. plum->s.otherEntityNum = bot_wp_editornumber.integer; //[/BotTweaks] n = 0; while (n < gWPArray[i]->neighbornum) { if (gWPArray[i]->neighbors[n].forceJumpTo && gWPArray[gWPArray[i]->neighbors[n].num]) { G_TestLine(gWPArray[i]->origin, gWPArray[gWPArray[i]->neighbors[n].num]->origin, 0x0000ff, 5000); } n++; } gWPRenderedFrame++; } else { gWPRenderedFrame = 0; break; } if ((i - inc_checker) > 4) { break; //don't render too many at once } i++; } if (i >= gWPNum) { //[CoOpEditor] //don't pause between scans to allow the autosave/spawnpoint renders to work constantly. //gWPRenderTime = level.time + 1500; //wait a bit after we finish doing the whole trail //[/CoOpEditor] gWPRenderedFrame = 0; } //[CoOpEditor] //render AutosaveRender(); SpawnPointRender(); //[/CoOpEditor] checkprint: if (!bot_wp_info.value) { return; } //[BotTweaks] //display the bot editor information to whoever is set to doing the waypoint editting. viewent = &g_entities[bot_wp_editornumber.integer]; //viewent = &g_entities[0]; //only show info to the first client //[/BotTweaks] if (!viewent || !viewent->client) { //client isn't in the game yet? return; } bestdist = 256; //max distance for showing point info gotbestindex = 0; i = 0; while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse) { VectorSubtract(viewent->client->ps.origin, gWPArray[i]->origin, a); checkdist = VectorLength(a); if (checkdist < bestdist) { bestdist = checkdist; bestindex = i; gotbestindex = 1; } } i++; } if (gotbestindex && bestindex != gLastPrintedIndex) { flagstr = GetFlagStr(gWPArray[bestindex]->flags); gLastPrintedIndex = bestindex; //[BotTweaks] //this needs to be send to the approprate client instead of the server. trap_SendServerCommand( bot_wp_editornumber.integer, va("print \" %s Waypoint %i\nFlags - %i (%s) (w%f)\nOrigin - (%i %i %i)\n", S_COLOR_YELLOW, (int)(gWPArray[bestindex]->index), (int)(gWPArray[bestindex]->flags), flagstr, gWPArray[bestindex]->weight, (int)(gWPArray[bestindex]->origin[0]), (int)(gWPArray[bestindex]->origin[1]), (int)(gWPArray[bestindex]->origin[2]))); //G_Printf(S_COLOR_YELLOW "Waypoint %i\nFlags - %i (%s) (w%f)\nOrigin - (%i %i %i)\n", (int)(gWPArray[bestindex]->index), (int)(gWPArray[bestindex]->flags), flagstr, gWPArray[bestindex]->weight, (int)(gWPArray[bestindex]->origin[0]), (int)(gWPArray[bestindex]->origin[1]), (int)(gWPArray[bestindex]->origin[2])); //[/BotTweaks] //GetFlagStr allocates 128 bytes for this, if it's changed then obviously this must be as well B_TempFree(128); //flagstr plum = G_TempEntity( gWPArray[bestindex]->origin, EV_SCOREPLUM ); plum->r.svFlags |= SVF_BROADCAST; plum->s.time = bestindex; //render it once } else if (!gotbestindex) { gLastPrintedIndex = -1; } } void TransferWPData(int from, int to) { if (!gWPArray[to]) { gWPArray[to] = (wpobject_t *)B_Alloc(sizeof(wpobject_t)); } if (!gWPArray[to]) { G_Printf(S_COLOR_RED "FATAL ERROR: Could not allocated memory for waypoint\n"); } gWPArray[to]->flags = gWPArray[from]->flags; gWPArray[to]->weight = gWPArray[from]->weight; gWPArray[to]->associated_entity = gWPArray[from]->associated_entity; gWPArray[to]->disttonext = gWPArray[from]->disttonext; gWPArray[to]->forceJumpTo = gWPArray[from]->forceJumpTo; gWPArray[to]->index = to; gWPArray[to]->inuse = gWPArray[from]->inuse; VectorCopy(gWPArray[from]->origin, gWPArray[to]->origin); } void CreateNewWP(vec3_t origin, int flags) { if (gWPNum >= MAX_WPARRAY_SIZE) { if (!g_RMG.integer) { G_Printf(S_COLOR_YELLOW "Warning: Waypoint limit hit (%i)\n", MAX_WPARRAY_SIZE); } return; } if (!gWPArray[gWPNum]) { gWPArray[gWPNum] = (wpobject_t *)B_Alloc(sizeof(wpobject_t)); } if (!gWPArray[gWPNum]) { G_Printf(S_COLOR_RED "ERROR: Could not allocated memory for waypoint\n"); } gWPArray[gWPNum]->flags = flags; gWPArray[gWPNum]->weight = 0; //calculated elsewhere gWPArray[gWPNum]->associated_entity = ENTITYNUM_NONE; //set elsewhere gWPArray[gWPNum]->forceJumpTo = 0; gWPArray[gWPNum]->disttonext = 0; //calculated elsewhere gWPArray[gWPNum]->index = gWPNum; gWPArray[gWPNum]->inuse = 1; VectorCopy(origin, gWPArray[gWPNum]->origin); gWPNum++; } void CreateNewWP_FromObject(wpobject_t *wp) { int i; if (gWPNum >= MAX_WPARRAY_SIZE) { return; } if (!gWPArray[gWPNum]) { gWPArray[gWPNum] = (wpobject_t *)B_Alloc(sizeof(wpobject_t)); } if (!gWPArray[gWPNum]) { G_Printf(S_COLOR_RED "ERROR: Could not allocated memory for waypoint\n"); } gWPArray[gWPNum]->flags = wp->flags; gWPArray[gWPNum]->weight = wp->weight; gWPArray[gWPNum]->associated_entity = wp->associated_entity; gWPArray[gWPNum]->disttonext = wp->disttonext; gWPArray[gWPNum]->forceJumpTo = wp->forceJumpTo; gWPArray[gWPNum]->index = gWPNum; gWPArray[gWPNum]->inuse = 1; VectorCopy(wp->origin, gWPArray[gWPNum]->origin); gWPArray[gWPNum]->neighbornum = wp->neighbornum; i = wp->neighbornum; while (i >= 0) { gWPArray[gWPNum]->neighbors[i].num = wp->neighbors[i].num; gWPArray[gWPNum]->neighbors[i].forceJumpTo = wp->neighbors[i].forceJumpTo; i--; } if (gWPArray[gWPNum]->flags & WPFLAG_RED_FLAG) { flagRed = gWPArray[gWPNum]; oFlagRed = flagRed; } else if (gWPArray[gWPNum]->flags & WPFLAG_BLUE_FLAG) { flagBlue = gWPArray[gWPNum]; oFlagBlue = flagBlue; } gWPNum++; } void RemoveWP(void) { if (gWPNum <= 0) { return; } gWPNum--; if (!gWPArray[gWPNum] || !gWPArray[gWPNum]->inuse) { return; } //B_Free((wpobject_t *)gWPArray[gWPNum]); if (gWPArray[gWPNum]) { memset( gWPArray[gWPNum], 0, sizeof(gWPArray[gWPNum]) ); } //gWPArray[gWPNum] = NULL; if (gWPArray[gWPNum]) { gWPArray[gWPNum]->inuse = 0; } } void RemoveAllWP(void) { while(gWPNum) { RemoveWP(); } } void RemoveWP_InTrail(int afterindex) { int foundindex; int foundanindex; int didchange; int i; foundindex = 0; foundanindex = 0; didchange = 0; i = 0; if (afterindex < 0 || afterindex >= gWPNum) { G_Printf(S_COLOR_YELLOW "Waypoint number %i does not exist\n", afterindex); return; } while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse && gWPArray[i]->index == afterindex) { foundindex = i; foundanindex = 1; break; } i++; } if (!foundanindex) { G_Printf(S_COLOR_YELLOW "Waypoint index %i should exist, but does not (?)\n", afterindex); return; } i = 0; while (i <= gWPNum) { if (gWPArray[i] && gWPArray[i]->index == foundindex) { //B_Free(gWPArray[i]); //Keep reusing the memory memset( gWPArray[i], 0, sizeof(gWPArray[i]) ); //gWPArray[i] = NULL; gWPArray[i]->inuse = 0; didchange = 1; } else if (gWPArray[i] && didchange) { TransferWPData(i, i-1); //B_Free(gWPArray[i]); //Keep reusing the memory memset( gWPArray[i], 0, sizeof(gWPArray[i]) ); //gWPArray[i] = NULL; gWPArray[i]->inuse = 0; } i++; } gWPNum--; } int CreateNewWP_InTrail(vec3_t origin, int flags, int afterindex) { int foundindex; int foundanindex; int i; foundindex = 0; foundanindex = 0; i = 0; if (gWPNum >= MAX_WPARRAY_SIZE) { if (!g_RMG.integer) { G_Printf(S_COLOR_YELLOW "Warning: Waypoint limit hit (%i)\n", MAX_WPARRAY_SIZE); } return 0; } if (afterindex < 0 || afterindex >= gWPNum) { G_Printf(S_COLOR_YELLOW "Waypoint number %i does not exist\n", afterindex); return 0; } while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse && gWPArray[i]->index == afterindex) { foundindex = i; foundanindex = 1; break; } i++; } if (!foundanindex) { G_Printf(S_COLOR_YELLOW "Waypoint index %i should exist, but does not (?)\n", afterindex); return 0; } i = gWPNum; while (i >= 0) { if (gWPArray[i] && gWPArray[i]->inuse && gWPArray[i]->index != foundindex) { TransferWPData(i, i+1); } else if (gWPArray[i] && gWPArray[i]->inuse && gWPArray[i]->index == foundindex) { i++; if (!gWPArray[i]) { gWPArray[i] = (wpobject_t *)B_Alloc(sizeof(wpobject_t)); } gWPArray[i]->flags = flags; gWPArray[i]->weight = 0; //calculated elsewhere gWPArray[i]->associated_entity = ENTITYNUM_NONE; //set elsewhere gWPArray[i]->disttonext = 0; //calculated elsewhere gWPArray[i]->forceJumpTo = 0; gWPArray[i]->index = i; gWPArray[i]->inuse = 1; VectorCopy(origin, gWPArray[i]->origin); gWPNum++; break; } i--; } return 1; } int CreateNewWP_InsertUnder(vec3_t origin, int flags, int afterindex) { int foundindex; int foundanindex; int i; foundindex = 0; foundanindex = 0; i = 0; if (gWPNum >= MAX_WPARRAY_SIZE) { if (!g_RMG.integer) { G_Printf(S_COLOR_YELLOW "Warning: Waypoint limit hit (%i)\n", MAX_WPARRAY_SIZE); } return 0; } if (afterindex < 0 || afterindex >= gWPNum) { G_Printf(S_COLOR_YELLOW "Waypoint number %i does not exist\n", afterindex); return 0; } while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse && gWPArray[i]->index == afterindex) { foundindex = i; foundanindex = 1; break; } i++; } if (!foundanindex) { G_Printf(S_COLOR_YELLOW "Waypoint index %i should exist, but does not (?)\n", afterindex); return 0; } i = gWPNum; while (i >= 0) { if (gWPArray[i] && gWPArray[i]->inuse && gWPArray[i]->index != foundindex) { TransferWPData(i, i+1); } else if (gWPArray[i] && gWPArray[i]->inuse && gWPArray[i]->index == foundindex) { //i++; TransferWPData(i, i+1); if (!gWPArray[i]) { gWPArray[i] = (wpobject_t *)B_Alloc(sizeof(wpobject_t)); } gWPArray[i]->flags = flags; gWPArray[i]->weight = 0; //calculated elsewhere gWPArray[i]->associated_entity = ENTITYNUM_NONE; //set elsewhere gWPArray[i]->disttonext = 0; //calculated elsewhere gWPArray[i]->forceJumpTo = 0; gWPArray[i]->index = i; gWPArray[i]->inuse = 1; VectorCopy(origin, gWPArray[i]->origin); gWPNum++; break; } i--; } return 1; } void TeleportToWP(gentity_t *pl, int afterindex) { int foundindex; int foundanindex; int i; if (!pl || !pl->client) { return; } foundindex = 0; foundanindex = 0; i = 0; if (afterindex < 0 || afterindex >= gWPNum) { G_Printf(S_COLOR_YELLOW "Waypoint number %i does not exist\n", afterindex); return; } while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse && gWPArray[i]->index == afterindex) { foundindex = i; foundanindex = 1; break; } i++; } if (!foundanindex) { G_Printf(S_COLOR_YELLOW "Waypoint index %i should exist, but does not (?)\n", afterindex); return; } VectorCopy(gWPArray[foundindex]->origin, pl->client->ps.origin); return; } void WPFlagsModify(int wpnum, int flags) { if (wpnum < 0 || wpnum >= gWPNum || !gWPArray[wpnum] || !gWPArray[wpnum]->inuse) { G_Printf(S_COLOR_YELLOW "WPFlagsModify: Waypoint %i does not exist\n", wpnum); return; } gWPArray[wpnum]->flags = flags; } static int NotWithinRange(int base, int extent) { if (extent > base && base+5 >= extent) { return 0; } if (extent < base && base-5 <= extent) { return 0; } return 1; } int NodeHere(vec3_t spot) { int i; i = 0; while (i < nodenum) { if ((int)nodetable[i].origin[0] == (int)spot[0] && (int)nodetable[i].origin[1] == (int)spot[1]) { if ((int)nodetable[i].origin[2] == (int)spot[2] || ((int)nodetable[i].origin[2] < (int)spot[2] && (int)nodetable[i].origin[2]+5 > (int)spot[2]) || ((int)nodetable[i].origin[2] > (int)spot[2] && (int)nodetable[i].origin[2]-5 < (int)spot[2])) { return 1; } } i++; } return 0; } int CanGetToVector(vec3_t org1, vec3_t org2, vec3_t mins, vec3_t maxs) { trace_t tr; trap_Trace(&tr, org1, mins, maxs, org2, ENTITYNUM_NONE, MASK_SOLID); if (tr.fraction == 1 && !tr.startsolid && !tr.allsolid) { return 1; } return 0; } int CanGetToVectorTravel(vec3_t org1, vec3_t moveTo, vec3_t mins, vec3_t maxs) //int ExampleAnimEntMove(gentity_t *self, vec3_t moveTo, float stepSize) { trace_t tr; vec3_t stepTo; vec3_t stepSub; vec3_t stepGoal; vec3_t workingOrg; vec3_t lastIncrement; vec3_t finalMeasure; float stepSize = 0; float measureLength = 0; int didMove = 0; int traceMask = MASK_PLAYERSOLID; qboolean initialDone = qfalse; VectorCopy(org1, workingOrg); VectorCopy(org1, lastIncrement); VectorCopy(moveTo, stepTo); stepTo[2] = workingOrg[2]; VectorSubtract(stepTo, workingOrg, stepSub); stepSize = VectorLength(stepSub); //make the step size the length of the original positions without Z VectorNormalize(stepSub); while (!initialDone || didMove) { initialDone = qtrue; didMove = 0; stepGoal[0] = workingOrg[0] + stepSub[0]*stepSize; stepGoal[1] = workingOrg[1] + stepSub[1]*stepSize; stepGoal[2] = workingOrg[2] + stepSub[2]*stepSize; trap_Trace(&tr, workingOrg, mins, maxs, stepGoal, ENTITYNUM_NONE, traceMask); if (!tr.startsolid && !tr.allsolid && tr.fraction) { vec3_t vecSub; VectorSubtract(workingOrg, tr.endpos, vecSub); if (VectorLength(vecSub) > (stepSize/2)) { workingOrg[0] = tr.endpos[0]; workingOrg[1] = tr.endpos[1]; //trap_LinkEntity(self); didMove = 1; } } if (didMove != 1) { //stair check vec3_t trFrom; vec3_t trTo; vec3_t trDir; vec3_t vecMeasure; VectorCopy(tr.endpos, trFrom); trFrom[2] += 16; VectorSubtract(/*tr.endpos*/stepGoal, workingOrg, trDir); VectorNormalize(trDir); trTo[0] = tr.endpos[0] + trDir[0]*2; trTo[1] = tr.endpos[1] + trDir[1]*2; trTo[2] = tr.endpos[2] + trDir[2]*2; trTo[2] += 16; VectorSubtract(trFrom, trTo, vecMeasure); if (VectorLength(vecMeasure) > 1) { trap_Trace(&tr, trFrom, mins, maxs, trTo, ENTITYNUM_NONE, traceMask); if (!tr.startsolid && !tr.allsolid && tr.fraction == 1) { //clear trace here, probably up a step vec3_t trDown; vec3_t trUp; VectorCopy(tr.endpos, trUp); VectorCopy(tr.endpos, trDown); trDown[2] -= 16; trap_Trace(&tr, trFrom, mins, maxs, trTo, ENTITYNUM_NONE, traceMask); if (!tr.startsolid && !tr.allsolid) { //plop us down on the step after moving up VectorCopy(tr.endpos, workingOrg); //trap_LinkEntity(self); didMove = 1; } } } } VectorSubtract(lastIncrement, workingOrg, finalMeasure); measureLength = VectorLength(finalMeasure); if (!measureLength) { //no progress, break out. If last movement was a sucess didMove will equal 1. break; } stepSize -= measureLength; //subtract the progress distance from the step size so we don't overshoot the mark. if (stepSize <= 0) { break; } VectorCopy(workingOrg, lastIncrement); } return didMove; } int ConnectTrail(int startindex, int endindex, qboolean behindTheScenes) { int foundit; int cancontinue; int i; int failsafe; int successnodeindex; int insertindex; int prenodestart; byte extendednodes[MAX_NODETABLE_SIZE]; //for storing checked nodes and not trying to extend them each a bazillion times float fvecmeas; float baseheight; float branchDistance; float maxDistFactor = 256; vec3_t a; vec3_t startplace, starttrace; vec3_t mins, maxs; vec3_t testspot; vec3_t validspotpos; trace_t tr; if (g_RMG.integer) { //this might be temporary. Or not. if (!(gWPArray[startindex]->flags & WPFLAG_NEVERONEWAY) && !(gWPArray[endindex]->flags & WPFLAG_NEVERONEWAY)) { gWPArray[startindex]->flags |= WPFLAG_ONEWAY_FWD; gWPArray[endindex]->flags |= WPFLAG_ONEWAY_BACK; } return 0; } if (!g_RMG.integer) { branchDistance = TABLE_BRANCH_DISTANCE; } else { branchDistance = 512; //be less precise here, terrain is fairly broad, and we don't want to take an hour precalculating } if (g_RMG.integer) { maxDistFactor = 700; } mins[0] = -15; mins[1] = -15; mins[2] = 0; maxs[0] = 15; maxs[1] = 15; maxs[2] = 0; nodenum = 0; foundit = 0; i = 0; successnodeindex = 0; while (i < MAX_NODETABLE_SIZE) //clear it out before using it { nodetable[i].flags = 0; // nodetable[i].index = 0; nodetable[i].inuse = 0; nodetable[i].neighbornum = 0; nodetable[i].origin[0] = 0; nodetable[i].origin[1] = 0; nodetable[i].origin[2] = 0; nodetable[i].weight = 0; extendednodes[i] = 0; i++; } i = 0; if (!behindTheScenes) { G_Printf(S_COLOR_YELLOW "Point %i is not connected to %i - Repairing...\n", startindex, endindex); } VectorCopy(gWPArray[startindex]->origin, startplace); VectorCopy(startplace, starttrace); starttrace[2] -= 4096; trap_Trace(&tr, startplace, NULL, NULL, starttrace, ENTITYNUM_NONE, MASK_SOLID); baseheight = startplace[2] - tr.endpos[2]; cancontinue = 1; VectorCopy(startplace, nodetable[nodenum].origin); nodetable[nodenum].weight = 1; nodetable[nodenum].inuse = 1; // nodetable[nodenum].index = nodenum; nodenum++; while (nodenum < MAX_NODETABLE_SIZE && !foundit && cancontinue) { if (g_RMG.integer) { //adjust the branch distance dynamically depending on the distance from the start and end points. vec3_t startDist; vec3_t endDist; float startDistf; float endDistf; VectorSubtract(nodetable[nodenum-1].origin, gWPArray[startindex]->origin, startDist); VectorSubtract(nodetable[nodenum-1].origin, gWPArray[endindex]->origin, endDist); startDistf = VectorLength(startDist); endDistf = VectorLength(endDist); if (startDistf < 64 || endDistf < 64) { branchDistance = 64; } else if (startDistf < 128 || endDistf < 128) { branchDistance = 128; } else if (startDistf < 256 || endDistf < 256) { branchDistance = 256; } else if (startDistf < 512 || endDistf < 512) { branchDistance = 512; } else { branchDistance = 800; } } cancontinue = 0; i = 0; prenodestart = nodenum; while (i < prenodestart) { if (extendednodes[i] != 1) { VectorSubtract(gWPArray[endindex]->origin, nodetable[i].origin, a); fvecmeas = VectorLength(a); if (fvecmeas < 128 && CanGetToVector(gWPArray[endindex]->origin, nodetable[i].origin, mins, maxs)) { foundit = 1; successnodeindex = i; break; } VectorCopy(nodetable[i].origin, testspot); testspot[0] += branchDistance; VectorCopy(testspot, starttrace); starttrace[2] -= 4096; trap_Trace(&tr, testspot, NULL, NULL, starttrace, ENTITYNUM_NONE, MASK_SOLID); testspot[2] = tr.endpos[2]+baseheight; if (!NodeHere(testspot) && !tr.startsolid && !tr.allsolid && CanGetToVector(nodetable[i].origin, testspot, mins, maxs)) { VectorCopy(testspot, nodetable[nodenum].origin); nodetable[nodenum].inuse = 1; // nodetable[nodenum].index = nodenum; nodetable[nodenum].weight = nodetable[i].weight+1; nodetable[nodenum].neighbornum = i; if ((nodetable[i].origin[2] - nodetable[nodenum].origin[2]) > 50) { //if there's a big drop, make sure we know we can't just magically fly back up nodetable[nodenum].flags = WPFLAG_ONEWAY_FWD; } nodenum++; cancontinue = 1; } if (nodenum >= MAX_NODETABLE_SIZE) { break; //failure } VectorCopy(nodetable[i].origin, testspot); testspot[0] -= branchDistance; VectorCopy(testspot, starttrace); starttrace[2] -= 4096; trap_Trace(&tr, testspot, NULL, NULL, starttrace, ENTITYNUM_NONE, MASK_SOLID); testspot[2] = tr.endpos[2]+baseheight; if (!NodeHere(testspot) && !tr.startsolid && !tr.allsolid && CanGetToVector(nodetable[i].origin, testspot, mins, maxs)) { VectorCopy(testspot, nodetable[nodenum].origin); nodetable[nodenum].inuse = 1; // nodetable[nodenum].index = nodenum; nodetable[nodenum].weight = nodetable[i].weight+1; nodetable[nodenum].neighbornum = i; if ((nodetable[i].origin[2] - nodetable[nodenum].origin[2]) > 50) { //if there's a big drop, make sure we know we can't just magically fly back up nodetable[nodenum].flags = WPFLAG_ONEWAY_FWD; } nodenum++; cancontinue = 1; } if (nodenum >= MAX_NODETABLE_SIZE) { break; //failure } VectorCopy(nodetable[i].origin, testspot); testspot[1] += branchDistance; VectorCopy(testspot, starttrace); starttrace[2] -= 4096; trap_Trace(&tr, testspot, NULL, NULL, starttrace, ENTITYNUM_NONE, MASK_SOLID); testspot[2] = tr.endpos[2]+baseheight; if (!NodeHere(testspot) && !tr.startsolid && !tr.allsolid && CanGetToVector(nodetable[i].origin, testspot, mins, maxs)) { VectorCopy(testspot, nodetable[nodenum].origin); nodetable[nodenum].inuse = 1; // nodetable[nodenum].index = nodenum; nodetable[nodenum].weight = nodetable[i].weight+1; nodetable[nodenum].neighbornum = i; if ((nodetable[i].origin[2] - nodetable[nodenum].origin[2]) > 50) { //if there's a big drop, make sure we know we can't just magically fly back up nodetable[nodenum].flags = WPFLAG_ONEWAY_FWD; } nodenum++; cancontinue = 1; } if (nodenum >= MAX_NODETABLE_SIZE) { break; //failure } VectorCopy(nodetable[i].origin, testspot); testspot[1] -= branchDistance; VectorCopy(testspot, starttrace); starttrace[2] -= 4096; trap_Trace(&tr, testspot, NULL, NULL, starttrace, ENTITYNUM_NONE, MASK_SOLID); testspot[2] = tr.endpos[2]+baseheight; if (!NodeHere(testspot) && !tr.startsolid && !tr.allsolid && CanGetToVector(nodetable[i].origin, testspot, mins, maxs)) { VectorCopy(testspot, nodetable[nodenum].origin); nodetable[nodenum].inuse = 1; // nodetable[nodenum].index = nodenum; nodetable[nodenum].weight = nodetable[i].weight+1; nodetable[nodenum].neighbornum = i; if ((nodetable[i].origin[2] - nodetable[nodenum].origin[2]) > 50) { //if there's a big drop, make sure we know we can't just magically fly back up nodetable[nodenum].flags = WPFLAG_ONEWAY_FWD; } nodenum++; cancontinue = 1; } if (nodenum >= MAX_NODETABLE_SIZE) { break; //failure } extendednodes[i] = 1; } i++; } } if (!foundit) { #ifndef _DEBUG //if debug just always print this. if (!behindTheScenes) #endif { G_Printf(S_COLOR_RED "Could not link %i to %i, unreachable by node branching.\n", startindex, endindex); } gWPArray[startindex]->flags |= WPFLAG_ONEWAY_FWD; gWPArray[endindex]->flags |= WPFLAG_ONEWAY_BACK; if (!behindTheScenes) { G_Printf(S_COLOR_YELLOW "Since points cannot be connected, point %i has been flagged as only-forward and point %i has been flagged as only-backward.\n", startindex, endindex); } /*while (nodenum >= 0) { if (nodetable[nodenum].origin[0] || nodetable[nodenum].origin[1] || nodetable[nodenum].origin[2]) { CreateNewWP(nodetable[nodenum].origin, nodetable[nodenum].flags); } nodenum--; }*/ //The above code transfers nodes into the "rendered" waypoint array. Strictly for debugging. if (!behindTheScenes) { //just use what we have if we're auto-pathing the level return 0; } else { vec3_t endDist; int nCount = 0; int idealNode = -1; float bestDist = 0; float testDist; if (nodenum <= 10) { //not enough to even really bother. return 0; } //Since it failed, find whichever node is closest to the desired end. while (nCount < nodenum) { VectorSubtract(nodetable[nCount].origin, gWPArray[endindex]->origin, endDist); testDist = VectorLength(endDist); if (idealNode == -1) { idealNode = nCount; bestDist = testDist; nCount++; continue; } if (testDist < bestDist) { idealNode = nCount; bestDist = testDist; } nCount++; } if (idealNode == -1) { return 0; } successnodeindex = idealNode; } } i = successnodeindex; insertindex = startindex; failsafe = 0; VectorCopy(gWPArray[startindex]->origin, validspotpos); while (failsafe < MAX_NODETABLE_SIZE && i < MAX_NODETABLE_SIZE && i >= 0) { VectorSubtract(validspotpos, nodetable[i].origin, a); if (!nodetable[nodetable[i].neighbornum].inuse || !CanGetToVectorTravel(validspotpos, /*nodetable[nodetable[i].neighbornum].origin*/nodetable[i].origin, mins, maxs) || VectorLength(a) > maxDistFactor || (!CanGetToVectorTravel(validspotpos, gWPArray[endindex]->origin, mins, maxs) && CanGetToVectorTravel(nodetable[i].origin, gWPArray[endindex]->origin, mins, maxs)) ) { nodetable[i].flags |= WPFLAG_CALCULATED; if (!CreateNewWP_InTrail(nodetable[i].origin, nodetable[i].flags, insertindex)) { if (!behindTheScenes) { G_Printf(S_COLOR_RED "Could not link %i to %i, waypoint limit hit.\n", startindex, endindex); } return 0; } VectorCopy(nodetable[i].origin, validspotpos); } if (i == 0) { break; } i = nodetable[i].neighbornum; failsafe++; } if (!behindTheScenes) { G_Printf(S_COLOR_YELLOW "Finished connecting %i to %i.\n", startindex, endindex); } return 1; } int OpposingEnds(int start, int end) { if (!gWPArray[start] || !gWPArray[start]->inuse || !gWPArray[end] || !gWPArray[end]->inuse) { return 0; } if ((gWPArray[start]->flags & WPFLAG_ONEWAY_FWD) && (gWPArray[end]->flags & WPFLAG_ONEWAY_BACK)) { return 1; } return 0; } int DoorBlockingSection(int start, int end) { //if a door blocks the trail, we'll just have to assume the points on each side are in visibility when it's open trace_t tr; gentity_t *testdoor; int start_trace_index; if (!gWPArray[start] || !gWPArray[start]->inuse || !gWPArray[end] || !gWPArray[end]->inuse) { return 0; } trap_Trace(&tr, gWPArray[start]->origin, NULL, NULL, gWPArray[end]->origin, ENTITYNUM_NONE, MASK_SOLID); if (tr.fraction == 1) { return 0; } testdoor = &g_entities[tr.entityNum]; if (!testdoor) { return 0; } if (!strstr(testdoor->classname, "func_")) { return 0; } start_trace_index = tr.entityNum; trap_Trace(&tr, gWPArray[end]->origin, NULL, NULL, gWPArray[start]->origin, ENTITYNUM_NONE, MASK_SOLID); if (tr.fraction == 1) { return 0; } if (start_trace_index == tr.entityNum) { return 1; } return 0; } int RepairPaths(qboolean behindTheScenes) { int i; int preAmount = 0; int ctRet; vec3_t a; float maxDistFactor = 400; if (!gWPNum) { return 0; } if (g_RMG.integer) { maxDistFactor = 800; //higher tolerance here. } i = 0; preAmount = gWPNum; trap_Cvar_Update(&bot_wp_distconnect); trap_Cvar_Update(&bot_wp_visconnect); while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse && gWPArray[i+1] && gWPArray[i+1]->inuse) { VectorSubtract(gWPArray[i]->origin, gWPArray[i+1]->origin, a); if (!(gWPArray[i+1]->flags & WPFLAG_NOVIS) && !(gWPArray[i+1]->flags & WPFLAG_JUMP) && //don't calculate on jump points because they might not always want to be visible (in cases of force jumping) !(gWPArray[i]->flags & WPFLAG_CALCULATED) && //don't calculate it again !OpposingEnds(i, i+1) && ((bot_wp_distconnect.value && VectorLength(a) > maxDistFactor) || (!OrgVisible(gWPArray[i]->origin, gWPArray[i+1]->origin, ENTITYNUM_NONE) && bot_wp_visconnect.value) ) && !DoorBlockingSection(i, i+1)) { ctRet = ConnectTrail(i, i+1, behindTheScenes); if (gWPNum >= MAX_WPARRAY_SIZE) { //Bad! gWPNum = MAX_WPARRAY_SIZE; break; } /*if (!ctRet) { return 0; }*/ //we still want to write it.. } } i++; } return 1; } int OrgVisibleCurve(vec3_t org1, vec3_t mins, vec3_t maxs, vec3_t org2, int ignore) { trace_t tr; vec3_t evenorg1; VectorCopy(org1, evenorg1); evenorg1[2] = org2[2]; trap_Trace(&tr, evenorg1, mins, maxs, org2, ignore, MASK_SOLID); if (tr.fraction == 1 && !tr.startsolid && !tr.allsolid) { trap_Trace(&tr, evenorg1, mins, maxs, org1, ignore, MASK_SOLID); if (tr.fraction == 1 && !tr.startsolid && !tr.allsolid) { return 1; } } return 0; } int CanForceJumpTo(int baseindex, int testingindex, float distance) { float heightdif; vec3_t xy_base, xy_test, v, mins, maxs; wpobject_t *wpBase = gWPArray[baseindex]; wpobject_t *wpTest = gWPArray[testingindex]; mins[0] = -15; mins[1] = -15; mins[2] = -15; //-1 maxs[0] = 15; maxs[1] = 15; maxs[2] = 15; //1 if (!wpBase || !wpBase->inuse || !wpTest || !wpTest->inuse) { return 0; } if (distance > 400) { return 0; } VectorCopy(wpBase->origin, xy_base); VectorCopy(wpTest->origin, xy_test); xy_base[2] = xy_test[2]; VectorSubtract(xy_base, xy_test, v); if (VectorLength(v) > MAX_NEIGHBOR_LINK_DISTANCE) { return 0; } if ((int)wpBase->origin[2] < (int)wpTest->origin[2]) { heightdif = wpTest->origin[2] - wpBase->origin[2]; } else { return 0; //err.. } if (heightdif < 128) { //don't bother.. return 0; } if (heightdif > 512) { //too high return 0; } if (!OrgVisibleCurve(wpBase->origin, mins, maxs, wpTest->origin, ENTITYNUM_NONE)) { return 0; } if (heightdif > 400) { return 3; } else if (heightdif > 256) { return 2; } else { return 1; } } void CalculatePaths(void) { int i; int c; int forceJumpable; int maxNeighborDist = MAX_NEIGHBOR_LINK_DISTANCE; float nLDist; vec3_t a; vec3_t mins, maxs; if (!gWPNum) { return; } if (g_RMG.integer) { maxNeighborDist = DEFAULT_GRID_SPACING + (DEFAULT_GRID_SPACING*0.5); } mins[0] = -15; mins[1] = -15; mins[2] = -15; //-1 maxs[0] = 15; maxs[1] = 15; maxs[2] = 15; //1 //now clear out all the neighbor data before we recalculate i = 0; while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse && gWPArray[i]->neighbornum) { while (gWPArray[i]->neighbornum >= 0) { gWPArray[i]->neighbors[gWPArray[i]->neighbornum].num = 0; gWPArray[i]->neighbors[gWPArray[i]->neighbornum].forceJumpTo = 0; gWPArray[i]->neighbornum--; } gWPArray[i]->neighbornum = 0; } i++; } i = 0; while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse) { c = 0; while (c < gWPNum) { if (gWPArray[c] && gWPArray[c]->inuse && i != c && NotWithinRange(i, c)) { VectorSubtract(gWPArray[i]->origin, gWPArray[c]->origin, a); nLDist = VectorLength(a); //[BotTweaks] //I'm removing this part of the neighbor detection code since it's allowing neighbors //between waypoints that can't see each other. forceJumpable = 0; //forceJumpable = CanForceJumpTo(i, c, nLDist); //[/BotTweaks] if ((nLDist < maxNeighborDist || forceJumpable) && ((int)gWPArray[i]->origin[2] == (int)gWPArray[c]->origin[2] || forceJumpable) && (OrgVisibleBox(gWPArray[i]->origin, mins, maxs, gWPArray[c]->origin, ENTITYNUM_NONE) || forceJumpable)) { gWPArray[i]->neighbors[gWPArray[i]->neighbornum].num = c; if (forceJumpable && ((int)gWPArray[i]->origin[2] != (int)gWPArray[c]->origin[2] || nLDist < maxNeighborDist)) { gWPArray[i]->neighbors[gWPArray[i]->neighbornum].forceJumpTo = 999;//forceJumpable; //FJSR } else { gWPArray[i]->neighbors[gWPArray[i]->neighbornum].forceJumpTo = 0; } gWPArray[i]->neighbornum++; } if (gWPArray[i]->neighbornum >= MAX_NEIGHBOR_SIZE) { break; } } c++; } } i++; } } gentity_t *GetObjectThatTargets(gentity_t *ent) { gentity_t *next = NULL; if (!ent->targetname) { return NULL; } next = G_Find( next, FOFS(target), ent->targetname ); if (next) { return next; } return NULL; } void CalculateSiegeGoals(void) { int i = 0; int looptracker = 0; int wpindex = 0; vec3_t dif; gentity_t *ent; gentity_t *tent = NULL, *t2ent = NULL; while (i < level.num_entities) { ent = &g_entities[i]; tent = NULL; if (ent && ent->classname && strcmp(ent->classname, "info_siege_objective") == 0) { tent = ent; t2ent = GetObjectThatTargets(tent); looptracker = 0; while (t2ent && looptracker < 2048) { //looptracker keeps us from getting stuck in case something is set up weird on this map tent = t2ent; t2ent = GetObjectThatTargets(tent); looptracker++; } if (looptracker >= 2048) { //something unpleasent has happened tent = NULL; break; } } if (tent && ent && tent != ent) { //tent should now be the object attached to the mission objective dif[0] = (tent->r.absmax[0]+tent->r.absmin[0])/2; dif[1] = (tent->r.absmax[1]+tent->r.absmin[1])/2; dif[2] = (tent->r.absmax[2]+tent->r.absmin[2])/2; wpindex = GetNearestVisibleWP(dif, tent->s.number); if (wpindex != -1 && gWPArray[wpindex] && gWPArray[wpindex]->inuse) { //found the waypoint nearest the center of this objective-related object if (ent->side == SIEGETEAM_TEAM1) { gWPArray[wpindex]->flags |= WPFLAG_SIEGE_IMPERIALOBJ; } else { gWPArray[wpindex]->flags |= WPFLAG_SIEGE_REBELOBJ; } gWPArray[wpindex]->associated_entity = tent->s.number; } } i++; } } //[NewWeapons][EnhancedImpliment] //float botGlobalNavWeaponWeights[MAX_PLAYER_WEAPONS/*WP_NUM_WEAPONS*/] = float botGlobalNavWeaponWeights[WP_NUM_WEAPONS] = //[/NewWeapons][EnhancedImpliment] { 0,//WP_NONE, 0,//WP_STUN_BATON, 0,//WP_MELEE 0,//WP_SABER, // NOTE: lots of code assumes this is the first weapon (... which is crap) so be careful -Ste. 0,//WP_BRYAR_PISTOL, 3,//WP_BLASTER, 5,//WP_DISRUPTOR, 4,//WP_BOWCASTER, 6,//WP_REPEATER, 7,//WP_DEMP2, 8,//WP_FLECHETTE, 9,//WP_ROCKET_LAUNCHER, 3,//WP_THERMAL, 3,//WP_GRENADE, //[NewWeapons][EnhancedImpliment] /* 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, 3,//WP_DET_PACK, */ //[/NewWeapons][EnhancedImpliment] 3,//WP_DET_PACK, 0//WP_EMPLACED_GUN, }; int GetNearestVisibleWPToItem(vec3_t org, int ignore) { int i; float bestdist; float flLen; int bestindex; vec3_t a, mins, maxs; i = 0; bestdist = 64; //has to be less than 64 units to the item or it isn't safe enough bestindex = -1; mins[0] = -15; mins[1] = -15; mins[2] = 0; maxs[0] = 15; maxs[1] = 15; maxs[2] = 0; while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse && gWPArray[i]->origin[2]-15 < org[2] && gWPArray[i]->origin[2]+15 > org[2]) { VectorSubtract(org, gWPArray[i]->origin, a); flLen = VectorLength(a); if (flLen < bestdist && trap_InPVS(org, gWPArray[i]->origin) && OrgVisibleBox(org, mins, maxs, gWPArray[i]->origin, ignore)) { bestdist = flLen; bestindex = i; } } i++; } return bestindex; } void CalculateWeightGoals(void) { //set waypoint weights depending on weapon and item placement int i = 0; int wpindex = 0; gentity_t *ent; float weight; trap_Cvar_Update(&bot_wp_clearweight); if (bot_wp_clearweight.integer) { //if set then flush out all weight/goal values before calculating them again while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse) { gWPArray[i]->weight = 0; if (gWPArray[i]->flags & WPFLAG_GOALPOINT) { gWPArray[i]->flags -= WPFLAG_GOALPOINT; } } i++; } } i = 0; while (i < level.num_entities) { ent = &g_entities[i]; weight = 0; if (ent && ent->classname) { if (strcmp(ent->classname, "item_seeker") == 0) { weight = 2; } else if (strcmp(ent->classname, "item_shield") == 0) { weight = 2; } else if (strcmp(ent->classname, "item_medpac") == 0) { weight = 2; } else if (strcmp(ent->classname, "item_sentry_gun") == 0) { weight = 2; } else if (strcmp(ent->classname, "item_force_enlighten_dark") == 0) { weight = 5; } else if (strcmp(ent->classname, "item_force_enlighten_light") == 0) { weight = 5; } else if (strcmp(ent->classname, "item_force_boon") == 0) { weight = 5; } else if (strcmp(ent->classname, "item_ysalimari") == 0) { weight = 2; } else if (strstr(ent->classname, "weapon_") && ent->item) { weight = botGlobalNavWeaponWeights[ent->item->giTag]; } else if (ent->item && ent->item->giType == IT_AMMO) { weight = 3; } } if (ent && weight) { wpindex = GetNearestVisibleWPToItem(ent->s.pos.trBase, ent->s.number); if (wpindex != -1 && gWPArray[wpindex] && gWPArray[wpindex]->inuse) { //found the waypoint nearest the center of this object gWPArray[wpindex]->weight = weight; gWPArray[wpindex]->flags |= WPFLAG_GOALPOINT; gWPArray[wpindex]->associated_entity = ent->s.number; } } i++; } } void CalculateJumpRoutes(void) { int i = 0; float nheightdif = 0; float pheightdif = 0; while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse) { if (gWPArray[i]->flags & WPFLAG_JUMP) { nheightdif = 0; pheightdif = 0; gWPArray[i]->forceJumpTo = 0; if (gWPArray[i-1] && gWPArray[i-1]->inuse && (gWPArray[i-1]->origin[2]+16) < gWPArray[i]->origin[2]) { nheightdif = (gWPArray[i]->origin[2] - gWPArray[i-1]->origin[2]); } if (gWPArray[i+1] && gWPArray[i+1]->inuse && (gWPArray[i+1]->origin[2]+16) < gWPArray[i]->origin[2]) { pheightdif = (gWPArray[i]->origin[2] - gWPArray[i+1]->origin[2]); } if (nheightdif > pheightdif) { pheightdif = nheightdif; } if (pheightdif) { if (pheightdif > 500) { gWPArray[i]->forceJumpTo = 999; //FORCE_LEVEL_3; //FJSR } else if (pheightdif > 256) { gWPArray[i]->forceJumpTo = 999; //FORCE_LEVEL_2; //FJSR } else if (pheightdif > 128) { gWPArray[i]->forceJumpTo = 999; //FORCE_LEVEL_1; //FJSR } } } } i++; } } //[DynamicMemoryTweaks] //setting a definition for this to simplify things #define WPARRAY_BUFFER_SIZE 524288 //[/DynamicMemoryTweaks] int LoadPathData(const char *filename) { fileHandle_t f; //[DynamicMemoryTweaks] char fileString[WPARRAY_BUFFER_SIZE]; //char *fileString; //[/DynamicMemoryTweaks] char *currentVar; //[DynamicMemoryTweaks] //using dynamic memory is bad. BAD! char routePath[MAX_QPATH]; //char *routePath; //[/DynamicMemoryTweaks] wpobject_t thiswp; int len; int i, i_cv; int nei_num; i = 0; i_cv = 0; //[DynamicMemoryTweaks] //[OverflowProtection] //strcpy(routePath, va("botroutes/%s.wnt\0", filename)); Com_sprintf(routePath, sizeof(routePath), "botroutes/%s.wnt", filename); //[/OverflowProtection] //routePath = (char *)B_TempAlloc(1024); //Com_sprintf(routePath, 1024, "botroutes/%s.wnt\0", filename); //[/DynamicMemoryTweaks] len = trap_FS_FOpenFile(routePath, &f, FS_READ); //[DynamicMemoryTweaks] //B_TempFree(1024); //routePath //[/DynamicMemoryTweaks] if (!f) { G_Printf(S_COLOR_YELLOW "Bot route data not found for %s\n", filename); return 2; } //[DynamicMemoryTweaks] if (len >= WPARRAY_BUFFER_SIZE) //if (len >= 524288) //[/DynamicMemoryTweaks] { G_Printf(S_COLOR_RED "Route file exceeds maximum length\n"); //[MissingCloseFile] trap_FS_FCloseFile(f); //[/MissingCloseFile] return 0; } //[DynamicMemoryTweaks] //not using dynamic memory for this anymore. //fileString = (char *)B_TempAlloc(524288); //[/DynamicMemoryTweaks] currentVar = (char *)B_TempAlloc(2048); trap_FS_Read(fileString, len, f); if (fileString[i] == 'l') { //contains a "levelflags" entry.. char readLFlags[64]; i_cv = 0; while (fileString[i] != ' ') { i++; } i++; while (fileString[i] != '\n') { readLFlags[i_cv] = fileString[i]; i_cv++; i++; } readLFlags[i_cv] = 0; i++; gLevelFlags = atoi(readLFlags); } else { gLevelFlags = 0; } while (i < len) { i_cv = 0; thiswp.index = 0; thiswp.flags = 0; thiswp.inuse = 0; thiswp.neighbornum = 0; thiswp.origin[0] = 0; thiswp.origin[1] = 0; thiswp.origin[2] = 0; thiswp.weight = 0; thiswp.associated_entity = ENTITYNUM_NONE; thiswp.forceJumpTo = 0; thiswp.disttonext = 0; nei_num = 0; while (nei_num < MAX_NEIGHBOR_SIZE) { thiswp.neighbors[nei_num].num = 0; thiswp.neighbors[nei_num].forceJumpTo = 0; nei_num++; } while (fileString[i] != ' ') { currentVar[i_cv] = fileString[i]; i_cv++; i++; } currentVar[i_cv] = '\0'; thiswp.index = atoi(currentVar); i_cv = 0; i++; while (fileString[i] != ' ') { currentVar[i_cv] = fileString[i]; i_cv++; i++; } currentVar[i_cv] = '\0'; thiswp.flags = atoi(currentVar); i_cv = 0; i++; while (fileString[i] != ' ') { currentVar[i_cv] = fileString[i]; i_cv++; i++; } currentVar[i_cv] = '\0'; thiswp.weight = atof(currentVar); i_cv = 0; i++; i++; while (fileString[i] != ' ') { currentVar[i_cv] = fileString[i]; i_cv++; i++; } currentVar[i_cv] = '\0'; thiswp.origin[0] = atof(currentVar); i_cv = 0; i++; while (fileString[i] != ' ') { currentVar[i_cv] = fileString[i]; i_cv++; i++; } currentVar[i_cv] = '\0'; thiswp.origin[1] = atof(currentVar); i_cv = 0; i++; while (fileString[i] != ')') { currentVar[i_cv] = fileString[i]; i_cv++; i++; } currentVar[i_cv] = '\0'; thiswp.origin[2] = atof(currentVar); i += 4; while (fileString[i] != '}') { i_cv = 0; while (fileString[i] != ' ' && fileString[i] != '-') { currentVar[i_cv] = fileString[i]; i_cv++; i++; } currentVar[i_cv] = '\0'; thiswp.neighbors[thiswp.neighbornum].num = atoi(currentVar); if (fileString[i] == '-') { i_cv = 0; i++; while (fileString[i] != ' ') { currentVar[i_cv] = fileString[i]; i_cv++; i++; } currentVar[i_cv] = '\0'; thiswp.neighbors[thiswp.neighbornum].forceJumpTo = 999; //atoi(currentVar); //FJSR } else { thiswp.neighbors[thiswp.neighbornum].forceJumpTo = 0; } thiswp.neighbornum++; i++; } i_cv = 0; i++; i++; while (fileString[i] != '\n') { currentVar[i_cv] = fileString[i]; i_cv++; i++; } currentVar[i_cv] = '\0'; thiswp.disttonext = atof(currentVar); CreateNewWP_FromObject(&thiswp); i++; } //[DynamicMemoryTweaks] //using static memory for this now. //B_TempFree(524288); //fileString //[/DynamicMemoryTweaks] B_TempFree(2048); //currentVar trap_FS_FCloseFile(f); if (g_gametype.integer == GT_SIEGE) { CalculateSiegeGoals(); } CalculateWeightGoals(); //calculate weights for idle activity goals when //the bot has absolutely nothing else to do CalculateJumpRoutes(); //Look at jump points and mark them as requiring //force jumping as needed return 1; } void FlagObjects(void) { int i = 0, bestindex = 0, found = 0; float bestdist = 999999, tlen = 0; gentity_t *flag_red, *flag_blue, *ent; vec3_t a, mins, maxs; trace_t tr; flag_red = NULL; flag_blue = NULL; mins[0] = -15; mins[1] = -15; mins[2] = -5; maxs[0] = 15; maxs[1] = 15; maxs[2] = 5; while (i < level.num_entities) { ent = &g_entities[i]; if (ent && ent->inuse && ent->classname) { if (!flag_red && strcmp(ent->classname, "team_CTF_redflag") == 0) { flag_red = ent; } else if (!flag_blue && strcmp(ent->classname, "team_CTF_blueflag") == 0) { flag_blue = ent; } if (flag_red && flag_blue) { break; } } i++; } i = 0; if (!flag_red || !flag_blue) { return; } while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse) { VectorSubtract(flag_red->s.pos.trBase, gWPArray[i]->origin, a); tlen = VectorLength(a); if (tlen < bestdist) { trap_Trace(&tr, flag_red->s.pos.trBase, mins, maxs, gWPArray[i]->origin, flag_red->s.number, MASK_SOLID); if (tr.fraction == 1 || tr.entityNum == flag_red->s.number) { bestdist = tlen; bestindex = i; found = 1; } } } i++; } if (found) { gWPArray[bestindex]->flags |= WPFLAG_RED_FLAG; flagRed = gWPArray[bestindex]; oFlagRed = flagRed; eFlagRed = flag_red; } bestdist = 999999; bestindex = 0; found = 0; i = 0; while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse) { VectorSubtract(flag_blue->s.pos.trBase, gWPArray[i]->origin, a); tlen = VectorLength(a); if (tlen < bestdist) { trap_Trace(&tr, flag_blue->s.pos.trBase, mins, maxs, gWPArray[i]->origin, flag_blue->s.number, MASK_SOLID); if (tr.fraction == 1 || tr.entityNum == flag_blue->s.number) { bestdist = tlen; bestindex = i; found = 1; } } } i++; } if (found) { gWPArray[bestindex]->flags |= WPFLAG_BLUE_FLAG; flagBlue = gWPArray[bestindex]; oFlagBlue = flagBlue; eFlagBlue = flag_blue; } } int SavePathData(const char *filename) { fileHandle_t f; //[DynamicMemoryTweaks] char fileString[WPARRAY_BUFFER_SIZE]; //char *fileString; //[/DynamicMemoryTweaks] char *storeString; char *routePath; vec3_t a; float flLen; int i, s, n; //[DynamicMemoryTweaks] //using static memory for this now. //fileString = NULL; //[/DynamicMemoryTweaks] i = 0; s = 0; if (!gWPNum) { return 0; } //[DynamicMemoryTweaks] //added save message and cleaned up the code so this //doesn't have to use temp memory stuff. //G_Printf("Saving waypoint table..\n"); //routePath = (char *)B_TempAlloc(1024); //Com_sprintf(routePath, 1024, "botroutes/%s.wnt\0", filename); routePath = va("botroutes/%s.wnt\0", filename); trap_FS_FOpenFile(routePath, &f, FS_WRITE); //B_TempFree(1024); //routePath //[/DynamicMemoryTweaks] if (!f) { G_Printf(S_COLOR_RED "ERROR: Could not open file to write path data\n"); return 0; } if (!RepairPaths(qfalse)) //check if we can see all waypoints from the last. If not, try to branch over. { trap_FS_FCloseFile(f); return 0; } //G_Printf("Calculating Paths..\n"); CalculatePaths(); //make everything nice and connected before saving //G_Printf("Marking flag nodes..\n"); FlagObjects(); //currently only used for flagging waypoints nearest CTF flags //[DynamicMemoryTweaks] //using static memory for this now. //fileString = (char *)B_TempAlloc(524288); //[/DynamicMemoryTweaks] storeString = (char *)B_TempAlloc(4096); //G_Printf("Creating path table image..\n"); //[DynamicMemoryTweaks] Com_sprintf(fileString, WPARRAY_BUFFER_SIZE, "%i %i %f (%f %f %f) { ", gWPArray[i]->index, gWPArray[i]->flags, gWPArray[i]->weight, gWPArray[i]->origin[0], gWPArray[i]->origin[1], gWPArray[i]->origin[2]); //Com_sprintf(fileString, 524288, "%i %i %f (%f %f %f) { ", gWPArray[i]->index, gWPArray[i]->flags, gWPArray[i]->weight, gWPArray[i]->origin[0], gWPArray[i]->origin[1], gWPArray[i]->origin[2]); //[/DynamicMemoryTweaks] n = 0; //G_Printf("Setting neighbours..\n"); while (n < gWPArray[i]->neighbornum) { if (gWPArray[i]->neighbors[n].forceJumpTo) { Com_sprintf(storeString, 4096, "%s%i-%i ", storeString, gWPArray[i]->neighbors[n].num, gWPArray[i]->neighbors[n].forceJumpTo); } else { Com_sprintf(storeString, 4096, "%s%i ", storeString, gWPArray[i]->neighbors[n].num); } n++; } if (gWPArray[i+1] && gWPArray[i+1]->inuse && gWPArray[i+1]->index) { VectorSubtract(gWPArray[i]->origin, gWPArray[i+1]->origin, a); flLen = VectorLength(a); } else { flLen = 0; } gWPArray[i]->disttonext = flLen; //G_Printf("Creating waypoint list image..\n"); //[DynamicMemoryTweaks] Com_sprintf(fileString, WPARRAY_BUFFER_SIZE, "%s} %f\n", fileString, flLen); //Com_sprintf(fileString, 524288, "%s} %f\n", fileString, flLen); //[/DynamicMemoryTweaks] i++; while (i < gWPNum) { //sprintf(fileString, "%s%i %i %f (%f %f %f) { ", fileString, gWPArray[i]->index, gWPArray[i]->flags, gWPArray[i]->weight, gWPArray[i]->origin[0], gWPArray[i]->origin[1], gWPArray[i]->origin[2]); Com_sprintf(storeString, 4096, "%i %i %f (%f %f %f) { ", gWPArray[i]->index, gWPArray[i]->flags, gWPArray[i]->weight, gWPArray[i]->origin[0], gWPArray[i]->origin[1], gWPArray[i]->origin[2]); n = 0; while (n < gWPArray[i]->neighbornum) { if (gWPArray[i]->neighbors[n].forceJumpTo) { Com_sprintf(storeString, 4096, "%s%i-%i ", storeString, gWPArray[i]->neighbors[n].num, gWPArray[i]->neighbors[n].forceJumpTo); } else { Com_sprintf(storeString, 4096, "%s%i ", storeString, gWPArray[i]->neighbors[n].num); } n++; } if (gWPArray[i+1] && gWPArray[i+1]->inuse && gWPArray[i+1]->index) { VectorSubtract(gWPArray[i]->origin, gWPArray[i+1]->origin, a); flLen = VectorLength(a); } else { flLen = 0; } gWPArray[i]->disttonext = flLen; Com_sprintf(storeString, 4096, "%s} %f\n", storeString, flLen); //[OverflowProtection] //strcat(fileString, storeString); Q_strcat(fileString, WPARRAY_BUFFER_SIZE, storeString); //[/OverflowProtection] i++; } G_Printf("Saving data to waypoint file..\n"); trap_FS_Write(fileString, strlen(fileString), f); //[DynamicMemoryTweaks] //using static memory for this now. //B_TempFree(524288); //fileString //[/DynamicMemoryTweaks] B_TempFree(4096); //storeString trap_FS_FCloseFile(f); //[BotTweaks] //send bot editor mesages to the approprate client. trap_SendServerCommand( bot_wp_editornumber.integer, va("print \"%sPath data has been saved and updated. You may need to restart the level for some things to be properly calculated.\n", S_COLOR_YELLOW)); //G_Printf("Path data has been saved and updated. You may need to restart the level for some things to be properly calculated.\n"); //[/BotTweaks] return 1; } //#define PAINFULLY_DEBUGGING_THROUGH_VM #define MAX_SPAWNPOINT_ARRAY 64 int gSpawnPointNum = 0; gentity_t *gSpawnPoints[MAX_SPAWNPOINT_ARRAY]; int G_NearestNodeToPoint(vec3_t point) { //gets the node on the entire grid which is nearest to the specified coordinates. vec3_t vSub; int bestIndex = -1; int i = 0; float bestDist = 0; float testDist = 0; while (i < nodenum) { VectorSubtract(nodetable[i].origin, point, vSub); testDist = VectorLength(vSub); if (bestIndex == -1) { bestIndex = i; bestDist = testDist; i++; continue; } if (testDist < bestDist) { bestIndex = i; bestDist = testDist; } i++; } return bestIndex; } void G_NodeClearForNext(void) { //reset nodes for the next trail connection. int i = 0; while (i < nodenum) { nodetable[i].flags = 0; nodetable[i].weight = 99999; i++; } } void G_NodeClearFlags(void) { //only clear out flags so nodes can be reused. int i = 0; while (i < nodenum) { nodetable[i].flags = 0; i++; } } int G_NodeMatchingXY(float x, float y) { //just get the first unflagged node with the matching x,y coordinates. int i = 0; while (i < nodenum) { if (nodetable[i].origin[0] == x && nodetable[i].origin[1] == y && !nodetable[i].flags) { return i; } i++; } return -1; } int G_NodeMatchingXY_BA(int x, int y, int final) { //return the node with the lowest weight that matches the specified x,y coordinates. int i = 0; int bestindex = -1; float bestWeight = 9999; while (i < nodenum) { if ((int)nodetable[i].origin[0] == x && (int)nodetable[i].origin[1] == y && !nodetable[i].flags && ((nodetable[i].weight < bestWeight) || (i == final))) { if (i == final) { return i; } bestindex = i; bestWeight = nodetable[i].weight; } i++; } return bestindex; } int G_RecursiveConnection(int start, int end, int weight, qboolean traceCheck, float baseHeight) { int indexDirections[4]; //0 == down, 1 == up, 2 == left, 3 == right int recursiveIndex = -1; int i = 0; int passWeight = weight; vec2_t givenXY; trace_t tr; passWeight++; nodetable[start].weight = passWeight; givenXY[0] = nodetable[start].origin[0]; givenXY[1] = nodetable[start].origin[1]; givenXY[0] -= DEFAULT_GRID_SPACING; indexDirections[0] = G_NodeMatchingXY(givenXY[0], givenXY[1]); givenXY[0] = nodetable[start].origin[0]; givenXY[1] = nodetable[start].origin[1]; givenXY[0] += DEFAULT_GRID_SPACING; indexDirections[1] = G_NodeMatchingXY(givenXY[0], givenXY[1]); givenXY[0] = nodetable[start].origin[0]; givenXY[1] = nodetable[start].origin[1]; givenXY[1] -= DEFAULT_GRID_SPACING; indexDirections[2] = G_NodeMatchingXY(givenXY[0], givenXY[1]); givenXY[0] = nodetable[start].origin[0]; givenXY[1] = nodetable[start].origin[1]; givenXY[1] += DEFAULT_GRID_SPACING; indexDirections[3] = G_NodeMatchingXY(givenXY[0], givenXY[1]); i = 0; while (i < 4) { if (indexDirections[i] == end) { //we've connected all the way to the destination. return indexDirections[i]; } if (indexDirections[i] != -1 && nodetable[indexDirections[i]].flags) { //this point is already used, so it's not valid. indexDirections[i] = -1; } else if (indexDirections[i] != -1) { //otherwise mark it as used. nodetable[indexDirections[i]].flags = 1; } if (indexDirections[i] != -1 && traceCheck) { //if we care about trace visibility between nodes, perform the check and mark as not valid if the trace isn't clear. trap_Trace(&tr, nodetable[start].origin, NULL, NULL, nodetable[indexDirections[i]].origin, ENTITYNUM_NONE, CONTENTS_SOLID); if (tr.fraction != 1) { indexDirections[i] = -1; } } if (indexDirections[i] != -1) { //it's still valid, so keep connecting via this point. recursiveIndex = G_RecursiveConnection(indexDirections[i], end, passWeight, traceCheck, baseHeight); } if (recursiveIndex != -1) { //the result of the recursive check was valid, so return it. return recursiveIndex; } i++; } return recursiveIndex; } #ifdef DEBUG_NODE_FILE void G_DebugNodeFile() { fileHandle_t f; int i = 0; float placeX; char fileString[131072]; gentity_t *terrain = G_Find( NULL, FOFS(classname), "terrain" ); fileString[0] = 0; placeX = terrain->r.absmin[0]; while (i < nodenum) { //[OverflowProtection] //strcat(fileString, va("%i-%f ", i, nodetable[i].weight)); Q_strcat(fileString, sizeof(fileString), va("%i-%f ", i, nodetable[i].weight)); //[/OverflowProtection] placeX += DEFAULT_GRID_SPACING; if (placeX >= terrain->r.absmax[0]) { //[OverflowProtection] //strcat(fileString, "\n"); Q_strcat(fileString, sizeof(fileString), "\n"); //[/OverflowProtection] placeX = terrain->r.absmin[0]; } i++; } trap_FS_FOpenFile("ROUTEDEBUG.txt", &f, FS_WRITE); trap_FS_Write(fileString, strlen(fileString), f); trap_FS_FCloseFile(f); } #endif //#define ASCII_ART_DEBUG //#define ASCII_ART_NODE_DEBUG #ifdef ASCII_ART_DEBUG #define ALLOWABLE_DEBUG_FILE_SIZE 1048576 void CreateAsciiTableRepresentation() { //Draw a text grid of the entire waypoint array (useful for debugging final waypoint placement) fileHandle_t f; int i = 0; int sP = 0; int placeX; int placeY; int oldX; int oldY; char fileString[ALLOWABLE_DEBUG_FILE_SIZE]; char bChr = '+'; gentity_t *terrain = G_Find( NULL, FOFS(classname), "terrain" ); placeX = terrain->r.absmin[0]; placeY = terrain->r.absmin[1]; oldX = placeX-1; oldY = placeY-1; while (placeY < terrain->r.absmax[1]) { while (placeX < terrain->r.absmax[0]) { qboolean gotit = qfalse; i = 0; while (i < gWPNum) { if (((int)gWPArray[i]->origin[0] <= placeX && (int)gWPArray[i]->origin[0] > oldX) && ((int)gWPArray[i]->origin[1] <= placeY && (int)gWPArray[i]->origin[1] > oldY)) { gotit = qtrue; break; } i++; } if (gotit) { if (gWPArray[i]->flags & WPFLAG_ONEWAY_FWD) { bChr = 'F'; } else if (gWPArray[i]->flags & WPFLAG_ONEWAY_BACK) { bChr = 'B'; } else { bChr = '+'; } if (gWPArray[i]->index < 10) { fileString[sP] = bChr; fileString[sP+1] = '0'; fileString[sP+2] = '0'; fileString[sP+3] = va("%i", gWPArray[i]->index)[0]; } else if (gWPArray[i]->index < 100) { char *vastore = va("%i", gWPArray[i]->index); fileString[sP] = bChr; fileString[sP+1] = '0'; fileString[sP+2] = vastore[0]; fileString[sP+3] = vastore[1]; } else if (gWPArray[i]->index < 1000) { char *vastore = va("%i", gWPArray[i]->index); fileString[sP] = bChr; fileString[sP+1] = vastore[0]; fileString[sP+2] = vastore[1]; fileString[sP+3] = vastore[2]; } else { fileString[sP] = 'X'; fileString[sP+1] = 'X'; fileString[sP+2] = 'X'; fileString[sP+3] = 'X'; } } else { fileString[sP] = '-'; fileString[sP+1] = '-'; fileString[sP+2] = '-'; fileString[sP+3] = '-'; } sP += 4; if (sP >= ALLOWABLE_DEBUG_FILE_SIZE-16) { break; } oldX = placeX; placeX += DEFAULT_GRID_SPACING; } placeX = terrain->r.absmin[0]; oldX = placeX-1; fileString[sP] = '\n'; sP++; if (sP >= ALLOWABLE_DEBUG_FILE_SIZE-16) { break; } oldY = placeY; placeY += DEFAULT_GRID_SPACING; } fileString[sP] = 0; trap_FS_FOpenFile("ROUTEDRAWN.txt", &f, FS_WRITE); trap_FS_Write(fileString, strlen(fileString), f); trap_FS_FCloseFile(f); } void CreateAsciiNodeTableRepresentation(int start, int end) { //draw a text grid of a single node path, from point A to Z. fileHandle_t f; int i = 0; int sP = 0; int placeX; int placeY; int oldX; int oldY; char fileString[ALLOWABLE_DEBUG_FILE_SIZE]; gentity_t *terrain = G_Find( NULL, FOFS(classname), "terrain" ); placeX = terrain->r.absmin[0]; placeY = terrain->r.absmin[1]; oldX = placeX-1; oldY = placeY-1; while (placeY < terrain->r.absmax[1]) { while (placeX < terrain->r.absmax[0]) { qboolean gotit = qfalse; i = 0; while (i < nodenum) { if (((int)nodetable[i].origin[0] <= placeX && (int)nodetable[i].origin[0] > oldX) && ((int)nodetable[i].origin[1] <= placeY && (int)nodetable[i].origin[1] > oldY)) { gotit = qtrue; break; } i++; } if (gotit) { if (i == start) { //beginning of the node trail fileString[sP] = 'A'; fileString[sP+1] = 'A'; fileString[sP+2] = 'A'; fileString[sP+3] = 'A'; } else if (i == end) { //destination of the node trail fileString[sP] = 'Z'; fileString[sP+1] = 'Z'; fileString[sP+2] = 'Z'; fileString[sP+3] = 'Z'; } else if (nodetable[i].weight < 10) { fileString[sP] = '+'; fileString[sP+1] = '0'; fileString[sP+2] = '0'; fileString[sP+3] = va("%f", nodetable[i].weight)[0]; } else if (nodetable[i].weight < 100) { char *vastore = va("%f", nodetable[i].weight); fileString[sP] = '+'; fileString[sP+1] = '0'; fileString[sP+2] = vastore[0]; fileString[sP+3] = vastore[1]; } else if (nodetable[i].weight < 1000) { char *vastore = va("%f", nodetable[i].weight); fileString[sP] = '+'; fileString[sP+1] = vastore[0]; fileString[sP+2] = vastore[1]; fileString[sP+3] = vastore[2]; } else { fileString[sP] = 'X'; fileString[sP+1] = 'X'; fileString[sP+2] = 'X'; fileString[sP+3] = 'X'; } } else { fileString[sP] = '-'; fileString[sP+1] = '-'; fileString[sP+2] = '-'; fileString[sP+3] = '-'; } sP += 4; if (sP >= ALLOWABLE_DEBUG_FILE_SIZE-16) { break; } oldX = placeX; placeX += DEFAULT_GRID_SPACING; } placeX = terrain->r.absmin[0]; oldX = placeX-1; fileString[sP] = '\n'; sP++; if (sP >= ALLOWABLE_DEBUG_FILE_SIZE-16) { break; } oldY = placeY; placeY += DEFAULT_GRID_SPACING; } fileString[sP] = 0; trap_FS_FOpenFile("ROUTEDRAWN.txt", &f, FS_WRITE); trap_FS_Write(fileString, strlen(fileString), f); trap_FS_FCloseFile(f); } #endif qboolean G_BackwardAttachment(int start, int finalDestination, int insertAfter) { //After creating a node path between 2 points, this function links the 2 points with actual waypoint data. int indexDirections[4]; //0 == down, 1 == up, 2 == left, 3 == right int i = 0; int lowestWeight = 9999; int desiredIndex = -1; vec2_t givenXY; givenXY[0] = nodetable[start].origin[0]; givenXY[1] = nodetable[start].origin[1]; givenXY[0] -= DEFAULT_GRID_SPACING; indexDirections[0] = G_NodeMatchingXY_BA(givenXY[0], givenXY[1], finalDestination); givenXY[0] = nodetable[start].origin[0]; givenXY[1] = nodetable[start].origin[1]; givenXY[0] += DEFAULT_GRID_SPACING; indexDirections[1] = G_NodeMatchingXY_BA(givenXY[0], givenXY[1], finalDestination); givenXY[0] = nodetable[start].origin[0]; givenXY[1] = nodetable[start].origin[1]; givenXY[1] -= DEFAULT_GRID_SPACING; indexDirections[2] = G_NodeMatchingXY_BA(givenXY[0], givenXY[1], finalDestination); givenXY[0] = nodetable[start].origin[0]; givenXY[1] = nodetable[start].origin[1]; givenXY[1] += DEFAULT_GRID_SPACING; indexDirections[3] = G_NodeMatchingXY_BA(givenXY[0], givenXY[1], finalDestination); while (i < 4) { if (indexDirections[i] != -1) { if (indexDirections[i] == finalDestination) { //hooray, we've found the original point and linked all the way back to it. CreateNewWP_InsertUnder(nodetable[start].origin, 0, insertAfter); CreateNewWP_InsertUnder(nodetable[indexDirections[i]].origin, 0, insertAfter); return qtrue; } if (nodetable[indexDirections[i]].weight < lowestWeight && nodetable[indexDirections[i]].weight && !nodetable[indexDirections[i]].flags /*&& (nodetable[indexDirections[i]].origin[2]-64 < nodetable[start].origin[2])*/) { desiredIndex = indexDirections[i]; lowestWeight = nodetable[indexDirections[i]].weight; } } i++; } if (desiredIndex != -1) { //Create a waypoint here, and then recursively call this function for the next neighbor with the lowest weight. if (gWPNum < 3900) { CreateNewWP_InsertUnder(nodetable[start].origin, 0, insertAfter); } else { #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("WAYPOINTS FULL\n"); #endif return qfalse; } nodetable[start].flags = 1; return G_BackwardAttachment(desiredIndex, finalDestination, insertAfter); } return qfalse; } #ifdef _DEBUG #define PATH_TIME_DEBUG #endif void G_RMGPathing(void) { //Generate waypoint information on-the-fly for the random mission. float placeX, placeY, placeZ; int i = 0; int gridSpacing = DEFAULT_GRID_SPACING; int nearestIndex = 0; int nearestIndexForNext = 0; #ifdef PATH_TIME_DEBUG int startTime = 0; int endTime = 0; #endif vec3_t downVec, trMins, trMaxs; trace_t tr; gentity_t *terrain = G_Find( NULL, FOFS(classname), "terrain" ); if (!terrain || !terrain->inuse || terrain->s.eType != ET_TERRAIN) { G_Printf("Error: RMG with no terrain!\n"); return; } #ifdef PATH_TIME_DEBUG startTime = trap_Milliseconds(); #endif nodenum = 0; memset(&nodetable, 0, sizeof(nodetable)); VectorSet(trMins, -15, -15, DEFAULT_MINS_2); VectorSet(trMaxs, 15, 15, DEFAULT_MAXS_2); placeX = terrain->r.absmin[0]; placeY = terrain->r.absmin[1]; placeZ = terrain->r.absmax[2]-400; //skim through the entirety of the terrain limits and drop nodes, removing //nodes that start in solid or fall too high on the terrain. while (placeY < terrain->r.absmax[1]) { if (nodenum >= MAX_NODETABLE_SIZE) { break; } while (placeX < terrain->r.absmax[0]) { if (nodenum >= MAX_NODETABLE_SIZE) { break; } nodetable[nodenum].origin[0] = placeX; nodetable[nodenum].origin[1] = placeY; nodetable[nodenum].origin[2] = placeZ; VectorCopy(nodetable[nodenum].origin, downVec); downVec[2] -= 3000; trap_Trace(&tr, nodetable[nodenum].origin, trMins, trMaxs, downVec, ENTITYNUM_NONE, MASK_SOLID); if ((tr.entityNum >= ENTITYNUM_WORLD || g_entities[tr.entityNum].s.eType == ET_TERRAIN) && tr.endpos[2] < terrain->r.absmin[2]+750) { //only drop nodes on terrain directly VectorCopy(tr.endpos, nodetable[nodenum].origin); nodenum++; } else { VectorClear(nodetable[nodenum].origin); } placeX += gridSpacing; } placeX = terrain->r.absmin[0]; placeY += gridSpacing; } #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("NODE GRID PLACED ON TERRAIN\n"); #endif G_NodeClearForNext(); //The grid has been placed down, now use it to connect the points in the level. while (i < gSpawnPointNum-1) { if (!gSpawnPoints[i] || !gSpawnPoints[i]->inuse || !gSpawnPoints[i+1] || !gSpawnPoints[i+1]->inuse) { i++; continue; } nearestIndex = G_NearestNodeToPoint(gSpawnPoints[i]->s.origin); nearestIndexForNext = G_NearestNodeToPoint(gSpawnPoints[i+1]->s.origin); #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("%i GOT %i INDEX WITH %i INDEX FOR NEXT\n", nearestIndex, nearestIndexForNext); #endif if (nearestIndex == -1 || nearestIndexForNext == -1) { //Looks like there is no grid data near one of the points. Ideally, this will never happen. i++; continue; } if (nearestIndex == nearestIndexForNext) { //Two spawn points on top of each other? We don't need to do both points, keep going until the next differs. i++; continue; } //So, nearestIndex is now the node for the spawn point we're on, and nearestIndexForNext is the //node we want to get to from here. //For now I am going to branch out mindlessly, but I will probably want to use some sort of A* algorithm //here to lessen the time taken. if (G_RecursiveConnection(nearestIndex, nearestIndexForNext, 0, qtrue, terrain->r.absmin[2]) != nearestIndexForNext) { //failed to branch to where we want. Oh well, try it without trace checks. G_NodeClearForNext(); #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("FAILED RECURSIVE WITH TRACES\n"); #endif if (G_RecursiveConnection(nearestIndex, nearestIndexForNext, 0, qfalse, terrain->r.absmin[2]) != nearestIndexForNext) { //still failed somehow. Just disregard this point. #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("FAILED RECURSIVE -WITHOUT- TRACES (?!?!)\n"); #endif G_NodeClearForNext(); i++; continue; } } //Now our node array is set up so that highest reasonable weight is the destination node, and 2 is next to the original index, //so trace back to that point. G_NodeClearFlags(); #ifdef ASCII_ART_DEBUG #ifdef ASCII_ART_NODE_DEBUG CreateAsciiNodeTableRepresentation(nearestIndex, nearestIndexForNext); #endif #endif if (G_BackwardAttachment(nearestIndexForNext, nearestIndex, gWPNum-1)) { //successfully connected the trail from nearestIndex to nearestIndexForNext if (gSpawnPoints[i+1]->inuse && gSpawnPoints[i+1]->item && gSpawnPoints[i+1]->item->giType == IT_TEAM) { //This point is actually a CTF flag. if (gSpawnPoints[i+1]->item->giTag == PW_REDFLAG || gSpawnPoints[i+1]->item->giTag == PW_BLUEFLAG) { //Place a waypoint on the flag next in the trail, so the nearest grid point will link to it. CreateNewWP_InsertUnder(gSpawnPoints[i+1]->s.origin, WPFLAG_NEVERONEWAY, gWPNum-1); } } #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("BACKWARD ATTACHMENT %i SUCCESS\n", i); #endif } else { #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("BACKWARD ATTACHMENT FAILED\n"); #endif break; } #ifdef DEBUG_NODE_FILE G_DebugNodeFile(); #endif G_NodeClearForNext(); i++; } #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("FINISHED RMG AUTOPATH\n"); #endif #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("BEGINNING PATH REPAIR...\n"); #endif RepairPaths(qtrue); //this has different behaviour for RMG and will just flag all points one way that don't trace to each other. #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("FINISHED PATH REPAIR.\n"); #endif #ifdef PATH_TIME_DEBUG endTime = trap_Milliseconds(); G_Printf("Total routing time taken: %ims\n", (endTime - startTime)); #endif #ifdef ASCII_ART_DEBUG CreateAsciiTableRepresentation(); #endif } void BeginAutoPathRoutine(void) { //Called for RMG levels. int i = 0; gentity_t *ent = NULL; vec3_t v; gSpawnPointNum = 0; CreateNewWP(vec3_origin, 0); //create a dummy waypoint to insert under while (i < level.num_entities) { ent = &g_entities[i]; if (ent && ent->inuse && ent->classname && ent->classname[0] && !Q_stricmp(ent->classname, "info_player_deathmatch")) { if (ent->s.origin[2] < 1280) { //h4x gSpawnPoints[gSpawnPointNum] = ent; gSpawnPointNum++; } } else if (ent && ent->inuse && ent->item && ent->item->giType == IT_TEAM && (ent->item->giTag == PW_REDFLAG || ent->item->giTag == PW_BLUEFLAG)) { //also make it path to flags in CTF. gSpawnPoints[gSpawnPointNum] = ent; gSpawnPointNum++; } i++; } if (gSpawnPointNum < 1) { return; } G_RMGPathing(); #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("LINKING PATHS...\n"); #endif //rww - Using a faster in-engine version because we're having to wait for this stuff to get done as opposed to just saving it once. trap_Bot_UpdateWaypoints(gWPNum, gWPArray); trap_Bot_CalculatePaths(g_RMG.integer); //CalculatePaths(); //make everything nice and connected #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("FINISHED LINKING PATHS.\n"); #endif #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("FLAGGING OBJECTS...\n"); #endif FlagObjects(); //currently only used for flagging waypoints nearest CTF flags #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("FINISHED FLAGGING OBJECTS.\n"); #endif #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("CALCULATING WAYPOINT DISTANCES...\n"); #endif i = 0; while (i < gWPNum-1) { //disttonext is normally set on save, and when a file is loaded. For RMG we must do it after calc'ing. VectorSubtract(gWPArray[i]->origin, gWPArray[i+1]->origin, v); gWPArray[i]->disttonext = VectorLength(v); i++; } #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("FINISHED CALCULATING.\n"); #endif #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("FINAL STEP...\n"); #endif RemoveWP(); //remove the dummy point at the end of the trail #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("COMPLETE.\n"); #endif #ifdef PAINFULLY_DEBUGGING_THROUGH_VM if (gWPNum >= 4096-1) { Com_Printf("%i waypoints say that YOU ARE A TERRIBLE MAN.\n", gWPNum); } #endif } extern vmCvar_t bot_normgpath; void LoadPath_ThisLevel(void) { //[RawMapName] //vmCvar_t mapname; //[/RawMapName] int i = 0; gentity_t *ent = NULL; //[RawMapName] //trap_Cvar_Register( &mapname, "mapname", "", CVAR_SERVERINFO | CVAR_ROM ); //[/RawMapName] if (g_RMG.integer) { //If RMG, generate the path on-the-fly trap_Cvar_Register(&bot_normgpath, "bot_normgpath", "1", CVAR_CHEAT); //note: This is disabled for now as I'm using standard bot nav //on premade terrain levels. if (!bot_normgpath.integer) { //autopath the random map BeginAutoPathRoutine(); } else { //try loading standard nav data //[RawMapName] LoadPathData(level.rawmapname); //LoadPathData(mapname.string); //[/RawMapName] } gLevelFlags |= LEVELFLAG_NOPOINTPREDICTION; } else { //[RawMapName] if (LoadPathData(level.rawmapname) == 2) //if (LoadPathData(mapname.string) == 2) //[/RawMapName] { //enter "edit" mode if cheats enabled? } } trap_Cvar_Update(&bot_wp_edit); //[BotTweaks] if (bot_wp_edit.integer) { gBotEdit = 1; } else { gBotEdit = 0; } /*if (bot_wp_edit.value) { gBotEdit = 1; } else { gBotEdit = 0; }*/ //[/BotTweaks] //set the flag entities while (i < level.num_entities) { ent = &g_entities[i]; if (ent && ent->inuse && ent->classname) { if (!eFlagRed && strcmp(ent->classname, "team_CTF_redflag") == 0) { eFlagRed = ent; } else if (!eFlagBlue && strcmp(ent->classname, "team_CTF_blueflag") == 0) { eFlagBlue = ent; } if (eFlagRed && eFlagBlue) { break; } } i++; } #ifdef PAINFULLY_DEBUGGING_THROUGH_VM Com_Printf("BOT PATHING IS COMPLETE.\n"); #endif } gentity_t *GetClosestSpawn(gentity_t *ent) { gentity_t *spawn; gentity_t *closestSpawn = NULL; float closestDist = -1; int i = MAX_CLIENTS; spawn = NULL; while (i < level.num_entities) { spawn = &g_entities[i]; if (spawn && spawn->inuse && (!Q_stricmp(spawn->classname, "info_player_start") || !Q_stricmp(spawn->classname, "info_player_deathmatch")) ) { float checkDist; vec3_t vSub; VectorSubtract(ent->client->ps.origin, spawn->r.currentOrigin, vSub); checkDist = VectorLength(vSub); if (closestDist == -1 || checkDist < closestDist) { closestSpawn = spawn; closestDist = checkDist; } } i++; } return closestSpawn; } gentity_t *GetNextSpawnInIndex(gentity_t *currentSpawn) { gentity_t *spawn; gentity_t *nextSpawn = NULL; int i = currentSpawn->s.number+1; spawn = NULL; while (i < level.num_entities) { spawn = &g_entities[i]; if (spawn && spawn->inuse && (!Q_stricmp(spawn->classname, "info_player_start") || !Q_stricmp(spawn->classname, "info_player_deathmatch")) ) { nextSpawn = spawn; break; } i++; } if (!nextSpawn) { //loop back around to 0 i = MAX_CLIENTS; while (i < level.num_entities) { spawn = &g_entities[i]; if (spawn && spawn->inuse && (!Q_stricmp(spawn->classname, "info_player_start") || !Q_stricmp(spawn->classname, "info_player_deathmatch")) ) { nextSpawn = spawn; break; } i++; } } return nextSpawn; } //[BotTweaks] void UpdateEditorMode(void) { if (bot_wp_edit.integer) { gBotEdit = 1; } else { gBotEdit = 0; } } //[/BotTweaks] int AcceptBotCommand(char *cmd, gentity_t *pl) { int OptionalArgument, i; int FlagsFromArgument; char *OptionalSArgument, *RequiredSArgument; if (!gBotEdit) { return 0; } OptionalArgument = 0; i = 0; FlagsFromArgument = 0; OptionalSArgument = NULL; RequiredSArgument = NULL; //if a waypoint editing related command is issued, bots will deactivate. //once bot_wp_save is issued and the trail is recalculated, bots will activate again. //[BotTweaks] //only the current active bot_wp_editornumber.integer player can use the edit commands. //this is to prevent cheating, which I can see happening if I'm editing the waypoints //during matches online. trap_Cvar_Update(&bot_wp_editornumber); if (!pl || !pl->client || pl->s.number != bot_wp_editornumber.integer) //if (!pl || !pl->client) //[/BotTweaks] { return 0; } if (Q_stricmp (cmd, "bot_wp_cmdlist") == 0) //lists all the bot waypoint commands. { //[BotTweaks] //transmit the message to the current waypoint editor client. trap_SendServerCommand( bot_wp_editornumber.integer, va("print \"%sbot_wp_add%s - Add a waypoint (optional int parameter will insert the point after the specified waypoint index in a trail)\n\n", S_COLOR_YELLOW, S_COLOR_WHITE)); trap_SendServerCommand( bot_wp_editornumber.integer, va("print \"%sbot_wp_rem%s - Remove a waypoint (removes last unless waypoint index is specified as a parameter)\n\n", S_COLOR_YELLOW, S_COLOR_WHITE)); trap_SendServerCommand( bot_wp_editornumber.integer, va("print \"%sbot_wp_addflagged%s - Same as wp_add, but adds a flagged point (type bot_wp_addflagged for help)\n\n", S_COLOR_YELLOW, S_COLOR_WHITE)); trap_SendServerCommand( bot_wp_editornumber.integer, va("print \"%sbot_wp_switchflags%s - Switches flags on an existing waypoint (type bot_wp_switchflags for help)\n\n", S_COLOR_YELLOW, S_COLOR_WHITE)); trap_SendServerCommand( bot_wp_editornumber.integer, va("print \"%sbot_wp_tele%s - Teleport yourself to the specified waypoint's location\n\n", S_COLOR_YELLOW, S_COLOR_WHITE)); trap_SendServerCommand( bot_wp_editornumber.integer, va("print \"%sbot_wp_killoneways%s - Removes oneway (backward and forward) flags on all waypoints in the level\n\n", S_COLOR_YELLOW, S_COLOR_WHITE)); trap_SendServerCommand( bot_wp_editornumber.integer, va("print \"%sbot_wp_save%s - Saves all waypoint data into a file for later use\n", S_COLOR_YELLOW, S_COLOR_WHITE)); //G_Printf(S_COLOR_YELLOW "bot_wp_add" S_COLOR_WHITE " - Add a waypoint (optional int parameter will insert the point after the specified waypoint index in a trail)\n\n"); //G_Printf(S_COLOR_YELLOW "bot_wp_rem" S_COLOR_WHITE " - Remove a waypoint (removes last unless waypoint index is specified as a parameter)\n\n"); //G_Printf(S_COLOR_YELLOW "bot_wp_addflagged" S_COLOR_WHITE " - Same as wp_add, but adds a flagged point (type bot_wp_addflagged for help)\n\n"); //G_Printf(S_COLOR_YELLOW "bot_wp_switchflags" S_COLOR_WHITE " - Switches flags on an existing waypoint (type bot_wp_switchflags for help)\n\n"); //G_Printf(S_COLOR_YELLOW "bot_wp_tele" S_COLOR_WHITE " - Teleport yourself to the specified waypoint's location\n"); //G_Printf(S_COLOR_YELLOW "bot_wp_killoneways" S_COLOR_WHITE " - Removes oneway (backward and forward) flags on all waypoints in the level\n\n"); //G_Printf(S_COLOR_YELLOW "bot_wp_save" S_COLOR_WHITE " - Saves all waypoint data into a file for later use\n"); //[/BotTweaks] return 1; } if (Q_stricmp (cmd, "bot_wp_add") == 0) { gDeactivated = 1; OptionalSArgument = ConcatArgs( 1 ); if (OptionalSArgument) { OptionalArgument = atoi(OptionalSArgument); } if (OptionalSArgument && OptionalSArgument[0]) { CreateNewWP_InTrail(pl->client->ps.origin, 0, OptionalArgument); } else { CreateNewWP(pl->client->ps.origin, 0); } return 1; } if (Q_stricmp (cmd, "bot_wp_rem") == 0) { gDeactivated = 1; OptionalSArgument = ConcatArgs( 1 ); if (OptionalSArgument) { OptionalArgument = atoi(OptionalSArgument); } if (OptionalSArgument && OptionalSArgument[0]) { RemoveWP_InTrail(OptionalArgument); } else { RemoveWP(); } return 1; } if (Q_stricmp (cmd, "bot_wp_tele") == 0) { gDeactivated = 1; OptionalSArgument = ConcatArgs( 1 ); if (OptionalSArgument) { OptionalArgument = atoi(OptionalSArgument); } if (OptionalSArgument && OptionalSArgument[0]) { TeleportToWP(pl, OptionalArgument); } else { //[BotTweaks] //send bot editor mesages to the approprate client. trap_SendServerCommand( bot_wp_editornumber.integer, va("print \"%sYou didn't specify an index. Assuming last.\n", S_COLOR_YELLOW)); //G_Printf(S_COLOR_YELLOW "You didn't specify an index. Assuming last.\n"); //[/BotTweaks] TeleportToWP(pl, gWPNum-1); } return 1; } if (Q_stricmp (cmd, "bot_wp_spawntele") == 0) { gentity_t *closestSpawn = GetClosestSpawn(pl); if (!closestSpawn) { //There should always be a spawn point.. return 1; } closestSpawn = GetNextSpawnInIndex(closestSpawn); if (closestSpawn) { VectorCopy(closestSpawn->r.currentOrigin, pl->client->ps.origin); } return 1; } if (Q_stricmp (cmd, "bot_wp_addflagged") == 0) { gDeactivated = 1; RequiredSArgument = ConcatArgs( 1 ); if (!RequiredSArgument || !RequiredSArgument[0]) { //[BotTweaks] //send bot editor mesages to the approprate client. trap_SendServerCommand( bot_wp_editornumber.integer, va("print \"%sFlag string needed for bot_wp_addflagged\nj - Jump point\nd - Duck point\nc - Snipe or camp standing\nf - Wait for func\nm - Do not move to when func is under\ns - Snipe or camp\nx - Oneway, forward\ny - Oneway, back\ng - Mission goal\nn - No visibility\nExample (for a point the bot would jump at, and reverse on when traveling a trail backwards):\nq - Destory Func Point\nr - Red Team Only Point\nb - Blue Team Only Point\np - Force Push Point\no - Force Pull Point\nbot_wp_addflagged jx\n", S_COLOR_YELLOW)); //G_Printf(S_COLOR_YELLOW "Flag string needed for bot_wp_addflagged\nj - Jump point\nd - Duck point\nc - Snipe or camp standing\nf - Wait for func\nm - Do not move to when func is under\ns - Snipe or camp\nx - Oneway, forward\ny - Oneway, back\ng - Mission goal\nn - No visibility\nExample (for a point the bot would jump at, and reverse on when traveling a trail backwards):\nbot_wp_addflagged jx\n"); //[/BotTweaks] return 1; } while (RequiredSArgument[i]) { if (RequiredSArgument[i] == 'j') { FlagsFromArgument |= WPFLAG_JUMP; } else if (RequiredSArgument[i] == 'd') { FlagsFromArgument |= WPFLAG_DUCK; } else if (RequiredSArgument[i] == 'c') { FlagsFromArgument |= WPFLAG_SNIPEORCAMPSTAND; } else if (RequiredSArgument[i] == 'f') { FlagsFromArgument |= WPFLAG_WAITFORFUNC; } else if (RequiredSArgument[i] == 's') { FlagsFromArgument |= WPFLAG_SNIPEORCAMP; } else if (RequiredSArgument[i] == 'x') { FlagsFromArgument |= WPFLAG_ONEWAY_FWD; } else if (RequiredSArgument[i] == 'y') { FlagsFromArgument |= WPFLAG_ONEWAY_BACK; } else if (RequiredSArgument[i] == 'g') { FlagsFromArgument |= WPFLAG_GOALPOINT; } else if (RequiredSArgument[i] == 'n') { FlagsFromArgument |= WPFLAG_NOVIS; } else if (RequiredSArgument[i] == 'm') { FlagsFromArgument |= WPFLAG_NOMOVEFUNC; } //[TABBot] else if (RequiredSArgument[i] == 'q') { FlagsFromArgument |= WPFLAG_DESTROY_FUNCBREAK; } else if (RequiredSArgument[i] == 'r') { FlagsFromArgument |= WPFLAG_REDONLY; } else if (RequiredSArgument[i] == 'b') { FlagsFromArgument |= WPFLAG_BLUEONLY; } else if (RequiredSArgument[i] == 'p') { FlagsFromArgument |= WPFLAG_FORCEPUSH; } else if (RequiredSArgument[i] == 'o') { FlagsFromArgument |= WPFLAG_FORCEPULL; } //[/TABBot] i++; } OptionalSArgument = ConcatArgs( 2 ); if (OptionalSArgument) { OptionalArgument = atoi(OptionalSArgument); } if (OptionalSArgument && OptionalSArgument[0]) { CreateNewWP_InTrail(pl->client->ps.origin, FlagsFromArgument, OptionalArgument); } else { CreateNewWP(pl->client->ps.origin, FlagsFromArgument); } return 1; } if (Q_stricmp (cmd, "bot_wp_switchflags") == 0) { gDeactivated = 1; RequiredSArgument = ConcatArgs( 1 ); if (!RequiredSArgument || !RequiredSArgument[0]) { //[BotTweaks] //send bot editor mesages to the approprate client. trap_SendServerCommand( bot_wp_editornumber.integer, va("print \"%sFlag string needed for bot_wp_switchflags\nType bot_wp_addflagged for a list of flags and their corresponding characters, or use 0 for no flags.\nSyntax: bot_wp_switchflags <flags> <n>\n", S_COLOR_YELLOW)); //G_Printf(S_COLOR_YELLOW "Flag string needed for bot_wp_switchflags\nType bot_wp_addflagged for a list of flags and their corresponding characters, or use 0 for no flags.\nSyntax: bot_wp_switchflags <flags> <n>\n"); //[/BotTweaks] return 1; } while (RequiredSArgument[i]) { if (RequiredSArgument[i] == 'j') { FlagsFromArgument |= WPFLAG_JUMP; } else if (RequiredSArgument[i] == 'd') { FlagsFromArgument |= WPFLAG_DUCK; } else if (RequiredSArgument[i] == 'c') { FlagsFromArgument |= WPFLAG_SNIPEORCAMPSTAND; } else if (RequiredSArgument[i] == 'f') { FlagsFromArgument |= WPFLAG_WAITFORFUNC; } else if (RequiredSArgument[i] == 's') { FlagsFromArgument |= WPFLAG_SNIPEORCAMP; } else if (RequiredSArgument[i] == 'x') { FlagsFromArgument |= WPFLAG_ONEWAY_FWD; } else if (RequiredSArgument[i] == 'y') { FlagsFromArgument |= WPFLAG_ONEWAY_BACK; } else if (RequiredSArgument[i] == 'g') { FlagsFromArgument |= WPFLAG_GOALPOINT; } else if (RequiredSArgument[i] == 'n') { FlagsFromArgument |= WPFLAG_NOVIS; } else if (RequiredSArgument[i] == 'm') { FlagsFromArgument |= WPFLAG_NOMOVEFUNC; } //[TABBot] else if (RequiredSArgument[i] == 'q') { FlagsFromArgument |= WPFLAG_DESTROY_FUNCBREAK; } else if (RequiredSArgument[i] == 'r') { FlagsFromArgument |= WPFLAG_REDONLY; } else if (RequiredSArgument[i] == 'b') { FlagsFromArgument |= WPFLAG_BLUEONLY; } else if (RequiredSArgument[i] == 'p') { FlagsFromArgument |= WPFLAG_FORCEPUSH; } else if (RequiredSArgument[i] == 'o') { FlagsFromArgument |= WPFLAG_FORCEPULL; } //[/TABBot] i++; } OptionalSArgument = ConcatArgs( 2 ); if (OptionalSArgument) { OptionalArgument = atoi(OptionalSArgument); } if (OptionalSArgument && OptionalSArgument[0]) { WPFlagsModify(OptionalArgument, FlagsFromArgument); } else { //[BotTweaks] //send bot editor mesages to the approprate client. trap_SendServerCommand( bot_wp_editornumber.integer, va("print \"%sWaypoint number (to modify) needed for bot_wp_switchflags\nSyntax: bot_wp_switchflags <flags> <n>\n", S_COLOR_YELLOW)); //G_Printf(S_COLOR_YELLOW "Waypoint number (to modify) needed for bot_wp_switchflags\nSyntax: bot_wp_switchflags <flags> <n>\n"); //[/BotTweaks] } return 1; } if (Q_stricmp (cmd, "bot_wp_killoneways") == 0) { i = 0; while (i < gWPNum) { if (gWPArray[i] && gWPArray[i]->inuse) { if (gWPArray[i]->flags & WPFLAG_ONEWAY_FWD) { gWPArray[i]->flags -= WPFLAG_ONEWAY_FWD; } if (gWPArray[i]->flags & WPFLAG_ONEWAY_BACK) { gWPArray[i]->flags -= WPFLAG_ONEWAY_BACK; } } i++; } return 1; } if (Q_stricmp (cmd, "bot_wp_save") == 0) { gDeactivated = 0; //[RawMapName] //trap_Cvar_Register( &mapname, "mapname", "", CVAR_SERVERINFO | CVAR_ROM ); //SavePathData(mapname.string); SavePathData(level.rawmapname); return 1; } return 0; }
[ "[email protected]@5776d9f2-9662-11de-ad41-3fcdc5e0e42d" ]
[ [ [ 1, 4031 ] ] ]
1637a2c0d9c0762b5f0b08f171d8cfb6e2547578
dd5c8920aa0ea96607f2498701c81bb1af2b3c96
/multicrewcore/position.cpp
715ac8cc403f61d60f541cfa4e57619e3d5a2003
[]
no_license
BackupTheBerlios/multicrew-svn
913279401e9cf886476a3c912ecd3d2b8d28344c
5087f07a100f82c37d2b85134ccc9125342c58d1
refs/heads/master
2021-01-23T13:36:03.990862
2005-06-10T16:52:32
2005-06-10T16:52:32
40,747,367
0
0
null
null
null
null
UTF-8
C++
false
false
9,141
cpp
/* Multicrew Copyright (C) 2004,2005 Stefan Schimanski This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "common.h" #include <math.h> #include <windows.h> #include "../multicrewgauge/gauges.h" #include "streams.h" #include "position.h" #include "log.h" #include "fsuipc.h" #include "callback.h" #include "packets.h" #define WAITTIME 150 /******************* packets **************************/ #pragma pack(push,1) struct PositionStruct { double timestamp; // time since last packet __int64 pos[3]; signed __int32 dir[3]; }; #pragma pack(pop) typedef StructPacket<PositionStruct> PositionPacket; /********************************************************/ struct PositionModule::Data { Data( PositionModule *mod ) : frameSlot( 0, mod, PositionModule::frameCallback ) { } SmartPtr<Fsuipc> fsuipc; SmartPtr<MulticrewCore> core; CRITICAL_SECTION cs; Slot<PositionModule> frameSlot; /* client mode */ double timediff; // mean value of time difference to host double meanLatency; // mean value of latency derivation double lastReferenceTime; bool extrapolate; PositionStruct reference; PositionStruct extrapolated; __int64 posVel[3]; double dirVel[3]; }; PositionModule::PositionModule() : MulticrewModule( "FSUIPCPos" ), NetworkChannel( "FSUIPCPos" ) { d = new Data( this ); InitializeCriticalSection( &d->cs ); d->core = MulticrewCore::multicrewCore(); d->extrapolate = false; d->frameSlot.connect( &d->core->frameSignal ); } PositionModule::~PositionModule() { DeleteCriticalSection( &d->cs ); delete d; } void PositionModule::start() { if( d->fsuipc.isNull() ) d->fsuipc = Fsuipc::fsuipc(); } void PositionModule::stop() { } SmartPtr<PacketBase> PositionModule::createPacket( SharedBuffer &buffer ) { return new PositionPacket( buffer ); } void PositionModule::sendFullState() { } double x_to_lat( __int64 x ) { return x*90.0/(10001750.0 * 65536.0 * 65536.0); } double y_to_lon( __int64 y ) { return y*360.0/(65536.0 * 65536.0 * 65536.0 * 65536.0); } double z_to_ft( __int64 z ) { return z*1.0/(65536.0 * 65536.0)/0.304800; } double z_to_m( __int64 z ) { return z*1.0/(65536.0 * 65536.0); } double dlat_to_m( double dlat ) { return dlat*40076592/360.0; } double dir_to_deg( __int64 dir ) { return dir/65536.0/65536.0*360.0; } __int64 deg_to_dir( double deg ) { while( deg>180.0 ) deg -= 360.0; while( deg<=-180.0 ) deg += 360.0; return (__int64)(deg/360.0*65536.0*65536.0); } double dlon_to_m( double dlon, double lat ) { return dlon/360.0*40076592.0*cos( lat ); } double sqr( double x ) { return x*x; } std::string to_string( __int64 (&s)[3] ) { return to_string( x_to_lat(s[0]) ) + ":" + to_string( y_to_lon(s[1]) ) + ":" + to_string( z_to_ft(s[2]) ); } std::string to_string( double (&s)[3] ) { return to_string( s[0] ) + ":" + to_string( s[1] ) + ":" + to_string( s[2] ); } std::string to_string( signed __int32 (&s)[3] ) { return to_string( dir_to_deg(s[0]) ) + ":" + to_string( dir_to_deg(s[1]) ) + ":" + to_string( dir_to_deg(s[2]) ); } void PositionModule::frameCallback() { switch( d->core->mode() ) { case MulticrewCore::IdleMode: d->extrapolate = false; break; case MulticrewCore::HostMode: if( !d->fsuipc.isNull() ) { d->extrapolate = false; double timeSinceLastPacket = MulticrewCore::multicrewCore()->time()-d->lastReferenceTime; if( timeSinceLastPacket>WAITTIME/1000.0 ) { // read variables from the FS PositionStruct pos; d->fsuipc->begin(); bool ok1 = d->fsuipc->read( 0x560, 9*sizeof(DWORD), pos.pos ); bool ok2 = d->fsuipc->end(); if( !ok1 || !ok2 ) dout << "FSUIPC position read error" << std::endl; else { // and send packet pos.timestamp = MulticrewCore::multicrewCore()->time(); send( new PositionPacket(pos), false, highPriority ); d->lastReferenceTime = MulticrewCore::multicrewCore()->time(); } } } break; case MulticrewCore::ClientMode: if( !d->fsuipc.isNull() ) { if( d->extrapolate ) { // extrapolate EnterCriticalSection( &d->cs ); double now = MulticrewCore::multicrewCore()->time(); double ago = now-d->lastReferenceTime; for( int x=0; x<3; x++ ) { d->extrapolated.pos[x] = d->reference.pos[x] + (__int64)(ago*d->posVel[x]); d->extrapolated.dir[x] = deg_to_dir(dir_to_deg(d->reference.dir[x]) + ago*d->dirVel[x]); } //dout << to_string(d->reference.pos) //<< " --> " << to_string(d->extrapolated.pos) << std::endl; PositionStruct value = d->extrapolated; LeaveCriticalSection( &d->cs ); // write extrapolated position to FS9 d->fsuipc->begin(); bool ok1 = d->fsuipc->write( 0x560, 9*sizeof(DWORD), value.pos ); bool ok2 = d->fsuipc->end(); if( !ok1 || !ok2 ) { dout << "FSUIPC position write error" << std::endl; } } } break; } } void PositionModule::receive( SmartPtr<PacketBase> packet ) { switch( d->core->mode() ) { case MulticrewCore::IdleMode: break; case MulticrewCore::HostMode: break; case MulticrewCore::ClientMode: { SmartPtr<PositionPacket> pp = (PositionPacket*)&*packet; PositionStruct &newPos = pp->data(); // calculate time difference to host and latency double now = MulticrewCore::multicrewCore()->time(); double latency; if( !d->extrapolate ) { latency = 0; d->timediff = MulticrewCore::multicrewCore()->time() - newPos.timestamp; d->meanLatency = 0; } else { double correctedNow = MulticrewCore::multicrewCore()->time() - d->timediff; latency = correctedNow-newPos.timestamp; d->timediff += latency/10.0; d->meanLatency = (d->meanLatency*9.0 + ((latency<0)?-latency:latency))/10.0; } dout << "timediff=" << d->timediff << " meanLat=" << d->meanLatency << " latency=" << latency << std::endl; // make new position active EnterCriticalSection( &d->cs ); if( !d->extrapolate ) { d->extrapolate = true; for( int x=0; x<3; x++ ) { d->posVel[x] = 0; d->dirVel[x] = 0; } d->reference = newPos; d->extrapolated = newPos; dout << "First position packet " << to_string(newPos.pos) << std::endl; } else { //if( abs(latency-d->meanLatency)<5*abs(d->meanLatency) ) { // calculate moved distance double dlat = x_to_lat(newPos.pos[0]-d->reference.pos[0]); double dlon = y_to_lon(newPos.pos[1]-d->reference.pos[1]); double dalt = z_to_m(newPos.pos[2]-d->reference.pos[2]); double dist = sqrt( sqr( dlat_to_m(dlat) ) + sqr( dlon_to_m(dlon,x_to_lat(newPos.pos[0])) ) + sqr( dalt ) ); double vel = dist/(newPos.timestamp-d->reference.timestamp); // reasonable speed? if( vel*3.6>10000 ) { // jumped plane, reset position for( int x=0; x<3; x++ ) { d->posVel[x] = 0; d->dirVel[x] = 0; } d->reference = newPos; d->extrapolated = newPos; dout << "Jump (" << dist/1000.0 << "km)" << " to " << to_string(newPos.pos) << std::endl; } else { // calculate speeds: // airplane speed // + difference between extrapolation and newPos position double dt = (newPos.timestamp-d->reference.timestamp); for( int x=0; x<3; x++ ) { // position speed d->posVel[x] = (newPos.pos[x]-d->reference.pos[x])/dt + (newPos.pos[x]-d->extrapolated.pos[x] +(newPos.pos[x]-d->reference.pos[x])/dt*latency); // direction speed double ddir = dir_to_deg(newPos.dir[x]) - dir_to_deg(d->reference.dir[x]); if( ddir>180.0 ) ddir -= 360.0; if( ddir<=-180.0 ) ddir += 360.0; d->dirVel[x] = ddir/dt + (dir_to_deg(newPos.dir[x])+ddir/dt*latency - dir_to_deg(d->extrapolated.dir[x])); } dout << "Move (" << dist << "m) from " << to_string(d->extrapolated.pos) << " (with " << to_string(d->posVel) << " ) to " << to_string(newPos.pos) << std::endl; /*dout << "Turn from " << to_string(d->extrapolated.dir) << " (with " << to_string(d->dirVel) << " ) to " << to_string(newPos.dir) << std::endl;*/ d->reference = newPos; d->lastReferenceTime = now; } } LeaveCriticalSection( &d->cs ); } break; } }
[ "schimmi@cb9ff89a-abed-0310-8fc6-a4cabe7d48c9" ]
[ [ [ 1, 331 ] ] ]
dc78cb17e9754e928a7aaa32144c02eff187c42f
f55665c5faa3d79d0d6fe91fcfeb8daa5adf84d0
/Depend/MyGUI/MyGUIEngine/include/MyGUI_ResourceManualPointer.h
205bbff1d32157761086ec74c762b3d68f4602ee
[]
no_license
lxinhcn/starworld
79ed06ca49d4064307ae73156574932d6185dbab
86eb0fb8bd268994454b0cfe6419ffef3fc0fc80
refs/heads/master
2021-01-10T07:43:51.858394
2010-09-15T02:38:48
2010-09-15T02:38:48
47,859,019
2
1
null
null
null
null
UTF-8
C++
false
false
1,488
h
/*! @file @author Albert Semenov @date 06/2009 */ /* This file is part of MyGUI. MyGUI is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. MyGUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with MyGUI. If not, see <http://www.gnu.org/licenses/>. */ #ifndef __MYGUI_RESOURCE_MANUAL_POINTER_H__ #define __MYGUI_RESOURCE_MANUAL_POINTER_H__ #include "MyGUI_Prerequest.h" #include "MyGUI_IPointer.h" namespace MyGUI { class MYGUI_EXPORT ResourceManualPointer : public IPointer { MYGUI_RTTI_DERIVED( ResourceManualPointer ) public: ResourceManualPointer() { } virtual ~ResourceManualPointer() { } virtual void deserialization(xml::ElementPtr _node, Version _version); virtual void setImage(StaticImage* _image); virtual void setPosition(StaticImage* _image, const IntPoint& _point); private: IntPoint mPoint; IntSize mSize; IntCoord mTextureCoord; std::string mTexture; }; } // namespace MyGUI #endif // __MYGUI_RESOURCE_MANUAL_POINTER_H__
[ "albertclass@a94d7126-06ea-11de-b17c-0f1ef23b492c" ]
[ [ [ 1, 54 ] ] ]
f2e5279be3a016817fc76cb857767a5191973717
611fc0940b78862ca89de79a8bbeab991f5f471a
/src/Stage/HaichiObjStatic.h
d2da2cf8ced419ebf2a54c241363edc63b32002b
[]
no_license
LakeIshikawa/splstage2
df1d8f59319a4e8d9375b9d3379c3548bc520f44
b4bf7caadf940773a977edd0de8edc610cd2f736
refs/heads/master
2021-01-10T21:16:45.430981
2010-01-29T08:57:34
2010-01-29T08:57:34
37,068,575
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
482
h
#pragma once #include "HaichiObj.h" #include "..\\Mob\\Movable.h" /* メモリーを最初から確保する種類の配置オブジェクト */ class HaichiObjStatic : public HaichiObj { public: HaichiObjStatic(int rXPx, int rYPx) : HaichiObj(rXPx, rYPx, -1){mObject=NULL;} ~HaichiObjStatic(void) {if(mObject) delete mObject;} Movable* GetObject() {return mObject;} void SetObject(Movable* rObject) {mObject = rObject;} private: Movable* mObject; };
[ "lakeishikawa@c9935178-01ba-11df-8f7b-bfe16de6f99b" ]
[ [ [ 1, 20 ] ] ]
659f7a8cc4f66982eee81e2de771204420daf7a5
3e69b159d352a57a48bc483cb8ca802b49679d65
/tags/release-2006-01-13/pcbnew/xchgmod.cpp
179ab043d81c0c57d3e86582c3acb8bf7c50c8b7
[]
no_license
BackupTheBerlios/kicad-svn
4b79bc0af39d6e5cb0f07556eb781a83e8a464b9
4c97bbde4b1b12ec5616a57c17298c77a9790398
refs/heads/master
2021-01-01T19:38:40.000652
2006-06-19T20:01:24
2006-06-19T20:01:24
40,799,911
0
0
null
null
null
null
ISO-8859-1
C++
false
false
18,922
cpp
/******************************/ /* PCBNEW: echange de modules */ /******************************/ /* Fichier xchmod.cpp */ #include "fctsys.h" #include "gr_basic.h" #include "common.h" #include "pcbnew.h" #include "autorout.h" #include "protos.h" /* variables locales */ /***********************************************/ /* Definition de l'application Change Module */ /***********************************************/ enum id_ExchangeModule { ID_EXEC_EXCHANGE_MODULE = 1900, ID_EXEC_EXCHANGE_ID_MODULES, ID_EXEC_EXCHANGE_ID_MODULE_AND_VALUE, ID_EXEC_EXCHANGE_ALL_MODULES, ID_CLOSE_EXCHANGE_MODULE, ID_BROWSE_LIB_MODULES }; /************************************/ /* class WinEDA_ExchangeModuleFrame */ /************************************/ class WinEDA_ExchangeModuleFrame: public wxDialog { private: WinEDA_BasePcbFrame * m_Parent; wxDC * m_DC; MODULE * m_CurrentModule; WinEDA_EnterText * m_OldModule; WinEDA_EnterText * m_OldValue; WinEDA_EnterText * m_NewModule; wxTextCtrl * m_WinMsg; public: // Constructor and destructor WinEDA_ExchangeModuleFrame(WinEDA_BasePcbFrame *parent, MODULE * Module, wxDC * DC, const wxPoint & pos); ~WinEDA_ExchangeModuleFrame(void) { } private: void OnQuit(wxCommandEvent& event); void Change_Module(wxCommandEvent& event); void Change_ModuleId(wxCommandEvent& event); void Change_ModuleAll(wxCommandEvent& event); int Maj_ListeCmp( const wxString & reference, const wxString & old_name, const wxString & new_name, bool ShowError); MODULE * Change_1_Module(MODULE * Module, const wxString& new_module, bool ShowError); void Sel_NewMod_By_Liste(wxCommandEvent& event); DECLARE_EVENT_TABLE() }; BEGIN_EVENT_TABLE(WinEDA_ExchangeModuleFrame, wxDialog) EVT_BUTTON(ID_EXEC_EXCHANGE_MODULE, WinEDA_ExchangeModuleFrame::Change_Module) EVT_BUTTON(ID_EXEC_EXCHANGE_ID_MODULES, WinEDA_ExchangeModuleFrame::Change_ModuleId) EVT_BUTTON(ID_EXEC_EXCHANGE_ID_MODULE_AND_VALUE, WinEDA_ExchangeModuleFrame::Change_ModuleId) EVT_BUTTON(ID_EXEC_EXCHANGE_ALL_MODULES, WinEDA_ExchangeModuleFrame::Change_ModuleAll) EVT_BUTTON(ID_CLOSE_EXCHANGE_MODULE, WinEDA_ExchangeModuleFrame::OnQuit) EVT_BUTTON(ID_BROWSE_LIB_MODULES, WinEDA_ExchangeModuleFrame::Sel_NewMod_By_Liste) END_EVENT_TABLE() WinEDA_ExchangeModuleFrame::WinEDA_ExchangeModuleFrame(WinEDA_BasePcbFrame *parent, MODULE * Module,wxDC * DC, const wxPoint & framepos): wxDialog(parent, -1, _("Exchange Modules"), framepos, wxSize(360, 460), DIALOG_STYLE) { wxPoint pos; wxButton * Button; int lasty; m_Parent = parent; SetFont(*g_DialogFont); m_DC = DC; Centre(); m_CurrentModule = Module; /* Creation des boutons de commande */ pos.x = 180; pos.y = 5; Button = new wxButton(this, ID_EXEC_EXCHANGE_MODULE, _("Change module"), pos); Button->SetForegroundColour(*wxBLUE); pos.y += Button->GetDefaultSize().y + 3; Button = new wxButton(this, ID_EXEC_EXCHANGE_ID_MODULES, _("Change same modules"), pos); Button->SetForegroundColour(*wxRED); pos.y += Button->GetDefaultSize().y + 3; Button = new wxButton(this, ID_EXEC_EXCHANGE_ID_MODULE_AND_VALUE, _("Ch. same module+value"), pos); Button->SetForegroundColour(*wxRED); pos.y += Button->GetDefaultSize().y + 3; Button = new wxButton(this, ID_EXEC_EXCHANGE_ALL_MODULES, _("Change all"), pos); Button->SetForegroundColour(*wxRED); pos.y += Button->GetDefaultSize().y + 14; Button = new wxButton(this, ID_BROWSE_LIB_MODULES, _("Browse Libs modules"), pos); Button->SetForegroundColour(wxColour(0,100,0) ); pos.y += Button->GetDefaultSize().y + 8; Button = new wxButton(this, ID_CLOSE_EXCHANGE_MODULE, _("Close"), pos); Button->SetForegroundColour(*wxBLUE); lasty = pos.y += Button->GetDefaultSize().y; pos.x = 5; pos.y = 20; m_OldModule = new WinEDA_EnterText(this, _("Current Module"), m_CurrentModule ? m_CurrentModule->m_LibRef.GetData() :wxEmptyString, pos, wxSize( 150,-1) ); m_OldModule->Enable(FALSE); pos.y += m_OldModule->GetDimension().y + 20; m_OldValue = new WinEDA_EnterText(this, _("Current Value"), m_CurrentModule ? m_CurrentModule->m_Value->m_Text.GetData() :wxEmptyString, pos, wxSize( 150,-1) ); m_OldValue->Enable(FALSE); pos.y += m_OldValue->GetDimension().y + 20; m_NewModule = new WinEDA_EnterText(this, _("New Module"), m_OldModule->GetData().GetData(), pos, wxSize( 150,-1) ); pos.y = lasty + 10; m_WinMsg = new wxTextCtrl(this, -1,wxEmptyString, pos, wxSize(340, 230), wxTE_READONLY|wxTE_MULTILINE); } /*********************************************************************/ void WinEDA_BasePcbFrame::InstallExchangeModuleFrame( MODULE * Module, wxDC * DC, const wxPoint & pos) /*********************************************************************/ { WinEDA_ExchangeModuleFrame * frame = new WinEDA_ExchangeModuleFrame(this, Module, DC, pos); frame->ShowModal(); frame->Destroy(); } /**********************************************************************/ void WinEDA_ExchangeModuleFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) /**********************************************************************/ { Close(true); // true is to force the frame to close } /************************************************************************/ int WinEDA_ExchangeModuleFrame::Maj_ListeCmp( const wxString & reference, const wxString & old_name, const wxString & new_name, bool ShowError) /************************************************************************/ /* Met a jour le fichier name.CMP (s'il existe) apres un echange de module (par la commande changeMod), si les modules sont geres par ce fichier Si ShowError != 0 affiche message d'erreur si le fichier .cmp n'est pas trouve. Retoure 1 si erreur */ { wxString FileNameCmp, tmpfile; FILE * FichCmp, *NewFile; char Line[1024]; wxString msg; if ( old_name == new_name ) return(0); /* pas de changement de nom */ /* Calcul nom fichier CMP par changement de l'extension du nom netliste */ if ( NetNameBuffer == wxEmptyString ) FileNameCmp = m_Parent->m_CurrentScreen->m_FileName; else FileNameCmp = NetNameBuffer; ChangeFileNameExt(FileNameCmp,NetCmpExtBuffer) ; // Modification du fichier .cmp correcpondant FichCmp = wxFopen(FileNameCmp, wxT("rt")); if( FichCmp == NULL ) { if ( ShowError ) { msg.Printf( _("file %s not found"), FileNameCmp.GetData()); m_WinMsg->WriteText(msg); } return(1); } /* Analyse du fichier et modif */ tmpfile = FileNameCmp; ChangeFileNameExt(tmpfile, wxT(".$$$")); NewFile = wxFopen(tmpfile, wxT("wt")); if( NewFile == NULL ) { if ( ShowError ) { msg.Printf( _("Unable to create file %s"), tmpfile.GetData()); m_WinMsg->WriteText(msg); } return(1); } fgets(Line, sizeof(Line), FichCmp); fprintf(NewFile,"Cmp-Mod V01 Genere par PcbNew le %s\n", DateAndTime(Line) ); bool start_descr = FALSE; while( fgets(Line, sizeof(Line), FichCmp) != NULL ) { if ( strnicmp( Line, "Reference = ", 9 ) == 0 ) { char buf[1024]; strcpy( buf, Line + 12); strtok(buf,";\n\r"); if ( stricmp( buf , CONV_TO_UTF8(reference) ) == 0 ) { start_descr = TRUE; } } if ( (strnicmp( Line, "Begin", 5 ) == 0) || (strnicmp( Line, "End", 3) == 0) ) { start_descr = FALSE; } if ( start_descr && strnicmp( Line, "IdModule", 8 ) == 0 ) { sprintf(Line + 8," = %s;\n", CONV_TO_UTF8(new_name) ); msg.Printf( wxT(" * in %s\n"), FileNameCmp.GetData()); m_WinMsg->WriteText(msg); start_descr = FALSE; } fputs(Line, NewFile); } fclose(FichCmp); fclose(NewFile); wxRemoveFile(FileNameCmp); wxRenameFile(tmpfile, FileNameCmp); return(0); } /********************************************************************/ void WinEDA_ExchangeModuleFrame::Change_Module(wxCommandEvent& event) /********************************************************************/ /* Routine de changement d'un module: Change le module pointe par la souris, par un autre en conservant - meme orientation - meme position - memes textes valeur et ref - memes netnames pour pads de meme nom */ { wxString newmodulename = m_NewModule->GetData(); if( newmodulename == wxEmptyString ) return; if( Change_1_Module(m_CurrentModule, newmodulename,TRUE ) ) { m_Parent->m_Pcb->m_Status_Pcb = 0; m_Parent->build_liste_pads(); } } /*********************************************************************/ void WinEDA_ExchangeModuleFrame::Change_ModuleId(wxCommandEvent& event) /**********************************************************************/ /* Routine de changement de tous les modules de meme nom lib que celui selectionne, en conservant - meme orientation - meme position - memes textes valeur et ref - memes netnames pour pads de meme nom et en remplacant l'ancien module par le noveau module Attention: m_CurrentModule ne pointe plus sur le module de reference puisque celui ci a ete change!! */ { wxString msg; MODULE * PtModule, *PtBack; bool change = FALSE; wxString newmodulename = m_NewModule->GetData(); wxString value, lib_reference; // pour memo Reflib et value de reference bool check_module_value = FALSE; int ShowErr = 5; // Affiche 5 messages d'err maxi if( m_Parent->m_Pcb->m_Modules == NULL ) return; if( newmodulename == wxEmptyString ) return; lib_reference = m_CurrentModule->m_LibRef; if ( event.GetId() == ID_EXEC_EXCHANGE_ID_MODULE_AND_VALUE ) { check_module_value = TRUE; value = m_CurrentModule->m_Value->m_Text; msg.Printf( _("Change modules <%s> -> <%s> (val = %s)?"), m_CurrentModule->m_LibRef.GetData(), newmodulename.GetData(), m_CurrentModule->m_Value->m_Text.GetData() ); } else { msg.Printf( _("Change modules <%s> -> <%s> ?"), lib_reference.GetData(), newmodulename.GetData() ); } if( !IsOK(this, msg) ) return; /* Le changement s'effectue a partir du dernier module car la routine Change_1_Module() modifie le dernier module de la liste */ PtModule = m_Parent->m_Pcb->m_Modules; for ( ; PtModule != NULL; PtModule = (MODULE*)PtModule->Pnext) { if(PtModule->Pnext == NULL) break; } /* Ici PtModule pointe le dernier module de la liste */ for ( ; PtModule != (MODULE*)m_Parent->m_Pcb; PtModule = PtBack) { MODULE * module; PtBack = (MODULE*)PtModule->Pback; if( lib_reference.CmpNoCase(PtModule->m_LibRef) != 0 ) continue; if ( check_module_value ) { if( value.CmpNoCase(PtModule->m_Value->m_Text) != 0 ) continue; } module = Change_1_Module(PtModule, newmodulename.GetData(), ShowErr); if ( module ) change = TRUE; else if (ShowErr) ShowErr--; } if( change ) { m_Parent->m_Pcb->m_Status_Pcb = 0; m_Parent->build_liste_pads(); } } /***********************************************************************/ void WinEDA_ExchangeModuleFrame::Change_ModuleAll(wxCommandEvent& event) /***********************************************************************/ /* Routine de changement de tous les modules par les modules de meme nom lib: en conservant - meme orientation - meme position - memes textes valeur et ref - memes netnames pour pads de meme nom */ { MODULE * PtModule, *PtBack; bool change = FALSE; int ShowErr = 5; // Affiche 5 messages d'err maxi if(m_Parent->m_Pcb->m_Modules == NULL) return; if( !IsOK(this, _("Change ALL modules ?")) ) return; /* Le changement s'effectue a partir du dernier module car la routine Change_1_Module() modifie le dernier module de la liste */ PtModule = (MODULE*) m_Parent->m_Pcb->m_Modules; for ( ; PtModule != NULL; PtModule = (MODULE*)PtModule->Pnext) { if(PtModule->Pnext == NULL) break; } /* Ici PtModule pointe le dernier module de la liste */ for ( ; PtModule != (MODULE*)(m_Parent->m_Pcb); PtModule = PtBack) { PtBack = (MODULE*)PtModule->Pback; if ( Change_1_Module(PtModule, PtModule->m_LibRef.GetData(), ShowErr) ) change = TRUE; else if (ShowErr) ShowErr--; } if( change) { m_Parent->m_Pcb->m_Status_Pcb = 0; m_Parent->build_liste_pads(); } } /******************************************************************/ MODULE * WinEDA_ExchangeModuleFrame::Change_1_Module(MODULE * PtModule, const wxString& new_module, bool ShowError) /*******************************************************************/ /* Routine de changement d'un module: Change le module de numero empr, avec le module de nom new_module - meme orientation - meme position - memes textes valeur et ref - memes netnames pour pads de meme nom Retourne : 0 si pas de changement ( si le nouveau module n'est pas en libr) 1 si OK */ { wxString namecmp, oldnamecmp; MODULE * NewModule; wxString Line; if(PtModule == NULL) return(NULL); wxBusyCursor dummy; /* Memorisation des parametres utiles de l'ancien module */ oldnamecmp = PtModule->m_LibRef; namecmp = new_module; /* Chargement du module */ Line.Printf( _("Change module %s (%s) "), PtModule->m_Reference->m_Text.GetData(), oldnamecmp.GetData()); m_WinMsg->WriteText(Line); namecmp.Trim(TRUE); namecmp.Trim(FALSE); NewModule = m_Parent->Get_Librairie_Module(this, wxEmptyString, namecmp, ShowError); if( NewModule == NULL) /* Nouveau module NON trouve, reaffichage de l'ancien */ { m_WinMsg->WriteText( wxT("No\n")); return(NULL); } if ( PtModule == m_CurrentModule ) m_CurrentModule = NewModule; m_WinMsg->WriteText( wxT("Ok\n")); /* Effacement a l'ecran de l'ancien module */ PtModule->Draw(m_Parent->DrawPanel, m_DC, wxPoint(0,0), GR_XOR); m_Parent->Exchange_Module(this, PtModule, NewModule); /* Affichage du nouveau module */ NewModule->Draw(m_Parent->DrawPanel, m_DC, wxPoint(0,0),GR_OR); Maj_ListeCmp(NewModule->m_Reference->m_Text, oldnamecmp, namecmp, ShowError); return(NewModule); } /***********************************************************************************/ MODULE * WinEDA_BasePcbFrame::Exchange_Module(wxWindow * winaff, MODULE * OldModule, MODULE * NewModule) /***********************************************************************************/ /* Remplace le module OldModule par le module NewModule (en conservant position, orientation..) OldModule est supprimé de la memoire. */ { wxPoint oldpos; /* memorisation temporaire pos curseur */ D_PAD * pt_pad, * pt_old_pad; if ( (OldModule->m_StructType != TYPEMODULE) || (NewModule->m_StructType != TYPEMODULE) ) { DisplayError(winaff, wxT("WinEDA_BasePcbFrame::Exchange_Module() StuctType error" )); } NewModule->m_Parent = m_Pcb; m_Pcb->m_Status_Pcb = 0 ; oldpos = m_CurrentScreen->m_Curseur; m_CurrentScreen->m_Curseur = OldModule->m_Pos; Place_Module(NewModule, NULL); m_CurrentScreen->m_Curseur = oldpos; /* Changement eventuel de couche */ if( OldModule->m_Layer != NewModule->m_Layer) { Change_Side_Module(NewModule, NULL); } /* Rotation eventuelle du module */ if( OldModule->m_Orient != NewModule->m_Orient ) { Rotate_Module(NULL, NewModule,OldModule->m_Orient, FALSE ); } /* Mise a jour des textes ref et val */ NewModule->m_Reference->m_Text = OldModule->m_Reference->m_Text; NewModule->m_Value->m_Text = OldModule->m_Value->m_Text; /* Mise a jour des autres parametres */ NewModule->m_TimeStamp = OldModule->m_TimeStamp; /* mise a jour des netnames ( lorsque c'est possible) */ pt_pad = NewModule->m_Pads; for( ; pt_pad != NULL; pt_pad = (D_PAD*)pt_pad->Pnext) { pt_pad->m_Netname = wxEmptyString; pt_pad->m_NetCode = 0; pt_old_pad = OldModule->m_Pads; for( ; pt_old_pad != NULL; pt_old_pad = (D_PAD*)pt_old_pad->Pnext ) { if(strnicmp( pt_pad->m_Padname, pt_old_pad->m_Padname,sizeof(pt_pad->m_Padname)) == 0) { pt_pad->m_Netname = pt_old_pad->m_Netname; pt_pad->m_NetCode = pt_old_pad->m_NetCode; } } } /* Effacement de l'ancien module */ DeleteStructure(OldModule); m_Pcb->m_Status_Pcb = 0; NewModule->m_Flags = 0; m_CurrentScreen->SetModify(); return NewModule; } /*****************************************/ /* static void Sel_NewMod_By_Liste(void) */ /*****************************************/ /*affiche la liste des modules en librairie et selectione 1 nom */ void WinEDA_ExchangeModuleFrame::Sel_NewMod_By_Liste(wxCommandEvent& event) { wxString newname; newname = m_Parent->Select_1_Module_From_List(this, wxEmptyString, wxEmptyString, wxEmptyString); if ( newname != wxEmptyString ) m_NewModule->SetValue(newname); } /***************************************************/ bool WinEDA_PcbFrame::RecreateCmpFileFromBoard(void) /***************************************************/ { wxString FullFileNameCmp, mask; FILE * FichCmp; char Line[1024]; MODULE * Module = m_Pcb->m_Modules; wxString msg; if ( Module == NULL) { DisplayError(this, _("No Modules!") ); return FALSE; } /* Calcul nom fichier CMP par changement de l'extension du nom netliste */ if ( NetNameBuffer == wxEmptyString ) FullFileNameCmp = m_CurrentScreen->m_FileName; else FullFileNameCmp = NetNameBuffer; ChangeFileNameExt(FullFileNameCmp,NetCmpExtBuffer) ; mask = wxT("*") + NetCmpExtBuffer; FullFileNameCmp = EDA_FileSelector( _("Cmp files:"), wxEmptyString, /* Chemin par defaut */ FullFileNameCmp, /* nom fichier par defaut */ NetCmpExtBuffer, /* extension par defaut */ mask, /* Masque d'affichage */ this, wxSAVE, FALSE ); if ( FullFileNameCmp.IsEmpty() ) return FALSE; FichCmp = wxFopen(FullFileNameCmp, wxT("wt")); if( FichCmp == NULL ) { msg = _("Unable to create file ") + FullFileNameCmp; DisplayError(this, msg); return FALSE; } fgets(Line, sizeof(Line), FichCmp); fprintf(FichCmp,"Cmp-Mod V01 Genere par PcbNew le %s\n", DateAndTime(Line) ); for( ; Module != NULL; Module = (MODULE*) Module->Pnext ) { fprintf(FichCmp,"\nBeginCmp\n" ); fprintf(FichCmp,"TimeStamp = %8.8lX\n", Module->m_TimeStamp); fprintf(FichCmp,"Reference = %s;\n", ! Module->m_Reference->m_Text.IsEmpty() ? CONV_TO_UTF8(Module->m_Reference->m_Text) : "[NoRef]" ); fprintf(FichCmp,"ValeurCmp = %s;\n", !Module->m_Value->m_Text.IsEmpty() ? CONV_TO_UTF8(Module->m_Value->m_Text) : "[NoVal]" ); fprintf(FichCmp,"IdModule = %s;\n", CONV_TO_UTF8(Module->m_LibRef)); fprintf(FichCmp,"EndCmp\n" ); } fprintf(FichCmp,"\nEndListe\n"); fclose(FichCmp); return TRUE; }
[ "bokeoa@244deca0-f506-0410-ab94-f4f3571dea26" ]
[ [ [ 1, 627 ] ] ]
8c5273cb47e28eea69188ad489ff42d2a6f5a25d
5c4e36054f0752a610ad149dfd81e6f35ccb37a1
/libs/src2.75/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuContactResult.cpp
7346951dc7d18e17fd25c77f15a851e221e5a421
[]
no_license
Akira-Hayasaka/ofxBulletPhysics
4141dc7b6dff7e46b85317b0fe7d2e1f8896b2e4
5e45da80bce2ed8b1f12de9a220e0c1eafeb7951
refs/heads/master
2016-09-15T23:11:01.354626
2011-09-22T04:11:35
2011-09-22T04:11:35
1,152,090
6
0
null
null
null
null
UTF-8
C++
false
false
8,066
cpp
/* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/ This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #include "SpuContactResult.h" //#define DEBUG_SPU_COLLISION_DETECTION 1 SpuContactResult::SpuContactResult() { m_manifoldAddress = 0; m_spuManifold = NULL; m_RequiresWriteBack = false; } SpuContactResult::~SpuContactResult() { g_manifoldDmaExport.swapBuffers(); } ///User can override this material combiner by implementing gContactAddedCallback and setting body0->m_collisionFlags |= btCollisionObject::customMaterialCallback; inline btScalar calculateCombinedFriction(btScalar friction0,btScalar friction1) { btScalar friction = friction0*friction1; const btScalar MAX_FRICTION = btScalar(10.); if (friction < -MAX_FRICTION) friction = -MAX_FRICTION; if (friction > MAX_FRICTION) friction = MAX_FRICTION; return friction; } inline btScalar calculateCombinedRestitution(btScalar restitution0,btScalar restitution1) { return restitution0*restitution1; } void SpuContactResult::setContactInfo(btPersistentManifold* spuManifold, ppu_address_t manifoldAddress,const btTransform& worldTrans0,const btTransform& worldTrans1, btScalar restitution0,btScalar restitution1, btScalar friction0,btScalar friction1, bool isSwapped) { //spu_printf("SpuContactResult::setContactInfo ManifoldAddress: %lu\n", manifoldAddress); m_rootWorldTransform0 = worldTrans0; m_rootWorldTransform1 = worldTrans1; m_manifoldAddress = manifoldAddress; m_spuManifold = spuManifold; m_combinedFriction = calculateCombinedFriction(friction0,friction1); m_combinedRestitution = calculateCombinedRestitution(restitution0,restitution1); m_isSwapped = isSwapped; } void SpuContactResult::setShapeIdentifiersA(int partId0,int index0) { } void SpuContactResult::setShapeIdentifiersB(int partId1,int index1) { } ///return true if it requires a dma transfer back bool ManifoldResultAddContactPoint(const btVector3& normalOnBInWorld, const btVector3& pointInWorld, float depth, btPersistentManifold* manifoldPtr, btTransform& transA, btTransform& transB, btScalar combinedFriction, btScalar combinedRestitution, bool isSwapped) { // float contactTreshold = manifoldPtr->getContactBreakingThreshold(); //spu_printf("SPU: add contactpoint, depth:%f, contactTreshold %f, manifoldPtr %llx\n",depth,contactTreshold,manifoldPtr); #ifdef DEBUG_SPU_COLLISION_DETECTION spu_printf("SPU: contactTreshold %f\n",contactTreshold); #endif //DEBUG_SPU_COLLISION_DETECTION if (depth > manifoldPtr->getContactBreakingThreshold()) return false; //provide inverses or just calculate? btTransform transAInv = transA.inverse();//m_body0->m_cachedInvertedWorldTransform; btTransform transBInv= transB.inverse();//m_body1->m_cachedInvertedWorldTransform; btVector3 pointA; btVector3 localA; btVector3 localB; btVector3 normal; if (isSwapped) { normal = normalOnBInWorld * -1; pointA = pointInWorld + normal * depth; localA = transAInv(pointA ); localB = transBInv(pointInWorld); /*localA = transBInv(pointA ); localB = transAInv(pointInWorld);*/ } else { normal = normalOnBInWorld; pointA = pointInWorld + normal * depth; localA = transAInv(pointA ); localB = transBInv(pointInWorld); } btManifoldPoint newPt(localA,localB,normal,depth); int insertIndex = manifoldPtr->getCacheEntry(newPt); if (insertIndex >= 0) { // manifoldPtr->replaceContactPoint(newPt,insertIndex); // return true; #ifdef DEBUG_SPU_COLLISION_DETECTION spu_printf("SPU: same contact detected, nothing done\n"); #endif //DEBUG_SPU_COLLISION_DETECTION // This is not needed, just use the old info! saves a DMA transfer as well } else { newPt.m_combinedFriction = combinedFriction; newPt.m_combinedRestitution = combinedRestitution; /* ///@todo: SPU callbacks, either immediate (local on the SPU), or deferred //User can override friction and/or restitution if (gContactAddedCallback && //and if either of the two bodies requires custom material ((m_body0->m_collisionFlags & btCollisionObject::customMaterialCallback) || (m_body1->m_collisionFlags & btCollisionObject::customMaterialCallback))) { //experimental feature info, for per-triangle material etc. (*gContactAddedCallback)(newPt,m_body0,m_partId0,m_index0,m_body1,m_partId1,m_index1); } */ manifoldPtr->addManifoldPoint(newPt); return true; } return false; } void SpuContactResult::writeDoubleBufferedManifold(btPersistentManifold* lsManifold, btPersistentManifold* mmManifold) { ///only write back the contact information on SPU. Other platforms avoid copying, and use the data in-place ///see SpuFakeDma.cpp 'cellDmaLargeGetReadOnly' #if defined (__SPU__) || defined (USE_LIBSPE2) memcpy(g_manifoldDmaExport.getFront(),lsManifold,sizeof(btPersistentManifold)); g_manifoldDmaExport.swapBuffers(); ppu_address_t mmAddr = (ppu_address_t)mmManifold; g_manifoldDmaExport.backBufferDmaPut(mmAddr, sizeof(btPersistentManifold), DMA_TAG(9)); // Should there be any kind of wait here? What if somebody tries to use this tag again? What if we call this function again really soon? //no, the swapBuffers does the wait #endif } void SpuContactResult::addContactPoint(const btVector3& normalOnBInWorld,const btVector3& pointInWorld,btScalar depth) { //spu_printf("*** SpuContactResult::addContactPoint: depth = %f\n",depth); #ifdef DEBUG_SPU_COLLISION_DETECTION // int sman = sizeof(rage::phManifold); // spu_printf("sizeof_manifold = %i\n",sman); #endif //DEBUG_SPU_COLLISION_DETECTION btPersistentManifold* localManifold = m_spuManifold; btVector3 normalB(normalOnBInWorld.getX(),normalOnBInWorld.getY(),normalOnBInWorld.getZ()); btVector3 pointWrld(pointInWorld.getX(),pointInWorld.getY(),pointInWorld.getZ()); //process the contact point const bool retVal = ManifoldResultAddContactPoint(normalB, pointWrld, depth, localManifold, m_rootWorldTransform0, m_rootWorldTransform1, m_combinedFriction, m_combinedRestitution, m_isSwapped); m_RequiresWriteBack = m_RequiresWriteBack || retVal; } void SpuContactResult::flush() { if (m_spuManifold && m_spuManifold->getNumContacts()) { m_spuManifold->refreshContactPoints(m_rootWorldTransform0,m_rootWorldTransform1); m_RequiresWriteBack = true; } if (m_RequiresWriteBack) { #ifdef DEBUG_SPU_COLLISION_DETECTION spu_printf("SPU: Start SpuContactResult::flush (Put) DMA\n"); spu_printf("Num contacts:%d\n", m_spuManifold->getNumContacts()); spu_printf("Manifold address: %llu\n", m_manifoldAddress); #endif //DEBUG_SPU_COLLISION_DETECTION // spu_printf("writeDoubleBufferedManifold\n"); writeDoubleBufferedManifold(m_spuManifold, (btPersistentManifold*)m_manifoldAddress); #ifdef DEBUG_SPU_COLLISION_DETECTION spu_printf("SPU: Finished (Put) DMA\n"); #endif //DEBUG_SPU_COLLISION_DETECTION } m_spuManifold = NULL; m_RequiresWriteBack = false; }
[ [ [ 1, 236 ] ] ]
2873e1f7e2b2f8fc4a91f70065aa6b4b0df72e97
1e62164424822d8df6b628cbc4cad9a4fe76cf38
/Source Code/IterativeClosestPoint/IterativeClosestPoint/align_plugin/meshtree.cpp
04ce5e36e0412cac268923a6a95b7892fe90beea
[]
no_license
truongngoctuan/lv2007tm
b41b8cd54360a6dd966f158a7434cfe853627df0
9fa1af79f265dd589e8300017ab857fcfe4fe846
refs/heads/master
2021-01-10T01:58:50.292831
2011-07-30T13:43:17
2011-07-30T13:43:17
48,728,564
0
0
null
null
null
null
UTF-8
C++
false
false
9,331
cpp
/**************************************************************************** * MeshLab o o * * A versatile mesh processing toolbox o o * * _ O _ * * Copyright(C) 2005 \/)\/ * * Visual Computing Lab /\/| * * ISTI - Italian National Research Council | * * \ * * All rights reserved. * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * * for more details. * * * ****************************************************************************/ #include "meshtree.h" #include "align/AlignGlobal.h" MeshTree::MeshTree() { } int MeshTree::gluedNum() { int cnt=0; for(int i = 0; i < nodeList.size(); i++) { MeshNode *mn = nodeList.at(i); if(mn->glued) ++cnt; } return cnt; } // Assign to each mesh (glued and not glued) an unique id void MeshTree::resetID() { int cnt=0; for(int i = 0; i < nodeList.size(); i++) { MeshNode *mn = nodeList.at(i); mn->id= cnt; cnt++; } } void MeshTree::ProcessArc(int fixId, int movId, vcg::AlignPair::Result &result, vcg::AlignPair::Param ap) { // l'allineatore globale cambia le varie matrici di posizione di base delle mesh // per questo motivo si aspetta i punti nel sistema di riferimento locale della mesh fix // Si fanno tutti i conti rispetto al sistema di riferimento locale della mesh fix vcg::Matrix44d FixM=vcg::Matrix44d::Construct(find(fixId)->tr()); vcg::Matrix44d MovM=vcg::Matrix44d::Construct(find(movId)->tr()); vcg::Matrix44d MovToFix = Inverse(FixM) * MovM; ProcessArc(fixId,movId,MovToFix,result,ap); } /** This is the main alignment function. It takes a pair of mesh and aling the second on the first one according to the parameters stored in <ap> */ void MeshTree::ProcessArc(int fixId, int movId, vcg::Matrix44d &MovM, vcg::AlignPair::Result &result, vcg::AlignPair::Param ap) { vcg::AlignPair::A2Mesh Fix, Mov; vcg::AlignPair aa; // 1) Convert fixed mesh and put it into the grid. aa.ConvertMesh<CMeshO>(MM(fixId)->cm,Fix); vcg::AlignPair::A2Grid UG; vcg::AlignPair::A2GridVert VG; if(MM(fixId)->cm.fn==0 || ap.UseVertexOnly) { Fix.InitVert(vcg::Matrix44d::Identity(),false); vcg::AlignPair::InitFixVert(&Fix,ap,VG); } else { Fix.Init(vcg::Matrix44d::Identity(),false); vcg::AlignPair::InitFix(&Fix, ap, UG); } // 2) Convert the second mesh and sample a <ap.SampleNum> points on it. aa.ConvertMesh<CMeshO>(MM(movId)->cm,Mov); std::vector<vcg::AlignPair::A2Vertex> tmpmv; aa.ConvertVertex(Mov.vert,tmpmv); aa.SampleMovVert(tmpmv, ap.SampleNum, ap.SampleMode); aa.mov=&tmpmv; aa.fix=&Fix; aa.ap = ap; vcg::Matrix44d In=MovM; // Perform the ICP algorithm aa.Align(In,UG,VG,result); result.FixName=fixId; result.MovName=movId; result.as.Dump(stdout); } bool MeshTree::Process(vcg::AlignPair::Param &ap) { //QString buf; //cb(0,qPrintable(buf.sprintf("Starting Processing of %i glued meshes out of %i meshes\n",gluedNum(),nodeList.size()))); resetID(); // Assign to each mesh (glued and not glued) an unique id /******* Occupancy Grid Computation *************/ //cb(0,qPrintable(buf.sprintf("Computing Overlaps %i glued meshes...\n",gluedNum() ))); OG.Init(nodeList.size(), vcg::Box3d::Construct(gluedBBox()), 10000); for(int i = 0; i < nodeList.size(); i++) { MeshNode *mn = nodeList.at(i); if(mn->glued) OG.AddMesh<CMeshO>(mn->m->cm, vcg::Matrix44d::Construct(mn->tr()), mn->id); } OG.Compute(); OG.Dump(stdout); // Note: the s and t of the OG translate into fix and mov, respectively. /*************** The long loop of arc computing **************/ ResVec.clear(); ResVec.resize(OG.SVA.size()); ResVecPtr.clear(); //cb(0,qPrintable(buf.sprintf("Computed %i possible Arcs :\n",int(OG.SVA.size())))); size_t i=0; for(i=0;i<OG.SVA.size() && OG.SVA[i].norm_area > .1; ++i) { fprintf(stdout,"%4i -> %4i Area:%5i NormArea:%5.3f\n",OG.SVA[i].s,OG.SVA[i].t,OG.SVA[i].area,OG.SVA[i].norm_area); ProcessArc(OG.SVA[i].s, OG.SVA[i].t, ResVec[i], ap); ResVec[i].area= OG.SVA[i].norm_area; if( ResVec[i].IsValid() ) ResVecPtr.push_back(&ResVec[i]); std::pair<double,double> dd=ResVec[i].ComputeAvgErr(); if( ResVec[i].IsValid() ) { printf("===========================================================\n"); printf("(%2i/%i) %2i -> %2i Aligned AvgErr dd=%f -> dd=%f \n",int(i+1),int(OG.SVA.size()),OG.SVA[i].s,OG.SVA[i].t,dd.first,dd.second); printf("===========================================================\n"); //cb(0,qPrintable(buf.sprintf("(%2i/%i) %2i -> %2i Aligned AvgErr dd=%f -> dd=%f \n",int(i+1),int(OG.SVA.size()),OG.SVA[i].s,OG.SVA[i].t,dd.first,dd.second))); } else { printf("===========================================================\n"); printf("(%2i/%i) %2i -> %2i Failed Alignment of one arc \n" ,int(i+1),int(OG.SVA.size()),OG.SVA[i].s,OG.SVA[i].t); printf("===========================================================\n"); //cb(0,qPrintable(buf.sprintf("(%2i/%i) %2i -> %2i Failed Alignment of one arc \n" ,int(i+1),int(OG.SVA.size()),OG.SVA[i].s,OG.SVA[i].t))); } } // now cut the ResVec vector to the only computed result (the arcs with area > .1) ResVec.resize(i); //cb(0,qPrintable(buf.sprintf("Completed Mesh-Mesh Alignment\n"))); //if there are no arcs at all complain and return if(ResVec.size()==0) { printf("===========================================================\n"); printf("\n Failure. There are no overlapping meshes?\n No candidate alignment arcs. Nothing Done.\n"); printf("===========================================================\n"); //cb(0,qPrintable(buf.sprintf("\n Failure. There are no overlapping meshes?\n No candidate alignment arcs. Nothing Done.\n"))); return false; } //if there are no valid arcs complain and return if(ResVecPtr.size()==0) { printf("===========================================================\n"); printf("\n Failure. No succesful arc among candidate Alignment arcs. Nothing Done.\n"); printf("===========================================================\n"); //cb(0,qPrintable(buf.sprintf("\n Failure. No succesful arc among candidate Alignment arcs. Nothing Done.\n"))); return false; } ProcessGlobal(ap); printf("===========================================================\n"); printf("Completed\n"); printf("===========================================================\n"); return true; } void MeshTree::ProcessGlobal(vcg::AlignPair::Param &ap) { /************** Preparing Matrices for global alignment *************/ //cb(0,qPrintable(buf.sprintf("Starting Global Alignment\n"))); vcg::Matrix44d Zero44; Zero44.SetZero(); std::vector<vcg::Matrix44d> PaddedTrVec(nodeList.size(),Zero44); // matrix trv[i] is relative to mesh with id IdVec[i] // if all the mesh are glued GluedIdVec=={1,2,3,4...} std::vector<int> GluedIdVec; std::vector<vcg::Matrix44d> GluedTrVec; std::vector<std::string> names(nodeList.size()); for(int i = 0; i < nodeList.size(); i++) { MeshNode *mn = nodeList.at(i); if(mn->glued) { GluedIdVec.push_back(mn->id); GluedTrVec.push_back(vcg::Matrix44d::Construct(mn->tr())); PaddedTrVec[mn->id]=GluedTrVec.back(); } } vcg::AlignGlobal AG; AG.BuildGraph(ResVecPtr, GluedTrVec, GluedIdVec); int maxiter = 1000; float StartGlobErr = 0.001f; while(!AG.GlobalAlign(names, StartGlobErr, 100, true, stdout)) { StartGlobErr*=2; AG.BuildGraph(ResVecPtr,GluedTrVec, GluedIdVec); } std::vector<vcg::Matrix44d> GluedTrVecOut(GluedTrVec.size()); AG.GetMatrixVector(GluedTrVecOut,GluedIdVec); //Now get back the results! for(int ii=0;ii<GluedTrVecOut.size();++ii) MM(GluedIdVec[ii])->cm.Tr.Import(GluedTrVecOut[ii]); //cb(0,qPrintable(buf.sprintf("Completed Global Alignment (error bound %6.4f)\n",StartGlobErr))); }
[ "[email protected]", "tntuan0712494@a2cfd237-d426-27f4-20f1-81bcd826f934" ]
[ [ [ 1, 110 ], [ 112, 180 ], [ 182, 191 ], [ 193, 198 ], [ 200, 248 ] ], [ [ 111, 111 ], [ 181, 181 ], [ 192, 192 ], [ 199, 199 ] ] ]
0d4858286e61d378388e909fbf9f4af9041a2326
1d16cb350142a461be378adcf1e5072a6c716215
/Object.h
24cb9199c62aabf02ff83c8a5e72d2bc7b72337a
[]
no_license
PureDu/cistron
7673167fe2a111614c6b9b1de1b64a26aa509dee
8b5bbccc17ed928d432934e1a385d9cce82bfbec
refs/heads/master
2021-06-06T15:28:52.482628
2010-03-01T15:08:40
2010-03-01T15:08:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,545
h
#ifndef INC_OBJECT #define INC_OBJECT #include "Component.h" #include <hash_map> #include <list> #include <string> #include <vector> namespace Cistron { using std::vector; using std::list; using std::string; using stdext::hash_map; // an object is a container of components class Object { public: // constructor/destructor Object(ObjectId id); virtual ~Object(); private: // object id ObjectId fId; /** * COMPONENT MANAGEMENT */ // component map hash_map<string, list<Component*> > fComponents; // add a component bool addComponent(Component*); // get a component list<Component*> getComponents(string name); // get all components list<Component*> getComponents(); // remove all requests for a given component void removeComponent(Component*); /** * LOCAL REQUESTS */ // send a local message void sendMessage(RequestId, Message const &); // register a request void registerRequest(RequestId, RegisteredComponent); // list of local requests vector<list<RegisteredComponent> > fLocalRequests; /** * OBJECT MANAGEMENT */ // is the object finalized? bool fFinalized; // finalize the object void finalize(); // is the object finalized? bool isFinalized(); /** * LOGGING */ // track a request void trackRequest(RequestId, Component*); // object manager is our friend friend class ObjectManager; }; }; #endif
[ "Karel.Crombecq@a5989ff4-8365-11de-92f0-6bbadbc12360" ]
[ [ [ 1, 104 ] ] ]
8653135d617a86a7631be3b6a2c3e51fc7c52751
fac8de123987842827a68da1b580f1361926ab67
/inc/physics/Common/Base/Math/Types/Sse/hkSseMathTypes.inl
f6c8b952b8e932b7f4af22f76ef35a950a2c7f67
[]
no_license
blockspacer/transporter-game
23496e1651b3c19f6727712a5652f8e49c45c076
083ae2ee48fcab2c7d8a68670a71be4d09954428
refs/heads/master
2021-05-31T04:06:07.101459
2009-02-19T20:59:59
2009-02-19T20:59:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,365
inl
/* * * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's * prior written consent.This software contains code, techniques and know-how which is confidential and proprietary to Havok. * Level 2 and Level 3 source code contains trade secrets of Havok. Havok Software (C) Copyright 1999-2008 Telekinesys Research Limited t/a Havok. All Rights Reserved. Use of this software is subject to the terms of an end user license agreement. * */ #include <xmmintrin.h> #define HK_TRANSPOSE4(A,B,C,D) _MM_TRANSPOSE4_PS(A,B,C,D) #define HK_TRANSPOSE3(_a,_b,_c) { \ hkQuadReal _tmp, _ctmp; \ _tmp = _mm_unpacklo_ps(_a,_b); \ HK_VECTOR4_SHUF(_ctmp,_mm_unpackhi_ps(_a,_b),_c,HK_VECTOR4_SHUFFLE(0,1,2,3)); \ _a = _mm_movelh_ps(_tmp,_c); \ HK_VECTOR4_SHUF(_b,_mm_movehl_ps(_a,_tmp),_c,HK_VECTOR4_SHUFFLE(0,1,1,3)); \ _c = _ctmp; } #define HK_VECTOR4_SHUFFLE(_a,_b,_c,_d) _MM_SHUFFLE(_d,_c,_b,_a) #define HK_VECTOR4_SHUF( tgt, src0, src1, shuf ) tgt = _mm_shuffle_ps(src0, src1, shuf) #define HK_VECTOR4_PERM1ARG(_a,_b,_c,_d) _MM_SHUFFLE(_d,_c,_b,_a) #define HK_VECTOR4_PERM1( tgt, src, shuf ) tgt = _mm_shuffle_ps(src, src, shuf) typedef __m128 hkQuadReal; class hkVector4; typedef const hkVector4& hkVector4Parameter; union hkQuadRealUnion { hkReal r[4]; hkQuadReal q; }; #define HK_QUADREAL_CONSTANT(a,b,c,d) {a,b,c,d} #define HK_SIMD_REAL(a) hkSimdReal(a) class hkSimdReal { public: hkSimdReal(const hkQuadReal& x) : m_real(x) { } hkSimdReal(hkReal x) { m_real = _mm_load_ss(&x); } hkSimdReal(){} operator hkReal() const { hkReal s; _mm_store_ss(&s, m_real); return s; } HK_FORCE_INLINE hkQuadReal broadcast() const { return _mm_shuffle_ps(m_real, m_real, 0); } HK_FORCE_INLINE const hkQuadReal& getQuad() const { return m_real; } private: hkQuadReal m_real; }; typedef const hkSimdReal& hkSimdRealParameter; inline hkSimdReal HK_CALL operator* (hkSimdRealParameter r, hkSimdRealParameter s) { return _mm_mul_ss(r.getQuad(),s.getQuad()); } inline hkSimdReal HK_CALL operator- (hkSimdRealParameter r, hkSimdRealParameter s) { return _mm_sub_ss(r.getQuad(),s.getQuad()); } inline hkSimdReal HK_CALL operator+ (hkSimdRealParameter r, hkSimdRealParameter s) { return _mm_add_ss(r.getQuad(),s.getQuad()); } inline hkSimdReal HK_CALL operator/ (hkSimdRealParameter r, hkSimdRealParameter s) { return _mm_div_ss(r.getQuad(),s.getQuad()); } inline hkSimdReal HK_CALL operator- (hkSimdRealParameter r) { extern const hkQuadReal hkQuadReal0000; return _mm_sub_ss(hkQuadReal0000,r.getQuad()); } /// Result of a hkVector4 comparison. class hkVector4Comparison { public: enum Mask { MASK_NONE = 0, MASK_X = 1, MASK_Y = 2, MASK_XY = 3, MASK_Z = 4, MASK_XZ = 5, MASK_YZ = 6, MASK_XYZ = 7, MASK_W = 8, MASK_XW = 9, MASK_YW = 10, MASK_XYW = 11, MASK_ZW = 12, MASK_XZW = 13, MASK_YZW = 14, MASK_XYZW = 15 }; HK_FORCE_INLINE void setAnd( hkVector4Comparison a, hkVector4Comparison b ) { m_mask = _mm_and_ps( a.m_mask,b.m_mask ); } static const hkQuadReal s_maskFromBits[MASK_XYZW+1]; HK_FORCE_INLINE void set( Mask m) { m_mask = s_maskFromBits[m]; } HK_FORCE_INLINE hkBool32 allAreSet( Mask m ) const { return (_mm_movemask_ps(m_mask) & m) == m; } HK_FORCE_INLINE hkBool32 anyIsSet( Mask m ) const { return _mm_movemask_ps(m_mask) & m; } HK_FORCE_INLINE hkBool32 allAreSet() const { return _mm_movemask_ps(m_mask) == MASK_XYZW; } HK_FORCE_INLINE hkBool32 anyIsSet() const { return _mm_movemask_ps(m_mask); } HK_FORCE_INLINE int getMask() const { return _mm_movemask_ps(m_mask); } HK_FORCE_INLINE int getMask(Mask m) const { return _mm_movemask_ps(m_mask) & m; } private: hkQuadReal m_mask; friend class hkVector4; }; typedef const hkVector4Comparison& hkVector4ComparisonParameter; #define HK_SIMD_COMPARE_MASK_X 1 extern const hkQuadReal hkQuadRealHalf; extern const hkQuadReal hkQuadReal3333; namespace hkMath { inline int HK_CALL isNegative(const hkSimdReal& r0) { return _mm_movemask_ps(r0.getQuad()) & hkVector4Comparison::MASK_X; } inline hkSimdReal HK_CALL sqrt(hkSimdRealParameter r) { return _mm_sqrt_ss(r.getQuad()); } # if defined(HK_ARCH_IA32) && !defined(HK_COMPILER_GCC) # define HK_MATH_hkToIntFast // Fast rounding, however last bit might be wrong inline int HK_CALL hkToIntFast( hkReal r ){ int i; _asm { fld r fistp i } return i; } #endif # define HK_MATH_prefetch128 inline void prefetch128( const void* p) { _mm_prefetch( (const char*)p, _MM_HINT_NTA ); } # define HK_MATH_forcePrefetch template<int SIZE> inline void forcePrefetch( const void* p ) { const char* q = (const char*)p; _mm_prefetch( q, _MM_HINT_NTA ); if ( SIZE > 64){ _mm_prefetch( q + 64, _MM_HINT_NTA ); } if ( SIZE > 128){ _mm_prefetch( q + 128, _MM_HINT_NTA ); } if ( SIZE > 192){ _mm_prefetch( q + 192, _MM_HINT_NTA ); } } inline hkQuadReal quadReciprocal( hkQuadReal r ) { hkQuadReal e = _mm_rcp_ps( r ); //One round of Newton-Raphson refinement return _mm_sub_ps(_mm_add_ps(e,e), _mm_mul_ps(_mm_mul_ps(e, r), e)); } inline hkQuadReal quadReciprocalSquareRoot( hkQuadReal r ) { hkQuadReal e = _mm_rsqrt_ps(r); hkQuadReal he = _mm_mul_ps(hkQuadRealHalf,e); hkQuadReal ree = _mm_mul_ps(_mm_mul_ps(r,e),e); return _mm_mul_ps(he, _mm_sub_ps(hkQuadReal3333, ree) ); } } /* * Havok SDK - NO SOURCE PC DOWNLOAD, BUILD(#20080529) * * Confidential Information of Havok. (C) Copyright 1999-2008 * Telekinesys Research Limited t/a Havok. All Rights Reserved. The Havok * Logo, and the Havok buzzsaw logo are trademarks of Havok. Title, ownership * rights, and intellectual property rights in the Havok software remain in * Havok and/or its suppliers. * * Use of this software for evaluation purposes is subject to and indicates * acceptance of the End User licence Agreement for this product. A copy of * the license is included with this software and is also available at * www.havok.com/tryhavok * */
[ "uraymeiviar@bb790a93-564d-0410-8b31-212e73dc95e4" ]
[ [ [ 1, 232 ] ] ]
6a0512bc938ec5b3139d22a9fee227b053716494
c95a83e1a741b8c0eb810dd018d91060e5872dd8
/Game/ServerApp/ServerApp.cpp
fd824d90d5ab7e1352226230f8feae2f38b8f2e5
[]
no_license
rickyharis39/nolf2
ba0b56e2abb076e60d97fc7a2a8ee7be4394266c
0da0603dc961e73ac734ff365bfbfb8abb9b9b04
refs/heads/master
2021-01-01T17:21:00.678517
2011-07-23T12:11:19
2011-07-23T12:11:19
38,495,312
1
0
null
null
null
null
UTF-8
C++
false
false
2,064
cpp
// Server.cpp : Defines the class behaviors for the application. // // Includes... #include "stdafx.h" #include "ServerApp.h" #include "ServerDlg.h" #include "Resource.h" // Globals... HINSTANCE g_hInst = NULL; // Functions... ///////////////////////////////////////////////////////////////////////////// // CServerApp BEGIN_MESSAGE_MAP(CServerApp, CWinApp) //{{AFX_MSG_MAP(CServerApp) // NOTE - the ClassWizard will add and remove mapping macros here. // DO NOT EDIT what you see in these blocks of generated code! //}}AFX_MSG ON_COMMAND(ID_HELP, CWinApp::OnHelp) END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CServerApp construction CServerApp::CServerApp(LPCTSTR lpszAppName) : CWinApp(lpszAppName) { // TODO: add construction code here, // Place all significant initialization in InitInstance } ///////////////////////////////////////////////////////////////////////////// // The one and only CServerApp object CServerApp theApp("NOLF2Srv"); CServerApp* GetTheApp() { return(&theApp); } ///////////////////////////////////////////////////////////////////////////// // CServerApp initialization BOOL CServerApp::InitInstance() { AfxEnableControlContainer(); // Standard initialization // If you are not using these features and wish to reduce the size // of your final executable, you should remove from the following // the specific initialization routines you do not need. #ifdef _AFXDLL Enable3dControls(); // Call this when using MFC in a shared DLL #else Enable3dControlsStatic(); // Call this when linking to MFC statically #endif // Get our instance handle... g_hInst = AfxGetInstanceHandle(); return TRUE; } int CServerApp::Run( ) { CServerDlg dlg; m_pMainWnd = &dlg; int nResponse = dlg.DoModal(); // Since the dialog has been closed, return FALSE so that we exit the // application, rather than start the application's message pump. return nResponse; }
[ [ [ 1, 85 ] ] ]