blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
986 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
145 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
122 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
a2875c54b4ee7cb8c29187914dd9186c2e1816d5
88ae8695987ada722184307301e221e1ba3cc2fa
/components/browser_ui/site_settings/android/features.h
133733d86bc48584393009fafe21608e30f5459d
[ "BSD-3-Clause" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
C++
false
false
594
h
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_BROWSER_UI_SITE_SETTINGS_ANDROID_FEATURES_H_ #define COMPONENTS_BROWSER_UI_SITE_SETTINGS_ANDROID_FEATURES_H_ #include "base/feature_list.h" namespace browser_ui { // Improved 'All sites' and 'Site settings' pages on Android. BASE_DECLARE_FEATURE(kSiteDataImprovements); BASE_DECLARE_FEATURE(kRequestDesktopSiteExceptionsDowngrade); } // namespace browser_ui #endif // COMPONENTS_BROWSER_UI_SITE_SETTINGS_ANDROID_FEATURES_H_
[ "jengelh@inai.de" ]
jengelh@inai.de
58d0d699bdaaf2a1217a80e19b7fb928ee16970e
cd4a85a9f27b91c96d8891a0fffa4bf3057e8a2c
/VulkanMonkey/Code/Core/Image.h
003ee119c3403146ffa78fc077f3b8cbf67231d8
[ "MIT" ]
permissive
angelm83a/VulkanMonkey3D
9048bbdd706ffacf4bebcd6e3442787715b7bd48
6f6a31eebcd85e4a18e4b5a2113cb97f988e921d
refs/heads/master
2022-11-23T19:53:41.230421
2020-07-26T01:34:13
2020-07-26T01:34:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,097
h
#pragma once #include "Base.h" namespace vk { class Image; class DeviceMemory; class ImageView; class Sampler; struct Extent2D; enum class Format; enum class ImageLayout; enum class ImageTiling; enum class Filter; enum class ImageViewType; enum class SamplerAddressMode; enum class BorderColor; enum class CompareOp; enum class SamplerMipmapMode; struct PipelineColorBlendAttachmentState; class CommandBuffer; enum class SampleCountFlagBits; class Buffer; template<class T1, class T2> class Flags; enum class ImageCreateFlagBits; enum class PipelineStageFlagBits; enum class AccessFlagBits; enum class ImageAspectFlagBits; enum class ImageUsageFlagBits; enum class MemoryPropertyFlagBits; using ImageCreateFlags = Flags<ImageCreateFlagBits, uint32_t>; using PipelineStageFlags = Flags<PipelineStageFlagBits, uint32_t>; using AccessFlags = Flags<AccessFlagBits, uint32_t>; using ImageAspectFlags = Flags<ImageAspectFlagBits, uint32_t>; using ImageUsageFlags = Flags<ImageUsageFlagBits, uint32_t>; using MemoryPropertyFlags = Flags<MemoryPropertyFlagBits, uint32_t>; using Bool32 = uint32_t; } namespace vm { enum class LayoutState { ColorRead, ColorWrite, DepthRead, DepthWrite }; class Context; class Image { public: Image(); ~Image(); Ref<vk::Image> image; Ref<vk::DeviceMemory> memory; Ref<vk::ImageView> view; Ref<vk::Sampler> sampler; uint32_t width; uint32_t height; float width_f; float height_f; Ref<vk::Extent2D> extent; // values Ref<vk::SampleCountFlagBits> samples; LayoutState layoutState; Ref<vk::Format> format; Ref<vk::ImageLayout> initialLayout; Ref<vk::ImageTiling> tiling; uint32_t mipLevels; uint32_t arrayLayers; bool anisotropyEnabled; float minLod, maxLod, maxAnisotropy; Ref<vk::Filter> filter; Ref<vk::ImageCreateFlags> imageCreateFlags; Ref<vk::ImageViewType> viewType; Ref<vk::SamplerAddressMode> addressMode; Ref<vk::BorderColor> borderColor; bool samplerCompareEnable; Ref<vk::CompareOp> compareOp; Ref<vk::SamplerMipmapMode> samplerMipmapMode; Ref<vk::PipelineColorBlendAttachmentState> blentAttachment; void transitionImageLayout( vk::CommandBuffer cmd, vk::ImageLayout oldLayout, vk::ImageLayout newLayout, const vk::PipelineStageFlags& oldStageMask, const vk::PipelineStageFlags& newStageMask, const vk::AccessFlags& srcMask, const vk::AccessFlags& dstMask, const vk::ImageAspectFlags& aspectFlags) const; void createImage(uint32_t width, uint32_t height, vk::ImageTiling tiling, const vk::ImageUsageFlags& usage, const vk::MemoryPropertyFlags& properties); void createImageView(const vk::ImageAspectFlags& aspectFlags); void transitionImageLayout(vk::ImageLayout oldLayout, vk::ImageLayout newLayout) const; void changeLayout(const vk::CommandBuffer& cmd, LayoutState state); void copyBufferToImage(vk::Buffer buffer, uint32_t baseLayer = 0) const; void copyColorAttachment(const vk::CommandBuffer& cmd, Image& renderedImage) const; void generateMipMaps() const; void createSampler(); void destroy(); }; }
[ "christoskar@live.com" ]
christoskar@live.com
2ea71abc5f5030027c23726aca7c18b54b942d57
9d4ad6d7f3122f8d32a4a713f06b81ecb7a47c6e
/headers/boost/1.25.1/boost/python/conversions.hpp
cf753e2db5619cfe09fcefd388898ad1cf71331c
[]
no_license
metashell/headers
226d6d55eb659134a2ae2aa022b56b893bff1b30
ceb6da74d7ca582791f33906992a5908fcaca617
refs/heads/master
2021-01-20T23:26:51.811362
2018-08-25T07:06:19
2018-08-25T07:06:19
13,360,747
0
1
null
null
null
null
UTF-8
C++
false
false
12,428
hpp
// (C) Copyright David Abrahams 2000. Permission to copy, use, modify, sell and // distribute this software is granted provided this copyright notice appears // in all copies. This software is provided "as is" without express or implied // warranty, and with no claim as to its suitability for any purpose. // // The author gratefully acknowleges the support of Dragon Systems, Inc., in // producing this work. // // Revision History: // 31 Jul 01 convert int/double to complex (Peter Bienstman) // 04 Mar 01 Fixed std::complex<> stuff to work with MSVC (David Abrahams) // 03 Mar 01 added: converters for [plain] char and std::complex // (Ralf W. Grosse-Kunstleve) #ifndef METHOD_DWA122899_H_ # define METHOD_DWA122899_H_ # include <boost/python/detail/config.hpp> # include <boost/python/detail/wrap_python.hpp> # include <boost/python/detail/none.hpp> # include <boost/python/detail/signatures.hpp> # include <boost/smart_ptr.hpp> # include <boost/python/errors.hpp> # include <string> # ifdef BOOST_MSVC6_OR_EARLIER # pragma warning(push) # pragma warning(disable:4275) // disable a bogus warning caused by <complex> # endif # include <complex> # ifdef BOOST_MSVC6_OR_EARLIER # pragma warning(pop) # endif BOOST_PYTHON_BEGIN_CONVERSION_NAMESPACE // this is a gcc 2.95.2 bug workaround // This can be instantiated on an enum to provide the to_python/from_python // conversions, provided the values can fit in a long. template <class EnumType> class py_enum_as_int_converters { friend EnumType from_python(PyObject* x, boost::python::type<EnumType>) { return static_cast<EnumType>( from_python(x, boost::python::type<long>())); } friend EnumType from_python(PyObject* x, boost::python::type<const EnumType&>) { return static_cast<EnumType>( from_python(x, boost::python::type<long>())); } friend PyObject* to_python(EnumType x) { return to_python(static_cast<long>(x)); } }; BOOST_PYTHON_END_CONVERSION_NAMESPACE namespace boost { namespace python { template <class EnumType> class enum_as_int_converters : public BOOST_PYTHON_CONVERSION::py_enum_as_int_converters<EnumType> {}; template <class P, class T> class wrapped_pointer; //#pragma warn_possunwant off inline void decref_impl(PyObject* p) { Py_DECREF(p); } inline void xdecref_impl(PyObject* p) { Py_XDECREF(p); } //#pragma warn_possunwant reset template <class T> inline void decref(T* p) { char* const raw_p = reinterpret_cast<char*>(p); char* const p_base = raw_p - offsetof(PyObject, ob_refcnt); decref_impl(reinterpret_cast<PyObject*>(p_base)); } template <class T> inline void xdecref(T* p) { char* const raw_p = reinterpret_cast<char*>(p); char* const p_base = raw_p - offsetof(PyObject, ob_refcnt); xdecref_impl(reinterpret_cast<PyObject*>(p_base)); } namespace detail { void expect_complex(PyObject*); template <class T> std::complex<T> complex_from_python(PyObject* p, boost::python::type<T>) { if (PyInt_Check(p)) return std::complex<T>(PyInt_AS_LONG(p)); if (PyLong_Check(p)) return std::complex<T>(PyLong_AsDouble(p)); if (PyFloat_Check(p)) return std::complex<T>(PyFloat_AS_DOUBLE(p)); expect_complex(p); return std::complex<T>( static_cast<T>(PyComplex_RealAsDouble(p)), static_cast<T>(PyComplex_ImagAsDouble(p))); } template <class T> PyObject* complex_to_python(const std::complex<T>& sc) { Py_complex pcc; pcc.real = sc.real(); pcc.imag = sc.imag(); return PyComplex_FromCComplex(pcc); } } }} // namespace boost::python BOOST_PYTHON_BEGIN_CONVERSION_NAMESPACE // // Converters // PyObject* to_python(long); long from_python(PyObject* p, boost::python::type<long>); long from_python(PyObject* p, boost::python::type<const long&>); PyObject* to_python(unsigned long); unsigned long from_python(PyObject* p, boost::python::type<unsigned long>); unsigned long from_python(PyObject* p, boost::python::type<const unsigned long&>); PyObject* to_python(int); int from_python(PyObject*, boost::python::type<int>); int from_python(PyObject*, boost::python::type<const int&>); PyObject* to_python(unsigned int); unsigned int from_python(PyObject*, boost::python::type<unsigned int>); unsigned int from_python(PyObject*, boost::python::type<const unsigned int&>); PyObject* to_python(short); short from_python(PyObject*, boost::python::type<short>); short from_python(PyObject*, boost::python::type<const short&>); PyObject* to_python(unsigned short); unsigned short from_python(PyObject*, boost::python::type<unsigned short>); unsigned short from_python(PyObject*, boost::python::type<const unsigned short&>); PyObject* to_python(char); char from_python(PyObject*, boost::python::type<char>); char from_python(PyObject*, boost::python::type<const char&>); PyObject* to_python(signed char); signed char from_python(PyObject*, boost::python::type<signed char>); signed char from_python(PyObject*, boost::python::type<const signed char&>); PyObject* to_python(unsigned char); unsigned char from_python(PyObject*, boost::python::type<unsigned char>); unsigned char from_python(PyObject*, boost::python::type<const unsigned char&>); PyObject* to_python(float); float from_python(PyObject*, boost::python::type<float>); float from_python(PyObject*, boost::python::type<const float&>); PyObject* to_python(double); double from_python(PyObject*, boost::python::type<double>); double from_python(PyObject*, boost::python::type<const double&>); PyObject* to_python(bool); bool from_python(PyObject*, boost::python::type<bool>); bool from_python(PyObject*, boost::python::type<const bool&>); PyObject* to_python(void); void from_python(PyObject*, boost::python::type<void>); PyObject* to_python(const char* s); const char* from_python(PyObject*, boost::python::type<const char*>); PyObject* to_python(const std::string& s); std::string from_python(PyObject*, boost::python::type<std::string>); std::string from_python(PyObject*, boost::python::type<const std::string&>); inline PyObject* to_python(const std::complex<float>& x) { return boost::python::detail::complex_to_python<float>(x); } inline PyObject* to_python(const std::complex<double>& x) { return boost::python::detail::complex_to_python<double>(x); } inline std::complex<double> from_python(PyObject* p, boost::python::type<std::complex<double> >) { return boost::python::detail::complex_from_python(p, boost::python::type<double>()); } inline std::complex<double> from_python(PyObject* p, boost::python::type<const std::complex<double>&>) { return boost::python::detail::complex_from_python(p, boost::python::type<double>()); } inline std::complex<float> from_python(PyObject* p, boost::python::type<std::complex<float> >) { return boost::python::detail::complex_from_python(p, boost::python::type<float>()); } inline std::complex<float> from_python(PyObject* p, boost::python::type<const std::complex<float>&>) { return boost::python::detail::complex_from_python(p, boost::python::type<float>()); } // For when your C++ function really wants to pass/return a PyObject* PyObject* to_python(PyObject*); PyObject* from_python(PyObject*, boost::python::type<PyObject*>); // Some standard conversions to/from smart pointer types. You can add your own // from these examples. These are not generated using the friend technique from // wrapped_pointer because: // // 1. We want to be able to extend conversion to/from WrappedPointers using // arbitrary smart pointer types. // // 2. It helps with compilation independence. This way, code which creates // wrappers for functions accepting and returning smart_ptr<T> does not // have to have already seen the invocation of wrapped_type<T>. // // Unfortunately, MSVC6 is so incredibly lame that we have to rely on the friend // technique to auto_generate standard pointer conversions for wrapped // types. This means that you need to write a non-templated function for each // specific smart_ptr<T> which you want to convert from_python. For example, // // namespace boost { namespace python { // #ifdef MUST_SUPPORT_MSVC // // MyPtr<Foo> from_python(PyObject*p, type<MyPtr<Foo> >) // { return smart_ptr_from_python(p, type<MyPtr<Foo> >(), type<Foo>());} // } // // MyPtr<Bar> from_python(PyObject*p, type<MyPtr<Bar> >) // { return smart_ptr_from_python(p, type<MyPtr<Bar> >(), type<Bar>());} // // ... // definitions for MyPtr<Baz>, MyPtr<Mumble>, etc. // // #else // // // Just once for all MyPtr<T> // template <class T> // MyPtr<T> from_python(PyObject*p, type<MyPtr<T> >) // { // return smart_ptr_from_python(p, type<MyPtr<T> >(), type<T>()); // } // // #endif // }} // namespace boost::python #if !defined(BOOST_MSVC6_OR_EARLIER) template <class T> boost::shared_ptr<T> from_python(PyObject*p, boost::python::type<boost::shared_ptr<T> >) { return smart_ptr_from_python(p, boost::python::type<boost::shared_ptr<T> >(), boost::python::type<T>()); } #endif #if 0 template <class T> PyObject* to_python(std::auto_ptr<T> p) { return new boost::python::wrapped_pointer<std::auto_ptr<T>, T>(p); } template <class T> PyObject* to_python(boost::shared_ptr<T> p) { return new boost::python::wrapped_pointer<boost::shared_ptr<T>, T>(p); } #endif // // inline implementations // #ifndef BOOST_MSVC6_OR_EARLIER inline PyObject* to_python(double d) { return PyFloat_FromDouble(d); } inline PyObject* to_python(float f) { return PyFloat_FromDouble(f); } #endif // BOOST_MSVC6_OR_EARLIER inline PyObject* to_python(long l) { return PyInt_FromLong(l); } inline PyObject* to_python(int x) { return PyInt_FromLong(x); } inline PyObject* to_python(short x) { return PyInt_FromLong(x); } inline PyObject* to_python(bool b) { return PyInt_FromLong(b); } inline PyObject* to_python(void) { return boost::python::detail::none(); } inline PyObject* to_python(const char* s) { return PyString_FromString(s); } inline std::string from_python(PyObject* p, boost::python::type<const std::string&>) { return from_python(p, boost::python::type<std::string>()); } inline PyObject* to_python(PyObject* p) { Py_INCREF(p); return p; } inline PyObject* from_python(PyObject* p, boost::python::type<PyObject*>) { return p; } inline const char* from_python(PyObject* p, boost::python::type<const char* const&>) { return from_python(p, boost::python::type<const char*>()); } inline double from_python(PyObject* p, boost::python::type<const double&>) { return from_python(p, boost::python::type<double>()); } inline float from_python(PyObject* p, boost::python::type<const float&>) { return from_python(p, boost::python::type<float>()); } inline int from_python(PyObject* p, boost::python::type<const int&>) { return from_python(p, boost::python::type<int>()); } inline short from_python(PyObject* p, boost::python::type<const short&>) { return from_python(p, boost::python::type<short>()); } inline long from_python(PyObject* p, boost::python::type<const long&>) { return from_python(p, boost::python::type<long>()); } inline bool from_python(PyObject* p, boost::python::type<const bool&>) { return from_python(p, boost::python::type<bool>()); } inline unsigned int from_python(PyObject* p, boost::python::type<const unsigned int&>) { return from_python(p, boost::python::type<unsigned int>()); } inline unsigned short from_python(PyObject* p, boost::python::type<const unsigned short&>) { return from_python(p, boost::python::type<unsigned short>()); } inline char from_python(PyObject* p, boost::python::type<const char&>) { return from_python(p, boost::python::type<char>()); } inline signed char from_python(PyObject* p, boost::python::type<const signed char&>) { return from_python(p, boost::python::type<signed char>()); } inline unsigned char from_python(PyObject* p, boost::python::type<const unsigned char&>) { return from_python(p, boost::python::type<unsigned char>()); } inline unsigned long from_python(PyObject* p, boost::python::type<const unsigned long&>) { return from_python(p, boost::python::type<unsigned long>()); } BOOST_PYTHON_END_CONVERSION_NAMESPACE #endif // METHOD_DWA122899_H_
[ "abelsoft@freemail.hu" ]
abelsoft@freemail.hu
0496f19262beda70adce7ff0b1e3af054f381e65
ba6811ba81f078d49d29de0c7d365a766ae41a50
/verletalgo2.cpp
35b21330162e46f2989fa5b7f38277aa1100b7b6
[]
no_license
japdhaes/dsap-project2
092c337ad60ca9c91fd90456ed4e95b0c6085500
ff95acc7308a6c0184b59dcc58259f53e7cad247
refs/heads/master
2021-01-01T15:59:57.676467
2013-03-14T15:59:57
2013-03-14T15:59:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
12,882
cpp
#include "verletalgo2.h" VerletAlgo2::VerletAlgo2(Crystal *crystal, double _h) { this->debugging.open("/home/jonathan/projectsFSAP/project2/project2/debuglog.txt"); this->crystall=crystal; this->h=_h; } void VerletAlgo2::integrate(bool thermalize){ //ofstream debugging; //debugging.open("/home/jonathan/projectsFSAP/project1/project1/debuglog2.txt", ios::app); crystall->energy=0; crystall->pressure=0; crystall->ke=0; crystall->pe=0; for(unsigned int i=0; i<crystall->allcells.size(); i++){ for(unsigned int j=0; j<crystall->allcells.at(i).size();j++){ for(unsigned int k=0; k<crystall->allcells.at(i).at(j).size(); k++){ crystall->allcells.at(i).at(j).at(k).visited=false; } } } for(unsigned int i=0; i<crystall->allatoms.size(); i++){ updateVelocity(crystall->allatoms[i]); updatePosition(crystall->allatoms[i]); vec3 nullvector; nullvector.zeros(); crystall->allatoms[i]->setAcceler(nullvector); crystall->allatoms[i]->localpressure=0; } this->crystall->msqdplm/=(this->crystall->numberofatoms-this->crystall->fixedatoms); for(unsigned int i=0; i<crystall->allcells.size(); i++){ for(unsigned int j=0; j<crystall->allcells.at(i).size();j++){ for(unsigned int k=0; k<crystall->allcells.at(i).at(j).size(); k++){ crystall->allcells.at(i).at(j).at(k).visited=true; Atom *atom = crystall->allcells.at(i).at(j).at(k).first; while(atom!=NULL){ updateAcceler(atom); atom=atom->nextAtom; } } } } crystall->pressure/=3*crystall->volume; crystall->pressure+=crystall->density*crystall->temperature(); // crystall->pressure*=pressureunit; for(unsigned int i=0; i<crystall->allatoms.size(); i++){ Atom *atom = crystall->allatoms[i]; if(atom->chemelement!="Fi"){ vec3 v=atom->getVelocity(); updateVelocity(atom); //kinetic energy of the atom in the crystal crystall->ke+=0.5*dot(v,v); } } crystall->energy= crystall->ke+crystall->pe; // cout <<"crystal energy "<<crystall->energy <<endl; if(thermalize){ thermostatBerendsen(); } if(crystall->beginenergy==0&&!thermalize){ crystall->beginenergy=crystall->energy; } } void VerletAlgo2::thermostatAnders(){ double tem=crystall->temperature(); double ratio = crystall->inittemp/tem; for(int i=0; i<crystall->allatoms.size();i++){ Atom *atom = crystall->allatoms[i]; vec3 velocity = atom->getVelocity(); atom->setVelocity(velocity*ratio); } } void VerletAlgo2::thermostatBerendsen(){ double tau=15.0*h; double tem=crystall->temperature(); double tbath=crystall->inittemp; double gamma = 1+h/tau*(tbath/tem-1); gamma=sqrt(gamma); for(int i=0; i<crystall->allatoms.size();i++){ Atom *atom = crystall->allatoms[i]; vec3 velocity = atom->getVelocity(); atom->setVelocity(velocity*gamma); } } void VerletAlgo2::thermostatAndersen(){ double tau=20.0*h; int nAtoms= crystall->numberofatoms; vec v = randu<vec>(nAtoms); double tem=this->crystall->inittemp; for(int i=0; i<nAtoms;i++){ if(v(i)<h/tau){ Atom *atom = crystall->allatoms[i]; vec3 v1; v1.zeros(); v1 << DRanNormalZigVec()*sqrt(tem)<< DRanNormalZigVec()*sqrt(tem)<< DRanNormalZigVec()*sqrt(tem); atom->setVelocity(v1); } } // } void VerletAlgo2::integrate_noapprox(){ //ofstream debugging; //debugging.open("/home/jonathan/projectsFSAP/project1/project1/debuglog2.txt", ios::app); for(unsigned int i=0; i<crystall->allatoms.size(); i++){ updateVelocity(crystall->allatoms[i]); updatePosition(crystall->allatoms[i]); vec3 nullvector; nullvector.zeros(); crystall->allatoms[i]->setAcceler(nullvector); } // cout << crystall->temperature()<<endl; for(unsigned int i=0; i<crystall->allatoms.size(); i++){ updateAccelerNoApprox(crystall->allatoms[i]); } for(unsigned int i=0; i<crystall->allatoms.size(); i++){ updateVelocity(crystall->allatoms[i]); } } void VerletAlgo2::updateAcceler(Atom *atom){ bool debugg=false; int i=0; Atom* otheratom=atom->nextAtom; while(otheratom!=NULL){ calcForce(atom, otheratom); i++; otheratom=otheratom->nextAtom; } // cout << "integrated "<<i<<" times to other atoms in the same cell"<<endl; i=0; //ofstream debugging; //debugging.open("/home/jonathan/projectsFSAP/project1/project1/debuglog2.txt", ios::app); //indices of cell atom is in nrXYZ: int nrXYZ[3]; vec3 r= atom->getPosition(); for(int i=0; i<3; i++){ nrXYZ[i]=int(r(i)/crystall->vectorBC(i)); } int nrX[3], nrY[3], nrZ[3]; findXYZCellIndices(nrXYZ, nrX, nrY, nrZ); //indices of all neighbouring cells are now in nrX, nrY and nrZ int l=0; for(int i=0; i<3; i++){ for(int j=0; j<3;j++){ for(int k=0;k<3;k++){ if(nrX[i]!=-1 &nrY[j]!=-1&nrZ[k]!=-1){ if(crystall->allcells.at(nrX[i]).at(nrY[j]).at(nrZ[k]).visited!=true){ otheratom = crystall->allcells.at(nrX[i]).at(nrY[j]).at(nrZ[k]).first; while(otheratom!=NULL){ calcForce(atom, otheratom); // cout << "integrating atom "<<atom->number<<" to other atom "<<otheratom->number<<endl; // cout << counter<<endl; otheratom=otheratom->nextAtom; } } } // cout << "integrated "<<l<<" times to other atoms in the other cells"<<endl; } } } // cout << "l="<<l<<endl; } void VerletAlgo2::updateAccelerNoApprox(Atom *atom){ bool debugg=false; //ofstream debugging; //debugging.open("/home/jonathan/projectsFSAP/project1/project1/debuglog2.txt", ios::app); //indices of cell atom is in nrXYZ: // int nrXYZ[3]; // vec3 r= atom->getPosition(); // for(int i=0; i<3; i++){ // nrXYZ[i]=int(r(i)/crystall->vectorBC(i)); // } // int nrX[3], nrY[3], nrZ[3]; // findXYZCellIndices(nrXYZ, nrX, nrY, nrZ); //indices of all neighbouring cells are now in nrX, nrY and nrZ for(int i=atom->number; i<crystall->allatoms.size();i++){ Atom* otheratom = crystall->allatoms[i]; calcForce(atom, otheratom); } } void VerletAlgo2::calcForce(Atom* atom, Atom* otheratom){ int i = atom->number; int j = otheratom->number; //ofstream debugging; //debugging.open("/home/jonathan/projectsFSAP/project1/project1/debuglog2.txt", ios::app); //stop if integrating atom with itself, should normally not happen if(i==j){ return; } vec3 position=atom->getPosition(); vec3 othervec=otheratom->getPosition(); vec3 closestvector = findClosestPosition(position, othervec); vec3 relvec = position - closestvector; vec3 relvec2 = position - othervec; double r2=dot(relvec,relvec); double r6=r2*r2*r2; double r12=r6*r6; vec3 oneacceler=atom->getAcceler(); vec3 otheracceler=otheratom->getAcceler(); crystall->pe+=2.0*LJpotential(relvec); for(int k=0; k<3; k++){ double temp = 24.0*(2.0/r12-1.0/r6)*relvec(k)/r2; // if(temp>cutoffacceleration){ //// cout << "CUTOFF"<<endl; //// cout << temp << endl; //// cout << "first atom "<<atom->number << " "<< position.t()<<endl; //// cout << "other atom "<<otheratom->number<< " "<< othervec.t()<<endl; // temp=cutoffacceleration; // } // else if(temp<-cutoffacceleration){ // cout << "CUTOFF"<<endl; // cout << temp << endl; // temp=-cutoffacceleration; // } oneacceler(k)+=temp; otheracceler(k)-=temp; atom->localpressure+=temp*relvec(k); otheratom->localpressure+=temp*relvec(k); crystall->pressure+=temp*relvec(k); } atom->setAcceler(oneacceler); otheratom->setAcceler(otheracceler); } //this function finds the cellindices of the neighbouring cells //it takes the minimal image convention into count //it puts all X, Y and Z indices of the neighbouring cells in the last 3 //function arguments //!!!!!!!!!!!!!!!!!function is debugged!!!!!!!!!!!! void VerletAlgo2::findXYZCellIndices(int* nrXYZ, int* nrX, int* nrY, int* nrZ){ //the maximum indices of cells in x, y and z direction int imax = crystall->allcells.size(); int jmax=crystall->allcells.at(0).size(); int kmax=crystall->allcells.at(0).at(0).size(); int i=0; for(int l=nrXYZ[0]-1; l<nrXYZ[0]+2; l++){ if(l<0){ nrX[i]=l+imax; } else if(l>=imax){ nrX[i]=l-imax; } else{ nrX[i]=l; } i++; } i=0; for(int l=nrXYZ[1]-1; l<nrXYZ[1]+2; l++){ if(l<0){ nrY[i]=l+jmax; } else if(l>=jmax){ nrY[i]=l-jmax; } else{ nrY[i]=l; } i++; } i=0; for(int l=nrXYZ[2]-1; l<nrXYZ[2]+2; l++){ if(l<0){ nrZ[i]=l+kmax; } else if(l>=kmax){ nrZ[i]=l-kmax; } else{ nrZ[i]=l; } i++; } for(i=0; i<3;i++){ for(int j=i+1;j<3; j++){ if(nrX[i]==nrX[j]){ // cout<< "lalala" <<endl; // cout<< "i "<<i << " j "<<j << " nrX "<< nrX[i]<<endl; nrX[j]=-1; } if(nrY[i]==nrY[j]){ // cout<< "lalala" <<endl; // cout<< "i "<<i << " j "<<j << " nrY "<< nrY[i]<<endl; nrY[j]=-1; } if(nrZ[i]==nrZ[j]){ // cout<< "lalala" <<endl; // cout<< "i "<<i << " j "<<j << " nrZ "<< nrZ[i]<<endl; nrZ[j]=-1; } } } } vec3 VerletAlgo2::findClosestPosition(vec3 &position, vec3 &otherposition){ vec3 answer; answer.fill(0); for(int i=0; i<3; i++){ double projectionother = otherposition(i); double projectionpos = position(i); double L=this->crystall->boundary(i); if(abs(projectionother-projectionpos)>L/2){ double distance=L; for(int j=-1; j<2; j+=2){ distance=abs(projectionpos-(projectionother+j*L)); if(distance<=L/2){ answer(i)=projectionother+j*L; } } } else{ answer(i)=projectionother; } } return answer; } void VerletAlgo2::updateVelocity(Atom *atom){ vec3 velocity=atom->getVelocity(); vec3 acceler=atom->getAcceler(); if(norm(acceler,2)>cutoffacceleration){ cout << atom->chemelement<<endl; cout << norm(acceler,2)<<endl; } velocity+=0.5*acceler*this->h; atom->setVelocity(velocity); } void VerletAlgo2::updatePosition(Atom *atom){ if(atom->chemelement=="Fi"){ return; } vec3 position=atom->getPosition(); vec3 velocity=atom->getVelocity(); int nrXYZ[3]; for(int i=0; i<3; i++){ nrXYZ[i]=int(position(i)/crystall->vectorBC(i)); } position+=velocity*this->h; atom->realposition+=velocity*this->h; vec3 finalposition =boundCheck(position); atom->setPosition(finalposition); for(int i=0; i<3; i++){ this->crystall->msqdplm+=(atom->realposition(i)-atom->initialposition(i))*(atom->realposition(i)-atom->initialposition(i)); } //if atom is not anymore in its cell if(!atom->currentcell->isAtomInCell(atom)){ atom->currentcell->removeelement(atom); int x,y,z; crystall->findCellOfAtom(atom, x, y, z); crystall->allcells.at(x).at(y).at(z).insertElement(atom); } } vec3 VerletAlgo2::boundCheck(vec3 &position){ vec3 boundvec = this->crystall->boundary; vec3 answer=position; for(int i=0; i<3; i++){ while(answer(i)<0){ //debugging << "summing boundvec at i="<<i<< " position(i)=" << position(i); answer(i)+=boundvec(i); //debugging << "new position(i) " << position(i) << endl; } while(answer(i)>=boundvec(i)){ answer(i)-=boundvec(i); } } return answer; } double VerletAlgo2::LJpotential(vec3 &relvec){ double r2=relvec(0)*relvec(0)+relvec(1)*relvec(1)+relvec(2)*relvec(2); double r6=r2*r2*r2; double r12=r6*r6; double answer=4.0*(1.0/r12-1.0/r6); if(answer<-1.2){ cout<<"potential energy "<< answer<< " relvec = "<<relvec.t()<<endl; } return answer; }
[ "jdhaese@gmail.com" ]
jdhaese@gmail.com
09572d365889e22381c15b4ce606663222da7041
fb2ef7b56b0e80dadcfd8359783cd9ba3732147d
/Intermediate/Build/Win64/UE4/Inc/CT6RIGPR_Arcade1/FallingFloor.generated.h
63c15afbc34dcd2bcbf3ba7c0b18a29beb04cdb2
[]
no_license
Luca-Mutton/CT6RIGPR_Arcade1
64291921287784f0f9975d3b4286aa542eddd9cd
796c5b00a1e4ca37dba7aaee1ca70ebb2ea0a227
refs/heads/master
2023-04-06T06:24:45.893407
2021-04-17T12:39:12
2021-04-17T12:39:12
311,083,874
0
0
null
2021-03-26T18:42:07
2020-11-08T14:44:00
C++
UTF-8
C++
false
false
4,015
h
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ===========================================================================*/ #include "UObject/ObjectMacros.h" #include "UObject/ScriptMacros.h" PRAGMA_DISABLE_DEPRECATION_WARNINGS #ifdef CT6RIGPR_ARCADE1_FallingFloor_generated_h #error "FallingFloor.generated.h already included, missing '#pragma once' in FallingFloor.h" #endif #define CT6RIGPR_ARCADE1_FallingFloor_generated_h #define CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_RPC_WRAPPERS #define CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_RPC_WRAPPERS_NO_PURE_DECLS #define CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_INCLASS_NO_PURE_DECLS \ private: \ static void StaticRegisterNativesAFallingFloor(); \ friend struct Z_Construct_UClass_AFallingFloor_Statics; \ public: \ DECLARE_CLASS(AFallingFloor, AActor, COMPILED_IN_FLAGS(0), CASTCLASS_None, TEXT("/Script/CT6RIGPR_Arcade1"), NO_API) \ DECLARE_SERIALIZER(AFallingFloor) #define CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_INCLASS \ private: \ static void StaticRegisterNativesAFallingFloor(); \ friend struct Z_Construct_UClass_AFallingFloor_Statics; \ public: \ DECLARE_CLASS(AFallingFloor, AActor, COMPILED_IN_FLAGS(0), CASTCLASS_None, TEXT("/Script/CT6RIGPR_Arcade1"), NO_API) \ DECLARE_SERIALIZER(AFallingFloor) #define CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_STANDARD_CONSTRUCTORS \ /** Standard constructor, called after all reflected properties have been initialized */ \ NO_API AFallingFloor(const FObjectInitializer& ObjectInitializer); \ DEFINE_DEFAULT_OBJECT_INITIALIZER_CONSTRUCTOR_CALL(AFallingFloor) \ DECLARE_VTABLE_PTR_HELPER_CTOR(NO_API, AFallingFloor); \ DEFINE_VTABLE_PTR_HELPER_CTOR_CALLER(AFallingFloor); \ private: \ /** Private move- and copy-constructors, should never be used */ \ NO_API AFallingFloor(AFallingFloor&&); \ NO_API AFallingFloor(const AFallingFloor&); \ public: #define CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_ENHANCED_CONSTRUCTORS \ private: \ /** Private move- and copy-constructors, should never be used */ \ NO_API AFallingFloor(AFallingFloor&&); \ NO_API AFallingFloor(const AFallingFloor&); \ public: \ DECLARE_VTABLE_PTR_HELPER_CTOR(NO_API, AFallingFloor); \ DEFINE_VTABLE_PTR_HELPER_CTOR_CALLER(AFallingFloor); \ DEFINE_DEFAULT_CONSTRUCTOR_CALL(AFallingFloor) #define CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_PRIVATE_PROPERTY_OFFSET #define CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_10_PROLOG #define CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_GENERATED_BODY_LEGACY \ PRAGMA_DISABLE_DEPRECATION_WARNINGS \ public: \ CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_PRIVATE_PROPERTY_OFFSET \ CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_RPC_WRAPPERS \ CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_INCLASS \ CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_STANDARD_CONSTRUCTORS \ public: \ PRAGMA_ENABLE_DEPRECATION_WARNINGS #define CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_GENERATED_BODY \ PRAGMA_DISABLE_DEPRECATION_WARNINGS \ public: \ CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_PRIVATE_PROPERTY_OFFSET \ CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_RPC_WRAPPERS_NO_PURE_DECLS \ CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_INCLASS_NO_PURE_DECLS \ CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h_13_ENHANCED_CONSTRUCTORS \ private: \ PRAGMA_ENABLE_DEPRECATION_WARNINGS template<> CT6RIGPR_ARCADE1_API UClass* StaticClass<class AFallingFloor>(); #undef CURRENT_FILE_ID #define CURRENT_FILE_ID CT6RIGPR_Arcade1_Source_CT6RIGPR_Arcade1_FallingFloor_h PRAGMA_ENABLE_DEPRECATION_WARNINGS
[ "lucamutton19@gmail.com" ]
lucamutton19@gmail.com
dd38589ea38b17e505d41e7560ebe2770fe648c7
1c94236c3bb97f54ac6ecdf265172bed65a79712
/02源代码/build-L1brary-Desktop_x86_darwin_generic_mach_o_32bit-Debug/ui_preorderbooks.h
7cee43a0af2d247f1fff37f5223942b908b166fa
[ "MIT" ]
permissive
Tangent617/L1brary
04d8715799ec659b05db9fb572c8ba9980792b00
f54310912498484cc6ce39064499f90de0454e09
refs/heads/main
2023-06-01T22:43:16.276586
2021-06-12T02:11:45
2021-06-12T02:11:45
321,987,448
5
1
null
null
null
null
UTF-8
C++
false
false
5,525
h
/******************************************************************************** ** Form generated from reading UI file 'preorderbooks.ui' ** ** Created by: Qt User Interface Compiler version 5.12.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ #ifndef UI_PREORDERBOOKS_H #define UI_PREORDERBOOKS_H #include <QtCore/QVariant> #include <QtWidgets/QApplication> #include <QtWidgets/QHeaderView> #include <QtWidgets/QLabel> #include <QtWidgets/QLineEdit> #include <QtWidgets/QMainWindow> #include <QtWidgets/QMenuBar> #include <QtWidgets/QPushButton> #include <QtWidgets/QStatusBar> #include <QtWidgets/QTableView> #include <QtWidgets/QWidget> QT_BEGIN_NAMESPACE class Ui_preorderBooks { public: QWidget *centralwidget; QTableView *tableView; QLabel *label_bookName; QLineEdit *lineEdit_bookName; QPushButton *pushButton_select; QPushButton *pushButton_showAllBooks; QPushButton *pushButton_rBorrow; QPushButton *pushButton_rRenew; QPushButton *pushButton_rReturn; QPushButton *pushButton_myBooks; QPushButton *pushButton_exit; QMenuBar *menubar; QStatusBar *statusbar; void setupUi(QMainWindow *preorderBooks) { if (preorderBooks->objectName().isEmpty()) preorderBooks->setObjectName(QString::fromUtf8("preorderBooks")); preorderBooks->resize(800, 600); centralwidget = new QWidget(preorderBooks); centralwidget->setObjectName(QString::fromUtf8("centralwidget")); tableView = new QTableView(centralwidget); tableView->setObjectName(QString::fromUtf8("tableView")); tableView->setGeometry(QRect(40, 90, 591, 421)); label_bookName = new QLabel(centralwidget); label_bookName->setObjectName(QString::fromUtf8("label_bookName")); label_bookName->setGeometry(QRect(50, 30, 60, 16)); lineEdit_bookName = new QLineEdit(centralwidget); lineEdit_bookName->setObjectName(QString::fromUtf8("lineEdit_bookName")); lineEdit_bookName->setGeometry(QRect(120, 30, 341, 21)); pushButton_select = new QPushButton(centralwidget); pushButton_select->setObjectName(QString::fromUtf8("pushButton_select")); pushButton_select->setGeometry(QRect(500, 30, 113, 32)); pushButton_showAllBooks = new QPushButton(centralwidget); pushButton_showAllBooks->setObjectName(QString::fromUtf8("pushButton_showAllBooks")); pushButton_showAllBooks->setGeometry(QRect(660, 120, 113, 32)); pushButton_rBorrow = new QPushButton(centralwidget); pushButton_rBorrow->setObjectName(QString::fromUtf8("pushButton_rBorrow")); pushButton_rBorrow->setGeometry(QRect(660, 240, 113, 32)); pushButton_rRenew = new QPushButton(centralwidget); pushButton_rRenew->setObjectName(QString::fromUtf8("pushButton_rRenew")); pushButton_rRenew->setGeometry(QRect(660, 300, 113, 32)); pushButton_rReturn = new QPushButton(centralwidget); pushButton_rReturn->setObjectName(QString::fromUtf8("pushButton_rReturn")); pushButton_rReturn->setGeometry(QRect(660, 360, 113, 32)); pushButton_myBooks = new QPushButton(centralwidget); pushButton_myBooks->setObjectName(QString::fromUtf8("pushButton_myBooks")); pushButton_myBooks->setGeometry(QRect(660, 180, 113, 32)); pushButton_exit = new QPushButton(centralwidget); pushButton_exit->setObjectName(QString::fromUtf8("pushButton_exit")); pushButton_exit->setGeometry(QRect(660, 420, 113, 32)); preorderBooks->setCentralWidget(centralwidget); menubar = new QMenuBar(preorderBooks); menubar->setObjectName(QString::fromUtf8("menubar")); menubar->setGeometry(QRect(0, 0, 800, 24)); preorderBooks->setMenuBar(menubar); statusbar = new QStatusBar(preorderBooks); statusbar->setObjectName(QString::fromUtf8("statusbar")); preorderBooks->setStatusBar(statusbar); retranslateUi(preorderBooks); QMetaObject::connectSlotsByName(preorderBooks); } // setupUi void retranslateUi(QMainWindow *preorderBooks) { preorderBooks->setWindowTitle(QApplication::translate("preorderBooks", "MainWindow", nullptr)); label_bookName->setText(QApplication::translate("preorderBooks", "\344\271\246\345\220\215\357\274\232", nullptr)); pushButton_select->setText(QApplication::translate("preorderBooks", "\346\237\245\350\257\242", nullptr)); pushButton_showAllBooks->setText(QApplication::translate("preorderBooks", "\346\230\276\347\244\272\346\211\200\346\234\211\344\271\246", nullptr)); pushButton_rBorrow->setText(QApplication::translate("preorderBooks", "\345\200\237\351\230\205", nullptr)); pushButton_rRenew->setText(QApplication::translate("preorderBooks", "\347\273\255\345\200\237", nullptr)); pushButton_rReturn->setText(QApplication::translate("preorderBooks", "\345\275\222\350\277\230", nullptr)); pushButton_myBooks->setText(QApplication::translate("preorderBooks", "\346\210\221\347\232\204\345\200\237\351\230\205", nullptr)); pushButton_exit->setText(QApplication::translate("preorderBooks", "\351\200\200\345\207\272\347\231\273\345\275\225", nullptr)); } // retranslateUi }; namespace Ui { class preorderBooks: public Ui_preorderBooks {}; } // namespace Ui QT_END_NAMESPACE #endif // UI_PREORDERBOOKS_H
[ "46188610+Tangent617@users.noreply.github.com" ]
46188610+Tangent617@users.noreply.github.com
2a3a8cce125f919282c3df8b9daccc172951fc75
388339ceb0eef4caf44d867e3dfc1083a7891bb5
/src/AtomError/OAtomError.cc
eab3133f5d7098816fa3a17f33e04ed7a6d3cc1a
[]
no_license
AenBleidd/atom-engine
1bd6300efcf4222eca882bfd3c3327018bbc9b52
b4b9aef08374320721f0ccd0e8a681c46fc45365
refs/heads/master
2021-06-16T14:13:21.559699
2017-04-29T14:47:03
2017-04-29T14:47:03
32,131,347
0
0
null
null
null
null
UTF-8
C++
false
false
92
cc
#include "OAtomError.h" OAtomLog::OAtomLog() { } OAtomLog::~OAtomLog() { }
[ "lestat.de.lionkur@gmail.com" ]
lestat.de.lionkur@gmail.com
0f892c6fe9b66a3f5dbe0f59ca054fc20279eae4
3fb221c1898d8e87cbe988dad01a8b55341d4e27
/Lab_7(AVL_trees)/Is_balanced_tree.cpp
23c3085d51f34f0f3ab820a69475d7be500428ef
[]
no_license
mileniummi/Algorithms_2019-20
8824d6a9a1c85c08d26a9b911ae08dc3e8247a7f
f1e82fa533335a649bfc1bd66c569dfc6180ffb0
refs/heads/main
2023-02-17T08:08:18.586847
2021-01-12T15:28:19
2021-01-12T15:28:19
328,367,093
0
0
null
null
null
null
UTF-8
C++
false
false
2,500
cpp
#include <iostream> #include <fstream> #include <vector> #include <queue> #include <map> using namespace std; class balanced_tree { public: struct Node { int k; Node* l; Node* r; Node* parent; int height; Node() { this->k = -1; this->l = nullptr; this->r = nullptr; this->parent = nullptr; this->height = 1; } }; Node* root; vector<Node> tree; map<int, int> balance; balanced_tree(int n) { root = nullptr; tree.resize(n); } void insert(int i, int k, int l, int r); unsigned int get_height(Node* v) { return v ? v->height : 0; } void find_root(); void find_height(); }; void balanced_tree::insert(int i, int k, int l, int r) { tree[i].k = k; if (l != -1) { tree[i].l = &tree[l]; tree[l].parent = &tree[i]; } if (r != -1) { tree[i].r = &tree[r]; tree[r].parent = &tree[i]; } return; } void balanced_tree::find_root() { for (int i = 0; i < tree.size(); i++) { if (tree[i].parent == nullptr) { root = &tree[i]; break; } } return; } void balanced_tree::find_height() { queue <Node*> q; for (int i = 0; i < tree.size(); ++i) { if (tree[i].l == nullptr && tree[i].r == nullptr) { q.push(&tree[i]); } } Node* v; int l_height, r_height; while (!q.empty()) { v = q.front(); q.pop(); l_height = get_height(v->l); r_height = get_height(v->r); balance[v->k] = r_height - l_height; if (v->parent != nullptr) { v->parent->height = max(v->height + 1, v->parent->height); q.push(v->parent); } } return; } int main() { ifstream fin; fin.open("balance.in"); ofstream fout; fout.open("balance.out"); int N; int K; int L; int R; fin >> N; if (N == 0) { fout << 0; return 0; } balanced_tree my_tree(N); vector<int> nodes(N); for (int i = 0; i < N; i++) { fin >> K >> L >> R; nodes[i] = K; my_tree.insert(i, K, L - 1, R - 1); } my_tree.find_root(); my_tree.find_height(); for (int i = 0; i < N; i++) { fout << my_tree.balance[nodes[i]] << "\n"; }
[ "kokosh2000@mail.ru" ]
kokosh2000@mail.ru
308171446d36fbbe03642488c7a0e9e0e2bdae65
cbcd71be0b0d46a385d10e27615fa0c93e0b13a4
/hw5/include/parser.h
a33a9faab85780aeaab83e198ec750ff4345489a
[]
no_license
thaikm9942/cscns171
32810b1d9b1d85009d89d36a8bd22e5af168bc9d
c0eb5336f46efc6fbcd4767250ac19d937fa212d
refs/heads/main
2023-01-22T06:32:12.341586
2020-12-09T04:59:53
2020-12-09T04:59:53
301,923,641
0
0
null
null
null
null
UTF-8
C++
false
false
1,329
h
#ifndef __PARSER_H__ #define __PARSER_H__ #include <sstream> #include <iostream> #include <fstream> #include "./scene.h" // This function parses an .obj file and returns the corresponding Object Object create_object(const char* filename); // This function parses a block of text containing the transformation matrices and returns // the corresponding transformation object Transform_Set create_transformation(ifstream &ifs); // This function parses blocks of text containing the camera information, the perspective // projection matrix parameters, and the light sources parameters // and returns an empty Scene with the given camera, perspective, and light source settings // and the given resolution. Scene create_scene(ifstream &ifs, int xres, int yres); // This function parse a block of text containing information about the light sources // returns a vector of Light objects with the correct parameters vector<Light> create_lights(ifstream &ifs); // THis function parse a block of text containing information about the material // properties of an Object and return a Material object with the correct parameters Material create_material(ifstream &ifs); // This function splits the string by the delimiter into a vector<string> of tokens vector<string> strsplit(string &s, char delim); #endif // #ifndef __PARSER_H__
[ "tkhong@caltech.edu" ]
tkhong@caltech.edu
27f635f5ef070df3e4369f9e30c232c626442768
801352b6cf770e69bf82d3745a8d914768e46c67
/Plugins/com.luizpestana.shivakinect/Sources/S3DX/S3DXAIEngineAPI.h
d1c53a101d2b240addba8fabd909e5b13a188c2f
[]
no_license
juaxix/shivakinect
ed7ab4eccd09f53ee92d8d15159c27965b7f6032
9011278f45fb3fc25cdd2e686ba9ef1433cf4984
refs/heads/master
2021-01-15T23:50:36.659919
2013-02-22T02:54:40
2013-02-22T02:54:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,066,909
h
//----------------------------------------------------------------------------- #ifndef __S3DXAIEngineAPI_h__ #define __S3DXAIEngineAPI_h__ //----------------------------------------------------------------------------- #include "S3DXMacros.h" #include "S3DXAIFunction.h" #include "S3DXAIVariables.h" //----------------------------------------------------------------------------- namespace S3DX { class AIEngineAPI ; } //----------------------------------------------------------------------------- namespace S3DX_MODULE_GUID { extern S3DX::AIEngineAPI *__pS3DXEAPIMI ; } //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- namespace S3DX //----------------------------------------------------------------------------- { class AIEngineAPI { public : //--------------------------------------------------------------------- // Virtual destructor : provided because of inheritence. // May not be needed to overload it. // virtual ~AIEngineAPI ( ) { } //--------------------------------------------------------------------- // Callback registering : this method will be called by the engine, // for each available callback, at plugin initialization time. // Once a callback is registered, it is be possible for the plugin to // use it to call the corresponding AI engine API function. // virtual void RegisterCallback ( uint32 _iCallbackID, AICallback _pCallback ) = 0 ; //--------------------------------------------------------------------- // Callback IDs (crc32 of the enum name) // enum { CallbackID_animation_setCurrentClip = 0x0C0B94C3, CallbackID_animation_getCurrentClip = 0x731527B4, CallbackID_animation_setPlaybackSpeed = 0xB3FBBF64, CallbackID_animation_getPlaybackSpeed = 0x81EDCD7D, CallbackID_animation_setPlaybackLevel = 0x26378D81, CallbackID_animation_getPlaybackLevel = 0x1421FF98, CallbackID_animation_setPlaybackKeyFrameBegin = 0xB910B1E5, CallbackID_animation_getPlaybackKeyFrameBegin = 0xAF7D5087, CallbackID_animation_setPlaybackKeyFrameEnd = 0xA3FC74B2, CallbackID_animation_getPlaybackKeyFrameEnd = 0x56AAADF3, CallbackID_animation_setPlaybackMode = 0x2C08CF1A, CallbackID_animation_getPlaybackMode = 0xE2163536, CallbackID_animation_setPlaybackCursor = 0xDBC245A7, CallbackID_animation_getPlaybackCursor = 0xBF9BFB15, CallbackID_animation_matchPlaybackCursor = 0x8F8AB851, CallbackID_animation_setSkeletonScale = 0x2FC07138, CallbackID_animation_getSkeletonScale = 0x1DD60321, CallbackID_animation_setObjectChannel = 0xD4AE3510, CallbackID_animation_getClipKeyFrameRangeMin = 0xE35831EA, CallbackID_animation_getClipKeyFrameRangeMax = 0xDF550EB3, CallbackID_animation_getClipName = 0x47C02FB5, CallbackID_animation_setPlaybackIgnoreNotAnimatedChannels = 0x052A0FF5, CallbackID_animation_getPlaybackIgnoreNotAnimatedChannels = 0xDC3B353E, CallbackID_animation_setPlaybackIgnoreIfCursorOutOfRange = 0xBE6A3950, CallbackID_animation_getPlaybackIgnoreIfCursorOutOfRange = 0x790A2EB9, CallbackID_application_getName = 0x31C05106, CallbackID_application_getPackDirectory = 0x2F7AB6F7, CallbackID_application_getUserCount = 0xD22CF14D, CallbackID_application_getUserAt = 0x1A09851A, CallbackID_application_getUser = 0xE270F949, CallbackID_application_getCurrentUser = 0x93FD7202, CallbackID_application_getCurrentUserScene = 0x443EC2F3, CallbackID_application_getCurrentUserSceneName = 0xC89DB4AB, CallbackID_application_setCurrentUserScene = 0xBE14F41B, CallbackID_application_getCurrentUserSceneTaggedObject = 0x18689D05, CallbackID_application_getCurrentUserAIVariable = 0xD034DD52, CallbackID_application_setCurrentUserAIVariable = 0xC6593C30, CallbackID_application_getCurrentUserAIState = 0x3D1397B0, CallbackID_application_playOverlayExternalMovie = 0xBB4A7585, CallbackID_application_playOverlayMovie = 0xC48499ED, CallbackID_application_stopOverlayMovie = 0x2AA921BF, CallbackID_application_isOverlayMoviePlaying = 0x36DA2A37, CallbackID_application_startCurrentUserScenePreloading = 0x333B99AB, CallbackID_application_getCurrentUserScenePreloadingStatus = 0x289178B3, CallbackID_application_forceModelToStayLoaded = 0x807CA3DD, CallbackID_application_forceResourceToStayLoaded = 0xEB1E6A4B, CallbackID_application_isModelLoaded = 0x2A746424, CallbackID_application_isResourceLoaded = 0x13182860, CallbackID_application_getCurrentUserMainCamera = 0x3A67E16D, CallbackID_application_getCurrentUserActiveCamera = 0x745B626E, CallbackID_application_setCurrentUserActiveCamera = 0xF49DAFC8, CallbackID_application_resetCurrentUserActiveCamera = 0xA12EFA53, CallbackID_application_getCurrentUserViewportAspectRatio = 0xD6917366, CallbackID_application_getCurrentUserViewportWidth = 0x7FC58DAC, CallbackID_application_getCurrentUserViewportHeight = 0x810FE85D, CallbackID_application_saveCurrentUserViewportToTexture = 0x96FBD1EF, CallbackID_application_getCurrentUserEnvironmentVariableCount = 0xD2DF6242, CallbackID_application_getCurrentUserEnvironmentVariableNameAt = 0x250D5AEE, CallbackID_application_setCurrentUserEnvironmentVariable = 0xB0CBBD6B, CallbackID_application_getCurrentUserEnvironmentVariable = 0xB2CAFD15, CallbackID_application_unsetCurrentUserEnvironmentVariable = 0x3B5F9AAD, CallbackID_application_clearCurrentUserEnvironment = 0x8CC96FBE, CallbackID_application_saveCurrentUserEnvironment = 0xF6ED565B, CallbackID_application_setCurrentUserEnvironmentName = 0x934BB704, CallbackID_application_getCurrentUserEnvironmentName = 0x42ED58D0, CallbackID_application_setCurrentUserEnvironmentTitle = 0xC5F5718E, CallbackID_application_setCurrentUserEnvironmentDescription = 0xE1F91424, CallbackID_application_loadCurrentUserEnvironment = 0x43850636, CallbackID_application_getCurrentUserEnvironmentVariableStatus = 0x403943F2, CallbackID_application_saveCurrentUserEnvironmentVariable = 0x10DC7B67, CallbackID_application_loadCurrentUserEnvironmentVariable = 0x44672DE9, CallbackID_application_setCurrentUserEnvironmentURL = 0xE553D031, CallbackID_application_getCurrentUserEnvironmentURL = 0xF8DBF595, CallbackID_application_checkCurrentUserEnvironmentLocalStorageDevice = 0x177B6221, CallbackID_application_checkCurrentUserEnvironmentLocalStorageSpace = 0x7C5406A8, CallbackID_application_checkCurrentUserEnvironmentLocalStorageWriteAccess = 0x1BC47815, CallbackID_application_checkCurrentUserEnvironmentLocalStorageExistence = 0x764DA92B, CallbackID_application_checkCurrentUserEnvironmentLocalStorageValidity = 0xF021971C, CallbackID_application_getLastFrameTime = 0x3E72C240, CallbackID_application_getAverageFrameTime = 0x5F393987, CallbackID_application_setMinFrameTime = 0x30A0AAF1, CallbackID_application_setMaxFrameTime = 0xA0D3BA1B, CallbackID_application_getTotalFrameTime = 0x3EB9A96C, CallbackID_application_resetTotalFrameTime = 0x7C026D14, CallbackID_application_resetAverageFrameTime = 0x24D68E6B, CallbackID_application_setFrameTimeFactor = 0xE029E253, CallbackID_application_getFrameTimeFactor = 0xC522694D, CallbackID_application_setOption = 0x007B4177, CallbackID_application_getOption = 0xF157520A, CallbackID_application_restart = 0x8E7A08D6, CallbackID_application_quit = 0x54EC708A, CallbackID_application_mightBeCracked = 0xF11E8373, CallbackID_cache_addFile = 0xAC10CECA, CallbackID_cache_addStreamFile = 0x8D35DCF2, CallbackID_cache_getFileStatus = 0x8F37AFA0, // Deprecated CallbackID_cache_pauseFileReceiving = 0xC52B6093, CallbackID_cache_resumeFileReceiving = 0xC68799E8, CallbackID_cache_cancelFileReceiving = 0xD809AB6E, CallbackID_cache_sendFile = 0x39ECE510, CallbackID_cache_getFileSendStatus = 0x7EBDFD75, // Deprecated CallbackID_cache_removeFile = 0x4BBEFA7C, CallbackID_cache_getFileProperty = 0xB83322F3, CallbackID_cache_getFileContentAsString = 0x78F451FB, CallbackID_cache_copyFileContent = 0x3A2B8193, // C/C++ addon CallbackID_cache_createFile = 0x8561FEF1, // C/C++ addon CallbackID_cache_empty = 0x8DF0CADB, CallbackID_camera_setFieldOfView = 0xBEC04DF6, CallbackID_camera_getFieldOfView = 0xC1DEFE81, CallbackID_camera_setMinViewDistance = 0xEC31F8DA, CallbackID_camera_getMinViewDistance = 0xC93A73C4, CallbackID_camera_setMaxViewDistance = 0xCB8A9FEB, CallbackID_camera_getMaxViewDistance = 0xEE8114F5, CallbackID_camera_projectPoint = 0x42C2654E, CallbackID_camera_unprojectPoint = 0x8533A523, CallbackID_camera_isPointInFrustum = 0x2EA8CDEF, CallbackID_camera_isSphereInFrustum = 0xFD750B3E, CallbackID_camera_setAspectRatioScale = 0x48741CD8, CallbackID_camera_getAspectRatioScale = 0xB25E2A30, CallbackID_camera_setMotionBlurFactor = 0x1247B807, CallbackID_camera_getMotionBlurFactor = 0xE86D8EEF, CallbackID_camera_setVelocityBlurFactor = 0xB08ABEBF, CallbackID_camera_getVelocityBlurFactor = 0xE997A8E8, CallbackID_camera_setDepthBlurFactor = 0x0C10BB8D, CallbackID_camera_getDepthBlurFactor = 0x291B3093, CallbackID_camera_setDepthBlurFocusRangeMin = 0xC545F3E6, CallbackID_camera_getDepthBlurFocusRangeMin = 0x66EF9E73, CallbackID_camera_setDepthBlurFocusRangeMax = 0xF948CCBF, CallbackID_camera_getDepthBlurFocusRangeMax = 0x5AE2A12A, CallbackID_camera_setDistortionFactor = 0xBDB3342A, CallbackID_camera_getDistortionFactor = 0x479902C2, CallbackID_camera_setDistortionAmplitude = 0x6DFC4EC8, CallbackID_camera_getDistortionAmplitude = 0x98AA9789, CallbackID_camera_setDistortionFrequency = 0x202E6ECA, CallbackID_camera_getDistortionFrequency = 0xD578B78B, CallbackID_camera_setDistortionTiling = 0xFB8629A4, CallbackID_camera_getDistortionTiling = 0x01AC1F4C, CallbackID_debug_drawLine = 0x393077CB, CallbackID_debug_getTotalMemoryUsed = 0xDDECC97B, CallbackID_dynamics_getBodyType = 0xAE9F6969, CallbackID_dynamics_createSphereBody = 0x87F0F727, CallbackID_dynamics_createBoxBody = 0xD6D859CC, CallbackID_dynamics_createCapsuleBody = 0xA528FD1D, CallbackID_dynamics_createCompositeBody = 0x6C2181AD, CallbackID_dynamics_addCompositeBodySphereGeometry = 0x62F0FF35, CallbackID_dynamics_addCompositeBodyBoxGeometry = 0x636504F7, CallbackID_dynamics_addCompositeBodyCapsuleGeometry = 0x0B9ABC77, CallbackID_dynamics_finalizeCompositeBody = 0x1C37D371, CallbackID_dynamics_destroyBody = 0x2B06690D, CallbackID_dynamics_setOffset = 0x3D93EF7D, CallbackID_dynamics_getOffset = 0xCCBFFC00, CallbackID_dynamics_setMass = 0x836E0C35, CallbackID_dynamics_getMass = 0x10FFB4E8, CallbackID_dynamics_setFriction = 0x42A16A71, CallbackID_dynamics_getFriction = 0x5C8EDD38, CallbackID_dynamics_setBounce = 0xE6A5D1F4, CallbackID_dynamics_getBounce = 0x1789C289, CallbackID_dynamics_setBounceThreshold = 0xBDA84877, CallbackID_dynamics_getBounceThreshold = 0x98A3C369, CallbackID_dynamics_setLinearDamping = 0xB157DD28, CallbackID_dynamics_setLinearDampingEx = 0x3736E125, CallbackID_dynamics_getLinearDamping = 0x8341AF31, CallbackID_dynamics_setAngularDamping = 0x65BCF35C, CallbackID_dynamics_setAngularDampingEx = 0xA0B384F3, CallbackID_dynamics_getAngularDamping = 0x01E54DEE, CallbackID_dynamics_addForce = 0xFEDAD148, CallbackID_dynamics_addTorque = 0x8C5DAFF6, CallbackID_dynamics_addLinearImpulse = 0xA18BEC30, CallbackID_dynamics_addAngularImpulse = 0xE2C93959, CallbackID_dynamics_getAngularVelocity = 0x54487AE7, CallbackID_dynamics_setAngularVelocity = 0x7143F1F9, CallbackID_dynamics_setAngularSpeedLimit = 0xBB730234, CallbackID_dynamics_getLinearVelocity = 0x42A61140, CallbackID_dynamics_setLinearVelocity = 0x26FFAFF2, CallbackID_dynamics_getLinearSpeed = 0xE0E939B4, CallbackID_dynamics_setLinearSpeedLimit = 0xD454F0B0, CallbackID_dynamics_setGuardBox = 0x6AAA23F1, CallbackID_dynamics_enableDynamics = 0x729BE41E, CallbackID_dynamics_enableCollisions = 0xD5392E0F, CallbackID_dynamics_enableRotations = 0xDC55C9D0, CallbackID_dynamics_enableGuardBox = 0x9FD5A601, CallbackID_dynamics_enableGravity = 0x825FC480, CallbackID_dynamics_enableAutoIdle = 0xB4621D36, CallbackID_dynamics_setAutoIdleLinearThreshold = 0xFA256390, CallbackID_dynamics_setAutoIdleAngularThreshold = 0x193ACF19, CallbackID_dynamics_setAutoIdleTime = 0x913772F3, CallbackID_dynamics_setIdle = 0x3349E246, CallbackID_dynamics_isIdle = 0x8BA95792, CallbackID_dynamics_getLastCollisionTime = 0x651FA19F, CallbackID_dynamics_getLastCollisionContactCount = 0xA523EF6D, CallbackID_dynamics_getLastCollisionContactPositionAt = 0x0492775A, CallbackID_dynamics_getLastCollisionContactNormalAt = 0x9D6F1EA4, CallbackID_dynamics_createBallJoint = 0xE18C0C95, CallbackID_dynamics_createSliderJoint = 0x4725A6E8, CallbackID_dynamics_createHingeJoint = 0x86E4742C, CallbackID_dynamics_createHinge2Joint = 0xC96D4E65, CallbackID_dynamics_createUniversalJoint = 0x47D4ECD3, CallbackID_dynamics_destroyJoint = 0xC6DB7C78, CallbackID_dynamics_setBallJointAnchor = 0x305276FC, CallbackID_dynamics_setSliderJointAxis = 0x3C13DE47, CallbackID_dynamics_setHingeJointAnchor = 0x25D64D37, CallbackID_dynamics_setHingeJointAxis = 0xF48155D2, CallbackID_dynamics_setHingeJointAxisAngleLimitMin = 0x0A1E3C5C, CallbackID_dynamics_setHingeJointAxisAngleLimitMax = 0x36130305, CallbackID_dynamics_setHingeJointAxisAngleLimitERP = 0xF9DE9F77, CallbackID_dynamics_setHingeJointAxisAngleLimitCFM = 0xB0FB5849, CallbackID_dynamics_setHinge2JointAnchor = 0x5C0B6C12, CallbackID_dynamics_setHinge2JointAxis1 = 0xEA6C5C13, CallbackID_dynamics_setHinge2JointAxis2 = 0x73650DA9, CallbackID_dynamics_setHinge2JointAxis1AngleLimitMin = 0x8200340F, CallbackID_dynamics_setHinge2JointAxis1AngleLimitMax = 0xBE0D0B56, CallbackID_dynamics_setHinge2JointAxis1AngleLimitERP = 0x71C09724, CallbackID_dynamics_setHinge2JointAxis1AngleLimitCFM = 0x38E5501A, CallbackID_dynamics_setHinge2JointAxis2MotorSpeedLimit = 0xF27DE27E, CallbackID_dynamics_setHinge2JointAxis2MotorAcceleration = 0xBF8B6AB5, CallbackID_dynamics_setHinge2JointAxis1SuspensionERP = 0xA824BD8E, CallbackID_dynamics_setHinge2JointAxis1SuspensionCFM = 0xE1017AB0, CallbackID_dynamics_setUniversalJointAnchor = 0xE3A02226, CallbackID_dynamics_setUniversalJointAxis1 = 0x91437E20, CallbackID_dynamics_setUniversalJointAxis2 = 0x084A2F9A, CallbackID_dynamics_setUniversalJointAxis1AngleLimitMin = 0xD774F5F7, CallbackID_dynamics_setUniversalJointAxis1AngleLimitMax = 0xEB79CAAE, CallbackID_dynamics_setUniversalJointAxis1AngleLimitERP = 0x24B456DC, CallbackID_dynamics_setUniversalJointAxis1AngleLimitCFM = 0x6D9191E2, CallbackID_dynamics_setUniversalJointAxis2AngleLimitMin = 0xAB15D02C, CallbackID_dynamics_setUniversalJointAxis2AngleLimitMax = 0x9718EF75, CallbackID_dynamics_setUniversalJointAxis2AngleLimitERP = 0x58D57307, CallbackID_dynamics_setUniversalJointAxis2AngleLimitCFM = 0x11F0B439, CallbackID_group_getSubObjectCount = 0xFC36F255, CallbackID_group_getSubObjectAt = 0x89D1AEB6, CallbackID_hashtable_isEmpty = 0x618A33AE, CallbackID_hashtable_getSize = 0xF1FA5EEF, CallbackID_hashtable_get = 0xB2F5BD3B, CallbackID_hashtable_getIndex = 0x1DA72AD4, CallbackID_hashtable_getAt = 0x76B14B62, CallbackID_hashtable_getKeyAt = 0x5CC6631B, CallbackID_hashtable_set = 0xA9DAB697, CallbackID_hashtable_empty = 0x124C263A, CallbackID_hashtable_add = 0xB2D4E0AC, CallbackID_hashtable_remove = 0x32FF4930, CallbackID_hashtable_contains = 0xE2FCA5EC, CallbackID_hud_checkValidity = 0xB225C06B, // Deprecated CallbackID_hud_newTemplateInstance = 0xF405A5D2, CallbackID_hud_destroyTemplateInstance = 0x88910A5F, CallbackID_hud_newComponent = 0x11603C8C, CallbackID_hud_newAction = 0x7619A140, CallbackID_hud_newTimer = 0xD173E3B4, CallbackID_hud_destroyComponent = 0x89B3A1A6, CallbackID_hud_destroyAction = 0x97662A9A, CallbackID_hud_destroyTimer = 0xA06021FF, CallbackID_hud_getComponentCount = 0xE1367778, CallbackID_hud_getActionCount = 0x5A662670, CallbackID_hud_getTimerCount = 0xB57665DA, CallbackID_hud_getComponentAt = 0x9E424E8E, CallbackID_hud_getActionAt = 0xECBB71BC, CallbackID_hud_getTimerAt = 0x34E3FCBA, CallbackID_hud_setInitialAction = 0xDF9F0F44, // Deprecated CallbackID_hud_setDefaultFont = 0x590EF84F, CallbackID_hud_getDefaultFontName = 0x2F8EF4FB, CallbackID_hud_setDefaultTextShadowColor = 0xB38F7B17, CallbackID_hud_getDefaultTextShadowColor = 0x10251682, CallbackID_hud_getComponent = 0x67FEBD1E, CallbackID_hud_getAction = 0xEB520D86, CallbackID_hud_setFocus = 0xB8492113, CallbackID_hud_setSoundBank = 0xBEF81C10, CallbackID_hud_getSoundBankName = 0x799E5B94, CallbackID_hud_playSound = 0x2BB8E5EF, CallbackID_hud_pauseSound = 0x664728DF, CallbackID_hud_resumeSound = 0x3A0047A7, CallbackID_hud_stopSound = 0xCA5BD921, CallbackID_hud_stopAllSounds = 0x7E921F03, CallbackID_hud_setSoundVolume = 0x6957DA39, CallbackID_hud_getSoundPlaybackProgress = 0x56B7D115, CallbackID_hud_isSoundPlaying = 0xF915AB9D, CallbackID_hud_isSoundPaused = 0xC502A560, CallbackID_hud_setCursorVisible = 0xE3BA3709, CallbackID_hud_setCursorPosition = 0x2DDEBFDE, CallbackID_hud_getCursorPosition = 0x4987016C, CallbackID_hud_forceCursorShape = 0xE316BCB7, CallbackID_hud_getComponentType = 0x08458D30, CallbackID_hud_setComponentZOrder = 0x31BC59D2, CallbackID_hud_getComponentZOrder = 0x14B7D2CC, CallbackID_hud_setComponentContainer = 0x140F5C1C, CallbackID_hud_getComponentContainer = 0x4D124A4B, CallbackID_hud_setComponentOrigin = 0x06FCCB49, CallbackID_hud_getComponentOrigin = 0x23F74057, CallbackID_hud_setComponentOffscreenOutput = 0x61F82D87, CallbackID_hud_setComponentPosition = 0x3D681892, CallbackID_hud_getComponentPosition = 0x934358EE, CallbackID_hud_setComponentSize = 0x414D8C6A, CallbackID_hud_getComponentSize = 0x735BFE73, CallbackID_hud_setComponentRotation = 0x52386496, CallbackID_hud_getComponentRotation = 0xFC1324EA, CallbackID_hud_setComponentOpacity = 0xB62AA4AC, CallbackID_hud_getComponentOpacity = 0x4C009244, CallbackID_hud_setComponentVisible = 0x8F672193, CallbackID_hud_setComponentActive = 0x93136155, CallbackID_hud_setComponentBackgroundImage = 0x9D47346C, CallbackID_hud_getComponentBackgroundImageName = 0x48E4CCA0, CallbackID_hud_setComponentBackgroundColor = 0x3E2C78DA, CallbackID_hud_getComponentBackgroundColor = 0x0119B8CA, CallbackID_hud_setComponentForegroundColor = 0xFF6BE478, CallbackID_hud_getComponentForegroundColor = 0xC05E2468, CallbackID_hud_setComponentBorderColor = 0xB3D62D64, CallbackID_hud_getComponentBorderColor = 0xB2F80ABB, CallbackID_hud_setComponentFillMode = 0x2384E1E0, CallbackID_hud_getComponentFillMode = 0x8DAFA19C, CallbackID_hud_setComponentBlendMode = 0x510B5313, CallbackID_hud_getComponentBlendMode = 0x08164544, CallbackID_hud_setComponentShapeType = 0x851D7511, CallbackID_hud_getComponentShapeType = 0xDC006346, CallbackID_hud_setComponentShapeRoundRectangleCornerRadius = 0x9535F9EA, CallbackID_hud_getComponentShapeRoundRectangleCornerRadius = 0xF8125E71, CallbackID_hud_setComponentOpacityWaveModifier = 0x277D73BF, CallbackID_hud_setComponentAspectInvariant = 0x60FAAC2E, CallbackID_hud_setComponentIgnoredByMouse = 0xB19EAB87, CallbackID_hud_setComponentAdjustedToNearestPixels = 0x69214BF0, CallbackID_hud_addComponentEventHandler = 0x4AB9C89C, CallbackID_hud_removeComponentEventHandler = 0x58FEF263, CallbackID_hud_getComponentScreenSpaceCenter = 0x27EB8F38, CallbackID_hud_getComponentScreenSpaceBottomLeftCorner = 0x74B86E4D, CallbackID_hud_getComponentScreenSpaceTopLeftCorner = 0x7886C495, CallbackID_hud_getComponentScreenSpaceBottomRightCorner = 0x2800CB48, CallbackID_hud_getComponentScreenSpaceTopRightCorner = 0xA004AF04, CallbackID_hud_matchComponentScreenSpaceCenter = 0x421E7E1C, CallbackID_hud_matchComponentScreenSpaceBottomLeftCorner = 0xDD866352, CallbackID_hud_matchComponentScreenSpaceTopLeftCorner = 0x1196CBBA, CallbackID_hud_matchComponentScreenSpaceBottomRightCorner = 0xA5A1F8B0, CallbackID_hud_matchComponentScreenSpaceTopRightCorner = 0x0BBC8252, CallbackID_hud_setComponentBackgroundImageUVOffset = 0x37267DC3, CallbackID_hud_getComponentBackgroundImageUVOffset = 0xF0466A2A, CallbackID_hud_setComponentBackgroundImageUVScale = 0xABF7D113, CallbackID_hud_getComponentBackgroundImageUVScale = 0x1C488C68, CallbackID_hud_setComponentBackgroundImageAddressingMode = 0xB48C45C3, CallbackID_hud_getComponentBackgroundImageAddressingMode = 0xF8C133DD, CallbackID_hud_isComponentVisible = 0x293EB9C2, CallbackID_hud_isComponentActive = 0x76DC57F0, CallbackID_hud_getComponentTag = 0x26127090, CallbackID_hud_setLabelText = 0xC32E827D, CallbackID_hud_getLabelText = 0xCC3054FE, CallbackID_hud_setLabelTextHeight = 0x5D7FEDC0, CallbackID_hud_getLabelTextHeight = 0x787466DE, CallbackID_hud_setLabelTextLetterSpacing = 0x1C5C652F, CallbackID_hud_getLabelTextLetterSpacing = 0xBFF608BA, CallbackID_hud_setLabelTextLineSpacing = 0x04A1843C, CallbackID_hud_getLabelTextLineSpacing = 0x058FA3E3, CallbackID_hud_setLabelTextAlignment = 0xB6331401, CallbackID_hud_getLabelTextAlignment = 0xEF2E0256, CallbackID_hud_setLabelTextCase = 0xAAB41BB3, CallbackID_hud_getLabelTextCase = 0x98A269AA, CallbackID_hud_setLabelTextEncoding = 0x2AF112CE, CallbackID_hud_getLabelTextEncoding = 0x84DA52B2, CallbackID_hud_setLabelTextDirection = 0xA4B7DBEE, CallbackID_hud_getLabelTextDirection = 0xFDAACDB9, CallbackID_hud_setLabelFont = 0x28312D68, CallbackID_hud_getLabelFontName = 0xF1E80636, CallbackID_hud_enableLabelTextAntialiasing = 0xF936556B, CallbackID_hud_isLabelTextAntialiasingEnabled = 0xEA48594A, CallbackID_hud_getLabelTextTotalLineCount = 0x99F4877D, CallbackID_hud_setEditText = 0xB1BAA90C, CallbackID_hud_getEditText = 0xAF951E45, CallbackID_hud_setEditTextHeight = 0x4E47E77C, CallbackID_hud_getEditTextHeight = 0x2A1E59CE, CallbackID_hud_setEditTextLetterSpacing = 0x89EF68AB, CallbackID_hud_getEditTextLetterSpacing = 0x9F8289C9, CallbackID_hud_setEditTextLineSpacing = 0xF5BC74F7, CallbackID_hud_getEditTextLineSpacing = 0x00EAADB6, CallbackID_hud_setEditTextAlignment = 0xA89A4372, CallbackID_hud_getEditTextAlignment = 0x06B1030E, CallbackID_hud_setEditTextCase = 0xE6092A45, CallbackID_hud_getEditTextCase = 0x2817D069, CallbackID_hud_setEditTextEncoding = 0x8254095C, CallbackID_hud_getEditTextEncoding = 0x787E3FB4, CallbackID_hud_setEditTextDirection = 0xBA1E8C9D, CallbackID_hud_getEditTextDirection = 0x1435CCE1, CallbackID_hud_setEditTextMaxLength = 0xBBA42B3D, CallbackID_hud_getEditTextMaxLength = 0x158F6B41, CallbackID_hud_setEditFont = 0x5AA50619, CallbackID_hud_getEditFontName = 0x415DBFF5, CallbackID_hud_setEditOnChangedAction = 0xBFEC11DF, CallbackID_hud_setEditSecure = 0xF968F3B7, CallbackID_hud_isEditSecure = 0x3407DF45, CallbackID_hud_enableEditTextAntialiasing = 0x6C0DD94E, CallbackID_hud_isEditTextAntialiasingEnabled = 0xACCCD313, CallbackID_hud_getEditTextTotalLineCount = 0x50D8D37A, CallbackID_hud_setCheckText = 0xA2065704, CallbackID_hud_getCheckText = 0xAD188187, CallbackID_hud_setCheckTextHeight = 0x1CD46726, CallbackID_hud_getCheckTextHeight = 0x39DFEC38, CallbackID_hud_setCheckTextLetterSpacing = 0xE7585063, CallbackID_hud_getCheckTextLetterSpacing = 0x44F23DF6, CallbackID_hud_setCheckTextLineSpacing = 0x1D9E2CD9, CallbackID_hud_getCheckTextLineSpacing = 0x1CB00B06, CallbackID_hud_setCheckTextAlignment = 0x9B34B2F3, CallbackID_hud_getCheckTextAlignment = 0xC229A4A4, CallbackID_hud_setCheckTextCase = 0x5029FC1A, CallbackID_hud_getCheckTextCase = 0x623F8E03, CallbackID_hud_setCheckTextEncoding = 0x2FB86D31, CallbackID_hud_getCheckTextEncoding = 0x81932D4D, CallbackID_hud_setCheckTextDirection = 0x89B07D1C, CallbackID_hud_getCheckTextDirection = 0xD0AD6B4B, CallbackID_hud_setCheckIcons = 0x089E4E84, CallbackID_hud_setCheckFont = 0x4919F811, CallbackID_hud_getCheckFontName = 0x0B75E19F, CallbackID_hud_setCheckOnCheckedAction = 0xF4DD42D7, CallbackID_hud_setCheckOnUncheckedAction = 0xB42A5BBF, CallbackID_hud_getCheckState = 0xD5D9004D, CallbackID_hud_setCheckState = 0xA167CC01, CallbackID_hud_enableCheckTextAntialiasing = 0x294F7C34, CallbackID_hud_isCheckTextAntialiasingEnabled = 0xCDE0AFCD, CallbackID_hud_getCheckTextTotalLineCount = 0xE6658EF3, CallbackID_hud_setButtonText = 0xA25CC7D1, CallbackID_hud_getButtonText = 0xD6E20B9D, CallbackID_hud_setButtonTextHeight = 0x2B91226C, CallbackID_hud_getButtonTextHeight = 0xD1BB1484, CallbackID_hud_setButtonTextLetterSpacing = 0xA559F6AA, CallbackID_hud_getButtonTextLetterSpacing = 0x259F3B0C, CallbackID_hud_setButtonTextLineSpacing = 0x45412B21, CallbackID_hud_getButtonTextLineSpacing = 0x532CCA43, CallbackID_hud_setButtonTextAlignment = 0x6D81B48D, CallbackID_hud_getButtonTextAlignment = 0x98D76DCC, CallbackID_hud_setButtonTextCase = 0xFCE4B89F, CallbackID_hud_getButtonTextCase = 0x98BD062D, CallbackID_hud_setButtonTextEncoding = 0x239848E4, CallbackID_hud_getButtonTextEncoding = 0x7A855EB3, CallbackID_hud_setButtonTextDirection = 0x7F057B62, CallbackID_hud_getButtonTextDirection = 0x8A53A223, CallbackID_hud_setButtonFont = 0x494368C4, CallbackID_hud_getButtonFontName = 0xF1F769B1, CallbackID_hud_setButtonOnClickAction = 0xEE6E2C50, CallbackID_hud_setButtonOnClickedAction = 0xA51EEC97, CallbackID_hud_enableButtonTextAntialiasing = 0x44533B52, CallbackID_hud_isButtonTextAntialiasingEnabled = 0xC00D67FB, CallbackID_hud_getButtonTextTotalLineCount = 0xBB6CF8F7, CallbackID_hud_setMovieClip = 0xBE372D7B, CallbackID_hud_setMovieExternalClip = 0xCF2F17FF, CallbackID_hud_getMovieBufferingProgress = 0x295CD13B, CallbackID_hud_getMoviePlaybackProgress = 0x0B4288C7, CallbackID_hud_getMoviePlaybackCursor = 0xC9D5A50F, CallbackID_hud_setMovieTransparentColor = 0x59F9952C, CallbackID_hud_playMovie = 0xCE68D404, CallbackID_hud_pauseMovie = 0x83971934, CallbackID_hud_stopMovie = 0x2F8BE8CA, CallbackID_hud_setRenderMap = 0x0DE0447F, CallbackID_hud_getRenderMapName = 0xA807B9A6, CallbackID_hud_setPixelMap = 0xEE903298, CallbackID_hud_getPixelMapName = 0x59E796C4, CallbackID_hud_getPixelMap = 0xF0BF85D1, CallbackID_hud_setProgressValue = 0x9CFA1A97, CallbackID_hud_getProgressValue = 0xAEEC688E, CallbackID_hud_setProgressType = 0xBF8A39FD, CallbackID_hud_getProgressType = 0x7194C3D1, CallbackID_hud_getListItemCount = 0x2CA7EB49, CallbackID_hud_addListItem = 0xFC672486, CallbackID_hud_removeListItemAt = 0x9C5747A8, CallbackID_hud_selectListItemAt = 0x6EACD08E, CallbackID_hud_removeListAllItems = 0x986B89D2, CallbackID_hud_selectListAllItems = 0x35DEFEEA, CallbackID_hud_getListItemTextAt = 0x9FCF1238, CallbackID_hud_setListItemTextAt = 0xFB96AC8A, CallbackID_hud_setListItemIconAt = 0x17E101EF, CallbackID_hud_setListItemsHeight = 0xD9600CBE, CallbackID_hud_getListItemsHeight = 0xFC6B87A0, CallbackID_hud_setListItemsBackgroundImage = 0xBDCF31F4, CallbackID_hud_getListItemsBackgroundImageName = 0xFEEFF58B, CallbackID_hud_setListItemsBackgroundColor = 0x1EA47D42, CallbackID_hud_setListItemsBackgroundColorOdd = 0xF7FD21F7, CallbackID_hud_getListItemsBackgroundColorOdd = 0x769291D5, CallbackID_hud_setListItemsBackgroundColorEven = 0x32229F77, CallbackID_hud_getListItemsBackgroundColorEven = 0xE7C3B123, CallbackID_hud_setListItemsBackgroundImageSelected = 0x1C030942, CallbackID_hud_getListItemsBackgroundImageSelectedName = 0x2D12F27E, CallbackID_hud_setListItemsBackgroundColorSelected = 0xDA85D3B0, CallbackID_hud_getListItemsBackgroundColorSelected = 0x1DE5C459, CallbackID_hud_setListItemsForegroundColorSelected = 0xDCADD4B6, CallbackID_hud_getListItemsForegroundColorSelected = 0x1BCDC35F, CallbackID_hud_setListTextLeftMargin = 0x91721DF4, CallbackID_hud_getListTextLeftMargin = 0xC86F0BA3, CallbackID_hud_setListTextRightMargin = 0x50570C50, CallbackID_hud_getListTextRightMargin = 0xA501D511, CallbackID_hud_setListTextHeight = 0x41127DDF, CallbackID_hud_getListTextHeight = 0x254BC36D, CallbackID_hud_setListTextLetterSpacing = 0xEBC1C490, CallbackID_hud_getListTextLetterSpacing = 0xFDAC25F2, CallbackID_hud_setListTextLineSpacing = 0xFD2960E5, CallbackID_hud_getListTextLineSpacing = 0x087FB9A4, CallbackID_hud_setListTextFont = 0x2824DD24, CallbackID_hud_getListTextFontName = 0x6A673086, CallbackID_hud_setListTextCase = 0x80B84CF2, CallbackID_hud_getListTextCase = 0x4EA6B6DE, CallbackID_hud_setListTextEncoding = 0x17A49379, CallbackID_hud_getListTextEncoding = 0xED8EA591, CallbackID_hud_setListTextDirection = 0xF18FA840, CallbackID_hud_getListTextDirection = 0x5FA4E83C, CallbackID_hud_enableListTextAntialiasing = 0x9FBC3D12, CallbackID_hud_isListTextAntialiasingEnabled = 0x7C1891A9, CallbackID_hud_getListColumnCount = 0x06716DA6, CallbackID_hud_addListColumn = 0xB3CC5486, CallbackID_hud_setListColumnTextAlignmentAt = 0xE8271F8F, CallbackID_hud_setListColumnWidthAt = 0xA8769104, CallbackID_hud_enableListSelection = 0x3DD54AA5, CallbackID_hud_enableListSingleSelection = 0xFAB0D21D, CallbackID_hud_enableListSingleSelectionToggling = 0x2AA1ED3F, CallbackID_hud_enableListSmoothScrolling = 0xFE62F075, CallbackID_hud_enableListFingerScrolling = 0x4CD93A47, // Warning: wrong CRC CallbackID_hud_enableListMouseWheelHandling = 0xB37E05C5, CallbackID_hud_getListSelectedItemCount = 0x15FCFA34, CallbackID_hud_getListSelectedItemAt = 0x728F1E6D, CallbackID_hud_setListVerticalScrollPos = 0x0CBE389D, CallbackID_hud_getListVerticalScrollPos = 0x1AD3D9FF, CallbackID_hud_setListVerticalScrollBarWidth = 0x975A5B7C, CallbackID_hud_setListVerticalScrollBarArrowHeight = 0x6BBE1CDC, CallbackID_hud_setListScrollBarBackgroundColor = 0x38D62516, CallbackID_hud_setListScrollBarForegroundColor = 0xF991B9B4, CallbackID_hud_setListScrollBarArrowColor = 0x0B9F7B9E, CallbackID_hud_setListScrollBarBackgroundImages = 0xCD43D18A, CallbackID_hud_setListScrollBarForegroundImages = 0xF55A54D2, CallbackID_hud_setListScrollBarArrowImages = 0x2E1393C6, CallbackID_hud_setListOnSelectionChangedAction = 0x590C0EFF, CallbackID_hud_setSliderType = 0x59EDC812, CallbackID_hud_getSliderType = 0x2D53045E, CallbackID_hud_setSliderRange = 0x225980F2, CallbackID_hud_getSliderRange = 0x5D473385, CallbackID_hud_setSliderValue = 0xACA9828F, CallbackID_hud_getSliderValue = 0xD3B731F8, CallbackID_hud_setSliderThumbImage = 0x84408136, // Warning: wrong CRC CallbackID_hud_setSliderOnChangedAction = 0xBAB65C88, CallbackID_hud_beginActionCommand = 0x7EE31CCD, CallbackID_hud_pushActionCommandArgument = 0xDF2046B2, CallbackID_hud_pushActionCommandRuntimeArgument = 0xF89743C8, CallbackID_hud_endActionCommand = 0x6A64FA3D, CallbackID_hud_setTimerOnTickAction = 0x36E4696B, CallbackID_hud_setTimerTickTime = 0xEEDBECE1, CallbackID_hud_callAction = 0x0E4A7960, CallbackID_hud_stopAction = 0xE1420EEF, CallbackID_hud_pauseAction = 0xBBEBCD05, CallbackID_hud_resumeAction = 0xE5697364, CallbackID_hud_stopAllActions = 0x5674D3C6, CallbackID_hud_pauseAllActions = 0x8824E5C9, CallbackID_hud_resumeAllActions = 0x4118208F, CallbackID_hud_isActionRunning = 0x9403E47A, CallbackID_hud_isActionPaused = 0x6F9B582E, CallbackID_hud_getUnderCursorComponent = 0x7B49CE20, CallbackID_hud_getUnderCursorListItem = 0x8CC29BDB, CallbackID_hud_getFocusedComponent = 0xA58D9C44, CallbackID_hud_enterModalMode = 0xDD00E362, CallbackID_hud_leaveModalMode = 0xF2420136, CallbackID_hud_getComponentAtPoint = 0x9FA503E7, CallbackID_input_setJoypadVibrationsMagnitude = 0x7BB71948, CallbackID_input_getJoypadType = 0x552514F7, CallbackID_input_enableJoypadMotionSensors = 0x4AA54853, CallbackID_input_enableJoypadIRMotionSensors = 0xF373F185, CallbackID_input_enableMultiTouch = 0xDCFA5AAA, CallbackID_input_enableVirtualMouse = 0xDFE69328, CallbackID_input_setVirtualMousePosition = 0x5EC6AC3F, CallbackID_input_setVirtualMouseButtonDown = 0xB7AA2BC5, CallbackID_light_getType = 0x4E235895, CallbackID_light_isDynamic = 0x1DEA611D, CallbackID_light_isActive = 0xB9B17637, CallbackID_light_setActive = 0x62FDD1A7, CallbackID_light_setColor = 0x5CB27590, CallbackID_light_getColor = 0xA4434A41, CallbackID_log_message = 0x7347F97E, CallbackID_log_warning = 0x85B455C7, CallbackID_log_error = 0x7069629B, CallbackID_math_clamp = 0xD2393966, CallbackID_math_interpolate = 0xDA2969A9, CallbackID_math_sin = 0x464F82CF, CallbackID_math_cos = 0x6F35EAE0, CallbackID_math_tan = 0x8BD91E42, CallbackID_math_asin = 0xD7751C04, CallbackID_math_acos = 0xFE0F742B, CallbackID_math_atan = 0x1AE38089, CallbackID_math_atan2 = 0x8EAB6609, CallbackID_math_min = 0x50F70CB5, CallbackID_math_max = 0x6CFA33EC, CallbackID_math_sqrt = 0x7AB5659E, CallbackID_math_resetRandomSeed = 0x3BEE1942, CallbackID_math_random = 0xEFF03FF4, CallbackID_math_gaussianRandom = 0xE08B4A79, CallbackID_math_pow = 0x763833D0, CallbackID_math_floor = 0xCC7F98B2, CallbackID_math_trunc = 0x04834BE9, CallbackID_math_roundToNearestInteger = 0xA75D6C82, CallbackID_math_roundToNearestPowerOfTwo = 0x52FAD7EA, CallbackID_math_ceil = 0x8BD96A61, CallbackID_math_abs = 0xD91F40C3, CallbackID_math_mod = 0xE678422D, CallbackID_math_log = 0x7EB379A0, CallbackID_math_log10 = 0x26832E23, CallbackID_math_evaluateBSpline = 0x3CDF24BE, CallbackID_math_evaluateBezier = 0x2C09638D, CallbackID_math_evaluateCatmullRom = 0xD7BFECAA, CallbackID_math_computeRayPlaneIntersection = 0x1FE83EDD, CallbackID_math_computeRaySphereIntersection = 0x926BAD4B, CallbackID_math_computeRayAABoxIntersection = 0x66F626F2, CallbackID_math_vectorAdd = 0x21244DA0, CallbackID_math_vectorSubtract = 0xD80753CB, CallbackID_math_vectorDotProduct = 0xDC92D2C0, CallbackID_math_vectorCrossProduct = 0x7FC56AAE, CallbackID_math_vectorNormalize = 0x5679BCBE, CallbackID_math_vectorLength = 0xF40C03FD, CallbackID_math_vectorScale = 0x921F3DD3, CallbackID_math_vectorInterpolate = 0x36DC1C3C, CallbackID_math_vectorReflect = 0x6812E3D5, CallbackID_math_vectorSetLength = 0x8033F48B, CallbackID_mesh_getSubsetCount = 0x173F69C0, CallbackID_mesh_getSubsetVertexCount = 0x6052CBEE, CallbackID_mesh_getSubsetIndexCount = 0x041A3CB1, CallbackID_mesh_getSubsetLODCount = 0xF5692F32, CallbackID_mesh_addSubset = 0x170A22F8, CallbackID_mesh_removeSubset = 0xCDAAF3C7, CallbackID_mesh_createSubsetVertexBuffer = 0xFC73B640, CallbackID_mesh_destroySubsetVertexBuffer = 0x8C4CF344, CallbackID_mesh_createSubsetIndexBuffer = 0x35CA1E9D, CallbackID_mesh_destroySubsetIndexBuffer = 0x607B9598, CallbackID_mesh_lockSubsetVertexBuffer = 0x4B6B4F74, CallbackID_mesh_unlockSubsetVertexBuffer = 0xDAE9AA84, CallbackID_mesh_lockSubsetIndexBuffer = 0x906F11E3, CallbackID_mesh_unlockSubsetIndexBuffer = 0x76E676AD, CallbackID_mesh_setSubsetVertexPosition = 0x695CFF07, CallbackID_mesh_getSubsetVertexPosition = 0x6872D8D8, CallbackID_mesh_setSubsetVertexNormal = 0x9C733A37, CallbackID_mesh_getSubsetVertexNormal = 0xC56E2C60, CallbackID_mesh_setSubsetVertexTexCoord = 0x34FC40FB, CallbackID_mesh_getSubsetVertexTexCoord = 0x35D26724, CallbackID_mesh_setSubsetIndexValue = 0x669E160F, CallbackID_mesh_getSubsetIndexValue = 0x9CB420E7, CallbackID_mesh_getResourceHandle = 0xC1022106, CallbackID_mesh_setSubsetVertexBufferDynamic = 0xAB50CAF1, CallbackID_mesh_isSubsetVertexBufferDynamic = 0x49F18979, CallbackID_mesh_setSubsetIndexBufferDynamic = 0x2B8B93F4, CallbackID_mesh_isSubsetIndexBufferDynamic = 0x32B20F3D, CallbackID_mesh_computeSubsetVertexNormals = 0xA47F23C3, CallbackID_mesh_computeSubsetVertexTangents = 0x59807A23, CallbackID_mesh_updateBoundingVolumes = 0xD39C8E06, CallbackID_microphone_setRate = 0xE5C21961, CallbackID_microphone_enable = 0x2620D09B, CallbackID_microphone_getActivityLevel = 0xFB2CD432, CallbackID_microphone_enableSpectrumAnalyzer = 0x3A9BFD99, CallbackID_microphone_setSpectrumWidth = 0x395AC68A, CallbackID_microphone_getSpectrumWidth = 0x0B4CB493, CallbackID_microphone_getSpectrumLevels = 0x5D7ACD4F, CallbackID_microphone_setRecordingQuality = 0xC74C589A, CallbackID_microphone_startRecordingAsMusic = 0x7C3D73DC, CallbackID_microphone_stopRecording = 0x58125909, CallbackID_microphone_startDiffusion = 0x54B50A55, CallbackID_microphone_stopDiffusion = 0xBA793301, CallbackID_microphone_addUserToDiffusionList = 0xB5847290, CallbackID_microphone_removeUserFromDiffusionList = 0xF38AA6D2, CallbackID_microphone_isUserInDiffusionList = 0x2E20451C, CallbackID_microphone_emptyDiffusionList = 0x6B7D14EB, CallbackID_microphone_getDiffusionListUserCount = 0xA5E4A776, CallbackID_microphone_getDiffusionListUserIDAt = 0xFC952E9D, CallbackID_music_play = 0x5FB0363B, CallbackID_music_stop = 0xB86FFE37, CallbackID_music_setVolume = 0x0D13C7B9, CallbackID_music_getPlaybackProgress = 0xD3540E59, CallbackID_music_playAdditional = 0x0ADED058, CallbackID_navigation_setTargetNode = 0x73239262, CallbackID_navigation_setAcceleration = 0x215C1BC6, CallbackID_navigation_getAcceleration = 0xEF42E1EA, CallbackID_navigation_setSpeedLimit = 0x70D7CB86, CallbackID_navigation_getSpeedLimit = 0x046907CA, CallbackID_navigation_setHeightOffset = 0xCE9FAAFA, CallbackID_navigation_getHeightOffset = 0x008150D6, CallbackID_navigation_getNode = 0xF046C0B1, CallbackID_navigation_getTargetNode = 0x079D5E2E, CallbackID_navigation_getTargetNodeDistance = 0x692AC3D4, CallbackID_navigation_getSpeed = 0xB583F1DB, CallbackID_navigation_getVelocity = 0xAF694808, CallbackID_navigation_setRandomTargetNode = 0xA3FFB4A8, CallbackID_navigation_setNearestTargetNode = 0x64960E87, CallbackID_navigation_setNearestNode = 0x53E5A216, CallbackID_navigation_setPathMaxLength = 0x643F7A15, CallbackID_navigation_getPathMaxLength = 0x5629080C, CallbackID_navigation_getPathNodeCount = 0xB740E8F4, CallbackID_navigation_getPathNodeAt = 0x0451EEC5, CallbackID_navigation_enableNodesInBox = 0xA0299941, CallbackID_navigation_enableNode = 0x667B9821, CallbackID_navigation_getNodeTranslation = 0x86AC0B9D, CallbackID_navigation_isNodeOnBorder = 0x1019F515, CallbackID_navigation_isNodeEnabled = 0x643A6224, CallbackID_network_authenticate = 0x25A464A7, CallbackID_network_disconnect = 0xECB0977B, CallbackID_network_getStatus = 0x7A67AF6C, CallbackID_network_getServerCount = 0x261C68D4, CallbackID_network_getServerNameAt = 0x3C95AF95, CallbackID_network_setCurrentServer = 0x8E441880, CallbackID_network_getCurrentServer = 0xBC526A99, CallbackID_network_createServer = 0xC8E22D2E, CallbackID_network_searchForServers = 0x2F9BB08E, CallbackID_object_getHashCode = 0x7AB8B1B2, CallbackID_object_isEqualTo = 0xB1F1E88C, CallbackID_object_isKindOf = 0x685C51D5, CallbackID_object_hasController = 0xF2216611, CallbackID_object_getScene = 0x815B09FF, CallbackID_object_getParent = 0x76D296EE, CallbackID_object_setParent = 0x87FE8593, CallbackID_object_getModelName = 0x1E38CEC5, CallbackID_object_enableDistanceClipping = 0xD37C6EF9, CallbackID_object_setDistanceClippingThresholds = 0x7EA13C1F, CallbackID_object_setDistanceClippingFadeTime = 0xF67FF304, CallbackID_object_setCanBeReflected = 0xF187DC5B, CallbackID_object_setCanBeRefracted = 0x3DDB1970, CallbackID_object_canBeReflected = 0xD9B92458, CallbackID_object_canBeRefracted = 0x15E5E173, CallbackID_object_sendEvent = 0x60981D3B, CallbackID_object_postEvent = 0xCD0AC2A3, CallbackID_object_setTransformOption = 0xFCD11F40, CallbackID_object_getTransformOption = 0xD9DA945E, CallbackID_object_getTranslation = 0x2C08FB28, CallbackID_object_getRotation = 0xCABE092C, CallbackID_object_getScale = 0xB464C3A1, CallbackID_object_getDirection = 0xC6CBBD4B, CallbackID_object_getXAxis = 0x53DB4CEE, CallbackID_object_getYAxis = 0x6EBB655E, CallbackID_object_getZAxis = 0x291B1F8E, CallbackID_object_resetTranslation = 0xBBBA3385, CallbackID_object_matchTranslation = 0x9531DA22, CallbackID_object_setTranslation = 0x5316485F, CallbackID_object_translate = 0xE9059367, CallbackID_object_translateTo = 0x01B920FD, CallbackID_object_resetRotation = 0xB0F3E88D, CallbackID_object_matchRotation = 0x4E5374BC, CallbackID_object_setRotation = 0xD491BE65, CallbackID_object_setRotationYPR = 0x10A0885A, CallbackID_object_setRotationAxisAngle = 0xD1374149, CallbackID_object_rotate = 0x94A8E02D, CallbackID_object_rotateYPR = 0x1514ACB0, CallbackID_object_rotateAxisAngle = 0xC672EB4F, CallbackID_object_rotateTo = 0xC223DA59, CallbackID_object_rotateToYPR = 0x192FE8BB, CallbackID_object_rotateToAxisAngle = 0x2FF663C1, CallbackID_object_rotateAround = 0x972995B2, CallbackID_object_lookAt = 0xEF7A34CA, CallbackID_object_lookAtWithUp = 0x43D50D5F, CallbackID_object_setUniformScale = 0xCCD8878C, CallbackID_object_setScale = 0x4C95FC70, CallbackID_object_isActive = 0x238692BA, CallbackID_object_setVisible = 0xF56F0643, CallbackID_object_isVisible = 0xBF624B89, CallbackID_object_getDistanceToObject = 0x11176C28, CallbackID_object_getBoundingSphereRadius = 0x4E34C2DE, CallbackID_object_getBoundingSphereCenter = 0x35B847A0, CallbackID_object_getBoundingBoxMin = 0x2C542D6A, CallbackID_object_getBoundingBoxMax = 0x10591233, CallbackID_object_addAIModel = 0x8FC8F3EC, CallbackID_object_removeAIModel = 0x42D9BBB7, CallbackID_object_getAIModelCount = 0x15BA28D3, CallbackID_object_getAIModelNameAt = 0xA2C29C76, CallbackID_object_hasAIModel = 0x4F34A55B, CallbackID_object_hasAIEventHandler = 0xB28114A1, CallbackID_object_getAIVariable = 0x4C197394, CallbackID_object_setAIVariable = 0x38A7BFD8, CallbackID_object_getAIState = 0x9D1006E1, CallbackID_object_setSoundBank = 0x68796CA1, CallbackID_object_setAnimBank = 0x48484C56, CallbackID_object_transformVector = 0x241838E9, CallbackID_object_transformPoint = 0x74D39C82, CallbackID_pixelmap_getResourceHandle = 0xD27289FB, CallbackID_pixelmap_getWidth = 0x16E7B355, CallbackID_pixelmap_getHeight = 0x450780DB, CallbackID_pixelmap_lock = 0x5527937E, CallbackID_pixelmap_unlock = 0x4B009383, CallbackID_pixelmap_setPixel = 0x1DBEED89, CallbackID_pixelmap_getPixel = 0xE54FD258, CallbackID_pixelmap_setPixels = 0x8F774A62, // C/C++ addon for speed CallbackID_pixelmap_getPixels = 0x7E5B591F, // C/C++ addon for speed CallbackID_pixelmap_createBrushFromTexture = 0x09B99A08, CallbackID_pixelmap_createBrushFromRectangle = 0xF7A2E6DD, CallbackID_pixelmap_destroyBrush = 0x11149B5F, CallbackID_pixelmap_getBrushCount = 0x91BD2060, CallbackID_pixelmap_getBrushOrigin = 0x30EB5356, CallbackID_pixelmap_setBrushOrigin = 0x4FF5E021, CallbackID_pixelmap_getBrushWidth = 0x987E212D, CallbackID_pixelmap_getBrushHeight = 0x1B57E047, CallbackID_pixelmap_setPenColor = 0x851441AE, CallbackID_pixelmap_setPenBrush = 0x12E5DB84, CallbackID_pixelmap_setPenMode = 0xB6C81223, CallbackID_pixelmap_setFillColor = 0x5F5C52E3, CallbackID_pixelmap_setFillBrush = 0xC8ADC8C9, CallbackID_pixelmap_setFillMode = 0x9E638F48, CallbackID_pixelmap_setBlendMode = 0x89BB9FA7, CallbackID_pixelmap_drawPoint = 0xDA50609B, CallbackID_pixelmap_drawLine = 0xF963E0E3, CallbackID_pixelmap_drawRectangle = 0xAC95AAE1, CallbackID_pixelmap_saveToTexture = 0x64D2909B, CallbackID_projector_setColor = 0xB39D8A1A, CallbackID_projector_getColor = 0x4B6CB5CB, CallbackID_projector_setOpacity = 0x0906A94F, CallbackID_projector_getOpacity = 0x274388DD, CallbackID_projector_setFieldOfView = 0xAD7774EC, CallbackID_projector_getFieldOfView = 0xD269C79B, CallbackID_projector_setMinClipDistance = 0x4CA45376, CallbackID_projector_getMinClipDistance = 0x69AFD868, CallbackID_projector_setMaxClipDistance = 0x6B1F3447, CallbackID_projector_getMaxClipDistance = 0x4E14BF59, CallbackID_projector_setMap = 0xC187D194, CallbackID_projector_playMapMovie = 0xA3252139, CallbackID_projector_pauseMapMovie = 0xE4BCEA86, CallbackID_projector_stopMapMovie = 0x72E450AF, CallbackID_scene_getName = 0x0B577580, CallbackID_scene_getUserCount = 0x1E2FFC1A, CallbackID_scene_getUserAt = 0x4BD36491, CallbackID_scene_sendEventToAllUsers = 0x23D81920, CallbackID_scene_sendEventToAllObjects = 0x6AF56808, CallbackID_scene_getTaggedObjectCount = 0x48357ED1, CallbackID_scene_getTaggedObjectAt = 0x0288EB8F, CallbackID_scene_getTaggedObjectTagAt = 0x77940D03, CallbackID_scene_getTaggedObject = 0xC8D8D8E3, CallbackID_scene_getObjectTag = 0x033BC9D6, CallbackID_scene_setRuntimeObjectTag = 0x2E1E9923, CallbackID_scene_createRuntimeObject = 0x61011526, CallbackID_scene_destroyRuntimeObject = 0x80B90141, CallbackID_scene_combineRuntimeObjectsGroup = 0x3ED75781, CallbackID_scene_setBackgroundColor = 0xF116EA89, CallbackID_scene_getBackgroundColor = 0xD41D6197, CallbackID_scene_setBackgroundOpacity = 0x1ED85345, CallbackID_scene_getBackgroundOpacity = 0xB0F31339, CallbackID_scene_setBackgroundTexture = 0xDF433351, CallbackID_scene_setBackgroundTextureUVOffset = 0x55EB4CDE, CallbackID_scene_setBackgroundTextureUVScale = 0xBBDB134F, CallbackID_scene_setBackgroundTextureAddressingMode = 0x58F1EC25, CallbackID_scene_setBackgroundTextureFilteringMode = 0xBD6F7794, CallbackID_scene_setSkyBoxColor = 0xE75CCC34, CallbackID_scene_getSkyBoxColor = 0x98427F43, CallbackID_scene_setSkyBoxFaceMap = 0xEE2A38DA, CallbackID_scene_setAmbientColor = 0xFD39B522, CallbackID_scene_getAmbientColor = 0x33274F0E, CallbackID_scene_setShadowAmbientColor = 0xDFB5A07D, CallbackID_scene_getShadowAmbientColor = 0x86A8B62A, CallbackID_scene_setFogDensity = 0xB153A686, CallbackID_scene_getFogDensity = 0xC5ED6ACA, CallbackID_scene_setFogColor = 0xF0064D8D, CallbackID_scene_getFogColor = 0xEE29FAC4, CallbackID_scene_createOcean = 0xF1EE5F62, CallbackID_scene_destroyOcean = 0xF500181C, CallbackID_scene_setOceanWavesAmplitude = 0x21839B29, CallbackID_scene_getOceanWavesAmplitude = 0xD4D54268, CallbackID_scene_setOceanWavesMeanHeight = 0x7DC463C7, CallbackID_scene_getOceanWavesMeanHeight = 0x7CEA4418, CallbackID_scene_setOceanWavesFrequency = 0x6C51BB2B, CallbackID_scene_getOceanWavesFrequency = 0x9907626A, CallbackID_scene_setOceanUnderwaterFogDensity = 0x796515C3, CallbackID_scene_getOceanUnderwaterFogDensity = 0x64ED3067, CallbackID_scene_setOceanUnderwaterFogColor = 0x1C5B67C6, CallbackID_scene_getOceanUnderwaterFogColor = 0x9C9DAA60, CallbackID_scene_setOceanSurfaceColor = 0xB049BE8D, CallbackID_scene_getOceanSurfaceColor = 0x1E62FEF1, CallbackID_scene_setOceanSurfaceColorFactor = 0xC40FB1E2, CallbackID_scene_getOceanSurfaceColorFactor = 0x44C97C44, CallbackID_scene_setOceanSurfaceColorMaxDistance = 0x0B4E6CD0, CallbackID_scene_getOceanSurfaceColorMaxDistance = 0xDEAF4284, CallbackID_scene_getOceanHeight = 0x71E4E819, CallbackID_scene_getOceanNormal = 0xA52C65F2, CallbackID_scene_setOceanFoamMap = 0x8F59B934, CallbackID_scene_setOceanFoamMapTiling = 0x72F1C7F3, CallbackID_scene_getOceanFoamMapTiling = 0x2BECD1A4, CallbackID_scene_setOceanNormalMapTiling = 0x44776442, CallbackID_scene_getOceanNormalMapTiling = 0x4559439D, CallbackID_scene_setOceanReflectionNoiseScale = 0x26ADA631, CallbackID_scene_getOceanReflectionNoiseScale = 0x3B258395, CallbackID_scene_setOceanRefractionNoiseScale = 0xA4E98B5D, CallbackID_scene_getOceanRefractionNoiseScale = 0xB961AEF9, CallbackID_scene_setOceanFresnelPower = 0x7ECF935A, CallbackID_scene_getOceanFresnelPower = 0xD0E4D326, CallbackID_scene_setOceanFresnelBias = 0x67547479, CallbackID_scene_getOceanFresnelBias = 0x9D7E4291, CallbackID_scene_setOceanReflectorBias = 0x01E0DFF4, CallbackID_scene_getOceanReflectorBias = 0x58FDC9A3, CallbackID_scene_setColorLevels = 0x6DECFAE2, CallbackID_scene_getColorLevels = 0x12F24995, CallbackID_scene_setColorSaturation = 0x42D34A2C, CallbackID_scene_getColorSaturation = 0x67D8C132, CallbackID_scene_setColorContrast = 0x43B24EFB, CallbackID_scene_getColorContrast = 0x71A43CE2, CallbackID_scene_setMonochromeFilter = 0xAA2272B5, CallbackID_scene_getMonochromeFilter = 0x5008445D, CallbackID_scene_setBloomIntensity = 0x4C18616D, CallbackID_scene_getBloomIntensity = 0x2841DFDF, CallbackID_scene_setBloomThreshold = 0x4ED0F369, CallbackID_scene_getBloomThreshold = 0x2A894DDB, CallbackID_scene_setBloomColoring = 0x2C18D5CD, CallbackID_scene_getBloomColoring = 0x1E0EA7D4, CallbackID_scene_setBloomMotionBlurFactor = 0xEBEB7AC3, CallbackID_scene_getBloomMotionBlurFactor = 0xFD869BA1, CallbackID_scene_getObjectCount = 0xF5A8B1FA, CallbackID_scene_getObjectAt = 0xD829A83C, CallbackID_scene_getFirstHitCollider = 0x48B7F12D, CallbackID_scene_getFirstHitColliderEx = 0x78998063, CallbackID_scene_getFirstHitColliderWithID = 0xF6B29518, CallbackID_scene_getFirstHitColliderWithIDEx = 0x90775991, CallbackID_scene_getFirstHitSensor = 0xF44980E6, CallbackID_scene_getFirstHitSensorWithID = 0xE3D2D4F0, CallbackID_scene_getFirstHitSensorWithIDInRange = 0x304BA5A1, CallbackID_scene_getFirstHitTerrainChunk = 0x1AD1A4A4, CallbackID_scene_getTerrainHeight = 0x816DA5A5, CallbackID_scene_getTerrainNormal = 0x55A5284E, CallbackID_scene_getTerrainStatus = 0x0F2025B6, CallbackID_scene_setTerrainTextureFilteringMode = 0x03EA0D79, CallbackID_scene_setTerrainLODSwitchThreshold = 0x7C5996A5, CallbackID_scene_setTerrainVegetationLayerMaxVisibleInstances = 0x61B52666, CallbackID_scene_setTerrainVegetationLayerVisible = 0xB3892DB6, CallbackID_scene_setTerrainVegetationLayerTextureFilteringMode = 0x63814E56, CallbackID_scene_getTerrainVegetationLayerCount = 0x54777D68, CallbackID_scene_setDynamicsTimeStep = 0xF2FFDF06, CallbackID_scene_getDynamicsTimeStep = 0x08D5E9EE, CallbackID_scene_setDynamicsIterationsPerStep = 0x91E37159, CallbackID_scene_getDynamicsIterationsPerStep = 0x8C6B54FD, CallbackID_scene_setPaused = 0x4D96EED7, CallbackID_scene_setPerPixelLightingMinScreenSize = 0x75FF5451, CallbackID_scene_getPerPixelLightingMinScreenSize = 0x192C2092, CallbackID_scene_setNormalMappingMinScreenSize = 0xA2F2DDCC, CallbackID_scene_getNormalMappingMinScreenSize = 0x73543218, CallbackID_scene_setNormalMappingFadeScreenSize = 0x9895EC1C, CallbackID_scene_getNormalMappingFadeScreenSize = 0x19FA5C3E, CallbackID_scene_setSpecularLightingMinScreenSize = 0x6C6E8474, CallbackID_scene_getSpecularLightingMinScreenSize = 0x00BDF0B7, CallbackID_scene_setSpecularLightingFadeScreenSize = 0x5DE14BFB, CallbackID_scene_getSpecularLightingFadeScreenSize = 0x5FE00B85, CallbackID_scene_setDynamicShadowsFadeDistance = 0x022EC868, CallbackID_scene_getDynamicShadowsFadeDistance = 0xD38827BC, CallbackID_scene_setDynamicShadowsMaxDistance = 0x9E69D830, CallbackID_scene_getDynamicShadowsMaxDistance = 0x83E1FD94, CallbackID_sensor_getCount = 0x9D39FE26, CallbackID_sensor_setActiveAt = 0xAE727832, CallbackID_sensor_isActiveAt = 0xE1C349B9, CallbackID_sensor_setAllActive = 0x0580432E, CallbackID_sensor_removeAll = 0xAC0A5E7B, CallbackID_sensor_removeAt = 0xAAA1D337, CallbackID_sensor_add = 0x4E6CBD02, CallbackID_sensor_getIDAt = 0xF90EBA3F, CallbackID_sensor_setIDAt = 0x6A9F02E2, CallbackID_sensor_getShapeTypeAt = 0x02B1E7F9, CallbackID_sensor_setSphereCenterAt = 0xFF57DC2F, CallbackID_sensor_setSphereRadiusAt = 0xD3398474, CallbackID_sensor_getSphereCenterAt = 0x9B0E629D, CallbackID_sensor_getSphereRadiusAt = 0xB7603AC6, CallbackID_sensor_setBoxCenterAt = 0xD8F5066A, CallbackID_sensor_setBoxSizeAt = 0x36CF7575, CallbackID_sensor_getBoxCenterAt = 0xA7EBB51D, CallbackID_sensor_getBoxSizeAt = 0x39D1A3F6, CallbackID_server_getStatus = 0xB1F6F61C, CallbackID_server_getName = 0x66B9D127, CallbackID_server_getCurrentPingDelay = 0x31372229, CallbackID_server_getAveragePingDelay = 0x14B214B3, CallbackID_server_getSessionCount = 0x76DF1C7A, CallbackID_server_getSessionNameAt = 0x0DABE20E, CallbackID_server_getSessionUserCountAt = 0xFF7A8360, CallbackID_server_setCurrentSession = 0x3B1409C8, CallbackID_server_getCurrentSession = 0x5F4DB77A, CallbackID_server_sendEvent = 0xE132789A, CallbackID_session_getStatus = 0xBE208A8F, CallbackID_session_getName = 0x35BD7087, CallbackID_sfx_getParticleEmitterCount = 0xA72053DF, CallbackID_sfx_startParticleEmitterAt = 0x4853F133, CallbackID_sfx_startAllParticleEmitters = 0x282A6EA8, CallbackID_sfx_stopParticleEmitterAt = 0x168211E4, CallbackID_sfx_stopAllParticleEmitters = 0x465981D9, CallbackID_sfx_pauseParticleEmitterAt = 0x0FD4E367, CallbackID_sfx_pauseAllParticleEmitters = 0x0544C037, CallbackID_sfx_setParticleEmitterTranslationAt = 0xA8F7D457, CallbackID_sfx_setParticleEmitterRotationAt = 0x2916B330, CallbackID_sfx_setParticleEmitterUniformScaleAt = 0x52429319, CallbackID_sfx_setParticleEmitterGenerationRateAt = 0x1FA051EE, CallbackID_sfx_setParticleEmitterLifeTimeFactorAt = 0xAAB1ABEF, CallbackID_sfx_setParticleEmitterInitialSpeedFactorAt = 0x219E450E, CallbackID_sfx_getParticleEmitterUniformScaleAt = 0x3E91E7DA, CallbackID_sfx_getParticleEmitterGenerationRateAt = 0xA81F0C95, CallbackID_sfx_getParticleEmitterLifeTimeFactorAt = 0x1D0EF694, CallbackID_sfx_getParticleEmitterInitialSpeedFactorAt = 0xCF9C4B28, CallbackID_sfx_getParticleEmitterAliveParticleCountAt = 0x9F31848D, CallbackID_sfx_getTrailCount = 0x5E939406, CallbackID_sfx_setTrailAnchor0At = 0x30BF09F0, CallbackID_sfx_setTrailAnchor1At = 0x317D63C7, CallbackID_sfx_startTrailAt = 0x34394A32, CallbackID_sfx_pauseTrailAt = 0x1529F42F, CallbackID_sfx_stopTrailAt = 0x5EF024F9, CallbackID_sfx_startAllTrails = 0x07AD397E, CallbackID_sfx_pauseAllTrails = 0xD418EAF9, CallbackID_sfx_stopAllTrails = 0x85A9116D, CallbackID_shape_setMeshOpacity = 0xE5B1625F, CallbackID_shape_getMeshOpacity = 0x9AAFD128, CallbackID_shape_getMeshSubsetCount = 0x476739A1, CallbackID_shape_setMeshSubsetMaterial = 0x0002D229, CallbackID_shape_getMeshSubsetMaterialName = 0x3CBADFC5, CallbackID_shape_setMeshMaterial = 0x231DB192, CallbackID_shape_compareMeshSubsetMaterial = 0x067CE1E5, CallbackID_shape_enableMeshFrustumCulling = 0x9F2D2734, CallbackID_shape_overrideMeshSubsetMaterialEmissive = 0xCCB01696, CallbackID_shape_overrideMeshSubsetMaterialAmbient = 0xB6D4F927, CallbackID_shape_overrideMeshSubsetMaterialDiffuse = 0x5B64CD9E, CallbackID_shape_overrideMeshSubsetMaterialSpecular = 0xC2BF18AB, CallbackID_shape_overrideMeshSubsetMaterialOpacity = 0xB6387689, CallbackID_shape_overrideMeshSubsetMaterialOpacityThreshold = 0x9E5D9D6B, CallbackID_shape_overrideMeshSubsetMaterialEffectIntensity = 0x8994761C, CallbackID_shape_getMeshSubsetMaterialEmissiveOverride = 0xE77D5836, CallbackID_shape_getMeshSubsetMaterialAmbientOverride = 0x1BF90495, CallbackID_shape_getMeshSubsetMaterialDiffuseOverride = 0x44E25843, CallbackID_shape_getMeshSubsetMaterialSpecularOverride = 0xE7EC6973, CallbackID_shape_getMeshSubsetMaterialOpacityOverride = 0xBBE6B0C9, CallbackID_shape_getMeshSubsetMaterialOpacityThresholdOverride = 0x0A5B163C, CallbackID_shape_getMeshSubsetMaterialEffectIntensityOverride = 0xCF7AA55B, CallbackID_shape_overrideMeshMaterialEmissive = 0x90D514FA, CallbackID_shape_overrideMeshMaterialAmbient = 0x60BC919C, CallbackID_shape_overrideMeshMaterialDiffuse = 0x8D0CA525, CallbackID_shape_overrideMeshMaterialSpecular = 0x9EDA1AC7, CallbackID_shape_overrideMeshSubsetMaterialEffectMap0 = 0x7F0EAC89, CallbackID_shape_overrideMeshMaterialEffectMap0 = 0x5848B56B, CallbackID_shape_overrideMeshSubsetMaterialEffectMap1 = 0x08099C1F, CallbackID_shape_overrideMeshMaterialEffectMap1 = 0x2F4F85FD, CallbackID_shape_overrideMeshSubsetMaterialNormalMap = 0x667ED10C, CallbackID_shape_overrideMeshMaterialNormalMap = 0x2226997D, CallbackID_shape_overrideMeshSubsetMaterialSpecularMap = 0xA708685C, CallbackID_shape_overrideMeshMaterialSpecularMap = 0xE92BAD11, CallbackID_shape_getMeshSubsetMaterialEffectMap0 = 0xCEA8AD18, CallbackID_shape_getMeshSubsetMaterialEffectMap1 = 0xB9AF9D8E, CallbackID_shape_getMeshSubsetMaterialNormalMap = 0xCB966437, CallbackID_shape_getMeshSubsetMaterialSpecularMap = 0x20B16D8F, CallbackID_shape_getMeshSubsetMaterialEffectMap0Override = 0x513D39BA, CallbackID_shape_getMeshSubsetMaterialEffectMap1Override = 0x46462DF9, CallbackID_shape_getMeshSubsetMaterialNormalMapOverride = 0xDE7E7AB5, CallbackID_shape_getMeshSubsetMaterialSpecularMapOverride = 0x0B583134, CallbackID_shape_setMeshSubsetMaterialEffectMap0AdditionalUVOffset = 0xD9F04229, CallbackID_shape_setMeshSubsetMaterialEffectMap0AdditionalUVScale = 0x73A91711, CallbackID_shape_setMeshSubsetMaterialEffectMap0AdditionalUVRotation = 0x0F6149ED, CallbackID_shape_setMeshSubsetMaterialEffectMap1AdditionalUVOffset = 0x0E12C271, CallbackID_shape_setMeshSubsetMaterialEffectMap1AdditionalUVScale = 0x9CFBA1F0, CallbackID_shape_setMeshSubsetMaterialEffectMap1AdditionalUVRotation = 0x90BBCA73, CallbackID_shape_getMeshSubsetMaterialEffectMap0AdditionalUVOffset = 0x11BC28DB, CallbackID_shape_getMeshSubsetMaterialEffectMap0AdditionalUVScale = 0xE8926523, CallbackID_shape_getMeshSubsetMaterialEffectMap0AdditionalUVRotation = 0x848C8AD8, CallbackID_shape_getMeshSubsetMaterialEffectMap1AdditionalUVOffset = 0xC65EA883, CallbackID_shape_getMeshSubsetMaterialEffectMap1AdditionalUVScale = 0x07C0D3C2, CallbackID_shape_getMeshSubsetMaterialEffectMap1AdditionalUVRotation = 0x1B560946, CallbackID_shape_playMeshSubsetMaterialEffectMap0Movie = 0x7279E7DB, CallbackID_shape_pauseMeshSubsetMaterialEffectMap0Movie = 0x5B8A3FAF, CallbackID_shape_stopMeshSubsetMaterialEffectMap0Movie = 0x648A0E78, CallbackID_shape_getMeshSubsetMaterialEffectMap0MovieBufferingProgress = 0x71F1F5B7, CallbackID_shape_getMeshSubsetMaterialEffectMap0MoviePlaybackProgress = 0xCE2A15FA, CallbackID_shape_getMeshSubsetMaterialEffectMap0MoviePlaybackCursor = 0x62D3E029, CallbackID_shape_setMeshSubsetMaterialEffectMap0MovieTransparentColor = 0xDCC4C093, CallbackID_shape_getMesh = 0x4C375707, CallbackID_shape_getMeshName = 0xE5587C3B, CallbackID_shape_getMeshTriangleCount = 0x73571800, CallbackID_shape_getMeshVertexCount = 0xC0599F18, CallbackID_shape_getSkeletonName = 0x4D331633, CallbackID_shape_getSkeletonJointCount = 0x13BD0D1A, CallbackID_shape_getSkeletonJointNameAt = 0x407CE147, CallbackID_shape_createRuntimeMesh = 0x1E3D5E0F, CallbackID_shape_overrideSkeletonJointTranslation = 0xC0F899D0, CallbackID_shape_overrideSkeletonJointRotation = 0xE2B33E2F, CallbackID_shape_setSkeletonJointCustomScale = 0xB1A963F4, CallbackID_shape_getSkeletonJointTranslation = 0x4B2154ED, CallbackID_shape_getSkeletonJointRotation = 0x18FAF082, CallbackID_shape_getSkeletonJointXAxis = 0x9D9DE3B3, CallbackID_shape_getSkeletonJointYAxis = 0xA0FDCA03, CallbackID_shape_getSkeletonJointZAxis = 0xE75DB0D3, CallbackID_shape_getSkeletonJointParentJointName = 0xA5B274D1, CallbackID_shape_addSkeletonCloneModifier = 0xBB850722, CallbackID_shape_addCurve = 0x28966410, CallbackID_shape_removeCurve = 0x241D5560, CallbackID_shape_getCurveCount = 0xA1C9A121, CallbackID_shape_addCurvePoint = 0x0603411E, CallbackID_shape_removeCurvePoint = 0xF6938578, CallbackID_shape_getCurvePointCount = 0x83812D5A, CallbackID_shape_getCurvePoint = 0x93B51667, CallbackID_shape_setCurvePoint = 0xE70BDA2B, CallbackID_shape_setCurveStartColor = 0xF33C206F, CallbackID_shape_setCurveEndColor = 0xAA04CDDB, CallbackID_shape_setCurveStartOpacity = 0x6D4D2EAB, CallbackID_shape_setCurveEndOpacity = 0x335F82EA, CallbackID_shape_getCurveStartColor = 0xD637AB71, CallbackID_shape_getCurveEndColor = 0x9812BFC2, CallbackID_shape_evaluateCurve = 0x6C0F2586, CallbackID_sound_play = 0x41F4483E, CallbackID_sound_pause = 0x3D50A842, CallbackID_sound_resume = 0x2642A4E3, CallbackID_sound_stop = 0xA62B8032, CallbackID_sound_setVolume = 0xEDC185A5, CallbackID_sound_setPitch = 0xA280EC2F, CallbackID_sound_isPlaying = 0xF8003D95, CallbackID_sound_isPaused = 0x0BE5AB21, CallbackID_sound_getPlaybackProgress = 0x593A93C8, CallbackID_sound_setPlaybackProgress = 0xA310A520, CallbackID_sound_getName = 0xB7D0E889, CallbackID_sound_enableSpatialization = 0xDCCC98BC, CallbackID_sound_isSpatializationEnabled = 0x1E9A30A3, CallbackID_sound_setSpatializationRolloffFactor = 0xBC829161, CallbackID_sound_getSpatializationRolloffFactor = 0x3DED2143, CallbackID_sound_setSpatializationReferenceDistance = 0xDE5CB6DE, CallbackID_sound_getSpatializationReferenceDistance = 0x69E3EBA5, CallbackID_string_isEmpty = 0x15025591, CallbackID_string_getLength = 0x0B56F67D, CallbackID_string_getByte = 0xEF7286D4, CallbackID_string_format = 0xBD71835C, CallbackID_string_replace = 0x784F3D2E, CallbackID_string_contains = 0x54EE00B7, CallbackID_string_findFirst = 0x39C875D4, CallbackID_string_findFirstMatching = 0x48EB519B, CallbackID_string_explode = 0x20A135E6, CallbackID_string_lower = 0xC307213E, CallbackID_string_upper = 0xA3C28581, CallbackID_string_toNumber = 0xCA2CAD07, CallbackID_string_getSubString = 0x6405F622, CallbackID_string_crc32 = 0x62368943, CallbackID_string_md5 = 0x6B475F85, CallbackID_string_sha1 = 0x796E9EDF, CallbackID_string_reverse = 0xDEA5887C, CallbackID_string_compare = 0xC91B1136, CallbackID_string_encodeHTML = 0x193F2749, CallbackID_string_decodeHTML = 0x74A8D2AA, CallbackID_string_encodeURL = 0x69D8EFCF, CallbackID_string_decodeURL = 0x23C9E7DA, CallbackID_system_getOSType = 0x31474FA7, CallbackID_system_getOSVersion = 0x5F7F564D, CallbackID_system_getOSVersionString = 0xC93B4D01, CallbackID_system_getOSLanguage = 0xDE3BBC17, CallbackID_system_getGPUModelDescription = 0x29906A6E, CallbackID_system_getGPUDriverDescription = 0xBCBA5820, CallbackID_system_getGPUCapability = 0xF7AB0529, CallbackID_system_getDeviceUniqueIdentifier = 0x89206849, CallbackID_system_getDeviceModel = 0x64EAA2A1, CallbackID_system_getDeviceName = 0x478928FE, CallbackID_system_getSupportedScreenResolutionCount = 0x62987E4A, CallbackID_system_getSupportedScreenResolutionAt = 0x4B5C2BD4, CallbackID_system_getCurrentScreenResolution = 0x9D1206D0, CallbackID_system_getClientType = 0x582E48EC, CallbackID_system_setWakeLock = 0xBB97F1BB, CallbackID_system_getClipboardText = 0x0E543729, CallbackID_system_setClipboardText = 0x3C424530, CallbackID_system_getYear = 0x1D15BB39, CallbackID_system_getMonth = 0x69A8AAC9, CallbackID_system_getDayOfMonth = 0x3837C84D, CallbackID_system_getDayOfWeek = 0xBCAF1FFF, CallbackID_system_getTimeOfDay = 0xDC30929C, CallbackID_system_areLocationUpdatesSupported = 0xFDEC482D, CallbackID_system_areLocationUpdatesEnabled = 0xBAA6B5B6, CallbackID_system_enableLocationUpdates = 0x6C8BC648, CallbackID_system_getLastKnownLocation = 0xBE0861A3, CallbackID_system_areHeadingUpdatesSupported = 0xD60EEE71, CallbackID_system_areHeadingUpdatesEnabled = 0xF5AC2C83, CallbackID_system_enableHeadingUpdates = 0xBB292142, CallbackID_system_getLastKnownHeading = 0x41B549CB, CallbackID_system_getLastKnownTrueHeading = 0x6C95E1B3, CallbackID_system_hasPersistentStorageManager = 0x58154B38, CallbackID_system_openPersistentStorageManager = 0x4E660D49, CallbackID_system_openURL = 0x5CFC8557, CallbackID_system_getHomeDirectory = 0x0BE74745, CallbackID_system_getDocumentsDirectory = 0x0E20244F, CallbackID_system_getPicturesDirectory = 0x60129586, CallbackID_system_findFiles = 0xAC9B728E, CallbackID_system_findDirectories = 0x2B9E917E, CallbackID_system_install = 0x8F3D70A6, CallbackID_system_isInstalled = 0x0B52C391, CallbackID_system_getInstallationStatus = 0x94BB1235, CallbackID_system_launch = 0x8498F015, CallbackID_table_isEmpty = 0x8E421FD4, CallbackID_table_getSize = 0x1E327295, CallbackID_table_getAt = 0xFDF16C72, CallbackID_table_getLast = 0xA329FF5F, CallbackID_table_getFirst = 0xBF9AF38C, CallbackID_table_setAt = 0x68915D30, CallbackID_table_empty = 0x990C012A, CallbackID_table_add = 0xF935CC34, CallbackID_table_removeAt = 0x9FAA74A8, CallbackID_table_removeLast = 0xCB9228C7, CallbackID_table_removeFirst = 0x4126532D, CallbackID_table_insertAt = 0x5D962875, CallbackID_table_contains = 0x52C3F5E2, CallbackID_table_shuffle = 0xDC6C0A5F, CallbackID_table_reverse = 0x45E5C239, CallbackID_table_swap = 0x3A4D29B0, CallbackID_table_reserve = 0xF072B90C, CallbackID_table_getRangeAt = 0x541C5B59, CallbackID_table_setRangeAt = 0x7A597ACB, CallbackID_user_getSceneName = 0x6735ADC0, CallbackID_user_isLocal = 0xC35DE65C, CallbackID_user_getID = 0x55F0FD7A, CallbackID_user_sendEvent = 0x8FE9D183, CallbackID_user_postEvent = 0x227B0E1B, CallbackID_user_setLocalSoundSourceObject = 0xB09E0EF7, CallbackID_user_getLocalSoundSourceObject = 0x13346362, CallbackID_user_setLocalSoundSourceRolloffFactor = 0x6745BF79, CallbackID_user_getLocalSoundSourceRolloffFactor = 0x0B96CBBA, CallbackID_user_setLocalSoundSourceReferenceDistance = 0xEC98E891, CallbackID_user_getLocalSoundSourceReferenceDistance = 0x3589D25A, CallbackID_user_getAIModelCount = 0xBEFBEC75, CallbackID_user_getAIModelNameAt = 0x9DDCDB6F, CallbackID_user_hasAIModel = 0x8A61EF29, CallbackID_user_hasAIEventHandler = 0xD6D5A226, CallbackID_video_getCaptureDeviceCount = 0x8B1DE6FD, CallbackID_video_getCaptureDeviceNameAt = 0x7E8A3677, CallbackID_video_setActiveCaptureDevice = 0xD178EFB3, CallbackID_video_startCaptureToPixelMap = 0x016B6034, CallbackID_video_stopCapture = 0x49492297, CallbackID_video_getCaptureWidth = 0x97FEA7B8, CallbackID_video_getCaptureHeight = 0x9B3D070A, CallbackID_video_getCaptureHorizontalFlip = 0x6EBEE283, CallbackID_video_setCaptureWidth = 0x59E05D94, CallbackID_video_setCaptureHeight = 0xA92B7513, CallbackID_video_setCaptureRate = 0x45B5601B, CallbackID_video_setCaptureHorizontalFlip = 0x78D303E1, CallbackID_xml_getRootElement = 0xCC3FFF50, CallbackID_xml_getElementName = 0x7DF9C81D, CallbackID_xml_setElementName = 0x02E77B6A, CallbackID_xml_getElementValue = 0x97314B6E, CallbackID_xml_setElementValue = 0x592FB142, CallbackID_xml_getElementChildCount = 0x29781627, CallbackID_xml_getElementChildAt = 0x13798F6D, CallbackID_xml_getElementAttributeCount = 0xCF6D3528, CallbackID_xml_getElementAttributeAt = 0xE0A6BB0F, CallbackID_xml_getElementAttributeWithName = 0xBC1804D7, CallbackID_xml_getElementParent = 0xB6BA9EB6, CallbackID_xml_getElementFirstChild = 0xCCD11AAA, CallbackID_xml_getElementNextSibling = 0x2568E166, CallbackID_xml_getElementFirstChildWithName = 0xCFEFA36B, CallbackID_xml_getElementNextSiblingWithName = 0x9C9E7823, CallbackID_xml_appendElementChild = 0xE532D37F, CallbackID_xml_insertElementChildAt = 0xBDAB8EAE, CallbackID_xml_appendElementChildElement = 0x3A37F30A, CallbackID_xml_insertElementChildElementAt = 0xBE224D91, CallbackID_xml_removeElementChildAt = 0xE9E2BC37, CallbackID_xml_removeElementChild = 0xC2F7DDFA, CallbackID_xml_appendElementAttribute = 0xD7FE4C99, CallbackID_xml_removeElementAttributeAt = 0xADE647D3, CallbackID_xml_removeElementAttribute = 0x1460B1FA, CallbackID_xml_getAttributeName = 0x47F23EB7, CallbackID_xml_setAttributeName = 0x75E44CAE, CallbackID_xml_getAttributeValue = 0xA1080A6E, CallbackID_xml_setAttributeValue = 0xC551B4DC, CallbackID_xml_empty = 0xF47DA3D4, CallbackID_xml_toString = 0xC04634D9, CallbackID_xml_createFromString = 0xDD46F9E5, CallbackID_xml_send = 0x14EB8309, CallbackID_xml_receive = 0x32060199, CallbackID_xml_getSendStatus = 0xDD3484F3, CallbackID_xml_getReceiveStatus = 0xD748C5B1 } ; //--------------------------------------------------------------------- // Callback structures // struct AnimationCallbacks { S3DX_AVAILABLE( AICallback setCurrentClip ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentClip ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPlaybackSpeed ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPlaybackSpeed ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPlaybackLevel ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPlaybackLevel ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPlaybackKeyFrameBegin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPlaybackKeyFrameBegin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPlaybackKeyFrameEnd ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPlaybackKeyFrameEnd ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPlaybackMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPlaybackMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPlaybackCursor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPlaybackCursor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback matchPlaybackCursor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSkeletonScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSkeletonScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setObjectChannel ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getClipKeyFrameRangeMin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getClipKeyFrameRangeMax ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getClipName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPlaybackIgnoreNotAnimatedChannels ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPlaybackIgnoreNotAnimatedChannels ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPlaybackIgnoreIfCursorOutOfRange ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPlaybackIgnoreIfCursorOutOfRange ; , 0x01090000 ) } ; struct ApplicationCallbacks { S3DX_AVAILABLE( AICallback getName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPackDirectory ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getUserCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getUserAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getUser ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUser ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserScene ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserSceneName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCurrentUserScene ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserSceneTaggedObject ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserAIVariable ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCurrentUserAIVariable ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserAIState ; , 0x01090000 ) S3DX_AVAILABLE( AICallback playOverlayExternalMovie ; , 0x01090000 ) S3DX_AVAILABLE( AICallback playOverlayMovie ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopOverlayMovie ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isOverlayMoviePlaying ; , 0x01090000 ) S3DX_AVAILABLE( AICallback startCurrentUserScenePreloading ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserScenePreloadingStatus ; , 0x01090000 ) S3DX_AVAILABLE( AICallback forceModelToStayLoaded ; , 0x01090000 ) S3DX_AVAILABLE( AICallback forceResourceToStayLoaded ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isModelLoaded ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isResourceLoaded ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserMainCamera ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserActiveCamera ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCurrentUserActiveCamera ; , 0x01090000 ) S3DX_AVAILABLE( AICallback resetCurrentUserActiveCamera ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserViewportAspectRatio ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserViewportWidth ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserViewportHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback saveCurrentUserViewportToTexture ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserEnvironmentVariableCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserEnvironmentVariableNameAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCurrentUserEnvironmentVariable ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserEnvironmentVariable ; , 0x01090000 ) S3DX_AVAILABLE( AICallback unsetCurrentUserEnvironmentVariable ; , 0x01090000 ) S3DX_AVAILABLE( AICallback clearCurrentUserEnvironment ; , 0x01090000 ) S3DX_AVAILABLE( AICallback saveCurrentUserEnvironment ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCurrentUserEnvironmentName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserEnvironmentName ; , 0x01090002 ) S3DX_AVAILABLE( AICallback setCurrentUserEnvironmentTitle ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCurrentUserEnvironmentDescription ; , 0x01090000 ) S3DX_AVAILABLE( AICallback loadCurrentUserEnvironment ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserEnvironmentVariableStatus ; , 0x01090000 ) S3DX_AVAILABLE( AICallback saveCurrentUserEnvironmentVariable ; , 0x01090000 ) S3DX_AVAILABLE( AICallback loadCurrentUserEnvironmentVariable ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCurrentUserEnvironmentURL ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentUserEnvironmentURL ; , 0x01090000 ) S3DX_AVAILABLE( AICallback checkCurrentUserEnvironmentLocalStorageDevice ; , 0x01090000 ) S3DX_AVAILABLE( AICallback checkCurrentUserEnvironmentLocalStorageSpace ; , 0x01090000 ) S3DX_AVAILABLE( AICallback checkCurrentUserEnvironmentLocalStorageWriteAccess ; , 0x01090000 ) S3DX_AVAILABLE( AICallback checkCurrentUserEnvironmentLocalStorageExistence ; , 0x01090000 ) S3DX_AVAILABLE( AICallback checkCurrentUserEnvironmentLocalStorageValidity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLastFrameTime ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAverageFrameTime ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMinFrameTime ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMaxFrameTime ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTotalFrameTime ; , 0x01090000 ) S3DX_AVAILABLE( AICallback resetTotalFrameTime ; , 0x01090000 ) S3DX_AVAILABLE( AICallback resetAverageFrameTime ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setFrameTimeFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFrameTimeFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOption ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOption ; , 0x01090000 ) S3DX_AVAILABLE( AICallback restart ; , 0x01090000 ) S3DX_AVAILABLE( AICallback quit ; , 0x01090000 ) S3DX_AVAILABLE( AICallback mightBeCracked ; , 0x01090000 ) } ; struct CacheCallbacks { S3DX_AVAILABLE( AICallback addFile ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addStreamFile ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFileStatus ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pauseFileReceiving ; , 0x01090000 ) S3DX_AVAILABLE( AICallback resumeFileReceiving ; , 0x01090000 ) S3DX_AVAILABLE( AICallback cancelFileReceiving ; , 0x01090000 ) S3DX_AVAILABLE( AICallback sendFile ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFileSendStatus ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeFile ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFileProperty ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFileContentAsString ; , 0x01090000 ) S3DX_AVAILABLE( AICallback copyFileContent ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createFile ; , 0x01090000 ) S3DX_AVAILABLE( AICallback empty ; , 0x01090000 ) } ; struct CameraCallbacks { S3DX_AVAILABLE( AICallback setFieldOfView ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFieldOfView ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMinViewDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMinViewDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMaxViewDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMaxViewDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback projectPoint ; , 0x01090000 ) S3DX_AVAILABLE( AICallback unprojectPoint ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isPointInFrustum ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isSphereInFrustum ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAspectRatioScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAspectRatioScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMotionBlurFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMotionBlurFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setVelocityBlurFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getVelocityBlurFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDepthBlurFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDepthBlurFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDepthBlurFocusRangeMin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDepthBlurFocusRangeMin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDepthBlurFocusRangeMax ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDepthBlurFocusRangeMax ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDistortionFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDistortionFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDistortionAmplitude ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDistortionAmplitude ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDistortionFrequency ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDistortionFrequency ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDistortionTiling ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDistortionTiling ; , 0x01090000 ) } ; struct DebugCallbacks { S3DX_AVAILABLE( AICallback drawLine ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTotalMemoryUsed ; , 0x01090000 ) } ; struct DynamicsCallbacks { S3DX_AVAILABLE( AICallback getBodyType ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createSphereBody ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createBoxBody ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createCapsuleBody ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createCompositeBody ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addCompositeBodySphereGeometry ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addCompositeBodyBoxGeometry ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addCompositeBodyCapsuleGeometry ; , 0x01090000 ) S3DX_AVAILABLE( AICallback finalizeCompositeBody ; , 0x01090000 ) S3DX_AVAILABLE( AICallback destroyBody ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOffset ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOffset ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMass ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMass ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setFriction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFriction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBounce ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBounce ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBounceThreshold ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBounceThreshold ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLinearDamping ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLinearDampingEx ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLinearDamping ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAngularDamping ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAngularDampingEx ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAngularDamping ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addForce ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addTorque ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addLinearImpulse ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addAngularImpulse ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAngularVelocity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAngularVelocity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAngularSpeedLimit ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLinearVelocity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLinearVelocity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLinearSpeed ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLinearSpeedLimit ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setGuardBox ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableDynamics ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableCollisions ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableRotations ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableGuardBox ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableGravity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableAutoIdle ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAutoIdleLinearThreshold ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAutoIdleAngularThreshold ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAutoIdleTime ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setIdle ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isIdle ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLastCollisionTime ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLastCollisionContactCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLastCollisionContactPositionAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLastCollisionContactNormalAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createBallJoint ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createSliderJoint ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createHingeJoint ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createHinge2Joint ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createUniversalJoint ; , 0x01090000 ) S3DX_AVAILABLE( AICallback destroyJoint ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBallJointAnchor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSliderJointAxis ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHingeJointAnchor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHingeJointAxis ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHingeJointAxisAngleLimitMin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHingeJointAxisAngleLimitMax ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHingeJointAxisAngleLimitERP ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHingeJointAxisAngleLimitCFM ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHinge2JointAnchor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHinge2JointAxis1 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHinge2JointAxis2 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHinge2JointAxis1AngleLimitMin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHinge2JointAxis1AngleLimitMax ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHinge2JointAxis1AngleLimitERP ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHinge2JointAxis1AngleLimitCFM ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHinge2JointAxis2MotorSpeedLimit ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHinge2JointAxis2MotorAcceleration ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHinge2JointAxis1SuspensionERP ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHinge2JointAxis1SuspensionCFM ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setUniversalJointAnchor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setUniversalJointAxis1 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setUniversalJointAxis2 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setUniversalJointAxis1AngleLimitMin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setUniversalJointAxis1AngleLimitMax ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setUniversalJointAxis1AngleLimitERP ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setUniversalJointAxis1AngleLimitCFM ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setUniversalJointAxis2AngleLimitMin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setUniversalJointAxis2AngleLimitMax ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setUniversalJointAxis2AngleLimitERP ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setUniversalJointAxis2AngleLimitCFM ; , 0x01090000 ) } ; struct GroupCallbacks { S3DX_AVAILABLE( AICallback getSubObjectCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSubObjectAt ; , 0x01090000 ) } ; struct HashtableCallbacks { S3DX_AVAILABLE( AICallback isEmpty ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback get ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getIndex ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getKeyAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback set ; , 0x01090000 ) S3DX_AVAILABLE( AICallback empty ; , 0x01090000 ) S3DX_AVAILABLE( AICallback add ; , 0x01090000 ) S3DX_AVAILABLE( AICallback remove ; , 0x01090000 ) S3DX_AVAILABLE( AICallback contains ; , 0x01090000 ) } ; struct HudCallbacks { S3DX_AVAILABLE( AICallback checkValidity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback newTemplateInstance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback destroyTemplateInstance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback newComponent ; , 0x01090000 ) S3DX_AVAILABLE( AICallback newAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback newTimer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback destroyComponent ; , 0x01090000 ) S3DX_AVAILABLE( AICallback destroyAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback destroyTimer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getActionCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTimerCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getActionAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTimerAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setInitialAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDefaultFont ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDefaultFontName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDefaultTextShadowColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDefaultTextShadowColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponent ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setFocus ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSoundBank ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSoundBankName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback playSound ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pauseSound ; , 0x01090000 ) S3DX_AVAILABLE( AICallback resumeSound ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopSound ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopAllSounds ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSoundVolume ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSoundPlaybackProgress ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isSoundPlaying ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isSoundPaused ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCursorVisible ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCursorPosition ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCursorPosition ; , 0x01090000 ) S3DX_AVAILABLE( AICallback forceCursorShape ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentType ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentZOrder ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentZOrder ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentContainer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentContainer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentOrigin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentOrigin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentOffscreenOutput ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentPosition ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentPosition ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentSize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentSize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentRotation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentRotation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentOpacity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentOpacity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentVisible ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentActive ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentBackgroundImage ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentBackgroundImageName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentBackgroundColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentBackgroundColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentForegroundColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentForegroundColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentBorderColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentBorderColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentFillMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentFillMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentBlendMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentBlendMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentShapeType ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentShapeType ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentShapeRoundRectangleCornerRadius ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentShapeRoundRectangleCornerRadius ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentOpacityWaveModifier ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentAspectInvariant ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentIgnoredByMouse ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentAdjustedToNearestPixels ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addComponentEventHandler ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeComponentEventHandler ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentScreenSpaceCenter ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentScreenSpaceBottomLeftCorner ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentScreenSpaceTopLeftCorner ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentScreenSpaceBottomRightCorner ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentScreenSpaceTopRightCorner ; , 0x01090000 ) S3DX_AVAILABLE( AICallback matchComponentScreenSpaceCenter ; , 0x01090000 ) S3DX_AVAILABLE( AICallback matchComponentScreenSpaceBottomLeftCorner ; , 0x01090000 ) S3DX_AVAILABLE( AICallback matchComponentScreenSpaceTopLeftCorner ; , 0x01090000 ) S3DX_AVAILABLE( AICallback matchComponentScreenSpaceBottomRightCorner ; , 0x01090000 ) S3DX_AVAILABLE( AICallback matchComponentScreenSpaceTopRightCorner ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentBackgroundImageUVOffset ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentBackgroundImageUVOffset ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentBackgroundImageUVScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentBackgroundImageUVScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setComponentBackgroundImageAddressingMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentBackgroundImageAddressingMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isComponentVisible ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isComponentActive ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentTag ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLabelText ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLabelText ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLabelTextHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLabelTextHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLabelTextLetterSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLabelTextLetterSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLabelTextLineSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLabelTextLineSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLabelTextAlignment ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLabelTextAlignment ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLabelTextCase ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLabelTextCase ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLabelTextEncoding ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLabelTextEncoding ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLabelTextDirection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLabelTextDirection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLabelFont ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLabelFontName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableLabelTextAntialiasing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isLabelTextAntialiasingEnabled ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLabelTextTotalLineCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setEditText ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getEditText ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setEditTextHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getEditTextHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setEditTextLetterSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getEditTextLetterSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setEditTextLineSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getEditTextLineSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setEditTextAlignment ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getEditTextAlignment ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setEditTextCase ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getEditTextCase ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setEditTextEncoding ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getEditTextEncoding ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setEditTextDirection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getEditTextDirection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setEditTextMaxLength ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getEditTextMaxLength ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setEditFont ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getEditFontName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setEditOnChangedAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setEditSecure ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isEditSecure ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableEditTextAntialiasing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isEditTextAntialiasingEnabled ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getEditTextTotalLineCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCheckText ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCheckText ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCheckTextHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCheckTextHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCheckTextLetterSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCheckTextLetterSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCheckTextLineSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCheckTextLineSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCheckTextAlignment ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCheckTextAlignment ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCheckTextCase ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCheckTextCase ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCheckTextEncoding ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCheckTextEncoding ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCheckTextDirection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCheckTextDirection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCheckIcons ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCheckFont ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCheckFontName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCheckOnCheckedAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCheckOnUncheckedAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCheckState ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCheckState ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableCheckTextAntialiasing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isCheckTextAntialiasingEnabled ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCheckTextTotalLineCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setButtonText ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getButtonText ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setButtonTextHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getButtonTextHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setButtonTextLetterSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getButtonTextLetterSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setButtonTextLineSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getButtonTextLineSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setButtonTextAlignment ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getButtonTextAlignment ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setButtonTextCase ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getButtonTextCase ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setButtonTextEncoding ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getButtonTextEncoding ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setButtonTextDirection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getButtonTextDirection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setButtonFont ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getButtonFontName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setButtonOnClickAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setButtonOnClickedAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableButtonTextAntialiasing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isButtonTextAntialiasingEnabled ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getButtonTextTotalLineCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMovieClip ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMovieExternalClip ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMovieBufferingProgress ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMoviePlaybackProgress ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMoviePlaybackCursor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMovieTransparentColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback playMovie ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pauseMovie ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopMovie ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setRenderMap ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getRenderMapName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPixelMap ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPixelMapName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPixelMap ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setProgressValue ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getProgressValue ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setProgressType ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getProgressType ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListItemCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addListItem ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeListItemAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback selectListItemAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeListAllItems ; , 0x01090000 ) S3DX_AVAILABLE( AICallback selectListAllItems ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListItemTextAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListItemTextAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListItemIconAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListItemsHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListItemsHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListItemsBackgroundImage ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListItemsBackgroundImageName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListItemsBackgroundColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListItemsBackgroundColorOdd ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListItemsBackgroundColorOdd ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListItemsBackgroundColorEven ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListItemsBackgroundColorEven ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListItemsBackgroundImageSelected ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListItemsBackgroundImageSelectedName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListItemsBackgroundColorSelected ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListItemsBackgroundColorSelected ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListItemsForegroundColorSelected ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListItemsForegroundColorSelected ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListTextLeftMargin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListTextLeftMargin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListTextRightMargin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListTextRightMargin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListTextHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListTextHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListTextLetterSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListTextLetterSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListTextLineSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListTextLineSpacing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListTextFont ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListTextFontName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListTextCase ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListTextCase ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListTextEncoding ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListTextEncoding ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListTextDirection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListTextDirection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableListTextAntialiasing ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isListTextAntialiasingEnabled ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListColumnCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addListColumn ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListColumnTextAlignmentAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListColumnWidthAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableListSelection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableListSingleSelection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableListSingleSelectionToggling ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableListSmoothScrolling ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableListFingerScrolling ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableListMouseWheelHandling ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListSelectedItemCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListSelectedItemAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListVerticalScrollPos ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getListVerticalScrollPos ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListVerticalScrollBarWidth ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListVerticalScrollBarArrowHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListScrollBarBackgroundColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListScrollBarForegroundColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListScrollBarArrowColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListScrollBarBackgroundImages ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListScrollBarForegroundImages ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListScrollBarArrowImages ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setListOnSelectionChangedAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSliderType ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSliderType ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSliderRange ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSliderRange ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSliderValue ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSliderValue ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSliderThumbImage ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSliderOnChangedAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback beginActionCommand ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pushActionCommandArgument ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pushActionCommandRuntimeArgument ; , 0x01090000 ) S3DX_AVAILABLE( AICallback endActionCommand ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setTimerOnTickAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setTimerTickTime ; , 0x01090000 ) S3DX_AVAILABLE( AICallback callAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pauseAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback resumeAction ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopAllActions ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pauseAllActions ; , 0x01090000 ) S3DX_AVAILABLE( AICallback resumeAllActions ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isActionRunning ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isActionPaused ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getUnderCursorComponent ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getUnderCursorListItem ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFocusedComponent ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enterModalMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback leaveModalMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getComponentAtPoint ; , 0x01090000 ) } ; struct InputCallbacks { S3DX_AVAILABLE( AICallback setJoypadVibrationsMagnitude ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getJoypadType ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableJoypadMotionSensors ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableJoypadIRMotionSensors ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableMultiTouch ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableVirtualMouse ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setVirtualMousePosition ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setVirtualMouseButtonDown ; , 0x01090000 ) } ; struct LightCallbacks { S3DX_AVAILABLE( AICallback getType ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isDynamic ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isActive ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setActive ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getColor ; , 0x01090000 ) } ; struct LogCallbacks { S3DX_AVAILABLE( AICallback message ; , 0x01090000 ) S3DX_AVAILABLE( AICallback warning ; , 0x01090000 ) S3DX_AVAILABLE( AICallback error ; , 0x01090000 ) } ; struct MathCallbacks { S3DX_AVAILABLE( AICallback clamp ; , 0x01090000 ) S3DX_AVAILABLE( AICallback interpolate ; , 0x01090000 ) S3DX_AVAILABLE( AICallback sin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback cos ; , 0x01090000 ) S3DX_AVAILABLE( AICallback tan ; , 0x01090000 ) S3DX_AVAILABLE( AICallback asin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback acos ; , 0x01090000 ) S3DX_AVAILABLE( AICallback atan ; , 0x01090000 ) S3DX_AVAILABLE( AICallback atan2 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback min ; , 0x01090000 ) S3DX_AVAILABLE( AICallback max ; , 0x01090000 ) S3DX_AVAILABLE( AICallback sqrt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback resetRandomSeed ; , 0x01090000 ) S3DX_AVAILABLE( AICallback random ; , 0x01090000 ) S3DX_AVAILABLE( AICallback gaussianRandom ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pow ; , 0x01090000 ) S3DX_AVAILABLE( AICallback floor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback trunc ; , 0x01090000 ) S3DX_AVAILABLE( AICallback roundToNearestInteger ; , 0x01090000 ) S3DX_AVAILABLE( AICallback roundToNearestPowerOfTwo ; , 0x01090000 ) S3DX_AVAILABLE( AICallback ceil ; , 0x01090000 ) S3DX_AVAILABLE( AICallback abs ; , 0x01090000 ) S3DX_AVAILABLE( AICallback mod ; , 0x01090000 ) S3DX_AVAILABLE( AICallback log ; , 0x01090000 ) S3DX_AVAILABLE( AICallback log10 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback evaluateBSpline ; , 0x01090000 ) S3DX_AVAILABLE( AICallback evaluateBezier ; , 0x01090000 ) S3DX_AVAILABLE( AICallback evaluateCatmullRom ; , 0x01090000 ) S3DX_AVAILABLE( AICallback computeRayPlaneIntersection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback computeRaySphereIntersection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback computeRayAABoxIntersection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback vectorAdd ; , 0x01090000 ) S3DX_AVAILABLE( AICallback vectorSubtract ; , 0x01090000 ) S3DX_AVAILABLE( AICallback vectorDotProduct ; , 0x01090000 ) S3DX_AVAILABLE( AICallback vectorCrossProduct ; , 0x01090000 ) S3DX_AVAILABLE( AICallback vectorNormalize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback vectorLength ; , 0x01090000 ) S3DX_AVAILABLE( AICallback vectorScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback vectorInterpolate ; , 0x01090000 ) S3DX_AVAILABLE( AICallback vectorReflect ; , 0x01090000 ) S3DX_AVAILABLE( AICallback vectorSetLength ; , 0x01090000 ) } ; struct MeshCallbacks { S3DX_AVAILABLE( AICallback getSubsetCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSubsetVertexCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSubsetIndexCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSubsetLODCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addSubset ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeSubset ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createSubsetVertexBuffer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback destroySubsetVertexBuffer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createSubsetIndexBuffer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback destroySubsetIndexBuffer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback lockSubsetVertexBuffer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback unlockSubsetVertexBuffer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback lockSubsetIndexBuffer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback unlockSubsetIndexBuffer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSubsetVertexPosition ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSubsetVertexPosition ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSubsetVertexNormal ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSubsetVertexNormal ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSubsetVertexTexCoord ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSubsetVertexTexCoord ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSubsetIndexValue ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSubsetIndexValue ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getResourceHandle ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSubsetVertexBufferDynamic ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isSubsetVertexBufferDynamic ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSubsetIndexBufferDynamic ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isSubsetIndexBufferDynamic ; , 0x01090000 ) S3DX_AVAILABLE( AICallback computeSubsetVertexNormals ; , 0x01090000 ) S3DX_AVAILABLE( AICallback computeSubsetVertexTangents ; , 0x01090000 ) S3DX_AVAILABLE( AICallback updateBoundingVolumes ; , 0x01090000 ) } ; struct MicrophoneCallbacks { S3DX_AVAILABLE( AICallback setRate ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enable ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getActivityLevel ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableSpectrumAnalyzer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSpectrumWidth ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSpectrumWidth ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSpectrumLevels ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setRecordingQuality ; , 0x01090000 ) S3DX_AVAILABLE( AICallback startRecordingAsMusic ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopRecording ; , 0x01090000 ) S3DX_AVAILABLE( AICallback startDiffusion ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopDiffusion ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addUserToDiffusionList ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeUserFromDiffusionList ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isUserInDiffusionList ; , 0x01090000 ) S3DX_AVAILABLE( AICallback emptyDiffusionList ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDiffusionListUserCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDiffusionListUserIDAt ; , 0x01090000 ) } ; struct MusicCallbacks { S3DX_AVAILABLE( AICallback play ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stop ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setVolume ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPlaybackProgress ; , 0x01090000 ) S3DX_AVAILABLE( AICallback playAdditional ; , 0x01090000 ) } ; struct NavigationCallbacks { S3DX_AVAILABLE( AICallback setTargetNode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAcceleration ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAcceleration ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSpeedLimit ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSpeedLimit ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setHeightOffset ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getHeightOffset ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getNode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTargetNode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTargetNodeDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSpeed ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getVelocity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setRandomTargetNode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setNearestTargetNode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setNearestNode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPathMaxLength ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPathMaxLength ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPathNodeCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPathNodeAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableNodesInBox ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableNode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getNodeTranslation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isNodeOnBorder ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isNodeEnabled ; , 0x01090000 ) } ; struct NetworkCallbacks { S3DX_AVAILABLE( AICallback authenticate ; , 0x01090000 ) S3DX_AVAILABLE( AICallback disconnect ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getStatus ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getServerCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getServerNameAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCurrentServer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentServer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createServer ; , 0x01090000 ) S3DX_AVAILABLE( AICallback searchForServers ; , 0x01090000 ) } ; struct ObjectCallbacks { S3DX_AVAILABLE( AICallback getHashCode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isEqualTo ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isKindOf ; , 0x01090000 ) S3DX_AVAILABLE( AICallback hasController ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getScene ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getParent ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setParent ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getModelName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableDistanceClipping ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDistanceClippingThresholds ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDistanceClippingFadeTime ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCanBeReflected ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCanBeRefracted ; , 0x01090000 ) S3DX_AVAILABLE( AICallback canBeReflected ; , 0x01090000 ) S3DX_AVAILABLE( AICallback canBeRefracted ; , 0x01090000 ) S3DX_AVAILABLE( AICallback sendEvent ; , 0x01090000 ) S3DX_AVAILABLE( AICallback postEvent ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setTransformOption ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTransformOption ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTranslation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getRotation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDirection ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getXAxis ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getYAxis ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getZAxis ; , 0x01090000 ) S3DX_AVAILABLE( AICallback resetTranslation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback matchTranslation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setTranslation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback translate ; , 0x01090000 ) S3DX_AVAILABLE( AICallback translateTo ; , 0x01090000 ) S3DX_AVAILABLE( AICallback resetRotation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback matchRotation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setRotation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setRotationYPR ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setRotationAxisAngle ; , 0x01090000 ) S3DX_AVAILABLE( AICallback rotate ; , 0x01090000 ) S3DX_AVAILABLE( AICallback rotateYPR ; , 0x01090000 ) S3DX_AVAILABLE( AICallback rotateAxisAngle ; , 0x01090000 ) S3DX_AVAILABLE( AICallback rotateTo ; , 0x01090000 ) S3DX_AVAILABLE( AICallback rotateToYPR ; , 0x01090000 ) S3DX_AVAILABLE( AICallback rotateToAxisAngle ; , 0x01090000 ) S3DX_AVAILABLE( AICallback rotateAround ; , 0x01090000 ) S3DX_AVAILABLE( AICallback lookAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback lookAtWithUp ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setUniformScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isActive ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setVisible ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isVisible ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDistanceToObject ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBoundingSphereRadius ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBoundingSphereCenter ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBoundingBoxMin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBoundingBoxMax ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addAIModel ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeAIModel ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAIModelCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAIModelNameAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback hasAIModel ; , 0x01090000 ) S3DX_AVAILABLE( AICallback hasAIEventHandler ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAIVariable ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAIVariable ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAIState ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSoundBank ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAnimBank ; , 0x01090000 ) S3DX_AVAILABLE( AICallback transformVector ; , 0x01090000 ) S3DX_AVAILABLE( AICallback transformPoint ; , 0x01090000 ) } ; struct PixelmapCallbacks { S3DX_AVAILABLE( AICallback getResourceHandle ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getWidth ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback lock ; , 0x01090000 ) S3DX_AVAILABLE( AICallback unlock ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPixel ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPixel ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPixels ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPixels ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createBrushFromTexture ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createBrushFromRectangle ; , 0x01090000 ) S3DX_AVAILABLE( AICallback destroyBrush ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBrushCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBrushOrigin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBrushOrigin ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBrushWidth ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBrushHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPenColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPenBrush ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPenMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setFillColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setFillBrush ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setFillMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBlendMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback drawPoint ; , 0x01090000 ) S3DX_AVAILABLE( AICallback drawLine ; , 0x01090000 ) S3DX_AVAILABLE( AICallback drawRectangle ; , 0x01090000 ) S3DX_AVAILABLE( AICallback saveToTexture ; , 0x01090000 ) } ; struct ProjectorCallbacks { S3DX_AVAILABLE( AICallback setColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOpacity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOpacity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setFieldOfView ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFieldOfView ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMinClipDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMinClipDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMaxClipDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMaxClipDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMap ; , 0x01090000 ) S3DX_AVAILABLE( AICallback playMapMovie ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pauseMapMovie ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopMapMovie ; , 0x01090000 ) } ; struct SceneCallbacks { S3DX_AVAILABLE( AICallback getName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getUserCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getUserAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback sendEventToAllUsers ; , 0x01090000 ) S3DX_AVAILABLE( AICallback sendEventToAllObjects ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTaggedObjectCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTaggedObjectAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTaggedObjectTagAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTaggedObject ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getObjectTag ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setRuntimeObjectTag ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createRuntimeObject ; , 0x01090000 ) S3DX_AVAILABLE( AICallback destroyRuntimeObject ; , 0x01090000 ) S3DX_AVAILABLE( AICallback combineRuntimeObjectsGroup ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBackgroundColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBackgroundColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBackgroundOpacity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBackgroundOpacity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBackgroundTexture ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBackgroundTextureUVOffset ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBackgroundTextureUVScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBackgroundTextureAddressingMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBackgroundTextureFilteringMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSkyBoxColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSkyBoxColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSkyBoxFaceMap ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAmbientColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAmbientColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setShadowAmbientColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getShadowAmbientColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setFogDensity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFogDensity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setFogColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFogColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createOcean ; , 0x01090000 ) S3DX_AVAILABLE( AICallback destroyOcean ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanWavesAmplitude ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanWavesAmplitude ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanWavesMeanHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanWavesMeanHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanWavesFrequency ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanWavesFrequency ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanUnderwaterFogDensity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanUnderwaterFogDensity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanUnderwaterFogColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanUnderwaterFogColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanSurfaceColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanSurfaceColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanSurfaceColorFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanSurfaceColorFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanSurfaceColorMaxDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanSurfaceColorMaxDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanNormal ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanFoamMap ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanFoamMapTiling ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanFoamMapTiling ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanNormalMapTiling ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanNormalMapTiling ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanReflectionNoiseScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanReflectionNoiseScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanRefractionNoiseScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanRefractionNoiseScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanFresnelPower ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanFresnelPower ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanFresnelBias ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanFresnelBias ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setOceanReflectorBias ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOceanReflectorBias ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setColorLevels ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getColorLevels ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setColorSaturation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getColorSaturation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setColorContrast ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getColorContrast ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMonochromeFilter ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMonochromeFilter ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBloomIntensity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBloomIntensity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBloomThreshold ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBloomThreshold ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBloomColoring ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBloomColoring ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBloomMotionBlurFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBloomMotionBlurFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getObjectCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getObjectAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFirstHitCollider ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFirstHitColliderEx ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFirstHitColliderWithID ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFirstHitColliderWithIDEx ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFirstHitSensor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFirstHitSensorWithID ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFirstHitSensorWithIDInRange ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFirstHitTerrainChunk ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTerrainHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTerrainNormal ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTerrainStatus ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setTerrainTextureFilteringMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setTerrainLODSwitchThreshold ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setTerrainVegetationLayerMaxVisibleInstances ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setTerrainVegetationLayerVisible ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setTerrainVegetationLayerTextureFilteringMode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTerrainVegetationLayerCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDynamicsTimeStep ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDynamicsTimeStep ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDynamicsIterationsPerStep ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDynamicsIterationsPerStep ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPaused ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPerPixelLightingMinScreenSize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPerPixelLightingMinScreenSize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setNormalMappingMinScreenSize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getNormalMappingMinScreenSize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setNormalMappingFadeScreenSize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getNormalMappingFadeScreenSize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSpecularLightingMinScreenSize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSpecularLightingMinScreenSize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSpecularLightingFadeScreenSize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSpecularLightingFadeScreenSize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDynamicShadowsFadeDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDynamicShadowsFadeDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setDynamicShadowsMaxDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDynamicShadowsMaxDistance ; , 0x01090000 ) } ; struct SensorCallbacks { S3DX_AVAILABLE( AICallback getCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setActiveAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isActiveAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAllActive ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeAll ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback add ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getIDAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setIDAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getShapeTypeAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSphereCenterAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSphereRadiusAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSphereCenterAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSphereRadiusAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBoxCenterAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setBoxSizeAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBoxCenterAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getBoxSizeAt ; , 0x01090000 ) } ; struct ServerCallbacks { S3DX_AVAILABLE( AICallback getStatus ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentPingDelay ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAveragePingDelay ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSessionCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSessionNameAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSessionUserCountAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCurrentSession ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentSession ; , 0x01090000 ) S3DX_AVAILABLE( AICallback sendEvent ; , 0x01090000 ) } ; struct SessionCallbacks { S3DX_AVAILABLE( AICallback getStatus ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getName ; , 0x01090000 ) } ; struct SfxCallbacks { S3DX_AVAILABLE( AICallback getParticleEmitterCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback startParticleEmitterAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback startAllParticleEmitters ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopParticleEmitterAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopAllParticleEmitters ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pauseParticleEmitterAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pauseAllParticleEmitters ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setParticleEmitterTranslationAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setParticleEmitterRotationAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setParticleEmitterUniformScaleAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setParticleEmitterGenerationRateAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setParticleEmitterLifeTimeFactorAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setParticleEmitterInitialSpeedFactorAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getParticleEmitterUniformScaleAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getParticleEmitterGenerationRateAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getParticleEmitterLifeTimeFactorAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getParticleEmitterInitialSpeedFactorAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getParticleEmitterAliveParticleCountAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTrailCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setTrailAnchor0At ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setTrailAnchor1At ; , 0x01090000 ) S3DX_AVAILABLE( AICallback startTrailAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pauseTrailAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopTrailAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback startAllTrails ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pauseAllTrails ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopAllTrails ; , 0x01090000 ) } ; struct ShapeCallbacks { S3DX_AVAILABLE( AICallback setMeshOpacity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshOpacity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMeshSubsetMaterial ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMeshMaterial ; , 0x01090000 ) S3DX_AVAILABLE( AICallback compareMeshSubsetMaterial ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableMeshFrustumCulling ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshSubsetMaterialEmissive ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshSubsetMaterialAmbient ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshSubsetMaterialDiffuse ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshSubsetMaterialSpecular ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshSubsetMaterialOpacity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshSubsetMaterialOpacityThreshold ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshSubsetMaterialEffectIntensity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEmissiveOverride ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialAmbientOverride ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialDiffuseOverride ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialSpecularOverride ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialOpacityOverride ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialOpacityThresholdOverride ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEffectIntensityOverride ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshMaterialEmissive ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshMaterialAmbient ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshMaterialDiffuse ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshMaterialSpecular ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshSubsetMaterialEffectMap0 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshMaterialEffectMap0 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshSubsetMaterialEffectMap1 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshMaterialEffectMap1 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshSubsetMaterialNormalMap ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshMaterialNormalMap ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshSubsetMaterialSpecularMap ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideMeshMaterialSpecularMap ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEffectMap0 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEffectMap1 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialNormalMap ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialSpecularMap ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEffectMap0Override ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEffectMap1Override ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialNormalMapOverride ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialSpecularMapOverride ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMeshSubsetMaterialEffectMap0AdditionalUVOffset ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMeshSubsetMaterialEffectMap0AdditionalUVScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMeshSubsetMaterialEffectMap0AdditionalUVRotation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMeshSubsetMaterialEffectMap1AdditionalUVOffset ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMeshSubsetMaterialEffectMap1AdditionalUVScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMeshSubsetMaterialEffectMap1AdditionalUVRotation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEffectMap0AdditionalUVOffset ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEffectMap0AdditionalUVScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEffectMap0AdditionalUVRotation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEffectMap1AdditionalUVOffset ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEffectMap1AdditionalUVScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEffectMap1AdditionalUVRotation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback playMeshSubsetMaterialEffectMap0Movie ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pauseMeshSubsetMaterialEffectMap0Movie ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopMeshSubsetMaterialEffectMap0Movie ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEffectMap0MovieBufferingProgress ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEffectMap0MoviePlaybackProgress ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshSubsetMaterialEffectMap0MoviePlaybackCursor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setMeshSubsetMaterialEffectMap0MovieTransparentColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMesh ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshTriangleCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMeshVertexCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSkeletonName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSkeletonJointCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSkeletonJointNameAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createRuntimeMesh ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideSkeletonJointTranslation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback overrideSkeletonJointRotation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSkeletonJointCustomScale ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSkeletonJointTranslation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSkeletonJointRotation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSkeletonJointXAxis ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSkeletonJointYAxis ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSkeletonJointZAxis ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSkeletonJointParentJointName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addSkeletonCloneModifier ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addCurve ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeCurve ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurveCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback addCurvePoint ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeCurvePoint ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurvePointCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurvePoint ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCurvePoint ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCurveStartColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCurveEndColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCurveStartOpacity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCurveEndOpacity ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurveStartColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurveEndColor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback evaluateCurve ; , 0x01090000 ) } ; struct SoundCallbacks { S3DX_AVAILABLE( AICallback play ; , 0x01090000 ) S3DX_AVAILABLE( AICallback pause ; , 0x01090000 ) S3DX_AVAILABLE( AICallback resume ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stop ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setVolume ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPitch ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isPlaying ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isPaused ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPlaybackProgress ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setPlaybackProgress ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableSpatialization ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isSpatializationEnabled ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSpatializationRolloffFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSpatializationRolloffFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setSpatializationReferenceDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSpatializationReferenceDistance ; , 0x01090000 ) } ; struct StringCallbacks { S3DX_AVAILABLE( AICallback isEmpty ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLength ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getByte ; , 0x01090000 ) S3DX_AVAILABLE( AICallback format ; , 0x01090000 ) S3DX_AVAILABLE( AICallback replace ; , 0x01090000 ) S3DX_AVAILABLE( AICallback contains ; , 0x01090000 ) S3DX_AVAILABLE( AICallback findFirst ; , 0x01090000 ) S3DX_AVAILABLE( AICallback findFirstMatching ; , 0x01090000 ) S3DX_AVAILABLE( AICallback explode ; , 0x01090000 ) S3DX_AVAILABLE( AICallback lower ; , 0x01090000 ) S3DX_AVAILABLE( AICallback upper ; , 0x01090000 ) S3DX_AVAILABLE( AICallback toNumber ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSubString ; , 0x01090000 ) S3DX_AVAILABLE( AICallback crc32 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback md5 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback sha1 ; , 0x01090000 ) S3DX_AVAILABLE( AICallback reverse ; , 0x01090000 ) S3DX_AVAILABLE( AICallback compare ; , 0x01090000 ) S3DX_AVAILABLE( AICallback encodeHTML ; , 0x01090000 ) S3DX_AVAILABLE( AICallback decodeHTML ; , 0x01090000 ) S3DX_AVAILABLE( AICallback encodeURL ; , 0x01090000 ) S3DX_AVAILABLE( AICallback decodeURL ; , 0x01090000 ) } ; struct SystemCallbacks { S3DX_AVAILABLE( AICallback getOSType ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOSVersion ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOSVersionString ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getOSLanguage ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getGPUModelDescription ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getGPUDriverDescription ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getGPUCapability ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDeviceUniqueIdentifier ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDeviceModel ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDeviceName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSupportedScreenResolutionCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSupportedScreenResolutionAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCurrentScreenResolution ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getClientType ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setWakeLock ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getClipboardText ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setClipboardText ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getYear ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getMonth ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDayOfMonth ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDayOfWeek ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getTimeOfDay ; , 0x01090000 ) S3DX_AVAILABLE( AICallback areLocationUpdatesSupported ; , 0x01090000 ) S3DX_AVAILABLE( AICallback areLocationUpdatesEnabled ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableLocationUpdates ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLastKnownLocation ; , 0x01090000 ) S3DX_AVAILABLE( AICallback areHeadingUpdatesSupported ; , 0x01090000 ) S3DX_AVAILABLE( AICallback areHeadingUpdatesEnabled ; , 0x01090000 ) S3DX_AVAILABLE( AICallback enableHeadingUpdates ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLastKnownHeading ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLastKnownTrueHeading ; , 0x01090000 ) S3DX_AVAILABLE( AICallback hasPersistentStorageManager ; , 0x01090000 ) S3DX_AVAILABLE( AICallback openPersistentStorageManager ; , 0x01090000 ) S3DX_AVAILABLE( AICallback openURL ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getHomeDirectory ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getDocumentsDirectory ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getPicturesDirectory ; , 0x01090000 ) S3DX_AVAILABLE( AICallback findFiles ; , 0x01090000 ) S3DX_AVAILABLE( AICallback findDirectories ; , 0x01090000 ) S3DX_AVAILABLE( AICallback install ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isInstalled ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getInstallationStatus ; , 0x01090000 ) S3DX_AVAILABLE( AICallback launch ; , 0x01090000 ) } ; struct TableCallbacks { S3DX_AVAILABLE( AICallback isEmpty ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSize ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLast ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getFirst ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback empty ; , 0x01090000 ) S3DX_AVAILABLE( AICallback add ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeLast ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeFirst ; , 0x01090000 ) S3DX_AVAILABLE( AICallback insertAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback contains ; , 0x01090000 ) S3DX_AVAILABLE( AICallback shuffle ; , 0x01090000 ) S3DX_AVAILABLE( AICallback reverse ; , 0x01090000 ) S3DX_AVAILABLE( AICallback swap ; , 0x01090000 ) S3DX_AVAILABLE( AICallback reserve ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getRangeAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setRangeAt ; , 0x01090000 ) } ; struct UserCallbacks { S3DX_AVAILABLE( AICallback getSceneName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback isLocal ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getID ; , 0x01090000 ) S3DX_AVAILABLE( AICallback sendEvent ; , 0x01090000 ) S3DX_AVAILABLE( AICallback postEvent ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLocalSoundSourceObject ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLocalSoundSourceObject ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLocalSoundSourceRolloffFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLocalSoundSourceRolloffFactor ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setLocalSoundSourceReferenceDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getLocalSoundSourceReferenceDistance ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAIModelCount ; , 0x01090001 ) S3DX_AVAILABLE( AICallback getAIModelNameAt ; , 0x01090001 ) S3DX_AVAILABLE( AICallback hasAIModel ; , 0x01090001 ) S3DX_AVAILABLE( AICallback hasAIEventHandler ; , 0x01090001 ) } ; struct VideoCallbacks { S3DX_AVAILABLE( AICallback getCaptureDeviceCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCaptureDeviceNameAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setActiveCaptureDevice ; , 0x01090000 ) S3DX_AVAILABLE( AICallback startCaptureToPixelMap ; , 0x01090000 ) S3DX_AVAILABLE( AICallback stopCapture ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCaptureWidth ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCaptureHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getCaptureHorizontalFlip ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCaptureWidth ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCaptureHeight ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCaptureRate ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setCaptureHorizontalFlip ; , 0x01090000 ) } ; struct XmlCallbacks { S3DX_AVAILABLE( AICallback getRootElement ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getElementName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setElementName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getElementValue ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setElementValue ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getElementChildCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getElementChildAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getElementAttributeCount ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getElementAttributeAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getElementAttributeWithName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getElementParent ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getElementFirstChild ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getElementNextSibling ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getElementFirstChildWithName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getElementNextSiblingWithName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback appendElementChild ; , 0x01090000 ) S3DX_AVAILABLE( AICallback insertElementChildAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback appendElementChildElement ; , 0x01090000 ) S3DX_AVAILABLE( AICallback insertElementChildElementAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeElementChildAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeElementChild ; , 0x01090000 ) S3DX_AVAILABLE( AICallback appendElementAttribute ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeElementAttributeAt ; , 0x01090000 ) S3DX_AVAILABLE( AICallback removeElementAttribute ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAttributeName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAttributeName ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getAttributeValue ; , 0x01090000 ) S3DX_AVAILABLE( AICallback setAttributeValue ; , 0x01090000 ) S3DX_AVAILABLE( AICallback empty ; , 0x01090000 ) S3DX_AVAILABLE( AICallback toString ; , 0x01090000 ) S3DX_AVAILABLE( AICallback createFromString ; , 0x01090000 ) S3DX_AVAILABLE( AICallback send ; , 0x01090000 ) S3DX_AVAILABLE( AICallback receive ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getSendStatus ; , 0x01090000 ) S3DX_AVAILABLE( AICallback getReceiveStatus ; , 0x01090000 ) } ; //----------------------------------------------------------------------------- // Inline functions provided for a simpler usage of the API. Grouped by package. // struct AnimationPackage { // Constants // const AIVariable kPlaybackModeOnce ; const AIVariable kPlaybackModeOnceReversed ; const AIVariable kPlaybackModeLoop ; const AIVariable kPlaybackModeLoopReversed ; const AIVariable kPlaybackModeLoopMirrored ; AnimationPackage ( ): kPlaybackModeOnce ( 0 ), kPlaybackModeOnceReversed ( 1 ), kPlaybackModeLoop ( 2 ), kPlaybackModeLoopReversed ( 3 ), kPlaybackModeLoopMirrored ( 4 ) { } // Functions // inline void changeClip ( const AIVariable& hObject, const AIVariable& nBlendLayer, const AIVariable& nClipIndex ) const { S3DX_DECLARE_VIN_03( hObject, nBlendLayer, nClipIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.setCurrentClip ( 3, vIn, NULL ) ; } // Deprecated inline void setCurrentClip ( const AIVariable& hObject, const AIVariable& nBlendLayer, const AIVariable& nClipIndex ) const { S3DX_DECLARE_VIN_03( hObject, nBlendLayer, nClipIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.setCurrentClip ( 3, vIn, NULL ) ; } inline AIVariable getCurrentClip ( const AIVariable& hObject, const AIVariable& nBlendLayer ) const { S3DX_DECLARE_VIN_02( hObject, nBlendLayer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.getCurrentClip ( 2, vIn, &vOut ) ; return vOut ; } inline void setPlaybackSpeed ( const AIVariable& hObject, const AIVariable& nBlendLayer, const AIVariable& nSpeed ) const { S3DX_DECLARE_VIN_03( hObject, nBlendLayer, nSpeed ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.setPlaybackSpeed ( 3, vIn, NULL ) ; } inline AIVariable getPlaybackSpeed ( const AIVariable& hObject, const AIVariable& nBlendLayer ) const { S3DX_DECLARE_VIN_02( hObject, nBlendLayer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.getPlaybackSpeed ( 2, vIn, &vOut ) ; return vOut ; } inline void setPlaybackLevel ( const AIVariable& hObject, const AIVariable& nBlendLayer, const AIVariable& nLevel ) const { S3DX_DECLARE_VIN_03( hObject, nBlendLayer, nLevel ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.setPlaybackLevel ( 3, vIn, NULL ) ; } inline AIVariable getPlaybackLevel ( const AIVariable& hObject, const AIVariable& nBlendLayer ) const { S3DX_DECLARE_VIN_02( hObject, nBlendLayer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.getPlaybackLevel ( 2, vIn, &vOut ) ; return vOut ; } inline void setPlaybackKeyFrameBegin ( const AIVariable& hObject, const AIVariable& nBlendLayer, const AIVariable& nKeyFrame ) const { S3DX_DECLARE_VIN_03( hObject, nBlendLayer, nKeyFrame ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.setPlaybackKeyFrameBegin ( 3, vIn, NULL ) ; } inline AIVariable getPlaybackKeyFrameBegin ( const AIVariable& hObject, const AIVariable& nBlendLayer ) const { S3DX_DECLARE_VIN_02( hObject, nBlendLayer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.getPlaybackKeyFrameBegin ( 2, vIn, &vOut ) ; return vOut ; } inline void setPlaybackKeyFrameEnd ( const AIVariable& hObject, const AIVariable& nBlendLayer, const AIVariable& nKeyFrame ) const { S3DX_DECLARE_VIN_03( hObject, nBlendLayer, nKeyFrame ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.setPlaybackKeyFrameEnd ( 3, vIn, NULL ) ; } inline AIVariable getPlaybackKeyFrameEnd ( const AIVariable& hObject, const AIVariable& nBlendLayer ) const { S3DX_DECLARE_VIN_02( hObject, nBlendLayer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.getPlaybackKeyFrameEnd ( 2, vIn, &vOut ) ; return vOut ; } inline void setPlaybackMode ( const AIVariable& hObject, const AIVariable& nBlendLayer, const AIVariable& kMode ) const { S3DX_DECLARE_VIN_03( hObject, nBlendLayer, kMode ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.setPlaybackMode ( 3, vIn, NULL ) ; } inline AIVariable getPlaybackMode ( const AIVariable& hObject, const AIVariable& nBlendLayer ) const { S3DX_DECLARE_VIN_02( hObject, nBlendLayer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.getPlaybackMode ( 2, vIn, &vOut ) ; return vOut ; } inline void setPlaybackCursor ( const AIVariable& hObject, const AIVariable& nBlendLayer, const AIVariable& nCursor ) const { S3DX_DECLARE_VIN_03( hObject, nBlendLayer, nCursor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.setPlaybackCursor ( 3, vIn, NULL ) ; } inline AIVariable getPlaybackCursor ( const AIVariable& hObject, const AIVariable& nBlendLayer ) const { S3DX_DECLARE_VIN_02( hObject, nBlendLayer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.getPlaybackCursor ( 2, vIn, &vOut ) ; return vOut ; } inline void matchPlaybackCursor ( const AIVariable& hObject, const AIVariable& nBlendLayer, const AIVariable& nOtherBlendLayer ) const { S3DX_DECLARE_VIN_03( hObject, nBlendLayer, nOtherBlendLayer ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.matchPlaybackCursor ( 3, vIn, NULL ) ; } inline void setSkeletonScale ( const AIVariable& hObject, const AIVariable& nBlendLayer, const AIVariable& nScale ) const { S3DX_DECLARE_VIN_03( hObject, nBlendLayer, nScale ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.setSkeletonScale ( 3, vIn, NULL ) ; } inline AIVariable getSkeletonScale ( const AIVariable& hObject, const AIVariable& nBlendLayer ) const { S3DX_DECLARE_VIN_02( hObject, nBlendLayer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.getSkeletonScale ( 2, vIn, &vOut ) ; return vOut ; } inline void setObjectChannel ( const AIVariable& hObject, const AIVariable& sChannel ) const { S3DX_DECLARE_VIN_02( hObject, sChannel ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.setObjectChannel ( 2, vIn, NULL ) ; } inline AIVariable getClipKeyFrameRangeMin ( const AIVariable& hObject, const AIVariable& nClipIndex ) const { S3DX_DECLARE_VIN_02( hObject, nClipIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.getClipKeyFrameRangeMin ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getClipKeyFrameRangeMax ( const AIVariable& hObject, const AIVariable& nClipIndex ) const { S3DX_DECLARE_VIN_02( hObject, nClipIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.getClipKeyFrameRangeMax ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getClipName ( const AIVariable& hObject, const AIVariable& nClipIndex ) const { S3DX_DECLARE_VIN_02( hObject, nClipIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.getClipName ( 2, vIn, &vOut ) ; return vOut ; } inline void setPlaybackIgnoreNotAnimatedChannels ( const AIVariable& hObject, const AIVariable& nBlendLayer, const AIVariable& bIgnore ) const { S3DX_DECLARE_VIN_03( hObject, nBlendLayer, bIgnore ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.setPlaybackIgnoreNotAnimatedChannels ( 3, vIn, NULL ) ; } inline AIVariable getPlaybackIgnoreNotAnimatedChannels ( const AIVariable& hObject, const AIVariable& nBlendLayer ) const { S3DX_DECLARE_VIN_02( hObject, nBlendLayer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.getPlaybackIgnoreNotAnimatedChannels ( 2, vIn, &vOut ) ; return vOut ; } inline void setPlaybackIgnoreIfCursorOutOfRange ( const AIVariable& hObject, const AIVariable& nBlendLayer, const AIVariable& bIgnore ) const { S3DX_DECLARE_VIN_03( hObject, nBlendLayer, bIgnore ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.setPlaybackIgnoreIfCursorOutOfRange ( 3, vIn, NULL ) ; } inline AIVariable getPlaybackIgnoreIfCursorOutOfRange ( const AIVariable& hObject, const AIVariable& nBlendLayer ) const { S3DX_DECLARE_VIN_02( hObject, nBlendLayer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->animation.getPlaybackIgnoreIfCursorOutOfRange ( 2, vIn, &vOut ) ; return vOut ; } } ; struct ApplicationPackage { // Constants // const AIVariable kStatusSaving ; const AIVariable kStatusLoading ; const AIVariable kStatusReady ; const AIVariable kStatusNone ; const AIVariable kOptionFullscreen ; const AIVariable kOptionTexturesQuality ; const AIVariable kOptionDynamicShadowsQuality ; const AIVariable kOptionSwapInterval ; const AIVariable kOptionTerrainsQuality ; const AIVariable kOptionNetworkStreams ; const AIVariable kOptionShadersQuality ; const AIVariable kOptionViewportRotation ; const AIVariable kOptionAutomaticVirtualKeyboard ; const AIVariable kOptionFullscreenWidth ; const AIVariable kOptionFullscreenHeight ; const AIVariable kOptionDynamicShadowsBufferCount ; const AIVariable kOptionDynamicShadowsBufferSize ; const AIVariable kOptionDynamicShadowsScreenSpaceBlur ; const AIVariable kOptionDynamicShadowsPCFSampleCount ; const AIVariable kOptionDynamicShadowsConstantSampling ; const AIVariable kOptionHardwareOcclusion ; const AIVariable kOptionAudioMasterVolume ; const AIVariable kOptionTexturesAnisotropyLevel ; const AIVariable kOptionTexturesMipmapBias ; const AIVariable kOptionRenderingEnabled ; const AIVariable kOptionNetworkStreamsUseBrowser ; const AIVariable kOptionMaxEventBouncesPerFrame ; const AIVariable kOptionPrioritizeEventBounces ; const AIVariable kResourceTypeAnimBank ; const AIVariable kResourceTypeFont ; const AIVariable kResourceTypeHUD ; const AIVariable kResourceTypeMaterial ; const AIVariable kResourceTypeMesh ; const AIVariable kResourceTypeParticle ; const AIVariable kResourceTypePixelMap ; const AIVariable kResourceTypeSoundBank ; const AIVariable kResourceTypeTexture ; const AIVariable kResourceTypeTextureClip ; const AIVariable kResourceTypeTrail ; ApplicationPackage ( ): kStatusSaving ( 3 ), kStatusLoading ( 2 ), kStatusReady ( 0 ), kStatusNone ( 1 ), kOptionFullscreen ( 0 ), kOptionTexturesQuality ( 1 ), kOptionDynamicShadowsQuality ( 2 ), kOptionSwapInterval ( 4 ), kOptionTerrainsQuality ( 9 ), kOptionNetworkStreams ( 10 ), kOptionShadersQuality ( 11 ), kOptionViewportRotation ( 12 ), kOptionAutomaticVirtualKeyboard ( 13 ), kOptionFullscreenWidth ( 14 ), kOptionFullscreenHeight ( 15 ), kOptionDynamicShadowsBufferCount ( 16 ), kOptionDynamicShadowsBufferSize ( 17 ), kOptionDynamicShadowsScreenSpaceBlur ( 18 ), kOptionDynamicShadowsPCFSampleCount ( 19 ), kOptionDynamicShadowsConstantSampling ( 20 ), kOptionHardwareOcclusion ( 21 ), kOptionAudioMasterVolume ( 22 ), kOptionTexturesAnisotropyLevel ( 23 ), kOptionTexturesMipmapBias ( 24 ), kOptionRenderingEnabled ( 25 ), kOptionNetworkStreamsUseBrowser ( 26 ), kOptionMaxEventBouncesPerFrame ( 27 ), kOptionPrioritizeEventBounces ( 28 ), kResourceTypeAnimBank ( 10 ), kResourceTypeFont ( 4 ), kResourceTypeHUD ( 19 ), kResourceTypeMaterial ( 3 ), kResourceTypeMesh ( 2 ), kResourceTypeParticle ( 14 ), kResourceTypePixelMap ( 24 ), kResourceTypeSoundBank ( 18 ), kResourceTypeTexture ( 1 ), kResourceTypeTextureClip ( 17 ), kResourceTypeTrail ( 20 ) { } // Functions // inline AIVariable getName ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getName ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getPackDirectory ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getPackDirectory ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getUserCount ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getUserCount ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getUserAt ( const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_01( nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getUserAt ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getUser ( const AIVariable& nID ) const { S3DX_DECLARE_VIN_01( nID ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getUser ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getCurrentUser ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUser ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getCurrentUserScene ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserScene ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getCurrentUserSceneName ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserSceneName ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable setCurrentUserScene ( const AIVariable& sName ) const { S3DX_DECLARE_VIN_01( sName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.setCurrentUserScene ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setCurrentUserScene ( const AIVariable& sName, const AIVariable& sStreamingURL ) const { S3DX_DECLARE_VIN_02( sName, sStreamingURL ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.setCurrentUserScene ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getCurrentUserSceneTaggedObject ( const AIVariable& sObjectTag ) const { S3DX_DECLARE_VIN_01( sObjectTag ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserSceneTaggedObject ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getCurrentUserAIVariable ( const AIVariable& sAIModel, const AIVariable& sVariable ) const { S3DX_DECLARE_VIN_02( sAIModel, sVariable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserAIVariable ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable setCurrentUserAIVariable ( const AIVariable& sAIModel, const AIVariable& sVariable, const AIVariable& vValue ) const { S3DX_DECLARE_VIN_03( sAIModel, sVariable, vValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.setCurrentUserAIVariable ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable getCurrentUserAIState ( const AIVariable& sAIModel ) const { S3DX_DECLARE_VIN_01( sAIModel ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserAIState ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable playOverlayExternalMovie ( const AIVariable& sPath ) const { S3DX_DECLARE_VIN_01( sPath ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.playOverlayExternalMovie ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable playOverlayMovie ( const AIVariable& sName ) const { S3DX_DECLARE_VIN_01( sName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.playOverlayMovie ( 1, vIn, &vOut ) ; return vOut ; } inline void stopOverlayMovie ( ) const { S3DX_MODULE_GUID::__pS3DXEAPIMI->application.stopOverlayMovie ( 0, NULL, NULL ) ; } inline AIVariable isOverlayMoviePlaying ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.isOverlayMoviePlaying ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable startCurrentUserScenePreloading ( const AIVariable& sName ) const { S3DX_DECLARE_VIN_01( sName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.startCurrentUserScenePreloading ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getCurrentUserScenePreloadingStatus ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserScenePreloadingStatus ( 0, NULL, &vOut ) ; return vOut ; } inline void forceModelToStayLoaded ( const AIVariable& sModelName, const AIVariable& bForce ) const { S3DX_DECLARE_VIN_02( sModelName, bForce ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.forceModelToStayLoaded ( 2, vIn, NULL ) ; } inline void forceResourceToStayLoaded ( const AIVariable& sResourceName, const AIVariable& kResourceType, const AIVariable& bForce ) const { S3DX_DECLARE_VIN_03( sResourceName, kResourceType, bForce ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.forceResourceToStayLoaded ( 3, vIn, NULL ) ; } inline AIVariable isModelLoaded ( const AIVariable& sModelName ) const { S3DX_DECLARE_VIN_01( sModelName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.isModelLoaded ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable isResourceLoaded ( const AIVariable& sResourceName, const AIVariable& kResourceType ) const { S3DX_DECLARE_VIN_02( sResourceName, kResourceType ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.isResourceLoaded ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getCurrentUserMainCamera ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserMainCamera ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getCurrentUserActiveCamera ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserActiveCamera ( 0, NULL, &vOut ) ; return vOut ; } inline void setCurrentUserActiveCamera ( const AIVariable& hCamera ) const { S3DX_DECLARE_VIN_01( hCamera ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.setCurrentUserActiveCamera ( 1, vIn, NULL ) ; } inline void resetCurrentUserActiveCamera ( ) const { S3DX_MODULE_GUID::__pS3DXEAPIMI->application.resetCurrentUserActiveCamera ( 0, NULL, NULL ) ; } inline AIVariable getCurrentUserViewportAspectRatio ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserViewportAspectRatio ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getCurrentUserViewportWidth ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserViewportWidth ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getCurrentUserViewportHeight ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserViewportHeight ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable saveCurrentUserViewportToTexture ( const AIVariable& sTextureName, const AIVariable& nWidth, const AIVariable& nHeight ) const { S3DX_DECLARE_VIN_03( sTextureName, nWidth, nHeight ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.saveCurrentUserViewportToTexture ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable getCurrentUserEnvironmentVariableCount ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserEnvironmentVariableCount ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getCurrentUserEnvironmentVariableNameAt ( const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_01( nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getUserAt ( 1, vIn, &vOut ) ; return vOut ; } inline void setCurrentUserEnvironmentVariable ( const AIVariable& sName, const AIVariable& vValue ) const { S3DX_DECLARE_VIN_02( sName, vValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.setCurrentUserEnvironmentVariable ( 2, vIn, NULL ) ; } inline AIVariable getCurrentUserEnvironmentVariable ( const AIVariable& sName ) const { S3DX_DECLARE_VIN_01( sName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserEnvironmentVariable ( 1, vIn, &vOut ) ; return vOut ; } inline void unsetCurrentUserEnvironmentVariable ( const AIVariable& sName ) const { S3DX_DECLARE_VIN_01( sName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.unsetCurrentUserEnvironmentVariable ( 1, vIn, NULL ) ; } inline void clearCurrentUserEnvironment ( ) const { S3DX_MODULE_GUID::__pS3DXEAPIMI->application.clearCurrentUserEnvironment ( 0, NULL, NULL ) ; } inline AIVariable saveCurrentUserEnvironment ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.saveCurrentUserEnvironment ( 0, NULL, &vOut ) ; return vOut ; } inline void setCurrentUserEnvironmentName ( const AIVariable& sName ) const { S3DX_DECLARE_VIN_01( sName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.setCurrentUserEnvironmentName ( 1, vIn, NULL ) ; } inline AIVariable getCurrentUserEnvironmentName ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserEnvironmentName ( 0, NULL, &vOut ) ; } inline void setCurrentUserEnvironmentTitle ( const AIVariable& sTitle ) const { S3DX_DECLARE_VIN_01( sTitle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.setCurrentUserEnvironmentTitle ( 1, vIn, NULL ) ; } inline void setCurrentUserEnvironmentDescription ( const AIVariable& sDescription ) const { S3DX_DECLARE_VIN_01( sDescription ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.setCurrentUserEnvironmentDescription ( 1, vIn, NULL ) ; } inline AIVariable loadCurrentUserEnvironment ( const AIVariable& sName ) const { S3DX_DECLARE_VIN_01( sName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.loadCurrentUserEnvironment ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getCurrentUserEnvironmentVariableStatus ( const AIVariable& sName ) const { S3DX_DECLARE_VIN_01( sName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserEnvironmentVariableStatus ( 1, vIn, &vOut ) ; return vOut ; } inline void saveCurrentUserEnvironmentVariable ( const AIVariable& sName ) const { S3DX_DECLARE_VIN_01( sName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.saveCurrentUserEnvironmentVariable ( 1, vIn, NULL ) ; } inline void loadCurrentUserEnvironmentVariable ( const AIVariable& sName ) const { S3DX_DECLARE_VIN_01( sName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.loadCurrentUserEnvironmentVariable ( 1, vIn, NULL ) ; } inline void setCurrentUserEnvironmentURL ( const AIVariable& sURL ) const { S3DX_DECLARE_VIN_01( sURL ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.setCurrentUserEnvironmentURL ( 1, vIn, NULL ) ; } inline AIVariable getCurrentUserEnvironmentURL ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getCurrentUserEnvironmentURL ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable checkCurrentUserEnvironmentLocalStorageDevice ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.checkCurrentUserEnvironmentLocalStorageDevice ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable checkCurrentUserEnvironmentLocalStorageSpace ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.checkCurrentUserEnvironmentLocalStorageSpace ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable checkCurrentUserEnvironmentLocalStorageWriteAccess ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.checkCurrentUserEnvironmentLocalStorageWriteAccess ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable checkCurrentUserEnvironmentLocalStorageExistence ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.checkCurrentUserEnvironmentLocalStorageExistence ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable checkCurrentUserEnvironmentLocalStorageValidity ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.checkCurrentUserEnvironmentLocalStorageValidity ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getLastFrameTime ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getLastFrameTime ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getAverageFrameTime ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getAverageFrameTime ( 0, NULL, &vOut ) ; return vOut ; } inline void setMinFrameTime ( const AIVariable& nTime ) const { S3DX_DECLARE_VIN_01( nTime ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.setMinFrameTime ( 1, vIn, NULL ) ; } inline void setMaxFrameTime ( const AIVariable& nTime ) const { S3DX_DECLARE_VIN_01( nTime ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.setMaxFrameTime ( 1, vIn, NULL ) ; } inline AIVariable getTotalFrameTime ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getTotalFrameTime ( 0, NULL, &vOut ) ; return vOut ; } inline void resetTotalFrameTime ( const AIVariable& nInitialTime ) const { S3DX_DECLARE_VIN_01( nInitialTime ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.resetTotalFrameTime ( 1, vIn, NULL ) ; } inline void resetAverageFrameTime ( const AIVariable& nSampleCount ) const { S3DX_DECLARE_VIN_01( nSampleCount ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.resetAverageFrameTime ( 1, vIn, NULL ) ; } inline void setFrameTimeFactor ( const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_01( nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.setFrameTimeFactor ( 1, vIn, NULL ) ; } inline AIVariable getFrameTimeFactor ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getFrameTimeFactor ( 0, NULL, &vOut ) ; return vOut ; } inline void setOption ( const AIVariable& kOption, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( kOption, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.setOption ( 2, vIn, NULL ) ; } inline AIVariable getOption ( const AIVariable& kOption ) const { S3DX_DECLARE_VIN_01( kOption ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.getOption ( 1, vIn, &vOut ) ; return vOut ; } inline void restart ( ) const { S3DX_MODULE_GUID::__pS3DXEAPIMI->application.restart ( 0, NULL, NULL ) ; } inline void quit ( ) const { S3DX_MODULE_GUID::__pS3DXEAPIMI->application.quit ( 0, NULL, NULL ) ; } inline AIVariable mightBeCracked ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->application.mightBeCracked ( 0, NULL, &vOut ) ; return vOut ; } } ; struct CachePackage { // Constants // const AIVariable kPropertyWidth ; const AIVariable kPropertyHeight ; const AIVariable kPropertySize ; CachePackage ( ): kPropertyWidth ( 1 ), kPropertyHeight ( 2 ), kPropertySize ( 6 ) { } // Functions // inline void addFile ( const AIVariable& sFileName, const AIVariable& sFileURI ) const { S3DX_DECLARE_VIN_02( sFileName, sFileURI ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.addFile ( 2, vIn, NULL ) ; } inline void addFile ( const AIVariable& sFileName, const AIVariable& sFileURI, const AIVariable& sOptionalHeader ) const { S3DX_DECLARE_VIN_03( sFileName, sFileURI, sOptionalHeader ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.addFile ( 3, vIn, NULL ) ; } inline void addStreamFile ( const AIVariable& sFileName, const AIVariable& sFileURI ) const { S3DX_DECLARE_VIN_02( sFileName, sFileURI ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.addStreamFile ( 2, vIn, NULL ) ; } inline AIVariable getFileStatus ( const AIVariable& sFileName ) const { S3DX_DECLARE_VIN_01( sFileName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.getFileStatus ( 1, vIn, &vOut ) ; return vOut ; } // Deprecated inline void pauseFileReceiving ( const AIVariable& sFileName ) const { S3DX_DECLARE_VIN_01( sFileName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.pauseFileReceiving ( 1, vIn, NULL ) ; } inline void resumeFileReceiving ( const AIVariable& sFileName ) const { S3DX_DECLARE_VIN_01( sFileName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.resumeFileReceiving ( 1, vIn, NULL ) ; } inline void cancelFileReceiving ( const AIVariable& sFileName ) const { S3DX_DECLARE_VIN_01( sFileName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.cancelFileReceiving ( 1, vIn, NULL ) ; } inline AIVariable sendFile ( const AIVariable& sFileName, const AIVariable& sFileURI ) const { S3DX_DECLARE_VIN_02( sFileName, sFileURI ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.sendFile ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getFileSendStatus ( const AIVariable& sFileName ) const { S3DX_DECLARE_VIN_01( sFileName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.getFileSendStatus ( 1, vIn, &vOut ) ; return vOut ; } // Deprecated inline void removeFile ( const AIVariable& sFileName ) const { S3DX_DECLARE_VIN_01( sFileName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.removeFile ( 1, vIn, NULL ) ; } inline AIVariable getFileProperty ( const AIVariable& sFileName, const AIVariable& kProperty ) const { S3DX_DECLARE_VIN_02( sFileName, kProperty ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.getFileProperty ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getFileContentAsString ( const AIVariable& sFileName ) const { S3DX_DECLARE_VIN_01( sFileName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.getFileContentAsString ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable copyFileContent ( const AIVariable& sFileName, const AIVariable& hBuffer ) const { S3DX_DECLARE_VIN_02( sFileName, hBuffer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.copyFileContent ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable createFile ( const AIVariable& sFileName, const AIVariable& hBuffer, const AIVariable& nBufferSize ) const { S3DX_DECLARE_VIN_03( sFileName, hBuffer, nBufferSize ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.createFile ( 3, vIn, &vOut ) ; return vOut ; } inline void empty ( ) const { S3DX_MODULE_GUID::__pS3DXEAPIMI->cache.empty ( 0, NULL, NULL ) ; } } ; struct CameraPackage { // Functions // inline void setFieldOfView ( const AIVariable& hObject, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_02( hObject, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.setFieldOfView ( 2, vIn, NULL ) ; } inline AIVariable getFieldOfView ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.getFieldOfView ( 1, vIn, &vOut ) ; return vOut ; } inline void setMinViewDistance ( const AIVariable& hObject, const AIVariable& nDistance ) const { S3DX_DECLARE_VIN_02( hObject, nDistance ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.setMinViewDistance ( 2, vIn, NULL ) ; } inline AIVariable getMinViewDistance ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.getMinViewDistance ( 1, vIn, &vOut ) ; return vOut ; } inline void setMaxViewDistance ( const AIVariable& hObject, const AIVariable& nDistance ) const { S3DX_DECLARE_VIN_02( hObject, nDistance ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.setMaxViewDistance ( 2, vIn, NULL ) ; } inline AIVariable getMaxViewDistance ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.getMaxViewDistance ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariables<3> projectPoint ( const AIVariable& hObject, const AIVariable& x, const AIVariable& y, const AIVariable& z ) const { S3DX_DECLARE_VIN_04( hObject, x, y, z ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.projectPoint ( 4, vIn, vOut ) ; return vOut ; } inline AIVariables<3> unprojectPoint ( const AIVariable& hObject, const AIVariable& x, const AIVariable& y, const AIVariable& z ) const { S3DX_DECLARE_VIN_04( hObject, x, y, z ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.unprojectPoint ( 4, vIn, vOut ) ; return vOut ; } inline AIVariable isPointInFrustum ( const AIVariable& hObject, const AIVariable& x, const AIVariable& y, const AIVariable& z ) const { S3DX_DECLARE_VIN_04( hObject, x, y, z ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.isPointInFrustum ( 4, vIn, &vOut ) ; return vOut ; } inline AIVariable isSphereInFrustum ( const AIVariable& hObject, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& nRadius ) const { S3DX_DECLARE_VIN_05( hObject, x, y, z, nRadius ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.isSphereInFrustum ( 5, vIn, &vOut ) ; return vOut ; } inline void setAspectRatioScale ( const AIVariable& hObject, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hObject, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.setAspectRatioScale ( 2, vIn, NULL ) ; } inline AIVariable getAspectRatioScale ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.getAspectRatioScale ( 1, vIn, &vOut ) ; return vOut ; } inline void setMotionBlurFactor ( const AIVariable& hObject, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hObject, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.setMotionBlurFactor ( 2, vIn, NULL ) ; } inline AIVariable getMotionBlurFactor ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.getMotionBlurFactor ( 1, vIn, &vOut ) ; return vOut ; } inline void setVelocityBlurFactor ( const AIVariable& hObject, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hObject, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.setVelocityBlurFactor ( 2, vIn, NULL ) ; } inline AIVariable getVelocityBlurFactor ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.getVelocityBlurFactor ( 1, vIn, &vOut ) ; return vOut ; } inline void setDepthBlurFactor ( const AIVariable& hObject, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hObject, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.setDepthBlurFactor ( 2, vIn, NULL ) ; } inline AIVariable getDepthBlurFactor ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.getDepthBlurFactor ( 1, vIn, &vOut ) ; return vOut ; } inline void setDepthBlurFocusRangeMin ( const AIVariable& hObject, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hObject, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.setDepthBlurFocusRangeMin ( 2, vIn, NULL ) ; } inline AIVariable getDepthBlurFocusRangeMin ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.getDepthBlurFocusRangeMin ( 1, vIn, &vOut ) ; return vOut ; } inline void setDepthBlurFocusRangeMax ( const AIVariable& hObject, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hObject, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.setDepthBlurFocusRangeMax ( 2, vIn, NULL ) ; } inline AIVariable getDepthBlurFocusRangeMax ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.getDepthBlurFocusRangeMax ( 1, vIn, &vOut ) ; return vOut ; } inline void setDistortionFactor ( const AIVariable& hObject, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hObject, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.setDistortionFactor ( 2, vIn, NULL ) ; } inline AIVariable getDistortionFactor ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.getDistortionFactor ( 1, vIn, &vOut ) ; return vOut ; } inline void setDistortionAmplitude ( const AIVariable& hObject, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hObject, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.setDistortionAmplitude ( 2, vIn, NULL ) ; } inline AIVariable getDistortionAmplitude ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.getDistortionAmplitude ( 1, vIn, &vOut ) ; return vOut ; } inline void setDistortionFrequency ( const AIVariable& hObject, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hObject, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.setDistortionFrequency ( 2, vIn, NULL ) ; } inline AIVariable getDistortionFrequency ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.getDistortionFrequency ( 1, vIn, &vOut ) ; return vOut ; } inline void setDistortionTiling ( const AIVariable& hObject, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hObject, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.setDistortionTiling ( 2, vIn, NULL ) ; } inline AIVariable getDistortionTiling ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->camera.getDistortionTiling ( 1, vIn, &vOut ) ; return vOut ; } } ; struct DebugPackage { // Functions // inline void drawLine ( const AIVariable& x1, const AIVariable& y1, const AIVariable& z1, const AIVariable& x2, const AIVariable& y2, const AIVariable& z2, const AIVariable& r, const AIVariable& g, const AIVariable& b, const AIVariable& a ) const { S3DX_DECLARE_VIN_10( x1, y1, z1, x2, y2, z2, r, g, b, a ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->debug.drawLine ( 10, vIn, NULL ) ; } inline AIVariable getTotalMemoryUsed ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->debug.getTotalMemoryUsed ( 0, NULL, &vOut ) ; return vOut ; } } ; struct DynamicsPackage { // Constants // const AIVariable kTypeSphere ; const AIVariable kTypeBox ; const AIVariable kTypeCapsule ; const AIVariable kAxisX ; const AIVariable kAxisY ; const AIVariable kAxisZ ; DynamicsPackage ( ): kTypeSphere ( 1 ), kTypeBox ( 2 ), kTypeCapsule ( 3 ), kAxisX ( 0 ), kAxisY ( 1 ), kAxisZ ( 2 ) { } // Functions // inline AIVariable getBodyType ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getBodyType ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable createSphereBody ( const AIVariable& hObject, const AIVariable& nRadius ) const { S3DX_DECLARE_VIN_02( hObject, nRadius ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.createSphereBody ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable createBoxBody ( const AIVariable& hObject, const AIVariable& nSx, const AIVariable& nSy, const AIVariable& nSz ) const { S3DX_DECLARE_VIN_04( hObject, nSx, nSy, nSz ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.createBoxBody ( 4, vIn, &vOut ) ; return vOut ; } inline AIVariable createCapsuleBody ( const AIVariable& hObject, const AIVariable& nRadius, const AIVariable& nLength, const AIVariable& kAxis ) const { S3DX_DECLARE_VIN_04( hObject, nRadius, nLength, kAxis ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.createCapsuleBody ( 4, vIn, &vOut ) ; return vOut ; } inline AIVariable createCompositeBody ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.createCompositeBody ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable addCompositeBodySphereGeometry ( const AIVariable& hObject, const AIVariable& nRadius, const AIVariable& nOx, const AIVariable& nOy, const AIVariable& nOz ) const { S3DX_DECLARE_VIN_05( hObject, nRadius, nOx, nOy, nOz ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.addCompositeBodySphereGeometry ( 5, vIn, &vOut ) ; return vOut ; } inline AIVariable addCompositeBodyBoxGeometry ( const AIVariable& hObject, const AIVariable& nSx, const AIVariable& nSy, const AIVariable& nSz, const AIVariable& nOx, const AIVariable& nOy, const AIVariable& nOz ) { S3DX_DECLARE_VIN_07( hObject, nSx, nSy, nSz, nOx, nOy, nOz ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.addCompositeBodyBoxGeometry ( 7, vIn, &vOut ) ; return vOut ; } inline AIVariable addCompositeBodyCapsuleGeometry ( const AIVariable& hObject, const AIVariable& nRadius, const AIVariable& nLength, const AIVariable& kAxis, const AIVariable& nOx, const AIVariable& nOy, const AIVariable& nOz ) const { S3DX_DECLARE_VIN_07( hObject, nRadius, nLength, kAxis, nOx, nOy, nOz ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.addCompositeBodyCapsuleGeometry ( 7, vIn, &vOut ) ; return vOut ; } inline AIVariable finalizeCompositeBody ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.finalizeCompositeBody ( 1, vIn, &vOut ) ; return vOut ; } inline void destroyBody ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.destroyBody ( 1, vIn, NULL ) ; } inline void setOffset ( const AIVariable& hObject, const AIVariable& x, const AIVariable& y, const AIVariable& z ) const { S3DX_DECLARE_VIN_04( hObject, x, y, z ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setOffset ( 4, vIn, NULL ) ; } inline AIVariables<3> getOffset ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getOffset ( 1, vIn, vOut ) ; return vOut ; } inline void setMass ( const AIVariable& hObject, const AIVariable& nMass ) const { S3DX_DECLARE_VIN_02( hObject, nMass ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setMass ( 2, vIn, NULL ) ; } inline AIVariable getMass ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getMass ( 1, vIn, &vOut ) ; return vOut ; } inline void setFriction ( const AIVariable& hObject, const AIVariable& nCoef ) const { S3DX_DECLARE_VIN_02( hObject, nCoef ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setFriction ( 2, vIn, NULL ) ; } inline AIVariable getFriction ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getFriction ( 1, vIn, &vOut ) ; return vOut ; } inline void setBounce ( const AIVariable& hObject, const AIVariable& nCoef ) const { S3DX_DECLARE_VIN_02( hObject, nCoef ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setBounce ( 2, vIn, NULL ) ; } inline AIVariable getBounce ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getBounce ( 1, vIn, &vOut ) ; return vOut ; } inline void setBounceThreshold ( const AIVariable& hObject, const AIVariable& nThreshold ) const { S3DX_DECLARE_VIN_02( hObject, nThreshold ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setBounceThreshold ( 2, vIn, NULL ) ; } inline AIVariable getBounceThreshold ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getBounceThreshold ( 1, vIn, &vOut ) ; return vOut ; } inline void setLinearDamping ( const AIVariable& hObject, const AIVariable& nCoef ) const { S3DX_DECLARE_VIN_02( hObject, nCoef ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setLinearDamping ( 2, vIn, NULL ) ; } inline void setLinearDampingEx ( const AIVariable& hObject, const AIVariable& x, const AIVariable& y, const AIVariable& z ) const { S3DX_DECLARE_VIN_04( hObject, x, y, z ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setLinearDampingEx ( 4, vIn, NULL ) ; } inline AIVariables<3> getLinearDamping ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getLinearDamping ( 1, vIn, vOut ) ; return vOut ; } inline void setAngularDamping ( const AIVariable& hObject, const AIVariable& nCoef ) const { S3DX_DECLARE_VIN_02( hObject, nCoef ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setAngularDamping ( 2, vIn, NULL ) ; } inline void setAngularDampingEx ( const AIVariable& hObject, const AIVariable& x, const AIVariable& y, const AIVariable& z ) const { S3DX_DECLARE_VIN_04( hObject, x, y, z ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setAngularDampingEx ( 4, vIn, NULL ) ; } inline AIVariables<3> getAngularDamping ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getAngularDamping ( 1, vIn, vOut ) ; return vOut ; } inline void addForce ( const AIVariable& hObject, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_05( hObject, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.addForce ( 5, vIn, NULL ) ; } inline void addTorque ( const AIVariable& hObject, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_05( hObject, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.addTorque ( 5, vIn, NULL ) ; } inline void addLinearImpulse ( const AIVariable& hObject, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_05( hObject, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.addLinearImpulse ( 5, vIn, NULL ) ; } inline void addAngularImpulse ( const AIVariable& hObject, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_05( hObject, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.addAngularImpulse ( 5, vIn, NULL ) ; } inline AIVariables<3> getAngularVelocity ( const AIVariable& hObject, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_02( hObject, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getAngularVelocity ( 2, vIn, vOut ) ; return vOut ; } inline void setAngularVelocity ( const AIVariable& hObject, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_05( hObject, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setAngularVelocity ( 5, vIn, NULL ) ; } inline void setAngularSpeedLimit ( const AIVariable& hObject, const AIVariable& nLimit ) const { S3DX_DECLARE_VIN_02( hObject, nLimit ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setAngularSpeedLimit ( 2, vIn, NULL ) ; } inline AIVariables<3> getLinearVelocity ( const AIVariable& hObject, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_02( hObject, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getLinearVelocity ( 2, vIn, vOut ) ; return vOut ; } inline void setLinearVelocity ( const AIVariable& hObject, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_05( hObject, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setLinearVelocity ( 5, vIn, NULL ) ; } inline AIVariable getLinearSpeed ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getLinearSpeed ( 1, vIn, &vOut ) ; return vOut ; } inline void setLinearSpeedLimit ( const AIVariable& hObject, const AIVariable& nLimit ) const { S3DX_DECLARE_VIN_02( hObject, nLimit ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setLinearSpeedLimit ( 2, vIn, NULL ) ; } inline void setGuardBox ( const AIVariable& hObject, const AIVariable& xmin, const AIVariable& ymin, const AIVariable& zmin, const AIVariable& xmax, const AIVariable& ymax, const AIVariable& zmax ) const { S3DX_DECLARE_VIN_07( hObject, xmin, ymin, zmin, xmax, ymax, zmax ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setGuardBox ( 7, vIn, NULL ) ; } inline void enableDynamics ( const AIVariable& hObject, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hObject, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.enableDynamics ( 2, vIn, NULL ) ; } inline void enableCollisions ( const AIVariable& hObject, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hObject, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.enableCollisions ( 2, vIn, NULL ) ; } inline void enableRotations ( const AIVariable& hObject, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hObject, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.enableRotations ( 2, vIn, NULL ) ; } inline void enableGuardBox ( const AIVariable& hObject, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hObject, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.enableGuardBox ( 2, vIn, NULL ) ; } inline void enableGravity ( const AIVariable& hObject, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hObject, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.enableGravity ( 2, vIn, NULL ) ; } inline void enableAutoIdle ( const AIVariable& hObject, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hObject, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.enableAutoIdle ( 2, vIn, NULL ) ; } inline void setAutoIdleLinearThreshold ( const AIVariable& hObject, const AIVariable& nThreshold ) const { S3DX_DECLARE_VIN_02( hObject, nThreshold ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setAutoIdleLinearThreshold ( 2, vIn, NULL ) ; } inline void setAutoIdleAngularThreshold ( const AIVariable& hObject, const AIVariable& nThreshold ) const { S3DX_DECLARE_VIN_02( hObject, nThreshold ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setAutoIdleAngularThreshold ( 2, vIn, NULL ) ; } inline void setAutoIdleTime ( const AIVariable& hObject, const AIVariable& nTime ) const { S3DX_DECLARE_VIN_02( hObject, nTime ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setAutoIdleTime ( 2, vIn, NULL ) ; } inline void setIdle ( const AIVariable& hObject, const AIVariable& bIdle ) const { S3DX_DECLARE_VIN_02( hObject, bIdle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setIdle ( 2, vIn, NULL ) ; } inline AIVariable isIdle ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.isIdle ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getLastCollisionTime ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getLastCollisionTime ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getLastCollisionContactCount ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getLastCollisionContactCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getLastCollisionContactPositionAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getLastCollisionContactPositionAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getLastCollisionContactNormalAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.getLastCollisionContactNormalAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable createBallJoint ( const AIVariable& hObject, const AIVariable& hOtherObject, const AIVariable& sJointName ) const { S3DX_DECLARE_VIN_03( hObject, hOtherObject, sJointName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.createBallJoint ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable createSliderJoint ( const AIVariable& hObject, const AIVariable& hOtherObject, const AIVariable& sJointName ) const { S3DX_DECLARE_VIN_03( hObject, hOtherObject, sJointName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.createSliderJoint ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable createHingeJoint ( const AIVariable& hObject, const AIVariable& hOtherObject, const AIVariable& sJointName ) const { S3DX_DECLARE_VIN_03( hObject, hOtherObject, sJointName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.createHingeJoint ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable createHinge2Joint ( const AIVariable& hObject, const AIVariable& hOtherObject, const AIVariable& sJointName ) const { S3DX_DECLARE_VIN_03( hObject, hOtherObject, sJointName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.createHinge2Joint ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable createUniversalJoint ( const AIVariable& hObject, const AIVariable& hOtherObject, const AIVariable& sJointName ) const { S3DX_DECLARE_VIN_03( hObject, hOtherObject, sJointName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.createUniversalJoint ( 3, vIn, &vOut ) ; return vOut ; } inline void destroyJoint ( const AIVariable& hObject, const AIVariable& sJointName ) const { S3DX_DECLARE_VIN_02( hObject, sJointName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.destroyJoint ( 2, vIn, NULL ) ; } inline void setBallJointAnchor ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, sJointName, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setBallJointAnchor ( 6, vIn, NULL ) ; } inline void setSliderJointAxis ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, sJointName, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setSliderJointAxis ( 6, vIn, NULL ) ; } inline void setHingeJointAnchor ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, sJointName, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHingeJointAnchor ( 6, vIn, NULL ) ; } inline void setHingeJointAxis ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, sJointName, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHingeJointAxis ( 6, vIn, NULL ) ; } inline void setHingeJointAxisAngleLimitMin ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHingeJointAxisAngleLimitMin ( 3, vIn, NULL ) ; } inline void setHingeJointAxisAngleLimitMax ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHingeJointAxisAngleLimitMax ( 3, vIn, NULL ) ; } inline void setHingeJointAxisAngleLimitERP ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHingeJointAxisAngleLimitERP ( 3, vIn, NULL ) ; } inline void setHingeJointAxisAngleLimitCFM ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHingeJointAxisAngleLimitCFM ( 3, vIn, NULL ) ; } inline void setHinge2JointAnchor ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, sJointName, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHinge2JointAnchor ( 6, vIn, NULL ) ; } inline void setHinge2JointAxis1 ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, sJointName, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHinge2JointAxis1 ( 6, vIn, NULL ) ; } inline void setHinge2JointAxis2 ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, sJointName, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHinge2JointAxis2 ( 6, vIn, NULL ) ; } inline void setHinge2JointAxis1AngleLimitMin ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHinge2JointAxis1AngleLimitMin ( 3, vIn, NULL ) ; } inline void setHinge2JointAxis1AngleLimitMax ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHinge2JointAxis1AngleLimitMax ( 3, vIn, NULL ) ; } inline void setHinge2JointAxis1AngleLimitERP ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHinge2JointAxis1AngleLimitERP ( 3, vIn, NULL ) ; } inline void setHinge2JointAxis1AngleLimitCFM ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHinge2JointAxis1AngleLimitCFM ( 3, vIn, NULL ) ; } inline void setHinge2JointAxis2MotorSpeedLimit ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nSpeed ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nSpeed ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHinge2JointAxis2MotorSpeedLimit ( 3, vIn, NULL ) ; } inline void setHinge2JointAxis2MotorAcceleration ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nPower ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nPower ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHinge2JointAxis2MotorAcceleration ( 3, vIn, NULL ) ; } inline void setHinge2JointAxis1SuspensionERP ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHinge2JointAxis1SuspensionERP ( 3, vIn, NULL ) ; } inline void setHinge2JointAxis1SuspensionCFM ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setHinge2JointAxis1SuspensionCFM ( 3, vIn, NULL ) ; } inline void setUniversalJointAnchor ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, sJointName, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setUniversalJointAnchor ( 6, vIn, NULL ) ; } inline void setUniversalJointAxis1 ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, sJointName, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setUniversalJointAxis1 ( 6, vIn, NULL ) ; } inline void setUniversalJointAxis2 ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, sJointName, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setUniversalJointAxis2 ( 6, vIn, NULL ) ; } inline void setUniversalJointAxis1AngleLimitMin ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setUniversalJointAxis1AngleLimitMin ( 3, vIn, NULL ) ; } inline void setUniversalJointAxis1AngleLimitMax ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setUniversalJointAxis1AngleLimitMax ( 3, vIn, NULL ) ; } inline void setUniversalJointAxis1AngleLimitERP ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setUniversalJointAxis1AngleLimitERP ( 3, vIn, NULL ) ; } inline void setUniversalJointAxis1AngleLimitCFM ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setUniversalJointAxis1AngleLimitCFM ( 3, vIn, NULL ) ; } inline void setUniversalJointAxis2AngleLimitMin ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setUniversalJointAxis2AngleLimitMin ( 3, vIn, NULL ) ; } inline void setUniversalJointAxis2AngleLimitMax ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setUniversalJointAxis2AngleLimitMax ( 3, vIn, NULL ) ; } inline void setUniversalJointAxis2AngleLimitERP ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setUniversalJointAxis2AngleLimitERP ( 3, vIn, NULL ) ; } inline void setUniversalJointAxis2AngleLimitCFM ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->dynamics.setUniversalJointAxis2AngleLimitCFM ( 3, vIn, NULL ) ; } } ; struct GroupPackage { // Functions // inline AIVariable getSubObjectCount ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->group.getSubObjectCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getSubObjectAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->group.getSubObjectAt ( 2, vIn, &vOut ) ; return vOut ; } } ; struct HashtablePackage { // Functions // inline AIVariable isEmpty ( const AIVariable& hHashTable ) const { S3DX_DECLARE_VIN_01( hHashTable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hashtable.isEmpty ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getSize ( const AIVariable& hHashTable ) const { S3DX_DECLARE_VIN_01( hHashTable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hashtable.getSize ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable get ( const AIVariable& hHashTable, const AIVariable& sKey ) const { S3DX_DECLARE_VIN_02( hHashTable, sKey ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hashtable.get ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getIndex ( const AIVariable& hHashTable, const AIVariable& sKey ) const { S3DX_DECLARE_VIN_02( hHashTable, sKey ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hashtable.getIndex ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getAt ( const AIVariable& hHashTable, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hHashTable, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hashtable.getAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getKeyAt ( const AIVariable& hHashTable, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hHashTable, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hashtable.getKeyAt ( 2, vIn, &vOut ) ; return vOut ; } inline void set ( const AIVariable& hHashTable, const AIVariable& sKey, const AIVariable& vValue ) const { S3DX_DECLARE_VIN_03( hHashTable, sKey, vValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hashtable.set ( 3, vIn, NULL ) ; } inline void empty ( const AIVariable& hHashTable ) const { S3DX_DECLARE_VIN_01( hHashTable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hashtable.empty ( 1, vIn, NULL ) ; } inline void add ( const AIVariable& hHashTable, const AIVariable& sKey, const AIVariable& vValue ) const { S3DX_DECLARE_VIN_03( hHashTable, sKey, vValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hashtable.add ( 3, vIn, NULL ) ; } inline void remove ( const AIVariable& hHashTable, const AIVariable& sKey ) const { S3DX_DECLARE_VIN_02( hHashTable, sKey ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hashtable.remove ( 2, vIn, NULL ) ; } inline AIVariable contains ( const AIVariable& hHashTable, const AIVariable& sKey ) const { S3DX_DECLARE_VIN_02( hHashTable, sKey ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hashtable.contains ( 2, vIn, &vOut ) ; return vOut ; } } ; struct HudPackage { // Constants // const AIVariable kComponentTypeContainer ; const AIVariable kComponentTypeButton ; const AIVariable kComponentTypeList ; const AIVariable kComponentTypeLabel ; const AIVariable kComponentTypePicture ; const AIVariable kComponentTypeEdit ; const AIVariable kComponentTypeMovie ; const AIVariable kComponentTypeProgress ; const AIVariable kComponentTypeSlider ; const AIVariable kComponentTypeRenderMap ; const AIVariable kComponentTypePixelMap ; const AIVariable kComponentTypeCheck ; const AIVariable kAddressingModeClamp ; const AIVariable kAddressingModeRepeat ; const AIVariable kEventTypeMouseEnter ; const AIVariable kEventTypeMouseLeave ; const AIVariable kEventTypeGainFocus ; const AIVariable kEventTypeLooseFocus ; const AIVariable kCommandTypeCallAction ; const AIVariable kCommandTypeSetVisible ; const AIVariable kCommandTypeSetActive ; const AIVariable kCommandTypeSetFocus ; const AIVariable kCommandTypeSetPosition ; const AIVariable kCommandTypeSetSize ; const AIVariable kCommandTypeSetOpacity ; const AIVariable kCommandTypeInterpolatePosition ; const AIVariable kCommandTypeInterpolateSize ; const AIVariable kCommandTypeInterpolateOpacity ; const AIVariable kCommandTypeSleep ; const AIVariable kCommandTypeSetCursorVisible ; const AIVariable kCommandTypeStartTimer ; const AIVariable kCommandTypePauseTimer ; const AIVariable kCommandTypeStopTimer ; const AIVariable kCommandTypeSetCursorPosition ; const AIVariable kCommandTypePlayMovie ; const AIVariable kCommandTypePauseMovie ; const AIVariable kCommandTypeStopMovie ; const AIVariable kCommandTypeInterpolateProgressValue ; const AIVariable kCommandTypeSendEventToUser ; const AIVariable kCommandTypeStopAction ; const AIVariable kCommandTypePlaySound ; const AIVariable kCommandTypeSetBackgroundColor ; const AIVariable kCommandTypeSetForegroundColor ; const AIVariable kCommandTypeSetBorderColor ; const AIVariable kCommandTypeSetLabelText ; const AIVariable kCommandTypeSetBackgroundImage ; const AIVariable kCommandTypeInterpolateBackgroundColor ; const AIVariable kCommandTypeInterpolateForegroundColor ; const AIVariable kCommandTypeInterpolateBorderColor ; const AIVariable kCommandTypeSetButtonText ; const AIVariable kCommandTypeSetEditText ; const AIVariable kCommandTypeEnterModalMode ; const AIVariable kCommandTypeLeaveModalMode ; const AIVariable kCommandTypeSetCheckText ; const AIVariable kCommandTypeSetCheckState ; const AIVariable kCommandTypeMatchScreenSpaceCenter ; const AIVariable kCommandTypeMatchScreenSpaceBottomLeftCorner ; const AIVariable kCommandTypeMatchScreenSpaceTopLeftCorner ; const AIVariable kCommandTypeMatchScreenSpaceBottomRightCorner ; const AIVariable kCommandTypeMatchScreenSpaceTopRightCorner ; const AIVariable kCommandTypeInterpolateWidth ; const AIVariable kCommandTypeInterpolateHeight ; const AIVariable kCommandTypeSetWidth ; const AIVariable kCommandTypeSetHeight ; const AIVariable kCommandTypeMatchScreenSpaceWidth ; const AIVariable kCommandTypeMatchScreenSpaceHeight ; const AIVariable kCommandTypeCopyEditTextToRegister ; const AIVariable kCommandTypeCopyTagToRegister ; const AIVariable kCommandTypeCopyCheckStateToRegister ; const AIVariable kCommandTypeCopyListItemTextToRegister ; const AIVariable kCommandTypeCopyListLastSelectedItemToRegister ; const AIVariable kCommandTypeCopyProgressValueToRegister ; const AIVariable kCommandTypeCopySliderValueToRegister ; const AIVariable kCommandTypeSetRotation ; const AIVariable kCommandTypeInterpolateRotation ; const AIVariable kCommandTypeSetBackgroundImageUVOffset ; const AIVariable kCommandTypeSetBackgroundImageUVScale ; const AIVariable kCommandTypeStopSound ; const AIVariable kCommandTypePauseSound ; const AIVariable kCommandTypeResumeSound ; const AIVariable kCommandTypePlaySoundLoop ; const AIVariable kInterpolatorTypeLinear ; const AIVariable kInterpolatorTypePower2 ; const AIVariable kInterpolatorTypePower3 ; const AIVariable kInterpolatorTypePower4 ; const AIVariable kInterpolatorTypeRoot2 ; const AIVariable kInterpolatorTypeRoot3 ; const AIVariable kInterpolatorTypeRoot4 ; const AIVariable kInterpolatorTypeSpring1 ; const AIVariable kInterpolatorTypeSpring2 ; const AIVariable kInterpolatorTypeSpring3 ; const AIVariable kInterpolatorTypeSpring4 ; const AIVariable kInterpolatorTypeSpring5 ; const AIVariable kInterpolatorTypeSpring6 ; const AIVariable kRuntimeValueCurrentUserMainCamera ; const AIVariable kRuntimeValueCallArgument0 ; const AIVariable kRuntimeValueCallArgument1 ; const AIVariable kRuntimeValueCallArgument2 ; const AIVariable kRuntimeValueCallArgument3 ; const AIVariable kRuntimeValueCurrentUser ; const AIVariable kRuntimeValueRegister0 ; const AIVariable kRuntimeValueRegister1 ; const AIVariable kRuntimeValueRegister2 ; const AIVariable kRuntimeValueRegister3 ; const AIVariable kFillModeSolid ; const AIVariable kBlendModeDefault ; const AIVariable kBlendModeModulate ; const AIVariable kBlendModeAdd ; const AIVariable kShapeTypeRectangle ; const AIVariable kShapeTypeRoundRectangle ; const AIVariable kShapeTypeEllipsoid ; const AIVariable kKeyUp ; const AIVariable kKeyDown ; const AIVariable kKeyRight ; const AIVariable kKeyLeft ; const AIVariable kAlignCenter ; const AIVariable kAlignLeft ; const AIVariable kAlignRight ; const AIVariable kAlignJustify ; const AIVariable kAlignTop ; const AIVariable kCaseVariable ; const AIVariable kCaseFixed ; const AIVariable kEncodingASCII ; const AIVariable kEncodingUTF8 ; const AIVariable kDirectionLeftToRight ; const AIVariable kDirectionRightToLeft ; const AIVariable kOriginCenter ; const AIVariable kOriginLeft ; const AIVariable kOriginRight ; const AIVariable kOriginTop ; const AIVariable kOriginBottom ; const AIVariable kOriginTopLeft ; const AIVariable kOriginTopRight ; const AIVariable kOriginBottomLeft ; const AIVariable kOriginBottomRight ; const AIVariable kProgressTypeLeftToRight ; const AIVariable kProgressTypeRightToLeft ; const AIVariable kProgressTypeBottomToTop ; const AIVariable kProgressTypeTopToBottom ; const AIVariable kSliderTypeLeftToRight ; const AIVariable kSliderTypeRightToLeft ; const AIVariable kSliderTypeBottomToTop ; const AIVariable kSliderTypeTopToBottom ; const AIVariable kWaveTypeConstant ; const AIVariable kWaveTypeSinus ; const AIVariable kWaveTypeTriangle ; const AIVariable kWaveTypeSquare ; const AIVariable kWaveTypeSawtooth ; const AIVariable kWaveTypeSawtoothInv ; const AIVariable kWaveTypeSinusNoise ; const AIVariable kCursorShapeNone ; const AIVariable kCursorShapeDefault ; const AIVariable kCursorShapeHandPointing ; const AIVariable kCursorShapeWaiting ; const AIVariable kCursorShapeCross ; const AIVariable kCursorShapeIBeam ; HudPackage ( ): kComponentTypeContainer ( 1 ), kComponentTypeButton ( 2 ), kComponentTypeList ( 3 ), kComponentTypeLabel ( 4 ), kComponentTypePicture ( 5 ), kComponentTypeEdit ( 6 ), kComponentTypeMovie ( 7 ), kComponentTypeProgress ( 8 ), kComponentTypeSlider ( 11 ), kComponentTypeRenderMap ( 12 ), kComponentTypePixelMap ( 14 ), kComponentTypeCheck ( 15 ), kAddressingModeClamp ( 1 ), kAddressingModeRepeat ( 0 ), kEventTypeMouseEnter ( 5 ), kEventTypeMouseLeave ( 6 ), kEventTypeGainFocus ( 7 ), kEventTypeLooseFocus ( 8 ), kCommandTypeCallAction ( 2 ), kCommandTypeSetVisible ( 4 ), kCommandTypeSetActive ( 5 ), kCommandTypeSetFocus ( 6 ), kCommandTypeSetPosition ( 7 ), kCommandTypeSetSize ( 8 ), kCommandTypeSetOpacity ( 9 ), kCommandTypeInterpolatePosition ( 10 ), kCommandTypeInterpolateSize ( 11 ), kCommandTypeInterpolateOpacity ( 12 ), kCommandTypeSleep ( 13 ), kCommandTypeSetCursorVisible ( 14 ), kCommandTypeStartTimer ( 15 ), kCommandTypePauseTimer ( 16 ), kCommandTypeStopTimer ( 17 ), kCommandTypeSetCursorPosition ( 18 ), kCommandTypePlayMovie ( 19 ), kCommandTypePauseMovie ( 20 ), kCommandTypeStopMovie ( 21 ), kCommandTypeInterpolateProgressValue ( 22 ), kCommandTypeSendEventToUser ( 23 ), kCommandTypeStopAction ( 24 ), kCommandTypePlaySound ( 25 ), kCommandTypeSetBackgroundColor ( 26 ), kCommandTypeSetForegroundColor ( 27 ), kCommandTypeSetBorderColor ( 28 ), kCommandTypeSetLabelText ( 29 ), kCommandTypeSetBackgroundImage ( 30 ), kCommandTypeInterpolateBackgroundColor ( 31 ), kCommandTypeInterpolateForegroundColor ( 32 ), kCommandTypeInterpolateBorderColor ( 33 ), kCommandTypeSetButtonText ( 34 ), kCommandTypeSetEditText ( 35 ), kCommandTypeEnterModalMode ( 36 ), kCommandTypeLeaveModalMode ( 37 ), kCommandTypeSetCheckText ( 38 ), kCommandTypeSetCheckState ( 39 ), kCommandTypeMatchScreenSpaceCenter ( 40 ), kCommandTypeMatchScreenSpaceBottomLeftCorner ( 41 ), kCommandTypeMatchScreenSpaceTopLeftCorner ( 42 ), kCommandTypeMatchScreenSpaceBottomRightCorner ( 43 ), kCommandTypeMatchScreenSpaceTopRightCorner ( 44 ), kCommandTypeInterpolateWidth ( 45 ), kCommandTypeInterpolateHeight ( 46 ), kCommandTypeSetWidth ( 47 ), kCommandTypeSetHeight ( 48 ), kCommandTypeMatchScreenSpaceWidth ( 49 ), kCommandTypeMatchScreenSpaceHeight ( 50 ), kCommandTypeCopyEditTextToRegister ( 51 ), kCommandTypeCopyTagToRegister ( 52 ), kCommandTypeCopyCheckStateToRegister ( 53 ), kCommandTypeCopyListItemTextToRegister ( 54 ), kCommandTypeCopyListLastSelectedItemToRegister ( 55 ), kCommandTypeCopyProgressValueToRegister ( 56 ), kCommandTypeCopySliderValueToRegister ( 57 ), kCommandTypeSetRotation ( 58 ), kCommandTypeInterpolateRotation ( 59 ), kCommandTypeSetBackgroundImageUVOffset ( 60 ), kCommandTypeSetBackgroundImageUVScale ( 61 ), kCommandTypeStopSound ( 62 ), kCommandTypePauseSound ( 63 ), kCommandTypeResumeSound ( 64 ), kCommandTypePlaySoundLoop ( 65 ), kInterpolatorTypeLinear ( 1 ), kInterpolatorTypePower2 ( 2 ), kInterpolatorTypePower3 ( 3 ), kInterpolatorTypePower4 ( 4 ), kInterpolatorTypeRoot2 ( 5 ), kInterpolatorTypeRoot3 ( 6 ), kInterpolatorTypeRoot4 ( 7 ), kInterpolatorTypeSpring1 ( 8 ), kInterpolatorTypeSpring2 ( 9 ), kInterpolatorTypeSpring3 ( 10 ), kInterpolatorTypeSpring4 ( 11 ), kInterpolatorTypeSpring5 ( 12 ), kInterpolatorTypeSpring6 ( 13 ), kRuntimeValueCurrentUserMainCamera ( 6 ), kRuntimeValueCallArgument0 ( 7 ), kRuntimeValueCallArgument1 ( 8 ), kRuntimeValueCallArgument2 ( 9 ), kRuntimeValueCallArgument3 ( 10 ), kRuntimeValueCurrentUser ( 13 ), kRuntimeValueRegister0 ( 14 ), kRuntimeValueRegister1 ( 15 ), kRuntimeValueRegister2 ( 16 ), kRuntimeValueRegister3 ( 17 ), kFillModeSolid ( 0 ), kBlendModeDefault ( 0 ), kBlendModeModulate ( 1 ), kBlendModeAdd ( 2 ), kShapeTypeRectangle ( 0 ), kShapeTypeRoundRectangle ( 1 ), kShapeTypeEllipsoid ( 2 ), kKeyUp ( 0 ), kKeyDown ( 1 ), kKeyRight ( 2 ), kKeyLeft ( 3 ), kAlignCenter ( 0 ), kAlignLeft ( 1 ), kAlignRight ( 2 ), kAlignJustify ( 3 ), kAlignTop ( 4 ), kCaseVariable ( 0 ), kCaseFixed ( 1 ), kEncodingASCII ( 0 ), kEncodingUTF8 ( 1 ), kDirectionLeftToRight ( 0 ), kDirectionRightToLeft ( 1 ), kOriginCenter ( 0 ), kOriginLeft ( 1 ), kOriginRight ( 2 ), kOriginTop ( 3 ), kOriginBottom ( 4 ), kOriginTopLeft ( 5 ), kOriginTopRight ( 6 ), kOriginBottomLeft ( 7 ), kOriginBottomRight ( 8 ), kProgressTypeLeftToRight ( 0 ), kProgressTypeRightToLeft ( 1 ), kProgressTypeBottomToTop ( 2 ), kProgressTypeTopToBottom ( 3 ), kSliderTypeLeftToRight ( 0 ), kSliderTypeRightToLeft ( 1 ), kSliderTypeBottomToTop ( 2 ), kSliderTypeTopToBottom ( 3 ), kWaveTypeConstant ( 0 ), kWaveTypeSinus ( 1 ), kWaveTypeTriangle ( 2 ), kWaveTypeSquare ( 3 ), kWaveTypeSawtooth ( 4 ), kWaveTypeSawtoothInv ( 5 ), kWaveTypeSinusNoise ( 6 ), kCursorShapeNone ( 1 ), kCursorShapeDefault ( 0 ), kCursorShapeHandPointing ( 2 ), kCursorShapeWaiting ( 6 ), kCursorShapeCross ( 5 ) { } // Functions // inline AIVariable checkValidity ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.checkValidity ( 1, vIn, &vOut ) ; return vOut ; } // Deprecated inline AIVariable newTemplateInstance ( const AIVariable& hUser, const AIVariable& sTemplate, const AIVariable& sPrefix ) const { S3DX_DECLARE_VIN_03( hUser, sTemplate, sPrefix ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.newTemplateInstance ( 3, vIn, &vOut ) ; return vOut ; } inline void destroyTemplateInstance ( const AIVariable& hUser, const AIVariable& sPrefix ) const { S3DX_DECLARE_VIN_02( hUser, sPrefix ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.destroyTemplateInstance ( 2, vIn, NULL ) ; } inline AIVariable newComponent ( const AIVariable& hUser, const AIVariable& kType ) const { S3DX_DECLARE_VIN_02( hUser, kType ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.newComponent ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable newComponent ( const AIVariable& hUser, const AIVariable& kType, const AIVariable& sOptionalTag ) const { S3DX_DECLARE_VIN_03( hUser, kType, sOptionalTag ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.newComponent ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable newAction ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.newAction ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable newAction ( const AIVariable& hUser, const AIVariable& sOptionalTag ) const { S3DX_DECLARE_VIN_02( hUser, sOptionalTag ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.newAction ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable newTimer ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.newTimer ( 1, vIn, &vOut ) ; return vOut ; } inline void destroyComponent ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.destroyComponent ( 1, vIn, NULL ) ; } inline void destroyAction ( const AIVariable& hAction ) const { S3DX_DECLARE_VIN_01( hAction ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.destroyAction ( 1, vIn, NULL ) ; } inline void destroyTimer ( const AIVariable& hTimer ) const { S3DX_DECLARE_VIN_01( hTimer ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.destroyTimer ( 1, vIn, NULL ) ; } inline AIVariable getComponentCount ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getActionCount ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getActionCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getTimerCount ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getTimerCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getComponentAt ( const AIVariable& hUser, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hUser, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getActionAt ( const AIVariable& hUser, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hUser, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getActionAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getTimerAt ( const AIVariable& hUser, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hUser, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getTimerAt ( 2, vIn, &vOut ) ; return vOut ; } inline void setInitialAction ( const AIVariable& hUser, const AIVariable& hAction ) const { S3DX_DECLARE_VIN_02( hUser, hAction ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setInitialAction ( 2, vIn, NULL ) ; } // Deprecated inline AIVariable setDefaultFont ( const AIVariable& hUser, const AIVariable& sFont ) const { S3DX_DECLARE_VIN_02( hUser, sFont ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setDefaultFont ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getDefaultFontName ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getDefaultFontName ( 1, vIn, &vOut ) ; return vOut ; } inline void setDefaultTextShadowColor ( const AIVariable& hUser, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nAlpha ) const { S3DX_DECLARE_VIN_05( hUser, nRed, nGreen, nBlue, nAlpha ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setDefaultTextShadowColor ( 5, vIn, NULL ) ; } inline AIVariables<4> getDefaultTextShadowColor ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getDefaultTextShadowColor ( 1, vIn, vOut ) ; return vOut ; } inline AIVariable getComponent ( const AIVariable& hUser, const AIVariable& sTag ) const { S3DX_DECLARE_VIN_02( hUser, sTag ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponent ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getAction ( const AIVariable& hUser, const AIVariable& sTag ) const { S3DX_DECLARE_VIN_02( hUser, sTag ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getAction ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable setFocus ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setFocus ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setSoundBank ( const AIVariable& hUser, const AIVariable& sSoundBank ) const { S3DX_DECLARE_VIN_02( hUser, sSoundBank ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setSoundBank ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getSoundBankName ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getSoundBankName ( 1, vIn, &vOut ) ; return vOut ; } inline void playSound ( const AIVariable& hUser, const AIVariable& nSoundIndex, const AIVariable& nVolume, const AIVariable& bLoop ) const { S3DX_DECLARE_VIN_04( hUser, nSoundIndex, nVolume, bLoop ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.playSound ( 4, vIn, NULL ) ; } inline void pauseSound ( const AIVariable& hUser, const AIVariable& nSoundIndex ) const { S3DX_DECLARE_VIN_02( hUser, nSoundIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.pauseSound ( 2, vIn, NULL ) ; } inline void resumeSound ( const AIVariable& hUser, const AIVariable& nSoundIndex ) const { S3DX_DECLARE_VIN_02( hUser, nSoundIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.resumeSound ( 2, vIn, NULL ) ; } inline void stopSound ( const AIVariable& hUser, const AIVariable& nSoundIndex ) const { S3DX_DECLARE_VIN_02( hUser, nSoundIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.stopSound ( 2, vIn, NULL ) ; } inline void stopAllSounds ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.stopAllSounds ( 1, vIn, NULL ) ; } inline void setSoundVolume ( const AIVariable& hUser, const AIVariable& nSoundIndex, const AIVariable& nVolume ) const { S3DX_DECLARE_VIN_03( hUser, nSoundIndex, nVolume ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setSoundVolume ( 3, vIn, NULL ) ; } inline AIVariable getSoundPlaybackProgress ( const AIVariable& hUser, const AIVariable& nSoundIndex ) const { S3DX_DECLARE_VIN_02( hUser, nSoundIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getSoundPlaybackProgress ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable isSoundPlaying ( const AIVariable& hUser, const AIVariable& nSoundIndex ) const { S3DX_DECLARE_VIN_02( hUser, nSoundIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.isSoundPlaying ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable isSoundPaused ( const AIVariable& hUser, const AIVariable& nSoundIndex ) const { S3DX_DECLARE_VIN_02( hUser, nSoundIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.isSoundPaused ( 2, vIn, &vOut ) ; return vOut ; } inline void setCursorVisible ( const AIVariable& hUser, const AIVariable& bVisible ) const { S3DX_DECLARE_VIN_02( hUser, bVisible ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCursorVisible ( 2, vIn, NULL ) ; } inline void setCursorPosition ( const AIVariable& hUser, const AIVariable& nPosX, const AIVariable& nPosY ) const { S3DX_DECLARE_VIN_03( hUser, nPosX, nPosY ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCursorPosition ( 3, vIn, NULL ) ; } inline AIVariables<2> getCursorPosition ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getCursorPosition ( 1, vIn, vOut ) ; return vOut ; } inline void forceCursorShape ( const AIVariable& hUser, const AIVariable& kCursorShape ) const { S3DX_DECLARE_VIN_02( hUser, kCursorShape ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.forceCursorShape ( 2, vIn, NULL ) ; } inline AIVariable getComponentType ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentType ( 1, vIn, &vOut ) ; return vOut ; } inline void setComponentZOrder ( const AIVariable& hComponent, const AIVariable& nZOrder ) const { S3DX_DECLARE_VIN_02( hComponent, nZOrder ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentZOrder ( 2, vIn, NULL ) ; } inline AIVariable getComponentZOrder ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentZOrder ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setComponentContainer ( const AIVariable& hComponent, const AIVariable& hContainer ) const { S3DX_DECLARE_VIN_02( hComponent, hContainer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentContainer ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getComponentContainer ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentContainer ( 1, vIn, &vOut ) ; return vOut ; } inline void setComponentOrigin ( const AIVariable& hComponent, const AIVariable& kOrigin ) const { S3DX_DECLARE_VIN_02( hComponent, kOrigin ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentOrigin ( 2, vIn, NULL ) ; } inline AIVariable getComponentOrigin ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentOrigin ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setComponentOffscreenOutput ( const AIVariable& hComponent, const AIVariable& sRenderMap ) const { S3DX_DECLARE_VIN_02( hComponent, sRenderMap ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentOffscreenOutput ( 2, vIn, &vOut ) ; return vOut ; } inline void setComponentPosition ( const AIVariable& hComponent, const AIVariable& nPosX, const AIVariable& nPosY ) const { S3DX_DECLARE_VIN_03( hComponent, nPosX, nPosY ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentPosition ( 3, vIn, NULL ) ; } inline AIVariables<2> getComponentPosition ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentPosition ( 1, vIn, vOut ) ; return vOut ; } inline void setComponentSize ( const AIVariable& hComponent, const AIVariable& nSizeX, const AIVariable& nSizeY ) const { S3DX_DECLARE_VIN_03( hComponent, nSizeX, nSizeY ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentSize ( 3, vIn, NULL ) ; } inline AIVariables<2> getComponentSize ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentSize ( 1, vIn, vOut ) ; return vOut ; } inline void setComponentRotation ( const AIVariable& hComponent, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_02( hComponent, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentRotation ( 2, vIn, NULL ) ; } inline AIVariable getComponentRotation ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentRotation ( 1, vIn, &vOut ) ; return vOut ; } inline void setComponentOpacity ( const AIVariable& hComponent, const AIVariable& nOpacity ) const { S3DX_DECLARE_VIN_02( hComponent, nOpacity ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentOpacity ( 2, vIn, NULL ) ; } inline AIVariable getComponentOpacity ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentOpacity ( 1, vIn, &vOut ) ; return vOut ; } inline void setComponentVisible ( const AIVariable& hComponent, const AIVariable& bVisible ) const { S3DX_DECLARE_VIN_02( hComponent, bVisible ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentVisible ( 2, vIn, NULL ) ; } inline void setComponentActive ( const AIVariable& hComponent, const AIVariable& bActive ) const { S3DX_DECLARE_VIN_02( hComponent, bActive ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentActive ( 2, vIn, NULL ) ; } inline AIVariable setComponentBackgroundImage ( const AIVariable& hComponent, const AIVariable& sImageName ) const { S3DX_DECLARE_VIN_02( hComponent, sImageName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentBackgroundImage ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getComponentBackgroundImageName ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentBackgroundImageName ( 1, vIn, &vOut ) ; return vOut ; } inline void setComponentBackgroundColor ( const AIVariable& hComponent, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nAlpha ) const { S3DX_DECLARE_VIN_05( hComponent, nRed, nGreen, nBlue, nAlpha ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentBackgroundColor ( 5, vIn, NULL ) ; } inline AIVariables<4> getComponentBackgroundColor ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentBackgroundColor ( 1, vIn, vOut ) ; return vOut ; } inline void setComponentForegroundColor ( const AIVariable& hComponent, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nAlpha ) const { S3DX_DECLARE_VIN_05( hComponent, nRed, nGreen, nBlue, nAlpha ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentForegroundColor ( 5, vIn, NULL ) ; } inline AIVariables<4> getComponentForegroundColor ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentForegroundColor ( 1, vIn, vOut ) ; return vOut ; } inline void setComponentBorderColor ( const AIVariable& hComponent, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nAlpha ) const { S3DX_DECLARE_VIN_05( hComponent, nRed, nGreen, nBlue, nAlpha ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentBorderColor ( 5, vIn, NULL ) ; } inline AIVariables<4> getComponentBorderColor ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentBorderColor ( 1, vIn, vOut ) ; return vOut ; } inline void setComponentFillMode ( const AIVariable& hComponent, const AIVariable& kFillMode ) const { S3DX_DECLARE_VIN_02( hComponent, kFillMode ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentFillMode ( 2, vIn, NULL ) ; } inline AIVariable getComponentFillMode ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentFillMode ( 1, vIn, &vOut ) ; return vOut ; } inline void setComponentBlendMode ( const AIVariable& hComponent, const AIVariable& kBlendMode ) const { S3DX_DECLARE_VIN_02( hComponent, kBlendMode ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentBlendMode ( 2, vIn, NULL ) ; } inline AIVariable getComponentBlendMode ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentBlendMode ( 1, vIn, &vOut ) ; return vOut ; } inline void setComponentShapeType ( const AIVariable& hComponent, const AIVariable& kShapeType ) const { S3DX_DECLARE_VIN_02( hComponent, kShapeType ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentShapeType ( 2, vIn, NULL ) ; } inline AIVariable getComponentShapeType ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentShapeType ( 1, vIn, &vOut ) ; return vOut ; } inline void setComponentShapeRoundRectangleCornerRadius ( const AIVariable& hComponent, const AIVariable& nRadius ) const { S3DX_DECLARE_VIN_02( hComponent, nRadius ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentShapeRoundRectangleCornerRadius ( 2, vIn, NULL ) ; } inline AIVariable getComponentShapeRoundRectangleCornerRadius ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentShapeRoundRectangleCornerRadius ( 1, vIn, &vOut ) ; return vOut ; } inline void setComponentOpacityWaveModifier ( const AIVariable& hComponent, const AIVariable& kWaveType, const AIVariable& nWaveBase, const AIVariable& nWaveAmplitude, const AIVariable& nWavePhase, const AIVariable& nWaveFrequency ) const { S3DX_DECLARE_VIN_06( hComponent, kWaveType, nWaveBase, nWaveAmplitude, nWavePhase, nWaveFrequency ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentOpacityWaveModifier ( 6, vIn, NULL ) ; } inline void setComponentAspectInvariant ( const AIVariable& hComponent, const AIVariable& bInvariant ) const { S3DX_DECLARE_VIN_02( hComponent, bInvariant ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentAspectInvariant ( 2, vIn, NULL ) ; } inline void setComponentIgnoredByMouse ( const AIVariable& hComponent, const AIVariable& bIgnored ) const { S3DX_DECLARE_VIN_02( hComponent, bIgnored ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentIgnoredByMouse ( 2, vIn, NULL ) ; } inline void setComponentAdjustedToNearestPixels ( const AIVariable& hComponent, const AIVariable& bAdjusted ) const { S3DX_DECLARE_VIN_02( hComponent, bAdjusted ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentAdjustedToNearestPixels ( 2, vIn, NULL ) ; } inline void addComponentEventHandler ( const AIVariable& hComponent, const AIVariable& kEventType, const AIVariable& hAction ) const { S3DX_DECLARE_VIN_03( hComponent, kEventType, hAction ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.addComponentEventHandler ( 3, vIn, NULL ) ; } inline void removeComponentEventHandler ( const AIVariable& hComponent, const AIVariable& kEventType ) const { S3DX_DECLARE_VIN_02( hComponent, kEventType ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.removeComponentEventHandler ( 2, vIn, NULL ) ; } inline AIVariables<2> getComponentScreenSpaceCenter ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentScreenSpaceCenter ( 1, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getComponentScreenSpaceBottomLeftCorner ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentScreenSpaceBottomLeftCorner ( 1, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getComponentScreenSpaceTopLeftCorner ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentScreenSpaceTopLeftCorner ( 1, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getComponentScreenSpaceBottomRightCorner ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentScreenSpaceBottomRightCorner ( 1, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getComponentScreenSpaceTopRightCorner ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentScreenSpaceTopRightCorner ( 1, vIn, vOut ) ; return vOut ; } inline void matchComponentScreenSpaceCenter ( const AIVariable& hComponent, const AIVariable& hOtherComponent ) const { S3DX_DECLARE_VIN_02( hComponent, hOtherComponent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.matchComponentScreenSpaceCenter ( 2, vIn, NULL ) ; } inline void matchComponentScreenSpaceBottomLeftCorner ( const AIVariable& hComponent, const AIVariable& hOtherComponent ) const { S3DX_DECLARE_VIN_02( hComponent, hOtherComponent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.matchComponentScreenSpaceBottomLeftCorner ( 2, vIn, NULL ) ; } inline void matchComponentScreenSpaceTopLeftCorner ( const AIVariable& hComponent, const AIVariable& hOtherComponent ) const { S3DX_DECLARE_VIN_02( hComponent, hOtherComponent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.matchComponentScreenSpaceTopLeftCorner ( 2, vIn, NULL ) ; } inline void matchComponentScreenSpaceBottomRightCorner ( const AIVariable& hComponent, const AIVariable& hOtherComponent ) const { S3DX_DECLARE_VIN_02( hComponent, hOtherComponent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.matchComponentScreenSpaceBottomRightCorner ( 2, vIn, NULL ) ; } inline void matchComponentScreenSpaceTopRightCorner ( const AIVariable& hComponent, const AIVariable& hOtherComponent ) const { S3DX_DECLARE_VIN_02( hComponent, hOtherComponent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.matchComponentScreenSpaceTopRightCorner ( 2, vIn, NULL ) ; } inline void setComponentBackgroundImageUVOffset ( const AIVariable& hComponent, const AIVariable& nOffsetU, const AIVariable& nOffsetV ) const { S3DX_DECLARE_VIN_03( hComponent, nOffsetU, nOffsetV ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentBackgroundImageUVOffset ( 3, vIn, NULL ) ; } inline AIVariables<2> getComponentBackgroundImageUVOffset ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentBackgroundImageUVOffset ( 1, vIn, vOut ) ; return vOut ; } inline void setComponentBackgroundImageUVScale ( const AIVariable& hComponent, const AIVariable& nScaleU, const AIVariable& nScaleV ) const { S3DX_DECLARE_VIN_03( hComponent, nScaleU, nScaleV ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentBackgroundImageUVScale ( 3, vIn, NULL ) ; } inline AIVariables<2> getComponentBackgroundImageUVScale ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentBackgroundImageUVScale ( 1, vIn, vOut ) ; return vOut ; } inline void setComponentBackgroundImageAddressingMode ( const AIVariable& hComponent, const AIVariable& kAddressingModeU, const AIVariable& kAddressingModeV ) const { S3DX_DECLARE_VIN_03( hComponent, kAddressingModeU, kAddressingModeV ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setComponentBackgroundImageAddressingMode ( 3, vIn, NULL ) ; } inline AIVariables<2> getComponentBackgroundImageAddressingMode ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentBackgroundImageAddressingMode ( 1, vIn, vOut ) ; return vOut ; } inline AIVariable isComponentVisible ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.isComponentVisible ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable isComponentActive ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.isComponentActive ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getComponentTag ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentTag ( 1, vIn, &vOut ) ; return vOut ; } inline void setLabelText ( const AIVariable& hComponent, const AIVariable& sText ) const { S3DX_DECLARE_VIN_02( hComponent, sText ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setLabelText ( 2, vIn, NULL ) ; } inline AIVariable getLabelText ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getLabelText ( 1, vIn, &vOut ) ; return vOut ; } inline void setLabelTextHeight ( const AIVariable& hComponent, const AIVariable& nTextHeight ) const { S3DX_DECLARE_VIN_02( hComponent, nTextHeight ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setLabelTextHeight ( 2, vIn, NULL ) ; } inline AIVariable getLabelTextHeight ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getLabelTextHeight ( 1, vIn, &vOut ) ; return vOut ; } inline void setLabelTextLetterSpacing ( const AIVariable& hComponent, const AIVariable& nSpacing ) const { S3DX_DECLARE_VIN_02( hComponent, nSpacing ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setLabelTextLetterSpacing ( 2, vIn, NULL ) ; } inline AIVariable getLabelTextLetterSpacing ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getLabelTextLetterSpacing ( 1, vIn, &vOut ) ; return vOut ; } inline void setLabelTextLineSpacing ( const AIVariable& hComponent, const AIVariable& nSpacing ) const { S3DX_DECLARE_VIN_02( hComponent, nSpacing ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setLabelTextLineSpacing ( 2, vIn, NULL ) ; } inline AIVariable getLabelTextLineSpacing ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getLabelTextLineSpacing ( 1, vIn, &vOut ) ; return vOut ; } inline void setLabelTextAlignment ( const AIVariable& hComponent, const AIVariable& kHAlignment, const AIVariable& kVAlignment ) const { S3DX_DECLARE_VIN_03( hComponent, kHAlignment, kVAlignment ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setLabelTextAlignment ( 3, vIn, NULL ) ; } inline AIVariables<2> getLabelTextAlignment ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getLabelTextAlignment ( 1, vIn, vOut ) ; return vOut ; } inline void setLabelTextCase ( const AIVariable& hComponent, const AIVariable& kCase ) const { S3DX_DECLARE_VIN_02( hComponent, kCase ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setLabelTextCase ( 2, vIn, NULL ) ; } inline AIVariable getLabelTextCase ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getLabelTextCase ( 1, vIn, &vOut ) ; return vOut ; } inline void setLabelTextEncoding ( const AIVariable& hComponent, const AIVariable& kEncoding ) const { S3DX_DECLARE_VIN_02( hComponent, kEncoding ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setLabelTextEncoding ( 2, vIn, NULL ) ; } inline AIVariable getLabelTextEncoding ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getLabelTextEncoding ( 1, vIn, &vOut ) ; return vOut ; } inline void setLabelTextDirection ( const AIVariable& hComponent, const AIVariable& kDirection ) const { S3DX_DECLARE_VIN_02( hComponent, kDirection ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setLabelTextDirection ( 2, vIn, NULL ) ; } inline AIVariable getLabelTextDirection ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getLabelTextDirection ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setLabelFont ( const AIVariable& hComponent, const AIVariable& sFontName ) const { S3DX_DECLARE_VIN_02( hComponent, sFontName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setLabelFont ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getLabelFontName ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getLabelFontName ( 1, vIn, &vOut ) ; return vOut ; } inline void enableLabelTextAntialiasing ( const AIVariable& hComponent, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hComponent, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.enableLabelTextAntialiasing ( 2, vIn, NULL ) ; } inline AIVariable isLabelTextAntialiasingEnabled ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.isLabelTextAntialiasingEnabled ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getLabelTextTotalLineCount ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getLabelTextTotalLineCount ( 1, vIn, &vOut ) ; return vOut ; } inline void setEditText ( const AIVariable& hComponent, const AIVariable& sText ) const { S3DX_DECLARE_VIN_02( hComponent, sText ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setEditText ( 2, vIn, NULL ) ; } inline AIVariable getEditText ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getEditText ( 1, vIn, &vOut ) ; return vOut ; } inline void setEditTextHeight ( const AIVariable& hComponent, const AIVariable& nTextHeight ) const { S3DX_DECLARE_VIN_02( hComponent, nTextHeight ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setEditTextHeight ( 2, vIn, NULL ) ; } inline AIVariable getEditTextHeight ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getEditTextHeight ( 1, vIn, &vOut ) ; return vOut ; } inline void setEditTextLetterSpacing ( const AIVariable& hComponent, const AIVariable& nSpacing ) const { S3DX_DECLARE_VIN_02( hComponent, nSpacing ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setEditTextLetterSpacing ( 2, vIn, NULL ) ; } inline AIVariable getEditTextLetterSpacing ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getEditTextLetterSpacing ( 1, vIn, &vOut ) ; return vOut ; } inline void setEditTextLineSpacing ( const AIVariable& hComponent, const AIVariable& nSpacing ) const { S3DX_DECLARE_VIN_02( hComponent, nSpacing ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setEditTextLineSpacing ( 2, vIn, NULL ) ; } inline AIVariable getEditTextLineSpacing ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getEditTextLineSpacing ( 1, vIn, &vOut ) ; return vOut ; } inline void setEditTextAlignment ( const AIVariable& hComponent, const AIVariable& kHAlignment, const AIVariable& kVAlignment ) const { S3DX_DECLARE_VIN_03( hComponent, kHAlignment, kVAlignment ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setEditTextAlignment ( 3, vIn, NULL ) ; } inline AIVariables<2> getEditTextAlignment ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getEditTextAlignment ( 1, vIn, vOut ) ; return vOut ; } inline void setEditTextCase ( const AIVariable& hComponent, const AIVariable& kCase ) const { S3DX_DECLARE_VIN_02( hComponent, kCase ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setEditTextCase ( 2, vIn, NULL ) ; } inline AIVariable getEditTextCase ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getEditTextCase ( 1, vIn, &vOut ) ; return vOut ; } inline void setEditTextEncoding ( const AIVariable& hComponent, const AIVariable& kEncoding ) const { S3DX_DECLARE_VIN_02( hComponent, kEncoding ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setEditTextEncoding ( 2, vIn, NULL ) ; } inline AIVariable getEditTextEncoding ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getEditTextEncoding ( 1, vIn, &vOut ) ; return vOut ; } inline void setEditTextDirection ( const AIVariable& hComponent, const AIVariable& kDirection ) const { S3DX_DECLARE_VIN_02( hComponent, kDirection ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setEditTextDirection ( 2, vIn, NULL ) ; } inline AIVariable getEditTextDirection ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getEditTextDirection ( 1, vIn, &vOut ) ; return vOut ; } inline void setEditTextMaxLength ( const AIVariable& hComponent, const AIVariable& nLength ) const { S3DX_DECLARE_VIN_02( hComponent, nLength ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setEditTextMaxLength ( 2, vIn, NULL ) ; } inline AIVariable getEditTextMaxLength ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getEditTextMaxLength ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setEditFont ( const AIVariable& hComponent, const AIVariable& sFontName ) const { S3DX_DECLARE_VIN_02( hComponent, sFontName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setEditFont ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getEditFontName ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getEditFontName ( 1, vIn, &vOut ) ; return vOut ; } inline void setEditOnChangedAction ( const AIVariable& hComponent, const AIVariable& hAction ) const { S3DX_DECLARE_VIN_02( hComponent, hAction ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setEditOnChangedAction ( 2, vIn, NULL ) ; } inline void setEditSecure ( const AIVariable& hComponent, const AIVariable& bSecure ) const { S3DX_DECLARE_VIN_02( hComponent, bSecure ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setEditSecure ( 2, vIn, NULL ) ; } inline AIVariable isEditSecure ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.isEditSecure ( 1, vIn, &vOut ) ; return vOut ; } inline void enableEditTextAntialiasing ( const AIVariable& hComponent, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hComponent, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.enableEditTextAntialiasing ( 2, vIn, NULL ) ; } inline AIVariable isEditTextAntialiasingEnabled ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.isEditTextAntialiasingEnabled ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getEditTextTotalLineCount ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getEditTextTotalLineCount ( 1, vIn, &vOut ) ; return vOut ; } inline void setCheckText ( const AIVariable& hComponent, const AIVariable& sText ) const { S3DX_DECLARE_VIN_02( hComponent, sText ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCheckText ( 2, vIn, NULL ) ; } inline AIVariable getCheckText ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getCheckText ( 1, vIn, &vOut ) ; return vOut ; } inline void setCheckTextHeight ( const AIVariable& hComponent, const AIVariable& nTextHeight ) const { S3DX_DECLARE_VIN_02( hComponent, nTextHeight ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCheckTextHeight ( 2, vIn, NULL ) ; } inline AIVariable getCheckTextHeight ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getCheckTextHeight ( 1, vIn, &vOut ) ; return vOut ; } inline void setCheckTextLetterSpacing ( const AIVariable& hComponent, const AIVariable& nSpacing ) const { S3DX_DECLARE_VIN_02( hComponent, nSpacing ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCheckTextLetterSpacing ( 2, vIn, NULL ) ; } inline AIVariable getCheckTextLetterSpacing ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getCheckTextLetterSpacing ( 1, vIn, &vOut ) ; return vOut ; } inline void setCheckTextLineSpacing ( const AIVariable& hComponent, const AIVariable& nSpacing ) const { S3DX_DECLARE_VIN_02( hComponent, nSpacing ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCheckTextLineSpacing ( 2, vIn, NULL ) ; } inline AIVariable getCheckTextLineSpacing ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getCheckTextLineSpacing ( 1, vIn, &vOut ) ; return vOut ; } inline void setCheckTextAlignment ( const AIVariable& hComponent, const AIVariable& kHAlignment, const AIVariable& kVAlignment ) const { S3DX_DECLARE_VIN_03( hComponent, kHAlignment, kVAlignment ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCheckTextAlignment ( 3, vIn, NULL ) ; } inline AIVariables<2> getCheckTextAlignment ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getCheckTextAlignment ( 1, vIn, vOut ) ; return vOut ; } inline void setCheckTextCase ( const AIVariable& hComponent, const AIVariable& kCase ) const { S3DX_DECLARE_VIN_02( hComponent, kCase ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCheckTextCase ( 2, vIn, NULL ) ; } inline AIVariable getCheckTextCase ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getCheckTextCase ( 1, vIn, &vOut ) ; return vOut ; } inline void setCheckTextEncoding ( const AIVariable& hComponent, const AIVariable& kEncoding ) const { S3DX_DECLARE_VIN_02( hComponent, kEncoding ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCheckTextEncoding ( 2, vIn, NULL ) ; } inline AIVariable getCheckTextEncoding ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getCheckTextEncoding ( 1, vIn, &vOut ) ; return vOut ; } inline void setCheckTextDirection ( const AIVariable& hComponent, const AIVariable& kDirection ) const { S3DX_DECLARE_VIN_02( hComponent, kDirection ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCheckTextDirection ( 2, vIn, NULL ) ; } inline AIVariable getCheckTextDirection ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getCheckTextDirection ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setCheckIcons ( const AIVariable& hComponent, const AIVariable& sCheckedIconName, const AIVariable& sUncheckedIconName ) const { S3DX_DECLARE_VIN_03( hComponent, sCheckedIconName, sUncheckedIconName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCheckIcons ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable setCheckFont ( const AIVariable& hComponent, const AIVariable& sFontName ) const { S3DX_DECLARE_VIN_02( hComponent, sFontName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCheckFont ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getCheckFontName ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getCheckFontName ( 1, vIn, &vOut ) ; return vOut ; } inline void setCheckOnCheckedAction ( const AIVariable& hComponent, const AIVariable& hAction ) const { S3DX_DECLARE_VIN_02( hComponent, hAction ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCheckOnCheckedAction ( 2, vIn, NULL ) ; } inline void setCheckOnUncheckedAction ( const AIVariable& hComponent, const AIVariable& hAction ) const { S3DX_DECLARE_VIN_02( hComponent, hAction ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCheckOnUncheckedAction ( 2, vIn, NULL ) ; } inline AIVariable getCheckState ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getCheckState ( 1, vIn, &vOut ) ; return vOut ; } inline void setCheckState ( const AIVariable& hComponent, const AIVariable& bChecked ) const { S3DX_DECLARE_VIN_02( hComponent, bChecked ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setCheckState ( 2, vIn, NULL ) ; } inline void enableCheckTextAntialiasing ( const AIVariable& hComponent, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hComponent, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.enableCheckTextAntialiasing ( 2, vIn, NULL ) ; } inline AIVariable isCheckTextAntialiasingEnabled ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.isCheckTextAntialiasingEnabled ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getCheckTextTotalLineCount ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getCheckTextTotalLineCount ( 1, vIn, &vOut ) ; return vOut ; } inline void setButtonText ( const AIVariable& hComponent, const AIVariable& sText ) const { S3DX_DECLARE_VIN_02( hComponent, sText ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setButtonText ( 2, vIn, NULL ) ; } inline AIVariable getButtonText ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getButtonText ( 1, vIn, &vOut ) ; return vOut ; } inline void setButtonTextHeight ( const AIVariable& hComponent, const AIVariable& nTextHeight ) const { S3DX_DECLARE_VIN_02( hComponent, nTextHeight ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setButtonTextHeight ( 2, vIn, NULL ) ; } inline AIVariable getButtonTextHeight ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getButtonTextHeight ( 1, vIn, &vOut ) ; return vOut ; } inline void setButtonTextLetterSpacing ( const AIVariable& hComponent, const AIVariable& nSpacing ) const { S3DX_DECLARE_VIN_02( hComponent, nSpacing ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setButtonTextLetterSpacing ( 2, vIn, NULL ) ; } inline AIVariable getButtonTextLetterSpacing ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getButtonTextLetterSpacing ( 1, vIn, &vOut ) ; return vOut ; } inline void setButtonTextLineSpacing ( const AIVariable& hComponent, const AIVariable& nSpacing ) const { S3DX_DECLARE_VIN_02( hComponent, nSpacing ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setButtonTextLineSpacing ( 2, vIn, NULL ) ; } inline AIVariable getButtonTextLineSpacing ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getButtonTextLineSpacing ( 1, vIn, &vOut ) ; return vOut ; } inline void setButtonTextAlignment ( const AIVariable& hComponent, const AIVariable& kHAlignment, const AIVariable& kVAlignment ) const { S3DX_DECLARE_VIN_03( hComponent, kHAlignment, kVAlignment ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setButtonTextAlignment ( 3, vIn, NULL ) ; } inline AIVariables<2> getButtonTextAlignment ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getButtonTextAlignment ( 1, vIn, vOut ) ; return vOut ; } inline void setButtonTextCase ( const AIVariable& hComponent, const AIVariable& kCase ) const { S3DX_DECLARE_VIN_02( hComponent, kCase ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setButtonTextCase ( 2, vIn, NULL ) ; } inline AIVariable getButtonTextCase ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getButtonTextCase ( 1, vIn, &vOut ) ; return vOut ; } inline void setButtonTextEncoding ( const AIVariable& hComponent, const AIVariable& kEncoding ) const { S3DX_DECLARE_VIN_02( hComponent, kEncoding ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setButtonTextEncoding ( 2, vIn, NULL ) ; } inline AIVariable getButtonTextEncoding ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getButtonTextEncoding ( 1, vIn, &vOut ) ; return vOut ; } inline void setButtonTextDirection ( const AIVariable& hComponent, const AIVariable& kDirection ) const { S3DX_DECLARE_VIN_02( hComponent, kDirection ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setButtonTextDirection ( 2, vIn, NULL ) ; } inline AIVariable getButtonTextDirection ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getButtonTextDirection ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setButtonFont ( const AIVariable& hComponent, const AIVariable& sFontName ) const { S3DX_DECLARE_VIN_02( hComponent, sFontName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setButtonFont ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getButtonFontName ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getButtonFontName ( 1, vIn, &vOut ) ; return vOut ; } inline void setButtonOnClickAction ( const AIVariable& hComponent, const AIVariable& hAction ) const { S3DX_DECLARE_VIN_02( hComponent, hAction ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setButtonOnClickAction ( 2, vIn, NULL ) ; } inline void setButtonOnClickedAction ( const AIVariable& hComponent, const AIVariable& hAction ) const { S3DX_DECLARE_VIN_02( hComponent, hAction ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setButtonOnClickedAction ( 2, vIn, NULL ) ; } inline void enableButtonTextAntialiasing ( const AIVariable& hComponent, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hComponent, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.enableButtonTextAntialiasing ( 2, vIn, NULL ) ; } inline AIVariable isButtonTextAntialiasingEnabled ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.isButtonTextAntialiasingEnabled ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getButtonTextTotalLineCount ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getButtonTextTotalLineCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setMovieClip ( const AIVariable& hComponent, const AIVariable& sMovieName ) const { S3DX_DECLARE_VIN_02( hComponent, sMovieName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setMovieClip ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable setMovieExternalClip ( const AIVariable& hComponent, const AIVariable& sMoviePath ) const { S3DX_DECLARE_VIN_02( hComponent, sMoviePath ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setMovieExternalClip ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getMovieBufferingProgress ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getMovieBufferingProgress ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getMoviePlaybackProgress ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getMoviePlaybackProgress ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getMoviePlaybackCursor ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getMoviePlaybackCursor ( 1, vIn, &vOut ) ; return vOut ; } inline void setMovieTransparentColor ( const AIVariable& hComponent, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nTolerance ) const { S3DX_DECLARE_VIN_05( hComponent, nRed, nGreen, nBlue, nTolerance ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setMovieTransparentColor ( 5, vIn, NULL ) ; } inline void playMovie ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.playMovie ( 1, vIn, NULL ) ; } inline void pauseMovie ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.pauseMovie ( 1, vIn, NULL ) ; } inline void stopMovie ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.stopMovie ( 1, vIn, NULL ) ; } inline AIVariable setRenderMap ( const AIVariable& hComponent, const AIVariable& sRenderMap ) const { S3DX_DECLARE_VIN_02( hComponent, sRenderMap ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setRenderMap ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getRenderMapName ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getRenderMapName ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setPixelMap ( const AIVariable& hComponent, const AIVariable& sPixelMap ) const { S3DX_DECLARE_VIN_02( hComponent, sPixelMap ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setPixelMap ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getPixelMapName ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getPixelMapName ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getPixelMap ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getPixelMap ( 1, vIn, &vOut ) ; return vOut ; } inline void setProgressValue ( const AIVariable& hComponent, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hComponent, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setProgressValue( 2, vIn, NULL ) ; } inline AIVariable getProgressValue ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getProgressValue ( 1, vIn, &vOut ) ; return vOut ; } inline void setProgressType ( const AIVariable& hComponent, const AIVariable& kType ) const { S3DX_DECLARE_VIN_02( hComponent, kType ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setProgressType ( 2, vIn, NULL ) ; } inline AIVariable getProgressType ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getProgressType ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getListItemCount ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListItemCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable addListItem ( const AIVariable& hComponent, const AIVariable& sText ) const { S3DX_DECLARE_VIN_02( hComponent, sText ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.addListItem ( 2, vIn, &vOut ) ; return vOut ; } inline void removeListItemAt ( const AIVariable& hComponent, const AIVariable& nItem ) const { S3DX_DECLARE_VIN_02( hComponent, nItem ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.removeListItemAt ( 2, vIn, NULL ) ; } inline void selectListItemAt ( const AIVariable& hComponent, const AIVariable& nItem, const AIVariable& bSelect ) const { S3DX_DECLARE_VIN_03( hComponent, nItem, bSelect ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.selectListItemAt ( 3, vIn, NULL ) ; } inline void removeListAllItems ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.removeListAllItems ( 1, vIn, NULL ) ; } inline void selectListAllItems ( const AIVariable& hComponent, const AIVariable& bSelect ) const { S3DX_DECLARE_VIN_02( hComponent, bSelect ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.selectListAllItems ( 2, vIn, NULL ) ; } inline AIVariable getListItemTextAt ( const AIVariable& hComponent, const AIVariable& nItem, const AIVariable& nColumn ) const { S3DX_DECLARE_VIN_03( hComponent, nItem, nColumn ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListItemTextAt ( 3, vIn, &vOut ) ; return vOut ; } inline void setListItemTextAt ( const AIVariable& hComponent, const AIVariable& nItem, const AIVariable& nColumn, const AIVariable& sText ) const { S3DX_DECLARE_VIN_04( hComponent, nItem, nColumn, sText ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListItemTextAt ( 4, vIn, NULL ) ; } inline AIVariable setListItemIconAt ( const AIVariable& hComponent, const AIVariable& nItem, const AIVariable& nColumn, const AIVariable& sIcon ) const { S3DX_DECLARE_VIN_04( hComponent, nItem, nColumn, sIcon ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListItemIconAt ( 4, vIn, &vOut ) ; return vOut ; } inline void setListItemsHeight ( const AIVariable& hComponent, const AIVariable& nHeight ) const { S3DX_DECLARE_VIN_02( hComponent, nHeight ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListItemsHeight ( 2, vIn, NULL ) ; } inline AIVariable getListItemsHeight ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListItemsHeight ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setListItemsBackgroundImage ( const AIVariable& hComponent, const AIVariable& sImage ) const { S3DX_DECLARE_VIN_02( hComponent, sImage ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListItemsBackgroundImage ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getListItemsBackgroundImageName ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListItemsBackgroundImageName ( 1, vIn, &vOut ) ; return vOut ; } inline void setListItemsBackgroundColor ( const AIVariable& hComponent, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nAlpha ) const { S3DX_DECLARE_VIN_05( hComponent, nRed, nGreen, nBlue, nAlpha ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListItemsBackgroundColor ( 5, vIn, NULL ) ; } inline void setListItemsBackgroundColorOdd ( const AIVariable& hComponent, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nAlpha ) const { S3DX_DECLARE_VIN_05( hComponent, nRed, nGreen, nBlue, nAlpha ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListItemsBackgroundColorOdd ( 5, vIn, NULL ) ; } inline AIVariables<4> getListItemsBackgroundColorOdd ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListItemsBackgroundColorOdd ( 1, vIn, vOut ) ; return vOut ; } inline void setListItemsBackgroundColorEven ( const AIVariable& hComponent, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nAlpha ) const { S3DX_DECLARE_VIN_05( hComponent, nRed, nGreen, nBlue, nAlpha ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListItemsBackgroundColorEven ( 5, vIn, NULL ) ; } inline AIVariables<4> getListItemsBackgroundColorEven ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListItemsBackgroundColorEven ( 1, vIn, vOut ) ; return vOut ; } inline AIVariable setListItemsBackgroundImageSelected ( const AIVariable& hComponent, const AIVariable& sImage ) const { S3DX_DECLARE_VIN_02( hComponent, sImage ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListItemsBackgroundImageSelected ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getListItemsBackgroundImageSelectedName ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListItemsBackgroundImageSelectedName ( 1, vIn, &vOut ) ; return vOut ; } inline void setListItemsBackgroundColorSelected ( const AIVariable& hComponent, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nAlpha ) const { S3DX_DECLARE_VIN_05( hComponent, nRed, nGreen, nBlue, nAlpha ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListItemsBackgroundColorSelected ( 5, vIn, NULL ) ; } inline AIVariables<4> getListItemsBackgroundColorSelected ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListItemsBackgroundColorSelected ( 1, vIn, vOut ) ; return vOut ; } inline void setListItemsForegroundColorSelected ( const AIVariable& hComponent, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nAlpha ) const { S3DX_DECLARE_VIN_05( hComponent, nRed, nGreen, nBlue, nAlpha ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListItemsForegroundColorSelected ( 5, vIn, NULL ) ; } inline AIVariables<4> getListItemsForegroundColorSelected ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListItemsForegroundColorSelected ( 1, vIn, vOut ) ; return vOut ; } inline void setListTextLeftMargin ( const AIVariable& hComponent, const AIVariable& nMargin ) const { S3DX_DECLARE_VIN_02( hComponent, nMargin ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListTextLeftMargin ( 2, vIn, NULL ) ; } inline AIVariable getListTextLeftMargin ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListTextLeftMargin ( 1, vIn, &vOut ) ; return vOut ; } inline void setListTextRightMargin ( const AIVariable& hComponent, const AIVariable& nMargin ) const { S3DX_DECLARE_VIN_02( hComponent, nMargin ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListTextRightMargin ( 2, vIn, NULL ) ; } inline AIVariable getListTextRightMargin ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListTextRightMargin ( 1, vIn, &vOut ) ; return vOut ; } inline void setListTextHeight ( const AIVariable& hComponent, const AIVariable& nHeight ) const { S3DX_DECLARE_VIN_02( hComponent, nHeight ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListTextHeight ( 2, vIn, NULL ) ; } inline AIVariable getListTextHeight ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListTextHeight ( 1, vIn, &vOut ) ; return vOut ; } inline void setListTextLetterSpacing ( const AIVariable& hComponent, const AIVariable& nSpacing ) const { S3DX_DECLARE_VIN_02( hComponent, nSpacing ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListTextLetterSpacing ( 2, vIn, NULL ) ; } inline AIVariable getListTextLetterSpacing ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListTextLetterSpacing ( 1, vIn, &vOut ) ; return vOut ; } inline void setListTextLineSpacing ( const AIVariable& hComponent, const AIVariable& nSpacing ) const { S3DX_DECLARE_VIN_02( hComponent, nSpacing ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListTextLineSpacing ( 2, vIn, NULL ) ; } inline AIVariable getListTextLineSpacing ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListTextLineSpacing ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setListTextFont ( const AIVariable& hComponent, const AIVariable& sFont ) const { S3DX_DECLARE_VIN_02( hComponent, sFont ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListTextFont ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getListTextFontName ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListTextFontName ( 1, vIn, &vOut ) ; return vOut ; } inline void setListTextCase ( const AIVariable& hComponent, const AIVariable& kCase ) const { S3DX_DECLARE_VIN_02( hComponent, kCase ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListTextCase ( 2, vIn, NULL ) ; } inline AIVariable getListTextCase ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListTextCase ( 1, vIn, &vOut ) ; return vOut ; } inline void setListTextEncoding ( const AIVariable& hComponent, const AIVariable& kEncoding ) const { S3DX_DECLARE_VIN_02( hComponent, kEncoding ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListTextEncoding ( 2, vIn, NULL ) ; } inline AIVariable getListTextEncoding ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListTextEncoding ( 1, vIn, &vOut ) ; return vOut ; } inline void setListTextDirection ( const AIVariable& hComponent, const AIVariable& kDirection ) const { S3DX_DECLARE_VIN_02( hComponent, kDirection ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListTextDirection ( 2, vIn, NULL ) ; } inline AIVariable getListTextDirection ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListTextDirection ( 1, vIn, &vOut ) ; return vOut ; } inline void enableListTextAntialiasing ( const AIVariable& hComponent, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hComponent, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.enableListTextAntialiasing ( 2, vIn, NULL ) ; } inline AIVariable isListTextAntialiasingEnabled ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.isListTextAntialiasingEnabled ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getListColumnCount ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListColumnCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable addListColumn ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.addListColumn ( 1, vIn, &vOut ) ; return vOut ; } inline void setListColumnTextAlignmentAt ( const AIVariable& hComponent, const AIVariable& nColumn, const AIVariable& kHAlignment, const AIVariable& kVAlignment ) const { S3DX_DECLARE_VIN_04( hComponent, nColumn, kHAlignment, kVAlignment ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListColumnTextAlignmentAt ( 4, vIn, NULL ) ; } inline void setListColumnWidthAt ( const AIVariable& hComponent, const AIVariable& nColumn, const AIVariable& nWidth ) const { S3DX_DECLARE_VIN_03( hComponent, nColumn, nWidth ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListColumnWidthAt ( 3, vIn, NULL ) ; } inline void enableListSelection ( const AIVariable& hComponent, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hComponent, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.enableListSelection ( 2, vIn, NULL ) ; } inline void enableListSingleSelection ( const AIVariable& hComponent, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hComponent, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.enableListSingleSelection ( 2, vIn, NULL ) ; } inline void enableListSingleSelectionToggling ( const AIVariable& hComponent, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hComponent, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.enableListSingleSelectionToggling ( 2, vIn, NULL ) ; } inline void enableListSmoothScrolling ( const AIVariable& hComponent, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hComponent, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.enableListSmoothScrolling ( 2, vIn, NULL ) ; } inline void enableListFingerScrolling ( const AIVariable& hComponent, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hComponent, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.enableListFingerScrolling ( 2, vIn, NULL ) ; } inline void enableListMouseWheelHandling ( const AIVariable& hComponent, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hComponent, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.enableListMouseWheelHandling ( 2, vIn, NULL ) ; } inline AIVariable getListSelectedItemCount ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListSelectedItemCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getListSelectedItemAt ( const AIVariable& hComponent, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hComponent, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListSelectedItemAt ( 2, vIn, &vOut ) ; return vOut ; } inline void setListVerticalScrollPos ( const AIVariable& hComponent, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hComponent, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListVerticalScrollPos ( 2, vIn, NULL ) ; } inline AIVariable getListVerticalScrollPos ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getListVerticalScrollPos ( 1, vIn, &vOut ) ; return vOut ; } inline void setListVerticalScrollBarWidth ( const AIVariable& hComponent, const AIVariable& nWidth ) const { S3DX_DECLARE_VIN_02( hComponent, nWidth ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListVerticalScrollBarWidth ( 2, vIn, NULL ) ; } inline void setListVerticalScrollBarArrowHeight ( const AIVariable& hComponent, const AIVariable& nHeight ) const { S3DX_DECLARE_VIN_02( hComponent, nHeight ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListVerticalScrollBarArrowHeight ( 2, vIn, NULL ) ; } inline void setListScrollBarBackgroundColor ( const AIVariable& hComponent, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nAlpha ) const { S3DX_DECLARE_VIN_05( hComponent, nRed, nGreen, nBlue, nAlpha ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListScrollBarBackgroundColor ( 5, vIn, NULL ) ; } inline void setListScrollBarForegroundColor ( const AIVariable& hComponent, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nAlpha ) const { S3DX_DECLARE_VIN_05( hComponent, nRed, nGreen, nBlue, nAlpha ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListScrollBarForegroundColor ( 5, vIn, NULL ) ; } inline void setListScrollBarArrowColor ( const AIVariable& hComponent, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nAlpha ) const { S3DX_DECLARE_VIN_05( hComponent, nRed, nGreen, nBlue, nAlpha ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListScrollBarArrowColor ( 5, vIn, NULL ) ; } inline AIVariable setListScrollBarBackgroundImages ( const AIVariable& hComponent, const AIVariable& sTop, const AIVariable& sMiddle, const AIVariable& sBottom ) const { S3DX_DECLARE_VIN_04( hComponent, sTop, sMiddle, sBottom ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListScrollBarBackgroundImages ( 4, vIn, &vOut ) ; return vOut ; } inline AIVariable setListScrollBarForegroundImages ( const AIVariable& hComponent, const AIVariable& sTop, const AIVariable& sMiddle, const AIVariable& sBottom ) const { S3DX_DECLARE_VIN_04( hComponent, sTop, sMiddle, sBottom ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListScrollBarForegroundImages ( 4, vIn, &vOut ) ; return vOut ; } inline AIVariable setListScrollBarArrowImages ( const AIVariable& hComponent, const AIVariable& sTop, const AIVariable& sBottom ) const { S3DX_DECLARE_VIN_03( hComponent, sTop, sBottom ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListScrollBarArrowImages ( 3, vIn, &vOut ) ; return vOut ; } inline void setListOnSelectionChangedAction ( const AIVariable& hComponent, const AIVariable& hAction ) const { S3DX_DECLARE_VIN_02( hComponent, hAction ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setListOnSelectionChangedAction ( 2, vIn, NULL ) ; } inline void setSliderType ( const AIVariable& hComponent, const AIVariable& kType ) const { S3DX_DECLARE_VIN_02( hComponent, kType ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setSliderType ( 2, vIn, NULL ) ; } inline AIVariable getSliderType ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getSliderType ( 1, vIn, &vOut ) ; return vOut ; } inline void setSliderRange ( const AIVariable& hComponent, const AIVariable& nRangeMin, const AIVariable& nRangeMax ) const { S3DX_DECLARE_VIN_03( hComponent, nRangeMin, nRangeMax ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setSliderRange ( 3, vIn, NULL ) ; } inline AIVariables<2> getSliderRange ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getSliderRange ( 1, vIn, vOut ) ; return vOut ; } inline void setSliderValue ( const AIVariable& hComponent, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hComponent, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setSliderValue ( 2, vIn, NULL ) ; } inline AIVariable getSliderValue ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getSliderValue ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setSliderThumbImage ( const AIVariable& hComponent, const AIVariable& sImageName ) const { S3DX_DECLARE_VIN_02( hComponent, sImageName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setSliderThumbImage ( 2, vIn, &vOut ) ; return vOut ; } inline void setSliderOnChangedAction ( const AIVariable& hComponent, const AIVariable& hAction ) const { S3DX_DECLARE_VIN_02( hComponent, hAction ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setSliderOnChangedAction ( 2, vIn, NULL ) ; } inline void beginActionCommand ( const AIVariable& hAction, const AIVariable& kCommandType ) const { S3DX_DECLARE_VIN_02( hAction, kCommandType ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.beginActionCommand ( 2, vIn, NULL ) ; } inline void pushActionCommandArgument ( const AIVariable& hAction, const AIVariable& vArgument ) const { S3DX_DECLARE_VIN_02( hAction, vArgument ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.pushActionCommandArgument ( 2, vIn, NULL ) ; } inline void pushActionCommandRuntimeArgument ( const AIVariable& hAction, const AIVariable& kRuntimeArgument ) const { S3DX_DECLARE_VIN_02( hAction, kRuntimeArgument ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.pushActionCommandRuntimeArgument ( 2, vIn, NULL ) ; } inline void endActionCommand ( const AIVariable& hAction ) const { S3DX_DECLARE_VIN_01( hAction ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.endActionCommand ( 1, vIn, NULL ) ; } inline void setTimerOnTickAction ( const AIVariable& hTimer, const AIVariable& hAction ) const { S3DX_DECLARE_VIN_02( hTimer, hAction ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setTimerOnTickAction ( 2, vIn, NULL ) ; } inline void setTimerTickTime ( const AIVariable& hTimer, const AIVariable& nTime ) const { S3DX_DECLARE_VIN_02( hTimer, nTime ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.setTimerTickTime ( 2, vIn, NULL ) ; } inline AIVariable callAction ( const AIVariable& hUser, const AIVariable& sActionTag ) const { S3DX_DECLARE_VIN_02( hUser, sActionTag ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.callAction ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable callAction ( const AIVariable& hUser, const AIVariable& sActionTag, const AIVariable& vParam0 ) const { S3DX_DECLARE_VIN_03( hUser, sActionTag, vParam0 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.callAction ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable callAction ( const AIVariable& hUser, const AIVariable& sActionTag, const AIVariable& vParam0, const AIVariable& vParam1 ) const { S3DX_DECLARE_VIN_04( hUser, sActionTag, vParam0, vParam1 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.callAction ( 4, vIn, &vOut ) ; return vOut ; } inline AIVariable callAction ( const AIVariable& hUser, const AIVariable& sActionTag, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2 ) const { S3DX_DECLARE_VIN_05( hUser, sActionTag, vParam0, vParam1, vParam2 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.callAction ( 5, vIn, &vOut ) ; return vOut ; } inline AIVariable callAction ( const AIVariable& hUser, const AIVariable& sActionTag, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3 ) const { S3DX_DECLARE_VIN_06( hUser, sActionTag, vParam0, vParam1, vParam2, vParam3 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.callAction ( 6, vIn, &vOut ) ; return vOut ; } inline void stopAction ( const AIVariable& hUser, const AIVariable& sActionTag ) const { S3DX_DECLARE_VIN_02( hUser, sActionTag ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.stopAction ( 2, vIn, NULL ) ; } inline void pauseAction ( const AIVariable& hUser, const AIVariable& sActionTag ) const { S3DX_DECLARE_VIN_02( hUser, sActionTag ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.pauseAction ( 2, vIn, NULL ) ; } inline void resumeAction ( const AIVariable& hUser, const AIVariable& sActionTag ) const { S3DX_DECLARE_VIN_02( hUser, sActionTag ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.resumeAction ( 2, vIn, NULL ) ; } inline void stopAllActions ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.stopAllActions ( 1, vIn, NULL ) ; } inline void pauseAllActions ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.pauseAllActions ( 1, vIn, NULL ) ; } inline void resumeAllActions ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.resumeAllActions ( 1, vIn, NULL ) ; } inline AIVariable isActionRunning ( const AIVariable& hUser, const AIVariable& sActionTag ) const { S3DX_DECLARE_VIN_02( hUser, sActionTag ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.isActionRunning ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable isActionPaused ( const AIVariable& hUser, const AIVariable& sActionTag ) const { S3DX_DECLARE_VIN_02( hUser, sActionTag ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.isActionPaused ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getUnderCursorComponent ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getUnderCursorComponent ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getUnderCursorListItem ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getUnderCursorListItem ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getFocusedComponent ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getFocusedComponent ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable enterModalMode ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.enterModalMode ( 1, vIn, &vOut ) ; return vOut ; } inline void leaveModalMode ( const AIVariable& hComponent ) const { S3DX_DECLARE_VIN_01( hComponent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.leaveModalMode ( 1, vIn, NULL ) ; } inline AIVariable getComponentAtPoint ( const AIVariable& hUser, const AIVariable& nPointX, const AIVariable& nPointY ) const { S3DX_DECLARE_VIN_03( hUser, nPointX, nPointY ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->hud.getComponentAtPoint ( 3, vIn, &vOut ) ; return vOut ; } } ; struct InputPackage { // Constants // const AIVariable kJoypadTypeNone ; const AIVariable kJoypadTypeStandard ; const AIVariable kJoypadTypeWiimote ; const AIVariable kJoypadTypePhone ; const AIVariable kJoypadTypePSP ; const AIVariable kJoypadTypePS3 ; // 1.9.0.1 const AIVariable kJoypadButtonWiimoteA ; const AIVariable kJoypadButtonWiimoteB ; const AIVariable kJoypadButtonWiimoteOne ; const AIVariable kJoypadButtonWiimoteTwo ; const AIVariable kJoypadButtonWiimoteMinus ; const AIVariable kJoypadButtonWiimoteHome ; const AIVariable kJoypadButtonWiimotePlus ; const AIVariable kJoypadButtonWiimoteUp ; const AIVariable kJoypadButtonWiimoteDown ; const AIVariable kJoypadButtonWiimoteLeft ; const AIVariable kJoypadButtonWiimoteRight ; const AIVariable kJoypadButtonWiimoteZ ; const AIVariable kJoypadButtonWiimoteC ; const AIVariable kJoypadButtonPSPCross ; const AIVariable kJoypadButtonPSPCircle ; const AIVariable kJoypadButtonPSPTriangle ; const AIVariable kJoypadButtonPSPSquare ; const AIVariable kJoypadButtonPSPL ; const AIVariable kJoypadButtonPSPR ; const AIVariable kJoypadButtonPSPUp ; const AIVariable kJoypadButtonPSPDown ; const AIVariable kJoypadButtonPSPLeft ; const AIVariable kJoypadButtonPSPRight ; const AIVariable kJoypadButtonPSPSelect ; const AIVariable kJoypadButtonPSPStart ; const AIVariable kJoypadButtonPS3Cross ; // 1.9.0.1 const AIVariable kJoypadButtonPS3Circle ; // 1.9.0.1 const AIVariable kJoypadButtonPS3Triangle ; // 1.9.0.1 const AIVariable kJoypadButtonPS3Square ; // 1.9.0.1 const AIVariable kJoypadButtonPS3L1 ; // 1.9.0.1 const AIVariable kJoypadButtonPS3R1 ; // 1.9.0.1 const AIVariable kJoypadButtonPS3Up ; // 1.9.0.1 const AIVariable kJoypadButtonPS3Down ; // 1.9.0.1 const AIVariable kJoypadButtonPS3Left ; // 1.9.0.1 const AIVariable kJoypadButtonPS3Right ; // 1.9.0.1 const AIVariable kJoypadButtonPS3Select ; // 1.9.0.1 const AIVariable kJoypadButtonPS3Start ; // 1.9.0.1 const AIVariable kJoypadButtonPS3L2 ; // 1.9.0.1 const AIVariable kJoypadButtonPS3R2 ; // 1.9.0.1 const AIVariable kJoypadButtonPS3L3 ; // 1.9.0.1 const AIVariable kJoypadButtonPS3R3 ; // 1.9.0.1 const AIVariable kKeyUp ; const AIVariable kKeyDown ; const AIVariable kKeyRight ; const AIVariable kKeyLeft ; const AIVariable kKeySpace ; const AIVariable kKeyReturn ; const AIVariable kKeyEscape ; const AIVariable kKeyTab ; const AIVariable kKeyLControl ; const AIVariable kKeyRControl ; const AIVariable kKeyLShift ; const AIVariable kKeyRShift ; const AIVariable kKeyLAlt ; const AIVariable kKeyRAlt ; const AIVariable kKeyPageUp ; const AIVariable kKeyPageDown ; const AIVariable kKeyHome ; const AIVariable kKeyEnd ; const AIVariable kKeyInsert ; const AIVariable kKeyDelete ; const AIVariable kKeyBackspace ; const AIVariable kKeyA ; const AIVariable kKeyB ; const AIVariable kKeyC ; const AIVariable kKeyD ; const AIVariable kKeyE ; const AIVariable kKeyF ; const AIVariable kKeyG ; const AIVariable kKeyH ; const AIVariable kKeyI ; const AIVariable kKeyJ ; const AIVariable kKeyK ; const AIVariable kKeyL ; const AIVariable kKeyM ; const AIVariable kKeyN ; const AIVariable kKeyO ; const AIVariable kKeyP ; const AIVariable kKeyQ ; const AIVariable kKeyR ; const AIVariable kKeyS ; const AIVariable kKeyT ; const AIVariable kKeyU ; const AIVariable kKeyV ; const AIVariable kKeyW ; const AIVariable kKeyX ; const AIVariable kKeyY ; const AIVariable kKeyZ ; const AIVariable kKeyF1 ; const AIVariable kKeyF2 ; const AIVariable kKeyF3 ; const AIVariable kKeyF4 ; const AIVariable kKeyF5 ; const AIVariable kKeyF6 ; const AIVariable kKeyF7 ; const AIVariable kKeyF8 ; const AIVariable kKeyF9 ; const AIVariable kKeyF10 ; const AIVariable kKeyF11 ; const AIVariable kKeyF12 ; const AIVariable kKey0 ; const AIVariable kKey1 ; const AIVariable kKey2 ; const AIVariable kKey3 ; const AIVariable kKey4 ; const AIVariable kKey5 ; const AIVariable kKey6 ; const AIVariable kKey7 ; const AIVariable kKey8 ; const AIVariable kKey9 ; InputPackage ( ): kJoypadTypeNone ( 0 ), kJoypadTypeStandard ( 1 ), kJoypadTypeWiimote ( 2 ), kJoypadTypePhone ( 3 ), kJoypadTypePSP ( 4 ), kJoypadTypePS3 ( 5 ), // 1.9.0.1 kJoypadButtonWiimoteA ( 0 ), kJoypadButtonWiimoteB ( 1 ), kJoypadButtonWiimoteOne ( 2 ), kJoypadButtonWiimoteTwo ( 3 ), kJoypadButtonWiimoteMinus ( 4 ), kJoypadButtonWiimoteHome ( 5 ), kJoypadButtonWiimotePlus ( 6 ), kJoypadButtonWiimoteUp ( 7 ), kJoypadButtonWiimoteDown ( 8 ), kJoypadButtonWiimoteLeft ( 9 ), kJoypadButtonWiimoteRight ( 10 ), kJoypadButtonWiimoteZ ( 11 ), kJoypadButtonWiimoteC ( 12 ), kJoypadButtonPSPCross ( 0 ), kJoypadButtonPSPCircle ( 1 ), kJoypadButtonPSPTriangle ( 2 ), kJoypadButtonPSPSquare ( 3 ), kJoypadButtonPSPL ( 4 ), kJoypadButtonPSPR ( 6 ), kJoypadButtonPSPUp ( 7 ), kJoypadButtonPSPDown ( 8 ), kJoypadButtonPSPLeft ( 9 ), kJoypadButtonPSPRight ( 10 ), kJoypadButtonPSPSelect ( 11 ), kJoypadButtonPSPStart ( 12 ), kJoypadButtonPS3Cross ( 0 ), // 1.9.0.1 kJoypadButtonPS3Circle ( 1 ), // 1.9.0.1 kJoypadButtonPS3Triangle ( 2 ), // 1.9.0.1 kJoypadButtonPS3Square ( 3 ), // 1.9.0.1 kJoypadButtonPS3L1 ( 4 ), // 1.9.0.1 kJoypadButtonPS3R1 ( 6 ), // 1.9.0.1 kJoypadButtonPS3Up ( 7 ), // 1.9.0.1 kJoypadButtonPS3Down ( 8 ), // 1.9.0.1 kJoypadButtonPS3Left ( 9 ), // 1.9.0.1 kJoypadButtonPS3Right ( 10 ), // 1.9.0.1 kJoypadButtonPS3Select ( 11 ), // 1.9.0.1 kJoypadButtonPS3Start ( 12 ), // 1.9.0.1 kJoypadButtonPS3L2 ( 13 ), // 1.9.0.1 kJoypadButtonPS3R2 ( 14 ), // 1.9.0.1 kJoypadButtonPS3L3 ( 15 ), // 1.9.0.1 kJoypadButtonPS3R3 ( 16 ), // 1.9.0.1 kKeyUp ( 30 ), kKeyDown ( 31 ), kKeyRight ( 32 ), kKeyLeft ( 33 ), kKeySpace ( 36 ), kKeyReturn ( 35 ), kKeyEscape ( 34 ), kKeyTab ( 43 ), kKeyLControl ( 26 ), kKeyRControl ( 27 ), kKeyLShift ( 28 ), kKeyRShift ( 29 ), kKeyLAlt ( 112 ), kKeyRAlt ( 113 ), kKeyPageUp ( 37 ), kKeyPageDown ( 38 ), kKeyHome ( 39 ), kKeyEnd ( 40 ), kKeyInsert ( 41 ), kKeyDelete ( 42 ), kKeyBackspace ( 76 ), kKeyA ( 0 ), kKeyB ( 1 ), kKeyC ( 2 ), kKeyD ( 3 ), kKeyE ( 4 ), kKeyF ( 5 ), kKeyG ( 6 ), kKeyH ( 7 ), kKeyI ( 8 ), kKeyJ ( 9 ), kKeyK ( 10 ), kKeyL ( 11 ), kKeyM ( 12 ), kKeyN ( 13 ), kKeyO ( 14 ), kKeyP ( 15 ), kKeyQ ( 16 ), kKeyR ( 17 ), kKeyS ( 18 ), kKeyT ( 19 ), kKeyU ( 20 ), kKeyV ( 21 ), kKeyW ( 22 ), kKeyX ( 23 ), kKeyY ( 24 ), kKeyZ ( 25 ), kKeyF1 ( 44 ), kKeyF2 ( 45 ), kKeyF3 ( 46 ), kKeyF4 ( 47 ), kKeyF5 ( 48 ), kKeyF6 ( 49 ), kKeyF7 ( 50 ), kKeyF8 ( 51 ), kKeyF9 ( 52 ), kKeyF10 ( 53 ), kKeyF11 ( 54 ), kKeyF12 ( 55 ), kKey0 ( 56 ), kKey1 ( 57 ), kKey2 ( 58 ), kKey3 ( 59 ), kKey4 ( 60 ), kKey5 ( 61 ), kKey6 ( 62 ), kKey7 ( 63 ), kKey8 ( 64 ), kKey9 ( 65 ) { } // Functions // inline void setJoypadVibrationsMagnitude ( const AIVariable& hUser, const AIVariable& nJoypad, const AIVariable& nMagnitude ) const { S3DX_DECLARE_VIN_03( hUser, nJoypad, nMagnitude ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->input.setJoypadVibrationsMagnitude ( 3, vIn, NULL ) ; } inline AIVariable getJoypadType ( const AIVariable& hUser, const AIVariable& nJoypad ) const { S3DX_DECLARE_VIN_02( hUser, nJoypad ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->input.getJoypadType ( 2, vIn, &vOut ) ; return vOut ; } inline void enableJoypadMotionSensors ( const AIVariable& hUser, const AIVariable& nJoypad, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_03( hUser, nJoypad, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->input.enableJoypadMotionSensors ( 3, vIn, NULL ) ; } inline void enableJoypadIRMotionSensors ( const AIVariable& hUser, const AIVariable& nJoypad, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_03( hUser, nJoypad, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->input.enableJoypadIRMotionSensors ( 3, vIn, NULL ) ; } inline AIVariable enableMultiTouch ( const AIVariable& hUser, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hUser, bEnable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->input.enableMultiTouch ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable enableVirtualMouse ( const AIVariable& hUser, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hUser, bEnable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->input.enableVirtualMouse ( 2, vIn, &vOut ) ; return vOut ; } inline void setVirtualMousePosition ( const AIVariable& hUser, const AIVariable& x, const AIVariable& y ) const { S3DX_DECLARE_VIN_03( hUser, x, y ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->input.setVirtualMousePosition ( 3, vIn, NULL ) ; } inline void setVirtualMouseButtonDown ( const AIVariable& hUser, const AIVariable& nButton, const AIVariable& bDown ) const { S3DX_DECLARE_VIN_03( hUser, nButton, bDown ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->input.setVirtualMouseButtonDown ( 3, vIn, NULL ) ; } } ; struct LightPackage { // Constants // const AIVariable kTypePoint ; const AIVariable kTypeDirectional ; LightPackage ( ): kTypePoint ( 1 ), kTypeDirectional ( 2 ) { } // Functions // inline AIVariable getType ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->light.getType ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable isDynamic ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->light.isDynamic ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable isActive ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->light.isActive ( 1, vIn, &vOut ) ; return vOut ; } inline void setActive ( const AIVariable& hObject, const AIVariable& bActive ) const { S3DX_DECLARE_VIN_02( hObject, bActive ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->light.setActive ( 2, vIn, NULL ) ; } inline void setColor ( const AIVariable& hObject, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue ) const { S3DX_DECLARE_VIN_04( hObject, nRed, nGreen, nBlue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->light.setColor ( 4, vIn, NULL ) ; } inline AIVariables<3> getColor ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->light.getColor ( 1, vIn, vOut ) ; return vOut ; } } ; struct LogPackage { // Functions // inline void message ( const AIVariable& _v0 ) const { S3DX_DECLARE_VIN_01( _v0 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.message ( 1, vIn, NULL ) ; } inline void message ( const AIVariable& _v0, const AIVariable& _v1 ) const { S3DX_DECLARE_VIN_02( _v0, _v1 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.message ( 2, vIn, NULL ) ; } inline void message ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2 ) const { S3DX_DECLARE_VIN_03( _v0, _v1, _v2 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.message ( 3, vIn, NULL ) ; } inline void message ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3 ) const { S3DX_DECLARE_VIN_04( _v0, _v1, _v2, _v3 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.message ( 4, vIn, NULL ) ; } inline void message ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4 ) const { S3DX_DECLARE_VIN_05( _v0, _v1, _v2, _v3, _v4 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.message ( 5, vIn, NULL ) ; } inline void message ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5 ) const { S3DX_DECLARE_VIN_06( _v0, _v1, _v2, _v3, _v4, _v5 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.message ( 6, vIn, NULL ) ; } inline void message ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6 ) const { S3DX_DECLARE_VIN_07( _v0, _v1, _v2, _v3, _v4, _v5, _v6 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.message ( 7, vIn, NULL ) ; } inline void message ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7 ) const { S3DX_DECLARE_VIN_08( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.message ( 8, vIn, NULL ) ; } inline void message ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7, const AIVariable& _v8 ) const { S3DX_DECLARE_VIN_09( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7, _v8 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.message ( 9, vIn, NULL ) ; } inline void message ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7, const AIVariable& _v8, const AIVariable& _v9 ) const { S3DX_DECLARE_VIN_10( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7, _v8, _v9 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.message ( 10, vIn, NULL ) ; } inline void message ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7, const AIVariable& _v8, const AIVariable& _v9, const AIVariable& _v10 ) const { S3DX_DECLARE_VIN_11( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7, _v8, _v9, _v10 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.message ( 11, vIn, NULL ) ; } inline void message ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7, const AIVariable& _v8, const AIVariable& _v9, const AIVariable& _v10, const AIVariable& _v11 ) const { S3DX_DECLARE_VIN_12( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7, _v8, _v9, _v10, _v11 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.message ( 12, vIn, NULL ) ; } inline void warning ( const AIVariable& _v0 ) const { S3DX_DECLARE_VIN_01( _v0 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.warning ( 1, vIn, NULL ) ; } inline void warning ( const AIVariable& _v0, const AIVariable& _v1 ) const { S3DX_DECLARE_VIN_02( _v0, _v1 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.warning ( 2, vIn, NULL ) ; } inline void warning ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2 ) const { S3DX_DECLARE_VIN_03( _v0, _v1, _v2 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.warning ( 3, vIn, NULL ) ; } inline void warning ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3 ) const { S3DX_DECLARE_VIN_04( _v0, _v1, _v2, _v3 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.warning ( 4, vIn, NULL ) ; } inline void warning ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4 ) const { S3DX_DECLARE_VIN_05( _v0, _v1, _v2, _v3, _v4 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.warning ( 5, vIn, NULL ) ; } inline void warning ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5 ) const { S3DX_DECLARE_VIN_06( _v0, _v1, _v2, _v3, _v4, _v5 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.warning ( 6, vIn, NULL ) ; } inline void warning ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6 ) const { S3DX_DECLARE_VIN_07( _v0, _v1, _v2, _v3, _v4, _v5, _v6 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.warning ( 7, vIn, NULL ) ; } inline void warning ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7 ) const { S3DX_DECLARE_VIN_08( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.warning ( 8, vIn, NULL ) ; } inline void warning ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7, const AIVariable& _v8 ) const { S3DX_DECLARE_VIN_09( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7, _v8 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.warning ( 9, vIn, NULL ) ; } inline void warning ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7, const AIVariable& _v8, const AIVariable& _v9 ) const { S3DX_DECLARE_VIN_10( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7, _v8, _v9 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.warning ( 10, vIn, NULL ) ; } inline void warning ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7, const AIVariable& _v8, const AIVariable& _v9, const AIVariable& _v10 ) const { S3DX_DECLARE_VIN_11( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7, _v8, _v9, _v10 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.warning ( 11, vIn, NULL ) ; } inline void warning ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7, const AIVariable& _v8, const AIVariable& _v9, const AIVariable& _v10, const AIVariable& _v11 ) const { S3DX_DECLARE_VIN_12( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7, _v8, _v9, _v10, _v11 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.warning ( 12, vIn, NULL ) ; } inline void error ( const AIVariable& _v0 ) const { S3DX_DECLARE_VIN_01( _v0 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.error ( 1, vIn, NULL ) ; } inline void error ( const AIVariable& _v0, const AIVariable& _v1 ) const { S3DX_DECLARE_VIN_02( _v0, _v1 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.error ( 2, vIn, NULL ) ; } inline void error ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2 ) const { S3DX_DECLARE_VIN_03( _v0, _v1, _v2 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.error ( 3, vIn, NULL ) ; } inline void error ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3 ) const { S3DX_DECLARE_VIN_04( _v0, _v1, _v2, _v3 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.error ( 4, vIn, NULL ) ; } inline void error ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4 ) const { S3DX_DECLARE_VIN_05( _v0, _v1, _v2, _v3, _v4 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.error ( 5, vIn, NULL ) ; } inline void error ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5 ) const { S3DX_DECLARE_VIN_06( _v0, _v1, _v2, _v3, _v4, _v5 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.error ( 6, vIn, NULL ) ; } inline void error ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6 ) const { S3DX_DECLARE_VIN_07( _v0, _v1, _v2, _v3, _v4, _v5, _v6 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.error ( 7, vIn, NULL ) ; } inline void error ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7 ) const { S3DX_DECLARE_VIN_08( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.error ( 8, vIn, NULL ) ; } inline void error ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7, const AIVariable& _v8 ) const { S3DX_DECLARE_VIN_09( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7, _v8 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.error ( 9, vIn, NULL ) ; } inline void error ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7, const AIVariable& _v8, const AIVariable& _v9 ) const { S3DX_DECLARE_VIN_10( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7, _v8, _v9 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.error ( 10, vIn, NULL ) ; } inline void error ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7, const AIVariable& _v8, const AIVariable& _v9, const AIVariable& _v10 ) const { S3DX_DECLARE_VIN_11( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7, _v8, _v9, _v10 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.error ( 11, vIn, NULL ) ; } inline void error ( const AIVariable& _v0, const AIVariable& _v1, const AIVariable& _v2, const AIVariable& _v3, const AIVariable& _v4, const AIVariable& _v5, const AIVariable& _v6, const AIVariable& _v7, const AIVariable& _v8, const AIVariable& _v9, const AIVariable& _v10, const AIVariable& _v11 ) const { S3DX_DECLARE_VIN_12( _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7, _v8, _v9, _v10, _v11 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->log.error ( 12, vIn, NULL ) ; } } ; struct MathPackage { // Constants // const AIVariable kInfinity ; const AIVariable kEpsilon ; const AIVariable kPi ; MathPackage ( ): kInfinity ( 3.402823466e+38f ), kEpsilon ( 0.000001f ), kPi ( 3.1415926535897932384626433832795f ) { } // Functions // inline AIVariable clamp ( const AIVariable& nNumber, const AIVariable& nMin, const AIVariable& nMax ) const { S3DX_DECLARE_VIN_03( nNumber, nMin, nMax ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.clamp ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable interpolate ( const AIVariable& nSrc, const AIVariable& nDst, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_03( nSrc, nDst, nFactor ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.interpolate ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable sin ( const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_01( nAngle ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.sin ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable cos ( const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_01( nAngle ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.cos ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable tan ( const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_01( nAngle ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.tan ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable asin ( const AIVariable& nValue ) const { S3DX_DECLARE_VIN_01( nValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.asin ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable acos ( const AIVariable& nValue ) const { S3DX_DECLARE_VIN_01( nValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.acos ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable atan ( const AIVariable& nValue ) const { S3DX_DECLARE_VIN_01( nValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.atan ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable atan2 ( const AIVariable& nValue1, const AIVariable& nValue2 ) const { S3DX_DECLARE_VIN_02( nValue1, nValue2 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.atan2 ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable min ( const AIVariable& nValue1, const AIVariable& nValue2 ) const { S3DX_DECLARE_VIN_02( nValue1, nValue2 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.min ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable max ( const AIVariable& nValue1, const AIVariable& nValue2 ) const { S3DX_DECLARE_VIN_02( nValue1, nValue2 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.max ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable sqrt ( const AIVariable& nValue ) const { S3DX_DECLARE_VIN_01( nValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.sqrt ( 1, vIn, &vOut ) ; return vOut ; } inline void resetRandomSeed ( const AIVariable& nValue ) const { S3DX_DECLARE_VIN_01( nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.resetRandomSeed ( 1, vIn, NULL ) ; } inline AIVariable random ( const AIVariable& nMin, const AIVariable& nMax ) const { S3DX_DECLARE_VIN_02( nMin, nMax ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.random ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable gaussianRandom ( const AIVariable& nCenter, const AIVariable& nRadius ) const { S3DX_DECLARE_VIN_02( nCenter, nRadius ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.gaussianRandom ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable pow ( const AIVariable& nValue, const AIVariable& nPower ) const { S3DX_DECLARE_VIN_02( nValue, nPower ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.pow ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable floor ( const AIVariable& nValue ) const { S3DX_DECLARE_VIN_01( nValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.floor ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable trunc ( const AIVariable& nValue, const AIVariable& nDecimals ) const { S3DX_DECLARE_VIN_02( nValue, nDecimals ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.trunc ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable roundToNearestInteger ( const AIVariable& nValue ) const { S3DX_DECLARE_VIN_01( nValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.roundToNearestInteger ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable roundToNearestPowerOfTwo ( const AIVariable& nValue ) const { S3DX_DECLARE_VIN_01( nValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.roundToNearestPowerOfTwo ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable ceil ( const AIVariable& nValue ) const { S3DX_DECLARE_VIN_01( nValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.ceil ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable abs ( const AIVariable& nValue ) const { S3DX_DECLARE_VIN_01( nValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.abs ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable mod ( const AIVariable& nValue1, const AIVariable& nValue2 ) const { S3DX_DECLARE_VIN_02( nValue1, nValue2 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.mod ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable log ( const AIVariable& nValue ) const { S3DX_DECLARE_VIN_01( nValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.log ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable log10 ( const AIVariable& nValue ) const { S3DX_DECLARE_VIN_01( nValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.log10 ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable evaluateBSpline ( const AIVariable& nValue1, const AIVariable& nValue2, const AIVariable& nValue3, const AIVariable& nValue4, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_05( nValue1, nValue2, nValue3, nValue4, nFactor ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.evaluateBSpline ( 5, vIn, &vOut ) ; return vOut ; } inline AIVariable evaluateBezier ( const AIVariable& nValue1, const AIVariable& nValue2, const AIVariable& nValue3, const AIVariable& nValue4, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_05( nValue1, nValue2, nValue3, nValue4, nFactor ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.evaluateBezier ( 5, vIn, &vOut ) ; return vOut ; } inline AIVariable evaluateCatmullRom ( const AIVariable& nValue1, const AIVariable& nValue2, const AIVariable& nValue3, const AIVariable& nValue4, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_05( nValue1, nValue2, nValue3, nValue4, nFactor ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.evaluateCatmullRom ( 5, vIn, &vOut ) ; return vOut ; } inline AIVariables<3> computeRayPlaneIntersection ( const AIVariable& nRayPntX, const AIVariable& nRayPntY, const AIVariable& nRayPntZ, const AIVariable& nRayDirX, const AIVariable& nRayDirY, const AIVariable& nRayDirZ, const AIVariable& nRayLength, const AIVariable& nPlaneA, const AIVariable& nPlaneB, const AIVariable& nPlaneC, const AIVariable& nPlaneD ) const { S3DX_DECLARE_VIN_11( nRayPntX, nRayPntY, nRayPntZ, nRayDirX, nRayDirY, nRayDirZ, nRayLength, nPlaneA, nPlaneB, nPlaneC, nPlaneD ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.computeRayPlaneIntersection ( 11, vIn, vOut ) ; return vOut ; } inline AIVariables<3> computeRaySphereIntersection ( const AIVariable& nRayPntX, const AIVariable& nRayPntY, const AIVariable& nRayPntZ, const AIVariable& nRayDirX, const AIVariable& nRayDirY, const AIVariable& nRayDirZ, const AIVariable& nRayLength, const AIVariable& nSphereX, const AIVariable& nSphereY, const AIVariable& nSphereZ, const AIVariable& nSphereR ) const { S3DX_DECLARE_VIN_11( nRayPntX, nRayPntY, nRayPntZ, nRayDirX, nRayDirY, nRayDirZ, nRayLength, nSphereX, nSphereY, nSphereZ, nSphereR ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.computeRaySphereIntersection ( 11, vIn, vOut ) ; return vOut ; } inline AIVariables<3> computeRayAABoxIntersection ( const AIVariable& nRayPntX, const AIVariable& nRayPntY, const AIVariable& nRayPntZ, const AIVariable& nRayDirX, const AIVariable& nRayDirY, const AIVariable& nRayDirZ, const AIVariable& nRayLength, const AIVariable& nBoxMinX, const AIVariable& nBoxMinY, const AIVariable& nBoxMinZ, const AIVariable& nBoxMaxX, const AIVariable& nBoxMaxY, const AIVariable& nBoxMaxZ ) const { S3DX_DECLARE_VIN_13( nRayPntX, nRayPntY, nRayPntZ, nRayDirX, nRayDirY, nRayDirZ, nRayLength, nBoxMinX, nBoxMinY, nBoxMinZ, nBoxMaxX, nBoxMaxY, nBoxMaxZ ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.computeRayAABoxIntersection ( 13, vIn, vOut ) ; return vOut ; } inline AIVariables<3> vectorAdd ( const AIVariable& nV1x, const AIVariable& nV1y, const AIVariable& nV1z, const AIVariable& nV2x, const AIVariable& nV2y, const AIVariable& nV2z ) const { S3DX_DECLARE_VIN_06( nV1x, nV1y, nV1z, nV2x, nV2y, nV2z ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.vectorAdd ( 6, vIn, vOut ) ; return vOut ; } inline AIVariables<3> vectorSubtract ( const AIVariable& nV1x, const AIVariable& nV1y, const AIVariable& nV1z, const AIVariable& nV2x, const AIVariable& nV2y, const AIVariable& nV2z ) const { S3DX_DECLARE_VIN_06( nV1x, nV1y, nV1z, nV2x, nV2y, nV2z ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.vectorSubtract ( 6, vIn, vOut ) ; return vOut ; } inline AIVariable vectorDotProduct ( const AIVariable& nV1x, const AIVariable& nV1y, const AIVariable& nV1z, const AIVariable& nV2x, const AIVariable& nV2y, const AIVariable& nV2z ) const { S3DX_DECLARE_VIN_06( nV1x, nV1y, nV1z, nV2x, nV2y, nV2z ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.vectorDotProduct ( 6, vIn, &vOut ) ; return vOut ; } inline AIVariables<3> vectorCrossProduct ( const AIVariable& nV1x, const AIVariable& nV1y, const AIVariable& nV1z, const AIVariable& nV2x, const AIVariable& nV2y, const AIVariable& nV2z ) const { S3DX_DECLARE_VIN_06( nV1x, nV1y, nV1z, nV2x, nV2y, nV2z ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.vectorCrossProduct ( 6, vIn, vOut ) ; return vOut ; } inline AIVariables<3> vectorNormalize ( const AIVariable& nV1x, const AIVariable& nV1y, const AIVariable& nV1z ) const { S3DX_DECLARE_VIN_03( nV1x, nV1y, nV1z ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.vectorNormalize ( 3, vIn, vOut ) ; return vOut ; } inline AIVariable vectorLength ( const AIVariable& nV1x, const AIVariable& nV1y, const AIVariable& nV1z ) const { S3DX_DECLARE_VIN_03( nV1x, nV1y, nV1z ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.vectorLength ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariables<3> vectorScale ( const AIVariable& nV1x, const AIVariable& nV1y, const AIVariable& nV1z, const AIVariable& nScale ) const { S3DX_DECLARE_VIN_04( nV1x, nV1y, nV1z, nScale ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.vectorScale ( 4, vIn, vOut ) ; return vOut ; } inline AIVariables<3> vectorInterpolate ( const AIVariable& nV1x, const AIVariable& nV1y, const AIVariable& nV1z, const AIVariable& nV2x, const AIVariable& nV2y, const AIVariable& nV2z, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_07( nV1x, nV1y, nV1z, nV2x, nV2y, nV2z, nFactor ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.vectorInterpolate ( 7, vIn, vOut ) ; return vOut ; } inline AIVariables<3> vectorReflect ( const AIVariable& nV1x, const AIVariable& nV1y, const AIVariable& nV1z, const AIVariable& nV2x, const AIVariable& nV2y, const AIVariable& nV2z ) const { S3DX_DECLARE_VIN_06( nV1x, nV1y, nV1z, nV2x, nV2y, nV2z ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.vectorReflect ( 6, vIn, vOut ) ; return vOut ; } inline AIVariables<3> vectorSetLength ( const AIVariable& nV1x, const AIVariable& nV1y, const AIVariable& nV1z, const AIVariable& nLength ) const { S3DX_DECLARE_VIN_04( nV1x, nV1y, nV1z, nLength ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->math.vectorSetLength ( 4, vIn, vOut ) ; return vOut ; } } ; struct MeshPackage { // Constants // const AIVariable kLockModeRead ; const AIVariable kLockModeWrite ; const AIVariable kLockReadWrite ; MeshPackage ( ): kLockModeRead ( 1 ), kLockModeWrite ( 2 ), kLockReadWrite ( 3 ) { } // Functions // inline AIVariable getSubsetCount ( const AIVariable& hMesh ) const { S3DX_DECLARE_VIN_01( hMesh ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.getSubsetCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getSubsetVertexCount ( const AIVariable& hMesh, const AIVariable& nSubset ) const { S3DX_DECLARE_VIN_02( hMesh, nSubset ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.getSubsetVertexCount ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getSubsetIndexCount ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nLOD ) const { S3DX_DECLARE_VIN_03( hMesh, nSubset, nLOD ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.getSubsetIndexCount ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable getSubsetLODCount ( const AIVariable& hMesh, const AIVariable& nSubset ) const { S3DX_DECLARE_VIN_02( hMesh, nSubset ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.getSubsetLODCount ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable addSubset ( const AIVariable& hMesh ) const { S3DX_DECLARE_VIN_01( hMesh ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.addSubset ( 1, vIn, &vOut ) ; return vOut ; } inline void removeSubset ( const AIVariable& hMesh, const AIVariable& nSubset ) const { S3DX_DECLARE_VIN_02( hMesh, nSubset ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.removeSubset ( 2, vIn, NULL ) ; } inline AIVariable createSubsetVertexBuffer ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nVertexCount ) const { S3DX_DECLARE_VIN_03( hMesh, nSubset, nVertexCount ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.createSubsetVertexBuffer ( 3, vIn, &vOut ) ; return vOut ; } inline void destroySubsetVertexBuffer ( const AIVariable& hMesh, const AIVariable& nSubset ) const { S3DX_DECLARE_VIN_02( hMesh, nSubset ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.destroySubsetVertexBuffer ( 2, vIn, NULL ) ; } inline AIVariable createSubsetIndexBuffer ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nLOD, const AIVariable& nIndexCount ) const { S3DX_DECLARE_VIN_04( hMesh, nSubset, nLOD, nIndexCount ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.createSubsetIndexBuffer ( 4, vIn, &vOut ) ; return vOut ; } inline void destroySubsetIndexBuffer ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nLOD ) const { S3DX_DECLARE_VIN_03( hMesh, nSubset, nLOD ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.destroySubsetIndexBuffer ( 3, vIn, NULL ) ; } inline AIVariable lockSubsetVertexBuffer ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& kLockMode ) const { S3DX_DECLARE_VIN_03( hMesh, nSubset, kLockMode ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.lockSubsetVertexBuffer ( 3, vIn, &vOut ) ; return vOut ; } inline void unlockSubsetVertexBuffer ( const AIVariable& hMesh, const AIVariable& nSubset ) const { S3DX_DECLARE_VIN_02( hMesh, nSubset ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.unlockSubsetVertexBuffer ( 2, vIn, NULL ) ; } inline AIVariable lockSubsetIndexBuffer ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nLOD, const AIVariable& kLockMode ) const { S3DX_DECLARE_VIN_04( hMesh, nSubset, nLOD, kLockMode ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.lockSubsetIndexBuffer ( 4, vIn, &vOut ) ; return vOut ; } inline void unlockSubsetIndexBuffer ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nLOD ) const { S3DX_DECLARE_VIN_03( hMesh, nSubset, nLOD ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.unlockSubsetIndexBuffer ( 3, vIn, NULL ) ; } inline void setSubsetVertexPosition ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nVertex, const AIVariable& x, const AIVariable& y, const AIVariable& z ) const { S3DX_DECLARE_VIN_06( hMesh, nSubset, nVertex, x, y, z ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.setSubsetVertexPosition ( 6, vIn, NULL ) ; } inline AIVariables<3> getSubsetVertexPosition ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nVertex ) const { S3DX_DECLARE_VIN_03( hMesh, nSubset, nVertex ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.getSubsetVertexPosition ( 3, vIn, vOut ) ; return vOut ; } inline void setSubsetVertexNormal ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nVertex, const AIVariable& i, const AIVariable& j, const AIVariable& k ) const { S3DX_DECLARE_VIN_06( hMesh, nSubset, nVertex, i, j, k ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.setSubsetVertexNormal ( 6, vIn, NULL ) ; } inline AIVariables<3> getSubsetVertexNormal ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nVertex ) const { S3DX_DECLARE_VIN_03( hMesh, nSubset, nVertex ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.getSubsetVertexNormal ( 3, vIn, vOut ) ; return vOut ; } inline void setSubsetVertexTexCoord ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nVertex, const AIVariable& nSet, const AIVariable& u, const AIVariable& v ) const { S3DX_DECLARE_VIN_06( hMesh, nSubset, nVertex, nSet, u, v ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.setSubsetVertexTexCoord ( 6, vIn, NULL ) ; } inline AIVariables<2> getSubsetVertexTexCoord ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nVertex, const AIVariable& nSet ) const { S3DX_DECLARE_VIN_04( hMesh, nSubset, nVertex, nSet ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.getSubsetVertexTexCoord ( 4, vIn, vOut ) ; return vOut ; } inline void setSubsetIndexValue ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nLOD, const AIVariable& nIndex, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_05( hMesh, nSubset, nLOD, nIndex, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.setSubsetIndexValue ( 5, vIn, NULL ) ; } inline AIVariable getSubsetIndexValue ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nLOD, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_04( hMesh, nSubset, nLOD, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.getSubsetIndexValue ( 4, vIn, &vOut ) ; return vOut ; } inline AIVariable getResourceHandle ( const AIVariable& sName ) const { S3DX_DECLARE_VIN_01( sName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.getResourceHandle ( 1, vIn, &vOut ) ; return vOut ; } inline void setSubsetVertexBufferDynamic ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& bDynamic ) const { S3DX_DECLARE_VIN_03( hMesh, nSubset, bDynamic ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.setSubsetVertexBufferDynamic ( 3, vIn, NULL ) ; } inline AIVariable isSubsetVertexBufferDynamic ( const AIVariable& hMesh, const AIVariable& nSubset ) const { S3DX_DECLARE_VIN_02( hMesh, nSubset ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.isSubsetVertexBufferDynamic ( 2, vIn, &vOut ) ; return vOut ; } inline void setSubsetIndexBufferDynamic ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nLOD, const AIVariable& bDynamic ) const { S3DX_DECLARE_VIN_04( hMesh, nSubset, nLOD, bDynamic ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.setSubsetIndexBufferDynamic ( 4, vIn, NULL ) ; } inline AIVariable isSubsetIndexBufferDynamic ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nLOD ) const { S3DX_DECLARE_VIN_03( hMesh, nSubset, nLOD ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.isSubsetIndexBufferDynamic ( 3, vIn, &vOut ) ; return vOut ; } inline void computeSubsetVertexNormals ( const AIVariable& hMesh, const AIVariable& nSubset, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_03( hMesh, nSubset, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.computeSubsetVertexNormals ( 3, vIn, NULL ) ; } inline void computeSubsetVertexTangents ( const AIVariable& hMesh, const AIVariable& nSubset ) const { S3DX_DECLARE_VIN_02( hMesh, nSubset ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.computeSubsetVertexTangents ( 2, vIn, NULL ) ; } inline void updateBoundingVolumes ( const AIVariable& hMesh ) const { S3DX_DECLARE_VIN_01( hMesh ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->mesh.updateBoundingVolumes ( 1, vIn, NULL ) ; } } ; struct MicrophonePackage { // Functions // inline void setRate ( const AIVariable& nRate ) const { S3DX_DECLARE_VIN_01( nRate ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.setRate ( 1, vIn, NULL ) ; } inline AIVariable enable ( const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_01( bEnable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.enable ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getActivityLevel ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.getActivityLevel ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable enableSpectrumAnalyzer ( const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_01( bEnable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.enableSpectrumAnalyzer ( 1, vIn, &vOut ) ; return vOut ; } inline void setSpectrumWidth ( const AIVariable& nWidth ) const { S3DX_DECLARE_VIN_01( nWidth ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.setSpectrumWidth ( 1, vIn, NULL ) ; } inline AIVariable getSpectrumWidth ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.getSpectrumWidth ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getSpectrumLevels ( const AIVariable& tSpectrum ) const { S3DX_DECLARE_VIN_01( tSpectrum ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.getSpectrumLevels ( 1, vIn, &vOut ) ; return vOut ; } inline void setRecordingQuality ( const AIVariable& nQuality ) const { S3DX_DECLARE_VIN_01( nQuality ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.setRecordingQuality ( 1, vIn, NULL ) ; } inline AIVariable startRecordingAsMusic ( const AIVariable& sMusicName ) const { S3DX_DECLARE_VIN_01( sMusicName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.startRecordingAsMusic ( 1, vIn, &vOut ) ; return vOut ; } inline void stopRecording ( ) const { S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.stopRecording ( 0, NULL, NULL ) ; } inline AIVariable startDiffusion ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.startDiffusion ( 0, NULL, &vOut ) ; return vOut ; } inline void stopDiffusion ( ) const { S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.stopDiffusion ( 0, NULL, NULL ) ; } inline AIVariable addUserToDiffusionList ( const AIVariable& nUserID ) const { S3DX_DECLARE_VIN_01( nUserID ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.addUserToDiffusionList ( 1, vIn, &vOut ) ; return vOut ; } inline void removeUserFromDiffusionList ( const AIVariable& nUserID ) const { S3DX_DECLARE_VIN_01( nUserID ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.removeUserFromDiffusionList ( 1, vIn, NULL ) ; } inline AIVariable isUserInDiffusionList ( const AIVariable& nUserID ) const { S3DX_DECLARE_VIN_01( nUserID ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.isUserInDiffusionList ( 1, vIn, &vOut ) ; return vOut ; } inline void emptyDiffusionList ( ) const { S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.emptyDiffusionList ( 0, NULL, NULL ) ; } inline AIVariable getDiffusionListUserCount ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.getDiffusionListUserCount ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getDiffusionListUserIDAt ( const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_01( nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->microphone.getDiffusionListUserIDAt ( 1, vIn, &vOut ) ; return vOut ; } } ; struct MusicPackage { // Functions // inline void play ( const AIVariable& hScene, const AIVariable& nMusicIndex, const AIVariable& nFadeTime ) const { S3DX_DECLARE_VIN_03( hScene, nMusicIndex, nFadeTime ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->music.play ( 3, vIn, NULL ) ; } inline void stop ( const AIVariable& hScene, const AIVariable& nFadeTime ) const { S3DX_DECLARE_VIN_02( hScene, nFadeTime ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->music.stop ( 2, vIn, NULL ) ; } inline void setVolume ( const AIVariable& hScene, const AIVariable& nVolume, const AIVariable& nFadeTime ) const { S3DX_DECLARE_VIN_03( hScene, nVolume, nFadeTime ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->music.setVolume ( 3, vIn, NULL ) ; } inline AIVariable getPlaybackProgress ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->music.getPlaybackProgress ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable playAdditional ( const AIVariable& hScene, const AIVariable& nMusicName, const AIVariable& nFadeTime ) const { S3DX_DECLARE_VIN_03( hScene, nMusicName, nFadeTime ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->music.playAdditional ( 3, vIn, &vOut ) ; return vOut ; } } ; struct NavigationPackage { // Functions // inline AIVariable setTargetNode ( const AIVariable& hObject, const AIVariable& hNode ) const { S3DX_DECLARE_VIN_02( hObject, hNode ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.setTargetNode ( 2, vIn, &vOut ) ; return vOut ; } inline void setAcceleration ( const AIVariable& hObject, const AIVariable& nAccel ) const { S3DX_DECLARE_VIN_02( hObject, nAccel ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.setAcceleration ( 2, vIn, NULL ) ; } inline AIVariable getAcceleration ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.getAcceleration ( 1, vIn, &vOut ) ; return vOut ; } inline void setSpeedLimit ( const AIVariable& hObject, const AIVariable& nLimit ) const { S3DX_DECLARE_VIN_02( hObject, nLimit ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.setSpeedLimit ( 2, vIn, NULL ) ; } inline AIVariable getSpeedLimit ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.getSpeedLimit ( 1, vIn, &vOut ) ; return vOut ; } inline void setHeightOffset ( const AIVariable& hObject, const AIVariable& nHeight ) const { S3DX_DECLARE_VIN_02( hObject, nHeight ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.setHeightOffset ( 2, vIn, NULL ) ; } inline AIVariable getHeightOffset ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.getHeightOffset ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getNode ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.getNode ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getTargetNode ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.getTargetNode ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getTargetNodeDistance ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.getTargetNodeDistance ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getSpeed ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.getSpeed ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariables<3> getVelocity ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.getVelocity ( 1, vIn, vOut ) ; return vOut ; } inline AIVariable setRandomTargetNode ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.setRandomTargetNode ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setNearestTargetNode ( const AIVariable& hObject, const AIVariable& hOtherObject ) const { S3DX_DECLARE_VIN_02( hObject, hOtherObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.setNearestTargetNode ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable setNearestNode ( const AIVariable& hObject, const AIVariable& hOtherObject ) const { S3DX_DECLARE_VIN_02( hObject, hOtherObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.setNearestNode ( 2, vIn, &vOut ) ; return vOut ; } inline void setPathMaxLength ( const AIVariable& hObject, const AIVariable& nMaxLength ) const { S3DX_DECLARE_VIN_02( hObject, nMaxLength ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.setPathMaxLength ( 2, vIn, NULL ) ; } inline AIVariable getPathMaxLength ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.getPathMaxLength ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getPathNodeCount ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.getPathNodeCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getPathNodeAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.getPathNodeAt ( 2, vIn, &vOut ) ; return vOut ; } inline void enableNodesInBox ( const AIVariable& hScene, const AIVariable& nBoxMinX, const AIVariable& nBoxMinY, const AIVariable& nBoxMinZ, const AIVariable& nBoxMaxX, const AIVariable& nBoxMaxY, const AIVariable& nBoxMaxZ, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_08( hScene, nBoxMinX, nBoxMinY, nBoxMinZ, nBoxMaxX, nBoxMaxY, nBoxMaxZ, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.enableNodesInBox ( 8, vIn, NULL ) ; } inline void enableNode ( const AIVariable& hScene, const AIVariable& hNode, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_03( hScene, hNode, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.enableNode ( 3, vIn, NULL ) ; } inline AIVariables<3> getNodeTranslation ( const AIVariable& hScene, const AIVariable& hNode ) const { S3DX_DECLARE_VIN_02( hScene, hNode ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.getNodeTranslation ( 2, vIn, vOut ) ; return vOut ; } inline AIVariable isNodeOnBorder ( const AIVariable& hScene, const AIVariable& hNode ) const { S3DX_DECLARE_VIN_02( hScene, hNode ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.isNodeOnBorder ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable isNodeEnabled ( const AIVariable& hScene, const AIVariable& hNode ) const { S3DX_DECLARE_VIN_02( hScene, hNode ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->navigation.isNodeEnabled ( 2, vIn, &vOut ) ; return vOut ; } } ; struct NetworkPackage { // Constants // const AIVariable kStatusAuthenticated ; const AIVariable kStatusPending ; const AIVariable kStatusNone ; const AIVariable kStatusSearchFinished ; const AIVariable kDefaultServerPort ; const AIVariable kBluetoothServerPort ; NetworkPackage ( ): kStatusAuthenticated ( 2 ), kStatusPending ( 1 ), kStatusNone ( 0 ), kStatusSearchFinished ( 3 ), kDefaultServerPort ( 5354 ), kBluetoothServerPort ( 0 ) { } // Functions // inline void authenticate ( const AIVariable& sURL, const AIVariable& sLogin, const AIVariable& sPassword ) const { S3DX_DECLARE_VIN_03( sURL, sLogin, sPassword ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->network.authenticate ( 3, vIn, NULL ) ; } inline void disconnect ( ) const { S3DX_MODULE_GUID::__pS3DXEAPIMI->network.disconnect ( 0, NULL, NULL ) ; } inline AIVariable getStatus ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->network.getStatus ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getServerCount ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->network.getServerCount ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getServerNameAt ( const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_01( nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->network.getServerNameAt ( 1, vIn, &vOut ) ; return vOut ; } inline void setCurrentServer ( const AIVariable& sName ) const { S3DX_DECLARE_VIN_01( sName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->network.setCurrentServer ( 1, vIn, NULL ) ; } inline AIVariable getCurrentServer ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->network.getCurrentServer ( 0, NULL, &vOut ) ; return vOut ; } inline void createServer ( const AIVariable& nPort ) const { S3DX_DECLARE_VIN_01( nPort ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->network.createServer ( 1, vIn, NULL ) ; } inline void searchForServers ( const AIVariable& nPort ) const { S3DX_DECLARE_VIN_01( nPort ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->network.searchForServers ( 1, vIn, NULL ) ; } } ; struct ObjectPackage { // Constants // const AIVariable kGlobalSpace ; const AIVariable kParentSpace ; const AIVariable kLocalSpace ; const AIVariable kTypeDummy ; const AIVariable kTypeCamera ; const AIVariable kTypeGroup ; const AIVariable kTypeLight ; const AIVariable kTypeSfx ; const AIVariable kTypeShape ; const AIVariable kTypeSensor ; const AIVariable kTypeCollider ; const AIVariable kTypeReflector ; const AIVariable kTypeProjector ; const AIVariable kControllerTypeAny ; const AIVariable kControllerTypeAI ; const AIVariable kControllerTypeAnimation ; const AIVariable kControllerTypeDynamics ; const AIVariable kControllerTypeNavigation ; const AIVariable kControllerTypeSound ; const AIVariable kTransformOptionInheritsParentTranslation ; const AIVariable kTransformOptionInheritsParentRotation ; const AIVariable kTransformOptionInheritsParentScale ; const AIVariable kTransformOptionTranslationAffectedByParentRotation ; const AIVariable kTransformOptionTranslationAffectedByParentScale ; ObjectPackage ( ): kGlobalSpace ( 0 ), kParentSpace ( 1 ), kLocalSpace ( 2 ), kTypeDummy ( 0 ), kTypeCamera ( 0x00000001 ), kTypeGroup ( 0x00000002 ), kTypeLight ( 0x00000004 ), kTypeSfx ( 0x00000008 ), kTypeShape ( 0x00000010 ), kTypeSensor ( 0x00000020 ), kTypeCollider ( 0x00000080 ), kTypeReflector ( 0x00000100 ), kTypeProjector ( 0x00000200 ), kControllerTypeAny ( 0x7fffffff ), kControllerTypeAI ( 1 ), kControllerTypeAnimation ( 2 ), kControllerTypeDynamics ( 3 ), kControllerTypeNavigation ( 4 ), kControllerTypeSound ( 5 ), kTransformOptionInheritsParentTranslation ( 0 ), kTransformOptionInheritsParentRotation ( 1 ), kTransformOptionInheritsParentScale ( 2 ), kTransformOptionTranslationAffectedByParentRotation ( 3 ), kTransformOptionTranslationAffectedByParentScale ( 4 ) { } // Functions // inline AIVariable getHashCode ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getHashCode ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable isEqualTo ( const AIVariable& hObject, const AIVariable& hOtherObject ) const { S3DX_DECLARE_VIN_02( hObject, hOtherObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.isEqualTo ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable isKindOf ( const AIVariable& hObject, const AIVariable& kType ) const { S3DX_DECLARE_VIN_02( hObject, kType ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.isKindOf ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable hasController ( const AIVariable& hObject, const AIVariable& kControllerType ) const { S3DX_DECLARE_VIN_02( hObject, kControllerType ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.hasController ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getScene ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getScene ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getParent ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getParent ( 1, vIn, &vOut ) ; return vOut ; } inline void setParent ( const AIVariable& hObject, const AIVariable& hParent, const AIVariable& bKeepGlobalTransform ) const { S3DX_DECLARE_VIN_03( hObject, hParent, bKeepGlobalTransform ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setParent ( 3, vIn, NULL ) ; } inline AIVariable getModelName ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getModelName ( 1, vIn, &vOut ) ; return vOut ; } inline void enableDistanceClipping ( const AIVariable& hObject, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hObject, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.enableDistanceClipping ( 2, vIn, NULL ) ; } inline void setDistanceClippingThresholds ( const AIVariable& hObject, const AIVariable& nInDistance, const AIVariable& nOutDistance ) const { S3DX_DECLARE_VIN_03( hObject, nInDistance, nOutDistance ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setDistanceClippingThresholds ( 3, vIn, NULL ) ; } inline void setDistanceClippingFadeTime ( const AIVariable& hObject, const AIVariable& nTime ) const { S3DX_DECLARE_VIN_02( hObject, nTime ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setDistanceClippingFadeTime ( 2, vIn, NULL ) ; } inline void setCanBeReflected ( const AIVariable& hObject, const AIVariable& bCan ) const { S3DX_DECLARE_VIN_02( hObject, bCan ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setCanBeReflected ( 2, vIn, NULL ) ; } inline void setCanBeRefracted ( const AIVariable& hObject, const AIVariable& bCan ) const { S3DX_DECLARE_VIN_02( hObject, bCan ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setCanBeRefracted ( 2, vIn, NULL ) ; } inline AIVariable canBeReflected ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.canBeReflected ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable canBeRefracted ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.canBeRefracted ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable setTransformOption ( const AIVariable& hObject, const AIVariable& kTransformOption, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_03( hObject, kTransformOption, bEnable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setTransformOption ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable getTransformOption ( const AIVariable& hObject, const AIVariable& kTransformOption ) const { S3DX_DECLARE_VIN_02( hObject, kTransformOption ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getTransformOption ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariables<3> getTranslation ( const AIVariable& hObject, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_02( hObject, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getTranslation ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getRotation ( const AIVariable& hObject, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_02( hObject, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getRotation ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getScale ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getScale ( 1, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getDirection ( const AIVariable& hObject, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_02( hObject, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getDirection ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getXAxis ( const AIVariable& hObject, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_02( hObject, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getXAxis ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getYAxis ( const AIVariable& hObject, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_02( hObject, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getYAxis ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getZAxis ( const AIVariable& hObject, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_02( hObject, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getZAxis ( 2, vIn, vOut ) ; return vOut ; } inline void resetTranslation ( const AIVariable& hObject, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_02( hObject, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.resetTranslation ( 2, vIn, NULL ) ; } inline void matchTranslation ( const AIVariable& hObject, const AIVariable& hOtherObject, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_03( hObject, hOtherObject, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.matchTranslation ( 3, vIn, NULL ) ; } inline void setTranslation ( const AIVariable& hObject, const AIVariable& nTx, const AIVariable& nTy, const AIVariable& nTz, uint8 kSpace ) const { S3DX_DECLARE_VIN_05( hObject, nTx, nTy, nTz, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setTranslation ( 5, vIn, NULL ) ; } inline void translate ( const AIVariable& hObject, const AIVariable& nTx, const AIVariable& nTy, const AIVariable& nTz, uint8 kSpace ) const { S3DX_DECLARE_VIN_05( hObject, nTx, nTy, nTz, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.translate ( 5, vIn, NULL ) ; } inline void translateTo ( const AIVariable& hObject, const AIVariable& nTx, const AIVariable& nTy, const AIVariable& nTz, uint8 kSpace, float32 nFactor ) const { S3DX_DECLARE_VIN_06( hObject, nTx, nTy, nTz, kSpace, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.translateTo ( 6, vIn, NULL ) ; } inline void resetRotation ( const AIVariable& hObject, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_02( hObject, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.resetRotation ( 2, vIn, NULL ) ; } inline void matchRotation ( const AIVariable& hObject, const AIVariable& hOtherObject, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_03( hObject, hOtherObject, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.matchRotation ( 3, vIn, NULL ) ; } inline void setRotation ( const AIVariable& hObject, const AIVariable& nRx, const AIVariable& nRy, const AIVariable& nRz, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_05( hObject, nRx, nRy, nRz, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setRotation ( 5, vIn, NULL ) ; } inline void setRotationYPR ( const AIVariable& hObject, const AIVariable& nYaw, const AIVariable& nPitch, const AIVariable& nRoll, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_05( hObject, nRoll, nPitch, nRoll, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setRotationYPR ( 5, vIn, NULL ) ; } inline void setRotationAxisAngle ( const AIVariable& hObject, const AIVariable& nAxisX, const AIVariable& nAxisY, const AIVariable& nAxisZ, const AIVariable& nAngle, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, nAxisX, nAxisY, nAxisZ, nAngle, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setRotationAxisAngle ( 6, vIn, NULL ) ; } inline void rotate ( const AIVariable& hObject, const AIVariable& nRx, const AIVariable& nRy, const AIVariable& nRz, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_05( hObject, nRx, nRy, nRz, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.rotate ( 5, vIn, NULL ) ; } inline void rotateYPR ( const AIVariable& hObject, const AIVariable& nYaw, const AIVariable& nPitch, const AIVariable& nRoll, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_05( hObject, nYaw, nPitch, nRoll, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.rotateYPR ( 5, vIn, NULL ) ; } inline void rotateAxisAngle ( const AIVariable& hObject, const AIVariable& nAxisX, const AIVariable& nAxisY, const AIVariable& nAxisZ, const AIVariable& nAngle, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, nAxisX, nAxisY, nAxisZ, nAngle, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.rotateAxisAngle ( 6, vIn, NULL ) ; } inline void rotateTo ( const AIVariable& hObject, const AIVariable& nRx, const AIVariable& nRy, const AIVariable& nRz, const AIVariable& kSpace, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_06( hObject, nRx, nRy, nRz, kSpace, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.rotateTo ( 6, vIn, NULL ) ; } inline void rotateToYPR ( const AIVariable& hObject, const AIVariable& nYaw, const AIVariable& nPitch, const AIVariable& nRoll, const AIVariable& kSpace, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_06( hObject, nYaw, nPitch, nRoll, kSpace, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.rotateToYPR ( 6, vIn, NULL ) ; } inline void rotateToAxisAngle ( const AIVariable& hObject, const AIVariable& nAxisX, const AIVariable& nAxisY, const AIVariable& nAxisZ, const AIVariable& nAngle, const AIVariable& kSpace, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_07( hObject, nAxisX, nAxisY, nAxisZ, nAngle, kSpace, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.rotateToAxisAngle ( 7, vIn, NULL ) ; } inline void rotateAround ( const AIVariable& hObject, const AIVariable& nPx, const AIVariable& nPy, const AIVariable& nPz, const AIVariable& nRx, const AIVariable& nRy, const AIVariable& nRz, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_08( hObject, nPx, nPy, nPz, nRx, nRy, nRz, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.rotateAround ( 8, vIn, NULL ) ; } inline void lookAt ( const AIVariable& hObject, const AIVariable& nPx, const AIVariable& nPy, const AIVariable& nPz, const AIVariable& kSpace, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_06( hObject, nPx, nPy, nPz, kSpace, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.lookAt ( 6, vIn, NULL ) ; } inline void lookAtWithUp ( const AIVariable& hObject, const AIVariable& nPx, const AIVariable& nPy, const AIVariable& nPz, const AIVariable& nUx, const AIVariable& nUy, const AIVariable& nUz, const AIVariable& kSpace, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_09( hObject, nPx, nPy, nPz, nUx, nUy, nUz, kSpace, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.lookAtWithUp ( 9, vIn, NULL ) ; } inline void setUniformScale ( const AIVariable& hObject, const AIVariable& nScale ) const { S3DX_DECLARE_VIN_02( hObject, nScale ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setUniformScale ( 2, vIn, NULL ) ; } inline void setScale ( const AIVariable& hObject, const AIVariable& nSx, const AIVariable& nSy, const AIVariable& nSz ) const { S3DX_DECLARE_VIN_04( hObject, nSx, nSy, nSz ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setScale ( 4, vIn, NULL ) ; } inline AIVariable isActive ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.isActive ( 1, vIn, &vOut ) ; return vOut ; } inline void setVisible ( const AIVariable& hObject, const AIVariable& bVisible ) const { S3DX_DECLARE_VIN_02( hObject, bVisible ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setVisible ( 2, vIn, NULL ) ; } inline AIVariable isVisible ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.isVisible ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getDistanceToObject ( const AIVariable& hObject, const AIVariable& hOtherObject ) const { S3DX_DECLARE_VIN_02( hObject, hOtherObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getDistanceToObject ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getBoundingSphereRadius ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getBoundingSphereRadius ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariables<3> getBoundingSphereCenter ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getBoundingSphereCenter ( 1, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getBoundingBoxMin ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getBoundingBoxMin ( 1, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getBoundingBoxMax ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getBoundingBoxMax ( 1, vIn, vOut ) ; return vOut ; } inline AIVariable addAIModel ( const AIVariable& hObject, const AIVariable& sAIModel ) const { S3DX_DECLARE_VIN_02( hObject, sAIModel ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.addAIModel ( 2, vIn, &vOut ) ; return vOut ; } inline void removeAIModel ( const AIVariable& hObject, const AIVariable& sAIModel ) const { S3DX_DECLARE_VIN_02( hObject, sAIModel ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.removeAIModel ( 2, vIn, NULL ) ; } inline AIVariable getAIModelCount ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getAIModelCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getAIModelNameAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getAIModelNameAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable hasAIModel ( const AIVariable& hObject, const AIVariable& sAIModel ) const { S3DX_DECLARE_VIN_02( hObject, sAIModel ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.hasAIModel ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable hasAIEventHandler ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sHandler ) const { S3DX_DECLARE_VIN_03( hObject, sAIModel, sHandler ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.hasAIEventHandler ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable getAIVariable ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sVariable ) const { S3DX_DECLARE_VIN_03( hObject, sAIModel, sVariable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getAIVariable ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable setAIVariable ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sVariable, const AIVariable& vValue ) const { S3DX_DECLARE_VIN_04( hObject, sAIModel, sVariable, vValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setAIVariable ( 4, vIn, &vOut ) ; return vOut ; } inline AIVariable getAIState ( const AIVariable& hObject, const AIVariable& sAIModel ) const { S3DX_DECLARE_VIN_02( hObject, sAIModel ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.getAIState ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable setSoundBank ( const AIVariable& hObject, const AIVariable& sSoundBank ) const { S3DX_DECLARE_VIN_02( hObject, sSoundBank ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setSoundBank ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable setAnimBank ( const AIVariable& hObject, const AIVariable& sAnimBank ) const { S3DX_DECLARE_VIN_02( hObject, sAnimBank ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.setAnimBank ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariables<3> transformVector ( const AIVariable& hObject, const AIVariable& nVx, const AIVariable& nVy, const AIVariable& nVz, const AIVariable& kSrcSpace, const AIVariable& kDstSpace ) const { S3DX_DECLARE_VIN_06( hObject, nVx, nVy, nVz, kSrcSpace, kDstSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.transformVector ( 6, vIn, vOut ) ; return vOut ; } inline AIVariables<3> transformPoint ( const AIVariable& hObject, const AIVariable& nPx, const AIVariable& nPy, const AIVariable& nPz, const AIVariable& kSrcSpace, const AIVariable& kDstSpace ) const { S3DX_DECLARE_VIN_06( hObject, nPx, nPy, nPz, kSrcSpace, kDstSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.transformPoint ( 6, vIn, vOut ) ; return vOut ; } inline void sendEvent ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sEvent ) const { S3DX_DECLARE_VIN_03( hObject, sAIModel, sEvent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.sendEvent ( 3, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0 ) const { S3DX_DECLARE_VIN_04( hObject, sAIModel, sEvent, vParam0 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.sendEvent ( 4, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1 ) const { S3DX_DECLARE_VIN_05( hObject, sAIModel, sEvent, vParam0, vParam1 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.sendEvent ( 5, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2 ) const { S3DX_DECLARE_VIN_06( hObject, sAIModel, sEvent, vParam0, vParam1, vParam2 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.sendEvent ( 6, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3 ) const { S3DX_DECLARE_VIN_07( hObject, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.sendEvent ( 7, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4 ) const { S3DX_DECLARE_VIN_08( hObject, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.sendEvent ( 8, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5 ) const { S3DX_DECLARE_VIN_09( hObject, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.sendEvent ( 9, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6 ) const { S3DX_DECLARE_VIN_10( hObject, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.sendEvent ( 10, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7 ) const { S3DX_DECLARE_VIN_11( hObject, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.sendEvent ( 11, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8 ) const { S3DX_DECLARE_VIN_12( hObject, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.sendEvent ( 12, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9 ) const { S3DX_DECLARE_VIN_13( hObject, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.sendEvent ( 13, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10 ) const { S3DX_DECLARE_VIN_14( hObject, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.sendEvent ( 14, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11 ) const { S3DX_DECLARE_VIN_15( hObject, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.sendEvent ( 15, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hObject, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11, const AIVariable& vParam12 ) const { S3DX_DECLARE_VIN_16( hObject, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11, vParam12 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.sendEvent ( 16, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hObject, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent ) const { S3DX_DECLARE_VIN_04( hObject, nDelay, sAIModel, sEvent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.postEvent ( 4, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hObject, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0 ) const { S3DX_DECLARE_VIN_05( hObject, nDelay, sAIModel, sEvent, vParam0 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.postEvent ( 5, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hObject, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1 ) const { S3DX_DECLARE_VIN_06( hObject, nDelay, sAIModel, sEvent, vParam0, vParam1 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.postEvent ( 6, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hObject, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2 ) const { S3DX_DECLARE_VIN_07( hObject, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.postEvent ( 7, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hObject, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3 ) const { S3DX_DECLARE_VIN_08( hObject, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.postEvent ( 8, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hObject, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4 ) const { S3DX_DECLARE_VIN_09( hObject, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.postEvent ( 9, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hObject, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5 ) const { S3DX_DECLARE_VIN_10( hObject, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.postEvent ( 10, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hObject, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6 ) const { S3DX_DECLARE_VIN_11( hObject, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.postEvent ( 11, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hObject, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7 ) const { S3DX_DECLARE_VIN_12( hObject, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.postEvent ( 12, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hObject, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8 ) const { S3DX_DECLARE_VIN_13( hObject, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.postEvent ( 13, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hObject, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9 ) const { S3DX_DECLARE_VIN_14( hObject, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.postEvent ( 14, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hObject, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10 ) const { S3DX_DECLARE_VIN_15( hObject, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.postEvent ( 15, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hObject, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11 ) const { S3DX_DECLARE_VIN_16( hObject, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->object.postEvent ( 16, vIn, NULL ) ; } } ; struct PixelmapPackage { // Constants // const AIVariable kPenModeNone ; const AIVariable kPenModeSolid ; const AIVariable kPenModeBrush ; const AIVariable kFillModeNone ; const AIVariable kFillModeSolid ; const AIVariable kFillModeBrush ; const AIVariable kBlendModeDecal ; const AIVariable kBlendModeReplace ; PixelmapPackage ( ): kPenModeNone ( 0 ), kPenModeSolid ( 1 ), kPenModeBrush ( 2 ), kFillModeNone ( 0 ), kFillModeSolid ( 1 ), kFillModeBrush ( 2 ), kBlendModeDecal ( 0 ), kBlendModeReplace ( 1 ) { } // Functions // inline AIVariable getWidth ( const AIVariable& hPixelMap ) const { S3DX_DECLARE_VIN_01( hPixelMap ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.getWidth ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getHeight ( const AIVariable& hPixelMap ) const { S3DX_DECLARE_VIN_01( hPixelMap ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.getHeight ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable lock ( const AIVariable& hPixelMap ) const { S3DX_DECLARE_VIN_01( hPixelMap ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.lock ( 1, vIn, &vOut ) ; return vOut ; } inline void unlock ( const AIVariable& hPixelMap ) const { S3DX_DECLARE_VIN_01( hPixelMap ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.unlock ( 1, vIn, NULL ) ; } inline void setPixel ( const AIVariable& hPixelMap, const AIVariable& x, const AIVariable& y, const AIVariable& r, const AIVariable& g, const AIVariable& b, const AIVariable& a ) const { S3DX_DECLARE_VIN_07( hPixelMap, x, y, r, g, b, a ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.setPixel ( 7, vIn, NULL ) ; } inline void setPixels ( const AIVariable& hPixelMap, const AIVariable& pixels ) const { S3DX_DECLARE_VIN_02( hPixelMap, pixels ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.setPixels ( 2, vIn, NULL ) ; } inline AIVariables<4> getPixel ( const AIVariable& hPixelMap, const AIVariable& x, const AIVariable& y ) const { S3DX_DECLARE_VIN_03( hPixelMap, x, y ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.getPixel ( 3, vIn, vOut ) ; return vOut ; } inline AIVariable getPixels ( const AIVariable& hPixelMap ) const { S3DX_DECLARE_VIN_01( hPixelMap ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.getPixels ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable createBrushFromTexture ( const AIVariable& hPixelMap, const AIVariable& sBrush, const AIVariable& sTexture ) const { S3DX_DECLARE_VIN_03( hPixelMap, sBrush, sTexture ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.createBrushFromTexture ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable createBrushFromRectangle ( const AIVariable& hPixelMap, const AIVariable& sBrush, const AIVariable& x1, const AIVariable& y1, const AIVariable& x2, const AIVariable& y2 ) const { S3DX_DECLARE_VIN_06( hPixelMap, sBrush, x1, y1, x2, y2 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.createBrushFromRectangle ( 6, vIn, &vOut ) ; return vOut ; } inline void destroyBrush ( const AIVariable& hPixelMap, const AIVariable& sBrush ) const { S3DX_DECLARE_VIN_02( hPixelMap, sBrush ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.destroyBrush ( 2, vIn, NULL ) ; } inline AIVariable getBrushCount ( const AIVariable& hPixelMap ) const { S3DX_DECLARE_VIN_01( hPixelMap ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.getBrushCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariables<2> getBrushOrigin ( const AIVariable& hPixelMap, const AIVariable& sBrush ) const { S3DX_DECLARE_VIN_02( hPixelMap, sBrush ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.getBrushOrigin ( 2, vIn, vOut ) ; return vOut ; } inline void setBrushOrigin ( const AIVariable& hPixelMap, const AIVariable& sBrush, const AIVariable& x, const AIVariable& y ) const { S3DX_DECLARE_VIN_04( hPixelMap, sBrush, x, y ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.setBrushOrigin ( 4, vIn, NULL ) ; } inline AIVariable getBrushWidth ( const AIVariable& hPixelMap, const AIVariable& sBrush ) const { S3DX_DECLARE_VIN_02( hPixelMap, sBrush ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.getBrushWidth ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getBrushHeight ( const AIVariable& hPixelMap, const AIVariable& sBrush ) const { S3DX_DECLARE_VIN_02( hPixelMap, sBrush ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.getBrushHeight ( 2, vIn, &vOut ) ; return vOut ; } inline void setPenColor ( const AIVariable& hPixelMap, const AIVariable& r, const AIVariable& g, const AIVariable& b, const AIVariable& a ) const { S3DX_DECLARE_VIN_05( hPixelMap, r, g, b, a ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.setPenColor ( 5, vIn, NULL ) ; } inline void setPenBrush ( const AIVariable& hPixelMap, const AIVariable& sBrush ) const { S3DX_DECLARE_VIN_02( hPixelMap, sBrush ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.setPenBrush ( 2, vIn, NULL ) ; } inline void setPenMode ( const AIVariable& hPixelMap, const AIVariable& kPenMode ) const { S3DX_DECLARE_VIN_02( hPixelMap, kPenMode ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.setPenMode ( 2, vIn, NULL ) ; } inline void setFillColor ( const AIVariable& hPixelMap, const AIVariable& r, const AIVariable& g, const AIVariable& b, const AIVariable& a ) const { S3DX_DECLARE_VIN_05( hPixelMap, r, g, b, a ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.setFillColor ( 5, vIn, NULL ) ; } inline void setFillBrush ( const AIVariable& hPixelMap, const AIVariable& r, const AIVariable& g, const AIVariable& b, const AIVariable& a ) const { S3DX_DECLARE_VIN_05( hPixelMap, r, g, b, a ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.setFillBrush ( 5, vIn, NULL ) ; } inline void setFillMode ( const AIVariable& hPixelMap, const AIVariable& kFillMode ) const { S3DX_DECLARE_VIN_02( hPixelMap, kFillMode ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.setFillMode ( 2, vIn, NULL ) ; } inline void setBlendMode ( const AIVariable& hPixelMap, const AIVariable& kBlendMode ) const { S3DX_DECLARE_VIN_02( hPixelMap, kBlendMode ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.setBlendMode ( 2, vIn, NULL ) ; } inline void drawPoint ( const AIVariable& hPixelMap, const AIVariable& x, const AIVariable& y ) const { S3DX_DECLARE_VIN_03( hPixelMap, x, y ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.drawPoint ( 3, vIn, NULL ) ; } inline void drawLine ( const AIVariable& hPixelMap, const AIVariable& x1, const AIVariable& y1, const AIVariable& x2, const AIVariable& y2 ) const { S3DX_DECLARE_VIN_05( hPixelMap, x1, y1, x2, y2 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.drawLine ( 5, vIn, NULL ) ; } inline void drawRectangle ( const AIVariable& hPixelMap, const AIVariable& x1, const AIVariable& y1, const AIVariable& x2, const AIVariable& y2 ) const { S3DX_DECLARE_VIN_05( hPixelMap, x1, y1, x2, y2 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.drawRectangle ( 5, vIn, NULL ) ; } inline AIVariable saveToTexture ( const AIVariable& hPixelMap, const AIVariable& sName ) const { S3DX_DECLARE_VIN_02( hPixelMap, sName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.saveToTexture ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getResourceHandle ( const AIVariable& sName ) const { S3DX_DECLARE_VIN_01( sName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->pixelmap.getResourceHandle ( 1, vIn, &vOut ) ; return vOut ; } } ; struct ProjectorPackage { // Constants // const AIVariable kMapTypeTexture ; const AIVariable kMapTypeTextureClip ; const AIVariable kMapTypeRenderMap ; const AIVariable kMapTypePixelMap ; const AIVariable kMapTypeMovie ; ProjectorPackage ( ): kMapTypeTexture ( 1 ), kMapTypeTextureClip ( 2 ), kMapTypeRenderMap ( 3 ), kMapTypePixelMap ( 5 ), kMapTypeMovie ( 4 ) { } // Functions // inline void setColor ( const AIVariable& hObject, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue ) const { S3DX_DECLARE_VIN_04( hObject, nRed, nGreen, nBlue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->projector.setColor ( 4, vIn, NULL ) ; } inline AIVariables<3> getColor ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->projector.getColor ( 1, vIn, vOut ) ; return vOut ; } inline void setOpacity ( const AIVariable& hObject, const AIVariable& nOpacity ) const { S3DX_DECLARE_VIN_02( hObject, nOpacity ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->projector.setOpacity ( 2, vIn, NULL ) ; } inline AIVariable getOpacity ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->projector.getOpacity ( 1, vIn, &vOut ) ; return vOut ; } inline void setFieldOfView ( const AIVariable& hObject, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_02( hObject, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->projector.setFieldOfView ( 2, vIn, NULL ) ; } inline AIVariable getFieldOfView ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->projector.getFieldOfView ( 1, vIn, &vOut ) ; return vOut ; } inline void setMinClipDistance ( const AIVariable& hObject, const AIVariable& nDistance ) const { S3DX_DECLARE_VIN_02( hObject, nDistance ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->projector.setMinClipDistance ( 2, vIn, NULL ) ; } inline AIVariable getMinClipDistance ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->projector.getMinClipDistance ( 1, vIn, &vOut ) ; return vOut ; } inline void setMaxClipDistance ( const AIVariable& hObject, const AIVariable& nDistance ) const { S3DX_DECLARE_VIN_02( hObject, nDistance ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->projector.setMaxClipDistance ( 2, vIn, NULL ) ; } inline AIVariable getMaxClipDistance ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->projector.getMaxClipDistance ( 1, vIn, &vOut ) ; return vOut ; } inline void setMap ( const AIVariable& hObject, const AIVariable& kMapName, const AIVariable& sMapType ) const { S3DX_DECLARE_VIN_03( hObject, kMapName, sMapType ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->projector.setMap ( 3, vIn, NULL ) ; } inline void playMapMovie ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->projector.playMapMovie ( 1, vIn, NULL ) ; } inline void pauseMapMovie ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->projector.pauseMapMovie ( 1, vIn, NULL ) ; } inline void stopMapMovie ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->projector.stopMapMovie ( 1, vIn, NULL ) ; } } ; struct ScenePackage { // Constants // const AIVariable kAddressingModeClamp ; const AIVariable kAddressingModeRepeat ; const AIVariable kFilteringModeNearest ; const AIVariable kFilteringModeBilinear ; const AIVariable kFilteringModeTrilinear ; const AIVariable kSkyBoxFaceFront ; const AIVariable kSkyBoxFaceRight ; const AIVariable kSkyBoxFaceBack ; const AIVariable kSkyBoxFaceLeft ; const AIVariable kSkyBoxFaceTop ; const AIVariable kSkyBoxFaceBottom ; ScenePackage ( ): kAddressingModeClamp ( 1 ), kAddressingModeRepeat ( 0 ), kFilteringModeNearest ( 0 ), kFilteringModeBilinear ( 1 ), kFilteringModeTrilinear ( 2 ), kSkyBoxFaceFront ( 0 ), kSkyBoxFaceRight ( 1 ), kSkyBoxFaceBack ( 2 ), kSkyBoxFaceLeft ( 3 ), kSkyBoxFaceTop ( 4 ), kSkyBoxFaceBottom ( 5 ) { } // Functions // inline AIVariable getName ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getName ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getUserCount ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getUserCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getUserAt ( const AIVariable& hScene, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hScene, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getUserAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getTaggedObjectCount ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getTaggedObjectCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getTaggedObjectAt ( const AIVariable& hScene, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hScene, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getTaggedObjectAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getTaggedObjectTagAt ( const AIVariable& hScene, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hScene, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getTaggedObjectTagAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getTaggedObject ( const AIVariable& hScene, const AIVariable& sTag ) const { S3DX_DECLARE_VIN_02( hScene, sTag ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getTaggedObject ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getObjectTag ( const AIVariable& hScene, const AIVariable& hObject ) const { S3DX_DECLARE_VIN_02( hScene, hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getObjectTag ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable setRuntimeObjectTag ( const AIVariable& hScene, const AIVariable& hObject, const AIVariable& sTag ) const { S3DX_DECLARE_VIN_03( hScene, hObject, sTag ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setRuntimeObjectTag ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable createRuntimeObject ( const AIVariable& hScene, const AIVariable& sModel ) const { S3DX_DECLARE_VIN_02( hScene, sModel ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.createRuntimeObject ( 2, vIn, &vOut ) ; return vOut ; } inline void destroyRuntimeObject ( const AIVariable& hScene, const AIVariable& hObject ) const { S3DX_DECLARE_VIN_02( hScene, hObject ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.destroyRuntimeObject ( 2, vIn, NULL ) ; } inline AIVariable combineRuntimeObjectsGroup ( const AIVariable& hScene, const AIVariable& hGroupObject ) const { S3DX_DECLARE_VIN_02( hScene, hGroupObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.combineRuntimeObjectsGroup ( 2, vIn, &vOut ) ; return vOut ; } inline void setBackgroundColor ( const AIVariable& hScene, const AIVariable& r, const AIVariable& g, const AIVariable& b ) const { S3DX_DECLARE_VIN_04( hScene, r, g, b ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setBackgroundColor ( 4, vIn, NULL ) ; } inline AIVariables<3> getBackgroundColor ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getBackgroundColor ( 1, vIn, vOut ) ; return vOut ; } inline void setBackgroundOpacity ( const AIVariable& hScene, const AIVariable& nOpacity ) const { S3DX_DECLARE_VIN_02( hScene, nOpacity ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setBackgroundOpacity ( 2, vIn, NULL ) ; } inline AIVariable getBackgroundOpacity ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getBackgroundOpacity ( 1, vIn, &vOut ) ; return vOut ; } inline void setBackgroundTexture ( const AIVariable& hScene, const AIVariable& sTexture ) const { S3DX_DECLARE_VIN_02( hScene, sTexture ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setBackgroundTexture ( 2, vIn, NULL ) ; } inline void setBackgroundTextureUVOffset ( const AIVariable& hScene, const AIVariable& nOffsetU, const AIVariable& nOffsetV ) const { S3DX_DECLARE_VIN_03( hScene, nOffsetU, nOffsetV ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setBackgroundTextureUVOffset ( 3, vIn, NULL ) ; } inline void setBackgroundTextureUVScale ( const AIVariable& hScene, const AIVariable& nScaleU, const AIVariable& nScaleV ) const { S3DX_DECLARE_VIN_03( hScene, nScaleU, nScaleV ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setBackgroundTextureUVScale ( 3, vIn, NULL ) ; } inline void setBackgroundTextureAddressingMode ( const AIVariable& hScene, const AIVariable& kAddressingModeU, const AIVariable& kAddressingModeV ) const { S3DX_DECLARE_VIN_03( hScene, kAddressingModeU, kAddressingModeV ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setBackgroundTextureAddressingMode ( 3, vIn, NULL ) ; } inline void setBackgroundTextureFilteringMode ( const AIVariable& hScene, const AIVariable& kFilteringMode ) const { S3DX_DECLARE_VIN_02( hScene, kFilteringMode ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setBackgroundTextureFilteringMode ( 2, vIn, NULL ) ; } inline void setSkyBoxColor ( const AIVariable& hScene, const AIVariable& r, const AIVariable& g, const AIVariable& b ) const { S3DX_DECLARE_VIN_04( hScene, r, g, b ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setSkyBoxColor ( 4, vIn, NULL ) ; } inline AIVariables<3> getSkyBoxColor ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getSkyBoxColor ( 1, vIn, vOut ) ; return vOut ; } inline void setSkyBoxFaceMap ( const AIVariable& hScene, const AIVariable& kFace, const AIVariable& sMapName ) const { S3DX_DECLARE_VIN_03( hScene, kFace, sMapName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setSkyBoxFaceMap ( 3, vIn, NULL ) ; } inline void setAmbientColor ( const AIVariable& hScene, const AIVariable& r, const AIVariable& g, const AIVariable& b ) const { S3DX_DECLARE_VIN_04( hScene, r, g, b ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setAmbientColor ( 4, vIn, NULL ) ; } inline AIVariables<3> getAmbientColor ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getAmbientColor ( 1, vIn, vOut ) ; return vOut ; } inline void setShadowAmbientColor ( const AIVariable& hScene, const AIVariable& r, const AIVariable& g, const AIVariable& b ) const { S3DX_DECLARE_VIN_04( hScene, r, g, b ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setShadowAmbientColor ( 4, vIn, NULL ) ; } inline AIVariables<3> getShadowAmbientColor ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getShadowAmbientColor ( 1, vIn, vOut ) ; return vOut ; } inline void setFogDensity ( const AIVariable& hScene, const AIVariable& nDensity ) const { S3DX_DECLARE_VIN_02( hScene, nDensity ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setFogDensity ( 2, vIn, NULL ) ; } inline AIVariable getFogDensity ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getFogDensity ( 1, vIn, &vOut ) ; return vOut ; } inline void setFogColor ( const AIVariable& hScene, const AIVariable& r, const AIVariable& g, const AIVariable& b ) const { S3DX_DECLARE_VIN_04( hScene, r, g, b ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setFogColor ( 4, vIn, NULL ) ; } inline AIVariables<3> getFogColor ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getFogColor ( 1, vIn, vOut ) ; return vOut ; } inline AIVariable createOcean ( const AIVariable& hScene, const AIVariable& nGridSize, const AIVariable& nUnitSize, const AIVariable& nWavesTiling ) const { S3DX_DECLARE_VIN_04( hScene, nGridSize, nUnitSize, nWavesTiling ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.createOcean ( 4, vIn, &vOut ) ; return vOut ; } inline void destroyOcean ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.destroyOcean ( 1, vIn, NULL ) ; } inline void setOceanWavesAmplitude ( const AIVariable& hScene, const AIVariable& nAmplitude ) const { S3DX_DECLARE_VIN_02( hScene, nAmplitude ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanWavesAmplitude ( 2, vIn, NULL ) ; } inline AIVariable getOceanWavesAmplitude ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanWavesAmplitude ( 1, vIn, &vOut ) ; return vOut ; } inline void setOceanWavesMeanHeight ( const AIVariable& hScene, const AIVariable& nHeight ) const { S3DX_DECLARE_VIN_02( hScene, nHeight ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanWavesMeanHeight ( 2, vIn, NULL ) ; } inline AIVariable getOceanWavesMeanHeight ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanWavesMeanHeight ( 1, vIn, &vOut ) ; return vOut ; } inline void setOceanWavesFrequency ( const AIVariable& hScene, const AIVariable& nFrequency ) const { S3DX_DECLARE_VIN_02( hScene, nFrequency ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanWavesFrequency ( 2, vIn, NULL ) ; } inline AIVariable getOceanWavesFrequency ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanWavesFrequency ( 1, vIn, &vOut ) ; return vOut ; } inline void setOceanUnderwaterFogDensity ( const AIVariable& hScene, const AIVariable& nDensity ) const { S3DX_DECLARE_VIN_02( hScene, nDensity ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanUnderwaterFogDensity ( 2, vIn, NULL ) ; } inline AIVariable getOceanUnderwaterFogDensity ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanUnderwaterFogDensity ( 1, vIn, &vOut ) ; return vOut ; } inline void setOceanUnderwaterFogColor ( const AIVariable& hScene, const AIVariable& r, const AIVariable& g, const AIVariable& b ) const { S3DX_DECLARE_VIN_04( hScene, r, g, b ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanUnderwaterFogColor ( 4, vIn, NULL ) ; } inline AIVariables<3> getOceanUnderwaterFogColor ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanUnderwaterFogColor ( 1, vIn, vOut ) ; return vOut ; } inline void setOceanSurfaceColor ( const AIVariable& hScene, const AIVariable& r, const AIVariable& g, const AIVariable& b ) const { S3DX_DECLARE_VIN_04( hScene, r, g, b ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanSurfaceColor ( 4, vIn, NULL ) ; } inline AIVariables<3> getOceanSurfaceColor ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanSurfaceColor ( 1, vIn, vOut ) ; return vOut ; } inline void setOceanSurfaceColorFactor ( const AIVariable& hScene, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_02( hScene, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanSurfaceColorFactor ( 2, vIn, NULL ) ; } inline AIVariable getOceanSurfaceColorFactor ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanSurfaceColorFactor ( 1, vIn, &vOut ) ; return vOut ; } inline void setOceanSurfaceColorMaxDistance ( const AIVariable& hScene, const AIVariable& nDistance ) const { S3DX_DECLARE_VIN_02( hScene, nDistance ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanSurfaceColorMaxDistance ( 2, vIn, NULL ) ; } inline AIVariable getOceanSurfaceColorMaxDistance ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanSurfaceColorMaxDistance ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getOceanHeight ( const AIVariable& hScene, const AIVariable& x, const AIVariable& z ) const { S3DX_DECLARE_VIN_03( hScene, x, z ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanHeight ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariables<3> getOceanNormal ( const AIVariable& hScene, const AIVariable& x, const AIVariable& z ) const { S3DX_DECLARE_VIN_03( hScene, x, z ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanNormal ( 3, vIn, vOut ) ; return vOut ; } inline void setOceanFoamMap ( const AIVariable& hScene, const AIVariable& sMapName ) const { S3DX_DECLARE_VIN_02( hScene, sMapName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanFoamMap ( 2, vIn, NULL ) ; } inline void setOceanFoamMapTiling ( const AIVariable& hScene, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hScene, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanFoamMapTiling ( 2, vIn, NULL ) ; } inline AIVariable getOceanFoamMapTiling ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanFoamMapTiling ( 1, vIn, &vOut ) ; return vOut ; } inline void setOceanNormalMapTiling ( const AIVariable& hScene, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_02( hScene, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanNormalMapTiling ( 2, vIn, NULL ) ; } inline AIVariable getOceanNormalMapTiling ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanNormalMapTiling ( 1, vIn, &vOut ) ; return vOut ; } inline void setOceanReflectionNoiseScale ( const AIVariable& hScene, const AIVariable& nScale ) const { S3DX_DECLARE_VIN_02( hScene, nScale ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanReflectionNoiseScale ( 2, vIn, NULL ) ; } inline AIVariable getOceanReflectionNoiseScale ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanReflectionNoiseScale ( 1, vIn, &vOut ) ; return vOut ; } inline void setOceanRefractionNoiseScale ( const AIVariable& hScene, const AIVariable& nScale ) const { S3DX_DECLARE_VIN_02( hScene, nScale ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanRefractionNoiseScale ( 2, vIn, NULL ) ; } inline AIVariable getOceanRefractionNoiseScale ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanRefractionNoiseScale ( 1, vIn, &vOut ) ; return vOut ; } inline void setOceanFresnelPower ( const AIVariable& hScene, const AIVariable& nPower ) const { S3DX_DECLARE_VIN_02( hScene, nPower ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanFresnelPower ( 2, vIn, NULL ) ; } inline AIVariable getOceanFresnelPower ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanFresnelPower ( 1, vIn, &vOut ) ; return vOut ; } inline void setOceanFresnelBias ( const AIVariable& hScene, const AIVariable& nBias ) const { S3DX_DECLARE_VIN_02( hScene, nBias ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanFresnelBias ( 2, vIn, NULL ) ; } inline AIVariable getOceanFresnelBias ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanFresnelBias ( 1, vIn, &vOut ) ; return vOut ; } inline void setOceanReflectorBias ( const AIVariable& hScene, const AIVariable& nBias ) const { S3DX_DECLARE_VIN_02( hScene, nBias ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setOceanReflectorBias ( 2, vIn, NULL ) ; } inline AIVariable getOceanReflectorBias ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getOceanReflectorBias ( 1, vIn, &vOut ) ; return vOut ; } inline void setColorLevels ( const AIVariable& hScene, const AIVariable& r, const AIVariable& g, const AIVariable& b, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_05( hScene, r, g, b, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setColorLevels ( 5, vIn, NULL ) ; } inline AIVariables<4> getColorLevels ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getColorLevels ( 1, vIn, vOut ) ; return vOut ; } inline void setColorSaturation ( const AIVariable& hScene, const AIVariable& r, const AIVariable& g, const AIVariable& b, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_05( hScene, r, g, b, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setColorSaturation ( 5, vIn, NULL ) ; } inline AIVariables<4> getColorSaturation ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getColorSaturation ( 1, vIn, vOut ) ; return vOut ; } inline void setColorContrast ( const AIVariable& hScene, const AIVariable& nContrast ) const { S3DX_DECLARE_VIN_02( hScene, nContrast ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setColorContrast ( 2, vIn, NULL ) ; } inline AIVariable getColorContrast ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getColorContrast ( 1, vIn, &vOut ) ; return vOut ; } inline void setMonochromeFilter ( const AIVariable& hScene, const AIVariable& r, const AIVariable& g, const AIVariable& b, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_05( hScene, r, g, b, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setMonochromeFilter ( 5, vIn, NULL ) ; } inline AIVariables<4> getMonochromeFilter ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getMonochromeFilter ( 1, vIn, vOut ) ; return vOut ; } inline void setBloomIntensity ( const AIVariable& hScene, const AIVariable& nIntensity ) const { S3DX_DECLARE_VIN_02( hScene, nIntensity ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setBloomIntensity ( 2, vIn, NULL ) ; } inline AIVariable getBloomIntensity ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getBloomIntensity ( 1, vIn, &vOut ) ; return vOut ; } inline void setBloomThreshold ( const AIVariable& hScene, const AIVariable& nThreshold ) const { S3DX_DECLARE_VIN_02( hScene, nThreshold ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setBloomThreshold ( 2, vIn, NULL ) ; } inline AIVariable getBloomThreshold ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getBloomThreshold ( 1, vIn, &vOut ) ; return vOut ; } inline void setBloomColoring ( const AIVariable& hScene, const AIVariable& nColoring ) const { S3DX_DECLARE_VIN_02( hScene, nColoring ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setBloomColoring ( 2, vIn, NULL ) ; } inline AIVariable getBloomColoring ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getBloomColoring ( 1, vIn, &vOut ) ; return vOut ; } inline void setBloomMotionBlurFactor ( const AIVariable& hScene, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_02( hScene, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setBloomMotionBlurFactor ( 2, vIn, NULL ) ; } inline AIVariable getBloomMotionBlurFactor ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getBloomMotionBlurFactor ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getObjectCount ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getObjectCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getObjectAt ( const AIVariable& hScene, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hScene, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getObjectAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariables<3> getFirstHitCollider ( const AIVariable& hScene, const AIVariable& nRayPosX, const AIVariable& nRayPosY, const AIVariable& nRayPosZ, const AIVariable& nRayDirX, const AIVariable& nRayDirY, const AIVariable& nRayDirZ, const AIVariable& nRayLength ){ S3DX_DECLARE_VIN_08( hScene, nRayPosX, nRayPosY, nRayPosZ, nRayDirX, nRayDirY, nRayDirZ, nRayLength ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getFirstHitCollider ( 8, vIn, vOut ) ; return vOut ; } inline AIVariables<9> getFirstHitColliderEx ( const AIVariable& hScene, const AIVariable& nRayPosX, const AIVariable& nRayPosY, const AIVariable& nRayPosZ, const AIVariable& nRayDirX, const AIVariable& nRayDirY, const AIVariable& nRayDirZ, const AIVariable& nRayLength ){ S3DX_DECLARE_VIN_08( hScene, nRayPosX, nRayPosY, nRayPosZ, nRayDirX, nRayDirY, nRayDirZ, nRayLength ) ; AIVariables<9> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getFirstHitColliderEx ( 8, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getFirstHitColliderWithID ( const AIVariable& hScene, const AIVariable& nRayPosX, const AIVariable& nRayPosY, const AIVariable& nRayPosZ, const AIVariable& nRayDirX, const AIVariable& nRayDirY, const AIVariable& nRayDirZ, const AIVariable& nRayLength, const AIVariable& nSurfaceID ) const { S3DX_DECLARE_VIN_09( hScene, nRayPosX, nRayPosY, nRayPosZ, nRayDirX, nRayDirY, nRayDirZ, nRayLength, nSurfaceID ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getFirstHitColliderWithID ( 9, vIn, vOut ) ; return vOut ; } inline AIVariables<8> getFirstHitColliderWithIDEx ( const AIVariable& hScene, const AIVariable& nRayPosX, const AIVariable& nRayPosY, const AIVariable& nRayPosZ, const AIVariable& nRayDirX, const AIVariable& nRayDirY, const AIVariable& nRayDirZ, const AIVariable& nRayLength, const AIVariable& nSurfaceID ) const { S3DX_DECLARE_VIN_09( hScene, nRayPosX, nRayPosY, nRayPosZ, nRayDirX, nRayDirY, nRayDirZ, nRayLength, nSurfaceID ) ; AIVariables<8> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getFirstHitColliderWithIDEx ( 9, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getFirstHitSensor ( const AIVariable& hScene, const AIVariable& nRayPosX, const AIVariable& nRayPosY, const AIVariable& nRayPosZ, const AIVariable& nRayDirX, const AIVariable& nRayDirY, const AIVariable& nRayDirZ, const AIVariable& nRayLength ) const { S3DX_DECLARE_VIN_08( hScene, nRayPosX, nRayPosY, nRayPosZ, nRayDirX, nRayDirY, nRayDirZ, nRayLength ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getFirstHitSensor ( 8, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getFirstHitSensorWithID ( const AIVariable& hScene, const AIVariable& nRayPosX, const AIVariable& nRayPosY, const AIVariable& nRayPosZ, const AIVariable& nRayDirX, const AIVariable& nRayDirY, const AIVariable& nRayDirZ, const AIVariable& nRayLength, const AIVariable& nSensorID ) const { S3DX_DECLARE_VIN_09( hScene, nRayPosX, nRayPosY, nRayPosZ, nRayDirX, nRayDirY, nRayDirZ, nRayLength, nSensorID ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getFirstHitSensorWithID ( 9, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getFirstHitSensorWithIDInRange ( const AIVariable& hScene, const AIVariable& nRayPosX, const AIVariable& nRayPosY, const AIVariable& nRayPosZ, const AIVariable& nRayDirX, const AIVariable& nRayDirY, const AIVariable& nRayDirZ, const AIVariable& nRayLength, const AIVariable& nMinSensorID, const AIVariable& nMaxSensorID ) const { S3DX_DECLARE_VIN_10( hScene, nRayPosX, nRayPosY, nRayPosZ, nRayDirX, nRayDirY, nRayDirZ, nRayLength, nMinSensorID, nMaxSensorID ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getFirstHitSensorWithIDInRange ( 10, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getFirstHitTerrainChunk ( const AIVariable& hScene, const AIVariable& nRayPosX, const AIVariable& nRayPosY, const AIVariable& nRayPosZ, const AIVariable& nRayDirX, const AIVariable& nRayDirY, const AIVariable& nRayDirZ, const AIVariable& nRayLength ) const { S3DX_DECLARE_VIN_08( hScene, nRayPosX, nRayPosY, nRayPosZ, nRayDirX, nRayDirY, nRayDirZ, nRayLength ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getFirstHitTerrainChunk ( 8, vIn, vOut ) ; return vOut ; } inline AIVariable getTerrainHeight ( const AIVariable& hScene, const AIVariable& x, const AIVariable& z ) const { S3DX_DECLARE_VIN_03( hScene, x, z ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getTerrainHeight ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariables<3> getTerrainNormal ( const AIVariable& hScene, const AIVariable& x, const AIVariable& z ) const { S3DX_DECLARE_VIN_03( hScene, x, z ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getTerrainNormal ( 3, vIn, vOut ) ; return vOut ; } inline AIVariable getTerrainStatus ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getTerrainStatus ( 1, vIn, &vOut ) ; return vOut ; } inline void setTerrainTextureFilteringMode ( const AIVariable& hScene, const AIVariable& kFilteringMode ) const { S3DX_DECLARE_VIN_02( hScene, kFilteringMode ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setTerrainTextureFilteringMode ( 2, vIn, NULL ) ; } inline void setTerrainLODSwitchThreshold ( const AIVariable& hScene, const AIVariable& nThreshold ) const { S3DX_DECLARE_VIN_02( hScene, nThreshold ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setTerrainLODSwitchThreshold ( 2, vIn, NULL ) ; } inline void setTerrainVegetationLayerMaxVisibleInstances ( const AIVariable& hScene, const AIVariable& nLayer, const AIVariable& nCount ) const { S3DX_DECLARE_VIN_03( hScene, nLayer, nCount ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setTerrainVegetationLayerMaxVisibleInstances ( 3, vIn, NULL ) ; } inline void setTerrainVegetationLayerVisible ( const AIVariable& hScene, const AIVariable& nLayer, const AIVariable& bVisible ) const { S3DX_DECLARE_VIN_03( hScene, nLayer, bVisible ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setTerrainVegetationLayerVisible ( 3, vIn, NULL ) ; } inline void setTerrainVegetationLayerTextureFilteringMode ( const AIVariable& hScene, const AIVariable& nLayer, const AIVariable& kFilteringMode ) const { S3DX_DECLARE_VIN_03( hScene, nLayer, kFilteringMode ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setTerrainVegetationLayerTextureFilteringMode ( 3, vIn, NULL ) ; } inline AIVariable getTerrainVegetationLayerCount ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getTerrainVegetationLayerCount ( 1, vIn, &vOut ) ; return vOut ; } inline void setDynamicsTimeStep ( const AIVariable& hScene, const AIVariable& nTimeStep ) const { S3DX_DECLARE_VIN_02( hScene, nTimeStep ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setDynamicsTimeStep ( 2, vIn, NULL ) ; } inline AIVariable getDynamicsTimeStep ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getDynamicsTimeStep ( 1, vIn, &vOut ) ; return vOut ; } inline void setDynamicsIterationsPerStep ( const AIVariable& hScene, const AIVariable& nIterations ) const { S3DX_DECLARE_VIN_02( hScene, nIterations ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setDynamicsIterationsPerStep ( 2, vIn, NULL ) ; } inline AIVariable getDynamicsIterationsPerStep ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getDynamicsIterationsPerStep ( 1, vIn, &vOut ) ; return vOut ; } inline void setPaused ( const AIVariable& hScene, const AIVariable& bPaused ) const { S3DX_DECLARE_VIN_02( hScene, bPaused ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setPaused ( 2, vIn, NULL ) ; } inline void setPerPixelLightingMinScreenSize ( const AIVariable& hScene, const AIVariable& nSize ) const { S3DX_DECLARE_VIN_02( hScene, nSize ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setPerPixelLightingMinScreenSize ( 2, vIn, NULL ) ; } inline AIVariable getPerPixelLightingMinScreenSize ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getPerPixelLightingMinScreenSize ( 1, vIn, &vOut ) ; return vOut ; } inline void setNormalMappingMinScreenSize ( const AIVariable& hScene, const AIVariable& nSize ) const { S3DX_DECLARE_VIN_02( hScene, nSize ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setNormalMappingMinScreenSize ( 2, vIn, NULL ) ; } inline AIVariable getNormalMappingMinScreenSize ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getNormalMappingMinScreenSize ( 1, vIn, &vOut ) ; return vOut ; } inline void setNormalMappingFadeScreenSize ( const AIVariable& hScene, const AIVariable& nSize ) const { S3DX_DECLARE_VIN_02( hScene, nSize ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setNormalMappingFadeScreenSize ( 2, vIn, NULL ) ; } inline AIVariable getNormalMappingFadeScreenSize ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getNormalMappingFadeScreenSize ( 1, vIn, &vOut ) ; return vOut ; } inline void setSpecularLightingMinScreenSize ( const AIVariable& hScene, const AIVariable& nSize ) const { S3DX_DECLARE_VIN_02( hScene, nSize ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setSpecularLightingMinScreenSize ( 2, vIn, NULL ) ; } inline AIVariable getSpecularLightingMinScreenSize ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getSpecularLightingMinScreenSize ( 1, vIn, &vOut ) ; return vOut ; } inline void setSpecularLightingFadeScreenSize ( const AIVariable& hScene, const AIVariable& nSize ) const { S3DX_DECLARE_VIN_02( hScene, nSize ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setSpecularLightingFadeScreenSize ( 2, vIn, NULL ) ; } inline AIVariable getSpecularLightingFadeScreenSize ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getSpecularLightingFadeScreenSize ( 1, vIn, &vOut ) ; return vOut ; } inline void setDynamicShadowsFadeDistance ( const AIVariable& hScene, const AIVariable& nDistance ) const { S3DX_DECLARE_VIN_02( hScene, nDistance ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setDynamicShadowsFadeDistance ( 2, vIn, NULL ) ; } inline AIVariable getDynamicShadowsFadeDistance ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getDynamicShadowsFadeDistance ( 1, vIn, &vOut ) ; return vOut ; } inline void setDynamicShadowsMaxDistance ( const AIVariable& hScene, const AIVariable& nDistance ) const { S3DX_DECLARE_VIN_02( hScene, nDistance ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.setDynamicShadowsMaxDistance ( 2, vIn, NULL ) ; } inline AIVariable getDynamicShadowsMaxDistance ( const AIVariable& hScene ) const { S3DX_DECLARE_VIN_01( hScene ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.getDynamicShadowsMaxDistance ( 1, vIn, &vOut ) ; return vOut ; } inline void sendEventToAllUsers ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent ) const { S3DX_DECLARE_VIN_03( hScene, sAIModel, sEvent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllUsers ( 3, vIn, NULL ) ; } inline void sendEventToAllUsers ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0 ) const { S3DX_DECLARE_VIN_04( hScene, sAIModel, sEvent, vParam0 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllUsers ( 4, vIn, NULL ) ; } inline void sendEventToAllUsers ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1 ) const { S3DX_DECLARE_VIN_05( hScene, sAIModel, sEvent, vParam0, vParam1 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllUsers ( 5, vIn, NULL ) ; } inline void sendEventToAllUsers ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2 ) const { S3DX_DECLARE_VIN_06( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllUsers ( 6, vIn, NULL ) ; } inline void sendEventToAllUsers ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3 ) const { S3DX_DECLARE_VIN_07( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllUsers ( 7, vIn, NULL ) ; } inline void sendEventToAllUsers ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4 ) const { S3DX_DECLARE_VIN_08( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllUsers ( 8, vIn, NULL ) ; } inline void sendEventToAllUsers ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5 ) const { S3DX_DECLARE_VIN_09( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllUsers ( 9, vIn, NULL ) ; } inline void sendEventToAllUsers ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6 ) const { S3DX_DECLARE_VIN_10( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllUsers ( 10, vIn, NULL ) ; } inline void sendEventToAllUsers ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7 ) const { S3DX_DECLARE_VIN_11( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllUsers ( 11, vIn, NULL ) ; } inline void sendEventToAllUsers ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8 ) const { S3DX_DECLARE_VIN_12( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllUsers ( 12, vIn, NULL ) ; } inline void sendEventToAllUsers ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9 ) const { S3DX_DECLARE_VIN_13( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllUsers ( 13, vIn, NULL ) ; } inline void sendEventToAllUsers ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10 ) const { S3DX_DECLARE_VIN_14( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllUsers ( 14, vIn, NULL ) ; } inline void sendEventToAllUsers ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11 ) const { S3DX_DECLARE_VIN_15( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllUsers ( 15, vIn, NULL ) ; } inline void sendEventToAllUsers ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11, const AIVariable& vParam12 ) const { S3DX_DECLARE_VIN_16( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11, vParam12 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllUsers ( 16, vIn, NULL ) ; } inline void sendEventToAllObjects ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent ) const { S3DX_DECLARE_VIN_03( hScene, sAIModel, sEvent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllObjects ( 3, vIn, NULL ) ; } inline void sendEventToAllObjects ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0 ) const { S3DX_DECLARE_VIN_04( hScene, sAIModel, sEvent, vParam0 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllObjects ( 4, vIn, NULL ) ; } inline void sendEventToAllObjects ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1 ) const { S3DX_DECLARE_VIN_05( hScene, sAIModel, sEvent, vParam0, vParam1 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllObjects ( 5, vIn, NULL ) ; } inline void sendEventToAllObjects ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2 ) const { S3DX_DECLARE_VIN_06( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllObjects ( 6, vIn, NULL ) ; } inline void sendEventToAllObjects ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3 ) const { S3DX_DECLARE_VIN_07( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllObjects ( 7, vIn, NULL ) ; } inline void sendEventToAllObjects ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4 ) const { S3DX_DECLARE_VIN_08( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllObjects ( 8, vIn, NULL ) ; } inline void sendEventToAllObjects ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5 ) const { S3DX_DECLARE_VIN_09( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllObjects ( 9, vIn, NULL ) ; } inline void sendEventToAllObjects ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6 ) const { S3DX_DECLARE_VIN_10( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllObjects ( 10, vIn, NULL ) ; } inline void sendEventToAllObjects ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7 ) const { S3DX_DECLARE_VIN_11( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllObjects ( 11, vIn, NULL ) ; } inline void sendEventToAllObjects ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8 ) const { S3DX_DECLARE_VIN_12( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllObjects ( 12, vIn, NULL ) ; } inline void sendEventToAllObjects ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9 ) const { S3DX_DECLARE_VIN_13( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllObjects ( 13, vIn, NULL ) ; } inline void sendEventToAllObjects ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10 ) const { S3DX_DECLARE_VIN_14( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllObjects ( 14, vIn, NULL ) ; } inline void sendEventToAllObjects ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11 ) const { S3DX_DECLARE_VIN_15( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllObjects ( 15, vIn, NULL ) ; } inline void sendEventToAllObjects ( const AIVariable& hScene, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11, const AIVariable& vParam12 ) const { S3DX_DECLARE_VIN_16( hScene, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11, vParam12 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->scene.sendEventToAllObjects ( 16, vIn, NULL ) ; } } ; struct SensorPackage { // Constants // const AIVariable kShapeTypeBox ; const AIVariable kShapeTypeSphere ; SensorPackage ( ): kShapeTypeBox ( 2 ), kShapeTypeSphere ( 1 ) { } // Functions // inline AIVariable getCount ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.getCount ( 1, vIn, &vOut ) ; return vOut ; } inline void setActiveAt ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& bActive ) const { S3DX_DECLARE_VIN_03( hObject, nIndex, bActive ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.setActiveAt ( 3, vIn, NULL ) ; } inline AIVariable isActiveAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.isActiveAt ( 2, vIn, &vOut ) ; return vOut ; } inline void setAllActive ( const AIVariable& hObject, const AIVariable& bActive ) const { S3DX_DECLARE_VIN_02( hObject, bActive ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.setAllActive ( 2, vIn, NULL ) ; } inline void removeAll ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.removeAll ( 1, vIn, NULL ) ; } inline void removeAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.removeAt ( 2, vIn, NULL ) ; } inline AIVariable add ( const AIVariable& hObject, const AIVariable& kShapeType ) const { S3DX_DECLARE_VIN_02( hObject, kShapeType ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.add ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getIDAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.getIDAt ( 2, vIn, &vOut ) ; return vOut ; } inline void setIDAt ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& nID ) const { S3DX_DECLARE_VIN_03( hObject, nIndex, nID ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.setIDAt ( 3, vIn, NULL ) ; } inline AIVariable getShapeTypeAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.getShapeTypeAt ( 2, vIn, &vOut ) ; return vOut ; } inline void setSphereCenterAt ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, nIndex, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.setSphereCenterAt ( 6, vIn, NULL ) ; } inline void setSphereRadiusAt ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& nRadius ) const { S3DX_DECLARE_VIN_03( hObject, nIndex, nRadius ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.setSphereRadiusAt ( 3, vIn, NULL ) ; } inline AIVariables<3> getSphereCenterAt ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_03( hObject, nIndex, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.getSphereCenterAt ( 3, vIn, vOut ) ; return vOut ; } inline AIVariable getSphereRadiusAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.getSphereRadiusAt ( 2, vIn, &vOut ) ; return vOut ; } inline void setBoxCenterAt ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, nIndex, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.setBoxCenterAt ( 6, vIn, NULL ) ; } inline void setBoxSizeAt ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& sx, const AIVariable& sy, const AIVariable& sz ) const { S3DX_DECLARE_VIN_05( hObject, nIndex, sx, sy, sz ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.setBoxSizeAt ( 5, vIn, NULL ) ; } inline AIVariables<3> getBoxCenterAt ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_03( hObject, nIndex, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.getBoxCenterAt ( 3, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getBoxSizeAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sensor.getBoxSizeAt ( 2, vIn, vOut ) ; return vOut ; } } ; struct ServerPackage { // Constants // const AIVariable kStatusConnected ; const AIVariable kStatusPending ; const AIVariable kStatusNone ; ServerPackage ( ): kStatusConnected ( 2 ), kStatusPending ( 1 ), kStatusNone ( 0 ) { } // Functions // inline AIVariable getStatus ( const AIVariable& hServer ) const { S3DX_DECLARE_VIN_01( hServer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.getStatus ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getName ( const AIVariable& hServer ) const { S3DX_DECLARE_VIN_01( hServer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.getName ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getCurrentPingDelay ( const AIVariable& hServer ) const { S3DX_DECLARE_VIN_01( hServer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.getCurrentPingDelay ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getAveragePingDelay ( const AIVariable& hServer ) const { S3DX_DECLARE_VIN_01( hServer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.getAveragePingDelay ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getSessionCount ( const AIVariable& hServer ) const { S3DX_DECLARE_VIN_01( hServer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.getSessionCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getSessionNameAt ( const AIVariable& hServer, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hServer, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.getSessionNameAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getSessionUserCountAt ( const AIVariable& hServer, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hServer, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.getSessionUserCountAt ( 2, vIn, &vOut ) ; return vOut ; } inline void setCurrentSession ( const AIVariable& hServer, const AIVariable& sName ) const { S3DX_DECLARE_VIN_02( hServer, sName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.setCurrentSession ( 2, vIn, NULL ) ; } inline AIVariable getCurrentSession ( const AIVariable& hServer ) const { S3DX_DECLARE_VIN_01( hServer ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.getCurrentSession ( 1, vIn, &vOut ) ; return vOut ; } inline void sendEvent ( const AIVariable& hServer, const AIVariable& sAIModel, const AIVariable& sEvent ) const { S3DX_DECLARE_VIN_03( hServer, sAIModel, sEvent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.sendEvent ( 3, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hServer, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0 ) const { S3DX_DECLARE_VIN_04( hServer, sAIModel, sEvent, vParam0 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.sendEvent ( 4, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hServer, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1 ) const { S3DX_DECLARE_VIN_05( hServer, sAIModel, sEvent, vParam0, vParam1 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.sendEvent ( 5, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hServer, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2 ) const { S3DX_DECLARE_VIN_06( hServer, sAIModel, sEvent, vParam0, vParam1, vParam2 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.sendEvent ( 6, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hServer, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3 ) const { S3DX_DECLARE_VIN_07( hServer, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.sendEvent ( 7, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hServer, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4 ) const { S3DX_DECLARE_VIN_08( hServer, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.sendEvent ( 8, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hServer, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5 ) const { S3DX_DECLARE_VIN_09( hServer, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.sendEvent ( 9, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hServer, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6 ) const { S3DX_DECLARE_VIN_10( hServer, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.sendEvent ( 10, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hServer, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7 ) const { S3DX_DECLARE_VIN_11( hServer, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.sendEvent ( 11, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hServer, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8 ) const { S3DX_DECLARE_VIN_12( hServer, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.sendEvent ( 12, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hServer, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9 ) const { S3DX_DECLARE_VIN_13( hServer, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.sendEvent ( 13, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hServer, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10 ) const { S3DX_DECLARE_VIN_14( hServer, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.sendEvent ( 14, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hServer, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11 ) const { S3DX_DECLARE_VIN_15( hServer, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.sendEvent ( 15, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hServer, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11, const AIVariable& vParam12 ) const { S3DX_DECLARE_VIN_16( hServer, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11, vParam12 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->server.sendEvent ( 16, vIn, NULL ) ; } } ; struct SessionPackage { // Constants // const AIVariable kStatusConnected ; const AIVariable kStatusPending ; const AIVariable kStatusNone ; SessionPackage ( ): kStatusConnected ( 2 ), kStatusPending ( 1 ), kStatusNone ( 0 ) { } // Functions // inline AIVariable getStatus ( const AIVariable& hSession ) const { S3DX_DECLARE_VIN_01( hSession ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->session.getStatus ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getName ( const AIVariable& hSession ) const { S3DX_DECLARE_VIN_01( hSession ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->session.getName ( 1, vIn, &vOut ) ; return vOut ; } } ; struct SfxPackage { // Functions // inline AIVariable getParticleEmitterCount ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.getParticleEmitterCount ( 1, vIn, &vOut ) ; return vOut ; } inline void startParticleEmitterAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.startParticleEmitterAt ( 2, vIn, NULL ) ; } inline void startAllParticleEmitters ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.startAllParticleEmitters ( 1, vIn, NULL ) ; } inline void stopParticleEmitterAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.stopParticleEmitterAt ( 2, vIn, NULL ) ; } inline void stopAllParticleEmitters ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.stopAllParticleEmitters ( 1, vIn, NULL ) ; } inline void pauseParticleEmitterAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.pauseParticleEmitterAt ( 2, vIn, NULL ) ; } inline void pauseAllParticleEmitters ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.pauseAllParticleEmitters ( 1, vIn, NULL ) ; } inline void setParticleEmitterTranslationAt ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, nIndex, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.setParticleEmitterTranslationAt ( 6, vIn, NULL ) ; } inline void setParticleEmitterRotationAt ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, nIndex, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.setParticleEmitterRotationAt ( 6, vIn, NULL ) ; } inline void setParticleEmitterUniformScaleAt ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& nScale ) const { S3DX_DECLARE_VIN_03( hObject, nIndex, nScale ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.setParticleEmitterUniformScaleAt ( 3, vIn, NULL ) ; } inline void setParticleEmitterGenerationRateAt ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& nRate ) const { S3DX_DECLARE_VIN_03( hObject, nIndex, nRate ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.setParticleEmitterGenerationRateAt ( 3, vIn, NULL ) ; } inline void setParticleEmitterLifeTimeFactorAt ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_03( hObject, nIndex, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.setParticleEmitterLifeTimeFactorAt ( 3, vIn, NULL ) ; } inline void setParticleEmitterInitialSpeedFactorAt ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_03( hObject, nIndex, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.setParticleEmitterInitialSpeedFactorAt ( 3, vIn, NULL ) ; } inline AIVariable getParticleEmitterUniformScaleAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.getParticleEmitterUniformScaleAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getParticleEmitterGenerationRateAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.getParticleEmitterGenerationRateAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getParticleEmitterLifeTimeFactorAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.getParticleEmitterLifeTimeFactorAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getParticleEmitterInitialSpeedFactorAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.getParticleEmitterInitialSpeedFactorAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getParticleEmitterAliveParticleCountAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.getParticleEmitterAliveParticleCountAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getTrailCount ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.getTrailCount ( 1, vIn, &vOut ) ; return vOut ; } inline void setTrailAnchor0At ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, nIndex, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.setTrailAnchor0At ( 6, vIn, NULL ) ; } inline void setTrailAnchor1At ( const AIVariable& hObject, const AIVariable& nIndex, const AIVariable& x, const AIVariable& y, const AIVariable& z, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_06( hObject, nIndex, x, y, z, kSpace ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.setTrailAnchor1At ( 6, vIn, NULL ) ; } inline void startTrailAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.startTrailAt ( 2, vIn, NULL ) ; } inline void pauseTrailAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.pauseTrailAt ( 2, vIn, NULL ) ; } inline void stopTrailAt ( const AIVariable& hObject, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hObject, nIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.stopTrailAt ( 2, vIn, NULL ) ; } inline void startAllTrails ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.startAllTrails ( 1, vIn, NULL ) ; } inline void pauseAllTrails ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.pauseAllTrails ( 1, vIn, NULL ) ; } inline void stopAllTrails ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sfx.stopAllTrails ( 1, vIn, NULL ) ; } } ; struct ShapePackage { // Constants // const AIVariable kCurveTypePolyLine ; const AIVariable kCurveTypeBSpline ; const AIVariable kCurveTypeBezier ; const AIVariable kCurveTypeCatmullRom ; const AIVariable kMapTypeUnknown ; const AIVariable kMapTypeTexture ; const AIVariable kMapTypeTextureClip ; const AIVariable kMapTypeRenderMap ; const AIVariable kMapTypePixelMap ; const AIVariable kMapTypeMovie ; ShapePackage ( ): kCurveTypePolyLine ( 0 ), kCurveTypeBSpline ( 1 ), kCurveTypeBezier ( 2 ), kCurveTypeCatmullRom ( 3 ), kMapTypeUnknown ( 0 ), kMapTypeTexture ( 1 ), kMapTypeTextureClip ( 2 ), kMapTypeRenderMap ( 3 ), kMapTypePixelMap ( 5 ), kMapTypeMovie ( 4 ) { } // Functions // inline void setMeshOpacity ( const AIVariable& hObject, const AIVariable& nOpacity ) const { S3DX_DECLARE_VIN_02( hObject, nOpacity ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setMeshOpacity ( 2, vIn, NULL ) ; } inline AIVariable getMeshOpacity ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshOpacity ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getMeshSubsetCount ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetCount ( 1, vIn, &vOut ) ; return vOut ; } inline void setMeshSubsetMaterial ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& sMaterialName ) const { S3DX_DECLARE_VIN_03( hObject, nSubsetIndex, sMaterialName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setMeshSubsetMaterial ( 3, vIn, NULL ) ; } inline AIVariable getMeshSubsetMaterialName ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialName ( 2, vIn, &vOut ) ; return vOut ; } inline void setMeshMaterial ( const AIVariable& hObject, const AIVariable& sMaterialName ) const { S3DX_DECLARE_VIN_02( hObject, sMaterialName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setMeshMaterial ( 2, vIn, NULL ) ; } inline AIVariable compareMeshSubsetMaterial ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& sMaterialName ) const { S3DX_DECLARE_VIN_03( hObject, nSubsetIndex, sMaterialName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.compareMeshSubsetMaterial ( 3, vIn, &vOut ) ; return vOut ; } inline void enableMeshFrustumCulling ( const AIVariable& hObject, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hObject, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.enableMeshFrustumCulling ( 2, vIn, NULL ) ; } inline void overrideMeshSubsetMaterialEmissive ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_06( hObject, nSubsetIndex, nRed, nGreen, nBlue, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshSubsetMaterialEmissive ( 3, vIn, NULL ) ; } inline void overrideMeshSubsetMaterialAmbient ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_06( hObject, nSubsetIndex, nRed, nGreen, nBlue, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshSubsetMaterialAmbient ( 6, vIn, NULL ) ; } inline void overrideMeshSubsetMaterialDiffuse ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_06( hObject, nSubsetIndex, nRed, nGreen, nBlue, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshSubsetMaterialDiffuse ( 6, vIn, NULL ) ; } inline void overrideMeshSubsetMaterialSpecular ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_06( hObject, nSubsetIndex, nRed, nGreen, nBlue, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshSubsetMaterialSpecular ( 6, vIn, NULL ) ; } inline void overrideMeshSubsetMaterialOpacity ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& nOpacity, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_04( hObject, nSubsetIndex, nOpacity, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshSubsetMaterialOpacity ( 4, vIn, NULL ) ; } inline void overrideMeshSubsetMaterialOpacityThreshold ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& nOpacity, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_04( hObject, nSubsetIndex, nOpacity, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshSubsetMaterialOpacityThreshold ( 4, vIn, NULL ) ; } inline void overrideMeshSubsetMaterialEffectIntensity ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& nIntensity, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_04( hObject, nSubsetIndex, nIntensity, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshSubsetMaterialEffectIntensity ( 4, vIn, NULL ) ; } inline AIVariables<4> getMeshSubsetMaterialEmissiveOverride ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEmissiveOverride ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<4> getMeshSubsetMaterialAmbientOverride ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialAmbientOverride ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<4> getMeshSubsetMaterialDiffuseOverride ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialDiffuseOverride ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<4> getMeshSubsetMaterialSpecularOverride ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<4> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialSpecularOverride ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getMeshSubsetMaterialOpacityOverride ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialOpacityOverride ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getMeshSubsetMaterialOpacityThresholdOverride ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialOpacityThresholdOverride ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getMeshSubsetMaterialEffectIntensityOverride ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEffectIntensityOverride ( 2, vIn, vOut ) ; return vOut ; } inline void overrideMeshMaterialEmissive ( const AIVariable& hObject, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_05( hObject, nRed, nGreen, nBlue, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshMaterialEmissive ( 5, vIn, NULL ) ; } inline void overrideMeshMaterialAmbient ( const AIVariable& hObject, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_05( hObject, nRed, nGreen, nBlue, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshMaterialAmbient ( 5, vIn, NULL ) ; } inline void overrideMeshMaterialDiffuse ( const AIVariable& hObject, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_05( hObject, nRed, nGreen, nBlue, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshMaterialDiffuse ( 5, vIn, NULL ) ; } inline void overrideMeshMaterialSpecular ( const AIVariable& hObject, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_05( hObject, nRed, nGreen, nBlue, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshMaterialSpecular ( 5, vIn, NULL ) ; } inline void overrideMeshSubsetMaterialEffectMap0 ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& sMapName, const AIVariable& kMapType ) const { S3DX_DECLARE_VIN_04( hObject, nSubsetIndex, sMapName, kMapType ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshSubsetMaterialEffectMap0 ( 4, vIn, NULL ) ; } inline void overrideMeshMaterialEffectMap0 ( const AIVariable& hObject, const AIVariable& sMapName, const AIVariable& kMapType ) const { S3DX_DECLARE_VIN_03( hObject, sMapName, kMapType ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshMaterialEffectMap0 ( 3, vIn, NULL ) ; } inline void overrideMeshSubsetMaterialEffectMap1 ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& sMapName, const AIVariable& kMapType ) const { S3DX_DECLARE_VIN_04( hObject, nSubsetIndex, sMapName, kMapType ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshSubsetMaterialEffectMap1 ( 4, vIn, NULL ) ; } inline void overrideMeshMaterialEffectMap1 ( const AIVariable& hObject, const AIVariable& sMapName, const AIVariable& kMapType ) const { S3DX_DECLARE_VIN_03( hObject, sMapName, kMapType ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshMaterialEffectMap1 ( 3, vIn, NULL ) ; } inline void overrideMeshSubsetMaterialNormalMap ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& sMapName, const AIVariable& kMapType ) const { S3DX_DECLARE_VIN_04( hObject, nSubsetIndex, sMapName, kMapType ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshSubsetMaterialNormalMap ( 4, vIn, NULL ) ; } inline void overrideMeshMaterialNormalMap ( const AIVariable& hObject, const AIVariable& sMapName, const AIVariable& kMapType ) const { S3DX_DECLARE_VIN_03( hObject, sMapName, kMapType ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshMaterialNormalMap ( 3, vIn, NULL ) ; } inline void overrideMeshSubsetMaterialSpecularMap ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& sMapName, const AIVariable& kMapType ) const { S3DX_DECLARE_VIN_04( hObject, nSubsetIndex, sMapName, kMapType ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshSubsetMaterialSpecularMap ( 4, vIn, NULL ) ; } inline void overrideMeshMaterialSpecularMap ( const AIVariable& hObject, const AIVariable& sMapName, const AIVariable& kMapType ) const { S3DX_DECLARE_VIN_03( hObject, sMapName, kMapType ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideMeshMaterialSpecularMap ( 3, vIn, NULL ) ; } inline AIVariables<2> getMeshSubsetMaterialEffectMap0 ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEffectMap0 ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getMeshSubsetMaterialEffectMap1 ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEffectMap1 ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getMeshSubsetMaterialNormalMap ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialNormalMap ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getMeshSubsetMaterialSpecularMap ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialSpecularMap ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getMeshSubsetMaterialEffectMap0Override ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEffectMap0Override ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getMeshSubsetMaterialEffectMap1Override ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEffectMap1Override ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getMeshSubsetMaterialNormalMapOverride ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialNormalMapOverride ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getMeshSubsetMaterialSpecularMapOverride ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialSpecularMapOverride ( 2, vIn, vOut ) ; return vOut ; } inline void setMeshSubsetMaterialEffectMap0AdditionalUVOffset ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& u, const AIVariable& v ) const { S3DX_DECLARE_VIN_04( hObject, nSubsetIndex, u, v ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setMeshSubsetMaterialEffectMap0AdditionalUVOffset ( 4, vIn, NULL ) ; } inline void setMeshSubsetMaterialEffectMap0AdditionalUVScale ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& u, const AIVariable& v ) const { S3DX_DECLARE_VIN_04( hObject, nSubsetIndex, u, v ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setMeshSubsetMaterialEffectMap0AdditionalUVScale ( 4, vIn, NULL ) ; } inline void setMeshSubsetMaterialEffectMap0AdditionalUVRotation ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& nCenterU, const AIVariable& nCenterV, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_05( hObject, nSubsetIndex, nCenterU, nCenterV, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setMeshSubsetMaterialEffectMap0AdditionalUVRotation ( 5, vIn, NULL ) ; } inline void setMeshSubsetMaterialEffectMap1AdditionalUVOffset ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& u, const AIVariable& v ) const { S3DX_DECLARE_VIN_04( hObject, nSubsetIndex, u, v ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setMeshSubsetMaterialEffectMap1AdditionalUVOffset ( 4, vIn, NULL ) ; } inline void setMeshSubsetMaterialEffectMap1AdditionalUVScale ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& u, const AIVariable& v ) const { S3DX_DECLARE_VIN_04( hObject, nSubsetIndex, u, v ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setMeshSubsetMaterialEffectMap1AdditionalUVScale ( 4, vIn, NULL ) ; } inline void setMeshSubsetMaterialEffectMap1AdditionalUVRotation ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& nCenterU, const AIVariable& nCenterV, const AIVariable& nAngle ) const { S3DX_DECLARE_VIN_05( hObject, nSubsetIndex, nCenterU, nCenterV, nAngle ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setMeshSubsetMaterialEffectMap1AdditionalUVRotation ( 5, vIn, NULL ) ; } inline AIVariables<2> getMeshSubsetMaterialEffectMap0AdditionalUVOffset ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEffectMap0AdditionalUVOffset ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getMeshSubsetMaterialEffectMap0AdditionalUVScale ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEffectMap0AdditionalUVScale ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getMeshSubsetMaterialEffectMap0AdditionalUVRotation ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEffectMap0AdditionalUVRotation ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getMeshSubsetMaterialEffectMap1AdditionalUVOffset ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEffectMap1AdditionalUVOffset ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getMeshSubsetMaterialEffectMap1AdditionalUVScale ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEffectMap1AdditionalUVScale ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getMeshSubsetMaterialEffectMap1AdditionalUVRotation ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEffectMap1AdditionalUVRotation ( 2, vIn, vOut ) ; return vOut ; } inline void playMeshSubsetMaterialEffectMap0Movie ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.playMeshSubsetMaterialEffectMap0Movie ( 2, vIn, NULL ) ; } inline void pauseMeshSubsetMaterialEffectMap0Movie ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.pauseMeshSubsetMaterialEffectMap0Movie ( 2, vIn, NULL ) ; } inline void stopMeshSubsetMaterialEffectMap0Movie ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.stopMeshSubsetMaterialEffectMap0Movie ( 2, vIn, NULL ) ; } inline AIVariable getMeshSubsetMaterialEffectMap0MovieBufferingProgress ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEffectMap0MovieBufferingProgress ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getMeshSubsetMaterialEffectMap0MoviePlaybackProgress ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEffectMap0MoviePlaybackProgress ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getMeshSubsetMaterialEffectMap0MoviePlaybackCursor ( const AIVariable& hObject, const AIVariable& nSubsetIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSubsetIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshSubsetMaterialEffectMap0MoviePlaybackCursor ( 2, vIn, &vOut ) ; return vOut ; } inline void setMeshSubsetMaterialEffectMap0MovieTransparentColor ( const AIVariable& hObject, const AIVariable& nSubsetIndex, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue, const AIVariable& nTolerance ) const { S3DX_DECLARE_VIN_06( hObject, nSubsetIndex, nRed, nGreen, nBlue, nTolerance ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setMeshSubsetMaterialEffectMap0MovieTransparentColor ( 6, vIn, NULL ) ; } inline AIVariable getMesh ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMesh ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getMeshName ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshName ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getMeshTriangleCount ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshTriangleCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getMeshVertexCount ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getMeshVertexCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getSkeletonName ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getSkeletonName ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getSkeletonJointCount ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getSkeletonJointCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getSkeletonJointNameAt ( const AIVariable& hObject, const AIVariable& iJointIndex ) const { S3DX_DECLARE_VIN_02( hObject, iJointIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getSkeletonJointNameAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable createRuntimeMesh ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.createRuntimeMesh ( 1, vIn, &vOut ) ; return vOut ; } inline void overrideSkeletonJointTranslation ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& tx, const AIVariable& ty, const AIVariable& tz, const AIVariable& kSpace, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_07( hObject, sJointName, tx, ty, tz, kSpace, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideSkeletonJointTranslation ( 7, vIn, NULL ) ; } inline void overrideSkeletonJointRotation ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& rx, const AIVariable& ry, const AIVariable& rz, const AIVariable& kSpace, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_07( hObject, sJointName, rx, ry, rz, kSpace, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.overrideSkeletonJointRotation ( 7, vIn, NULL ) ; } inline void setSkeletonJointCustomScale ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& sx, const AIVariable& sy, const AIVariable& sz ) const { S3DX_DECLARE_VIN_05( hObject, sJointName, sx, sy, sz ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setSkeletonJointCustomScale ( 5, vIn, NULL ) ; } inline AIVariables<3> getSkeletonJointTranslation ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getSkeletonJointTranslation ( 3, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getSkeletonJointRotation ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getSkeletonJointRotation ( 3, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getSkeletonJointXAxis ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getSkeletonJointXAxis ( 3, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getSkeletonJointYAxis ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getSkeletonJointYAxis ( 3, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getSkeletonJointZAxis ( const AIVariable& hObject, const AIVariable& sJointName, const AIVariable& kSpace ) const { S3DX_DECLARE_VIN_03( hObject, sJointName, kSpace ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getSkeletonJointZAxis ( 3, vIn, vOut ) ; return vOut ; } inline AIVariable getSkeletonJointParentJointName ( const AIVariable& hObject, const AIVariable& sJointName ) const { S3DX_DECLARE_VIN_02( hObject, sJointName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getSkeletonJointParentJointName ( 2, vIn, &vOut ) ; return vOut ; } inline void addSkeletonCloneModifier ( const AIVariable& hObject, const AIVariable& hMasterObject ) const { S3DX_DECLARE_VIN_02( hObject, hMasterObject ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.addSkeletonCloneModifier ( 2, vIn, NULL ) ; } inline AIVariable addCurve ( const AIVariable& hObject, const AIVariable& kCurveType ) const { S3DX_DECLARE_VIN_02( hObject, kCurveType ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.addCurve ( 2, vIn, &vOut ) ; return vOut ; } inline void removeCurve ( const AIVariable& hObject, const AIVariable& nCurveIndex ) const { S3DX_DECLARE_VIN_02( hObject, nCurveIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.removeCurve ( 2, vIn, NULL ) ; } inline AIVariable getCurveCount ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.addCurve ( 1, vIn, &vOut ) ; return vOut ; } inline void addCurvePoint ( const AIVariable& hObject, const AIVariable& nCurveIndex, const AIVariable& x, const AIVariable& y, const AIVariable& z ) const { S3DX_DECLARE_VIN_05( hObject, nCurveIndex, x, y, z ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.addCurvePoint ( 5, vIn, NULL ) ; } inline void removeCurvePoint ( const AIVariable& hObject, const AIVariable& nCurveIndex, const AIVariable& nPointIndex ) const { S3DX_DECLARE_VIN_03( hObject, nCurveIndex, nPointIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.removeCurvePoint ( 3, vIn, NULL ) ; } inline AIVariable getCurvePointCount ( const AIVariable& hObject, const AIVariable& nCurveIndex ) const { S3DX_DECLARE_VIN_02( hObject, nCurveIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getCurvePointCount ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariables<3> getCurvePoint ( const AIVariable& hObject, const AIVariable& nCurveIndex, const AIVariable& nPointIndex ) const { S3DX_DECLARE_VIN_03( hObject, nCurveIndex, nPointIndex ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getCurvePoint ( 3, vIn, vOut ) ; return vOut ; } inline void setCurvePoint ( const AIVariable& hObject, const AIVariable& nCurveIndex, const AIVariable& nPointIndex, const AIVariable& x, const AIVariable& y, const AIVariable& z ) const { S3DX_DECLARE_VIN_06( hObject, nCurveIndex, nPointIndex, x, y, z ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setCurvePoint ( 6, vIn, NULL ) ; } inline void setCurveStartColor ( const AIVariable& hObject, const AIVariable& nCurveIndex, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue ) const { S3DX_DECLARE_VIN_05( hObject, nCurveIndex, nRed, nGreen, nBlue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setCurveStartColor ( 5, vIn, NULL ) ; } inline void setCurveEndColor ( const AIVariable& hObject, const AIVariable& nCurveIndex, const AIVariable& nRed, const AIVariable& nGreen, const AIVariable& nBlue ) const { S3DX_DECLARE_VIN_05( hObject, nCurveIndex, nRed, nGreen, nBlue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setCurveEndColor ( 5, vIn, NULL ) ; } inline void setCurveStartOpacity ( const AIVariable& hObject, const AIVariable& nCurveIndex, const AIVariable& nOpacity ) const { S3DX_DECLARE_VIN_03( hObject, nCurveIndex, nOpacity ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setCurveStartOpacity ( 3, vIn, NULL ) ; } inline void setCurveEndOpacity ( const AIVariable& hObject, const AIVariable& nCurveIndex, const AIVariable& nOpacity ) const { S3DX_DECLARE_VIN_03( hObject, nCurveIndex, nOpacity ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.setCurveEndOpacity ( 3, vIn, NULL ) ; } inline AIVariables<3> getCurveStartColor ( const AIVariable& hObject, const AIVariable& nCurveIndex ) const { S3DX_DECLARE_VIN_02( hObject, nCurveIndex ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getCurveStartColor ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<3> getCurveEndColor ( const AIVariable& hObject, const AIVariable& nCurveIndex ) const { S3DX_DECLARE_VIN_02( hObject, nCurveIndex ) ; AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.getCurveEndColor ( 2, vIn, vOut ) ; return vOut ; } inline AIVariables<7> evaluateCurve ( const AIVariable& hObject, const AIVariable& nCurveIndex, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_03( hObject, nCurveIndex, nFactor ) ; AIVariables<7> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->shape.evaluateCurve ( 3, vIn, vOut ) ; return vOut ; } } ; struct SoundPackage { // Functions // inline void play ( const AIVariable& hObject, const AIVariable& nSoundIndex, const AIVariable& nVolume, const AIVariable& bLoop, const AIVariable& nPriority ) const { S3DX_DECLARE_VIN_05( hObject, nSoundIndex, nVolume, bLoop, nPriority ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.play ( 5, vIn, NULL ) ; } inline void pause ( const AIVariable& hObject, const AIVariable& nSoundIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSoundIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.pause ( 2, vIn, NULL ) ; } inline void resume ( const AIVariable& hObject, const AIVariable& nSoundIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSoundIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.resume ( 2, vIn, NULL ) ; } inline void stop ( const AIVariable& hObject, const AIVariable& nSoundIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSoundIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.stop ( 2, vIn, NULL ) ; } inline void setVolume ( const AIVariable& hObject, const AIVariable& nSoundIndex, const AIVariable& nVolume ) const { S3DX_DECLARE_VIN_03( hObject, nSoundIndex, nVolume ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.setVolume ( 3, vIn, NULL ) ; } inline void setPitch ( const AIVariable& hObject, const AIVariable& nSoundIndex, const AIVariable& nPitch ) const { S3DX_DECLARE_VIN_03( hObject, nSoundIndex, nPitch ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.setPitch ( 3, vIn, NULL ) ; } inline AIVariable isPlaying ( const AIVariable& hObject, const AIVariable& nSoundIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSoundIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.isPlaying ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable isPaused ( const AIVariable& hObject, const AIVariable& nSoundIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSoundIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.isPaused ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getPlaybackProgress ( const AIVariable& hObject, const AIVariable& nSoundIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSoundIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.getPlaybackProgress ( 2, vIn, &vOut ) ; return vOut ; } inline void setPlaybackProgress ( const AIVariable& hObject, const AIVariable& nSoundIndex, const AIVariable& nValue ) const { S3DX_DECLARE_VIN_03( hObject, nSoundIndex, nValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.setPlaybackProgress ( 3, vIn, NULL ) ; } inline AIVariable getName ( const AIVariable& hObject, const AIVariable& nSoundIndex ) const { S3DX_DECLARE_VIN_02( hObject, nSoundIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.getName ( 2, vIn, &vOut ) ; return vOut ; } inline void enableSpatialization ( const AIVariable& hObject, const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_02( hObject, bEnable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.enableSpatialization ( 2, vIn, NULL ) ; } inline AIVariable isSpatializationEnabled ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.isSpatializationEnabled ( 1, vIn, &vOut ) ; return vOut ; } inline void setSpatializationRolloffFactor ( const AIVariable& hObject, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_02( hObject, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.setSpatializationRolloffFactor ( 2, vIn, NULL ) ; } inline AIVariable getSpatializationRolloffFactor ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.getSpatializationRolloffFactor ( 1, vIn, &vOut ) ; return vOut ; } inline void setSpatializationReferenceDistance ( const AIVariable& hObject, const AIVariable& nDistance ) const { S3DX_DECLARE_VIN_02( hObject, nDistance ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.setSpatializationReferenceDistance ( 2, vIn, NULL ) ; } inline AIVariable getSpatializationReferenceDistance ( const AIVariable& hObject ) const { S3DX_DECLARE_VIN_01( hObject ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->sound.getSpatializationReferenceDistance ( 1, vIn, &vOut ) ; return vOut ; } } ; struct StringPackage { // Functions // inline AIVariable isEmpty ( const AIVariable& sString ) const { S3DX_DECLARE_VIN_01( sString ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.isEmpty ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getLength ( const AIVariable& sString ) const { S3DX_DECLARE_VIN_01( sString ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.getLength ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getByte ( const AIVariable& sString, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( sString, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.getByte ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable replace ( const AIVariable& sString, const AIVariable& sPattern0, const AIVariable& sPattern1 ) const { S3DX_DECLARE_VIN_03( sString, sPattern0, sPattern1 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.replace ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable contains ( const AIVariable& sString, const AIVariable& sPattern ) const { S3DX_DECLARE_VIN_02( sString, sPattern ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.contains ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable findFirst ( const AIVariable& sString, const AIVariable& sPattern, const AIVariable& nStartIndex ) const { S3DX_DECLARE_VIN_03( sString, sPattern, nStartIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.findFirst ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariables<2> findFirstMatching ( const AIVariable& sString, const AIVariable& sPattern, const AIVariable& nStartIndex ) const { S3DX_DECLARE_VIN_03( sString, sPattern, nStartIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.findFirstMatching ( 3, vIn, vOut ) ; return vOut ; } inline AIVariable explode ( const AIVariable& sString, const AIVariable& tResult, const AIVariable& sDelimiter ) const { S3DX_DECLARE_VIN_03( sString, tResult, sDelimiter ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.explode ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable lower ( const AIVariable& sString ) const { S3DX_DECLARE_VIN_01( sString ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.lower ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable upper ( const AIVariable& sString ) const { S3DX_DECLARE_VIN_01( sString ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.upper ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable toNumber ( const AIVariable& sString ) const { S3DX_DECLARE_VIN_01( sString ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.toNumber ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getSubString ( const AIVariable& sString, const AIVariable& nStart, const AIVariable& nLength ) const { S3DX_DECLARE_VIN_03( sString, nStart, nLength ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.getSubString ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable crc32 ( const AIVariable& sString ) const { S3DX_DECLARE_VIN_01( sString ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.crc32 ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable md5 ( const AIVariable& sString ) const { S3DX_DECLARE_VIN_01( sString ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.md5 ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable sha1 ( const AIVariable& sString ) const { S3DX_DECLARE_VIN_01( sString ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.sha1 ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable reverse ( const AIVariable& sString ) const { S3DX_DECLARE_VIN_01( sString ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.reverse ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable compare ( const AIVariable& sString, const AIVariable& sOtherString ) const { S3DX_DECLARE_VIN_02( sString, sOtherString ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.compare ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable encodeHTML ( const AIVariable& sString ) const { S3DX_DECLARE_VIN_01( sString ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.encodeHTML ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable decodeHTML ( const AIVariable& sString ) const { S3DX_DECLARE_VIN_01( sString ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.decodeHTML ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable encodeURL ( const AIVariable& sString ) const { S3DX_DECLARE_VIN_01( sString ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.encodeURL ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable decodeURL ( const AIVariable& sString ) const { S3DX_DECLARE_VIN_01( sString ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.decodeURL ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable format ( const AIVariable& sFormat ) const { S3DX_DECLARE_VIN_01( sFormat ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.format ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable format ( const AIVariable& sFormat, const AIVariable& v0 ) const { S3DX_DECLARE_VIN_02( sFormat, v0 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.format ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable format ( const AIVariable& sFormat, const AIVariable& v0, const AIVariable& v1 ) const { S3DX_DECLARE_VIN_03( sFormat, v0, v1 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.format ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable format ( const AIVariable& sFormat, const AIVariable& v0, const AIVariable& v1, const AIVariable& v2 ) const { S3DX_DECLARE_VIN_04( sFormat, v0, v1, v2 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.format ( 4, vIn, &vOut ) ; return vOut ; } inline AIVariable format ( const AIVariable& sFormat, const AIVariable& v0, const AIVariable& v1, const AIVariable& v2, const AIVariable& v3 ) const { S3DX_DECLARE_VIN_05( sFormat, v0, v1, v2, v3 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.format ( 5, vIn, &vOut ) ; return vOut ; } inline AIVariable format ( const AIVariable& sFormat, const AIVariable& v0, const AIVariable& v1, const AIVariable& v2, const AIVariable& v3, const AIVariable& v4 ) const { S3DX_DECLARE_VIN_06( sFormat, v0, v1, v2, v3, v4 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.format ( 6, vIn, &vOut ) ; return vOut ; } inline AIVariable format ( const AIVariable& sFormat, const AIVariable& v0, const AIVariable& v1, const AIVariable& v2, const AIVariable& v3, const AIVariable& v4, const AIVariable& v5 ) const { S3DX_DECLARE_VIN_07( sFormat, v0, v1, v2, v3, v4, v5 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.format ( 7, vIn, &vOut ) ; return vOut ; } inline AIVariable format ( const AIVariable& sFormat, const AIVariable& v0, const AIVariable& v1, const AIVariable& v2, const AIVariable& v3, const AIVariable& v4, const AIVariable& v5, const AIVariable& v6 ) const { S3DX_DECLARE_VIN_08( sFormat, v0, v1, v2, v3, v4, v5, v6 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.format ( 8, vIn, &vOut ) ; return vOut ; } inline AIVariable format ( const AIVariable& sFormat, const AIVariable& v0, const AIVariable& v1, const AIVariable& v2, const AIVariable& v3, const AIVariable& v4, const AIVariable& v5, const AIVariable& v6, const AIVariable& v7 ) const { S3DX_DECLARE_VIN_09( sFormat, v0, v1, v2, v3, v4, v5, v6, v7 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.format ( 9, vIn, &vOut ) ; return vOut ; } inline AIVariable format ( const AIVariable& sFormat, const AIVariable& v0, const AIVariable& v1, const AIVariable& v2, const AIVariable& v3, const AIVariable& v4, const AIVariable& v5, const AIVariable& v6, const AIVariable& v7, const AIVariable& v8 ) const { S3DX_DECLARE_VIN_10( sFormat, v0, v1, v2, v3, v4, v5, v6, v7, v8 ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->string.format ( 10, vIn, &vOut ) ; return vOut ; } } ; struct SystemPackage { // Constants // const AIVariable kOSTypeLinux ; const AIVariable kOSTypeMac ; const AIVariable kOSTypeSymbian ; const AIVariable kOSTypeWindows ; const AIVariable kOSTypeWindowsCE ; const AIVariable kOSTypeIPhone ; const AIVariable kOSTypeWii ; const AIVariable kOSTypeAngstrom ; const AIVariable kOSTypeAndroid ; const AIVariable kOSTypePSP ; const AIVariable kOSTypePalm ; const AIVariable kOSTypePS3 ; const AIVariable kOSType3DS ; const AIVariable kOSTypeBada ; const AIVariable kOSTypeBrew ; const AIVariable kClientTypeStandalone ; const AIVariable kClientTypeEmbedded ; const AIVariable kClientTypeEditor ; const AIVariable kLanguageUnknown ; const AIVariable kLanguageAlbanian ; const AIVariable kLanguageArabic ; const AIVariable kLanguageBulgarian ; const AIVariable kLanguageCatalan ; const AIVariable kLanguageCzech ; const AIVariable kLanguageDanish ; const AIVariable kLanguageDutch ; const AIVariable kLanguageEnglish ; const AIVariable kLanguageFinnish ; const AIVariable kLanguageFrench ; const AIVariable kLanguageGerman ; const AIVariable kLanguageGreek ; const AIVariable kLanguageHebrew ; const AIVariable kLanguageHungarian ; const AIVariable kLanguageIcelandic ; const AIVariable kLanguageItalian ; const AIVariable kLanguageJapanese ; const AIVariable kLanguageKorean ; const AIVariable kLanguageNorwegian ; const AIVariable kLanguagePolish ; const AIVariable kLanguagePortuguese ; const AIVariable kLanguageRomanian ; const AIVariable kLanguageRussian ; const AIVariable kLanguageSerboCroatian ; const AIVariable kLanguageSlovak ; const AIVariable kLanguageSpanish ; const AIVariable kLanguageSwedish ; const AIVariable kLanguageThai ; const AIVariable kLanguageTurkish ; const AIVariable kLanguageUrdu ; const AIVariable kGPUCapabilityHardwareRenderingSupport ; const AIVariable kGPUCapabilityVertexShaderSupport ; const AIVariable kGPUCapabilityPixelShaderSupport ; const AIVariable kGPUCapabilityBloomFilterSupport ; const AIVariable kGPUCapabilityMonochromeFilterSupport ; const AIVariable kGPUCapabilityDynamicShadowsSupport ; const AIVariable kGPUCapabilityMotionBlurFilterSupport ; const AIVariable kGPUCapabilityDepthBlurFilterSupport ; const AIVariable kGPUCapabilityDistortionFilterSupport ; const AIVariable kGPUCapabilityHardwareOcclusionSupport ; const AIVariable kGPUCapabilityContrastFilterSupport ; const AIVariable kGPUCapabilityVelocityBlurFilterSupport ; SystemPackage ( ): kOSTypeLinux ( 4 ), kOSTypeMac ( 3 ), kOSTypeSymbian ( 6 ), kOSTypeWindows ( 1 ), kOSTypeWindowsCE ( 2 ), kOSTypeIPhone ( 7 ), kOSTypeWii ( 8 ), kOSTypeAngstrom ( 9 ), kOSTypeAndroid ( 10 ), kOSTypePSP ( 11 ), kOSTypePalm ( 12 ), kOSTypePS3 ( 13 ), kOSType3DS ( 16 ), kOSTypeBada ( 17 ), kOSTypeBrew ( 18 ), kClientTypeStandalone ( 0 ), kClientTypeEmbedded ( 1 ), kClientTypeEditor ( 2 ), kLanguageUnknown ( 0 ), kLanguageAlbanian ( 1 ), kLanguageArabic ( 2 ), kLanguageBulgarian ( 4 ), kLanguageCatalan ( 5 ), kLanguageCzech ( 7 ), kLanguageDanish ( 8 ), kLanguageDutch ( 9 ), kLanguageEnglish ( 10 ), kLanguageFinnish ( 11 ), kLanguageFrench ( 12 ), kLanguageGerman ( 13 ), kLanguageGreek ( 14 ), kLanguageHebrew ( 15 ), kLanguageHungarian ( 16 ), kLanguageIcelandic ( 17 ), kLanguageItalian ( 18 ), kLanguageJapanese ( 19 ), kLanguageKorean ( 20 ), kLanguageNorwegian ( 21 ), kLanguagePolish ( 22 ), kLanguagePortuguese ( 23 ), kLanguageRomanian ( 25 ), kLanguageRussian ( 26 ), kLanguageSerboCroatian ( 27 ), kLanguageSlovak ( 28 ), kLanguageSpanish ( 29 ), kLanguageSwedish ( 30 ), kLanguageThai ( 31 ), kLanguageTurkish ( 32 ), kLanguageUrdu ( 33 ), kGPUCapabilityHardwareRenderingSupport ( 0 ), kGPUCapabilityVertexShaderSupport ( 1 ), kGPUCapabilityPixelShaderSupport ( 2 ), kGPUCapabilityBloomFilterSupport ( 3 ), kGPUCapabilityMonochromeFilterSupport ( 4 ), kGPUCapabilityDynamicShadowsSupport ( 5 ), kGPUCapabilityMotionBlurFilterSupport ( 6 ), kGPUCapabilityDepthBlurFilterSupport ( 7 ), kGPUCapabilityDistortionFilterSupport ( 8 ), kGPUCapabilityHardwareOcclusionSupport ( 9 ), kGPUCapabilityContrastFilterSupport ( 10 ), kGPUCapabilityVelocityBlurFilterSupport ( 11 ) { } // Functions // inline AIVariable getOSType ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getOSType ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariables<3> getOSVersion ( ) const { AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getOSVersion ( 0, NULL, vOut ) ; return vOut ; } inline AIVariable getOSVersionString ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getOSVersionString ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getOSLanguage ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getOSLanguage ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getGPUModelDescription ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getGPUModelDescription ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getGPUDriverDescription ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getGPUDriverDescription ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getGPUCapability ( const AIVariable& kCapability ) const { S3DX_DECLARE_VIN_01( kCapability ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getGPUCapability ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getDeviceUniqueIdentifier ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getDeviceUniqueIdentifier ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getDeviceModel ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getDeviceModel ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getDeviceName ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getDeviceName ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getSupportedScreenResolutionCount ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getSupportedScreenResolutionCount ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariables<2> getSupportedScreenResolutionAt ( const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_01( nIndex ) ; AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getSupportedScreenResolutionAt ( 1, vIn, vOut ) ; return vOut ; } inline AIVariables<2> getCurrentScreenResolution ( ) const { AIVariables<2> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getCurrentScreenResolution ( 0, NULL, vOut ) ; return vOut ; } inline AIVariable getClientType ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getClientType ( 0, NULL, &vOut ) ; return vOut ; } inline void setWakeLock ( const AIVariable& bSet ) const { S3DX_DECLARE_VIN_01( bSet ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.setWakeLock ( 1, vIn, NULL ) ; } inline AIVariable getClipboardText ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getClipboardText ( 0, NULL, &vOut ) ; return vOut ; } inline void setClipboardText ( const AIVariable& sText ) const { S3DX_DECLARE_VIN_01( sText ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.setClipboardText ( 1, vIn, NULL ) ; } inline AIVariable getYear ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getYear ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getMonth ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getMonth ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getDayOfMonth ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getDayOfMonth ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getDayOfWeek ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getDayOfWeek ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getTimeOfDay ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getTimeOfDay ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable areLocationUpdatesSupported ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.areLocationUpdatesSupported ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable areLocationUpdatesEnabled ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.areLocationUpdatesEnabled ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable enableLocationUpdates ( const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_01( bEnable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.enableLocationUpdates ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariables<3> getLastKnownLocation ( ) const { AIVariables<3> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getLastKnownLocation ( 0, NULL, vOut ) ; return vOut ; } inline AIVariable areHeadingUpdatesSupported ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.areHeadingUpdatesSupported ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable areHeadingUpdatesEnabled ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.areHeadingUpdatesEnabled ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable enableHeadingUpdates ( const AIVariable& bEnable ) const { S3DX_DECLARE_VIN_01( bEnable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.enableHeadingUpdates ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getLastKnownHeading ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getLastKnownHeading ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getLastKnownTrueHeading ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getLastKnownTrueHeading ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable hasPersistentStorageManager ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.hasPersistentStorageManager ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable openPersistentStorageManager ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.openPersistentStorageManager ( 0, NULL, &vOut ) ; return vOut ; } inline void openURL ( const AIVariable& sURL, const AIVariable& sTarget ) const { S3DX_DECLARE_VIN_02( sURL, sTarget ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.openURL ( 2, vIn, NULL ) ; } inline AIVariable getHomeDirectory ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getHomeDirectory ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getDocumentsDirectory ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getDocumentsDirectory ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getPicturesDirectory ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getPicturesDirectory ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable findFiles ( const AIVariable& tResult, const AIVariable& sDirectory, const AIVariable& sFilter ) const { S3DX_DECLARE_VIN_03( tResult, sDirectory, sFilter ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.findFiles ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable findDirectories ( const AIVariable& tResult, const AIVariable& sDirectory ) const { S3DX_DECLARE_VIN_02( tResult, sDirectory ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.findDirectories ( 2, vIn, &vOut ) ; return vOut ; } inline void install ( const AIVariable& sPackURI ) const { S3DX_DECLARE_VIN_01( sPackURI ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.install ( 1, vIn, NULL ) ; } inline AIVariable isInstalled ( const AIVariable& sPackURI ) const { S3DX_DECLARE_VIN_01( sPackURI ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.isInstalled ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getInstallationStatus ( const AIVariable& sPackURI ) const { S3DX_DECLARE_VIN_01( sPackURI ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.getInstallationStatus ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable launch ( const AIVariable& sPackURI, const AIVariable& sConfURI ) const { S3DX_DECLARE_VIN_02( sPackURI, sConfURI ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->system.launch ( 2, vIn, &vOut ) ; return vOut ; } } ; struct TablePackage { // Functions // inline AIVariable isEmpty ( const AIVariable& hTable ) const { S3DX_DECLARE_VIN_01( hTable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.isEmpty ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getSize ( const AIVariable& hTable ) const { S3DX_DECLARE_VIN_01( hTable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.getSize ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getAt ( const AIVariable& hTable, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hTable, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.getAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getLast ( const AIVariable& hTable ) const { S3DX_DECLARE_VIN_01( hTable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.getLast ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getFirst ( const AIVariable& hTable ) const { S3DX_DECLARE_VIN_01( hTable ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.getFirst ( 1, vIn, &vOut ) ; return vOut ; } inline void setAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vValue ) const { S3DX_DECLARE_VIN_03( hTable, nIndex, vValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setAt ( 3, vIn, NULL ) ; } inline void empty ( const AIVariable& hTable ) const { S3DX_DECLARE_VIN_01( hTable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.empty ( 1, vIn, NULL ) ; } inline void add ( const AIVariable& hTable, const AIVariable& vValue ) const { S3DX_DECLARE_VIN_02( hTable, vValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.add ( 2, vIn, NULL ) ; } inline void removeAt ( const AIVariable& hTable, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hTable, nIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.removeAt ( 2, vIn, NULL ) ; } inline void removeLast ( const AIVariable& hTable ) const { S3DX_DECLARE_VIN_01( hTable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.removeLast ( 1, vIn, NULL ) ; } inline void removeFirst ( const AIVariable& hTable ) const { S3DX_DECLARE_VIN_01( hTable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.removeFirst ( 1, vIn, NULL ) ; } inline void insertAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vValue ) const { S3DX_DECLARE_VIN_03( hTable, nIndex, vValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.insertAt ( 3, vIn, NULL ) ; } inline AIVariable contains ( const AIVariable& hTable, const AIVariable& vValue ) const { S3DX_DECLARE_VIN_02( hTable, vValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.contains ( 2, vIn, &vOut ) ; return vOut ; } inline void shuffle ( const AIVariable& hTable ) const { S3DX_DECLARE_VIN_01( hTable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.shuffle ( 1, vIn, NULL ) ; } inline void reverse ( const AIVariable& hTable ) const { S3DX_DECLARE_VIN_01( hTable ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.reverse ( 1, vIn, NULL ) ; } inline void swap ( const AIVariable& hTable, const AIVariable& nIndex0, const AIVariable& nIndex1 ) const { S3DX_DECLARE_VIN_03( hTable, nIndex0, nIndex1 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.swap ( 3, vIn, NULL ) ; } inline AIVariable reserve ( const AIVariable& hTable, const AIVariable& nCount ) const { S3DX_DECLARE_VIN_02( hTable, nCount ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.reserve ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariables<32> getRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& nCount ) const { S3DX_DECLARE_VIN_03( hTable, nIndex, nCount ) ; AIVariables<32> vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.getRangeAt ( 3, vIn, vOut ) ; return vOut ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0 ) const { S3DX_DECLARE_VIN_03( hTable, nIndex, vParam0 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 3, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1 ) const { S3DX_DECLARE_VIN_04( hTable, nIndex, vParam0, vParam1 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 4, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2 ) const { S3DX_DECLARE_VIN_05( hTable, nIndex, vParam0, vParam1, vParam2 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 5, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3 ) const { S3DX_DECLARE_VIN_06( hTable, nIndex, vParam0, vParam1, vParam2, vParam3 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 6, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4 ) const { S3DX_DECLARE_VIN_07( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 7, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5 ) const { S3DX_DECLARE_VIN_08( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 8, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6 ) const { S3DX_DECLARE_VIN_09( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 9, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7 ) const { S3DX_DECLARE_VIN_10( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 10, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8 ) const { S3DX_DECLARE_VIN_11( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 11, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9 ) const { S3DX_DECLARE_VIN_12( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 12, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10 ) const { S3DX_DECLARE_VIN_13( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 13, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11 ) const { S3DX_DECLARE_VIN_14( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 14, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11, const AIVariable& vParam12 ) const { S3DX_DECLARE_VIN_15( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11, vParam12 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 15, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11, const AIVariable& vParam12, const AIVariable& vParam13 ) const { S3DX_DECLARE_VIN_16( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11, vParam12, vParam13 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 16, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11, const AIVariable& vParam12, const AIVariable& vParam13, const AIVariable& vParam14 ) const { S3DX_DECLARE_VIN_17( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11, vParam12, vParam13, vParam14 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 17, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11, const AIVariable& vParam12, const AIVariable& vParam13, const AIVariable& vParam14, const AIVariable& vParam15 ) const { S3DX_DECLARE_VIN_18( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11, vParam12, vParam13, vParam14, vParam15 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 18, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11, const AIVariable& vParam12, const AIVariable& vParam13, const AIVariable& vParam14, const AIVariable& vParam15, const AIVariable& vParam16 ) const { S3DX_DECLARE_VIN_19( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11, vParam12, vParam13, vParam14, vParam15, vParam16 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 19, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11, const AIVariable& vParam12, const AIVariable& vParam13, const AIVariable& vParam14, const AIVariable& vParam15, const AIVariable& vParam16, const AIVariable& vParam17 ) const { S3DX_DECLARE_VIN_20( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11, vParam12, vParam13, vParam14, vParam15, vParam16, vParam17 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 20, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11, const AIVariable& vParam12, const AIVariable& vParam13, const AIVariable& vParam14, const AIVariable& vParam15, const AIVariable& vParam16, const AIVariable& vParam17, const AIVariable& vParam18 ) const { S3DX_DECLARE_VIN_21( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11, vParam12, vParam13, vParam14, vParam15, vParam16, vParam17, vParam18 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 21, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11, const AIVariable& vParam12, const AIVariable& vParam13, const AIVariable& vParam14, const AIVariable& vParam15, const AIVariable& vParam16, const AIVariable& vParam17, const AIVariable& vParam18, const AIVariable& vParam19 ) const { S3DX_DECLARE_VIN_22( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11, vParam12, vParam13, vParam14, vParam15, vParam16, vParam17, vParam18, vParam19 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 22, vIn, NULL ) ; } inline void setRangeAt ( const AIVariable& hTable, const AIVariable& nIndex, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11, const AIVariable& vParam12, const AIVariable& vParam13, const AIVariable& vParam14, const AIVariable& vParam15, const AIVariable& vParam16, const AIVariable& vParam17, const AIVariable& vParam18, const AIVariable& vParam19, const AIVariable& vParam20 ) const { S3DX_DECLARE_VIN_23( hTable, nIndex, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11, vParam12, vParam13, vParam14, vParam15, vParam16, vParam17, vParam18, vParam19, vParam20 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->table.setRangeAt ( 23, vIn, NULL ) ; } } ; struct UserPackage { // Functions // inline AIVariable getSceneName ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.getSceneName ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable isLocal ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.isLocal ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getID ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.getID ( 1, vIn, &vOut ) ; return vOut ; } inline void setLocalSoundSourceObject ( const AIVariable& hUser, const AIVariable& hObject ) const { S3DX_DECLARE_VIN_02( hUser, hObject ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.setLocalSoundSourceObject ( 2, vIn, NULL ) ; } inline AIVariable getLocalSoundSourceObject ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.getLocalSoundSourceObject ( 1, vIn, &vOut ) ; return vOut ; } inline void setLocalSoundSourceRolloffFactor ( const AIVariable& hUser, const AIVariable& nFactor ) const { S3DX_DECLARE_VIN_02( hUser, nFactor ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.setLocalSoundSourceRolloffFactor ( 2, vIn, NULL ) ; } inline AIVariable getLocalSoundSourceRolloffFactor ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.getLocalSoundSourceRolloffFactor ( 1, vIn, &vOut ) ; return vOut ; } inline void setLocalSoundSourceReferenceDistance ( const AIVariable& hUser, const AIVariable& nDistance ) const { S3DX_DECLARE_VIN_02( hUser, nDistance ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.setLocalSoundSourceReferenceDistance ( 2, vIn, NULL ) ; } inline AIVariable getLocalSoundSourceReferenceDistance ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.getLocalSoundSourceReferenceDistance ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getAIModelCount ( const AIVariable& hUser ) const { S3DX_DECLARE_VIN_01( hUser ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.getAIModelCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getAIModelNameAt ( const AIVariable& hUser, const AIVariable& nIndex ) { S3DX_DECLARE_VIN_02( hUser, nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.getAIModelNameAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable hasAIModel ( const AIVariable& hUser, const AIVariable& sAIModel ) { S3DX_DECLARE_VIN_02( hUser, sAIModel ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.hasAIModel ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable hasAIEventHandler ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sHandler ) { S3DX_DECLARE_VIN_03( hUser, sAIModel, sHandler ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.hasAIEventHandler ( 3, vIn, &vOut ) ; return vOut ; } inline void sendEvent ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sEvent ) const { S3DX_DECLARE_VIN_03( hUser, sAIModel, sEvent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.sendEvent ( 3, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0 ) const { S3DX_DECLARE_VIN_04( hUser, sAIModel, sEvent, vParam0 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.sendEvent ( 4, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1 ) const { S3DX_DECLARE_VIN_05( hUser, sAIModel, sEvent, vParam0, vParam1 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.sendEvent ( 5, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2 ) const { S3DX_DECLARE_VIN_06( hUser, sAIModel, sEvent, vParam0, vParam1, vParam2 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.sendEvent ( 6, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3 ) const { S3DX_DECLARE_VIN_07( hUser, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.sendEvent ( 7, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4 ) const { S3DX_DECLARE_VIN_08( hUser, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.sendEvent ( 8, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5 ) const { S3DX_DECLARE_VIN_09( hUser, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.sendEvent ( 9, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6 ) const { S3DX_DECLARE_VIN_10( hUser, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.sendEvent ( 10, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7 ) const { S3DX_DECLARE_VIN_11( hUser, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.sendEvent ( 11, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8 ) const { S3DX_DECLARE_VIN_12( hUser, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.sendEvent ( 12, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9 ) const { S3DX_DECLARE_VIN_13( hUser, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.sendEvent ( 13, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10 ) const { S3DX_DECLARE_VIN_14( hUser, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.sendEvent ( 14, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11 ) const { S3DX_DECLARE_VIN_15( hUser, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.sendEvent ( 15, vIn, NULL ) ; } inline void sendEvent ( const AIVariable& hUser, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11, const AIVariable& vParam12 ) const { S3DX_DECLARE_VIN_16( hUser, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11, vParam12 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.sendEvent ( 16, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hUser, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent ) const { S3DX_DECLARE_VIN_04( hUser, nDelay, sAIModel, sEvent ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.postEvent ( 4, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hUser, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0 ) const { S3DX_DECLARE_VIN_05( hUser, nDelay, sAIModel, sEvent, vParam0 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.postEvent ( 5, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hUser, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1 ) const { S3DX_DECLARE_VIN_06( hUser, nDelay, sAIModel, sEvent, vParam0, vParam1 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.postEvent ( 6, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hUser, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2 ) const { S3DX_DECLARE_VIN_07( hUser, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.postEvent ( 7, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hUser, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3 ) const { S3DX_DECLARE_VIN_08( hUser, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.postEvent ( 8, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hUser, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4 ) const { S3DX_DECLARE_VIN_09( hUser, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.postEvent ( 9, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hUser, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5 ) const { S3DX_DECLARE_VIN_10( hUser, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.postEvent ( 10, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hUser, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6 ) const { S3DX_DECLARE_VIN_11( hUser, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.postEvent ( 11, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hUser, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7 ) const { S3DX_DECLARE_VIN_12( hUser, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.postEvent ( 12, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hUser, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8 ) const { S3DX_DECLARE_VIN_13( hUser, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.postEvent ( 13, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hUser, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9 ) const { S3DX_DECLARE_VIN_14( hUser, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.postEvent ( 14, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hUser, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10 ) const { S3DX_DECLARE_VIN_15( hUser, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.postEvent ( 15, vIn, NULL ) ; } inline void postEvent ( const AIVariable& hUser, const AIVariable& nDelay, const AIVariable& sAIModel, const AIVariable& sEvent, const AIVariable& vParam0, const AIVariable& vParam1, const AIVariable& vParam2, const AIVariable& vParam3, const AIVariable& vParam4, const AIVariable& vParam5, const AIVariable& vParam6, const AIVariable& vParam7, const AIVariable& vParam8, const AIVariable& vParam9, const AIVariable& vParam10, const AIVariable& vParam11 ) const { S3DX_DECLARE_VIN_16( hUser, nDelay, sAIModel, sEvent, vParam0, vParam1, vParam2, vParam3, vParam4, vParam5, vParam6, vParam7, vParam8, vParam9, vParam10, vParam11 ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->user.postEvent ( 16, vIn, NULL ) ; } } ; struct VideoPackage { // Functions // inline AIVariable getCaptureDeviceCount ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->video.getCaptureDeviceCount ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getCaptureDeviceNameAt ( const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_01( nIndex ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->video.getCaptureDeviceNameAt ( 1, vIn, &vOut ) ; return vOut ; } inline void setActiveCaptureDevice ( const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_01( nIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->video.setActiveCaptureDevice ( 1, vIn, NULL ) ; } inline AIVariable startCaptureToPixelMap ( const AIVariable& sPixelMapName ) const { S3DX_DECLARE_VIN_01( sPixelMapName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->video.startCaptureToPixelMap ( 1, vIn, &vOut ) ; return vOut ; } inline void stopCapture ( ) const { S3DX_MODULE_GUID::__pS3DXEAPIMI->video.stopCapture ( 0, NULL, NULL ) ; } inline AIVariable getCaptureWidth ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->video.getCaptureWidth ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getCaptureHeight ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->video.getCaptureHeight ( 0, NULL, &vOut ) ; return vOut ; } inline AIVariable getCaptureHorizontalFlip ( ) const { AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->video.getCaptureHorizontalFlip ( 0, NULL, &vOut ) ; return vOut ; } inline void setCaptureWidth ( const AIVariable& nWidth ) const { S3DX_DECLARE_VIN_01( nWidth ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->video.setCaptureWidth ( 1, vIn, NULL ) ; } inline void setCaptureHeight ( const AIVariable& nHeight ) const { S3DX_DECLARE_VIN_01( nHeight ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->video.setCaptureHeight ( 1, vIn, NULL ) ; } inline void setCaptureRate ( const AIVariable& nRate ) const { S3DX_DECLARE_VIN_01( nRate ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->video.setCaptureRate ( 1, vIn, NULL ) ; } inline void setCaptureHorizontalFlip ( const AIVariable& bFlip ) const { S3DX_DECLARE_VIN_01( bFlip ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->video.setCaptureHorizontalFlip ( 1, vIn, NULL ) ; } } ; struct XmlPackage { // Functions // inline AIVariable getRootElement ( const AIVariable& hXML ) const { S3DX_DECLARE_VIN_01( hXML ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getRootElement ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getElementName ( const AIVariable& hXMLElement ) const { S3DX_DECLARE_VIN_01( hXMLElement ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getElementName ( 1, vIn, &vOut ) ; return vOut ; } inline void setElementName ( const AIVariable& hXMLElement, const AIVariable& sName ) const { S3DX_DECLARE_VIN_02( hXMLElement, sName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.setElementName ( 2, vIn, NULL ) ; } inline AIVariable getElementValue ( const AIVariable& hXMLElement ) const { S3DX_DECLARE_VIN_01( hXMLElement ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getElementValue ( 1, vIn, &vOut ) ; return vOut ; } inline void setElementValue ( const AIVariable& hXMLElement, const AIVariable& sValue ) const { S3DX_DECLARE_VIN_02( hXMLElement, sValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.setElementValue ( 2, vIn, NULL ) ; } inline AIVariable getElementChildCount ( const AIVariable& hXMLElement ) const { S3DX_DECLARE_VIN_01( hXMLElement ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getElementChildCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getElementChildAt ( const AIVariable& hXMLElement, const AIVariable& nChild ) const { S3DX_DECLARE_VIN_02( hXMLElement, nChild ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getElementChildAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getElementAttributeCount ( const AIVariable& hXMLElement ) const { S3DX_DECLARE_VIN_01( hXMLElement ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getElementAttributeCount ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getElementAttributeAt ( const AIVariable& hXMLElement, const AIVariable& nAttribute ) const { S3DX_DECLARE_VIN_02( hXMLElement, nAttribute ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getElementAttributeAt ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getElementAttributeWithName ( const AIVariable& hXMLElement, const AIVariable& sName ) const { S3DX_DECLARE_VIN_02( hXMLElement, sName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getElementAttributeWithName ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getElementParent ( const AIVariable& hXMLElement ) const { S3DX_DECLARE_VIN_01( hXMLElement ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getElementParent ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getElementFirstChild ( const AIVariable& hXMLElement ) const { S3DX_DECLARE_VIN_01( hXMLElement ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getElementFirstChild ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getElementNextSibling ( const AIVariable& hXMLElement ) const { S3DX_DECLARE_VIN_01( hXMLElement ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getElementNextSibling ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getElementFirstChildWithName ( const AIVariable& hXMLElement, const AIVariable& sName ) const { S3DX_DECLARE_VIN_02( hXMLElement, sName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getElementFirstChildWithName ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable getElementNextSiblingWithName ( const AIVariable& hXMLElement, const AIVariable& sName ) const { S3DX_DECLARE_VIN_02( hXMLElement, sName ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getElementNextSiblingWithName ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable appendElementChild ( const AIVariable& hXMLElement, const AIVariable& sName, const AIVariable& sValue ) const { S3DX_DECLARE_VIN_03( hXMLElement, sName, sValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.appendElementChild ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable insertElementChildAt ( const AIVariable& hXMLElement, const AIVariable& nIndex, const AIVariable& sName, const AIVariable& sValue ) const { S3DX_DECLARE_VIN_04( hXMLElement, nIndex, sName, sValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.insertElementChildAt ( 4, vIn, &vOut ) ; return vOut ; } inline AIVariable appendElementChildElement ( const AIVariable& hXMLElement, const AIVariable& hChild ) const { S3DX_DECLARE_VIN_02( hXMLElement, hChild ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.appendElementChildElement ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable insertElementChildElementAt ( const AIVariable& hXMLElement, const AIVariable& nIndex, const AIVariable& hChild ) const { S3DX_DECLARE_VIN_03( hXMLElement, nIndex, hChild ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.insertElementChildElementAt ( 3, vIn, &vOut ) ; return vOut ; } inline void removeElementChildAt ( const AIVariable& hXMLElement, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hXMLElement, nIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.removeElementChildAt ( 2, vIn, NULL ) ; } inline void removeElementChild ( const AIVariable& hXMLElement, const AIVariable& hChild ) const { S3DX_DECLARE_VIN_02( hXMLElement, hChild ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.removeElementChild ( 2, vIn, NULL ) ; } inline AIVariable appendElementAttribute ( const AIVariable& hXMLElement, const AIVariable& sName, const AIVariable& sValue ) const { S3DX_DECLARE_VIN_03( hXMLElement, sName, sValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.appendElementAttribute ( 3, vIn, &vOut ) ; return vOut ; } inline void removeElementAttributeAt ( const AIVariable& hXMLElement, const AIVariable& nIndex ) const { S3DX_DECLARE_VIN_02( hXMLElement, nIndex ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.removeElementAttributeAt ( 2, vIn, NULL ) ; } inline void removeElementAttribute ( const AIVariable& hXMLElement, const AIVariable& hAttribute ) const { S3DX_DECLARE_VIN_02( hXMLElement, hAttribute ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.removeElementAttribute ( 2, vIn, NULL ) ; } inline AIVariable getAttributeName ( const AIVariable& hXMLAttribute ) const { S3DX_DECLARE_VIN_01( hXMLAttribute ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getAttributeName ( 1, vIn, &vOut ) ; return vOut ; } inline void setAttributeName ( const AIVariable& hXMLAttribute, const AIVariable& sName ) const { S3DX_DECLARE_VIN_02( hXMLAttribute, sName ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.setAttributeName ( 2, vIn, NULL ) ; } inline AIVariable getAttributeValue ( const AIVariable& hXMLAttribute ) const { S3DX_DECLARE_VIN_01( hXMLAttribute ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getAttributeValue ( 1, vIn, &vOut ) ; return vOut ; } inline void setAttributeValue ( const AIVariable& hXMLAttribute, const AIVariable& sValue ) const { S3DX_DECLARE_VIN_02( hXMLAttribute, sValue ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.setAttributeValue ( 2, vIn, NULL ) ; } inline void empty ( const AIVariable& hXML ) const { S3DX_DECLARE_VIN_01( hXML ) ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.empty ( 1, vIn, NULL ) ; } inline AIVariable toString ( const AIVariable& hXMLElement ) const { S3DX_DECLARE_VIN_01( hXMLElement ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.toString ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable createFromString ( const AIVariable& hXML, const AIVariable& sValue ) const { S3DX_DECLARE_VIN_02( hXML, sValue ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.createFromString ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable send ( const AIVariable& hXML, const AIVariable& sURI ) const { S3DX_DECLARE_VIN_02( hXML, sURI ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.send ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable receive ( const AIVariable& hXML, const AIVariable& sURI ) const { S3DX_DECLARE_VIN_02( hXML, sURI ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.receive ( 2, vIn, &vOut ) ; return vOut ; } inline AIVariable receive ( const AIVariable& hXML, const AIVariable& sURI, const AIVariable& sOptionalHeader ) const { S3DX_DECLARE_VIN_03( hXML, sURI, sOptionalHeader ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.receive ( 3, vIn, &vOut ) ; return vOut ; } inline AIVariable getSendStatus ( const AIVariable& hXML ) const { S3DX_DECLARE_VIN_01( hXML ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getSendStatus ( 1, vIn, &vOut ) ; return vOut ; } inline AIVariable getReceiveStatus ( const AIVariable& hXML ) const { S3DX_DECLARE_VIN_01( hXML ) ; AIVariable vOut ; S3DX_MODULE_GUID::__pS3DXEAPIMI->xml.getReceiveStatus ( 1, vIn, &vOut ) ; return vOut ; } } ; //--------------------------------------------------------------------- // Variables // AnimationCallbacks animation ; ApplicationCallbacks application ; CacheCallbacks cache ; CameraCallbacks camera ; DebugCallbacks debug ; DynamicsCallbacks dynamics ; GroupCallbacks group ; HashtableCallbacks hashtable ; HudCallbacks hud ; InputCallbacks input ; LightCallbacks light ; LogCallbacks log ; MathCallbacks math ; MeshCallbacks mesh ; MicrophoneCallbacks microphone ; MusicCallbacks music ; NavigationCallbacks navigation ; NetworkCallbacks network ; ObjectCallbacks object ; PixelmapCallbacks pixelmap ; ProjectorCallbacks projector ; SceneCallbacks scene ; SensorCallbacks sensor ; ServerCallbacks server ; SessionCallbacks session ; SfxCallbacks sfx ; ShapeCallbacks shape ; SoundCallbacks sound ; StringCallbacks string ; SystemCallbacks system ; TableCallbacks table ; UserCallbacks user ; VideoCallbacks video ; XmlCallbacks xml ; } ; // Top level API declaration // extern AIEngineAPI::AnimationPackage animation ; extern AIEngineAPI::ApplicationPackage application ; extern AIEngineAPI::CachePackage cache ; extern AIEngineAPI::CameraPackage camera ; extern AIEngineAPI::DebugPackage debug ; extern AIEngineAPI::DynamicsPackage dynamics ; extern AIEngineAPI::GroupPackage group ; extern AIEngineAPI::HashtablePackage hashtable ; extern AIEngineAPI::HudPackage hud ; extern AIEngineAPI::InputPackage input ; extern AIEngineAPI::LightPackage light ; extern AIEngineAPI::LogPackage log ; extern AIEngineAPI::MathPackage math ; extern AIEngineAPI::MeshPackage mesh ; extern AIEngineAPI::MicrophonePackage microphone ; extern AIEngineAPI::MusicPackage music ; extern AIEngineAPI::NavigationPackage navigation ; extern AIEngineAPI::NetworkPackage network ; extern AIEngineAPI::ObjectPackage object ; extern AIEngineAPI::PixelmapPackage pixelmap ; extern AIEngineAPI::ProjectorPackage projector ; extern AIEngineAPI::ScenePackage scene ; extern AIEngineAPI::SensorPackage sensor ; extern AIEngineAPI::ServerPackage server ; extern AIEngineAPI::SessionPackage session ; extern AIEngineAPI::SfxPackage sfx ; extern AIEngineAPI::ShapePackage shape ; extern AIEngineAPI::SoundPackage sound ; extern AIEngineAPI::StringPackage string ; extern AIEngineAPI::SystemPackage system ; extern AIEngineAPI::TablePackage table ; extern AIEngineAPI::UserPackage user ; extern AIEngineAPI::VideoPackage video ; extern AIEngineAPI::XmlPackage xml ; } //----------------------------------------------------------------------------- #define S3DX_REGISTER_AIENGINEAPI_CALLBACK( __iCallbackID, __pCallback ) \ \ switch ( __iCallbackID ) \ { \ case S3DX::AIEngineAPI::CallbackID_animation_setCurrentClip : animation.setCurrentClip = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_getCurrentClip : animation.getCurrentClip = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_setPlaybackSpeed : animation.setPlaybackSpeed = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_getPlaybackSpeed : animation.getPlaybackSpeed = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_setPlaybackLevel : animation.setPlaybackLevel = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_getPlaybackLevel : animation.getPlaybackLevel = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_setPlaybackKeyFrameBegin : animation.setPlaybackKeyFrameBegin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_getPlaybackKeyFrameBegin : animation.getPlaybackKeyFrameBegin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_setPlaybackKeyFrameEnd : animation.setPlaybackKeyFrameEnd = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_getPlaybackKeyFrameEnd : animation.getPlaybackKeyFrameEnd = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_setPlaybackMode : animation.setPlaybackMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_getPlaybackMode : animation.getPlaybackMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_setPlaybackCursor : animation.setPlaybackCursor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_getPlaybackCursor : animation.getPlaybackCursor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_matchPlaybackCursor : animation.matchPlaybackCursor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_setSkeletonScale : animation.setSkeletonScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_getSkeletonScale : animation.getSkeletonScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_setObjectChannel : animation.setObjectChannel = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_getClipKeyFrameRangeMin : animation.getClipKeyFrameRangeMin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_getClipKeyFrameRangeMax : animation.getClipKeyFrameRangeMax = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_getClipName : animation.getClipName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_setPlaybackIgnoreNotAnimatedChannels : animation.setPlaybackIgnoreNotAnimatedChannels = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_getPlaybackIgnoreNotAnimatedChannels : animation.getPlaybackIgnoreNotAnimatedChannels = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_setPlaybackIgnoreIfCursorOutOfRange : animation.setPlaybackIgnoreIfCursorOutOfRange = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_animation_getPlaybackIgnoreIfCursorOutOfRange : animation.getPlaybackIgnoreIfCursorOutOfRange = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_application_getName : application.getName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getPackDirectory : application.getPackDirectory = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getUserCount : application.getUserCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getUserAt : application.getUserAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getUser : application.getUser = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUser : application.getCurrentUser = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserScene : application.getCurrentUserScene = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserSceneName : application.getCurrentUserSceneName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_setCurrentUserScene : application.setCurrentUserScene = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserSceneTaggedObject : application.getCurrentUserSceneTaggedObject = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserAIVariable : application.getCurrentUserAIVariable = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_setCurrentUserAIVariable : application.setCurrentUserAIVariable = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserAIState : application.getCurrentUserAIState = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_playOverlayExternalMovie : application.playOverlayExternalMovie = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_playOverlayMovie : application.playOverlayMovie = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_stopOverlayMovie : application.stopOverlayMovie = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_isOverlayMoviePlaying : application.isOverlayMoviePlaying = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_startCurrentUserScenePreloading : application.startCurrentUserScenePreloading = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserScenePreloadingStatus : application.getCurrentUserScenePreloadingStatus = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_forceModelToStayLoaded : application.forceModelToStayLoaded = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_forceResourceToStayLoaded : application.forceResourceToStayLoaded = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_isModelLoaded : application.isModelLoaded = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_isResourceLoaded : application.isResourceLoaded = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserMainCamera : application.getCurrentUserMainCamera = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserActiveCamera : application.getCurrentUserActiveCamera = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_setCurrentUserActiveCamera : application.setCurrentUserActiveCamera = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_resetCurrentUserActiveCamera : application.resetCurrentUserActiveCamera = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserViewportAspectRatio : application.getCurrentUserViewportAspectRatio = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserViewportWidth : application.getCurrentUserViewportWidth = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserViewportHeight : application.getCurrentUserViewportHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_saveCurrentUserViewportToTexture : application.saveCurrentUserViewportToTexture = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserEnvironmentVariableCount : application.getCurrentUserEnvironmentVariableCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserEnvironmentVariableNameAt : application.getCurrentUserEnvironmentVariableNameAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_setCurrentUserEnvironmentVariable : application.setCurrentUserEnvironmentVariable = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserEnvironmentVariable : application.getCurrentUserEnvironmentVariable = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_unsetCurrentUserEnvironmentVariable : application.unsetCurrentUserEnvironmentVariable = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_clearCurrentUserEnvironment : application.clearCurrentUserEnvironment = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_saveCurrentUserEnvironment : application.saveCurrentUserEnvironment = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_setCurrentUserEnvironmentName : application.setCurrentUserEnvironmentName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserEnvironmentName : application.getCurrentUserEnvironmentName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_setCurrentUserEnvironmentTitle : application.setCurrentUserEnvironmentTitle = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_setCurrentUserEnvironmentDescription : application.setCurrentUserEnvironmentDescription = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_loadCurrentUserEnvironment : application.loadCurrentUserEnvironment = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserEnvironmentVariableStatus : application.getCurrentUserEnvironmentVariableStatus = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_saveCurrentUserEnvironmentVariable : application.saveCurrentUserEnvironmentVariable = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_loadCurrentUserEnvironmentVariable : application.loadCurrentUserEnvironmentVariable = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_setCurrentUserEnvironmentURL : application.setCurrentUserEnvironmentURL = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getCurrentUserEnvironmentURL : application.getCurrentUserEnvironmentURL = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_checkCurrentUserEnvironmentLocalStorageDevice : application.checkCurrentUserEnvironmentLocalStorageDevice = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_checkCurrentUserEnvironmentLocalStorageSpace : application.checkCurrentUserEnvironmentLocalStorageSpace = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_checkCurrentUserEnvironmentLocalStorageWriteAccess : application.checkCurrentUserEnvironmentLocalStorageWriteAccess = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_checkCurrentUserEnvironmentLocalStorageExistence : application.checkCurrentUserEnvironmentLocalStorageExistence = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_checkCurrentUserEnvironmentLocalStorageValidity : application.checkCurrentUserEnvironmentLocalStorageValidity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getLastFrameTime : application.getLastFrameTime = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getAverageFrameTime : application.getAverageFrameTime = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_setMinFrameTime : application.setMinFrameTime = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_setMaxFrameTime : application.setMaxFrameTime = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getTotalFrameTime : application.getTotalFrameTime = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_resetTotalFrameTime : application.resetTotalFrameTime = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_resetAverageFrameTime : application.resetAverageFrameTime = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_setFrameTimeFactor : application.setFrameTimeFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getFrameTimeFactor : application.getFrameTimeFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_setOption : application.setOption = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_getOption : application.getOption = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_restart : application.restart = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_quit : application.quit = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_application_mightBeCracked : application.mightBeCracked = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_cache_addFile : cache.addFile = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_cache_addStreamFile : cache.addStreamFile = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_cache_getFileStatus : cache.getFileStatus = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_cache_pauseFileReceiving : cache.pauseFileReceiving = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_cache_resumeFileReceiving : cache.resumeFileReceiving = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_cache_cancelFileReceiving : cache.cancelFileReceiving = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_cache_sendFile : cache.sendFile = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_cache_getFileSendStatus : cache.getFileSendStatus = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_cache_removeFile : cache.removeFile = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_cache_getFileProperty : cache.getFileProperty = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_cache_getFileContentAsString : cache.getFileContentAsString = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_cache_copyFileContent : cache.copyFileContent = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_cache_createFile : cache.createFile = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_cache_empty : cache.empty = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_camera_setFieldOfView : camera.setFieldOfView = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_getFieldOfView : camera.getFieldOfView = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_setMinViewDistance : camera.setMinViewDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_getMinViewDistance : camera.getMinViewDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_setMaxViewDistance : camera.setMaxViewDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_getMaxViewDistance : camera.getMaxViewDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_projectPoint : camera.projectPoint = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_unprojectPoint : camera.unprojectPoint = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_isPointInFrustum : camera.isPointInFrustum = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_isSphereInFrustum : camera.isSphereInFrustum = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_setAspectRatioScale : camera.setAspectRatioScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_getAspectRatioScale : camera.getAspectRatioScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_setMotionBlurFactor : camera.setMotionBlurFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_getMotionBlurFactor : camera.getMotionBlurFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_setVelocityBlurFactor : camera.setVelocityBlurFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_getVelocityBlurFactor : camera.getVelocityBlurFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_setDepthBlurFactor : camera.setDepthBlurFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_getDepthBlurFactor : camera.getDepthBlurFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_setDepthBlurFocusRangeMin : camera.setDepthBlurFocusRangeMin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_getDepthBlurFocusRangeMin : camera.getDepthBlurFocusRangeMin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_setDepthBlurFocusRangeMax : camera.setDepthBlurFocusRangeMax = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_getDepthBlurFocusRangeMax : camera.getDepthBlurFocusRangeMax = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_setDistortionFactor : camera.setDistortionFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_getDistortionFactor : camera.getDistortionFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_setDistortionAmplitude : camera.setDistortionAmplitude = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_getDistortionAmplitude : camera.getDistortionAmplitude = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_setDistortionFrequency : camera.setDistortionFrequency = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_getDistortionFrequency : camera.getDistortionFrequency = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_setDistortionTiling : camera.setDistortionTiling = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_camera_getDistortionTiling : camera.getDistortionTiling = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_debug_drawLine : debug.drawLine = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_debug_getTotalMemoryUsed : debug.getTotalMemoryUsed = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_dynamics_getBodyType : dynamics.getBodyType = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_createSphereBody : dynamics.createSphereBody = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_createBoxBody : dynamics.createBoxBody = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_createCapsuleBody : dynamics.createCapsuleBody = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_createCompositeBody : dynamics.createCompositeBody = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_addCompositeBodySphereGeometry : dynamics.addCompositeBodySphereGeometry = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_addCompositeBodyBoxGeometry : dynamics.addCompositeBodyBoxGeometry = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_addCompositeBodyCapsuleGeometry : dynamics.addCompositeBodyCapsuleGeometry = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_finalizeCompositeBody : dynamics.finalizeCompositeBody = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_destroyBody : dynamics.destroyBody = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setOffset : dynamics.setOffset = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_getOffset : dynamics.getOffset = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setMass : dynamics.setMass = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_getMass : dynamics.getMass = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setFriction : dynamics.setFriction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_getFriction : dynamics.getFriction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setBounce : dynamics.setBounce = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_getBounce : dynamics.getBounce = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setBounceThreshold : dynamics.setBounceThreshold = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_getBounceThreshold : dynamics.getBounceThreshold = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setLinearDamping : dynamics.setLinearDamping = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setLinearDampingEx : dynamics.setLinearDampingEx = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_getLinearDamping : dynamics.getLinearDamping = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setAngularDamping : dynamics.setAngularDamping = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setAngularDampingEx : dynamics.setAngularDampingEx = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_getAngularDamping : dynamics.getAngularDamping = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_addForce : dynamics.addForce = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_addTorque : dynamics.addTorque = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_addLinearImpulse : dynamics.addLinearImpulse = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_addAngularImpulse : dynamics.addAngularImpulse = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_getAngularVelocity : dynamics.getAngularVelocity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setAngularVelocity : dynamics.setAngularVelocity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setAngularSpeedLimit : dynamics.setAngularSpeedLimit = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_getLinearVelocity : dynamics.getLinearVelocity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setLinearVelocity : dynamics.setLinearVelocity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_getLinearSpeed : dynamics.getLinearSpeed = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setLinearSpeedLimit : dynamics.setLinearSpeedLimit = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setGuardBox : dynamics.setGuardBox = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_enableDynamics : dynamics.enableDynamics = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_enableCollisions : dynamics.enableCollisions = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_enableRotations : dynamics.enableRotations = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_enableGuardBox : dynamics.enableGuardBox = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_enableGravity : dynamics.enableGravity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_enableAutoIdle : dynamics.enableAutoIdle = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setAutoIdleLinearThreshold : dynamics.setAutoIdleLinearThreshold = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setAutoIdleAngularThreshold : dynamics.setAutoIdleAngularThreshold = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setAutoIdleTime : dynamics.setAutoIdleTime = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setIdle : dynamics.setIdle = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_isIdle : dynamics.isIdle = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_getLastCollisionTime : dynamics.getLastCollisionTime = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_getLastCollisionContactCount : dynamics.getLastCollisionContactCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_getLastCollisionContactPositionAt : dynamics.getLastCollisionContactPositionAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_getLastCollisionContactNormalAt : dynamics.getLastCollisionContactNormalAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_createBallJoint : dynamics.createBallJoint = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_createSliderJoint : dynamics.createSliderJoint = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_createHingeJoint : dynamics.createHingeJoint = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_createHinge2Joint : dynamics.createHinge2Joint = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_createUniversalJoint : dynamics.createUniversalJoint = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_destroyJoint : dynamics.destroyJoint = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setBallJointAnchor : dynamics.setBallJointAnchor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setSliderJointAxis : dynamics.setSliderJointAxis = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHingeJointAnchor : dynamics.setHingeJointAnchor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHingeJointAxis : dynamics.setHingeJointAxis = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHingeJointAxisAngleLimitMin : dynamics.setHingeJointAxisAngleLimitMin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHingeJointAxisAngleLimitMax : dynamics.setHingeJointAxisAngleLimitMax = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHingeJointAxisAngleLimitERP : dynamics.setHingeJointAxisAngleLimitERP = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHingeJointAxisAngleLimitCFM : dynamics.setHingeJointAxisAngleLimitCFM = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHinge2JointAnchor : dynamics.setHinge2JointAnchor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHinge2JointAxis1 : dynamics.setHinge2JointAxis1 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHinge2JointAxis2 : dynamics.setHinge2JointAxis2 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHinge2JointAxis1AngleLimitMin : dynamics.setHinge2JointAxis1AngleLimitMin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHinge2JointAxis1AngleLimitMax : dynamics.setHinge2JointAxis1AngleLimitMax = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHinge2JointAxis1AngleLimitERP : dynamics.setHinge2JointAxis1AngleLimitERP = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHinge2JointAxis1AngleLimitCFM : dynamics.setHinge2JointAxis1AngleLimitCFM = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHinge2JointAxis2MotorSpeedLimit : dynamics.setHinge2JointAxis2MotorSpeedLimit = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHinge2JointAxis2MotorAcceleration : dynamics.setHinge2JointAxis2MotorAcceleration = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHinge2JointAxis1SuspensionERP : dynamics.setHinge2JointAxis1SuspensionERP = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setHinge2JointAxis1SuspensionCFM : dynamics.setHinge2JointAxis1SuspensionCFM = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setUniversalJointAnchor : dynamics.setUniversalJointAnchor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setUniversalJointAxis1 : dynamics.setUniversalJointAxis1 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setUniversalJointAxis2 : dynamics.setUniversalJointAxis2 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setUniversalJointAxis1AngleLimitMin : dynamics.setUniversalJointAxis1AngleLimitMin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setUniversalJointAxis1AngleLimitMax : dynamics.setUniversalJointAxis1AngleLimitMax = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setUniversalJointAxis1AngleLimitERP : dynamics.setUniversalJointAxis1AngleLimitERP = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setUniversalJointAxis1AngleLimitCFM : dynamics.setUniversalJointAxis1AngleLimitCFM = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setUniversalJointAxis2AngleLimitMin : dynamics.setUniversalJointAxis2AngleLimitMin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setUniversalJointAxis2AngleLimitMax : dynamics.setUniversalJointAxis2AngleLimitMax = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setUniversalJointAxis2AngleLimitERP : dynamics.setUniversalJointAxis2AngleLimitERP = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_dynamics_setUniversalJointAxis2AngleLimitCFM : dynamics.setUniversalJointAxis2AngleLimitCFM = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_group_getSubObjectCount : group.getSubObjectCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_group_getSubObjectAt : group.getSubObjectAt = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_hashtable_isEmpty : hashtable.isEmpty = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hashtable_getSize : hashtable.getSize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hashtable_get : hashtable.get = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hashtable_getIndex : hashtable.getIndex = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hashtable_getAt : hashtable.getAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hashtable_getKeyAt : hashtable.getKeyAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hashtable_set : hashtable.set = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hashtable_empty : hashtable.empty = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hashtable_add : hashtable.add = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hashtable_remove : hashtable.remove = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hashtable_contains : hashtable.contains = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_hud_checkValidity : hud.checkValidity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_newTemplateInstance : hud.newTemplateInstance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_destroyTemplateInstance : hud.destroyTemplateInstance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_newComponent : hud.newComponent = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_newAction : hud.newAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_newTimer : hud.newTimer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_destroyComponent : hud.destroyComponent = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_destroyAction : hud.destroyAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_destroyTimer : hud.destroyTimer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentCount : hud.getComponentCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getActionCount : hud.getActionCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getTimerCount : hud.getTimerCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentAt : hud.getComponentAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getActionAt : hud.getActionAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getTimerAt : hud.getTimerAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setInitialAction : hud.setInitialAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setDefaultFont : hud.setDefaultFont = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getDefaultFontName : hud.getDefaultFontName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setDefaultTextShadowColor : hud.setDefaultTextShadowColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getDefaultTextShadowColor : hud.getDefaultTextShadowColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponent : hud.getComponent = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getAction : hud.getAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setFocus : hud.setFocus = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setSoundBank : hud.setSoundBank = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getSoundBankName : hud.getSoundBankName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_playSound : hud.playSound = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_pauseSound : hud.pauseSound = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_resumeSound : hud.resumeSound = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_stopSound : hud.stopSound = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_stopAllSounds : hud.stopAllSounds = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setSoundVolume : hud.setSoundVolume = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getSoundPlaybackProgress : hud.getSoundPlaybackProgress = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_isSoundPlaying : hud.isSoundPlaying = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_isSoundPaused : hud.isSoundPaused = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCursorVisible : hud.setCursorVisible = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCursorPosition : hud.setCursorPosition = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getCursorPosition : hud.getCursorPosition = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_forceCursorShape : hud.forceCursorShape = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentType : hud.getComponentType = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentZOrder : hud.setComponentZOrder = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentZOrder : hud.getComponentZOrder = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentContainer : hud.setComponentContainer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentContainer : hud.getComponentContainer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentOrigin : hud.setComponentOrigin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentOrigin : hud.getComponentOrigin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentOffscreenOutput : hud.setComponentOffscreenOutput = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentPosition : hud.setComponentPosition = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentPosition : hud.getComponentPosition = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentSize : hud.setComponentSize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentSize : hud.getComponentSize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentRotation : hud.setComponentRotation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentRotation : hud.getComponentRotation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentOpacity : hud.setComponentOpacity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentOpacity : hud.getComponentOpacity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentVisible : hud.setComponentVisible = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentActive : hud.setComponentActive = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentBackgroundImage : hud.setComponentBackgroundImage = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentBackgroundImageName : hud.getComponentBackgroundImageName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentBackgroundColor : hud.setComponentBackgroundColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentBackgroundColor : hud.getComponentBackgroundColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentForegroundColor : hud.setComponentForegroundColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentForegroundColor : hud.getComponentForegroundColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentBorderColor : hud.setComponentBorderColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentBorderColor : hud.getComponentBorderColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentFillMode : hud.setComponentFillMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentFillMode : hud.getComponentFillMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentBlendMode : hud.setComponentBlendMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentBlendMode : hud.getComponentBlendMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentShapeType : hud.setComponentShapeType = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentShapeType : hud.getComponentShapeType = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentShapeRoundRectangleCornerRadius : hud.setComponentShapeRoundRectangleCornerRadius = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentShapeRoundRectangleCornerRadius : hud.getComponentShapeRoundRectangleCornerRadius = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentOpacityWaveModifier : hud.setComponentOpacityWaveModifier = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentAspectInvariant : hud.setComponentAspectInvariant = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentIgnoredByMouse : hud.setComponentIgnoredByMouse = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentAdjustedToNearestPixels : hud.setComponentAdjustedToNearestPixels = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_addComponentEventHandler : hud.addComponentEventHandler = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_removeComponentEventHandler : hud.removeComponentEventHandler = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentScreenSpaceCenter : hud.getComponentScreenSpaceCenter = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentScreenSpaceBottomLeftCorner : hud.getComponentScreenSpaceBottomLeftCorner = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentScreenSpaceTopLeftCorner : hud.getComponentScreenSpaceTopLeftCorner = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentScreenSpaceBottomRightCorner : hud.getComponentScreenSpaceBottomRightCorner = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentScreenSpaceTopRightCorner : hud.getComponentScreenSpaceTopRightCorner = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_matchComponentScreenSpaceCenter : hud.matchComponentScreenSpaceCenter = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_matchComponentScreenSpaceBottomLeftCorner : hud.matchComponentScreenSpaceBottomLeftCorner = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_matchComponentScreenSpaceTopLeftCorner : hud.matchComponentScreenSpaceTopLeftCorner = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_matchComponentScreenSpaceBottomRightCorner : hud.matchComponentScreenSpaceBottomRightCorner = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_matchComponentScreenSpaceTopRightCorner : hud.matchComponentScreenSpaceTopRightCorner = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentBackgroundImageUVOffset : hud.setComponentBackgroundImageUVOffset = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentBackgroundImageUVOffset : hud.getComponentBackgroundImageUVOffset = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentBackgroundImageUVScale : hud.setComponentBackgroundImageUVScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentBackgroundImageUVScale : hud.getComponentBackgroundImageUVScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setComponentBackgroundImageAddressingMode : hud.setComponentBackgroundImageAddressingMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentBackgroundImageAddressingMode : hud.getComponentBackgroundImageAddressingMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_isComponentVisible : hud.isComponentVisible = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_isComponentActive : hud.isComponentActive = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentTag : hud.getComponentTag = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setLabelText : hud.setLabelText = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getLabelText : hud.getLabelText = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setLabelTextHeight : hud.setLabelTextHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getLabelTextHeight : hud.getLabelTextHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setLabelTextLetterSpacing : hud.setLabelTextLetterSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getLabelTextLetterSpacing : hud.getLabelTextLetterSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setLabelTextLineSpacing : hud.setLabelTextLineSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getLabelTextLineSpacing : hud.getLabelTextLineSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setLabelTextAlignment : hud.setLabelTextAlignment = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getLabelTextAlignment : hud.getLabelTextAlignment = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setLabelTextCase : hud.setLabelTextCase = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getLabelTextCase : hud.getLabelTextCase = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setLabelTextEncoding : hud.setLabelTextEncoding = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getLabelTextEncoding : hud.getLabelTextEncoding = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setLabelTextDirection : hud.setLabelTextDirection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getLabelTextDirection : hud.getLabelTextDirection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setLabelFont : hud.setLabelFont = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getLabelFontName : hud.getLabelFontName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_enableLabelTextAntialiasing : hud.enableLabelTextAntialiasing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_isLabelTextAntialiasingEnabled : hud.isLabelTextAntialiasingEnabled = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getLabelTextTotalLineCount : hud.getLabelTextTotalLineCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setEditText : hud.setEditText = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getEditText : hud.getEditText = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setEditTextHeight : hud.setEditTextHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getEditTextHeight : hud.getEditTextHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setEditTextLetterSpacing : hud.setEditTextLetterSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getEditTextLetterSpacing : hud.getEditTextLetterSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setEditTextLineSpacing : hud.setEditTextLineSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getEditTextLineSpacing : hud.getEditTextLineSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setEditTextAlignment : hud.setEditTextAlignment = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getEditTextAlignment : hud.getEditTextAlignment = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setEditTextCase : hud.setEditTextCase = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getEditTextCase : hud.getEditTextCase = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setEditTextEncoding : hud.setEditTextEncoding = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getEditTextEncoding : hud.getEditTextEncoding = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setEditTextDirection : hud.setEditTextDirection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getEditTextDirection : hud.getEditTextDirection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setEditTextMaxLength : hud.setEditTextMaxLength = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getEditTextMaxLength : hud.getEditTextMaxLength = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setEditFont : hud.setEditFont = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getEditFontName : hud.getEditFontName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setEditOnChangedAction : hud.setEditOnChangedAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setEditSecure : hud.setEditSecure = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_isEditSecure : hud.isEditSecure = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_enableEditTextAntialiasing : hud.enableEditTextAntialiasing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_isEditTextAntialiasingEnabled : hud.isEditTextAntialiasingEnabled = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getEditTextTotalLineCount : hud.getEditTextTotalLineCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCheckText : hud.setCheckText = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getCheckText : hud.getCheckText = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCheckTextHeight : hud.setCheckTextHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getCheckTextHeight : hud.getCheckTextHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCheckTextLetterSpacing : hud.setCheckTextLetterSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getCheckTextLetterSpacing : hud.getCheckTextLetterSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCheckTextLineSpacing : hud.setCheckTextLineSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getCheckTextLineSpacing : hud.getCheckTextLineSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCheckTextAlignment : hud.setCheckTextAlignment = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getCheckTextAlignment : hud.getCheckTextAlignment = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCheckTextCase : hud.setCheckTextCase = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getCheckTextCase : hud.getCheckTextCase = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCheckTextEncoding : hud.setCheckTextEncoding = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getCheckTextEncoding : hud.getCheckTextEncoding = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCheckTextDirection : hud.setCheckTextDirection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getCheckTextDirection : hud.getCheckTextDirection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCheckIcons : hud.setCheckIcons = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCheckFont : hud.setCheckFont = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getCheckFontName : hud.getCheckFontName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCheckOnCheckedAction : hud.setCheckOnCheckedAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCheckOnUncheckedAction : hud.setCheckOnUncheckedAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getCheckState : hud.getCheckState = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setCheckState : hud.setCheckState = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_enableCheckTextAntialiasing : hud.enableCheckTextAntialiasing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_isCheckTextAntialiasingEnabled : hud.isCheckTextAntialiasingEnabled = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getCheckTextTotalLineCount : hud.getCheckTextTotalLineCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setButtonText : hud.setButtonText = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getButtonText : hud.getButtonText = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setButtonTextHeight : hud.setButtonTextHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getButtonTextHeight : hud.getButtonTextHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setButtonTextLetterSpacing : hud.setButtonTextLetterSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getButtonTextLetterSpacing : hud.getButtonTextLetterSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setButtonTextLineSpacing : hud.setButtonTextLineSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getButtonTextLineSpacing : hud.getButtonTextLineSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setButtonTextAlignment : hud.setButtonTextAlignment = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getButtonTextAlignment : hud.getButtonTextAlignment = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setButtonTextCase : hud.setButtonTextCase = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getButtonTextCase : hud.getButtonTextCase = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setButtonTextEncoding : hud.setButtonTextEncoding = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getButtonTextEncoding : hud.getButtonTextEncoding = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setButtonTextDirection : hud.setButtonTextDirection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getButtonTextDirection : hud.getButtonTextDirection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setButtonFont : hud.setButtonFont = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getButtonFontName : hud.getButtonFontName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setButtonOnClickAction : hud.setButtonOnClickAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setButtonOnClickedAction : hud.setButtonOnClickedAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_enableButtonTextAntialiasing : hud.enableButtonTextAntialiasing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_isButtonTextAntialiasingEnabled : hud.isButtonTextAntialiasingEnabled = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getButtonTextTotalLineCount : hud.getButtonTextTotalLineCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setMovieClip : hud.setMovieClip = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setMovieExternalClip : hud.setMovieExternalClip = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getMovieBufferingProgress : hud.getMovieBufferingProgress = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getMoviePlaybackProgress : hud.getMoviePlaybackProgress = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getMoviePlaybackCursor : hud.getMoviePlaybackCursor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setMovieTransparentColor : hud.setMovieTransparentColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_playMovie : hud.playMovie = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_pauseMovie : hud.pauseMovie = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_stopMovie : hud.stopMovie = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setRenderMap : hud.setRenderMap = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getRenderMapName : hud.getRenderMapName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setPixelMap : hud.setPixelMap = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getPixelMapName : hud.getPixelMapName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getPixelMap : hud.getPixelMap = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setProgressValue : hud.setProgressValue = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getProgressValue : hud.getProgressValue = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setProgressType : hud.setProgressType = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getProgressType : hud.getProgressType = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListItemCount : hud.getListItemCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_addListItem : hud.addListItem = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_removeListItemAt : hud.removeListItemAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_selectListItemAt : hud.selectListItemAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_removeListAllItems : hud.removeListAllItems = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_selectListAllItems : hud.selectListAllItems = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListItemTextAt : hud.getListItemTextAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListItemTextAt : hud.setListItemTextAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListItemIconAt : hud.setListItemIconAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListItemsHeight : hud.setListItemsHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListItemsHeight : hud.getListItemsHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListItemsBackgroundImage : hud.setListItemsBackgroundImage = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListItemsBackgroundImageName : hud.getListItemsBackgroundImageName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListItemsBackgroundColor : hud.setListItemsBackgroundColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListItemsBackgroundColorOdd : hud.setListItemsBackgroundColorOdd = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListItemsBackgroundColorOdd : hud.getListItemsBackgroundColorOdd = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListItemsBackgroundColorEven : hud.setListItemsBackgroundColorEven = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListItemsBackgroundColorEven : hud.getListItemsBackgroundColorEven = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListItemsBackgroundImageSelected : hud.setListItemsBackgroundImageSelected = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListItemsBackgroundImageSelectedName : hud.getListItemsBackgroundImageSelectedName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListItemsBackgroundColorSelected : hud.setListItemsBackgroundColorSelected = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListItemsBackgroundColorSelected : hud.getListItemsBackgroundColorSelected = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListItemsForegroundColorSelected : hud.setListItemsForegroundColorSelected = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListItemsForegroundColorSelected : hud.getListItemsForegroundColorSelected = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListTextLeftMargin : hud.setListTextLeftMargin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListTextLeftMargin : hud.getListTextLeftMargin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListTextRightMargin : hud.setListTextRightMargin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListTextRightMargin : hud.getListTextRightMargin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListTextHeight : hud.setListTextHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListTextHeight : hud.getListTextHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListTextLetterSpacing : hud.setListTextLetterSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListTextLetterSpacing : hud.getListTextLetterSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListTextLineSpacing : hud.setListTextLineSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListTextLineSpacing : hud.getListTextLineSpacing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListTextFont : hud.setListTextFont = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListTextFontName : hud.getListTextFontName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListTextCase : hud.setListTextCase = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListTextCase : hud.getListTextCase = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListTextEncoding : hud.setListTextEncoding = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListTextEncoding : hud.getListTextEncoding = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListTextDirection : hud.setListTextDirection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListTextDirection : hud.getListTextDirection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_enableListTextAntialiasing : hud.enableListTextAntialiasing = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_isListTextAntialiasingEnabled : hud.isListTextAntialiasingEnabled = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListColumnCount : hud.getListColumnCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_addListColumn : hud.addListColumn = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListColumnTextAlignmentAt : hud.setListColumnTextAlignmentAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListColumnWidthAt : hud.setListColumnWidthAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_enableListSelection : hud.enableListSelection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_enableListSingleSelection : hud.enableListSingleSelection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_enableListSingleSelectionToggling : hud.enableListSingleSelectionToggling = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_enableListSmoothScrolling : hud.enableListSmoothScrolling = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_enableListFingerScrolling : hud.enableListFingerScrolling = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_enableListMouseWheelHandling : hud.enableListMouseWheelHandling = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListSelectedItemCount : hud.getListSelectedItemCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListSelectedItemAt : hud.getListSelectedItemAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListVerticalScrollPos : hud.setListVerticalScrollPos = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getListVerticalScrollPos : hud.getListVerticalScrollPos = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListVerticalScrollBarWidth : hud.setListVerticalScrollBarWidth = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListVerticalScrollBarArrowHeight : hud.setListVerticalScrollBarArrowHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListScrollBarBackgroundColor : hud.setListScrollBarBackgroundColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListScrollBarForegroundColor : hud.setListScrollBarForegroundColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListScrollBarArrowColor : hud.setListScrollBarArrowColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListScrollBarBackgroundImages : hud.setListScrollBarBackgroundImages = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListScrollBarForegroundImages : hud.setListScrollBarForegroundImages = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListScrollBarArrowImages : hud.setListScrollBarArrowImages = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setListOnSelectionChangedAction : hud.setListOnSelectionChangedAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setSliderType : hud.setSliderType = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getSliderType : hud.getSliderType = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setSliderRange : hud.setSliderRange = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getSliderRange : hud.getSliderRange = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setSliderValue : hud.setSliderValue = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getSliderValue : hud.getSliderValue = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setSliderThumbImage : hud.setSliderThumbImage = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setSliderOnChangedAction : hud.setSliderOnChangedAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_beginActionCommand : hud.beginActionCommand = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_pushActionCommandArgument : hud.pushActionCommandArgument = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_pushActionCommandRuntimeArgument : hud.pushActionCommandRuntimeArgument = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_endActionCommand : hud.endActionCommand = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setTimerOnTickAction : hud.setTimerOnTickAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_setTimerTickTime : hud.setTimerTickTime = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_callAction : hud.callAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_stopAction : hud.stopAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_pauseAction : hud.pauseAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_resumeAction : hud.resumeAction = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_stopAllActions : hud.stopAllActions = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_pauseAllActions : hud.pauseAllActions = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_resumeAllActions : hud.resumeAllActions = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_isActionRunning : hud.isActionRunning = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_isActionPaused : hud.isActionPaused = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getUnderCursorComponent : hud.getUnderCursorComponent = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getUnderCursorListItem : hud.getUnderCursorListItem = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getFocusedComponent : hud.getFocusedComponent = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_enterModalMode : hud.enterModalMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_leaveModalMode : hud.leaveModalMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_hud_getComponentAtPoint : hud.getComponentAtPoint = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_input_setJoypadVibrationsMagnitude : input.setJoypadVibrationsMagnitude = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_input_getJoypadType : input.getJoypadType = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_input_enableJoypadMotionSensors : input.enableJoypadMotionSensors = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_input_enableJoypadIRMotionSensors : input.enableJoypadIRMotionSensors = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_input_enableMultiTouch : input.enableMultiTouch = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_input_enableVirtualMouse : input.enableVirtualMouse = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_input_setVirtualMousePosition : input.setVirtualMousePosition = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_input_setVirtualMouseButtonDown : input.setVirtualMouseButtonDown = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_light_getType : light.getType = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_light_isDynamic : light.isDynamic = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_light_isActive : light.isActive = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_light_setActive : light.setActive = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_light_setColor : light.setColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_light_getColor : light.getColor = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_log_message : log.message = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_log_warning : log.warning = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_log_error : log.error = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_math_clamp : math.clamp = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_interpolate : math.interpolate = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_sin : math.sin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_cos : math.cos = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_tan : math.tan = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_asin : math.asin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_acos : math.acos = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_atan : math.atan = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_atan2 : math.atan2 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_min : math.min = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_max : math.max = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_sqrt : math.sqrt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_resetRandomSeed : math.resetRandomSeed = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_random : math.random = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_gaussianRandom : math.gaussianRandom = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_pow : math.pow = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_floor : math.floor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_trunc : math.trunc = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_roundToNearestInteger : math.roundToNearestInteger = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_roundToNearestPowerOfTwo : math.roundToNearestPowerOfTwo = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_ceil : math.ceil = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_abs : math.abs = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_mod : math.mod = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_log : math.log = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_log10 : math.log10 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_evaluateBSpline : math.evaluateBSpline = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_evaluateBezier : math.evaluateBezier = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_evaluateCatmullRom : math.evaluateCatmullRom = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_computeRayPlaneIntersection : math.computeRayPlaneIntersection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_computeRaySphereIntersection : math.computeRaySphereIntersection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_computeRayAABoxIntersection : math.computeRayAABoxIntersection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_vectorAdd : math.vectorAdd = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_vectorSubtract : math.vectorSubtract = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_vectorDotProduct : math.vectorDotProduct = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_vectorCrossProduct : math.vectorCrossProduct = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_vectorNormalize : math.vectorNormalize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_vectorLength : math.vectorLength = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_vectorScale : math.vectorScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_vectorInterpolate : math.vectorInterpolate = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_vectorReflect : math.vectorReflect = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_math_vectorSetLength : math.vectorSetLength = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_mesh_getSubsetCount : mesh.getSubsetCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_getSubsetVertexCount : mesh.getSubsetVertexCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_getSubsetIndexCount : mesh.getSubsetIndexCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_getSubsetLODCount : mesh.getSubsetLODCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_addSubset : mesh.addSubset = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_removeSubset : mesh.removeSubset = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_createSubsetVertexBuffer : mesh.createSubsetVertexBuffer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_destroySubsetVertexBuffer : mesh.destroySubsetVertexBuffer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_createSubsetIndexBuffer : mesh.createSubsetIndexBuffer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_destroySubsetIndexBuffer : mesh.destroySubsetIndexBuffer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_lockSubsetVertexBuffer : mesh.lockSubsetVertexBuffer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_unlockSubsetVertexBuffer : mesh.unlockSubsetVertexBuffer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_lockSubsetIndexBuffer : mesh.lockSubsetIndexBuffer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_unlockSubsetIndexBuffer : mesh.unlockSubsetIndexBuffer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_setSubsetVertexPosition : mesh.setSubsetVertexPosition = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_getSubsetVertexPosition : mesh.getSubsetVertexPosition = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_setSubsetVertexNormal : mesh.setSubsetVertexNormal = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_getSubsetVertexNormal : mesh.getSubsetVertexNormal = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_setSubsetVertexTexCoord : mesh.setSubsetVertexTexCoord = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_getSubsetVertexTexCoord : mesh.getSubsetVertexTexCoord = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_setSubsetIndexValue : mesh.setSubsetIndexValue = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_getSubsetIndexValue : mesh.getSubsetIndexValue = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_getResourceHandle : mesh.getResourceHandle = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_setSubsetVertexBufferDynamic : mesh.setSubsetVertexBufferDynamic = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_isSubsetVertexBufferDynamic : mesh.isSubsetVertexBufferDynamic = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_setSubsetIndexBufferDynamic : mesh.setSubsetIndexBufferDynamic = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_isSubsetIndexBufferDynamic : mesh.isSubsetIndexBufferDynamic = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_computeSubsetVertexNormals : mesh.computeSubsetVertexNormals = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_computeSubsetVertexTangents : mesh.computeSubsetVertexTangents = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_mesh_updateBoundingVolumes : mesh.updateBoundingVolumes = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_microphone_setRate : microphone.setRate = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_enable : microphone.enable = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_getActivityLevel : microphone.getActivityLevel = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_enableSpectrumAnalyzer : microphone.enableSpectrumAnalyzer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_setSpectrumWidth : microphone.setSpectrumWidth = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_getSpectrumWidth : microphone.getSpectrumWidth = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_getSpectrumLevels : microphone.getSpectrumLevels = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_setRecordingQuality : microphone.setRecordingQuality = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_startRecordingAsMusic : microphone.startRecordingAsMusic = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_stopRecording : microphone.stopRecording = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_startDiffusion : microphone.startDiffusion = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_stopDiffusion : microphone.stopDiffusion = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_addUserToDiffusionList : microphone.addUserToDiffusionList = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_removeUserFromDiffusionList : microphone.removeUserFromDiffusionList = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_isUserInDiffusionList : microphone.isUserInDiffusionList = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_emptyDiffusionList : microphone.emptyDiffusionList = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_getDiffusionListUserCount : microphone.getDiffusionListUserCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_microphone_getDiffusionListUserIDAt : microphone.getDiffusionListUserIDAt = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_music_play : music.play = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_music_stop : music.stop = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_music_setVolume : music.setVolume = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_music_getPlaybackProgress : music.getPlaybackProgress = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_music_playAdditional : music.playAdditional = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_navigation_setTargetNode : navigation.setTargetNode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_setAcceleration : navigation.setAcceleration = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_getAcceleration : navigation.getAcceleration = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_setSpeedLimit : navigation.setSpeedLimit = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_getSpeedLimit : navigation.getSpeedLimit = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_setHeightOffset : navigation.setHeightOffset = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_getHeightOffset : navigation.getHeightOffset = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_getNode : navigation.getNode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_getTargetNode : navigation.getTargetNode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_getTargetNodeDistance : navigation.getTargetNodeDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_getSpeed : navigation.getSpeed = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_getVelocity : navigation.getVelocity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_setRandomTargetNode : navigation.setRandomTargetNode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_setNearestTargetNode : navigation.setNearestTargetNode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_setNearestNode : navigation.setNearestNode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_setPathMaxLength : navigation.setPathMaxLength = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_getPathMaxLength : navigation.getPathMaxLength = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_getPathNodeCount : navigation.getPathNodeCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_getPathNodeAt : navigation.getPathNodeAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_enableNodesInBox : navigation.enableNodesInBox = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_enableNode : navigation.enableNode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_getNodeTranslation : navigation.getNodeTranslation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_isNodeOnBorder : navigation.isNodeOnBorder = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_navigation_isNodeEnabled : navigation.isNodeEnabled = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_network_authenticate : network.authenticate = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_network_disconnect : network.disconnect = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_network_getStatus : network.getStatus = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_network_getServerCount : network.getServerCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_network_getServerNameAt : network.getServerNameAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_network_setCurrentServer : network.setCurrentServer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_network_getCurrentServer : network.getCurrentServer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_network_createServer : network.createServer = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_network_searchForServers : network.searchForServers = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_object_getHashCode : object.getHashCode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_isEqualTo : object.isEqualTo = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_isKindOf : object.isKindOf = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_hasController : object.hasController = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getScene : object.getScene = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getParent : object.getParent = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setParent : object.setParent = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getModelName : object.getModelName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_enableDistanceClipping : object.enableDistanceClipping = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setDistanceClippingThresholds : object.setDistanceClippingThresholds = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setDistanceClippingFadeTime : object.setDistanceClippingFadeTime = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setCanBeReflected : object.setCanBeReflected = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setCanBeRefracted : object.setCanBeRefracted = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_canBeReflected : object.canBeReflected = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_canBeRefracted : object.canBeRefracted = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_sendEvent : object.sendEvent = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_postEvent : object.postEvent = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setTransformOption : object.setTransformOption = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getTransformOption : object.getTransformOption = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getTranslation : object.getTranslation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getRotation : object.getRotation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getScale : object.getScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getDirection : object.getDirection = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getXAxis : object.getXAxis = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getYAxis : object.getYAxis = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getZAxis : object.getZAxis = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_resetTranslation : object.resetTranslation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_matchTranslation : object.matchTranslation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setTranslation : object.setTranslation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_translate : object.translate = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_translateTo : object.translateTo = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_resetRotation : object.resetRotation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_matchRotation : object.matchRotation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setRotation : object.setRotation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setRotationYPR : object.setRotationYPR = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setRotationAxisAngle : object.setRotationAxisAngle = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_rotate : object.rotate = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_rotateYPR : object.rotateYPR = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_rotateAxisAngle : object.rotateAxisAngle = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_rotateTo : object.rotateTo = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_rotateToYPR : object.rotateToYPR = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_rotateToAxisAngle : object.rotateToAxisAngle = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_rotateAround : object.rotateAround = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_lookAt : object.lookAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_lookAtWithUp : object.lookAtWithUp = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setUniformScale : object.setUniformScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setScale : object.setScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_isActive : object.isActive = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setVisible : object.setVisible = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_isVisible : object.isVisible = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getDistanceToObject : object.getDistanceToObject = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getBoundingSphereRadius : object.getBoundingSphereRadius = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getBoundingSphereCenter : object.getBoundingSphereCenter = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getBoundingBoxMin : object.getBoundingBoxMin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getBoundingBoxMax : object.getBoundingBoxMax = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_addAIModel : object.addAIModel = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_removeAIModel : object.removeAIModel = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getAIModelCount : object.getAIModelCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getAIModelNameAt : object.getAIModelNameAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_hasAIModel : object.hasAIModel = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_hasAIEventHandler : object.hasAIEventHandler = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getAIVariable : object.getAIVariable = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setAIVariable : object.setAIVariable = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_getAIState : object.getAIState = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setSoundBank : object.setSoundBank = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_setAnimBank : object.setAnimBank = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_transformVector : object.transformVector = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_object_transformPoint : object.transformPoint = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_pixelmap_getResourceHandle : pixelmap.getResourceHandle = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_getWidth : pixelmap.getWidth = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_getHeight : pixelmap.getHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_lock : pixelmap.lock = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_unlock : pixelmap.unlock = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_setPixel : pixelmap.setPixel = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_getPixel : pixelmap.getPixel = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_setPixels : pixelmap.setPixels = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_getPixels : pixelmap.getPixels = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_createBrushFromTexture : pixelmap.createBrushFromTexture = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_createBrushFromRectangle : pixelmap.createBrushFromRectangle = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_destroyBrush : pixelmap.destroyBrush = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_getBrushCount : pixelmap.getBrushCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_getBrushOrigin : pixelmap.getBrushOrigin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_setBrushOrigin : pixelmap.setBrushOrigin = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_getBrushWidth : pixelmap.getBrushWidth = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_getBrushHeight : pixelmap.getBrushHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_setPenColor : pixelmap.setPenColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_setPenBrush : pixelmap.setPenBrush = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_setPenMode : pixelmap.setPenMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_setFillColor : pixelmap.setFillColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_setFillBrush : pixelmap.setFillBrush = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_setFillMode : pixelmap.setFillMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_setBlendMode : pixelmap.setBlendMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_drawPoint : pixelmap.drawPoint = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_drawLine : pixelmap.drawLine = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_drawRectangle : pixelmap.drawRectangle = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_pixelmap_saveToTexture : pixelmap.saveToTexture = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_projector_setColor : projector.setColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_projector_getColor : projector.getColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_projector_setOpacity : projector.setOpacity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_projector_getOpacity : projector.getOpacity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_projector_setFieldOfView : projector.setFieldOfView = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_projector_getFieldOfView : projector.getFieldOfView = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_projector_setMinClipDistance : projector.setMinClipDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_projector_getMinClipDistance : projector.getMinClipDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_projector_setMaxClipDistance : projector.setMaxClipDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_projector_getMaxClipDistance : projector.getMaxClipDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_projector_setMap : projector.setMap = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_projector_playMapMovie : projector.playMapMovie = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_projector_pauseMapMovie : projector.pauseMapMovie = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_projector_stopMapMovie : projector.stopMapMovie = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_scene_getName : scene.getName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getUserCount : scene.getUserCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getUserAt : scene.getUserAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_sendEventToAllUsers : scene.sendEventToAllUsers = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_sendEventToAllObjects : scene.sendEventToAllObjects = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getTaggedObjectCount : scene.getTaggedObjectCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getTaggedObjectAt : scene.getTaggedObjectAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getTaggedObjectTagAt : scene.getTaggedObjectTagAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getTaggedObject : scene.getTaggedObject = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getObjectTag : scene.getObjectTag = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setRuntimeObjectTag : scene.setRuntimeObjectTag = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_createRuntimeObject : scene.createRuntimeObject = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_destroyRuntimeObject : scene.destroyRuntimeObject = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_combineRuntimeObjectsGroup : scene.combineRuntimeObjectsGroup = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setBackgroundColor : scene.setBackgroundColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getBackgroundColor : scene.getBackgroundColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setBackgroundOpacity : scene.setBackgroundOpacity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getBackgroundOpacity : scene.getBackgroundOpacity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setBackgroundTexture : scene.setBackgroundTexture = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setBackgroundTextureUVOffset : scene.setBackgroundTextureUVOffset = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setBackgroundTextureUVScale : scene.setBackgroundTextureUVScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setBackgroundTextureAddressingMode : scene.setBackgroundTextureAddressingMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setBackgroundTextureFilteringMode : scene.setBackgroundTextureFilteringMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setSkyBoxColor : scene.setSkyBoxColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getSkyBoxColor : scene.getSkyBoxColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setSkyBoxFaceMap : scene.setSkyBoxFaceMap = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setAmbientColor : scene.setAmbientColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getAmbientColor : scene.getAmbientColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setShadowAmbientColor : scene.setShadowAmbientColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getShadowAmbientColor : scene.getShadowAmbientColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setFogDensity : scene.setFogDensity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getFogDensity : scene.getFogDensity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setFogColor : scene.setFogColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getFogColor : scene.getFogColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_createOcean : scene.createOcean = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_destroyOcean : scene.destroyOcean = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanWavesAmplitude : scene.setOceanWavesAmplitude = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanWavesAmplitude : scene.getOceanWavesAmplitude = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanWavesMeanHeight : scene.setOceanWavesMeanHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanWavesMeanHeight : scene.getOceanWavesMeanHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanWavesFrequency : scene.setOceanWavesFrequency = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanWavesFrequency : scene.getOceanWavesFrequency = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanUnderwaterFogDensity : scene.setOceanUnderwaterFogDensity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanUnderwaterFogDensity : scene.getOceanUnderwaterFogDensity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanUnderwaterFogColor : scene.setOceanUnderwaterFogColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanUnderwaterFogColor : scene.getOceanUnderwaterFogColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanSurfaceColor : scene.setOceanSurfaceColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanSurfaceColor : scene.getOceanSurfaceColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanSurfaceColorFactor : scene.setOceanSurfaceColorFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanSurfaceColorFactor : scene.getOceanSurfaceColorFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanSurfaceColorMaxDistance : scene.setOceanSurfaceColorMaxDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanSurfaceColorMaxDistance : scene.getOceanSurfaceColorMaxDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanHeight : scene.getOceanHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanNormal : scene.getOceanNormal = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanFoamMap : scene.setOceanFoamMap = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanFoamMapTiling : scene.setOceanFoamMapTiling = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanFoamMapTiling : scene.getOceanFoamMapTiling = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanNormalMapTiling : scene.setOceanNormalMapTiling = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanNormalMapTiling : scene.getOceanNormalMapTiling = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanReflectionNoiseScale : scene.setOceanReflectionNoiseScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanReflectionNoiseScale : scene.getOceanReflectionNoiseScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanRefractionNoiseScale : scene.setOceanRefractionNoiseScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanRefractionNoiseScale : scene.getOceanRefractionNoiseScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanFresnelPower : scene.setOceanFresnelPower = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanFresnelPower : scene.getOceanFresnelPower = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanFresnelBias : scene.setOceanFresnelBias = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanFresnelBias : scene.getOceanFresnelBias = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setOceanReflectorBias : scene.setOceanReflectorBias = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getOceanReflectorBias : scene.getOceanReflectorBias = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setColorLevels : scene.setColorLevels = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getColorLevels : scene.getColorLevels = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setColorSaturation : scene.setColorSaturation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getColorSaturation : scene.getColorSaturation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setColorContrast : scene.setColorContrast = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getColorContrast : scene.getColorContrast = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setMonochromeFilter : scene.setMonochromeFilter = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getMonochromeFilter : scene.getMonochromeFilter = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setBloomIntensity : scene.setBloomIntensity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getBloomIntensity : scene.getBloomIntensity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setBloomThreshold : scene.setBloomThreshold = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getBloomThreshold : scene.getBloomThreshold = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setBloomColoring : scene.setBloomColoring = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getBloomColoring : scene.getBloomColoring = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setBloomMotionBlurFactor : scene.setBloomMotionBlurFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getBloomMotionBlurFactor : scene.getBloomMotionBlurFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getObjectCount : scene.getObjectCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getObjectAt : scene.getObjectAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getFirstHitCollider : scene.getFirstHitCollider = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getFirstHitColliderEx : scene.getFirstHitColliderEx = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getFirstHitColliderWithID : scene.getFirstHitColliderWithID = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getFirstHitColliderWithIDEx : scene.getFirstHitColliderWithIDEx = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getFirstHitSensor : scene.getFirstHitSensor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getFirstHitSensorWithID : scene.getFirstHitSensorWithID = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getFirstHitSensorWithIDInRange : scene.getFirstHitSensorWithIDInRange = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getFirstHitTerrainChunk : scene.getFirstHitTerrainChunk = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getTerrainHeight : scene.getTerrainHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getTerrainNormal : scene.getTerrainNormal = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getTerrainStatus : scene.getTerrainStatus = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setTerrainTextureFilteringMode : scene.setTerrainTextureFilteringMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setTerrainLODSwitchThreshold : scene.setTerrainLODSwitchThreshold = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setTerrainVegetationLayerMaxVisibleInstances : scene.setTerrainVegetationLayerMaxVisibleInstances = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setTerrainVegetationLayerVisible : scene.setTerrainVegetationLayerVisible = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setTerrainVegetationLayerTextureFilteringMode : scene.setTerrainVegetationLayerTextureFilteringMode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getTerrainVegetationLayerCount : scene.getTerrainVegetationLayerCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setDynamicsTimeStep : scene.setDynamicsTimeStep = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getDynamicsTimeStep : scene.getDynamicsTimeStep = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setDynamicsIterationsPerStep : scene.setDynamicsIterationsPerStep = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getDynamicsIterationsPerStep : scene.getDynamicsIterationsPerStep = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setPaused : scene.setPaused = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setPerPixelLightingMinScreenSize : scene.setPerPixelLightingMinScreenSize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getPerPixelLightingMinScreenSize : scene.getPerPixelLightingMinScreenSize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setNormalMappingMinScreenSize : scene.setNormalMappingMinScreenSize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getNormalMappingMinScreenSize : scene.getNormalMappingMinScreenSize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setNormalMappingFadeScreenSize : scene.setNormalMappingFadeScreenSize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getNormalMappingFadeScreenSize : scene.getNormalMappingFadeScreenSize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setSpecularLightingMinScreenSize : scene.setSpecularLightingMinScreenSize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getSpecularLightingMinScreenSize : scene.getSpecularLightingMinScreenSize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setSpecularLightingFadeScreenSize : scene.setSpecularLightingFadeScreenSize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getSpecularLightingFadeScreenSize : scene.getSpecularLightingFadeScreenSize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setDynamicShadowsFadeDistance : scene.setDynamicShadowsFadeDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getDynamicShadowsFadeDistance : scene.getDynamicShadowsFadeDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_setDynamicShadowsMaxDistance : scene.setDynamicShadowsMaxDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_scene_getDynamicShadowsMaxDistance : scene.getDynamicShadowsMaxDistance = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_sensor_getCount : sensor.getCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_setActiveAt : sensor.setActiveAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_isActiveAt : sensor.isActiveAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_setAllActive : sensor.setAllActive = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_removeAll : sensor.removeAll = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_removeAt : sensor.removeAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_add : sensor.add = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_getIDAt : sensor.getIDAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_setIDAt : sensor.setIDAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_getShapeTypeAt : sensor.getShapeTypeAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_setSphereCenterAt : sensor.setSphereCenterAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_setSphereRadiusAt : sensor.setSphereRadiusAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_getSphereCenterAt : sensor.getSphereCenterAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_getSphereRadiusAt : sensor.getSphereRadiusAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_setBoxCenterAt : sensor.setBoxCenterAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_setBoxSizeAt : sensor.setBoxSizeAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_getBoxCenterAt : sensor.getBoxCenterAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sensor_getBoxSizeAt : sensor.getBoxSizeAt = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_server_getStatus : server.getStatus = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_server_getName : server.getName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_server_getCurrentPingDelay : server.getCurrentPingDelay = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_server_getAveragePingDelay : server.getAveragePingDelay = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_server_getSessionCount : server.getSessionCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_server_getSessionNameAt : server.getSessionNameAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_server_getSessionUserCountAt : server.getSessionUserCountAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_server_setCurrentSession : server.setCurrentSession = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_server_getCurrentSession : server.getCurrentSession = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_server_sendEvent : server.sendEvent = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_session_getStatus : session.getStatus = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_session_getName : session.getName = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_sfx_getParticleEmitterCount : sfx.getParticleEmitterCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_startParticleEmitterAt : sfx.startParticleEmitterAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_startAllParticleEmitters : sfx.startAllParticleEmitters = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_stopParticleEmitterAt : sfx.stopParticleEmitterAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_stopAllParticleEmitters : sfx.stopAllParticleEmitters = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_pauseParticleEmitterAt : sfx.pauseParticleEmitterAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_pauseAllParticleEmitters : sfx.pauseAllParticleEmitters = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_setParticleEmitterTranslationAt : sfx.setParticleEmitterTranslationAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_setParticleEmitterRotationAt : sfx.setParticleEmitterRotationAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_setParticleEmitterUniformScaleAt : sfx.setParticleEmitterUniformScaleAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_setParticleEmitterGenerationRateAt : sfx.setParticleEmitterGenerationRateAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_setParticleEmitterLifeTimeFactorAt : sfx.setParticleEmitterLifeTimeFactorAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_setParticleEmitterInitialSpeedFactorAt : sfx.setParticleEmitterInitialSpeedFactorAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_getParticleEmitterUniformScaleAt : sfx.getParticleEmitterUniformScaleAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_getParticleEmitterGenerationRateAt : sfx.getParticleEmitterGenerationRateAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_getParticleEmitterLifeTimeFactorAt : sfx.getParticleEmitterLifeTimeFactorAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_getParticleEmitterInitialSpeedFactorAt : sfx.getParticleEmitterInitialSpeedFactorAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_getParticleEmitterAliveParticleCountAt : sfx.getParticleEmitterAliveParticleCountAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_getTrailCount : sfx.getTrailCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_setTrailAnchor0At : sfx.setTrailAnchor0At = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_setTrailAnchor1At : sfx.setTrailAnchor1At = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_startTrailAt : sfx.startTrailAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_pauseTrailAt : sfx.pauseTrailAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_stopTrailAt : sfx.stopTrailAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_startAllTrails : sfx.startAllTrails = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_pauseAllTrails : sfx.pauseAllTrails = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sfx_stopAllTrails : sfx.stopAllTrails = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_shape_setMeshOpacity : shape.setMeshOpacity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshOpacity : shape.getMeshOpacity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetCount : shape.getMeshSubsetCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setMeshSubsetMaterial : shape.setMeshSubsetMaterial = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialName : shape.getMeshSubsetMaterialName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setMeshMaterial : shape.setMeshMaterial = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_compareMeshSubsetMaterial : shape.compareMeshSubsetMaterial = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_enableMeshFrustumCulling : shape.enableMeshFrustumCulling = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshSubsetMaterialEmissive : shape.overrideMeshSubsetMaterialEmissive = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshSubsetMaterialAmbient : shape.overrideMeshSubsetMaterialAmbient = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshSubsetMaterialDiffuse : shape.overrideMeshSubsetMaterialDiffuse = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshSubsetMaterialSpecular : shape.overrideMeshSubsetMaterialSpecular = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshSubsetMaterialOpacity : shape.overrideMeshSubsetMaterialOpacity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshSubsetMaterialOpacityThreshold : shape.overrideMeshSubsetMaterialOpacityThreshold = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshSubsetMaterialEffectIntensity : shape.overrideMeshSubsetMaterialEffectIntensity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEmissiveOverride : shape.getMeshSubsetMaterialEmissiveOverride = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialAmbientOverride : shape.getMeshSubsetMaterialAmbientOverride = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialDiffuseOverride : shape.getMeshSubsetMaterialDiffuseOverride = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialSpecularOverride : shape.getMeshSubsetMaterialSpecularOverride = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialOpacityOverride : shape.getMeshSubsetMaterialOpacityOverride = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialOpacityThresholdOverride : shape.getMeshSubsetMaterialOpacityThresholdOverride = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEffectIntensityOverride : shape.getMeshSubsetMaterialEffectIntensityOverride = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshMaterialEmissive : shape.overrideMeshMaterialEmissive = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshMaterialAmbient : shape.overrideMeshMaterialAmbient = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshMaterialDiffuse : shape.overrideMeshMaterialDiffuse = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshMaterialSpecular : shape.overrideMeshMaterialSpecular = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshSubsetMaterialEffectMap0 : shape.overrideMeshSubsetMaterialEffectMap0 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshMaterialEffectMap0 : shape.overrideMeshMaterialEffectMap0 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshSubsetMaterialEffectMap1 : shape.overrideMeshSubsetMaterialEffectMap1 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshMaterialEffectMap1 : shape.overrideMeshMaterialEffectMap1 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshSubsetMaterialNormalMap : shape.overrideMeshSubsetMaterialNormalMap = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshMaterialNormalMap : shape.overrideMeshMaterialNormalMap = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshSubsetMaterialSpecularMap : shape.overrideMeshSubsetMaterialSpecularMap = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideMeshMaterialSpecularMap : shape.overrideMeshMaterialSpecularMap = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEffectMap0 : shape.getMeshSubsetMaterialEffectMap0 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEffectMap1 : shape.getMeshSubsetMaterialEffectMap1 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialNormalMap : shape.getMeshSubsetMaterialNormalMap = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialSpecularMap : shape.getMeshSubsetMaterialSpecularMap = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEffectMap0Override : shape.getMeshSubsetMaterialEffectMap0Override = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEffectMap1Override : shape.getMeshSubsetMaterialEffectMap1Override = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialNormalMapOverride : shape.getMeshSubsetMaterialNormalMapOverride = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialSpecularMapOverride : shape.getMeshSubsetMaterialSpecularMapOverride = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setMeshSubsetMaterialEffectMap0AdditionalUVOffset : shape.setMeshSubsetMaterialEffectMap0AdditionalUVOffset = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setMeshSubsetMaterialEffectMap0AdditionalUVScale : shape.setMeshSubsetMaterialEffectMap0AdditionalUVScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setMeshSubsetMaterialEffectMap0AdditionalUVRotation : shape.setMeshSubsetMaterialEffectMap0AdditionalUVRotation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setMeshSubsetMaterialEffectMap1AdditionalUVOffset : shape.setMeshSubsetMaterialEffectMap1AdditionalUVOffset = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setMeshSubsetMaterialEffectMap1AdditionalUVScale : shape.setMeshSubsetMaterialEffectMap1AdditionalUVScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setMeshSubsetMaterialEffectMap1AdditionalUVRotation : shape.setMeshSubsetMaterialEffectMap1AdditionalUVRotation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEffectMap0AdditionalUVOffset : shape.getMeshSubsetMaterialEffectMap0AdditionalUVOffset = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEffectMap0AdditionalUVScale : shape.getMeshSubsetMaterialEffectMap0AdditionalUVScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEffectMap0AdditionalUVRotation : shape.getMeshSubsetMaterialEffectMap0AdditionalUVRotation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEffectMap1AdditionalUVOffset : shape.getMeshSubsetMaterialEffectMap1AdditionalUVOffset = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEffectMap1AdditionalUVScale : shape.getMeshSubsetMaterialEffectMap1AdditionalUVScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEffectMap1AdditionalUVRotation : shape.getMeshSubsetMaterialEffectMap1AdditionalUVRotation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_playMeshSubsetMaterialEffectMap0Movie : shape.playMeshSubsetMaterialEffectMap0Movie = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_pauseMeshSubsetMaterialEffectMap0Movie : shape.pauseMeshSubsetMaterialEffectMap0Movie = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_stopMeshSubsetMaterialEffectMap0Movie : shape.stopMeshSubsetMaterialEffectMap0Movie = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEffectMap0MovieBufferingProgress : shape.getMeshSubsetMaterialEffectMap0MovieBufferingProgress = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEffectMap0MoviePlaybackProgress : shape.getMeshSubsetMaterialEffectMap0MoviePlaybackProgress = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshSubsetMaterialEffectMap0MoviePlaybackCursor : shape.getMeshSubsetMaterialEffectMap0MoviePlaybackCursor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setMeshSubsetMaterialEffectMap0MovieTransparentColor : shape.setMeshSubsetMaterialEffectMap0MovieTransparentColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMesh : shape.getMesh = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshName : shape.getMeshName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshTriangleCount : shape.getMeshTriangleCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getMeshVertexCount : shape.getMeshVertexCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getSkeletonName : shape.getSkeletonName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getSkeletonJointCount : shape.getSkeletonJointCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getSkeletonJointNameAt : shape.getSkeletonJointNameAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_createRuntimeMesh : shape.createRuntimeMesh = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideSkeletonJointTranslation : shape.overrideSkeletonJointTranslation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_overrideSkeletonJointRotation : shape.overrideSkeletonJointRotation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setSkeletonJointCustomScale : shape.setSkeletonJointCustomScale = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getSkeletonJointTranslation : shape.getSkeletonJointTranslation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getSkeletonJointRotation : shape.getSkeletonJointRotation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getSkeletonJointXAxis : shape.getSkeletonJointXAxis = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getSkeletonJointYAxis : shape.getSkeletonJointYAxis = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getSkeletonJointZAxis : shape.getSkeletonJointZAxis = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getSkeletonJointParentJointName : shape.getSkeletonJointParentJointName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_addSkeletonCloneModifier : shape.addSkeletonCloneModifier = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_addCurve : shape.addCurve = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_removeCurve : shape.removeCurve = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getCurveCount : shape.getCurveCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_addCurvePoint : shape.addCurvePoint = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_removeCurvePoint : shape.removeCurvePoint = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getCurvePointCount : shape.getCurvePointCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getCurvePoint : shape.getCurvePoint = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setCurvePoint : shape.setCurvePoint = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setCurveStartColor : shape.setCurveStartColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setCurveEndColor : shape.setCurveEndColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setCurveStartOpacity : shape.setCurveStartOpacity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_setCurveEndOpacity : shape.setCurveEndOpacity = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getCurveStartColor : shape.getCurveStartColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_getCurveEndColor : shape.getCurveEndColor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_shape_evaluateCurve : shape.evaluateCurve = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_sound_play : sound.play = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_pause : sound.pause = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_resume : sound.resume = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_stop : sound.stop = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_setVolume : sound.setVolume = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_setPitch : sound.setPitch = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_isPlaying : sound.isPlaying = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_isPaused : sound.isPaused = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_getPlaybackProgress : sound.getPlaybackProgress = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_setPlaybackProgress : sound.setPlaybackProgress = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_getName : sound.getName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_enableSpatialization : sound.enableSpatialization = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_isSpatializationEnabled : sound.isSpatializationEnabled = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_setSpatializationRolloffFactor : sound.setSpatializationRolloffFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_getSpatializationRolloffFactor : sound.getSpatializationRolloffFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_setSpatializationReferenceDistance : sound.setSpatializationReferenceDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_sound_getSpatializationReferenceDistance : sound.getSpatializationReferenceDistance = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_string_isEmpty : string.isEmpty = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_getLength : string.getLength = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_getByte : string.getByte = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_format : string.format = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_replace : string.replace = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_contains : string.contains = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_findFirst : string.findFirst = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_findFirstMatching : string.findFirstMatching = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_explode : string.explode = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_lower : string.lower = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_upper : string.upper = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_toNumber : string.toNumber = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_getSubString : string.getSubString = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_crc32 : string.crc32 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_md5 : string.md5 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_sha1 : string.sha1 = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_reverse : string.reverse = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_compare : string.compare = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_encodeHTML : string.encodeHTML = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_decodeHTML : string.decodeHTML = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_encodeURL : string.encodeURL = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_string_decodeURL : string.decodeURL = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_system_getOSType : system.getOSType = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getOSVersion : system.getOSVersion = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getOSVersionString : system.getOSVersionString = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getOSLanguage : system.getOSLanguage = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getGPUModelDescription : system.getGPUModelDescription = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getGPUDriverDescription : system.getGPUDriverDescription = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getGPUCapability : system.getGPUCapability = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getDeviceUniqueIdentifier : system.getDeviceUniqueIdentifier = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getDeviceModel : system.getDeviceModel = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getDeviceName : system.getDeviceName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getSupportedScreenResolutionCount : system.getSupportedScreenResolutionCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getSupportedScreenResolutionAt : system.getSupportedScreenResolutionAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getCurrentScreenResolution : system.getCurrentScreenResolution = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getClientType : system.getClientType = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_setWakeLock : system.setWakeLock = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getClipboardText : system.getClipboardText = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_setClipboardText : system.setClipboardText = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getYear : system.getYear = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getMonth : system.getMonth = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getDayOfMonth : system.getDayOfMonth = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getDayOfWeek : system.getDayOfWeek = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getTimeOfDay : system.getTimeOfDay = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_areLocationUpdatesSupported : system.areLocationUpdatesSupported = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_areLocationUpdatesEnabled : system.areLocationUpdatesEnabled = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_enableLocationUpdates : system.enableLocationUpdates = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getLastKnownLocation : system.getLastKnownLocation = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_areHeadingUpdatesSupported : system.areHeadingUpdatesSupported = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_areHeadingUpdatesEnabled : system.areHeadingUpdatesEnabled = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_enableHeadingUpdates : system.enableHeadingUpdates = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getLastKnownHeading : system.getLastKnownHeading = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getLastKnownTrueHeading : system.getLastKnownTrueHeading = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_hasPersistentStorageManager : system.hasPersistentStorageManager = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_openPersistentStorageManager : system.openPersistentStorageManager = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_openURL : system.openURL = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getHomeDirectory : system.getHomeDirectory = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getDocumentsDirectory : system.getDocumentsDirectory = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getPicturesDirectory : system.getPicturesDirectory = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_findFiles : system.findFiles = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_findDirectories : system.findDirectories = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_install : system.install = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_isInstalled : system.isInstalled = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_getInstallationStatus : system.getInstallationStatus = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_system_launch : system.launch = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_table_isEmpty : table.isEmpty = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_getSize : table.getSize = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_getAt : table.getAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_getLast : table.getLast = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_getFirst : table.getFirst = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_setAt : table.setAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_empty : table.empty = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_add : table.add = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_removeAt : table.removeAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_removeLast : table.removeLast = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_removeFirst : table.removeFirst = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_insertAt : table.insertAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_contains : table.contains = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_shuffle : table.shuffle = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_reverse : table.reverse = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_swap : table.swap = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_reserve : table.reserve = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_getRangeAt : table.getRangeAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_table_setRangeAt : table.setRangeAt = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_user_getSceneName : user.getSceneName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_user_isLocal : user.isLocal = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_user_getID : user.getID = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_user_sendEvent : user.sendEvent = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_user_postEvent : user.postEvent = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_user_setLocalSoundSourceObject : user.setLocalSoundSourceObject = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_user_getLocalSoundSourceObject : user.getLocalSoundSourceObject = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_user_setLocalSoundSourceRolloffFactor : user.setLocalSoundSourceRolloffFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_user_getLocalSoundSourceRolloffFactor : user.getLocalSoundSourceRolloffFactor = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_user_setLocalSoundSourceReferenceDistance : user.setLocalSoundSourceReferenceDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_user_getLocalSoundSourceReferenceDistance : user.getLocalSoundSourceReferenceDistance = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_user_getAIModelCount : user.getAIModelCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_user_getAIModelNameAt : user.getAIModelNameAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_user_hasAIModel : user.hasAIModel = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_user_hasAIEventHandler : user.hasAIEventHandler = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_video_getCaptureDeviceCount : video.getCaptureDeviceCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_video_getCaptureDeviceNameAt : video.getCaptureDeviceNameAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_video_setActiveCaptureDevice : video.setActiveCaptureDevice = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_video_startCaptureToPixelMap : video.startCaptureToPixelMap = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_video_stopCapture : video.stopCapture = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_video_getCaptureWidth : video.getCaptureWidth = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_video_getCaptureHeight : video.getCaptureHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_video_getCaptureHorizontalFlip : video.getCaptureHorizontalFlip = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_video_setCaptureWidth : video.setCaptureWidth = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_video_setCaptureHeight : video.setCaptureHeight = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_video_setCaptureRate : video.setCaptureRate = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_video_setCaptureHorizontalFlip : video.setCaptureHorizontalFlip = __pCallback ; break ; \ \ case S3DX::AIEngineAPI::CallbackID_xml_getRootElement : xml.getRootElement = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getElementName : xml.getElementName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_setElementName : xml.setElementName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getElementValue : xml.getElementValue = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_setElementValue : xml.setElementValue = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getElementChildCount : xml.getElementChildCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getElementChildAt : xml.getElementChildAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getElementAttributeCount : xml.getElementAttributeCount = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getElementAttributeAt : xml.getElementAttributeAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getElementAttributeWithName : xml.getElementAttributeWithName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getElementParent : xml.getElementParent = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getElementFirstChild : xml.getElementFirstChild = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getElementNextSibling : xml.getElementNextSibling = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getElementFirstChildWithName : xml.getElementFirstChildWithName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getElementNextSiblingWithName : xml.getElementNextSiblingWithName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_appendElementChild : xml.appendElementChild = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_insertElementChildAt : xml.insertElementChildAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_appendElementChildElement : xml.appendElementChildElement = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_insertElementChildElementAt : xml.insertElementChildElementAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_removeElementChildAt : xml.removeElementChildAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_removeElementChild : xml.removeElementChild = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_appendElementAttribute : xml.appendElementAttribute = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_removeElementAttributeAt : xml.removeElementAttributeAt = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_removeElementAttribute : xml.removeElementAttribute = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getAttributeName : xml.getAttributeName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_setAttributeName : xml.setAttributeName = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getAttributeValue : xml.getAttributeValue = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_setAttributeValue : xml.setAttributeValue = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_empty : xml.empty = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_toString : xml.toString = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_createFromString : xml.createFromString = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_send : xml.send = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_receive : xml.receive = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getSendStatus : xml.getSendStatus = __pCallback ; break ; \ case S3DX::AIEngineAPI::CallbackID_xml_getReceiveStatus : xml.getReceiveStatus = __pCallback ; break ; \ } //----------------------------------------------------------------------------- #define S3DX_DECLARE_AIENGINEAPI( ) \ \ private: class __AIEngineAPI : public S3DX::AIEngineAPI \ { \ public : \ __AIEngineAPI ( ) ; \ void RegisterCallback ( S3DX::uint32 _iCallbackID, S3DX::AICallback _pCallback ) ; \ } ; \ private: __AIEngineAPI __oEngineAPI; \ public: S3DX::AIEngineAPI *GetAIEngineAPI ( ) ; //----------------------------------------------------------------------------- #define S3DX_DECLARE_AIENGINEAPI_PACKAGES( ) \ \ S3DX::AIEngineAPI::AnimationPackage S3DX::animation ; \ S3DX::AIEngineAPI::ApplicationPackage S3DX::application ; \ S3DX::AIEngineAPI::CachePackage S3DX::cache ; \ S3DX::AIEngineAPI::CameraPackage S3DX::camera ; \ S3DX::AIEngineAPI::DebugPackage S3DX::debug ; \ S3DX::AIEngineAPI::DynamicsPackage S3DX::dynamics ; \ S3DX::AIEngineAPI::GroupPackage S3DX::group ; \ S3DX::AIEngineAPI::HashtablePackage S3DX::hashtable ; \ S3DX::AIEngineAPI::HudPackage S3DX::hud ; \ S3DX::AIEngineAPI::InputPackage S3DX::input ; \ S3DX::AIEngineAPI::LightPackage S3DX::light ; \ S3DX::AIEngineAPI::LogPackage S3DX::log ; \ S3DX::AIEngineAPI::MathPackage S3DX::math ; \ S3DX::AIEngineAPI::MeshPackage S3DX::mesh ; \ S3DX::AIEngineAPI::MicrophonePackage S3DX::microphone ; \ S3DX::AIEngineAPI::MusicPackage S3DX::music ; \ S3DX::AIEngineAPI::NavigationPackage S3DX::navigation ; \ S3DX::AIEngineAPI::NetworkPackage S3DX::network ; \ S3DX::AIEngineAPI::ObjectPackage S3DX::object ; \ S3DX::AIEngineAPI::PixelmapPackage S3DX::pixelmap ; \ S3DX::AIEngineAPI::ProjectorPackage S3DX::projector ; \ S3DX::AIEngineAPI::ScenePackage S3DX::scene ; \ S3DX::AIEngineAPI::SensorPackage S3DX::sensor ; \ S3DX::AIEngineAPI::ServerPackage S3DX::server ; \ S3DX::AIEngineAPI::SessionPackage S3DX::session ; \ S3DX::AIEngineAPI::SfxPackage S3DX::sfx ; \ S3DX::AIEngineAPI::ShapePackage S3DX::shape ; \ S3DX::AIEngineAPI::SoundPackage S3DX::sound ; \ S3DX::AIEngineAPI::StringPackage S3DX::string ; \ S3DX::AIEngineAPI::SystemPackage S3DX::system ; \ S3DX::AIEngineAPI::TablePackage S3DX::table ; \ S3DX::AIEngineAPI::UserPackage S3DX::user ; \ S3DX::AIEngineAPI::VideoPackage S3DX::video ; \ S3DX::AIEngineAPI::XmlPackage S3DX::xml ; //----------------------------------------------------------------------------- #ifdef S3DX_DLL #define S3DX_IMPLEMENT_AIENGINEAPI( _name_ ) \ \ S3DX::AIEngineAPI *S3DX_MODULE_GUID::__pS3DXEAPIMI = NULL ; \ \ _name_::__AIEngineAPI::__AIEngineAPI ( ) \ { \ S3DX_MODULE_GUID::__pS3DXEAPIMI = this ; \ } \ void _name_::__AIEngineAPI::RegisterCallback ( S3DX::uint32 _iCallbackID, S3DX::AICallback _pCallback ) \ { \ S3DX_REGISTER_AIENGINEAPI_CALLBACK ( _iCallbackID, _pCallback ) ; \ } \ S3DX::AIEngineAPI *_name_::GetAIEngineAPI ( ) \ { \ return &__oEngineAPI ; \ } \ S3DX_DECLARE_AIENGINEAPI_PACKAGES ( ) #else #define S3DX_IMPLEMENT_AIENGINEAPI( _name_ ) \ \ S3DX::AIEngineAPI *S3DX_MODULE_GUID::__pS3DXEAPIMI = NULL ; \ \ _name_::__AIEngineAPI::__AIEngineAPI ( ) \ { \ S3DX_MODULE_GUID::__pS3DXEAPIMI = this ; \ } \ void _name_::__AIEngineAPI::RegisterCallback ( S3DX::uint32 _iCallbackID, S3DX::AICallback _pCallback ) \ { \ S3DX_REGISTER_AIENGINEAPI_CALLBACK ( _iCallbackID, _pCallback ) ; \ } \ S3DX::AIEngineAPI *_name_::GetAIEngineAPI ( ) \ { \ return &__oEngineAPI ; \ } #endif //----------------------------------------------------------------------------- #endif //-----------------------------------------------------------------------------
[ "luiz.pestana@gmail.com" ]
luiz.pestana@gmail.com
02388950dc0deb3bb414e4fdc6a8478b8b6f4431
3a1a8741bd50a8b862c817dc2471283d8a1f6506
/game.h
24bc5b824cf8b3b519f3e3c3f62a477b8d60955f
[]
no_license
DanilUst/Project
c0bd2ea7e636e9bc152e14811a28ad63207c462c
d17c965322ad89396e12ab6b81abf06200bdfc79
refs/heads/main
2023-05-15T13:23:09.646633
2021-06-10T20:11:58
2021-06-10T20:11:58
375,758,164
0
0
null
null
null
null
UTF-8
C++
false
false
284
h
#ifndef GAME_H #define GAME_H #include <QGraphicsScene> #include <QGraphicsView> class Game : public QGraphicsView { public: Game(QWidget *parent = nullptr); void start(); QGraphicsScene *scene; private: void create_Block_Columns(double x); }; #endif // GAME_H
[ "ustinov2015danil@yandex.ru" ]
ustinov2015danil@yandex.ru
5627b70b33fc1507f0f0e7c4f5cdf461d5c7bb9a
1ff3461f53d32d72de7f41105b3463dd41dd5ff9
/src/CPixmap.h
c003e55cb4b202558faa1696c72ddae01e12053a
[ "MIT" ]
permissive
colinw7/CQGIFDisplay
83795135d09c9acb1e161bbd528ee11c7e44a5f8
aade05683a9683edbad1c9d12ea50a3b79792e52
refs/heads/master
2023-04-10T21:35:24.245240
2023-04-03T15:59:33
2023-04-03T15:59:33
50,753,672
0
1
null
null
null
null
UTF-8
C++
false
false
1,629
h
#ifndef CPixmap_H #define CPixmap_H #include <string> #include <sys/types.h> class CPixmap { public: class Pixel { public: Pixel() : pixel_(0) { } Pixel(uint r, uint g, uint b, uint a = 255) : pixel_(rgbaToPixel(r, g, b, a)) { } Pixel(uint pixel) : pixel_(pixel) { } uint getValue() const { return pixel_; } static uint rgbaToPixel(uint r, uint g, uint b, uint a) { return (((a & 0xff) << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | ((b & 0xff) << 0)); } private: uint pixel_; }; CPixmap(uint w, uint h); CPixmap(const CPixmap &pixmap); virtual ~CPixmap(); CPixmap &operator=(const CPixmap &pixmap); virtual CPixmap *dup() const; virtual uint getWidth () const { return w_; } virtual uint getHeight() const { return h_; } virtual Pixel getPixel(uint x, uint y) const; virtual void setPixel(uint x, uint y, const Pixel &pixel); virtual int getScale() const { return scale_; } virtual void setScale(int scale); protected: uint w_, h_; Pixel *data_; int scale_; }; class CPixmapFactory { public: CPixmapFactory() { } virtual ~CPixmapFactory() { } virtual CPixmap *createPixmap(uint w, uint h) = 0; }; #define CPixmapMgrInst CPixmapMgr::getInstance() class CPixmapMgr { public: static CPixmapMgr *getInstance(); ~CPixmapMgr(); void setFactory(CPixmapFactory *factory) { factory_ = factory; } CPixmap *createPixmap(uint w, uint h) const; CPixmap *read(const std::string &filename); private: CPixmapMgr(); private: CPixmapFactory *factory_; }; #endif
[ "colinw@nc.rr.com" ]
colinw@nc.rr.com
d4b6fc77fc0b0ade7d98c4c719570aa54ac5b4f2
1a4f6d71e5944d80ccee022999c77a29ece56ec6
/tools/materialeditor/ToggleListView.cpp
2ec34828804702c5adcb75ab6d3bd899f29b0f19
[]
no_license
LavinasChange/qc
8e43d20f08b620d1a1732c08234b4a1c586e84ce
fb08f8cd2ff50cd2c4b907ff43ab65a3479d4c3c
refs/heads/master
2020-07-11T11:25:42.416507
2019-04-19T20:05:04
2019-04-19T20:05:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,352
cpp
/* =========================================================================== Doom 3 GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). Doom 3 Source Code 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. Doom 3 Source Code 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 Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>. In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below. If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. =========================================================================== */ #include "../../idlib/precompiled.h" #pragma hdrstop #include "ToggleListView.h" #define TOGGLELIST_ITEMHEIGHT 22 #define TEXT_OFFSET 6 IMPLEMENT_DYNCREATE(ToggleListView, CListView) BEGIN_MESSAGE_MAP(ToggleListView, CListView) ON_WM_CREATE() ON_WM_SIZE() ON_WM_MEASUREITEM_REFLECT() ON_NOTIFY_REFLECT(NM_CLICK, OnNMClick) END_MESSAGE_MAP() /** * Protected constructor used by dynamic creation. */ ToggleListView::ToggleListView() { onIcon = NULL; offIcon = NULL; disabledIcon = NULL; } /** * Destructor. */ ToggleListView::~ToggleListView() { } /** * Sets the tree icons to dispay for each of the three states. Sets the * icons to display for each of the three states. The values passed in * are the resource name that can be generated using MAKEINTRESOUCE. If * the value passed in is NULL then an icon will not be drawn for that * state. * @param disabled The icon to draw when the state is TOGGLE_STATE_DISABLED. * @param on The icon to draw when the state is TOGGLE_STATE_ON. * @param off The icon to draw when the state is TOGGLE_STATE_OFF. */ void ToggleListView::SetToggleIcons(LPCSTR disabled, LPCSTR on, LPCSTR off) { if(on) { onIcon = (HICON)LoadImage ( AfxGetInstanceHandle(), on, IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR|LR_LOADMAP3DCOLORS ); } else { onIcon = NULL; } if(off) { offIcon = (HICON)LoadImage ( AfxGetInstanceHandle(), off, IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR|LR_LOADMAP3DCOLORS ); } else { offIcon = NULL; } if(disabled) { disabledIcon = (HICON)LoadImage ( AfxGetInstanceHandle(), disabled, IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR|LR_LOADMAP3DCOLORS ); } else { disabledIcon = NULL; } } /** * Sets the state of an item in the list. * @param index Index of the item whose state should be changed. * @param toggleState The state to set * @param notify Determines if the notification method OnStateChanged should * be called. OnStateChanged will also not be called if the state has not changed. */ void ToggleListView::SetToggleState(int index, int toggleState, bool notify) { CListCtrl& list = GetListCtrl(); assert(index >= 0 && index < list.GetItemCount()); int oldState = GetToggleState(index); list.SetItemData(index, toggleState); if(notify && oldState != toggleState) OnStateChanged(index, toggleState); } /** * Gets the state of an item in the list * @param index Index of the item of which to retreive the state. */ int ToggleListView::GetToggleState(int index) { CListCtrl& list = GetListCtrl(); assert(index >= 0 && index < list.GetItemCount()); DWORD data = list.GetItemData(index); return data; } /** * Called as the window is being created and initializes icons and window styles */ int ToggleListView::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CListView::OnCreate(lpCreateStruct) == -1) return -1; CListCtrl& list = GetListCtrl(); list.SetExtendedStyle(LVS_EX_FULLROWSELECT); //Turn off the horizontal scroll bar //Todo: Figure out why the damn scroll bar pops up list.ModifyStyle(WS_HSCROLL, 0L); //Insert the one column LVCOLUMN col; col.mask = 0; list.InsertColumn(0, &col); SetToggleIcons(); return 0; } /** * Called when the window is being resized. */ void ToggleListView::OnSize(UINT nType, int cx, int cy) { CListView::OnSize(nType, cx, cy); CListCtrl& list = GetListCtrl(); list.SetColumnWidth(0, cx-1); } /** * Returns the size of each item in the toggle list. */ void ToggleListView::MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct) { lpMeasureItemStruct->itemHeight = TOGGLELIST_ITEMHEIGHT; } /** * Toggles the state of an item when the user clicks in the window. */ void ToggleListView::OnNMClick(NMHDR *pNMHDR, LRESULT *pResult) { CListCtrl& list = GetListCtrl(); DWORD dwpos = GetMessagePos(); LVHITTESTINFO info; info.pt.x = LOWORD(dwpos); info.pt.y = HIWORD(dwpos); ::MapWindowPoints(HWND_DESKTOP, pNMHDR->hwndFrom, &info.pt, 1); int index = list.HitTest(&info); if ( index != -1 ) { int toggleState = GetToggleState(index); if(toggleState != TOGGLE_STATE_DISABLED) { RECT rItem; list.GetItemRect(index, &rItem, LVIR_BOUNDS); if ( info.pt.x < TOGGLELIST_ITEMHEIGHT ) { if(toggleState == TOGGLE_STATE_ON) { SetToggleState(index, TOGGLE_STATE_OFF, true); } else { SetToggleState(index, TOGGLE_STATE_ON, true); } } } } *pResult = 0; } /** * Sets some window styles before the window is created. */ BOOL ToggleListView::PreCreateWindow(CREATESTRUCT& cs) { //Set the required style for the toggle view cs.style &= ~LVS_TYPEMASK; cs.style |= LVS_REPORT | LVS_OWNERDRAWFIXED | LVS_NOCOLUMNHEADER | LVS_SHOWSELALWAYS; return CListView::PreCreateWindow(cs); } /** * Responsible for drawing each list item. */ void ToggleListView::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct) { CListCtrl& ListCtrl=GetListCtrl(); int nItem = lpDrawItemStruct->itemID; // get item data LV_ITEM lvi; _TCHAR szBuff[MAX_PATH]; memset(&lvi, 0, sizeof(LV_ITEM)); lvi.mask = LVIF_TEXT; lvi.iItem = nItem; lvi.pszText = szBuff; lvi.cchTextMax = sizeof(szBuff); ListCtrl.GetItem(&lvi); RECT rDraw; CopyRect ( &rDraw, &lpDrawItemStruct->rcItem ); rDraw.right = rDraw.left + TOGGLELIST_ITEMHEIGHT; rDraw.top ++; rDraw.right ++; FrameRect ( lpDrawItemStruct->hDC, &rDraw, (HBRUSH)GetStockObject ( BLACK_BRUSH ) ); rDraw.right --; FillRect ( lpDrawItemStruct->hDC, &rDraw, GetSysColorBrush ( COLOR_3DFACE ) ); Draw3dRect ( lpDrawItemStruct->hDC, &rDraw, GetSysColorBrush ( COLOR_3DHILIGHT ), GetSysColorBrush ( COLOR_3DSHADOW ) ); InflateRect ( &rDraw, -3, -3 ); Draw3dRect ( lpDrawItemStruct->hDC, &rDraw, GetSysColorBrush ( COLOR_3DSHADOW ), GetSysColorBrush ( COLOR_3DHILIGHT ) ); switch(GetToggleState(lvi.iItem)) { case TOGGLE_STATE_DISABLED: if(disabledIcon) { DrawIconEx ( lpDrawItemStruct->hDC, rDraw.left, rDraw.top, disabledIcon, 16, 16,0, NULL, DI_NORMAL ); } break; case TOGGLE_STATE_ON: if(onIcon) { DrawIconEx ( lpDrawItemStruct->hDC, rDraw.left, rDraw.top, onIcon, 16, 16,0, NULL, DI_NORMAL ); } break; case TOGGLE_STATE_OFF: if(offIcon) { DrawIconEx ( lpDrawItemStruct->hDC, rDraw.left, rDraw.top, offIcon, 16, 16,0, NULL, DI_NORMAL ); } break; }; CopyRect ( &rDraw, &lpDrawItemStruct->rcItem ); rDraw.left += TOGGLELIST_ITEMHEIGHT; rDraw.left += 1; if ( lpDrawItemStruct->itemState & ODS_SELECTED ) { FillRect ( lpDrawItemStruct->hDC, &rDraw, GetSysColorBrush ( COLOR_HIGHLIGHT ) ); } else { FillRect ( lpDrawItemStruct->hDC, &rDraw, GetSysColorBrush ( COLOR_WINDOW ) ); } rDraw.left += TEXT_OFFSET; int colorIndex = ( (lpDrawItemStruct->itemState & ODS_SELECTED ) ? COLOR_HIGHLIGHTTEXT : COLOR_WINDOWTEXT ); SetTextColor ( lpDrawItemStruct->hDC, GetSysColor ( colorIndex ) ); DrawText ( lpDrawItemStruct->hDC, szBuff, strlen(szBuff), &rDraw, DT_LEFT|DT_VCENTER|DT_SINGLELINE ); } /** * Draws a 3d rectangle using the given brushes this code was taken from the gui editor */ void ToggleListView::Draw3dRect (HDC hDC, RECT* rect, HBRUSH topLeft, HBRUSH bottomRight) { RECT rOut; SetRect ( &rOut, rect->left, rect->top, rect->right - 1, rect->top + 1 ); FillRect ( hDC,&rOut, topLeft ); SetRect ( &rOut, rect->left, rect->top, rect->left + 1, rect->bottom ); FillRect( hDC,&rOut, topLeft ); SetRect ( &rOut, rect->right, rect->top, rect->right -1, rect->bottom ); FillRect( hDC,&rOut, bottomRight ); SetRect ( &rOut, rect->left, rect->bottom, rect->right, rect->bottom - 1 ); FillRect( hDC,&rOut, bottomRight ); }
[ "sjm@sjm.io" ]
sjm@sjm.io
e4a350e5f834c0b9ebf9d5b6d61ad43356319b30
fcc81c9d817849bde0c9f381f13253c7872a132d
/tests/Internationalization_Test.cpp
a86f586e25a4b21e1a5cec99646b34c994c50f68
[]
no_license
jmarrec/QtInternationalization
e1096fec3ac5f0b10aebe81a5d9849ab2b121dc7
94b5f6db3e35143e05378cdf622c1f2c234bc99a
refs/heads/main
2023-05-04T15:11:31.427969
2021-04-28T11:50:49
2021-04-28T11:50:49
362,245,710
4
0
null
2021-04-28T09:24:45
2021-04-27T20:43:31
CMake
UTF-8
C++
false
false
1,680
cpp
#include "../mainwindow.hpp" #include <QtTest/QtTest> #include <QtWidgets> #include <qnamespace.h> class InternationalizationTest: public QObject { Q_OBJECT private slots: void testGui(); private: MainWindow m; }; void InternationalizationTest::testGui() { //QApplication::setActiveWindow(&m); m.m_actionES->trigger(); QApplication::processEvents(); QCOMPARE(m.m_button->text(), QString("\u00A1Hola mundo!. <FIXED VAL>. Otra frase traducible")); QCOMPARE(m.m_button->text(), QString("¡Hola mundo!. <FIXED VAL>. Otra frase traducible")); QCOMPARE(m.m_langMenu->title(), QString("&Idioma")); QCOMPARE(m.m_actionEN->text(), QString("Inglés")); QCOMPARE(m.m_actionFR->text(), QString("Frances")); QCOMPARE(m.m_actionES->text(), QString("Español")); m.m_actionFR->trigger(); QApplication::processEvents(); QCOMPARE(m.m_button->text(), QString("Bonjour le Monde !. <FIXED VAL>. Une autre phrase traduisible")); QCOMPARE(m.m_langMenu->title(), QString("&Langue")); QCOMPARE(m.m_actionEN->text(), QString("Anglais")); QCOMPARE(m.m_actionFR->text(), QString("Français")); QCOMPARE(m.m_actionES->text(), QString("Espagnol")); m.m_actionEN->trigger(); QApplication::processEvents(); QCOMPARE(m.m_button->text(), QString("Hello World!. <FIXED VAL>. Another translatable phrase")); QCOMPARE(m.m_langMenu->title(), QString("&Language")); QCOMPARE(m.m_actionEN->text(), QString("English")); QCOMPARE(m.m_actionFR->text(), QString("French")); QCOMPARE(m.m_actionES->text(), QString("Spanish")); } QTEST_MAIN(InternationalizationTest) #include <Internationalization_Test.moc>
[ "julien.marrec@gmail.com" ]
julien.marrec@gmail.com
85d5f8930a23110b274e02ff666e0cb504457fdf
228367da81e0e8a29ea5410b90b57c1cf97ba270
/src/qtpsd.h
3cab0d6d70b070381a25c57992e9630480e51d76
[ "MIT" ]
permissive
qtpm/QtPSD
64426f9b237cbc3279197da02244899fd3b3f985
9cee59eb31370b0cb762a97311fbf5769ab7aa41
refs/heads/master
2021-01-10T04:47:13.647077
2016-03-08T17:02:07
2016-03-08T17:02:07
53,412,269
8
1
null
null
null
null
UTF-8
C++
false
false
277
h
#ifndef QTPSD_H #define QTPSD_H #include "qtpsd_global.h" #include <QString> #include <QImage> /*! * \namespace QPSD * * \brief QPSD namespace contains PSD file loader functions. */ namespace QPSD { QImage loadWholeImage(const QString filePath); } #endif // QTPSD_H
[ "shibukawa.yoshiki@dena.jp" ]
shibukawa.yoshiki@dena.jp
ec390d10df692b6e2cfa6b1aa0fd5a937607bcb6
c7f24f8c6f9dc59ae4f79ca78de8b78d82c52c5c
/02_dhQuat/3d/dhMat.cpp
185327d2295dbdd3dbbff62e95d07cc605983b90
[]
no_license
dalek7/Eigen
fc473f5276c1c9343ef02c25f7233bb441c358cc
62e70a008bd4d93c09f558ca08fd021ff22e63da
refs/heads/master
2022-09-17T05:56:48.975209
2022-09-13T11:52:12
2022-09-13T11:52:12
171,279,034
0
0
null
2022-09-07T08:06:06
2019-02-18T12:18:56
C++
UTF-8
C++
false
false
7,102
cpp
#include "stdafx.h" #include "dhMat.h" #ifndef PI #define PI 3.14159265358979323 /* 180 deg */ #endif #ifndef DEG #define DEG(a) (180.*a/PI ) #endif #ifndef RAD #define RAD(a) (PI*a/180.) #endif using namespace std; ostream & operator<<(ostream & out, const dhMat m) { out << m.v[0] << ", " << m.v[4]<< ", "<< m.v[8] << ", " << m.v[12] << endl << m.v[1] << ", " << m.v[5]<< ", "<< m.v[9] << ", " << m.v[13] << endl << m.v[2] << ", " << m.v[6]<< ", "<< m.v[10] << ", " << m.v[14] << endl << m.v[3] << ", " << m.v[7]<< ", "<< m.v[11] << ", " << m.v[15] << endl; // access private data return out; } dhMat::dhMat() { I(); } dhMat::dhMat(float x,float y,float z) { I(); v[12] = x; v[13] = y; v[14] = z; } dhMat::dhMat(dhVector p) { I(); v[12] = p.x; v[13] = p.y; v[14] = p.z; } void dhMat::I() { memset( v,0,sizeof(float)*16); v[0] = 1; v[5] = 1; v[10] = 1; v[15] = 1; } dhMat dhMat::RotX( float f) { dhMat ret; ret.v[5] = cos(f); ret.v[9] = -sin(f); ret.v[6] = sin(f); ret.v[10] = cos(f); return ret; } dhMat dhMat::RotY( float f) { dhMat ret; ret.v[0] = cos(f); ret.v[8] = sin(f); ret.v[2] = -sin(f); ret.v[10] = cos(f); return ret; } dhMat dhMat::RotZ( float f) { dhMat ret; ret.v[0] = cos(f); ret.v[4] = -sin(f); ret.v[1] = sin(f); ret.v[5] = cos(f); return ret; } dhMat dhMat::Trans(float x,float y,float z) { dhMat ret; ret.v[12] = x; ret.v[13] = y; ret.v[14] = z; return ret; } dhMat dhMat::Trans( dhVector v) { dhMat ret; ret.v[12] = v.x; ret.v[13] = v.y; ret.v[14] = v.z; return ret; } dhMat dhMat::operator+(dhVector& v) { dhMat ret = *this; ret.v[12] = this->v[12]+v.x; ret.v[13] = this->v[13]+v.y; ret.v[14] = this->v[14]+v.z; return ret; } dhMat dhMat::operator+(dhMat& m) { dhMat ret; for (int i=0;i<16;i++) ret.v[i] = v[i]+m.v[i]; return ret; } dhMat dhMat::operator-(dhMat& m) { dhMat ret; for (int i=0;i<16;i++) ret.v[i] = v[i]-m.v[i]; return ret; } dhMat dhMat::operator *(dhMat& m) { dhMat ret; for ( int i=0;i<4;i++) for ( int j=0;j<4;j++) { float sum = 0; for( int k=0;k<4;k++) sum+=( v[k*4+i]*m.v[j*4+k] ); ret.v[j*4+i] = sum; } return ret; } dhMat dhMat::operator *(float f) { dhMat ret; for ( int i=0;i<4;i++) for ( int j=0;j<4;j++) ret.v[j*4+i] = v[j*4+i]*f; ret.v[15] = 1; return ret; } dhVector dhMat::O() { dhVector ret( v[12],v[13],v[14]); return ret; } dhMat dhMat::R() { dhMat ret; memmove( ret.v,v,sizeof(float)*12); return ret; } dhMat dhMat::T() { dhMat ret; ret.v[0] = v[0]; ret.v[1] = v[4]; ret.v[2] = v[8]; ret.v[3] = v[12]; ret.v[4] = v[1]; ret.v[5] = v[5]; ret.v[6] = v[9]; ret.v[7] = v[13]; ret.v[8] = v[2]; ret.v[9] = v[6]; ret.v[10] = v[10]; ret.v[11] = v[14]; ret.v[12] = v[3]; ret.v[13] = v[7]; ret.v[14] = v[11]; ret.v[15] = v[15]; return ret; } dhMat dhMat::H( float rx,float ry,float rz,dhVector p) { dhMat ret; ret = ret.Trans(p)*ret.RotZ(RAD(rz))*ret.RotY(RAD(ry))*ret.RotX(RAD(rx)); return ret; } dhVector dhMat::operator *(dhVector &h) { dhVector ret; ret.x = v[0]*h.x+ v[4]*h.y+v[8]*h.z+ v[12]; ret.y = v[1]*h.x+ v[5]*h.y+v[9]*h.z+ v[13]; ret.z = v[2]*h.x+ v[6]*h.y+v[10]*h.z+v[14]; return ret; } void dhMat::operator =(dhVector &p) { v[12] = p.x; v[13] = p.y; v[14] = p.z; } dhMat dhMat::RotAxis( dhVector& o,dhVector& d,float f) { dhMat unit; return RotAxis(o,d,f,unit); } dhMat dhMat::RotAxis( dhVector& o,dhVector& d,float f,dhMat prev) { float a,b,c,s; // alpha angle between projected vector on xy plane and x axis dhVector pv = d; pv.z = 0; pv = pv.Unit(); c = pv.x; c = acos(c); s = asin(pv.y); if ( c>0) { dhVector v = dhVector(1,0,0)*pv; if ( v.z<0) c*=-1; } else if ( s<0) c = 2*PI-c; a = c; // beta angle between z axis and d-o; c = d.Unit().z; b = acos(c); if ( b==0) a = 0; dhMat rot; rot = rot.RotZ(a)*rot.RotY(b)*rot.RotZ(f)*rot.RotY(-b)*rot.RotZ(-a); rot = rot.Trans(prev.O())*rot.Trans(o*-1)*rot*rot.Trans(o)*rot.Trans(prev.O()*-1); //rot = prev*rot.Trans(o*-1)*rot*rot.Trans(o)*prev.Inv(); return rot; } dhMat dhMat::RotAxis( dhVector& d) { float a,b,c,s; // alpha angle between projected vector on xy plane and x axis dhVector pv = d; pv.z = 0; pv = pv.Unit(); c = pv.x; c = acos(c); s = asin(pv.y); if ( c>0) { dhVector v = dhVector(1,0,0)*pv; if ( v.z<0) c*=-1; } else if ( s<0) c = 2*PI-c; a = c; // beta angle between z axis and d-o; c = d.Unit().z; b = acos(c); if ( b==0) a = 0; dhMat rot; rot = rot.RotZ(a)*rot.RotY(b); return rot; } dhMat dhMat::Inv() { dhMat ret; ret.v[0] = v[0]; ret.v[1] = v[4]; ret.v[2] = v[8]; ret.v[4] = v[1]; ret.v[5] = v[5]; ret.v[6] = v[9]; ret.v[8] = v[2]; ret.v[9] = v[6]; ret.v[10] = v[10]; dhVector pos = O(); pos = ret*(pos*-1); ret.v[12] = pos.x; ret.v[13] = pos.y; ret.v[14] = pos.z; return ret; } // X-Y-Z fixed angles // R_XYZ*(r, b, a) // actual : r about X_A --> b about Y_A --> a about Z_A dhVector dhMat::RPY() { //RPY( a,b,c ) = Rot(z,a)Rot(y,b)Rot(x,c) /* [Cos(a)*Cos(b), -(Cos(c)*Sin(a)) + Cos(a)*Sin(b)*Sin(c), Cos(a)*Cos(c)*Sin(b) + Sin(a)*Sin(c)), [Cos(b)*Sin(a), Cos(a)*Cos(c) + Sin(a)*Sin(b)*Sin(c) , Cos(c)*Sin(a)*Sin(b) - Cos(a)*Sin(c)), [-Sin(b) , Cos(b)*Sin(c) , Cos(b)*Cos(c) */ float a,b,r,cb; // from P.47 of J.Craig. b = atan2( -v[2],sqrt( v[0]*v[0] + v[1]*v[1]) ); cb = cos(b); a = atan2( v[1]/cb,v[0]/cb); r = atan2( v[6]/cb,v[10]/cb); // need to consider the degenerate cases, cb = 0 return dhVector(a,b,r); } dhMat dhMat::Scale(float x,float y,float z) { dhMat ret; /* ret.v[3] = x; ret.v[7] = y; ret.v[11] = z; */ return ret; } dhMat dhMat::Scale(float r) { return Scale(r,r,r); } dhMat dhMat::DeScale() { dhVector s; s.x = sqrt(v[0]*v[0]+ v[4]*v[4]+ v[8]*v[8]); s.y = sqrt(v[1]*v[1]+ v[5]*v[5]+ v[9]*v[9]); s.z = sqrt(v[2]*v[2]+ v[6]*v[6]+ v[10]*v[10]); dhMat ret; memmove( ret.v,this->v,sizeof(float)*16); ret.v[0]/=s.x; ret.v[4]/=s.x; ret.v[8]/=s.x; ret.v[1]/=s.y; ret.v[5]/=s.y; ret.v[9]/=s.y; ret.v[2]/=s.z; ret.v[6]/=s.z; ret.v[10]/=s.z; return ret; } /** * [ a b c ] * [ d e f ] * [ g h i ] */ float dhMat::determinant() const { float a = this->v[0]; float b = this->v[4]; float c = this->v[8]; float d = this->v[1]; float e = this->v[5]; float f = this->v[9]; float g = this->v[2]; float h = this->v[6]; float i = this->v[10]; float det = a * e * i + b * f * g + d * h * c - g * e * c - d * b * i - h * f * a; return det; } // Static
[ "dalek@cc" ]
dalek@cc
601fa033c17b408e000020e8c554994cf64f8a89
477c8309420eb102b8073ce067d8df0afc5a79b1
/Qt/Components/pqViewContextMenuHandler.h
e59d3d8435922ec0466fbe6dd1d9f45a79477b67
[ "LicenseRef-scancode-paraview-1.2" ]
permissive
aashish24/paraview-climate-3.11.1
e0058124e9492b7adfcb70fa2a8c96419297fbe6
c8ea429f56c10059dfa4450238b8f5bac3208d3a
refs/heads/uvcdat-master
2021-07-03T11:16:20.129505
2013-05-10T13:14:30
2013-05-10T13:14:30
4,238,077
1
0
NOASSERTION
2020-10-12T21:28:23
2012-05-06T02:32:44
C++
UTF-8
C++
false
false
2,482
h
/*========================================================================= Program: ParaView Module: pqViewContextMenuHandler.h Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the ParaView license version 1.2. See License_v1.2.txt for the full ParaView license. A copy of this license can be obtained by contacting Kitware Inc. 28 Corporate Drive Clifton Park, NY 12065 USA 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 AUTHORS 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. =========================================================================*/ /// \file pqViewContextMenuHandler.h /// \date 9/19/2007 #ifndef _pqViewContextMenuHandler_h #define _pqViewContextMenuHandler_h #include "pqComponentsExport.h" #include <QObject> class pqView; /// \class pqViewContextMenuHandler /// \brief /// The pqViewContextMenuHandler class is used to setup and cleanup /// the context menu for a view of a given type. class PQCOMPONENTS_EXPORT pqViewContextMenuHandler : public QObject { Q_OBJECT public: /// \brief /// Constructs a view context menu handler. /// \param parent The parent object. pqViewContextMenuHandler(QObject *parent=0); virtual ~pqViewContextMenuHandler() {} /// \brief /// Sets up the context menu for the given view. /// /// The pqViewContextMenuManager maps the view type to the correct /// handler and calls this method to set up the context menu. /// /// \param view The view to set up. virtual void setupContextMenu(pqView *view)=0; /// \brief /// Cleans up the context menu for the given view. /// \param view The view to clean up. virtual void cleanupContextMenu(pqView *view)=0; }; #endif
[ "aashish.chaudhary@kitware.com" ]
aashish.chaudhary@kitware.com
a8a2f8ebaf2b1d271fe8a298815b43ea3c3efdb0
f5ba78fef5d050f2d351067113cbb5e2f7701bae
/mkdir.h
d5b871024121aa39d7ddad0a8bb8b16f30f18c02
[]
no_license
pingcuang/yolov3new
aa5ca28874dd924cfea9569d987186df444ad954
d47116f5578f65a815c0da0f7334cd1b80b2b916
refs/heads/master
2020-04-16T01:56:12.131717
2019-01-11T06:52:13
2019-01-11T06:52:40
165,191,545
2
0
null
null
null
null
UTF-8
C++
false
false
2,750
h
#pragma once #include<direct.h> //头文件 #include<iostream> #include<vector> #include<opencv2/opencv.hpp> #include<stdio.h> #include<io.h> void createdir(std::string dirname) { int m = 0, n; std::string str1, str2; str1 = dirname; str2 = str1.substr(0, 2); str1 = str1.substr(3, str1.size()); while (m >= 0) { m = str1.find('\\'); str2 += '\\' + str1.substr(0, m); //判断该目录是否存在 n = _access(str2.c_str(), 0); if (n == -1) { //创建目录文件 _mkdir(str2.c_str()); } str1 = str1.substr(m + 1, str1.size()); } } long long splitpath(std::string path) { std::string s = path; int wen = s.find('_'); std::string sub = s.substr(wen + 1, s.length() - wen - 1); int cha = sub.find(".jpg"); std::string sub1 = sub.substr(0, cha); std::string::iterator it; for (it = sub1.begin(); it != sub1.end(); ++it) { if (*it == '.') { sub1.erase(it); } } //std::cout << "sub1:" << sub1 << std::endl; long long result; std::istringstream is(sub1); is >> result; return result; } void deleteimg(std::string folder) { char *buffer; //也可以将buffer作为输出参数 if ((buffer = _getcwd(NULL, 0)) == NULL) { perror("getcwd error"); } std::string s(buffer); time_t rawtime; struct tm *ptminfo; time(&rawtime); ptminfo = localtime(&rawtime); long long nowtime; std::string month = ((std::to_string(ptminfo->tm_mon + 1)).length() == 1) ? ("0" + (std::to_string(ptminfo->tm_mon + 1))) : (std::to_string(ptminfo->tm_mon + 1)); std::string day = ((std::to_string(ptminfo->tm_mday)).length() == 1) ? ("0" + (std::to_string(ptminfo->tm_mday))) : (std::to_string(ptminfo->tm_mday)); std::string hour = ((std::to_string(ptminfo->tm_hour)).length() == 1) ? ("0" + (std::to_string(ptminfo->tm_hour))) : (std::to_string(ptminfo->tm_hour)); std::string min = ((std::to_string(ptminfo->tm_min)).length() == 1) ? ("0" + (std::to_string(ptminfo->tm_min))) : (std::to_string(ptminfo->tm_min)); std::string sec = ((std::to_string(ptminfo->tm_sec)).length() == 1) ? ("0" + (std::to_string(ptminfo->tm_sec))) : (std::to_string(ptminfo->tm_sec)); std::string abcd = std::to_string(ptminfo->tm_year + 1900) + month + day + hour + min + sec; std::istringstream is(abcd); is >> nowtime; //std::cout << nowtime << std::endl; //folder = s + "\\" + folder; //std::cout << "folder:" << folder << std::endl; std::vector<cv::String> filenames; cv::glob(folder, filenames); free(buffer); for (int i = 0; i < filenames.size(); i++) { long long result = splitpath(filenames[i]); if (nowtime - result > 500) { remove((char*)filenames[i].operator std::string().c_str()); } //std::cout << filenames[i] << " jieguo:"<<result<<" nowtime: "<<nowtime<<std::endl; } }
[ "763262068@qq.com" ]
763262068@qq.com
4e3ec33ee36b93736c72531374e6e3a6f622337a
bbcda48854d6890ad029d5973e011d4784d248d2
/trunk/win/Source/Includes/Boost/fusion/algorithm/transformation/pop_front.hpp
6e59a73e77071e4cfe37caad9df0e0d53f419110
[ "Apache-2.0", "BSL-1.0", "MIT", "curl", "LGPL-2.1-or-later", "BSD-3-Clause", "LicenseRef-scancode-public-domain", "LGPL-2.1-only", "Zlib", "LicenseRef-scancode-unknown", "LicenseRef-scancode-unknown-license-reference", "MS-LPL" ]
permissive
dyzmapl/BumpTop
9c396f876e6a9ace1099b3b32e45612a388943ff
1329ea41411c7368516b942d19add694af3d602f
refs/heads/master
2020-12-20T22:42:55.100473
2020-01-25T21:00:08
2020-01-25T21:00:08
236,229,087
0
0
Apache-2.0
2020-01-25T20:58:59
2020-01-25T20:58:58
null
UTF-8
C++
false
false
1,419
hpp
/*============================================================================= Copyright (c) 2001-2006 Joel de Guzman 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) ==============================================================================*/ #if !defined(FUSION_POP_FRONT_09172005_1115) #define FUSION_POP_FRONT_09172005_1115 #include <boost/fusion/view/iterator_range/iterator_range.hpp> #include <boost/fusion/sequence/intrinsic/begin.hpp> #include <boost/fusion/sequence/intrinsic/end.hpp> #include <boost/fusion/iterator/next.hpp> namespace boost { namespace fusion { namespace result_of { template <typename Sequence> struct pop_front { typedef iterator_range< typename next< typename begin<Sequence>::type >::type , typename end<Sequence>::type > type; }; } template <typename Sequence> inline typename result_of::pop_front<Sequence const>::type pop_front(Sequence const& seq) { typedef typename result_of::pop_front<Sequence const>::type result; return result(fusion::next(fusion::begin(seq)), fusion::end(seq)); } }} #endif
[ "anandx@google.com" ]
anandx@google.com
0fb7c378b0447721dafb2755f2893915a1b6f8a3
5a5a0e581c4d0d1f11bf6e91a73d8b242e44cd74
/final_1/help.h
d6ea15f7ef18fb11cdc0116a13f9394e8ca16db6
[]
no_license
tpchris1/Bombman
cf6b3b9b441126ff13a44a7e6272da4d7da395e6
009c2cb387a00eab133b7a37d82c619610d852ce
refs/heads/master
2020-05-27T03:44:22.889859
2019-05-24T18:39:57
2019-05-24T18:39:57
188,469,777
4
0
null
null
null
null
UTF-8
C++
false
false
410
h
#ifndef HELP_H #define HELP_H #include <QWidget> #include <QWidget> #include <QTimer> class Help : public QWidget { Q_OBJECT public: explicit Help(QWidget *parent = 0); int pos_x1,pos_x2,pos_x3,pos_x4,s_pos_x; int startmode,choose; protected: void paintEvent(QPaintEvent *); signals: private: QString StartModeImg[2]; QString Instruction[4]; public slots: }; #endif // HELP_H
[ "topchrischang@hotmail.com" ]
topchrischang@hotmail.com
b9e3df654aaeb47e0050f3cc75697a70546a9f77
cde72953df2205c2322aac3debf058bb31d4f5b9
/win10.19042/System32/srumapi.dll.cpp
d23492e25b573418bb2d1e2f709bd54ef6b54cba
[]
no_license
v4nyl/dll-exports
928355082725fbb6fcff47cd3ad83b7390c60c5a
4ec04e0c8f713f6e9a61059d5d87abc5c7db16cf
refs/heads/main
2023-03-30T13:49:47.617341
2021-04-10T20:01:34
2021-04-10T20:01:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,423
cpp
#print comment(linker, "/export:DllCanUnloadNow=\"C:\\Windows\\System32\\srumapi.dll\"") #print comment(linker, "/export:DllGetClassObject=\"C:\\Windows\\System32\\srumapi.dll\"") #print comment(linker, "/export:DllRegisterServer=\"C:\\Windows\\System32\\srumapi.dll\"") #print comment(linker, "/export:DllUnregisterServer=\"C:\\Windows\\System32\\srumapi.dll\"") #print comment(linker, "/export:SruCreateCheckpoint=\"C:\\Windows\\System32\\srumapi.dll\"") #print comment(linker, "/export:SruCreateEnergyNotificationServer=\"C:\\Windows\\System32\\srumapi.dll\"") #print comment(linker, "/export:SruDeleteStatsByAppName=\"C:\\Windows\\System32\\srumapi.dll\"") #print comment(linker, "/export:SruFreeRecordSet=\"C:\\Windows\\System32\\srumapi.dll\"") #print comment(linker, "/export:SruQueryStats=\"C:\\Windows\\System32\\srumapi.dll\"") #print comment(linker, "/export:SruQueryStatsBySeqNumber=\"C:\\Windows\\System32\\srumapi.dll\"") #print comment(linker, "/export:SruQueryStatsEx=\"C:\\Windows\\System32\\srumapi.dll\"") #print comment(linker, "/export:SruRegisterRealTimeStats=\"C:\\Windows\\System32\\srumapi.dll\"") #print comment(linker, "/export:SruRetrieveEnergyRecord=\"C:\\Windows\\System32\\srumapi.dll\"") #print comment(linker, "/export:SruUnregisterRealTimeStats=\"C:\\Windows\\System32\\srumapi.dll\"") #print comment(linker, "/export:SruUpdateStats=\"C:\\Windows\\System32\\srumapi.dll\"")
[ "magnus@stubman.eu" ]
magnus@stubman.eu
1c82ac0332a05206db97c72bafbadb5c8be9e5e6
58777fc784ae1d94fc442e61729be0483e944f88
/Project_VA/src/peopledetect.cpp
4b444ebe3f662ae29ef8087d77e3bbaea0aa6514
[]
no_license
jasonleakey/video_analytics_assignments
44978e0f3a08ceba849bfe96be66331a0e4fcbf2
303e36c29299bd4e4ad11759f5914857c9e4bba0
refs/heads/master
2021-01-22T13:46:49.918070
2014-07-05T23:19:20
2014-07-05T23:19:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,839
cpp
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/objdetect/objdetect.hpp" #include "opencv2/nonfree/features2d.hpp" #include "opencv2/features2d/features2d.hpp" #include "opencv2/calib3d/calib3d.hpp" #include "opencv2/highgui/highgui.hpp" #include <iostream> #include <cstring> #include <cctype> #include <stdio.h> #include <cv.h> #include <math.h> using namespace cv; using namespace std; static const bool DEBUG = true; static const bool SHOW_MATCHED_IMAGE = true; static Mat frameTemplate; static Mat frame; // static void help() // { // printf( // "\nDemonstrate the use of the HoG descriptor using\n" // " HOGDescriptor::hog.setSVMDetector(HOGDescriptor::getDefaultPeopleDetector());\n" // "Usage:\n" // "./peopledetect (<image_filename> | <image_list>.txt)\n\n"); // } static void temocTracking(Mat frameScene) { if (frameTemplate.empty() || frameScene.empty()) { return; } Mat frame_object; Mat frame_scene; if (DEBUG) { cout << "aaaaa" << endl; } // the algorithm works on GREYSCALE. cvtColor(frameTemplate, frame_object, CV_RGB2GRAY); cvtColor(frameScene, frame_scene, CV_RGB2GRAY); // Use SURF alorithm. int minHessian = 400; // SiftFeatureDetector detector; SurfFeatureDetector detector(minHessian); std::vector<KeyPoint> keypoints_1, keypoints_2; // detect keypoints detector.detect(frame_object, keypoints_1); detector.detect(frame_scene, keypoints_2); Mat img_keypoints_1, img_keypoints_2; if (SHOW_MATCHED_IMAGE) { // draw keypoints in memory. drawKeypoints(frame_object, keypoints_1, img_keypoints_1, Scalar::all(-1), DrawMatchesFlags::DEFAULT); drawKeypoints(frame_scene, keypoints_2, img_keypoints_2, Scalar::all(-1), DrawMatchesFlags::DEFAULT); imshow("sift_keypoints_1", img_keypoints_1); imshow("sift_keypoints_2", img_keypoints_2); } if (keypoints_1.empty() || keypoints_2.empty()) { if (DEBUG) cerr << "NO KEYPOINTS!" << endl; return; } // use surf? //SiftDescriptorExtractor extractor; SurfDescriptorExtractor extractor; Mat descriptors_1, descriptors_2; // compute the descriptors from keypoints extractor.compute(frame_object, keypoints_1, descriptors_1); extractor.compute(frame_scene, keypoints_2, descriptors_2); if (descriptors_1.empty() || descriptors_2.empty()) { if (DEBUG) cerr << "NO DESCRIPTORS!" << endl; return; } double max_dist = 0; double min_dist = 100; FlannBasedMatcher matcher; vector<DMatch> matches; matcher.match(descriptors_1, descriptors_2, matches); // Quick calculation of max and min distances between keypoints for (int i = 0; i < descriptors_1.rows; i++) { double dist = matches[i].distance; if (dist < min_dist) min_dist = dist; if (dist > max_dist) max_dist = dist; } // Draw only "good" matches (i.e. whose distance is less than 3*min_dist ) vector<DMatch> good_matches; for (int i = 0; i < descriptors_1.rows; i++) { if (matches[i].distance < 3 * min_dist) { good_matches.push_back(matches[i]); } } Mat img_matches; if (SHOW_MATCHED_IMAGE) { drawMatches(frame_object, keypoints_1, frame_scene, keypoints_2, good_matches, img_matches, Scalar::all(-1), Scalar::all(-1), vector<char>(), DrawMatchesFlags::NOT_DRAW_SINGLE_POINTS); } //-- Localize the object std::vector<Point2f> obj; std::vector<Point2f> scene; for (int i = 0; i < good_matches.size(); i++) { // Get the keypoints from the good matches obj.push_back(keypoints_1[good_matches[i].queryIdx].pt); scene.push_back(keypoints_2[good_matches[i].trainIdx].pt); } // too few matches to get the homography. ignore. if (good_matches.size() < 4) { return; } // find the transform between matched keypoints. Mat H = findHomography(obj, scene, CV_RANSAC); //-- Get the corners from the image_1 ( the object to be "detected" ) std::vector<Point2f> obj_corners(4); obj_corners[0] = cvPoint(0, 0); obj_corners[1] = cvPoint(frame_object.cols, 0); obj_corners[2] = cvPoint(frame_object.cols, frame_object.rows); obj_corners[3] = cvPoint(0, frame_object.rows); std::vector<Point2f> scene_corners(4); // Performs the perspective matrix transformation of vectors. perspectiveTransform(obj_corners, scene_corners, H); if (SHOW_MATCHED_IMAGE) { // Draw lines between the corners (the mapped object in the scene - image_2 ) line(img_matches, scene_corners[0] + Point2f(frame_object.cols, 0), scene_corners[1] + Point2f(frame_object.cols, 0), Scalar(0, 255, 0), 4); line(img_matches, scene_corners[1] + Point2f(frame_object.cols, 0), scene_corners[2] + Point2f(frame_object.cols, 0), Scalar(0, 255, 0), 4); line(img_matches, scene_corners[2] + Point2f(frame_object.cols, 0), scene_corners[3] + Point2f(frame_object.cols, 0), Scalar(0, 255, 0), 4); line(img_matches, scene_corners[3] + Point2f(frame_object.cols, 0), scene_corners[0] + Point2f(frame_object.cols, 0), Scalar(0, 255, 0), 4); } //-- Draw lines between the corners in output iamge line(frame, scene_corners[0], scene_corners[1], Scalar(0, 255, 0), 4); line(frame, scene_corners[1], scene_corners[2], Scalar(0, 255, 0), 4); line(frame, scene_corners[2], scene_corners[3], Scalar(0, 255, 0), 4); line(frame, scene_corners[3], scene_corners[0], Scalar(0, 255, 0), 4); if (SHOW_MATCHED_IMAGE) { // show the line segments namedWindow("Surf Matches", 0); imshow("Surf Matches", img_matches); } } int main(int argc, char** argv) { Mat img; FILE* f = 0; char _filename[1024]; // VideoCapture capture("2014-04-12 21.22.05.mp4"); // VideoCapture capture("2014-04-12 21.23.42.mp4"); VideoCapture capture("2014-05-04-115055.webm"); // VideoCapture capture("2014-04-12 21.20.28.mp4"); // frameTemplate = imread("2014-04-12 21.24.02_300x128.jpg"); if (argc > 1 && false) { img = imread(argv[1]); if (img.data) { strcpy(_filename, argv[1]); } else { f = fopen(argv[1], "rt"); if (!f) { fprintf(stderr, "ERROR: the specified file could not be loaded\n"); return -1; } } } else { if (!capture.isOpened()) { cout << "Webcam cannot be opened!" << endl; return 0; } } HOGDescriptor hog; hog.setSVMDetector(HOGDescriptor::getDefaultPeopleDetector()); namedWindow("people detector", WINDOW_NORMAL); for (;;) { if (argc > 1 && false) { char* filename = _filename; if (f) { if (!fgets(filename, (int) sizeof(_filename) - 2, f)) break; //while(*filename && isspace(*filename)) // ++filename; if (filename[0] == '#') continue; int l = (int) strlen(filename); while (l > 0 && isspace(filename[l - 1])) --l; filename[l] = '\0'; img = imread(filename); } printf("%s:\n", filename); if (!img.data) continue; } else { capture >> img; if (img.empty()) { cerr << "Empty frame. " << endl; return 0; } } cout << img.size() << endl; float scale = 1; int w = img.size().width * scale; int h = img.size().height * scale; resize(img, img, Size(w, h), 0, 0, CV_INTER_AREA); // transpose(img, img); // flip(img, img, 1); cout << img.size() << endl; fflush(stdout); vector<Rect> found, found_filtered; double t = (double) getTickCount(); // run the detector with default parameters. to get a higher hit-rate // (and more false alarms, respectively), decrease the hitThreshold and // groupThreshold (set groupThreshold to 0 to turn off the grouping completely). hog.detectMultiScale(img, found, 0, Size(8, 8), Size(32, 32), 1.05, 2); t = (double) getTickCount() - t; printf("\tdetection time = %gms\n", t * 1000. / cv::getTickFrequency()); cout << "aaa" << endl; size_t i, j; for (i = 0; i < found.size(); i++) { Rect r = found[i]; for (j = 0; j < found.size(); j++) if (j != i && (r & found[j]) == r) break; if (j == found.size()) found_filtered.push_back(r); } cout << "bbb" << endl; Mat imgCopy = img.clone(); Rect max; int idx = -1; for (i = 0; i < found_filtered.size(); i++) { Rect r = found_filtered[i]; // the HOG detector returns slightly larger rectangles than the real objects. // so we slightly shrink the rectangles to get a nicer output. r.x += cvRound(r.width * 0.1); r.width = cvRound(r.width * 0.8); r.y += cvRound(r.height * 0.07); r.height = cvRound(r.height * 0.8); rectangle(img, r.tl(), r.br(), cv::Scalar(0, 255, 0), 3); if (r.area() > max.area()) { max = r; idx = i; } } cout << "ccc" << endl; if (idx >= 0) { frame = imgCopy(max & Rect(0, 0, img.cols, img.rows)); cout << max.x << "," << max.y << ";" << max.width << "," << max.height << endl; temocTracking(imgCopy); } cout << "ddd" << endl; imshow("people detector", img); int c = waitKey(20) & 255; if (c == 'q' || c == 'Q') break; } if (f) fclose(f); return 0; }
[ "yetianhuang.cs@gmail.com" ]
yetianhuang.cs@gmail.com
5a2bbdaf119e7d1e2a8560a270cb73017bf6f8b8
bc24f3d1dfd76dddce1e0e0e00ec6c28818496f3
/source/GUITab.cpp
65ad674d766d91cf6b96bb28502fd065d33d96a0
[ "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-unknown-license-reference", "Zlib" ]
permissive
vonLeebpl/WKIrrlichtLime
515ff5031c06680219d91f31e5d46575a5214a03
79e17540574bceaecc27049d99eb4ee2f6ca3479
refs/heads/master
2021-04-21T08:19:39.320661
2020-04-26T10:57:01
2020-04-26T10:57:01
249,764,538
0
0
null
null
null
null
UTF-8
C++
false
false
1,204
cpp
#include "stdafx.h" #include "GUIElement.h" #include "GUITab.h" using namespace irr; using namespace System; namespace IrrlichtLime { namespace GUI { GUITab^ GUITab::Wrap(gui::IGUITab* ref) { if (ref == nullptr) return nullptr; return gcnew GUITab(ref); } GUITab::GUITab(gui::IGUITab* ref) : GUIElement(ref) { LIME_ASSERT(ref != nullptr); m_GUITab = ref; } Video::Color^ GUITab::BackgroundColor::get() { return gcnew Video::Color(m_GUITab->getBackgroundColor()); } void GUITab::BackgroundColor::set(Video::Color^ value) { LIME_ASSERT(value != nullptr); m_GUITab->setBackgroundColor(*value->m_NativeValue); } bool GUITab::DrawBackground::get() { return m_GUITab->isDrawingBackground(); } void GUITab::DrawBackground::set(bool value) { m_GUITab->setDrawBackground(value); } int GUITab::Index::get() { return m_GUITab->getNumber(); } Video::Color^ GUITab::TextColor::get() { return gcnew Video::Color(m_GUITab->getTextColor()); } void GUITab::TextColor::set(Video::Color^ value) { LIME_ASSERT(value != nullptr); m_GUITab->setTextColor(*value->m_NativeValue); } } // end namespace GUI } // end namespace IrrlichtLime
[ "greenyadzer@gmail.com" ]
greenyadzer@gmail.com
a1ecffd26312a800b354381f435d906fad30758b
370881312084d8d2ce0f9c8dce147b81a3a9a923
/Game_Code/Code/CryEngine/CryAction/LivePreview/RealtimeRemoteUpdate.cpp
60dda76a426b91c55379137e3cba490dbb7b1b47
[]
no_license
ShadowShell/QuestDrake
3030c396cd691be96819eec0f0f376eb8c64ac89
9be472a977882df97612efb9c18404a5d43e76f5
refs/heads/master
2016-09-05T20:23:14.165400
2015-03-06T14:17:22
2015-03-06T14:17:22
31,463,818
3
2
null
2015-02-28T18:26:22
2015-02-28T13:45:52
C++
UTF-8
C++
false
false
19,094
cpp
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2001-2004. ------------------------------------------------------------------------- $Id: RealtimeRemoteUpdate.cpp,v 1.1 2009/01/03 10:45:15 Paulo Zaffari Exp wwwrun $ $DateTime$ Description: This is the source file for the module Realtime remote update. The purpose of this module is to allow data update to happen remotely so that you can, for example, edit the terrain and see the changes in the console. ------------------------------------------------------------------------- History: - 03:01:2009 10:45: Created by Paulo Zaffari - 23:09:2009 10:39: Merged c2 version to main and moved to the engine by Johnmichael Quinlan *************************************************************************/ #include "StdAfx.h" #include "RealtimeRemoteUpdate.h" #include "ISystem.h" #include "I3DEngine.h" #include <IEntitySystem.h> #include "IGame.h" #include "IViewSystem.h" #include "IEntitySystem.h" #include "IGameFramework.h" #include "IGameRulesSystem.h" #ifdef XENON #include "Xtl.h" #endif //XENON // Should CERTAINLY be moved to CryCommon. template <typename TObjectType,bool bArray=false> class TScopedPointer { public: TScopedPointer(TObjectType* pPointer):m_pPointer(pPointer){} ~TScopedPointer() { if (bArray) { SAFE_DELETE_ARRAY(m_pPointer); } else { SAFE_DELETE(m_pPointer); } } protected: TObjectType* m_pPointer; }; ////////////////////////////////////////////////////////////////////////// CRealtimeRemoteUpdateListener& CRealtimeRemoteUpdateListener::GetRealtimeRemoteUpdateListener() { static CRealtimeRemoteUpdateListener oRealtimeUpdateListener; return oRealtimeUpdateListener; } ////////////////////////////////////////////////////////////////////////// bool CRealtimeRemoteUpdateListener::Enable(bool boEnable) { if (!gEnv) { return false; } if (!gEnv->pSystem) { return false; } INotificationNetwork* piNotificationNetwork=gEnv->pSystem->GetINotificationNetwork(); if (!piNotificationNetwork) { return false; } if (boEnable) { m_boIsEnabled=piNotificationNetwork->ListenerBind("RealtimeUpdate",this); } else { piNotificationNetwork->ListenerRemove(this); m_boIsEnabled=false; } return m_boIsEnabled; } ////////////////////////////////////////////////////////////////////////// bool CRealtimeRemoteUpdateListener::IsEnabled() { if (!gEnv) { return false; } if (!gEnv->pSystem) { return false; } INotificationNetwork* piNotificationNetwork=gEnv->pSystem->GetINotificationNetwork(); if (!piNotificationNetwork) { return false; } // We should instead query the notification network here. return m_boIsEnabled; } ////////////////////////////////////////////////////////////////////////// void CRealtimeRemoteUpdateListener::AddGameHandler(IRealtimeUpdateGameHandler * handler) { GameHandlerList::iterator item = m_gameHandlers.begin(); GameHandlerList::iterator end = m_gameHandlers.end(); for ( ; item != end; ++item ) { if ( handler == (*item) ) { return; //already present } } m_gameHandlers.push_back(handler); } ////////////////////////////////////////////////////////////////////////// void CRealtimeRemoteUpdateListener::RemoveGameHandler(IRealtimeUpdateGameHandler * handler) { GameHandlerList::iterator item = m_gameHandlers.begin(); GameHandlerList::iterator end = m_gameHandlers.end(); for ( ; item != end; ++item ) { if ( handler == (*item) ) { break; } } m_gameHandlers.erase(item); } ////////////////////////////////////////////////////////////////////////// void CRealtimeRemoteUpdateListener::OnNotificationNetworkReceive(const void *pBuffer, size_t length) { TDBuffer& rBuffer=*(new TDBuffer); rBuffer.resize(length,0); memcpy(&rBuffer.front(),pBuffer,length); m_ProcessingQueue.push(&rBuffer); } ////////////////////////////////////////////////////////////////////////// CRealtimeRemoteUpdateListener::CRealtimeRemoteUpdateListener(): m_boIsEnabled(false),m_lastKeepAliveMessageTime((const int64)0) { } ////////////////////////////////////////////////////////////////////////// CRealtimeRemoteUpdateListener::~CRealtimeRemoteUpdateListener() { } ////////////////////////////////////////////////////////////////////////// void CRealtimeRemoteUpdateListener::LoadArchetypes(XmlNodeRef &root) { IEntitySystem *pEntitySystem = gEnv->pEntitySystem; // Remove Entities with ID`s from the list. for (int i = 0; i < root->getChildCount(); i++) { XmlNodeRef entityNode = root->getChild(i); if (entityNode->isTag("EntityPrototype")) { pEntitySystem->LoadEntityArchetype(entityNode); } } } ////////////////////////////////////////////////////////////////////////// void CRealtimeRemoteUpdateListener::LoadTimeOfDay( XmlNodeRef &root ) { gEnv->p3DEngine->GetTimeOfDay()->Serialize( root,true ); gEnv->p3DEngine->GetTimeOfDay()->Update( true, true ); } ////////////////////////////////////////////////////////////////////////// void CRealtimeRemoteUpdateListener::LoadMaterials( XmlNodeRef &root ) { // Remove Entities with ID`s from the list. for (int i = 0; i < root->getChildCount(); i++) { XmlNodeRef mtlNode = root->getChild(i); if (mtlNode->isTag("Material")) { const char *mtlName = mtlNode->getAttr( "name" ); gEnv->p3DEngine->GetMaterialManager()->LoadMaterialFromXml( mtlName,mtlNode ); } } } ////////////////////////////////////////////////////////////////////////// void CRealtimeRemoteUpdateListener::LoadConsoleVariables(XmlNodeRef &root ) { IConsole* piConsole(NULL); char* szKey(NULL); char* szValue(NULL); ICVar* piCVar(NULL); piConsole=gEnv->pConsole; if (!piConsole) { return; } // Remove Entities with ID`s from the list. for (int i = 0; i < root->getNumAttributes(); ++i) { root->getAttributeByIndex(i,(const char**)&szKey,(const char**)&szValue); piCVar=piConsole->GetCVar(szKey); if (!piCVar) { continue; } piCVar->Set(szValue); } } ////////////////////////////////////////////////////////////////////////// void CRealtimeRemoteUpdateListener::LoadParticles(XmlNodeRef &root ) { XmlNodeRef oParticlesLibrary; XmlNodeRef oLibrary; XmlString strLibraryName; int nCurrentChild(0); int nNumberOfChildren(0); oParticlesLibrary=root->findChild("ParticlesLibrary"); if (!oParticlesLibrary) { return; } nNumberOfChildren=oParticlesLibrary->getChildCount(); for (nCurrentChild=0;nCurrentChild<nNumberOfChildren;++nCurrentChild) { oLibrary=oParticlesLibrary->getChild(nCurrentChild); if (oLibrary->isTag("Library")) { continue; } if (!oLibrary->getAttr("name",strLibraryName)) { continue; } gEnv->pParticleManager->LoadLibrary((const char*)strLibraryName,oLibrary,true); } } ////////////////////////////////////////////////////////////////////////// void CRealtimeRemoteUpdateListener::LoadTerrainLayer(XmlNodeRef &root, unsigned char* uchData) { int texId(0); int posx(0),posy(0); int w(0),h(0); int nSourceFormat(0); ETEX_Format eTFSrc(eTF_R8G8B8); if (!root->getAttr("Posx",posx)) { return; } if (!root->getAttr("Posy",posy)) { return; } if (!root->getAttr("w",w)) { return; } if (!root->getAttr("h",h)) { return; } if (!root->getAttr("ETEX_Format",nSourceFormat)) { return; } eTFSrc=(ETEX_Format)nSourceFormat; if (gEnv->pRenderer&&gEnv->p3DEngine) { texId = gEnv->pRenderer->DownLoadToVideoMemory(uchData,w,h,eTFSrc,eTFSrc, 0, false, FILTER_NONE, 0, NULL, FT_USAGE_ALLOWREADSRGB); // Swapped x & y for historical reasons. gEnv->p3DEngine->SetTerrainSectorTexture(posy,posx,texId); } } ////////////////////////////////////////////////////////////////////////// void CRealtimeRemoteUpdateListener::LoadEntities( XmlNodeRef &root ) { IEntitySystem *pEntitySystem = gEnv->pEntitySystem; bool bTransformOnly(false); bool bDeleteOnly = false; bool bRemoveAllOld = true; gEnv->pSystem->SetThreadState(ESubsys_Physics,false); if (root->haveAttr("PartialUpdate")) { bRemoveAllOld = false; } if (root->haveAttr("Delete")) { bDeleteOnly = true; } ////////////////////////////////////////////////////////////////////////// // Delete all entities except the unremovable ones and the local player. if (bRemoveAllOld) { IEntityItPtr pIt = pEntitySystem->GetEntityIterator(); if ( ! gEnv->pGame ) return; IGameFramework * piGameFramework(gEnv->pGame->GetIGameFramework()); IEntity * piRulesEntity(NULL); if (piGameFramework) { IGameRulesSystem * piGameRulesSystem(piGameFramework->GetIGameRulesSystem()); if (piGameRulesSystem) { piRulesEntity=piGameRulesSystem->GetCurrentGameRulesEntity(); } } pIt->MoveFirst(); while (!pIt->IsEnd()) { IEntity * pEntity = pIt->Next(); IEntityClass * pEntityClass=pEntity->GetClass(); uint32 nEntityFlags = pEntity->GetFlags(); // Local player must not be deleted. if (nEntityFlags & ENTITY_FLAG_LOCAL_PLAYER) continue; // Rules should not be deleted as well. if (piRulesEntity) { if (pEntity->GetId()==piRulesEntity->GetId()) { continue; } } //// Specific for GDCE //// This should ALWAYS be true //if (pEntityClass) //{ // // We don't want to sync guns now. // string strClassName(pEntityClass->GetName()); // strClassName.MakeLower(); // if (strstr(strClassName.c_str(),"gun")) // { // continue; // } //} pEntity->ClearFlags(ENTITY_FLAG_UNREMOVABLE); pEntitySystem->RemoveEntity( pEntity->GetId() ); } // Force deletion of removed entities. pEntitySystem->DeletePendingEntities(); ////////////////////////////////////////////////////////////////////////// } else { // Remove Entities with ID`s from the list. for (int i = 0; i < root->getChildCount(); i++) { XmlNodeRef objectNode = root->getChild(i); if (objectNode->isTag("Entity")) { // reserve the id EntityId id; if (objectNode->getAttr( "EntityId", id )) { IEntity * pEntity = pEntitySystem->GetEntity(id); if (!pEntity) { pEntitySystem->RemoveEntity(id,true); continue; } if (!objectNode->getAttr("TransformOnly",bTransformOnly )) { pEntity->ClearFlags(ENTITY_FLAG_UNREMOVABLE); pEntitySystem->RemoveEntity(id,true); continue; } if (!bTransformOnly) { pEntity->ClearFlags(ENTITY_FLAG_UNREMOVABLE); pEntitySystem->RemoveEntity(id,true); continue; } Vec3 oPos( 0.0f, 0.0f, 0.0f ); Vec3 oScale( 1.0f, 1.0f, 1.0f ); Quat oRotate( 1.0f, 0.0f, 0.0f, 0.0f ); bool bHasPos = objectNode->getAttr("Pos",oPos ); bool bHasRot = objectNode->getAttr("Rotate",oRotate ); bool bHasScl = objectNode->getAttr("Scale",oScale ); if( !bHasPos ) oPos = pEntity->GetPos(); if( !bHasRot ) oRotate = pEntity->GetRotation(); if( !bHasScl ) oScale = pEntity->GetScale(); pEntity->SetPosRotScale( oPos, oRotate, oScale ); } } } // Force deletion of removed entities. pEntitySystem->DeletePendingEntities(); } if (!bDeleteOnly) { pEntitySystem->LoadEntities(root, false); } // you can't pass temporaries to non-const references, so objects on the stack must be created SEntityEvent LevelLoaded(ENTITY_EVENT_LEVEL_LOADED); SEntityEvent StartGame(ENTITY_EVENT_START_GAME); pEntitySystem->SendEventToAll(LevelLoaded); pEntitySystem->SendEventToAll(StartGame); gEnv->pSystem->SetThreadState(ESubsys_Physics,true); } ////////////////////////////////////////////////////////////////////////// bool CRealtimeRemoteUpdateListener::IsSyncingWithEditor() { CTimeValue oTimeValue(gEnv->pTimer->GetAsyncTime()); oTimeValue-=m_lastKeepAliveMessageTime; return (fabs((oTimeValue).GetSeconds()) <= 30.0f); } ////////////////////////////////////////////////////////////////////////// void CRealtimeRemoteUpdateListener::Update() { while (!m_ProcessingQueue.empty()) { TDBuffer* pCurrentBuffer(m_ProcessingQueue.pop()); if (!pCurrentBuffer) { continue; } TScopedPointer<TDBuffer> oScopedPointer(pCurrentBuffer); char * const szBuffer = (char*)&(pCurrentBuffer->front()); const size_t nStringSize = strlen(szBuffer) + 1; unsigned char* const chBinaryBuffer = (unsigned char*)(szBuffer + nStringSize); const size_t nBinaryBufferSize = pCurrentBuffer->size() - nStringSize; XmlNodeRef oXmlNode = gEnv->pSystem->LoadXmlFromBuffer(szBuffer, nStringSize - 1); // Currently, if we have no XML node this is not a well formed message and // thus we stop processing. if (!oXmlNode) { continue; } if (strcmp(oXmlNode->getTag(),"SyncMessage")!=0) { continue; } string oSyncType = oXmlNode->getAttr("Type"); if (oSyncType.empty()) { continue; } size_t nBinaryDataSize = 0; if (!oXmlNode->getAttr("BinaryDataSize",nBinaryDataSize)) { continue; } #ifdef XENON // We are, this way, reseting the timer for the screensaver. XEnableScreenSaver(FALSE); XEnableScreenSaver(TRUE); #endif //XENON bool requiresFurtherProcessing = false; for ( GameHandlerList::iterator item = m_gameHandlers.begin(), end = m_gameHandlers.end(); item != end; ++item ) { if ( (*item)->UpdateGameData(oXmlNode,chBinaryBuffer) ) { requiresFurtherProcessing = true; } } if ( !requiresFurtherProcessing ) continue; static std::vector<struct IStatObj*> * pStatObjTable = NULL; static std::vector<IMaterial*> * pMatTable = NULL; if (oSyncType.compare("EngineTerrainData")==0) { gEnv->p3DEngine->LockCGFResources(); if (nBinaryDataSize>0) { if(ITerrain * piTerrain = gEnv->p3DEngine->GetITerrain()) { size_t nUncompressedBinarySize(nBinaryDataSize); unsigned char * szData = new unsigned char[nBinaryDataSize]; gEnv->pSystem->DecompressDataBlock(chBinaryBuffer,nBinaryBufferSize,szData,nUncompressedBinarySize); SHotUpdateInfo * pExportInfo = (SHotUpdateInfo *)szData; // As messages of oSyncType "EngineTerrainData" always come before // "EngineIndoorData" and are always paired together, and have // inter-dependencies amongst themselves, the locking is done here // and the unlocking is done when we receive a "EngineIndoorData". // Currently if we, for any reason, don't receive the second message, // we should expect horrible things to happen. gEnv->p3DEngine->LockCGFResources(); pStatObjTable = NULL; pMatTable = NULL; piTerrain->SetCompiledData((uint8*)szData+sizeof(SHotUpdateInfo),nBinaryDataSize-sizeof(SHotUpdateInfo),&pStatObjTable,&pMatTable,true,pExportInfo); SAFE_DELETE_ARRAY(szData); } } } else if (oSyncType.compare("EngineIndoorData")==0) { if (nBinaryDataSize>0) { if(IVisAreaManager * piIVisAreaManager = gEnv->p3DEngine->GetIVisAreaManager()) { size_t nUncompressedBinarySize(nBinaryDataSize); unsigned char * szData = new unsigned char[nBinaryDataSize]; gEnv->pSystem->DecompressDataBlock(chBinaryBuffer,nBinaryBufferSize,szData,nUncompressedBinarySize); SHotUpdateInfo * pExportInfo = (SHotUpdateInfo *)szData; if(piIVisAreaManager) piIVisAreaManager->SetCompiledData((uint8*)szData+sizeof(SHotUpdateInfo),nBinaryDataSize-sizeof(SHotUpdateInfo),&pStatObjTable,&pMatTable,true,pExportInfo); SAFE_DELETE_ARRAY(szData); } } gEnv->p3DEngine->UnlockCGFResources(); pStatObjTable = NULL; pMatTable = NULL; } else if (oSyncType.compare("Vegetation")==0) { XmlNodeRef oCurrentNode=oXmlNode->findChild("Vegetation"); } else if (oSyncType.compare("DetailLayers")==0) { XmlNodeRef oChildRootNode=oXmlNode->findChild("SurfaceTypes"); if (oChildRootNode) { gEnv->p3DEngine->LoadTerrainSurfacesFromXML(oChildRootNode,true); } } else if (oSyncType.compare("Environment")==0) { XmlNodeRef oChildRootNode=oXmlNode->findChild("Environment"); if (oChildRootNode) { gEnv->p3DEngine->LoadEnvironmentSettingsFromXML( oChildRootNode ); } } else if (oSyncType.compare("TimeOfDay")==0) { XmlNodeRef oChildRootNode=oXmlNode->findChild("TimeOfDay"); if (oChildRootNode) LoadTimeOfDay( oChildRootNode ); } else if (oSyncType.compare("Materials")==0) { XmlNodeRef oChildRootNode=oXmlNode->findChild("Materials"); if (oChildRootNode) LoadMaterials( oChildRootNode ); } else if (oSyncType.compare("EntityArchetype")==0) { XmlNodeRef oChildRootNode=oXmlNode->findChild("EntityPrototypes"); if (oChildRootNode) LoadArchetypes( oChildRootNode ); } else if (oSyncType.compare("ConsoleVariables")==0) { LoadConsoleVariables(oXmlNode); } else if (oSyncType.compare("Particles")==0) { LoadParticles(oXmlNode); } else if (oSyncType.compare("LayerTexture")==0) { if (nBinaryDataSize>0) { size_t nUncompressedBinarySize(nBinaryDataSize); unsigned char* szData=new unsigned char[nBinaryDataSize]; if (!szData) { continue; } if (!gEnv->pSystem->DecompressDataBlock(chBinaryBuffer,nBinaryBufferSize,szData,nUncompressedBinarySize)) { SAFE_DELETE_ARRAY(szData); continue; } LoadTerrainLayer(oXmlNode,szData); SAFE_DELETE_ARRAY(szData); } } else if (oSyncType.compare("Particle.Library")==0) { XmlNodeRef oChildRootNode=oXmlNode->findChild("ParticleLibrary"); if (oChildRootNode) { const char* szEffectName(NULL); oXmlNode->removeChild(oChildRootNode); if (!oChildRootNode->getAttr("Effect",&szEffectName)) { continue; } XmlNodeRef oEffectNode=oChildRootNode->findChild("Effect"); if (!oEffectNode) { continue; } gEnv->pParticleManager->LoadEffect(szEffectName,oEffectNode,true); } } else if (oSyncType.compare("ChangeLevel")==0) { if (oXmlNode->haveAttr("LevelName")) { const char* szLevelName(NULL); string strMapCommand("map "); oXmlNode->getAttr("LevelName",&szLevelName); strMapCommand+=szLevelName; gEnv->pConsole->ExecuteString(strMapCommand); } } else if (oSyncType.compare("Entities")==0) { XmlNodeRef root=oXmlNode->findChild("Entities"); if ( !root ) continue; LoadEntities(root); } else if (oSyncType.compare("GeometryList")==0) { XmlNodeRef root=oXmlNode->findChild("Geometries"); size_t nNumAttributes(root->getNumAttributes()); size_t nCurrentAttribute(0); const char* szAttributeValue(NULL); const char* szAttributeName(NULL); for (nCurrentAttribute=0;nCurrentAttribute<nNumAttributes;++nCurrentAttribute) { root->getAttributeByIndex(nCurrentAttribute,&szAttributeName,&szAttributeValue); gEnv->p3DEngine->LoadStatObj(szAttributeName); } } else if (oSyncType.compare("KeepAlive")==0) { // Here we reset the time counter for the keep alive message. m_lastKeepAliveMessageTime=gEnv->pTimer->GetAsyncTime(); } } } //////////////////////////////////////////////////////////////////////////
[ "cloudcodexmain@gmail.com" ]
cloudcodexmain@gmail.com
88a088a161247050ca40dc9980dd5af21d851239
c04366db4f98cf4c24db04bb512ff418e2bc57dc
/aws-cpp-sdk-elastictranscoder/include/aws/elastictranscoder/model/UpdatePipelineRequest.h
d74ba829e8161f6194eee52ec7785b3e19929ebb
[ "Apache-2.0", "JSON", "MIT" ]
permissive
margomw/aws-sdk-cpp
409259eb891162389bb6a1481fc0787c349252d3
5f60ff49d323c117eb1992aa059d8214a26d1506
refs/heads/master
2021-01-11T12:17:27.791797
2016-12-14T22:51:13
2016-12-14T22:51:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
60,684
h
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ #pragma once #include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h> #include <aws/elastictranscoder/ElasticTranscoderRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/elastictranscoder/model/Notifications.h> #include <aws/elastictranscoder/model/PipelineOutputConfig.h> namespace Aws { namespace ElasticTranscoder { namespace Model { /** * <p>The <code>UpdatePipelineRequest</code> structure.</p> */ class AWS_ELASTICTRANSCODER_API UpdatePipelineRequest : public ElasticTranscoderRequest { public: UpdatePipelineRequest(); Aws::String SerializePayload() const override; /** * <p>The ID of the pipeline that you want to update.</p> */ inline const Aws::String& GetId() const{ return m_id; } /** * <p>The ID of the pipeline that you want to update.</p> */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** * <p>The ID of the pipeline that you want to update.</p> */ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = value; } /** * <p>The ID of the pipeline that you want to update.</p> */ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** * <p>The ID of the pipeline that you want to update.</p> */ inline UpdatePipelineRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** * <p>The ID of the pipeline that you want to update.</p> */ inline UpdatePipelineRequest& WithId(Aws::String&& value) { SetId(value); return *this;} /** * <p>The ID of the pipeline that you want to update.</p> */ inline UpdatePipelineRequest& WithId(const char* value) { SetId(value); return *this;} /** * <p>The name of the pipeline. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.</p> <p>Constraints: Maximum 40 * characters</p> */ inline const Aws::String& GetName() const{ return m_name; } /** * <p>The name of the pipeline. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.</p> <p>Constraints: Maximum 40 * characters</p> */ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** * <p>The name of the pipeline. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.</p> <p>Constraints: Maximum 40 * characters</p> */ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; } /** * <p>The name of the pipeline. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.</p> <p>Constraints: Maximum 40 * characters</p> */ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** * <p>The name of the pipeline. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.</p> <p>Constraints: Maximum 40 * characters</p> */ inline UpdatePipelineRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** * <p>The name of the pipeline. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.</p> <p>Constraints: Maximum 40 * characters</p> */ inline UpdatePipelineRequest& WithName(Aws::String&& value) { SetName(value); return *this;} /** * <p>The name of the pipeline. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.</p> <p>Constraints: Maximum 40 * characters</p> */ inline UpdatePipelineRequest& WithName(const char* value) { SetName(value); return *this;} /** * <p>The Amazon S3 bucket in which you saved the media files that you want to * transcode and the graphics that you want to use as watermarks.</p> */ inline const Aws::String& GetInputBucket() const{ return m_inputBucket; } /** * <p>The Amazon S3 bucket in which you saved the media files that you want to * transcode and the graphics that you want to use as watermarks.</p> */ inline void SetInputBucket(const Aws::String& value) { m_inputBucketHasBeenSet = true; m_inputBucket = value; } /** * <p>The Amazon S3 bucket in which you saved the media files that you want to * transcode and the graphics that you want to use as watermarks.</p> */ inline void SetInputBucket(Aws::String&& value) { m_inputBucketHasBeenSet = true; m_inputBucket = value; } /** * <p>The Amazon S3 bucket in which you saved the media files that you want to * transcode and the graphics that you want to use as watermarks.</p> */ inline void SetInputBucket(const char* value) { m_inputBucketHasBeenSet = true; m_inputBucket.assign(value); } /** * <p>The Amazon S3 bucket in which you saved the media files that you want to * transcode and the graphics that you want to use as watermarks.</p> */ inline UpdatePipelineRequest& WithInputBucket(const Aws::String& value) { SetInputBucket(value); return *this;} /** * <p>The Amazon S3 bucket in which you saved the media files that you want to * transcode and the graphics that you want to use as watermarks.</p> */ inline UpdatePipelineRequest& WithInputBucket(Aws::String&& value) { SetInputBucket(value); return *this;} /** * <p>The Amazon S3 bucket in which you saved the media files that you want to * transcode and the graphics that you want to use as watermarks.</p> */ inline UpdatePipelineRequest& WithInputBucket(const char* value) { SetInputBucket(value); return *this;} /** * <p>The IAM Amazon Resource Name (ARN) for the role that you want Elastic * Transcoder to use to transcode jobs for this pipeline.</p> */ inline const Aws::String& GetRole() const{ return m_role; } /** * <p>The IAM Amazon Resource Name (ARN) for the role that you want Elastic * Transcoder to use to transcode jobs for this pipeline.</p> */ inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; } /** * <p>The IAM Amazon Resource Name (ARN) for the role that you want Elastic * Transcoder to use to transcode jobs for this pipeline.</p> */ inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = value; } /** * <p>The IAM Amazon Resource Name (ARN) for the role that you want Elastic * Transcoder to use to transcode jobs for this pipeline.</p> */ inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); } /** * <p>The IAM Amazon Resource Name (ARN) for the role that you want Elastic * Transcoder to use to transcode jobs for this pipeline.</p> */ inline UpdatePipelineRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;} /** * <p>The IAM Amazon Resource Name (ARN) for the role that you want Elastic * Transcoder to use to transcode jobs for this pipeline.</p> */ inline UpdatePipelineRequest& WithRole(Aws::String&& value) { SetRole(value); return *this;} /** * <p>The IAM Amazon Resource Name (ARN) for the role that you want Elastic * Transcoder to use to transcode jobs for this pipeline.</p> */ inline UpdatePipelineRequest& WithRole(const char* value) { SetRole(value); return *this;} /** * <p>The AWS Key Management Service (AWS KMS) key that you want to use with this * pipeline.</p> <p>If you use either <code>S3</code> or <code>S3-AWS-KMS</code> as * your <code>Encryption:Mode</code>, you don't need to provide a key with your job * because a default key, known as an AWS-KMS key, is created for you * automatically. You need to provide an AWS-KMS key only if you want to use a * non-default AWS-KMS key, or if you are using an <code>Encryption:Mode</code> of * <code>AES-PKCS7</code>, <code>AES-CTR</code>, or <code>AES-GCM</code>.</p> */ inline const Aws::String& GetAwsKmsKeyArn() const{ return m_awsKmsKeyArn; } /** * <p>The AWS Key Management Service (AWS KMS) key that you want to use with this * pipeline.</p> <p>If you use either <code>S3</code> or <code>S3-AWS-KMS</code> as * your <code>Encryption:Mode</code>, you don't need to provide a key with your job * because a default key, known as an AWS-KMS key, is created for you * automatically. You need to provide an AWS-KMS key only if you want to use a * non-default AWS-KMS key, or if you are using an <code>Encryption:Mode</code> of * <code>AES-PKCS7</code>, <code>AES-CTR</code>, or <code>AES-GCM</code>.</p> */ inline void SetAwsKmsKeyArn(const Aws::String& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = value; } /** * <p>The AWS Key Management Service (AWS KMS) key that you want to use with this * pipeline.</p> <p>If you use either <code>S3</code> or <code>S3-AWS-KMS</code> as * your <code>Encryption:Mode</code>, you don't need to provide a key with your job * because a default key, known as an AWS-KMS key, is created for you * automatically. You need to provide an AWS-KMS key only if you want to use a * non-default AWS-KMS key, or if you are using an <code>Encryption:Mode</code> of * <code>AES-PKCS7</code>, <code>AES-CTR</code>, or <code>AES-GCM</code>.</p> */ inline void SetAwsKmsKeyArn(Aws::String&& value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn = value; } /** * <p>The AWS Key Management Service (AWS KMS) key that you want to use with this * pipeline.</p> <p>If you use either <code>S3</code> or <code>S3-AWS-KMS</code> as * your <code>Encryption:Mode</code>, you don't need to provide a key with your job * because a default key, known as an AWS-KMS key, is created for you * automatically. You need to provide an AWS-KMS key only if you want to use a * non-default AWS-KMS key, or if you are using an <code>Encryption:Mode</code> of * <code>AES-PKCS7</code>, <code>AES-CTR</code>, or <code>AES-GCM</code>.</p> */ inline void SetAwsKmsKeyArn(const char* value) { m_awsKmsKeyArnHasBeenSet = true; m_awsKmsKeyArn.assign(value); } /** * <p>The AWS Key Management Service (AWS KMS) key that you want to use with this * pipeline.</p> <p>If you use either <code>S3</code> or <code>S3-AWS-KMS</code> as * your <code>Encryption:Mode</code>, you don't need to provide a key with your job * because a default key, known as an AWS-KMS key, is created for you * automatically. You need to provide an AWS-KMS key only if you want to use a * non-default AWS-KMS key, or if you are using an <code>Encryption:Mode</code> of * <code>AES-PKCS7</code>, <code>AES-CTR</code>, or <code>AES-GCM</code>.</p> */ inline UpdatePipelineRequest& WithAwsKmsKeyArn(const Aws::String& value) { SetAwsKmsKeyArn(value); return *this;} /** * <p>The AWS Key Management Service (AWS KMS) key that you want to use with this * pipeline.</p> <p>If you use either <code>S3</code> or <code>S3-AWS-KMS</code> as * your <code>Encryption:Mode</code>, you don't need to provide a key with your job * because a default key, known as an AWS-KMS key, is created for you * automatically. You need to provide an AWS-KMS key only if you want to use a * non-default AWS-KMS key, or if you are using an <code>Encryption:Mode</code> of * <code>AES-PKCS7</code>, <code>AES-CTR</code>, or <code>AES-GCM</code>.</p> */ inline UpdatePipelineRequest& WithAwsKmsKeyArn(Aws::String&& value) { SetAwsKmsKeyArn(value); return *this;} /** * <p>The AWS Key Management Service (AWS KMS) key that you want to use with this * pipeline.</p> <p>If you use either <code>S3</code> or <code>S3-AWS-KMS</code> as * your <code>Encryption:Mode</code>, you don't need to provide a key with your job * because a default key, known as an AWS-KMS key, is created for you * automatically. You need to provide an AWS-KMS key only if you want to use a * non-default AWS-KMS key, or if you are using an <code>Encryption:Mode</code> of * <code>AES-PKCS7</code>, <code>AES-CTR</code>, or <code>AES-GCM</code>.</p> */ inline UpdatePipelineRequest& WithAwsKmsKeyArn(const char* value) { SetAwsKmsKeyArn(value); return *this;} /** * <p>The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic * that you want to notify to report job status.</p> <important> <p>To receive * notifications, you must also subscribe to the new topic in the Amazon SNS * console.</p> </important> <ul> <li> <p> <b>Progressing</b>: The topic ARN for * the Amazon Simple Notification Service (Amazon SNS) topic that you want to * notify when Elastic Transcoder has started to process jobs that are added to * this pipeline. This is the ARN that Amazon SNS returned when you created the * topic.</p> </li> <li> <p> <b>Completed</b>: The topic ARN for the Amazon SNS * topic that you want to notify when Elastic Transcoder has finished processing a * job. This is the ARN that Amazon SNS returned when you created the topic.</p> * </li> <li> <p> <b>Warning</b>: The topic ARN for the Amazon SNS topic that you * want to notify when Elastic Transcoder encounters a warning condition. This is * the ARN that Amazon SNS returned when you created the topic.</p> </li> <li> <p> * <b>Error</b>: The topic ARN for the Amazon SNS topic that you want to notify * when Elastic Transcoder encounters an error condition. This is the ARN that * Amazon SNS returned when you created the topic.</p> </li> </ul> */ inline const Notifications& GetNotifications() const{ return m_notifications; } /** * <p>The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic * that you want to notify to report job status.</p> <important> <p>To receive * notifications, you must also subscribe to the new topic in the Amazon SNS * console.</p> </important> <ul> <li> <p> <b>Progressing</b>: The topic ARN for * the Amazon Simple Notification Service (Amazon SNS) topic that you want to * notify when Elastic Transcoder has started to process jobs that are added to * this pipeline. This is the ARN that Amazon SNS returned when you created the * topic.</p> </li> <li> <p> <b>Completed</b>: The topic ARN for the Amazon SNS * topic that you want to notify when Elastic Transcoder has finished processing a * job. This is the ARN that Amazon SNS returned when you created the topic.</p> * </li> <li> <p> <b>Warning</b>: The topic ARN for the Amazon SNS topic that you * want to notify when Elastic Transcoder encounters a warning condition. This is * the ARN that Amazon SNS returned when you created the topic.</p> </li> <li> <p> * <b>Error</b>: The topic ARN for the Amazon SNS topic that you want to notify * when Elastic Transcoder encounters an error condition. This is the ARN that * Amazon SNS returned when you created the topic.</p> </li> </ul> */ inline void SetNotifications(const Notifications& value) { m_notificationsHasBeenSet = true; m_notifications = value; } /** * <p>The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic * that you want to notify to report job status.</p> <important> <p>To receive * notifications, you must also subscribe to the new topic in the Amazon SNS * console.</p> </important> <ul> <li> <p> <b>Progressing</b>: The topic ARN for * the Amazon Simple Notification Service (Amazon SNS) topic that you want to * notify when Elastic Transcoder has started to process jobs that are added to * this pipeline. This is the ARN that Amazon SNS returned when you created the * topic.</p> </li> <li> <p> <b>Completed</b>: The topic ARN for the Amazon SNS * topic that you want to notify when Elastic Transcoder has finished processing a * job. This is the ARN that Amazon SNS returned when you created the topic.</p> * </li> <li> <p> <b>Warning</b>: The topic ARN for the Amazon SNS topic that you * want to notify when Elastic Transcoder encounters a warning condition. This is * the ARN that Amazon SNS returned when you created the topic.</p> </li> <li> <p> * <b>Error</b>: The topic ARN for the Amazon SNS topic that you want to notify * when Elastic Transcoder encounters an error condition. This is the ARN that * Amazon SNS returned when you created the topic.</p> </li> </ul> */ inline void SetNotifications(Notifications&& value) { m_notificationsHasBeenSet = true; m_notifications = value; } /** * <p>The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic * that you want to notify to report job status.</p> <important> <p>To receive * notifications, you must also subscribe to the new topic in the Amazon SNS * console.</p> </important> <ul> <li> <p> <b>Progressing</b>: The topic ARN for * the Amazon Simple Notification Service (Amazon SNS) topic that you want to * notify when Elastic Transcoder has started to process jobs that are added to * this pipeline. This is the ARN that Amazon SNS returned when you created the * topic.</p> </li> <li> <p> <b>Completed</b>: The topic ARN for the Amazon SNS * topic that you want to notify when Elastic Transcoder has finished processing a * job. This is the ARN that Amazon SNS returned when you created the topic.</p> * </li> <li> <p> <b>Warning</b>: The topic ARN for the Amazon SNS topic that you * want to notify when Elastic Transcoder encounters a warning condition. This is * the ARN that Amazon SNS returned when you created the topic.</p> </li> <li> <p> * <b>Error</b>: The topic ARN for the Amazon SNS topic that you want to notify * when Elastic Transcoder encounters an error condition. This is the ARN that * Amazon SNS returned when you created the topic.</p> </li> </ul> */ inline UpdatePipelineRequest& WithNotifications(const Notifications& value) { SetNotifications(value); return *this;} /** * <p>The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic * that you want to notify to report job status.</p> <important> <p>To receive * notifications, you must also subscribe to the new topic in the Amazon SNS * console.</p> </important> <ul> <li> <p> <b>Progressing</b>: The topic ARN for * the Amazon Simple Notification Service (Amazon SNS) topic that you want to * notify when Elastic Transcoder has started to process jobs that are added to * this pipeline. This is the ARN that Amazon SNS returned when you created the * topic.</p> </li> <li> <p> <b>Completed</b>: The topic ARN for the Amazon SNS * topic that you want to notify when Elastic Transcoder has finished processing a * job. This is the ARN that Amazon SNS returned when you created the topic.</p> * </li> <li> <p> <b>Warning</b>: The topic ARN for the Amazon SNS topic that you * want to notify when Elastic Transcoder encounters a warning condition. This is * the ARN that Amazon SNS returned when you created the topic.</p> </li> <li> <p> * <b>Error</b>: The topic ARN for the Amazon SNS topic that you want to notify * when Elastic Transcoder encounters an error condition. This is the ARN that * Amazon SNS returned when you created the topic.</p> </li> </ul> */ inline UpdatePipelineRequest& WithNotifications(Notifications&& value) { SetNotifications(value); return *this;} /** * <p>The optional <code>ContentConfig</code> object specifies information about * the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded * files and playlists: which bucket to use, which users you want to have access to * the files, the type of access you want users to have, and the storage class that * you want to assign to the files.</p> <p>If you specify values for * <code>ContentConfig</code>, you must also specify values for * <code>ThumbnailConfig</code>.</p> <p>If you specify values for * <code>ContentConfig</code> and <code>ThumbnailConfig</code>, omit the * <code>OutputBucket</code> object.</p> <ul> <li> <p> <b>Bucket</b>: The Amazon S3 * bucket in which you want Elastic Transcoder to save transcoded files and * playlists.</p> </li> <li> <p> <b>Permissions</b> (Optional): The Permissions * object specifies which users you want to have access to transcoded files and the * type of access you want them to have. You can grant permissions to a maximum of * 30 users and/or predefined Amazon S3 groups.</p> </li> <li> <p> <b>Grantee * Type</b>: Specify the type of value that appears in the <code>Grantee</code> * object:</p> <ul> <li> <p> <b>Canonical</b>: The value in the * <code>Grantee</code> object is either the canonical user ID for an AWS account * or an origin access identity for an Amazon CloudFront distribution. For more * information about canonical user IDs, see Access Control List (ACL) Overview in * the Amazon Simple Storage Service Developer Guide. For more information about * using CloudFront origin access identities to require that users use CloudFront * URLs instead of Amazon S3 URLs, see Using an Origin Access Identity to Restrict * Access to Your Amazon S3 Content.</p> <important> <p>A canonical user ID is not * the same as an AWS account number.</p> </important> </li> <li> <p> <b>Email</b>: * The value in the <code>Grantee</code> object is the registered email address of * an AWS account.</p> </li> <li> <p> <b>Group</b>: The value in the * <code>Grantee</code> object is one of the following predefined Amazon S3 groups: * <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or * <code>LogDelivery</code>.</p> </li> </ul> </li> <li> <p> <b>Grantee</b>: The AWS * user or group that you want to have access to transcoded files and playlists. To * identify the user or group, you can specify the canonical user ID for an AWS * account, an origin access identity for a CloudFront distribution, the registered * email address of an AWS account, or a predefined Amazon S3 group </p> </li> <li> * <p> <b>Access</b>: The permission that you want to give to the AWS user that you * specified in <code>Grantee</code>. Permissions are granted on the files that * Elastic Transcoder adds to the bucket, including playlists and video files. * Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read * the objects and metadata for objects that Elastic Transcoder adds to the Amazon * S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read the * object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket. * </p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL for * the objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> * <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, * <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the objects * that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> </ul> </li> <li> * <p> <b>StorageClass</b>: The Amazon S3 storage class, <code>Standard</code> or * <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to * the video files and playlists that it stores in your Amazon S3 bucket.</p> </li> * </ul> */ inline const PipelineOutputConfig& GetContentConfig() const{ return m_contentConfig; } /** * <p>The optional <code>ContentConfig</code> object specifies information about * the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded * files and playlists: which bucket to use, which users you want to have access to * the files, the type of access you want users to have, and the storage class that * you want to assign to the files.</p> <p>If you specify values for * <code>ContentConfig</code>, you must also specify values for * <code>ThumbnailConfig</code>.</p> <p>If you specify values for * <code>ContentConfig</code> and <code>ThumbnailConfig</code>, omit the * <code>OutputBucket</code> object.</p> <ul> <li> <p> <b>Bucket</b>: The Amazon S3 * bucket in which you want Elastic Transcoder to save transcoded files and * playlists.</p> </li> <li> <p> <b>Permissions</b> (Optional): The Permissions * object specifies which users you want to have access to transcoded files and the * type of access you want them to have. You can grant permissions to a maximum of * 30 users and/or predefined Amazon S3 groups.</p> </li> <li> <p> <b>Grantee * Type</b>: Specify the type of value that appears in the <code>Grantee</code> * object:</p> <ul> <li> <p> <b>Canonical</b>: The value in the * <code>Grantee</code> object is either the canonical user ID for an AWS account * or an origin access identity for an Amazon CloudFront distribution. For more * information about canonical user IDs, see Access Control List (ACL) Overview in * the Amazon Simple Storage Service Developer Guide. For more information about * using CloudFront origin access identities to require that users use CloudFront * URLs instead of Amazon S3 URLs, see Using an Origin Access Identity to Restrict * Access to Your Amazon S3 Content.</p> <important> <p>A canonical user ID is not * the same as an AWS account number.</p> </important> </li> <li> <p> <b>Email</b>: * The value in the <code>Grantee</code> object is the registered email address of * an AWS account.</p> </li> <li> <p> <b>Group</b>: The value in the * <code>Grantee</code> object is one of the following predefined Amazon S3 groups: * <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or * <code>LogDelivery</code>.</p> </li> </ul> </li> <li> <p> <b>Grantee</b>: The AWS * user or group that you want to have access to transcoded files and playlists. To * identify the user or group, you can specify the canonical user ID for an AWS * account, an origin access identity for a CloudFront distribution, the registered * email address of an AWS account, or a predefined Amazon S3 group </p> </li> <li> * <p> <b>Access</b>: The permission that you want to give to the AWS user that you * specified in <code>Grantee</code>. Permissions are granted on the files that * Elastic Transcoder adds to the bucket, including playlists and video files. * Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read * the objects and metadata for objects that Elastic Transcoder adds to the Amazon * S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read the * object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket. * </p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL for * the objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> * <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, * <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the objects * that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> </ul> </li> <li> * <p> <b>StorageClass</b>: The Amazon S3 storage class, <code>Standard</code> or * <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to * the video files and playlists that it stores in your Amazon S3 bucket.</p> </li> * </ul> */ inline void SetContentConfig(const PipelineOutputConfig& value) { m_contentConfigHasBeenSet = true; m_contentConfig = value; } /** * <p>The optional <code>ContentConfig</code> object specifies information about * the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded * files and playlists: which bucket to use, which users you want to have access to * the files, the type of access you want users to have, and the storage class that * you want to assign to the files.</p> <p>If you specify values for * <code>ContentConfig</code>, you must also specify values for * <code>ThumbnailConfig</code>.</p> <p>If you specify values for * <code>ContentConfig</code> and <code>ThumbnailConfig</code>, omit the * <code>OutputBucket</code> object.</p> <ul> <li> <p> <b>Bucket</b>: The Amazon S3 * bucket in which you want Elastic Transcoder to save transcoded files and * playlists.</p> </li> <li> <p> <b>Permissions</b> (Optional): The Permissions * object specifies which users you want to have access to transcoded files and the * type of access you want them to have. You can grant permissions to a maximum of * 30 users and/or predefined Amazon S3 groups.</p> </li> <li> <p> <b>Grantee * Type</b>: Specify the type of value that appears in the <code>Grantee</code> * object:</p> <ul> <li> <p> <b>Canonical</b>: The value in the * <code>Grantee</code> object is either the canonical user ID for an AWS account * or an origin access identity for an Amazon CloudFront distribution. For more * information about canonical user IDs, see Access Control List (ACL) Overview in * the Amazon Simple Storage Service Developer Guide. For more information about * using CloudFront origin access identities to require that users use CloudFront * URLs instead of Amazon S3 URLs, see Using an Origin Access Identity to Restrict * Access to Your Amazon S3 Content.</p> <important> <p>A canonical user ID is not * the same as an AWS account number.</p> </important> </li> <li> <p> <b>Email</b>: * The value in the <code>Grantee</code> object is the registered email address of * an AWS account.</p> </li> <li> <p> <b>Group</b>: The value in the * <code>Grantee</code> object is one of the following predefined Amazon S3 groups: * <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or * <code>LogDelivery</code>.</p> </li> </ul> </li> <li> <p> <b>Grantee</b>: The AWS * user or group that you want to have access to transcoded files and playlists. To * identify the user or group, you can specify the canonical user ID for an AWS * account, an origin access identity for a CloudFront distribution, the registered * email address of an AWS account, or a predefined Amazon S3 group </p> </li> <li> * <p> <b>Access</b>: The permission that you want to give to the AWS user that you * specified in <code>Grantee</code>. Permissions are granted on the files that * Elastic Transcoder adds to the bucket, including playlists and video files. * Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read * the objects and metadata for objects that Elastic Transcoder adds to the Amazon * S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read the * object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket. * </p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL for * the objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> * <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, * <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the objects * that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> </ul> </li> <li> * <p> <b>StorageClass</b>: The Amazon S3 storage class, <code>Standard</code> or * <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to * the video files and playlists that it stores in your Amazon S3 bucket.</p> </li> * </ul> */ inline void SetContentConfig(PipelineOutputConfig&& value) { m_contentConfigHasBeenSet = true; m_contentConfig = value; } /** * <p>The optional <code>ContentConfig</code> object specifies information about * the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded * files and playlists: which bucket to use, which users you want to have access to * the files, the type of access you want users to have, and the storage class that * you want to assign to the files.</p> <p>If you specify values for * <code>ContentConfig</code>, you must also specify values for * <code>ThumbnailConfig</code>.</p> <p>If you specify values for * <code>ContentConfig</code> and <code>ThumbnailConfig</code>, omit the * <code>OutputBucket</code> object.</p> <ul> <li> <p> <b>Bucket</b>: The Amazon S3 * bucket in which you want Elastic Transcoder to save transcoded files and * playlists.</p> </li> <li> <p> <b>Permissions</b> (Optional): The Permissions * object specifies which users you want to have access to transcoded files and the * type of access you want them to have. You can grant permissions to a maximum of * 30 users and/or predefined Amazon S3 groups.</p> </li> <li> <p> <b>Grantee * Type</b>: Specify the type of value that appears in the <code>Grantee</code> * object:</p> <ul> <li> <p> <b>Canonical</b>: The value in the * <code>Grantee</code> object is either the canonical user ID for an AWS account * or an origin access identity for an Amazon CloudFront distribution. For more * information about canonical user IDs, see Access Control List (ACL) Overview in * the Amazon Simple Storage Service Developer Guide. For more information about * using CloudFront origin access identities to require that users use CloudFront * URLs instead of Amazon S3 URLs, see Using an Origin Access Identity to Restrict * Access to Your Amazon S3 Content.</p> <important> <p>A canonical user ID is not * the same as an AWS account number.</p> </important> </li> <li> <p> <b>Email</b>: * The value in the <code>Grantee</code> object is the registered email address of * an AWS account.</p> </li> <li> <p> <b>Group</b>: The value in the * <code>Grantee</code> object is one of the following predefined Amazon S3 groups: * <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or * <code>LogDelivery</code>.</p> </li> </ul> </li> <li> <p> <b>Grantee</b>: The AWS * user or group that you want to have access to transcoded files and playlists. To * identify the user or group, you can specify the canonical user ID for an AWS * account, an origin access identity for a CloudFront distribution, the registered * email address of an AWS account, or a predefined Amazon S3 group </p> </li> <li> * <p> <b>Access</b>: The permission that you want to give to the AWS user that you * specified in <code>Grantee</code>. Permissions are granted on the files that * Elastic Transcoder adds to the bucket, including playlists and video files. * Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read * the objects and metadata for objects that Elastic Transcoder adds to the Amazon * S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read the * object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket. * </p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL for * the objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> * <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, * <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the objects * that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> </ul> </li> <li> * <p> <b>StorageClass</b>: The Amazon S3 storage class, <code>Standard</code> or * <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to * the video files and playlists that it stores in your Amazon S3 bucket.</p> </li> * </ul> */ inline UpdatePipelineRequest& WithContentConfig(const PipelineOutputConfig& value) { SetContentConfig(value); return *this;} /** * <p>The optional <code>ContentConfig</code> object specifies information about * the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded * files and playlists: which bucket to use, which users you want to have access to * the files, the type of access you want users to have, and the storage class that * you want to assign to the files.</p> <p>If you specify values for * <code>ContentConfig</code>, you must also specify values for * <code>ThumbnailConfig</code>.</p> <p>If you specify values for * <code>ContentConfig</code> and <code>ThumbnailConfig</code>, omit the * <code>OutputBucket</code> object.</p> <ul> <li> <p> <b>Bucket</b>: The Amazon S3 * bucket in which you want Elastic Transcoder to save transcoded files and * playlists.</p> </li> <li> <p> <b>Permissions</b> (Optional): The Permissions * object specifies which users you want to have access to transcoded files and the * type of access you want them to have. You can grant permissions to a maximum of * 30 users and/or predefined Amazon S3 groups.</p> </li> <li> <p> <b>Grantee * Type</b>: Specify the type of value that appears in the <code>Grantee</code> * object:</p> <ul> <li> <p> <b>Canonical</b>: The value in the * <code>Grantee</code> object is either the canonical user ID for an AWS account * or an origin access identity for an Amazon CloudFront distribution. For more * information about canonical user IDs, see Access Control List (ACL) Overview in * the Amazon Simple Storage Service Developer Guide. For more information about * using CloudFront origin access identities to require that users use CloudFront * URLs instead of Amazon S3 URLs, see Using an Origin Access Identity to Restrict * Access to Your Amazon S3 Content.</p> <important> <p>A canonical user ID is not * the same as an AWS account number.</p> </important> </li> <li> <p> <b>Email</b>: * The value in the <code>Grantee</code> object is the registered email address of * an AWS account.</p> </li> <li> <p> <b>Group</b>: The value in the * <code>Grantee</code> object is one of the following predefined Amazon S3 groups: * <code>AllUsers</code>, <code>AuthenticatedUsers</code>, or * <code>LogDelivery</code>.</p> </li> </ul> </li> <li> <p> <b>Grantee</b>: The AWS * user or group that you want to have access to transcoded files and playlists. To * identify the user or group, you can specify the canonical user ID for an AWS * account, an origin access identity for a CloudFront distribution, the registered * email address of an AWS account, or a predefined Amazon S3 group </p> </li> <li> * <p> <b>Access</b>: The permission that you want to give to the AWS user that you * specified in <code>Grantee</code>. Permissions are granted on the files that * Elastic Transcoder adds to the bucket, including playlists and video files. * Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read * the objects and metadata for objects that Elastic Transcoder adds to the Amazon * S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read the * object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket. * </p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL for * the objects that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> <li> * <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, * <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the objects * that Elastic Transcoder adds to the Amazon S3 bucket.</p> </li> </ul> </li> <li> * <p> <b>StorageClass</b>: The Amazon S3 storage class, <code>Standard</code> or * <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to * the video files and playlists that it stores in your Amazon S3 bucket.</p> </li> * </ul> */ inline UpdatePipelineRequest& WithContentConfig(PipelineOutputConfig&& value) { SetContentConfig(value); return *this;} /** * <p>The <code>ThumbnailConfig</code> object specifies several values, including * the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail * files, which users you want to have access to the files, the type of access you * want users to have, and the storage class that you want to assign to the * files.</p> <p>If you specify values for <code>ContentConfig</code>, you must * also specify values for <code>ThumbnailConfig</code> even if you don't want to * create thumbnails.</p> <p>If you specify values for <code>ContentConfig</code> * and <code>ThumbnailConfig</code>, omit the <code>OutputBucket</code> object.</p> * <ul> <li> <p> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic * Transcoder to save thumbnail files.</p> </li> <li> <p> <b>Permissions</b> * (Optional): The <code>Permissions</code> object specifies which users and/or * predefined Amazon S3 groups you want to have access to thumbnail files, and the * type of access you want them to have. You can grant permissions to a maximum of * 30 users and/or predefined Amazon S3 groups.</p> </li> <li> <p> * <b>GranteeType</b>: Specify the type of value that appears in the Grantee * object:</p> <ul> <li> <p> <b>Canonical</b>: The value in the * <code>Grantee</code> object is either the canonical user ID for an AWS account * or an origin access identity for an Amazon CloudFront distribution.</p> * <important> <p>A canonical user ID is not the same as an AWS account number.</p> * </important> </li> <li> <p> <b>Email</b>: The value in the <code>Grantee</code> * object is the registered email address of an AWS account.</p> </li> <li> <p> * <b>Group</b>: The value in the <code>Grantee</code> object is one of the * following predefined Amazon S3 groups: <code>AllUsers</code>, * <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</p> </li> </ul> * </li> <li> <p> <b>Grantee</b>: The AWS user or group that you want to have * access to thumbnail files. To identify the user or group, you can specify the * canonical user ID for an AWS account, an origin access identity for a CloudFront * distribution, the registered email address of an AWS account, or a predefined * Amazon S3 group. </p> </li> <li> <p> <b>Access</b>: The permission that you want * to give to the AWS user that you specified in <code>Grantee</code>. Permissions * are granted on the thumbnail files that Elastic Transcoder adds to the bucket. * Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read * the thumbnails and metadata for objects that Elastic Transcoder adds to the * Amazon S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read * the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 * bucket.</p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL * for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> * </li> <li> <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, * <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the thumbnails * that Elastic Transcoder adds to the Amazon S3 bucket. </p> </li> </ul> </li> * <li> <p> <b>StorageClass</b>: The Amazon S3 storage class, <code>Standard</code> * or <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to * the thumbnails that it stores in your Amazon S3 bucket.</p> </li> </ul> */ inline const PipelineOutputConfig& GetThumbnailConfig() const{ return m_thumbnailConfig; } /** * <p>The <code>ThumbnailConfig</code> object specifies several values, including * the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail * files, which users you want to have access to the files, the type of access you * want users to have, and the storage class that you want to assign to the * files.</p> <p>If you specify values for <code>ContentConfig</code>, you must * also specify values for <code>ThumbnailConfig</code> even if you don't want to * create thumbnails.</p> <p>If you specify values for <code>ContentConfig</code> * and <code>ThumbnailConfig</code>, omit the <code>OutputBucket</code> object.</p> * <ul> <li> <p> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic * Transcoder to save thumbnail files.</p> </li> <li> <p> <b>Permissions</b> * (Optional): The <code>Permissions</code> object specifies which users and/or * predefined Amazon S3 groups you want to have access to thumbnail files, and the * type of access you want them to have. You can grant permissions to a maximum of * 30 users and/or predefined Amazon S3 groups.</p> </li> <li> <p> * <b>GranteeType</b>: Specify the type of value that appears in the Grantee * object:</p> <ul> <li> <p> <b>Canonical</b>: The value in the * <code>Grantee</code> object is either the canonical user ID for an AWS account * or an origin access identity for an Amazon CloudFront distribution.</p> * <important> <p>A canonical user ID is not the same as an AWS account number.</p> * </important> </li> <li> <p> <b>Email</b>: The value in the <code>Grantee</code> * object is the registered email address of an AWS account.</p> </li> <li> <p> * <b>Group</b>: The value in the <code>Grantee</code> object is one of the * following predefined Amazon S3 groups: <code>AllUsers</code>, * <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</p> </li> </ul> * </li> <li> <p> <b>Grantee</b>: The AWS user or group that you want to have * access to thumbnail files. To identify the user or group, you can specify the * canonical user ID for an AWS account, an origin access identity for a CloudFront * distribution, the registered email address of an AWS account, or a predefined * Amazon S3 group. </p> </li> <li> <p> <b>Access</b>: The permission that you want * to give to the AWS user that you specified in <code>Grantee</code>. Permissions * are granted on the thumbnail files that Elastic Transcoder adds to the bucket. * Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read * the thumbnails and metadata for objects that Elastic Transcoder adds to the * Amazon S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read * the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 * bucket.</p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL * for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> * </li> <li> <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, * <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the thumbnails * that Elastic Transcoder adds to the Amazon S3 bucket. </p> </li> </ul> </li> * <li> <p> <b>StorageClass</b>: The Amazon S3 storage class, <code>Standard</code> * or <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to * the thumbnails that it stores in your Amazon S3 bucket.</p> </li> </ul> */ inline void SetThumbnailConfig(const PipelineOutputConfig& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = value; } /** * <p>The <code>ThumbnailConfig</code> object specifies several values, including * the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail * files, which users you want to have access to the files, the type of access you * want users to have, and the storage class that you want to assign to the * files.</p> <p>If you specify values for <code>ContentConfig</code>, you must * also specify values for <code>ThumbnailConfig</code> even if you don't want to * create thumbnails.</p> <p>If you specify values for <code>ContentConfig</code> * and <code>ThumbnailConfig</code>, omit the <code>OutputBucket</code> object.</p> * <ul> <li> <p> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic * Transcoder to save thumbnail files.</p> </li> <li> <p> <b>Permissions</b> * (Optional): The <code>Permissions</code> object specifies which users and/or * predefined Amazon S3 groups you want to have access to thumbnail files, and the * type of access you want them to have. You can grant permissions to a maximum of * 30 users and/or predefined Amazon S3 groups.</p> </li> <li> <p> * <b>GranteeType</b>: Specify the type of value that appears in the Grantee * object:</p> <ul> <li> <p> <b>Canonical</b>: The value in the * <code>Grantee</code> object is either the canonical user ID for an AWS account * or an origin access identity for an Amazon CloudFront distribution.</p> * <important> <p>A canonical user ID is not the same as an AWS account number.</p> * </important> </li> <li> <p> <b>Email</b>: The value in the <code>Grantee</code> * object is the registered email address of an AWS account.</p> </li> <li> <p> * <b>Group</b>: The value in the <code>Grantee</code> object is one of the * following predefined Amazon S3 groups: <code>AllUsers</code>, * <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</p> </li> </ul> * </li> <li> <p> <b>Grantee</b>: The AWS user or group that you want to have * access to thumbnail files. To identify the user or group, you can specify the * canonical user ID for an AWS account, an origin access identity for a CloudFront * distribution, the registered email address of an AWS account, or a predefined * Amazon S3 group. </p> </li> <li> <p> <b>Access</b>: The permission that you want * to give to the AWS user that you specified in <code>Grantee</code>. Permissions * are granted on the thumbnail files that Elastic Transcoder adds to the bucket. * Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read * the thumbnails and metadata for objects that Elastic Transcoder adds to the * Amazon S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read * the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 * bucket.</p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL * for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> * </li> <li> <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, * <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the thumbnails * that Elastic Transcoder adds to the Amazon S3 bucket. </p> </li> </ul> </li> * <li> <p> <b>StorageClass</b>: The Amazon S3 storage class, <code>Standard</code> * or <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to * the thumbnails that it stores in your Amazon S3 bucket.</p> </li> </ul> */ inline void SetThumbnailConfig(PipelineOutputConfig&& value) { m_thumbnailConfigHasBeenSet = true; m_thumbnailConfig = value; } /** * <p>The <code>ThumbnailConfig</code> object specifies several values, including * the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail * files, which users you want to have access to the files, the type of access you * want users to have, and the storage class that you want to assign to the * files.</p> <p>If you specify values for <code>ContentConfig</code>, you must * also specify values for <code>ThumbnailConfig</code> even if you don't want to * create thumbnails.</p> <p>If you specify values for <code>ContentConfig</code> * and <code>ThumbnailConfig</code>, omit the <code>OutputBucket</code> object.</p> * <ul> <li> <p> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic * Transcoder to save thumbnail files.</p> </li> <li> <p> <b>Permissions</b> * (Optional): The <code>Permissions</code> object specifies which users and/or * predefined Amazon S3 groups you want to have access to thumbnail files, and the * type of access you want them to have. You can grant permissions to a maximum of * 30 users and/or predefined Amazon S3 groups.</p> </li> <li> <p> * <b>GranteeType</b>: Specify the type of value that appears in the Grantee * object:</p> <ul> <li> <p> <b>Canonical</b>: The value in the * <code>Grantee</code> object is either the canonical user ID for an AWS account * or an origin access identity for an Amazon CloudFront distribution.</p> * <important> <p>A canonical user ID is not the same as an AWS account number.</p> * </important> </li> <li> <p> <b>Email</b>: The value in the <code>Grantee</code> * object is the registered email address of an AWS account.</p> </li> <li> <p> * <b>Group</b>: The value in the <code>Grantee</code> object is one of the * following predefined Amazon S3 groups: <code>AllUsers</code>, * <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</p> </li> </ul> * </li> <li> <p> <b>Grantee</b>: The AWS user or group that you want to have * access to thumbnail files. To identify the user or group, you can specify the * canonical user ID for an AWS account, an origin access identity for a CloudFront * distribution, the registered email address of an AWS account, or a predefined * Amazon S3 group. </p> </li> <li> <p> <b>Access</b>: The permission that you want * to give to the AWS user that you specified in <code>Grantee</code>. Permissions * are granted on the thumbnail files that Elastic Transcoder adds to the bucket. * Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read * the thumbnails and metadata for objects that Elastic Transcoder adds to the * Amazon S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read * the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 * bucket.</p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL * for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> * </li> <li> <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, * <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the thumbnails * that Elastic Transcoder adds to the Amazon S3 bucket. </p> </li> </ul> </li> * <li> <p> <b>StorageClass</b>: The Amazon S3 storage class, <code>Standard</code> * or <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to * the thumbnails that it stores in your Amazon S3 bucket.</p> </li> </ul> */ inline UpdatePipelineRequest& WithThumbnailConfig(const PipelineOutputConfig& value) { SetThumbnailConfig(value); return *this;} /** * <p>The <code>ThumbnailConfig</code> object specifies several values, including * the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail * files, which users you want to have access to the files, the type of access you * want users to have, and the storage class that you want to assign to the * files.</p> <p>If you specify values for <code>ContentConfig</code>, you must * also specify values for <code>ThumbnailConfig</code> even if you don't want to * create thumbnails.</p> <p>If you specify values for <code>ContentConfig</code> * and <code>ThumbnailConfig</code>, omit the <code>OutputBucket</code> object.</p> * <ul> <li> <p> <b>Bucket</b>: The Amazon S3 bucket in which you want Elastic * Transcoder to save thumbnail files.</p> </li> <li> <p> <b>Permissions</b> * (Optional): The <code>Permissions</code> object specifies which users and/or * predefined Amazon S3 groups you want to have access to thumbnail files, and the * type of access you want them to have. You can grant permissions to a maximum of * 30 users and/or predefined Amazon S3 groups.</p> </li> <li> <p> * <b>GranteeType</b>: Specify the type of value that appears in the Grantee * object:</p> <ul> <li> <p> <b>Canonical</b>: The value in the * <code>Grantee</code> object is either the canonical user ID for an AWS account * or an origin access identity for an Amazon CloudFront distribution.</p> * <important> <p>A canonical user ID is not the same as an AWS account number.</p> * </important> </li> <li> <p> <b>Email</b>: The value in the <code>Grantee</code> * object is the registered email address of an AWS account.</p> </li> <li> <p> * <b>Group</b>: The value in the <code>Grantee</code> object is one of the * following predefined Amazon S3 groups: <code>AllUsers</code>, * <code>AuthenticatedUsers</code>, or <code>LogDelivery</code>.</p> </li> </ul> * </li> <li> <p> <b>Grantee</b>: The AWS user or group that you want to have * access to thumbnail files. To identify the user or group, you can specify the * canonical user ID for an AWS account, an origin access identity for a CloudFront * distribution, the registered email address of an AWS account, or a predefined * Amazon S3 group. </p> </li> <li> <p> <b>Access</b>: The permission that you want * to give to the AWS user that you specified in <code>Grantee</code>. Permissions * are granted on the thumbnail files that Elastic Transcoder adds to the bucket. * Valid values include: </p> <ul> <li> <p> <code>READ</code>: The grantee can read * the thumbnails and metadata for objects that Elastic Transcoder adds to the * Amazon S3 bucket.</p> </li> <li> <p> <code>READ_ACP</code>: The grantee can read * the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 * bucket.</p> </li> <li> <p> <code>WRITE_ACP</code>: The grantee can write the ACL * for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.</p> * </li> <li> <p> <code>FULL_CONTROL</code>: The grantee has <code>READ</code>, * <code>READ_ACP</code>, and <code>WRITE_ACP</code> permissions for the thumbnails * that Elastic Transcoder adds to the Amazon S3 bucket. </p> </li> </ul> </li> * <li> <p> <b>StorageClass</b>: The Amazon S3 storage class, <code>Standard</code> * or <code>ReducedRedundancy</code>, that you want Elastic Transcoder to assign to * the thumbnails that it stores in your Amazon S3 bucket.</p> </li> </ul> */ inline UpdatePipelineRequest& WithThumbnailConfig(PipelineOutputConfig&& value) { SetThumbnailConfig(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_inputBucket; bool m_inputBucketHasBeenSet; Aws::String m_role; bool m_roleHasBeenSet; Aws::String m_awsKmsKeyArn; bool m_awsKmsKeyArnHasBeenSet; Notifications m_notifications; bool m_notificationsHasBeenSet; PipelineOutputConfig m_contentConfig; bool m_contentConfigHasBeenSet; PipelineOutputConfig m_thumbnailConfig; bool m_thumbnailConfigHasBeenSet; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws
[ "henso@amazon.com" ]
henso@amazon.com
4b4bf14ca5d535915d6b7869c0d800d4ef49e36d
46d4712c82816290417d611a75b604d51b046ecc
/Samples/Win7Samples/multimedia/mediafoundation/asfparser/Decoder.cpp
4ee86d8cdfffa3a8b32a9cafd1386ce986a76d1a
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
ennoherr/Windows-classic-samples
00edd65e4808c21ca73def0a9bb2af9fa78b4f77
a26f029a1385c7bea1c500b7f182d41fb6bcf571
refs/heads/master
2022-12-09T20:11:56.456977
2022-12-04T16:46:55
2022-12-04T16:46:55
156,835,248
1
0
NOASSERTION
2022-12-04T16:46:55
2018-11-09T08:50:41
null
UTF-8
C++
false
false
12,911
cpp
////////////////////////////////////////////////////////////////////////// // // Decoder.cpp : CDecoder class implementation. // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved. // ////////////////////////////////////////////////////////////////////////// #include "Decoder.h" /////////////////////////////////////////////////////////////////////// // Name: CreateInstance // Description: Static class method to create the CDecoder object. // // ppDecoder: Receives an AddRef's pointer to the CDecoder object. // The caller must release the pointer. ///////////////////////////////////////////////////////////////////////// HRESULT CDecoder::CreateInstance(CDecoder **ppDecoder) { CDecoder *pDecoder = new CDecoder(); if (!pDecoder) { return E_OUTOFMEMORY; } *ppDecoder = pDecoder; (*ppDecoder)->AddRef(); TRACE((L"CDecoder created.\n")); SAFE_RELEASE (pDecoder); return S_OK; } // ----- Public Methods ----------------------------------------------- ////////////////////////////////////////////////////////////////////////// // Name: CDecoder // Description: Constructor // ///////////////////////////////////////////////////////////////////////// CDecoder::CDecoder() : m_nRefCount (1), m_pMFT (NULL), m_dwInputID (0), m_dwOutputID (0), m_DecoderState (0), m_pMediaController (NULL) { }; // ----- Public Methods ----------------------------------------------- ////////////////////////////////////////////////////////////////////////// // Name: CDecoder // Description: Destructor // ///////////////////////////////////////////////////////////////////////// CDecoder::~CDecoder() { (void)UnLoad(); } ///////////////////////////////////////////////////////////////////// // Name: Initialize // // Initializes the MFT with decoder object specified by the CLSID. // // pclsid: Path name of the file // pMediaType: Pointer to the media type of the stream that the // the MFT will decode. ///////////////////////////////////////////////////////////////////// HRESULT CDecoder::Initialize(CLSID clsid, IMFMediaType *pMediaType) { if (!pMediaType || clsid == GUID_NULL) { return E_INVALIDARG; } HRESULT hr = S_OK; //Unload the existing MFT. if (m_pMFT) { CHECK_HR (hr = UnLoad()); } //Create the MFT decoder CHECK_HR (hr = CoCreateInstance( clsid, NULL, CLSCTX_INPROC_SERVER, __uuidof(IMFTransform), (void**)&m_pMFT)); //Create the media controller that will work with uncompressed data that the decoder generates if (!m_pMediaController) { CHECK_HR (hr = CMediaController::CreateInstance(&m_pMediaController)); } CHECK_HR (hr = ConfigureDecoder( pMediaType)); TRACE((L"MFT initialized.\n")); done: if (FAILED(hr)) { LOG_MSG_IF_FAILED(L"MFT creation failed\n", hr); hr = UnLoad(); } return hr; } ///////////////////////////////////////////////////////////////////// // Name: UnLoad // // Unloads the MFT. // ///////////////////////////////////////////////////////////////////// HRESULT CDecoder::UnLoad() { HRESULT hr = S_OK; if (m_pMFT) { if (m_pMediaController) { CHECK_HR (hr = m_pMediaController->Reset()); } SAFE_RELEASE(m_pMFT); } TRACE((L"MFT unloaded.\n")); done: LOG_MSG_IF_FAILED(L"MFT could not be unloaded.\n", hr); return hr; } ///////////////////////////////////////////////////////////////////// // Name: ConfigureDecoder // // Configures the MFT with the currently loaded decoder. // // pMediaType: Pointer to the media type of the stream that will the // input type of the decoder. ///////////////////////////////////////////////////////////////////// HRESULT CDecoder::ConfigureDecoder(IMFMediaType *pMediaType) { if (!pMediaType) { return E_INVALIDARG; } if (! m_pMFT) { return MF_E_NOT_INITIALIZED; } HRESULT hr = S_OK, hrRes = S_OK; GUID guidMajorType = GUID_NULL, guidSubType = GUID_NULL; IMFMediaType* pOutputType = NULL; //Because this is a decoder transform, the number of input=output=1 //Get the input and output stream ids. This is different from the stream numbers hr = m_pMFT->GetStreamIDs( 1, &m_dwInputID, 1, &m_dwOutputID ); //Set the input type to the one that is received if (SUCCEEDED(hr) || hr == E_NOTIMPL) { CHECK_HR (hr = m_pMFT->SetInputType( m_dwInputID, pMediaType, 0 )); } if (SUCCEEDED(hr)) { //Loop through the available output type until we find: //For audio media type: PCM audio //For video media type: uncompressed RGB32 for ( DWORD dwTypeIndex = 0; (hrRes != MF_E_NO_MORE_TYPES) ; dwTypeIndex++ ) { hrRes = m_pMFT->GetOutputAvailableType( m_dwOutputID, dwTypeIndex, &pOutputType); if (pOutputType && SUCCEEDED(hrRes)) { CHECK_HR (hr = pOutputType->GetMajorType( &guidMajorType )); CHECK_HR (hr = pOutputType->GetGUID( MF_MT_SUBTYPE, &guidSubType )); if ((guidMajorType == MFMediaType_Audio) && (guidSubType == MFAudioFormat_PCM)) { CHECK_HR (hr = m_pMFT->SetOutputType(m_dwOutputID, pOutputType, 0)); CHECK_HR (hr = m_pMediaController->OpenAudioDevice(pOutputType)); break; } else if((guidMajorType == MFMediaType_Video) && (guidSubType == MFVideoFormat_RGB32)) { CHECK_HR (hr = m_pMFT->SetOutputType(m_dwOutputID, pOutputType, 0)); break; } SAFE_RELEASE(pOutputType); } else { //Output type not found hr = E_FAIL; break; } } } done: LOG_MSG_IF_FAILED(L"MFT could not be configured.\n", hr); SAFE_RELEASE(pOutputType); return hr; } ///////////////////////////////////////////////////////////////////// // Name: ProcessAudio // // Passes the input sample through the decoder and sends the output samples // to the CMediaController class. This class adds the buffers of the // output sample to the audio test sample that it maintains. When ready, the // caller can play the test sample through methods on the CMediaController //class. // // pSample: Pointer to a compressed sample that needs to be decoded ///////////////////////////////////////////////////////////////////// HRESULT CDecoder::ProcessAudio(IMFSample *pSample) { if (!pSample) { return E_INVALIDARG; } if (! m_pMFT || ! m_pMediaController) { return MF_E_NOT_INITIALIZED; } HRESULT hr = S_OK, hrRes = S_OK; DWORD dwStatus = 0; IMFMediaBuffer* pBufferOut = NULL; IMFSample* pSampleOut = NULL; //get the size of the output buffer processed by the decoder. //Again, there is only one output so the output stream id is 0. MFT_OUTPUT_STREAM_INFO mftStreamInfo; ZeroMemory(&mftStreamInfo, sizeof(MFT_OUTPUT_STREAM_INFO)); CHECK_HR (hr = m_pMFT->GetOutputStreamInfo(m_dwOutputID, &mftStreamInfo)); MFT_OUTPUT_DATA_BUFFER mftOutputData; ZeroMemory(&mftOutputData, sizeof(mftOutputData)); CHECK_HR (hr = m_pMFT->ProcessInput(m_dwInputID, pSample, 0)); //Request output samples from the decoder do { //create a buffer for the output sample CHECK_HR (hr = MFCreateMemoryBuffer(mftStreamInfo.cbSize, &pBufferOut)); //Create the output sample CHECK_HR (hr = MFCreateSample(&pSampleOut)); //Add the output buffer CHECK_HR (hr = pSampleOut->AddBuffer(pBufferOut)); //Set the output sample mftOutputData.pSample = pSampleOut; //Set the output id mftOutputData.dwStreamID = m_dwOutputID; //Generate the output sample hrRes = m_pMFT->ProcessOutput(0, 1, &mftOutputData, &dwStatus); //Send it to the media controller so that it can collect the test sample CHECK_HR (hr = m_pMediaController->AddToAudioTestSample(mftOutputData.pSample)); SAFE_RELEASE(pBufferOut); SAFE_RELEASE(pSampleOut); }while(hrRes != MF_E_TRANSFORM_NEED_MORE_INPUT); done: SAFE_RELEASE(pBufferOut); SAFE_RELEASE(pSampleOut); return hr; } ///////////////////////////////////////////////////////////////////// // Name: ProcessVideo // // Passes the input sample through the decoder and sends the output sample data // to the CMediaController class. This class creates a bitmap for the sample. // When ready, the caller can display the bitmap through methods on // the CMediaController class. // // pSample: Pointer to a compressed sample that needs to be decoded ///////////////////////////////////////////////////////////////////// HRESULT CDecoder::ProcessVideo(IMFSample *pSample) { if (!pSample) { return E_INVALIDARG; } if (! m_pMFT || ! m_pMediaController) { return MF_E_NOT_INITIALIZED; } HRESULT hr = S_OK, hrRes = S_OK; DWORD dwStatus = 0; DWORD cbTotalLength = 0, cbCurrentLength = 0; BYTE *pData = NULL; IMFMediaBuffer* pBufferOut = NULL; IMFSample* pSampleOut = NULL; IMFSample* pBitmapSample = NULL; IMFMediaType* pMediaType = NULL; //Create a buffer for the transform output MFT_OUTPUT_STREAM_INFO mftStreamInfo; ZeroMemory(&mftStreamInfo, sizeof(MFT_OUTPUT_STREAM_INFO)); //get the size of the output buffer processed by the decoder. //Again, there is only one output so the output stream id is 0. CHECK_HR (hr = m_pMFT->GetOutputStreamInfo(0, &mftStreamInfo)); //Request samples from the decoder MFT_OUTPUT_DATA_BUFFER mftOutputData; ZeroMemory(&mftOutputData, sizeof(mftOutputData)); //Create the bitmap sample that the media controller will use to create the bitmap CHECK_HR (hr = MFCreateSample(&pBitmapSample)); //Send input to the decoder. There is only one input stream so the ID is 0. CHECK_HR (hr = m_pMFT->ProcessInput(m_dwInputID, pSample, 0)); //Request output samples from the decoder do { //create a buffer for the output sample CHECK_HR (hr = MFCreateMemoryBuffer(mftStreamInfo.cbSize, &pBufferOut)); //Create the output sample CHECK_HR (hr = MFCreateSample(&pSampleOut)); //Add the output buffer CHECK_HR (hr = pSampleOut->AddBuffer(pBufferOut)); //Set the output sample mftOutputData.pSample = pSampleOut; mftOutputData.dwStreamID = m_dwOutputID; //Generate the output sample hrRes = m_pMFT->ProcessOutput(0, 1, &mftOutputData, &dwStatus); //Add the buffer to the bitmap sample CHECK_HR (hr = pBitmapSample->AddBuffer(pBufferOut)); SAFE_RELEASE(pBufferOut); SAFE_RELEASE(pSampleOut); }while(hrRes != MF_E_TRANSFORM_NEED_MORE_INPUT); //Get all bitmap data in one buffer CHECK_HR (hr = pBitmapSample->ConvertToContiguousBuffer(&pBufferOut)); CHECK_HR (hr = m_pMFT->GetOutputCurrentType(m_dwOutputID, &pMediaType)); //Get a pointer to the memory CHECK_HR (hr = pBufferOut->Lock(&pData, &cbTotalLength, &cbCurrentLength)); //Send it to the media controller to create the bitmap CHECK_HR (hr = m_pMediaController->CreateBitmapForKeyFrame(pData, pMediaType)); CHECK_HR (hr = pBufferOut->Unlock()); pData = NULL; done: if (pData && FAILED(hr)) { pBufferOut->Unlock(); } SAFE_RELEASE(pBufferOut); SAFE_RELEASE(pSampleOut); SAFE_RELEASE(pMediaType); return hr; } HRESULT CDecoder::StartDecoding(void) { if(! m_pMFT) { return MF_E_NOT_INITIALIZED; } HRESULT hr = m_pMFT->ProcessMessage(MFT_MESSAGE_NOTIFY_BEGIN_STREAMING, 0); if (SUCCEEDED(hr)) { m_DecoderState = STREAMING; } return hr; } HRESULT CDecoder::StopDecoding(void) { if(! m_pMFT) { return MF_E_NOT_INITIALIZED; } HRESULT hr = m_pMFT->ProcessMessage(MFT_MESSAGE_NOTIFY_END_STREAMING, 0); if (SUCCEEDED(hr)) { m_DecoderState = NOT_STREAMING; } return hr; }
[ "chrisg@microsoft.com" ]
chrisg@microsoft.com
2bff08255b2ac40d87d2d957e5e2bb6c9e7132a3
711e5c8b643dd2a93fbcbada982d7ad489fb0169
/XPSP1/NT/drivers/wdm/audio/sysaudio/fni.cpp
6c94d045187f8f7bad6cc464ea048e984490f39a
[]
no_license
aurantst/windows-XP-SP1
629a7763c082fd04d3b881e0d32a1cfbd523b5ce
d521b6360fcff4294ae6c5651c539f1b9a6cbb49
refs/heads/master
2023-03-21T01:08:39.870106
2020-09-28T08:10:11
2020-09-28T08:10:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,887
cpp
//--------------------------------------------------------------------------- // // Module: fni.cpp // // Description: // // Filter Node Instance // //@@BEGIN_MSINTERNAL // Development Team: // Mike McLaughlin // // History: Date Author Comment // // To Do: Date Author Comment // //@@END_MSINTERNAL // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR // PURPOSE. // // Copyright (c) 1996-1999 Microsoft Corporation. All Rights Reserved. // //--------------------------------------------------------------------------- #include "common.h" //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- CFilterNodeInstance::~CFilterNodeInstance( ) { Assert(this); DPF1(95, "~CFilterNodeInstance: %08x", this); RemoveListCheck(); UnregisterTargetDeviceChangeNotification(); // // if hFilter == NULL && pFileObject != NULL // it means that this filter instance is for a GFX // do not try to dereference the file object in that case // if( (hFilter != NULL) && (pFileObject != NULL) ) { AssertFileObject(pFileObject); ObDereferenceObject(pFileObject); } if(hFilter != NULL) { AssertStatus(ZwClose(hFilter)); } } NTSTATUS CFilterNodeInstance::Create( PFILTER_NODE_INSTANCE *ppFilterNodeInstance, PLOGICAL_FILTER_NODE pLogicalFilterNode, PDEVICE_NODE pDeviceNode, BOOL fReuseInstance ) { PFILTER_NODE_INSTANCE pFilterNodeInstance = NULL; PLOGICAL_FILTER_NODE pLogicalFilterNode2; NTSTATUS Status = STATUS_SUCCESS; Assert(pLogicalFilterNode); Assert(pLogicalFilterNode->pFilterNode); if(pLogicalFilterNode->GetType() & FILTER_TYPE_AEC) { FOR_EACH_LIST_ITEM( &pLogicalFilterNode->pFilterNode->lstLogicalFilterNode, pLogicalFilterNode2) { FOR_EACH_LIST_ITEM( &pLogicalFilterNode2->lstFilterNodeInstance, pFilterNodeInstance) { pFilterNodeInstance->AddRef(); ASSERT(NT_SUCCESS(Status)); goto exit; } END_EACH_LIST_ITEM } END_EACH_LIST_ITEM } else { if(fReuseInstance) { FOR_EACH_LIST_ITEM( &pLogicalFilterNode->lstFilterNodeInstance, pFilterNodeInstance) { if(pDeviceNode == NULL || pDeviceNode == pFilterNodeInstance->pDeviceNode) { pFilterNodeInstance->AddRef(); ASSERT(NT_SUCCESS(Status)); goto exit; } } END_EACH_LIST_ITEM } } Status = Create(&pFilterNodeInstance, pLogicalFilterNode->pFilterNode); if(!NT_SUCCESS(Status)) { goto exit; } pFilterNodeInstance->pDeviceNode = pDeviceNode; pFilterNodeInstance->AddList(&pLogicalFilterNode->lstFilterNodeInstance); exit: *ppFilterNodeInstance = pFilterNodeInstance; return(Status); } NTSTATUS CFilterNodeInstance::Create( PFILTER_NODE_INSTANCE *ppFilterNodeInstance, PFILTER_NODE pFilterNode ) { PFILTER_NODE_INSTANCE pFilterNodeInstance = NULL; NTSTATUS Status = STATUS_SUCCESS; Assert(pFilterNode); pFilterNodeInstance = new FILTER_NODE_INSTANCE; if(pFilterNodeInstance == NULL) { Status = STATUS_INSUFFICIENT_RESOURCES; goto exit; } pFilterNodeInstance->pFilterNode = pFilterNode; pFilterNodeInstance->AddRef(); if(pFilterNode->GetType() & FILTER_TYPE_GFX) { // // if it is a GFX do not try to open the device, just re-use // the file object which we cached during AddGfx // pFilterNodeInstance->pFileObject = pFilterNode->GetFileObject(); pFilterNodeInstance->hFilter = NULL; Status = STATUS_SUCCESS; } else { // // if it is not a GFX go ahead and open the device. // Status = pFilterNode->OpenDevice(&pFilterNodeInstance->hFilter); } if(!NT_SUCCESS(Status)) { DPF2(10, "CFilterNodeInstance::Create OpenDevice Failed: %08x FN: %08x", Status, pFilterNode); pFilterNodeInstance->hFilter = NULL; goto exit; } if (pFilterNodeInstance->hFilter) { Status = ObReferenceObjectByHandle( pFilterNodeInstance->hFilter, GENERIC_READ | GENERIC_WRITE, NULL, KernelMode, (PVOID*)&pFilterNodeInstance->pFileObject, NULL); } if(!NT_SUCCESS(Status)) { Trap(); pFilterNodeInstance->pFileObject = NULL; goto exit; } AssertFileObject(pFilterNodeInstance->pFileObject); Status = pFilterNodeInstance->RegisterTargetDeviceChangeNotification(); if(!NT_SUCCESS(Status)) { goto exit; } DPF2(95, "CFilterNodeInstance::Create %08x FN: %08x", pFilterNodeInstance, pFilterNode); exit: if(!NT_SUCCESS(Status)) { if (pFilterNodeInstance) { pFilterNodeInstance->Destroy(); } pFilterNodeInstance = NULL; } *ppFilterNodeInstance = pFilterNodeInstance; return(Status); } //--------------------------------------------------------------------------- NTSTATUS CFilterNodeInstance::RegisterTargetDeviceChangeNotification( ) { NTSTATUS Status; ASSERT(gpDeviceInstance != NULL); ASSERT(gpDeviceInstance->pPhysicalDeviceObject != NULL); ASSERT(pNotificationHandle == NULL); Status = IoRegisterPlugPlayNotification( EventCategoryTargetDeviceChange, 0, pFileObject, gpDeviceInstance->pPhysicalDeviceObject->DriverObject, (NTSTATUS (*)(PVOID, PVOID)) CFilterNodeInstance::TargetDeviceChangeNotification, this, &pNotificationHandle); if(!NT_SUCCESS(Status)) { if(Status != STATUS_NOT_IMPLEMENTED) { goto exit; } Status = STATUS_SUCCESS; } DPF2(100, "RegisterTargetDeviceChangeNotification: FNI: %08x PFO: %08x", this, this->pFileObject); exit: return(Status); } VOID CFilterNodeInstance::UnregisterTargetDeviceChangeNotification( ) { HANDLE hNotification; DPF1(100, "UnregisterTargetDeviceChangeNotification: FNI: %08x", this); hNotification = pNotificationHandle; if(hNotification != NULL) { pNotificationHandle = NULL; IoUnregisterPlugPlayNotification(hNotification); } } NTSTATUS CFilterNodeInstance::DeviceQueryRemove( ) { PGRAPH_NODE_INSTANCE pGraphNodeInstance; PDEVICE_NODE pDeviceNode; PGRAPH_NODE pGraphNode; FOR_EACH_LIST_ITEM(gplstDeviceNode, pDeviceNode) { FOR_EACH_LIST_ITEM(&pDeviceNode->lstGraphNode, pGraphNode) { FOR_EACH_LIST_ITEM( &pGraphNode->lstGraphNodeInstance, pGraphNodeInstance) { for(ULONG n = 0; n < pGraphNodeInstance->Topology.TopologyNodesCount; n++) { pGraphNodeInstance-> papFilterNodeInstanceTopologyTable[n]->Destroy(); pGraphNodeInstance-> papFilterNodeInstanceTopologyTable[n] = NULL; } } END_EACH_LIST_ITEM } END_EACH_LIST_ITEM } END_EACH_LIST_ITEM return(STATUS_SUCCESS); } NTSTATUS CFilterNodeInstance::TargetDeviceChangeNotification( IN PTARGET_DEVICE_REMOVAL_NOTIFICATION pNotification, IN PFILTER_NODE_INSTANCE pFilterNodeInstance ) { DPF3(5, "TargetDeviceChangeNotification: FNI: %08x PFO: %08x %s", pFilterNodeInstance, pNotification->FileObject, DbgGuid2Sz(&pNotification->Event)); if(IsEqualGUID( &pNotification->Event, &GUID_TARGET_DEVICE_REMOVE_COMPLETE) || IsEqualGUID( &pNotification->Event, &GUID_TARGET_DEVICE_QUERY_REMOVE)) { NTSTATUS Status = STATUS_SUCCESS; LARGE_INTEGER li = {0, 10000}; // wait for 1 ms Status = KeWaitForMutexObject( &gMutex, Executive, KernelMode, FALSE, &li); if(Status != STATUS_TIMEOUT) { DeviceQueryRemove(); ReleaseMutex(); } else { DPF1(5, "TargetDeviceChangeNotification: FAILED %08x", Status); } } return(STATUS_SUCCESS); } //--------------------------------------------------------------------------- #ifdef DEBUG ENUMFUNC CFilterNodeInstance::Dump( ) { if(this == NULL) { return(STATUS_CONTINUE); } if(ulDebugFlags & (DEBUG_FLAGS_VERBOSE | DEBUG_FLAGS_OBJECT)) { dprintf("FNI: %08x cRef %02x FO %08x H %08x DN %08x FN %08x NH %08x\n", this, cReference, pFileObject, hFilter, pDeviceNode, pFilterNode, pNotificationHandle); dprintf(" %s\n", pFilterNode->DumpName()); } return(STATUS_CONTINUE); } #endif //---------------------------------------------------------------------------
[ "112426112@qq.com" ]
112426112@qq.com
1f754fef73f9477ba8050d78fd14163163cc06b5
e25356b34cdd07d869896cfadb3ef0fc7d284a56
/leetcodenew/word-ladder-ii.cpp
10e8764f7673da3086028597e5a578f09dd18ad9
[]
no_license
lantimilan/topcoder
3d0f3a532fb59eeb88a3fb2cc6bc2ef6699b1225
7200ed04b1eb774f515a2f06f50a374a3d6782ae
refs/heads/master
2020-04-05T14:39:02.898235
2018-11-20T06:40:49
2018-11-20T06:40:49
5,063,277
0
0
null
null
null
null
UTF-8
C++
false
false
1,769
cpp
/** * word-ladder-ii.cpp * https://oj.leetcode.com/problems/word-ladder-ii/ * */ class Solution { public: vector<vector<string>> findLadders(string start, string end, unordered_set<string> &dict) { map<string, int> dist_map; map<string, vector<string> > pred_map; queue<string> que; que.push(start); dist_map[start] = 1; while (!que.empty()) { string s = que.front(); que.pop(); for (int i = 0; i < s.length(); ++i) for (char ch = 'a'; ch <= 'z'; ++ch) if (ch != s[i]) { string t = s; t[i] = ch; if (dict.count(t)) { if (dist_map.count(t)) { if (dist_map[t] == dist_map[s] + 1) { pred_map[t].push_back(s); } } else { // first time hit t dist_map[t] = dist_map[s] + 1; pred_map[t] = vector<string>(1, s); que.push(t); } } } } vector<vector<string> > ans; if (!dist_map.count(end)) return ans; dfs(end, pred_map, ans, vector<string>()); for (int i = 0; i < ans.size(); ++i) { reverse(ans[i].begin(), ans[i].end()); } return ans; } void dfs(string t, map<string, vector<string> > &pred_map, vector<vector<string> > &vec, vector<string> prefix) { if (!pred_map.count(t)) { prefix.push_back(t); vec.push_back(prefix); return; } prefix.push_back(t); for (int i = 0; i < pred_map[t].size(); ++i) { string next = pred_map[t][i]; dfs(next, pred_map, vec, prefix); } } };
[ "lantimilan@gmail.com" ]
lantimilan@gmail.com
8842418cbd4c0dbf118f73de5324f31c4bacd2b6
7fdf90b1a8c25c926bb31d1711dfde618460315b
/Examples/minesweeper/minesweeper.cpp
7be2092b162d569c894ed1d983ae83516bc6dc6c
[ "Apache-2.0" ]
permissive
dlnuxjy/Clementine
18cdc2c2a49dd40afa45ac0da148a35a97dc4dc0
785b7ec46e0adb35f5b194bd89c3b459fe547464
refs/heads/master
2023-08-26T06:07:58.176754
2021-10-21T09:14:52
2021-10-21T09:14:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,153
cpp
// Copyright 2021 SMS // License(Apache-2.0) #include <Clem/Clem.h> #include <future> #include <iostream> #include <limits.h> using namespace std; using namespace clem; // TODO: 计时, 先揭开第一个方格再生成地雷, 防止第一次就触碰到地雷 class App : public Application { public: App() : Application("Minesweeper") { } void init() override { opening.loadFromFile("assets/opening.wav"); explode.loadFromFile("assets/explode.wav"); puts(R"( /--[Level]--\ | 1. Easy | | 2. Middle | | 3. Hard | \-----------/)"); char choice = getchar(); (void)getchar(); switch(choice) { default: case '1': board_size.x = 9; board_size.y = 9; mine_num = 10; break; case '2': board_size.x = 16; board_size.y = 16; mine_num = 40; break; case '3': board_size.x = 30; board_size.y = 16; mine_num = 99; break; } auto board = Main::registry.create(); board.add<Transform>(); sprite = &board.add<Sprite>(Size2i(board_size.x * 2 + 1, board_size.y + 2)); EventDispatcher::get().addListener(Event::Type::mouse, [&](Event* e) { auto event = dynamic_cast<MouseEvent*>(e); if(event->getType() == MouseEvent::Type::click) { Point2i p = event->getPosition(); p = {((p.x + 1) / 2) - 1, p.y - 1}; if(event->getKey() == MouseEvent::Key::left_buttom) open(p.x, p.y); else if(event->getKey() == MouseEvent::Key::right_buttom) flag(p.x, p.y); } }); auto ui = Main::registry.create("info"); ui.add<Sprite>(Size2i(15, board_size.y + 2)); ui.add<Transform>().setPosition(Point2((float)board_size.x * 2 + 2, 0)); ui.add<Script>().onUpdate = [&](Time) { auto& s = Main::registry.get("info").get<Sprite>(); s.drawString({0, 0}, L"Mines: " + to_wstring(mine_num - flags.size())); }; start(); } void start() { memset(map, '0', sizeof(map)); for(int i = 0; i < mine_num; i++) { Point2i p = random.getVector2i({0, 0}, {board_size.x - 1, board_size.y - 1}); if(map[p.x][p.y] == '*') { i--; continue; } map[p.x][p.y] = '*'; for(int x = -1; x <= 1; x++) for(int y = -1; y <= 1; y++) if(inBoard(p.x + x, p.y + y) && map[p.x + x][p.y + y] != '*') map[p.x + x][p.y + y]++; } flags.clear(); sprite->clear(); sprite->drawRect(Rect2i({0, 0}, {board_size.x * 2 + 1, board_size.y + 2}), Tile('#')); surplus = board_size.area() - mine_num; source.play(opening); } void win() { wstring str = L"-=[ You won ]=-"; sprite->drawString({(board_size.x * 2 + 1 - (int)str.size()) / 2, board_size.y / 2}, str, Color::yellow); static auto h = async([&]() { (void)getchar(); stop(); }); } void lost() { source.play(explode); for(int x = 0; x < board_size.x; x++) for(int y = 0; y < board_size.y; y++) if(map[x][y] == '*') sprite->drawPoint(x * 2 + 1, y + 1, Tile('*', Color::red)); wstring str = L"Press enter to exit"; sprite->drawString({(board_size.x * 2 + 1 - (int)str.size()) / 2, 0}, str, Color::red); static auto h = async([&]() { (void)getchar(); stop(); }); } void open(int x, int y) { if(!inBoard(x, y) || map[x][y] == '.') return; if(map[x][y] == '*') lost(); if(map[x][y] == '0') { map[x][y] = '.'; for(int i = -1; i <= 1; i++) for(int j = -1; j <= 1; j++) open(x + i, y + j); } sprite->drawPoint(1 + x * 2, 1 + y, Tile(map[x][y], map[x][y] % Color::max)); map[x][y] = '.'; surplus--; if(surplus == 0) win(); } void flag(int x, int y) { if(!inBoard(x, y) || map[x][y] == '.') return; auto flag = find(flags.begin(), flags.end(), Point2i(x, y)); if(flag == flags.end()) { sprite->drawPoint(1 + x * 2, 1 + y, Tile('?', Color::yellow)); flags.push_back(Point2i(x, y)); } else { sprite->drawPoint(1 + x * 2, 1 + y, Tile(' ')); flags.erase(flag); } } private: bool inBoard(int x, int y) const { return x >= 0 && x < board_size.x && y >= 0 && y < board_size.y; } Size2i board_size; // 雷区大小 int mine_num; // 地雷数量 char map[30][16]; // 雷区 int surplus; // 剩余未揭开格数 vector<Point2i> flags; // 标记位置 Sound opening; // 开场音效(游戏开始) Sound explode; // 引爆地雷音效(游戏失败) Source source; Random random; Sprite* sprite; }; Application* clem::CreateApplication() { return new App; }
[ "sms_school@outlook.com" ]
sms_school@outlook.com
e3de4c6c2a674e8d8d2d1f156914568f4b941ebb
8b7325cbdf26b749a9f2c8b7f830bfc9e443fc58
/src/parsecol.cpp
570fbd02d3713726961271db7c88a36fa28fabce
[]
no_license
davidsanford/Analysis-and-Plotting-in-ROOT
c6c0939e94dce56fa3358c87aa1ece332efa7be3
20188948c596e75c3896a2009b6e6852ffc1db28
refs/heads/master
2020-04-05T17:08:52.048936
2015-07-08T20:51:48
2015-07-08T20:51:48
38,398,076
0
0
null
null
null
null
UTF-8
C++
false
false
3,550
cpp
#include"parsecol.h" /* ###################################################################### ParseCol Constructor Takes in an open parameter file and sets up reading for a space/tab-delimited multi-column read file. Input File Name Variable Values skip_lines skip Number of lines to skip. Default: 0 num_columns nCol Total number of columns to input This is an upper limit on the number of columns to be read in Default: -1 (read entire line) ###################################################################### */ ParseCol::ParseCol() {} ParseCol::ParseCol(istream &in) { Initialize(in); } ParseCol::ParseCol(ParseCol &other) { nCol = other.nCol; skip = other.skip; } void ParseCol::LoadDefaults() { Parse::LoadDefaults(); skip = 0; nCol = -1; } //Output the current control settings to the given stream void ParseCol::PrintSettings(ostream &out) { Parse::PrintSettings(out); out << "ParseCol Parameters" << endl << "# lines to skip at the beginning of the file: " << skip << endl << "# total columns to read: " << nCol << endl; } int ParseCol::Define(stringstream &inputLine) { stringstream copy(inputLine.str()); if(Parse::Define(copy)) return 1; string block; inputLine >> block; if(parseVerbosity > 1) { cout << "Full Define stream: " << inputLine.str() << endl; } if(parseVerbosity > 0) { cout << "ParseCol: Assigning Block: " << block << endl; } if(block == "skip_lines") inputLine >> skip; else if(block == "num_columns") inputLine >> nCol; else { if(parseVerbosity > 0) cout << "ParseCol: Invalid option: " << block << endl; return 0; } return 1; } //Setup (or reset) for reading. Opens the current input file, deletes //current data, and performs line skipping. void ParseCol::OpenFile() { readFlag = 1; char buff[1000]; //Delete current data for(int i = 0; i < storedValues.size(); i++) { storedValues[i] -> resize(0); } //Output current settings if in verbose mode if(parseVerbosity > 0) this -> PrintSettings(cout); //Reset stream if it is already open if(input.is_open()) { input.close(); input.clear(); } //Open file to be parsed input.open(file.c_str()); //Check file existence if(!input.is_open()) { cout << "Error, could not find file " << file << endl; readFlag = 0; } else if(parseVerbosity > 0) { cout << file << " opened successfully" << endl; } //Discard lines of the file based on the value of 'skip' if(readFlag) { for(int i = 0; i < skip; i++) { input.getline(buff, 1000); if(parseVerbosity > 0) { cout << "Skipping line: " << buff << endl; } } } } //Read a line from the input file int ParseCol::Read(vector<double> &readValues) { char buff[1000]; input.getline(buff, 1000); //Return 0 (exit code) if end-of-file has been reached if(input.eof()) return 0; string temp = buff; temp += " "; double current; stringstream lineParse(temp); lineParse >> current; //Loop over all columns while(!lineParse.eof() && (nCol < 0 || readValues.size() < nCol)) { readValues.push_back(current); lineParse >> current; } if(parseVerbosity > 1) { cout << "ParseCol::Read : "; for(int i = 0; i < readValues.size(); i++) cout << readValues[i] << " "; cout << endl; } return 1; }
[ "adraximezrinel@gmail.com" ]
adraximezrinel@gmail.com
24b81df28f6dcded757457efe908a4d8fc576d86
f5262ca267eacc7cccd2b6a627ea014f27806a7b
/Classes/Utils/TableBase.h
7cac699a0dd57d034fd6be73af2957478a2f58a8
[]
no_license
daxingyou/dzpkV3.2
deba8d2a7d8ef3c547e36b6bd2b54eab0fe3129a
275bff1762ff6becc03ef98ef6349450988c86e4
refs/heads/master
2022-02-03T13:05:09.507725
2015-06-15T06:01:32
2015-06-15T06:01:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
461
h
#ifndef _TABLE_BASE_ #define _TABLE_BASE_ #include "cocos2d.h" #include "cocos-ext.h" #include "DBDelegate.h" #include "external/sqlite3/include/sqlite3.h" USING_NS_CC; USING_NS_CC_EXT; class TableBase : public Ref , public DBDelegate { public: Vector<TableBase*> m_datas; public: TableBase() {}; ~TableBase() { m_datas.clear(); }; virtual int toObject(int n_column, char ** column_value, char ** column_name) { return 0; }; }; #endif
[ "1015406529@qq.com" ]
1015406529@qq.com
011554a5687e7183c7521c9ce7238e9155507dd4
d45c17be6795065e1340655e4a1e5964ee8ad242
/RipTag/Source/Physics/Dynamics/Joints/b3RevoluteJoint.h
8e9c5389043aaee7b24b8ed4c552273682b756fc
[]
no_license
tobbep1997/RipTag
d6e8c2bafe20cc5ee4982794259f98f248320e6e
09395d53f7d8c3679423dd49c73ab089cda4bd96
refs/heads/master
2020-03-27T22:13:05.550289
2019-03-21T13:46:28
2019-03-21T13:46:28
147,214,082
10
0
null
2018-12-28T11:43:16
2018-09-03T14:11:57
C++
UTF-8
C++
false
false
3,936
h
/* * Copyright (c) 2015-2015 Irlan Robson http://www.irlans.wordpress.com * * 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. */ #ifndef __B3_REVOLUTE_JOINT_H__ #define __B3_REVOLUTE_JOINT_H__ #include "b3Joint.h" /* * A Revolute (or Hinge) Joint. * The body B will rotate relative to the body A * about the z-axis of the specified frame on the local space * of body A. * It can be usefull to create interesting physical * object behaviours such doors, platforms, ragdolls, and others. * I (Irlan) solve each constraint separately but this is * probably not the best way to do it. * @todo_irlan Use direct enumeration (as in Box2D)? */ struct b3RevoluteJointDef : b3JointDef { b3RevoluteJointDef() { //@todo_irlan Is the atan2 function really returning angles on this range? lowLimit = -B3_TWO * B3_PI; highLimit = B3_TWO * B3_PI; } virtual b3JointType GetType() const { return b3JointType::e_revoluteJoint; }; b3Transform localFrameA; b3Transform localFrameB; r32 lowLimit; r32 highLimit; }; class b3RevoluteJoint : public b3Joint { public : enum b3LimitState { e_lowerLimit, e_upperLimit, e_betweenLimits, }; // Get the joint type. virtual b3JointType GetType() const { return b3JointType::e_revoluteJoint; } // Get the local joint frame on body A. const b3Transform& GetLocalFrameA() const; // Get the local joint frame on body B. const b3Transform& GetLocalFrameB() const; // Set the local joint frames on each body. // The hinge axis will be the z vector of the (world) frame A. void SetLocalFrames(const b3Transform& localFrameA, const b3Transform& localFrameB); // Set the angle limits for rotations about the hinge axis. void SetAngleLimits(r32 low, r32 high); protected : friend class b3JointGraph; friend class b3JointSolver; b3RevoluteJoint(const b3RevoluteJointDef* def); virtual void InitializeVelocityConstraint(const b3SolverData* data); virtual void WarmStart(const b3SolverData* data); virtual void SolveVelocityConstraint(const b3SolverData* data); // The local joint frames on each body. b3Transform m_localFrameA; b3Transform m_localFrameB; // The angle limits. r32 m_low; r32 m_high; // Relative revolute velocity constraint data. b3Vec3 m_u2xw1; r32 m_invMass1; r32 m_velocityBias1; r32 m_accLambda1; b3Vec3 m_v2xw1; r32 m_invMass2; r32 m_velocityBias2; r32 m_accLambda2; // Revolute joint axis angle limits velocity constraint data. b3LimitState m_limitState; b3Vec3 m_w1; r32 m_velocityBias3; r32 m_accLambda3; // Point-to-point velocity constraint data. b3Mat33 m_invMass4; b3Vec3 m_rA; b3Vec3 m_rB; b3Vec3 m_velocityBias4; b3Vec3 m_accImpulse4; }; inline const b3Transform& b3RevoluteJoint::GetLocalFrameA() const { return m_localFrameA; } inline const b3Transform& b3RevoluteJoint::GetLocalFrameB() const { return m_localFrameB; } inline void b3RevoluteJoint::SetLocalFrames(const b3Transform& localFrameA, const b3Transform& localFrameB) { m_localFrameA = localFrameA; m_localFrameB = localFrameB; } inline void b3RevoluteJoint::SetAngleLimits(r32 low, r32 high) { b3Assert(low < high); m_low = low; m_high = high; } #endif
[ "joakim.trossvik@gmail.com" ]
joakim.trossvik@gmail.com
f5f1f2f0749cd4759d1fef801a114ae18418e783
ddcf2920eb2b800d0fa55c4af3ab65d692e1c149
/cypher/main.cpp
c3b1004537c1b4494785166fb824e5b3a2b7b941
[]
no_license
AforkProg/haaaaxxxx
88c251c50da792f8bf57ff2a40f87cf5146b4425
9a4714cc1fdb61ca1ecaa7c5647c5933cca7fc2f
refs/heads/master
2022-08-19T01:00:11.776137
2020-05-12T09:15:53
2020-05-12T09:15:53
259,879,102
0
0
null
null
null
null
UTF-8
C++
false
false
25,556
cpp
#include <iostream> #include <regex> #include "json.hpp" #include <Windows.h> #include <fstream> #include <ctime> #include <string> using namespace std; using json = nlohmann::json; class base { public: virtual void createKey(string text) = 0; virtual void findText() = 0; }; class rePlace : public base { public: void findText() { cout << "Enter path to document with key" << endl; string path; cin >> path; cmatch result; regex regular("(\.)""(key)"); if (regex_search(path.c_str(), result, regular)) { cout << ""; } else { cout << "Use .key document extension" << endl; system("pause"); exit(0); } fstream text(path); string keyDoc; string key; if (text.is_open()) { getline(text, keyDoc); cmatch result; regex regular("(Replace)""(.+)"); if (regex_search(keyDoc.c_str(), result, regular)) { key = result[2]; findCypher(key); } else { cout << "Key is not for Replace" << endl; system("pause"); exit(0); } } else { cout << "Error. The document was not found" << endl << endl; system("pause"); exit(0); } } void createKey(string text) { bool trigger = false; vector<int> key; for (int a = 0; a < text.size(); a++) key.push_back(' '); cout << "Key is generating. Please wait..."; int time = rand() % 2000 + 1000; Sleep(time); for (int a = 0; a < key.size(); a++) { int num = rand() % key.size(); for (int i = 0; i < text.size(); i++) { if (key[i] == num) { num = rand() % key.size(); i = -1; continue; } if (i == text.size() - 1) key[a] = num; } } for (int a = 0; a < 33; a++) cout << "\b"; string chos; cout << "Key was generated. Print it on display? (Y/N)"; while (1) { cin >> chos; cmatch result; regex regular("([\\w])"); if (regex_search(chos.c_str(), result, regular)) { if (chos == "Y") { for (int a = 0; a < key.size(); a++) cout << key[a]; cout << endl; break; } else if (chos == "N") { break; } else { cout << "Incorrect answer. Try again" << endl; continue; } } else { cout << "Incorrect symbol" << endl; system("pause"); exit(0); } } saveKey(key , text); } private: void findCypher(string keyTemp) { cout << "Enter path to document with cypher" << endl; string path; cin >> path; cmatch result; regex regular("(\.)""(encrypt)"); if (regex_search(path.c_str(), result, regular)) { cout << ""; } else { cout << "Use .encrypt document extension" << endl; system("pause"); exit(0); } fstream text(path); string keyDoc; if (text.is_open()) { getline(text, keyDoc); cmatch result; regex regular("(Replace)""(.+)"); if (regex_search(keyDoc.c_str(), result, regular)) { string cypherTemp = result[2]; string key; string cypher; for (int a = 7; ; a++) { if (keyTemp[a] == '}') break; else { key.push_back(keyTemp[a]); } } for (int a = 10; ; a++) { if (cypherTemp[a] == '}') break; else cypher.push_back(cypherTemp[a]); } decrypt(key, cypher); } else { cout << "Key is not for Replace" << endl; system("pause"); exit(0); } } else { cout << "Error. The document was not found" << endl << endl; system("pause"); exit(0); } } void decrypt(string key, string cypher) { vector<int> keyA; string text; for (int a = 0; a < cypher.size(); a++) text.push_back(' '); string temp; string numStr; int num; for (int a = 0; a < key.size(); a++) { int b = a; while (1) { if (key[b] == ',') { a = b; break; } numStr.push_back(key[b]); b++; } num = stoi(numStr); keyA.push_back(num); numStr.clear(); } int tempT; for (int a = 0; a < cypher.size(); a++) { tempT = keyA[a]; text[a] = cypher[tempT]; } cout << "Enter path to save text" << endl; string path; cin >> path; cmatch result; regex regular("(.+)""(.txt)"); if (regex_search(path.c_str(), result, regular)) { ofstream dock; dock.open(path, std::ios::app); if (dock.is_open()) { dock << text; } else { cout << "Error. Wrong path" << endl; system("pause"); exit(0); } } else { cout << "Use .txt document extension" << endl; system("pause"); exit(0); } } void saveKey(vector<int> key, string text) { cout << "Enter path for save key in document" << endl; string path; cin >> path; cmatch result; regex regular("(\.)""(.key)"); if (regex_search(path.c_str(), result, regular)) { cout << ""; } else { cout << "Use .key document extension" << endl; system("pause"); exit(0); } fstream textTemp(path); string textDoc; if (textTemp.is_open()) { cout << "Error. This document exist already" << endl; system("pause"); exit(0); } else { ofstream dock; dock.open(path, std::ios::app); if (dock.is_open()) { dock << "Replace {Key: "; for (int a = 0; a < key.size(); a++) dock << key[a] << ","; dock << "}"; cout << "Key was saved" << endl; crypt(key, text); } else { cout << "Error. Cannot open this document" << endl; system("pause"); exit(0); } } } void crypt(vector<int> key, string text) { string cypher; for (int a = 0; a < text.size(); a++) cypher.push_back(' '); int i = 0; for (int a = 0; a < text.size(); a++) { int place = key[i]; cypher[place] = text[a]; i++; } cout << "Cypher was created" << endl; cout << "Enter path to save cypher: " << endl; string path; cin >> path; regex regular("(\.)""(encrypt)"); cmatch result; if (regex_search(path.c_str(), result, regular)) { cout << ""; } else { cout << "Use .encrypt document extension" << endl; system("pause"); exit(0); } fstream textTemp(path); string textDoc; if (textTemp.is_open()) { cout << "Error. This document exist already" << endl; system("pause"); exit(0); } else { ofstream dock; dock.open(path, std::ios::app); if (dock.is_open()) { dock << "Replace {cypher: "; for (int a = 0; a < key.size(); a++) dock << cypher[a]; dock << "}"; cout << "Cypher was saved" << endl; } else { cout << "Error. Cannot open this document" << endl; system("pause"); exit(0); } } } }; class change : public base { public: void findText() { cout << "Enter path to document with key" << endl; string path; cin >> path; cmatch result; regex regular("(\.)""(key)"); if (regex_search(path.c_str(), result, regular)) { cout << ""; } else { cout << "Use .key document extension" << endl; system("pause"); exit(0); } fstream text(path); string keyDoc; string key; if (text.is_open()) { getline(text, keyDoc); cmatch result; regex regular("(.+)""(Change)""(.+)"); if (regex_search(keyDoc.c_str(), result, regular)) { findCypher(keyDoc); } else { cout << "Key is not for Change" << endl; system("pause"); exit(0); } } else { cout << "Cannot find document" << endl; system("pause"); exit(0); } } void createKey(string text) { string key; for (int a = 0; a < text.size(); a++) key.push_back(' '); fstream alph("my_alphabet.alph"); string alphDoc; if (alph.is_open()) getline(alph , alphDoc); string alphStr; for (int a = 7; a < alphDoc.size(); a++) { if (alphDoc[a] == ',' || alphDoc[a] == '[' || alphDoc[a] == ']' || alphDoc[a] == '[' || alphDoc[a] == '{' || alphDoc[a] == '}' || alphDoc[a] == '"') { continue; } else { alphStr.push_back(alphDoc[a]); } } int sym; int i = 0; for (int a = 0; a < key.size(); a++) { sym = rand() % alphStr.size(); for (int b = 0; b < key.size(); b++) { if (key[b] == alphStr[sym]) { a--; break; } else if (key[b] != alphStr[sym]) { if (b == key.size() - 1) { key[i] = alphStr[sym]; i++; break; } continue; } } } cout << "Key was generated. Print it on display?(Y/N)"; string chos; while (1) { cin >> chos; cmatch result; regex regular("([\\w])"); if (regex_search(chos.c_str(), result, regular)) { if (chos == "Y") { for (int a = 0; a < key.size(); a++) cout << key[a]; cout << endl; break; } else if (chos == "N") { break; } else { cout << "Incorrect answer. Try again" << endl; continue; } } else { cout << "Incorrect symbol" << endl; system("pause"); exit(0); } } saveKey(key, text, alphStr); } private: void findCypher(string key) { cout << "Enter path to document with cypher" << endl; string path; cin >> path; cmatch result; regex regular("(\.)""(encrypt)"); if (regex_search(path.c_str(), result, regular)) { cout << ""; } else { cout << "Use .encrypt document extension" << endl; system("pause"); exit(0); } fstream text(path); string cypherDoc; if (text.is_open()) { getline(text, cypherDoc); cmatch result; regex regular("(.+)""(Change)""(.+)"); if (regex_search(cypherDoc.c_str(), result, regular)) { decrypt(key, cypherDoc); } else { cout << "Key is not for Change" << endl; system("pause"); exit(0); } } else { cout << "Error. The document was not found" << endl << endl; system("pause"); exit(0); } } void decrypt(string key, string cypher) { fstream alph("my_alphabet.alph"); string alphDoc; if (alph.is_open()) getline(alph, alphDoc); string alphStr; for (int a = 7; a < alphDoc.size(); a++) { if (alphDoc[a] == ',' || alphDoc[a] == '[' || alphDoc[a] == ']' || alphDoc[a] == '[' || alphDoc[a] == '{' || alphDoc[a] == '}' || alphDoc[a] == '"') { continue; } else { alphStr.push_back(alphDoc[a]); } } bool trigger = false; string text; //35--14-- (-5) for (int a = 32; ; a++) { if (a == cypher.size() - 2) { break; } for (int b = 0; b < alphStr.size(); b++) { if (b == alphStr.size() - 1) { text.push_back(cypher[a]); trigger = true; break; } else if (cypher[a] == alphStr[b]) { trigger = false; break; } } if (trigger == true) { trigger = false; continue; } for (int b = 35; b < key.size(); b+=11) { if (cypher[a] == key[b]) { text.push_back(key[b - 5]); break; } else continue; } } string path; cout << "Enter path to save text" << endl; cin >> path; ofstream dock; dock.open(path, std::ios::app); if (dock.is_open()) { dock << text << endl; } } void saveKey(string cypher, string text, string alph) { string key; for (int a = 0; a < alph.size(); a++) { for (int b = 0; b < text.size(); b++) { if (alph[a] == text[b]) { key.push_back(cypher[b]); break; } else continue; } } string alphText; for (int a = 0; a < alph.size(); a++) { for (int b = 0; b < text.size(); b++) { if (alph[a] == text[b]) { alphText.push_back(text[b]); break; } else continue; } } cout << "Enter path for save key in document" << endl; string path; cin >> path; cmatch result; regex regular("(\.)""(key)"); if (regex_search(path.c_str(), result, regular)) { cout << ""; } else { cout << "Use .key document extension" << endl; system("pause"); exit(0); } fstream textTemp(path); string textDoc; if (textTemp.is_open()) { cout << "Error. This document exist already" << endl; system("pause"); exit(0); } else { ofstream dock; dock.open(path, std::ios::app); if (dock.is_open()) { dock << "'alg_type': 'Change','key':["; for (int a = 0; a < alphText.size(); a++) { dock << "['" << alphText[a] << "'" << ", '" << key[a] << "'],"; } dock << "]}"; cout << "Key was saved" << endl; dock.close(); string cypherTemp; fstream keyT(path); string keyDoc; if (keyT.is_open()) { getline(keyT, keyDoc); } for (int a = 0; a < text.size(); a++) { for (int b = 30; b < keyDoc.size(); b += 11) { if (text[a] == keyDoc[b]) { cypherTemp.push_back(keyDoc[b + 5]); break; } else continue; } } crypt(cypherTemp, alph, text); } else { cout << "Error. Cannot open this document" << endl; system("pause"); exit(0); } } } void crypt(string cypher, string alph, string text) { cout << "Enter path to save cypher: " << endl; string path; cin >> path; regex regular("(\.)""(encrypt)"); cmatch result; if (regex_search(path.c_str(), result, regular)) { cout << ""; } else { cout << "Use .encrypt document extension" << endl; system("pause"); exit(0); } fstream textTemp(path); string textDoc; if (textTemp.is_open()) { cout << "Error. This document exist already" << endl; system("pause"); exit(0); } else { int counter = 0; ofstream dock; dock.open(path, std::ios::app); bool trigger = false; if (dock.is_open()) { dock << "{'alg_type': 'Change', 'text': '"; for (int a = 0; a < text.size(); a++) { for (int b = 0; b < alph.size(); b++) { if (text[a] == alph[b]) { dock << cypher[a - counter]; break; } else if (b == alph.size() - 1) { dock << text[a]; counter++; break; } } } dock << "'}"; cout << "Cypher was saved" << endl; } else { cout << "Error. Cannot open this document" << endl; system("pause"); exit(0); } } } }; class gamming : public base { public: void findText() { cout << "Enter path to document with key" << endl; string path; cin >> path; cmatch result; regex regular("(\.)""(key)"); if (regex_search(path.c_str(), result, regular)) { cout << ""; } else { cout << "Use .key document extension" << endl; system("pause"); exit(0); } fstream text(path); string keyDoc; string key; if (text.is_open()) { getline(text, keyDoc); cmatch result; regex regular("(.+)""(Gamming)""(.+)"); if (regex_search(keyDoc.c_str(), result, regular)) { findCypher(keyDoc); } else { cout << "Key is not for Change" << endl; system("pause"); exit(0); } } else { cout << "Cannot find document" << endl; system("pause"); exit(0); } } void createKey(string text) { fstream alph("my_alphabet.alph"); string alphDoc; if (alph.is_open()) getline(alph, alphDoc); string alphStr; for (int a = 7; a < alphDoc.size(); a++) { if (alphDoc[a] == ',' || alphDoc[a] == '[' || alphDoc[a] == ']' || alphDoc[a] == '[' || alphDoc[a] == '{' || alphDoc[a] == '}' || alphDoc[a] == '"') { continue; } else { alphStr.push_back(alphDoc[a]); } } //alphsize = 51 string key; int sym; bool trigger = false; for (int a = 0; a < text.size(); a++) { for (int b = 0; b < alphStr.size(); b++) { if (text[a] == alphStr[b]) { trigger = false; break; } else if (b == alphStr.size() - 1) { trigger = true; break; } } if (trigger == true) { continue; } sym = rand() % 52; key.push_back(alphStr[sym]); } cout << "Key was generated. Print it on display?(Y/N)"; string chos; while (1) { cin >> chos; cmatch result; regex regular("([\\w])"); if (regex_search(chos.c_str(), result, regular)) { if (chos == "Y") { cout << key << endl; cout << endl; break; } else if (chos == "N") { break; } else { cout << "Incorrect answer. Try again" << endl; continue; } } else { cout << "Incorrect symbol" << endl; system("pause"); exit(0); } } saveKey(key, text, alphStr); } private: void saveKey(string key, string text, string alph) { cout << "Enter path for save key in document" << endl; string path; cin >> path; cmatch result; regex regular("(\.)""(key)"); if (regex_search(path.c_str(), result, regular)) { cout << ""; } else { cout << "Use .key document extension" << endl; system("pause"); exit(0); } fstream textTemp(path); string textDoc; if (textTemp.is_open()) { cout << "Error. This document exist already" << endl; system("pause"); exit(0); } else { ofstream dock; dock.open(path, std::ios::app); if (dock.is_open()) { dock << "'alg_type': 'Gamming','key':[" << key; dock << "]}"; cout << "Key was saved" << endl; } crypt(key, text, alph); } } void crypt(string key, string text, string alph) { string cypher; vector<int> numKey; vector<int> numText; for (int a = 0; a < text.size(); a++) { for (int b = 0; b < alph.size(); b++) { if (text[a] == alph[b]) { if (text[a] == ' ') break; numText.push_back(b); continue; } else continue; } } for (int a = 0; a < key.size(); a++) { for (int b = 0; b < alph.size(); b++) { if (key[a] == alph[b]) { numKey.push_back(b); continue; } else continue; } } vector<int> numCypher; for (int a = 0; a < numKey.size(); a++) { numCypher.push_back(numKey[a] + numText[a]); if (numCypher[a] > 51) { numCypher[a] = numCypher[a] - 51; } } for (int a = 0; a < numCypher.size(); a++) { for (int b = 0; b < alph.size(); b++) { if (numCypher[a] == b) { cypher.push_back(alph[b]); } } } cout << "Enter path to save cypher: " << endl; string path; cin >> path; regex regular("(\.)""(encrypt)"); cmatch result; if (regex_search(path.c_str(), result, regular)) { cout << ""; } else { cout << "Use .encrypt document extension" << endl; system("pause"); exit(0); } fstream textTemp(path); string textDoc; if (textTemp.is_open()) { cout << "Error. This document exist already" << endl; system("pause"); exit(0); } else { int counter = 0; bool trigger = false; ofstream dock; dock.open(path, std::ios::app); if (dock.is_open()) { dock << "{'alg_type': 'Gamming', 'text': '"; for (int a = 0; a < text.size(); a++) { for (int b = 0; b < alph.size(); b++) { if (text[a] == alph[b]) { dock << cypher[a - counter]; break; } else if (b == alph.size() - 1) { dock << text[a]; counter++; break; } } } dock << "'}"; cout << "Cypher was saved" << endl; } else { cout << "Error. Cannot open this document" << endl; system("pause"); exit(0); } } } void findCypher(string key) { cout << "Enter path to document with cypher" << endl; string path; cin >> path; cmatch result; regex regular("(\.)""(encrypt)"); if (regex_search(path.c_str(), result, regular)) { cout << ""; } else { cout << "Use .encrypt document extension" << endl; system("pause"); exit(0); } fstream text(path); string cypherDoc; if (text.is_open()) { getline(text, cypherDoc); cmatch result; regex regular("(.+)""(Gamming)""(.+)"); if (regex_search(cypherDoc.c_str(), result, regular)) { decrypt(key, cypherDoc); } else { cout << "Key is not for Change" << endl; system("pause"); exit(0); } } else { cout << "Error. The document was not found" << endl << endl; system("pause"); exit(0); } } void decrypt(string keyT, string cypherT) { fstream alph("my_alphabet.alph"); string alphDoc; if (alph.is_open()) getline(alph, alphDoc); string alphStr; for (int a = 7; a < alphDoc.size(); a++) { if (alphDoc[a] == ',' || alphDoc[a] == '[' || alphDoc[a] == ']' || alphDoc[a] == '[' || alphDoc[a] == '{' || alphDoc[a] == '}' || alphDoc[a] == '"') { continue; } else { alphStr.push_back(alphDoc[a]); } } string key; vector<int> numKey; vector<int> numCypher; vector<int> numText; for (int a = 29; a < keyT.size(); a++) { if (keyT[a] == ']') break; else { key.push_back(keyT[a]); } } string cypher; for (int a = 33; a < cypherT.size(); a++) { if (cypherT[a] == '\'') break; else { cypher.push_back(cypherT[a]); } } for (int a = 0; a < key.size(); a++) { for (int b = 0; b < alphStr.size(); b++) { if (key[a] == alphStr[b]) { numKey.push_back(b); } } } for (int a = 0; a < cypher.size(); a++) { for (int b = 0; b < alphStr.size(); b++) { if (cypher[a] == alphStr[b]) { numCypher.push_back(b); } } } for (int a = 0; a < key.size(); a++) { numText.push_back(numCypher[a] - numKey[a]); if (numText[a] < 0) { numText[a] += 51; } } string textTemp; int counter = 0; bool trigger = false; for (int a = 0; a < numText.size(); a++) { textTemp.push_back(alphStr[numText[a - counter]]); } string text; for (int a = 0; a < cypher.size(); a++) { for (int b = 0; b < alphStr.size(); b++) { if (cypher[a] == alphStr[b]) { text.push_back(textTemp[a - counter]); break; } else if (b == alphStr.size() - 1) { counter++; text.push_back(cypher[a]); break; } } } string path; cout << "Enter path to save text" << endl; cin >> path; ofstream dock; dock.open(path, std::ios::app); if (dock.is_open()) { dock << text << endl; } } }; class crypt { public: void cryptFunc(base & method, string text) { method.createKey(text); } void decrypt(base & method) { method.findText(); } }; int main() { crypt cr; rePlace a; change b; gamming c; while (1) { srand(time(NULL)); cout << "Choose the option" << endl; cout << "1. Decrypt" << endl; cout << "2. Create key and crypt text" << endl; cout << "3. Exit" << endl; int cho; cin >> cho; if (cho == 1) { cout << "Choose the kind of crypt" << endl; cout << "1. Replacement" << endl; cout << "2. Gamming" << endl; cout << "3. Transposition" << endl; cin >> cho; if (cho == 1) { cr.decrypt(a); } else if (cho == 2) { cr.decrypt(c); } else if (cho == 3) { cr.decrypt(b); } else { cout << "Incorrect option" << endl; system("pause"); break; } } else if (cho == 2) { cout << "Choose the kind of crypt" << endl; cout << "1. Replacement" << endl; cout << "2. Gamming" << endl; cout << "3. Transposition" << endl; string chos; cin >> chos; cmatch result; regex regular("([\\d])"); if (regex_search(chos.c_str(), result, regular)) { if (chos == "1") { cout << "Enter path of document with text: " << endl; string path; cin >> path; fstream text(path); string textDoc; int check = 0; if (text.is_open()) { while (getline(text, textDoc)) { check++; if (check > 1) { cout << "Sorry. As you use pre-pre-pre-alpha-alpha version you cant put here a document with 2 or more strings. Advice: put all you text in one string please C:" << endl; system("pause"); return 0; } } getline(text, textDoc); cr.cryptFunc(a, textDoc); } else { cout << "Error. The document was not found" << endl << endl; system("pause"); return 0; } } else if (chos == "2") { cout << "Enter path of document with text: " << endl; string path; cin >> path; fstream text(path); string textDoc; int check = 0; if (text.is_open()) { while (getline(text, textDoc)) { check++; if (check > 1) { cout << "Sorry. As you use pre-pre-pre-alpha-alpha version you cant put here a document with 2 or more strings. Advice: put all you text in one string please C:" << endl; system("pause"); return 0; } } getline(text, textDoc); cr.cryptFunc(c, textDoc); } else { cout << "Error. The document was not found" << endl << endl; system("pause"); return 0; } } else if (chos == "3") { cout << "Enter path of document with text: " << endl; string path; cin >> path; fstream text(path); string textDoc; int check = 0; if (text.is_open()) { while (getline(text, textDoc)) { check++; if (check > 1) { cout << "Sorry. As you use pre-pre-pre-alpha-alpha version you cant put here a document with 2 or more strings. Advice: put all you text in one string please C:" << endl; system("pause"); return 0; } } getline(text, textDoc); cr.cryptFunc(b, textDoc); } else { cout << "Error. The document was not found" << endl << endl; system("pause"); return 0; } } else { cout << "Incorrect option" << endl; system("pause"); return 0; } } else { cout << "Incorrect option" << endl; system("pause"); return 0; } } else return 0; } }
[ "afork4ik@gmail.com" ]
afork4ik@gmail.com
171eab60bf3ccd63f49202883d2ad50cba3581a5
724250b7511067ec0fed75c72fb9340ea8382cdf
/src/DataStructure.h
f180486d92fba50ac3ca8948e4934d40c83afa50
[]
no_license
Vitgracer/AlgorithmsProject
009e9fa6c2b78a9a185303f88f8b17fbfb139a9a
2733b0563bc7a44893f99a1665965d7eda46a644
refs/heads/master
2020-05-21T19:35:45.632823
2016-12-21T17:21:18
2016-12-21T17:21:18
65,831,225
1
0
null
null
null
null
UTF-8
C++
false
false
3,220
h
template<class Item> void exch(Item& A, Item&B) { Item t = A; A = B; B = t; } ///////////////////////// // ---- LINKED-LIST ----- ///////////////////////// struct node { int item; node* next; node(int i, node* n); }; typedef node* link; typedef link Node; namespace li { void deleteNode(Node n); void insert(Node src, Node ins); link reverse(link x); Node next(Node n); int item(Node n); void show(Node n); } ///////////////////////// // ------ STACK -------- ///////////////////////// template <class Item> class Stack { private: Item* data; int N; public: Stack(int maxSize) : data(new Item[maxSize]), N(0) {}; int empty() const { return N == 0; } void push(Item item) { data[N++] = item; } Item pop() { return data[--N]; } int getSize() { return N; } }; //////////////////////////////////////////// // ------ STACK based on linked list-------- //////////////////////////////////////////// template <class Item> class llStack { private: link head; public: llStack() : head(0) {} int empty() const { return head == 0; } void push(Item item) { head = new node(item, head); } Item pop() { using namespace li; Item v = item(head); link t = next(head); delete head; head = t; return v; } }; ///////////////////////// // ------ QUEUE -------- ///////////////////////// template<class Item> class Queue { private: link head, tail; public: Queue() : head(0) {} int empty() const { return head == 0; } void put(Item item) { link t = tail; tail = new node(item, 0); if (head == 0) { head = tail; } else { t->next = tail; } } Item get() { using namespace li; Item v = head->item; link t = next(head); delete head; head = t; return v; } }; /////////////////////////////////////// // ------ QUEUE based on array -------- /////////////////////////////////////// template <class Item> class QueueArray { private: Item* data; int tail; int head; int N; public: QueueArray(int maxN) : data(new Item[maxN]) , N(maxN + 1) , head(N) , tail(0) {} int empty() const { return head % N == tail; } void put(Item item) { data[tail++] = item; tail = tail % N; } Item get() { head = head % N; return data[head++]; } }; /////////////////////////////////////// // ------ PRIORITY-QUEUE -------------- /////////////////////////////////////// template <class Item> class PriorityQueue { private: Item* pq; int N; public: PriorityQueue(int maxN) : pq(new Item[maxN]), N(0) {} int empty() const { return N == 0; } void insert(Item item) { pq[N++] = item; } Item getMax() { int maxInd = 0; for (int i = 1; i < N; i++) { if (pq[maxInd] < pq[i]) maxInd = i; } exch(pq[maxInd], pq[N - 1]); return pq[--N]; } }; /////////////////////////////////////// // ------ BINARY-TREE ---------------- /////////////////////////////////////// struct BinaryTree { int item; BinaryTree* l; BinaryTree* r; BinaryTree(int in, BinaryTree* nodeL, BinaryTree* nodeR); }; typedef BinaryTree* BinaryTreeLink; namespace biTree { void traverse(BinaryTreeLink h); void traverseStack(BinaryTreeLink h); void levelTraverseQueue(BinaryTreeLink h); void visit(BinaryTreeLink h); int count(BinaryTreeLink h); int height(BinaryTreeLink h); }
[ "alfredfid@gmail.com" ]
alfredfid@gmail.com
11ae5ea951a55f0151a76a2e69b895a30d52c50c
835bd7f9fefc53816be3cf20d0d3e25aaf4c05b6
/workspace-latest/framework/src/VoicesAdapter.cpp
d4fd612d76da50693473eae241756050c6147f4c
[]
no_license
wangenheng/gitHub
fd24cee8bb9a3adf707cd095d88620dde91a2c87
3d5ccf1aee5650ad911affcfaf472f47db71e72b
refs/heads/master
2021-03-19T08:30:23.359813
2017-07-25T09:13:08
2017-07-25T09:13:08
98,287,966
0
1
null
null
null
null
UTF-8
C++
false
false
153
cpp
#include "VoicesAdapter.h" Implement_DynCreate(VoicesAdapter, Adapter) VoicesAdapter::VoicesAdapter(void) { } VoicesAdapter::~VoicesAdapter(void) { }
[ "wang.enheng@163.com" ]
wang.enheng@163.com
9ee97d83ec8b4d71b54e5de120477c4b10fc6301
13e6c13a775e6bc21d2ba7ea1c58e7c61abd9942
/puser.h
b9f80ddc7b42911f864e001fecef5182103393f3
[]
no_license
werwolf/pstore
d960f09de7a20d2a7610a4ef067e7892f5c29fbd
d0636c9fb45c35d72e5b963fca38184cd6a60d1c
refs/heads/master
2016-09-10T18:51:55.692244
2011-03-31T16:18:33
2011-03-31T16:18:33
1,550,850
0
0
null
null
null
null
UTF-8
C++
false
false
711
h
#ifndef PUSER_H #define PUSER_H #include <QObject> class PUser : public QObject { Q_OBJECT public: explicit PUser(long id, QObject *parent = 0); long getUserID(void) const { return id; }; QString getLogin(void) const { return login; }; QString getLastname(void) const { return lastname; }; QString getName(void) const { return name; }; QString getAddress(void) const { return address; }; QString getPhone(void) const { return phone; }; QString getEmail(void) const { return email; }; signals: public slots: private: long id; QString login; QString lastname; QString name; QString address; QString phone; QString email; }; #endif // PUSER_H
[ "nazar90@meta.ua" ]
nazar90@meta.ua
9aa4748b6e4dd27f6d063f4b9ab47544c3379470
f42dd0e2471c03600f890b2c769e57b24aaa08e3
/FrameWork/Client/Code/Architecture_Dynamic.cpp
7dfa4138180a4d9b6be538e9cd1ddfd4412e3204
[]
no_license
zeldie/-
1722f777fbe870e9ccef9e1eed49bb07e2ce1dd7
658225e7ead91839750f8024593ed67b059d8923
refs/heads/master
2022-12-22T02:34:30.128966
2020-09-14T07:56:25
2020-09-14T07:56:25
295,115,224
0
0
null
null
null
null
UTF-8
C++
false
false
4,732
cpp
#include "stdafx.h" #include "Architecture_Dynamic.h" CArchitecture_Dynamic::CArchitecture_Dynamic(LPDIRECT3DDEVICE9 pGraphicDev) :CDynamicMeshObject(pGraphicDev) { } CArchitecture_Dynamic::~CArchitecture_Dynamic() { } HRESULT CArchitecture_Dynamic::Ready_GameObject(wstring wstrObjectKey, _vec3 * pPos, _vec3 * pAngle, _vec3 * pScale) { if (FAILED(Clone_Component(wstrObjectKey))) return E_FAIL; m_pTransformCom->Set_Info(pPos, Engine::INFO_POS); m_pTransformCom->Set_Angle(pAngle); m_pTransformCom->Set_Scale(pScale); m_pDynamicMeshCom->Set_AnimationSet(0); return S_OK; } _int CArchitecture_Dynamic::Update_GameObject(const _double & dTimeDelta) { CDynamicMeshObject::Update_GameObject(dTimeDelta); return Engine::NO_EVENT; } _int CArchitecture_Dynamic::LateUpdate_GameObject(const _double & dTimeDelta) { CDynamicMeshObject::LateUpdate_GameObject(dTimeDelta); m_pRendererCom->Add_RenderGroup(Engine::RENDER_NONALPHA, this); return Engine::NO_EVENT; } void CArchitecture_Dynamic::Render_Geometry(const _double & dTimeDelta) { m_pDynamicMeshCom->Play_AnimationSet(dTimeDelta); LPD3DXEFFECT pEffect = m_pShaderCom->Get_EffectHandle(); if (pEffect == nullptr) return; Engine::Safe_AddRef(pEffect); if (FAILED(Setup_ShaderProps(pEffect))) return; _uint iPassMax = 0; pEffect->Begin(&iPassMax, 0); list<Engine::D3DXMESHCONTAINER_DERIVED*>* plistMeshContainer = m_pDynamicMeshCom->Get_MeshContainerlist(); for (auto& iter : *plistMeshContainer) { _ulong dwSubsetNum = m_pDynamicMeshCom->Get_SubsetNum(iter); m_pDynamicMeshCom->Render_Meshes_Begin(iter); for (_ulong i = 0; i < dwSubsetNum; ++i) { pEffect->SetTexture("g_DiffuseTexture", iter->ppDiffuseTexture[i]); pEffect->SetTexture("g_NormalTexture", iter->ppNormalTexture[i]); pEffect->SetTexture("g_SpecularTexture", iter->ppSpecularTexture[i]); pEffect->SetTexture("g_EmmisiveTexture", iter->ppEmmisiveTexture[i]); pEffect->BeginPass(0); pEffect->CommitChanges(); m_pDynamicMeshCom->Render_Meshes(iter, i); pEffect->EndPass(); } m_pDynamicMeshCom->Render_Meshes_End(iter); } pEffect->End(); Engine::Safe_Release(pEffect); } void CArchitecture_Dynamic::Render_Shadow(const _double & dTimeDelta) { ////Shader //LPD3DXEFFECT pEffect = m_pShaderCom->Get_EffectHandle(); //if (pEffect == nullptr) // return; //Engine::Safe_AddRef(pEffect); //if (FAILED(Setup_ShaderProps(pEffect))) // return; //_uint iPassMax = 0; //pEffect->Begin(&iPassMax, 0); //list<Engine::D3DXMESHCONTAINER_DERIVED*>* plistMeshContainer = m_pDynamicMeshCom->Get_MeshContainerlist(); //for (auto& iter : *plistMeshContainer) //{ // _ulong dwSubsetNum = m_pDynamicMeshCom->Get_SubsetNum(iter); // m_pDynamicMeshCom->Render_Meshes_Begin(iter); // for (_ulong i = 0; i < dwSubsetNum; ++i) // { // pEffect->BeginPass(6); // pEffect->CommitChanges(); // m_pDynamicMeshCom->Render_Meshes(iter, i); // pEffect->EndPass(); // } // m_pDynamicMeshCom->Render_Meshes_End(iter); //} //pEffect->End(); //Engine::Safe_Release(pEffect); } HRESULT CArchitecture_Dynamic::Clone_Component(wstring wstrObjectKey) { Engine::CComponent* pComponent = nullptr; pComponent = m_pTransformCom = dynamic_cast<Engine::CTransform*>(Engine::Clone(Engine::RESOURCE_STATIC, L"TransformCom")); if (pComponent == nullptr) return E_FAIL; m_mapComponent[Engine::ID_DYNAMIC].emplace(Engine::TRANSFORM, pComponent); pComponent = m_pRendererCom = dynamic_cast<Engine::CRenderer*>(Engine::Clone(Engine::RESOURCE_STATIC, L"RendererCom")); if (pComponent == nullptr) return E_FAIL; m_mapComponent[Engine::ID_STATIC].emplace(Engine::RENDERER, pComponent); pComponent = m_pDynamicMeshCom = dynamic_cast<Engine::CDynamicMesh*>(Engine::Clone(Engine::RESOURCE_STATIC, wstrObjectKey)); if (pComponent == nullptr) return E_FAIL; m_mapComponent[Engine::ID_STATIC].emplace(Engine::MESH, pComponent); //Shader pComponent = m_pShaderCom = dynamic_cast<Engine::CShader*>(Engine::Clone(Engine::RESOURCE_STATIC, L"Shader_Mesh")); if (pComponent == nullptr) return E_FAIL; m_mapComponent[Engine::ID_STATIC].emplace(Engine::SHADER, pComponent); return S_OK; } HRESULT CArchitecture_Dynamic::Setup_ShaderProps(LPD3DXEFFECT & pEffect) { CBaseObject::Set_ShaderMatrix(pEffect); return S_OK; } CArchitecture_Dynamic * CArchitecture_Dynamic::Create(LPDIRECT3DDEVICE9 pGraphicDev, wstring wstrObjectKey, _vec3 * pPos, _vec3 * pAngle, _vec3 * pScale) { CArchitecture_Dynamic* pInstance = new CArchitecture_Dynamic(pGraphicDev); if (FAILED(pInstance->Ready_GameObject(wstrObjectKey, pPos, pAngle, pScale))) Engine::Safe_Release(pInstance); return pInstance; } void CArchitecture_Dynamic::Free() { CDynamicMeshObject::Free(); }
[ "Administrator@JUSIN-20200527X" ]
Administrator@JUSIN-20200527X
749c3ebb47ea23ed3a22790a5600be7d892062ea
10810fa597f358624f04a76b326a894a43131994
/AWS-Analyzer/MangerChart.h
26dc74db367d8886e7c9f4170ee9341c848e0387
[]
no_license
Lukasz-Witek-vel-Witkowski/AWS
cc240e5702d88e551528ad2a2db7cb58d3dfe4ad
981fff63cc5032f329467ff6eac4330a371b0106
refs/heads/master
2020-04-29T07:44:39.313108
2020-01-19T11:18:45
2020-01-19T11:18:45
175,963,760
0
0
null
null
null
null
UTF-8
C++
false
false
358
h
#pragma once #include <vector> #include <map> #include "Chart.h" class MangerChart { std::vector<std::vector<double>> V_manager; std::map<int, std::string> m_organizer; std::vector<std::vector<std::string>> v_Type; public: MangerChart(); void setValueChart(Chart* x); void analization(); void setDataChart(std::vector<Chart>* V); ~MangerChart(); };
[ "uwlwitkowski@gmail.com" ]
uwlwitkowski@gmail.com
36e5a69a24188ca92842e4c9308a2cf4283fd7ea
89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04
/net/log/net_log.cc
b038519651a229f369f5b64febb9430f1964bcda
[ "BSD-3-Clause" ]
permissive
bino7/chromium
8d26f84a1b6e38a73d1b97fea6057c634eff68cb
4666a6bb6fdcb1114afecf77bdaa239d9787b752
refs/heads/master
2022-12-22T14:31:53.913081
2016-09-06T10:05:11
2016-09-06T10:05:11
67,410,510
1
3
BSD-3-Clause
2022-12-17T03:08:52
2016-09-05T10:11:59
null
UTF-8
C++
false
false
15,331
cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/log/net_log.h" #include <utility> #include "base/bind.h" #include "base/debug/alias.h" #include "base/logging.h" #include "base/strings/string_number_conversions.h" #include "base/strings/utf_string_conversions.h" #include "base/time/time.h" #include "base/values.h" #include "net/base/net_errors.h" namespace net { namespace { // Returns parameters for logging data transferred events. At a minimum includes // the number of bytes transferred. If the capture mode allows logging byte // contents and |byte_count| > 0, then will include the actual bytes. The // bytes are hex-encoded, since base::StringValue only supports UTF-8. std::unique_ptr<base::Value> BytesTransferredCallback( int byte_count, const char* bytes, NetLogCaptureMode capture_mode) { std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); dict->SetInteger("byte_count", byte_count); if (capture_mode.include_socket_bytes() && byte_count > 0) dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count)); return std::move(dict); } std::unique_ptr<base::Value> SourceEventParametersCallback( const NetLog::Source source, NetLogCaptureMode /* capture_mode */) { if (!source.IsValid()) return std::unique_ptr<base::Value>(); std::unique_ptr<base::DictionaryValue> event_params( new base::DictionaryValue()); source.AddToEventParameters(event_params.get()); return std::move(event_params); } std::unique_ptr<base::Value> NetLogBoolCallback( const char* name, bool value, NetLogCaptureMode /* capture_mode */) { std::unique_ptr<base::DictionaryValue> event_params( new base::DictionaryValue()); event_params->SetBoolean(name, value); return std::move(event_params); } std::unique_ptr<base::Value> NetLogIntCallback( const char* name, int value, NetLogCaptureMode /* capture_mode */) { std::unique_ptr<base::DictionaryValue> event_params( new base::DictionaryValue()); event_params->SetInteger(name, value); return std::move(event_params); } std::unique_ptr<base::Value> NetLogInt64Callback( const char* name, int64_t value, NetLogCaptureMode /* capture_mode */) { std::unique_ptr<base::DictionaryValue> event_params( new base::DictionaryValue()); event_params->SetString(name, base::Int64ToString(value)); return std::move(event_params); } std::unique_ptr<base::Value> NetLogStringCallback( const char* name, const std::string* value, NetLogCaptureMode /* capture_mode */) { std::unique_ptr<base::DictionaryValue> event_params( new base::DictionaryValue()); event_params->SetString(name, *value); return std::move(event_params); } std::unique_ptr<base::Value> NetLogCharStringCallback( const char* name, const char* value, NetLogCaptureMode /* capture_mode */) { std::unique_ptr<base::DictionaryValue> event_params( new base::DictionaryValue()); event_params->SetString(name, value); return std::move(event_params); } std::unique_ptr<base::Value> NetLogString16Callback( const char* name, const base::string16* value, NetLogCaptureMode /* capture_mode */) { std::unique_ptr<base::DictionaryValue> event_params( new base::DictionaryValue()); event_params->SetString(name, *value); return std::move(event_params); } } // namespace // LoadTimingInfo requires this be 0. const uint32_t NetLog::Source::kInvalidId = 0; NetLog::Source::Source() : type(SOURCE_NONE), id(kInvalidId) { } NetLog::Source::Source(SourceType type, uint32_t id) : type(type), id(id) {} bool NetLog::Source::IsValid() const { return id != kInvalidId; } void NetLog::Source::AddToEventParameters( base::DictionaryValue* event_params) const { std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); dict->SetInteger("type", static_cast<int>(type)); dict->SetInteger("id", static_cast<int>(id)); event_params->Set("source_dependency", std::move(dict)); } NetLog::ParametersCallback NetLog::Source::ToEventParametersCallback() const { return base::Bind(&SourceEventParametersCallback, *this); } // static bool NetLog::Source::FromEventParameters(base::Value* event_params, Source* source) { base::DictionaryValue* dict = NULL; base::DictionaryValue* source_dict = NULL; int source_id = -1; int source_type = NetLog::SOURCE_COUNT; if (!event_params || !event_params->GetAsDictionary(&dict) || !dict->GetDictionary("source_dependency", &source_dict) || !source_dict->GetInteger("id", &source_id) || !source_dict->GetInteger("type", &source_type)) { *source = Source(); return false; } DCHECK_GE(source_id, 0); DCHECK_LT(source_type, NetLog::SOURCE_COUNT); *source = Source(static_cast<SourceType>(source_type), source_id); return true; } std::unique_ptr<base::Value> NetLog::Entry::ToValue() const { std::unique_ptr<base::DictionaryValue> entry_dict( new base::DictionaryValue()); entry_dict->SetString("time", TickCountToString(data_->time)); // Set the entry source. std::unique_ptr<base::DictionaryValue> source_dict( new base::DictionaryValue()); source_dict->SetInteger("id", data_->source.id); source_dict->SetInteger("type", static_cast<int>(data_->source.type)); entry_dict->Set("source", std::move(source_dict)); // Set the event info. entry_dict->SetInteger("type", static_cast<int>(data_->type)); entry_dict->SetInteger("phase", static_cast<int>(data_->phase)); // Set the event-specific parameters. if (data_->parameters_callback) { std::unique_ptr<base::Value> value( data_->parameters_callback->Run(capture_mode_)); if (value) entry_dict->Set("params", std::move(value)); } return std::move(entry_dict); } std::unique_ptr<base::Value> NetLog::Entry::ParametersToValue() const { if (data_->parameters_callback) return data_->parameters_callback->Run(capture_mode_); return nullptr; } NetLog::EntryData::EntryData(EventType type, Source source, EventPhase phase, base::TimeTicks time, const ParametersCallback* parameters_callback) : type(type), source(source), phase(phase), time(time), parameters_callback(parameters_callback) { } NetLog::EntryData::~EntryData() { } NetLog::Entry::Entry(const EntryData* data, NetLogCaptureMode capture_mode) : data_(data), capture_mode_(capture_mode) { } NetLog::Entry::~Entry() { } NetLog::ThreadSafeObserver::ThreadSafeObserver() : net_log_(NULL) { } NetLog::ThreadSafeObserver::~ThreadSafeObserver() { // Make sure we aren't watching a NetLog on destruction. Because the NetLog // may pass events to each observer on multiple threads, we cannot safely // stop watching a NetLog automatically from a parent class. DCHECK(!net_log_); } NetLogCaptureMode NetLog::ThreadSafeObserver::capture_mode() const { DCHECK(net_log_); return capture_mode_; } NetLog* NetLog::ThreadSafeObserver::net_log() const { return net_log_; } void NetLog::ThreadSafeObserver::OnAddEntryData(const EntryData& entry_data) { OnAddEntry(Entry(&entry_data, capture_mode())); } NetLog::NetLog() : last_id_(0), is_capturing_(0) { } NetLog::~NetLog() { } void NetLog::AddGlobalEntry(EventType type) { AddEntry(type, Source(NetLog::SOURCE_NONE, NextID()), NetLog::PHASE_NONE, NULL); } void NetLog::AddGlobalEntry( EventType type, const NetLog::ParametersCallback& parameters_callback) { AddEntry(type, Source(NetLog::SOURCE_NONE, NextID()), NetLog::PHASE_NONE, &parameters_callback); } uint32_t NetLog::NextID() { return base::subtle::NoBarrier_AtomicIncrement(&last_id_, 1); } bool NetLog::IsCapturing() const { return base::subtle::NoBarrier_Load(&is_capturing_) != 0; } void NetLog::DeprecatedAddObserver(NetLog::ThreadSafeObserver* observer, NetLogCaptureMode capture_mode) { base::AutoLock lock(lock_); DCHECK(!observer->net_log_); observers_.AddObserver(observer); observer->net_log_ = this; observer->capture_mode_ = capture_mode; UpdateIsCapturing(); } void NetLog::SetObserverCaptureMode(NetLog::ThreadSafeObserver* observer, NetLogCaptureMode capture_mode) { base::AutoLock lock(lock_); DCHECK(observers_.HasObserver(observer)); DCHECK_EQ(this, observer->net_log_); observer->capture_mode_ = capture_mode; } void NetLog::DeprecatedRemoveObserver(NetLog::ThreadSafeObserver* observer) { base::AutoLock lock(lock_); DCHECK(observers_.HasObserver(observer)); DCHECK_EQ(this, observer->net_log_); observers_.RemoveObserver(observer); observer->net_log_ = NULL; observer->capture_mode_ = NetLogCaptureMode(); UpdateIsCapturing(); } void NetLog::UpdateIsCapturing() { lock_.AssertAcquired(); base::subtle::NoBarrier_Store(&is_capturing_, observers_.might_have_observers() ? 1 : 0); } // static std::string NetLog::TickCountToString(const base::TimeTicks& time) { int64_t delta_time = (time - base::TimeTicks()).InMilliseconds(); return base::Int64ToString(delta_time); } // static const char* NetLog::EventTypeToString(EventType event) { switch (event) { #define EVENT_TYPE(label) \ case TYPE_##label: \ return #label; #include "net/log/net_log_event_type_list.h" #undef EVENT_TYPE default: NOTREACHED(); return NULL; } } // static base::Value* NetLog::GetEventTypesAsValue() { std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); for (int i = 0; i < EVENT_COUNT; ++i) { dict->SetInteger(EventTypeToString(static_cast<EventType>(i)), i); } return dict.release(); } // static const char* NetLog::SourceTypeToString(SourceType source) { switch (source) { #define SOURCE_TYPE(label) \ case SOURCE_##label: \ return #label; #include "net/log/net_log_source_type_list.h" #undef SOURCE_TYPE default: NOTREACHED(); return NULL; } } // static base::Value* NetLog::GetSourceTypesAsValue() { std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); for (int i = 0; i < SOURCE_COUNT; ++i) { dict->SetInteger(SourceTypeToString(static_cast<SourceType>(i)), i); } return dict.release(); } // static const char* NetLog::EventPhaseToString(EventPhase phase) { switch (phase) { case PHASE_BEGIN: return "PHASE_BEGIN"; case PHASE_END: return "PHASE_END"; case PHASE_NONE: return "PHASE_NONE"; } NOTREACHED(); return NULL; } // static NetLog::ParametersCallback NetLog::BoolCallback(const char* name, bool value) { return base::Bind(&NetLogBoolCallback, name, value); } // static NetLog::ParametersCallback NetLog::IntCallback(const char* name, int value) { return base::Bind(&NetLogIntCallback, name, value); } // static NetLog::ParametersCallback NetLog::Int64Callback(const char* name, int64_t value) { return base::Bind(&NetLogInt64Callback, name, value); } // static NetLog::ParametersCallback NetLog::StringCallback(const char* name, const std::string* value) { DCHECK(value); return base::Bind(&NetLogStringCallback, name, value); } // static NetLog::ParametersCallback NetLog::StringCallback(const char* name, const char* value) { DCHECK(value); return base::Bind(&NetLogCharStringCallback, name, value); } // static NetLog::ParametersCallback NetLog::StringCallback(const char* name, const base::string16* value) { DCHECK(value); return base::Bind(&NetLogString16Callback, name, value); } void NetLog::AddEntry(EventType type, const Source& source, EventPhase phase, const NetLog::ParametersCallback* parameters_callback) { if (!IsCapturing()) return; EntryData entry_data(type, source, phase, base::TimeTicks::Now(), parameters_callback); // Notify all of the log observers. base::AutoLock lock(lock_); FOR_EACH_OBSERVER(ThreadSafeObserver, observers_, OnAddEntryData(entry_data)); } BoundNetLog::~BoundNetLog() { liveness_ = DEAD; } void BoundNetLog::AddEntry(NetLog::EventType type, NetLog::EventPhase phase) const { CrashIfInvalid(); if (!net_log_) return; net_log_->AddEntry(type, source_, phase, NULL); } void BoundNetLog::AddEntry( NetLog::EventType type, NetLog::EventPhase phase, const NetLog::ParametersCallback& get_parameters) const { CrashIfInvalid(); if (!net_log_) return; net_log_->AddEntry(type, source_, phase, &get_parameters); } void BoundNetLog::AddEvent(NetLog::EventType type) const { AddEntry(type, NetLog::PHASE_NONE); } void BoundNetLog::AddEvent( NetLog::EventType type, const NetLog::ParametersCallback& get_parameters) const { AddEntry(type, NetLog::PHASE_NONE, get_parameters); } void BoundNetLog::BeginEvent(NetLog::EventType type) const { AddEntry(type, NetLog::PHASE_BEGIN); } void BoundNetLog::BeginEvent( NetLog::EventType type, const NetLog::ParametersCallback& get_parameters) const { AddEntry(type, NetLog::PHASE_BEGIN, get_parameters); } void BoundNetLog::EndEvent(NetLog::EventType type) const { AddEntry(type, NetLog::PHASE_END); } void BoundNetLog::EndEvent( NetLog::EventType type, const NetLog::ParametersCallback& get_parameters) const { AddEntry(type, NetLog::PHASE_END, get_parameters); } void BoundNetLog::AddEventWithNetErrorCode(NetLog::EventType event_type, int net_error) const { DCHECK_NE(ERR_IO_PENDING, net_error); if (net_error >= 0) { AddEvent(event_type); } else { AddEvent(event_type, NetLog::IntCallback("net_error", net_error)); } } void BoundNetLog::EndEventWithNetErrorCode(NetLog::EventType event_type, int net_error) const { DCHECK_NE(ERR_IO_PENDING, net_error); if (net_error >= 0) { EndEvent(event_type); } else { EndEvent(event_type, NetLog::IntCallback("net_error", net_error)); } } void BoundNetLog::AddByteTransferEvent(NetLog::EventType event_type, int byte_count, const char* bytes) const { AddEvent(event_type, base::Bind(BytesTransferredCallback, byte_count, bytes)); } bool BoundNetLog::IsCapturing() const { CrashIfInvalid(); return net_log_ && net_log_->IsCapturing(); } // static BoundNetLog BoundNetLog::Make(NetLog* net_log, NetLog::SourceType source_type) { if (!net_log) return BoundNetLog(); NetLog::Source source(source_type, net_log->NextID()); return BoundNetLog(source, net_log); } void BoundNetLog::CrashIfInvalid() const { Liveness liveness = liveness_; if (liveness == ALIVE) return; base::debug::Alias(&liveness); CHECK_EQ(ALIVE, liveness); } } // namespace net
[ "bino.zh@gmail.com" ]
bino.zh@gmail.com
30c3179874e69202985e62627da202acdf04b34e
9e18e0527e80c48159c015bab032a57dca4c4224
/include/entities/IProjectile.h
3e3c08f01273b3d64b7a668cc587e52854852b5b
[]
no_license
Smeky/Tower-Defense-Game
4fa4675580ab12d1d9b81a7ed1167e77edd06046
afcaaaf033412be7cb0b5c2d2ce5cc012e2f8e79
refs/heads/master
2020-03-27T10:41:38.599359
2018-08-28T11:44:29
2018-08-28T11:44:29
146,438,803
0
0
null
null
null
null
UTF-8
C++
false
false
910
h
#ifndef IPROJECTILE_H #define IPROJECTILE_H #include "IAttack.h" #include "IEnemy.h" #include "TowerFramework.h" class IProjectile : public IEntity { public: IProjectile( Projectile_data data, TowerFramework* turret, IAttack* attack ); virtual ~IProjectile(); void update ( Engine* game, float timeStep ); void render ( Engine* game ); SDL_Rect* getBox() { return &m_box; } bool isDespawn () { return m_despawn; } private: Projectile_data m_data; TowerFramework* m_turret; IEnemy* m_enemy; IAttack* m_attack; SDL_Rect m_box; SDL_Rect m_destBox; int m_fixedVel; float m_xPos; float m_yPos; float m_angle; bool m_despawn; bool m_velFixed; bool m_enemyDied; }; #endif // IPROJECTILE_H
[ "smeky.sobota@gmail.com" ]
smeky.sobota@gmail.com
2b97529e1452116b91f947e25e8bc3c207e4f755
1dff02275f30fe1b0c5b4f15ddd8954cae917c1b
/ugene/src/plugins/GUITestBase/src/tests/common_scenarios/annotations/GTTestsAnnotations.cpp
50f7d2442b7dd85916e033b4601f1e2cc37e052d
[ "MIT" ]
permissive
iganna/lspec
eaba0a5de9cf467370934c6235314bb2165a0cdb
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
refs/heads/master
2021-05-05T09:03:18.420097
2018-06-13T22:59:08
2018-06-13T22:59:08
118,641,727
0
0
null
null
null
null
UTF-8
C++
false
false
28,075
cpp
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2012 UniPro <ugene@unipro.ru> * http://ugene.unipro.ru * * 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., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. */ #include "GTTestsAnnotations.h" #include "api/GTMouseDriver.h" #include "api/GTKeyboardDriver.h" #include "api/GTWidget.h" #include "api/GTFileDialog.h" #include "api/GTMenu.h" #include "GTUtilsApp.h" #include "GTUtilsDocument.h" #include "GTUtilsProjectTreeView.h" #include "GTUtilsAnnotationsTreeView.h" #include "GTUtilsSequenceView.h" #include "runnables/qt/PopupChooser.h" #include "runnables/ugene/corelibs/U2Gui/CreateAnnotationWidgetFiller.h" namespace U2 { namespace GUITest_common_scenarios_annotations { GUI_TEST_CLASS_DEFINITION(test_0001) { // Creating annotations by different ways // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // 3. Create annotation using menu {Actions->Add->New Annotation} GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann1", "complement(1.. 20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // 4. Create annotation using keyboard shortcut Ctrl+N GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann2", "complement(1.. 20)")); GTKeyboardDriver::keyClick(os, 'n', GTKeyboardDriver::key["ctrl"]); GTGlobals::sleep(); // 5. Press right mouse button on sequence area, use context menu item {Add->New Annotation} to create annotation GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann3", "complement(1.. 20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTWidget::click(os, GTWidget::findWidget(os, "ADV_single_sequence_widget_0"), Qt::RightButton); // Expected state: there is three new annotations on sequence created by threee different ways GTGlobals::sleep(); GTUtilsAnnotationsTreeView::findItem(os, "ann1"); GTUtilsAnnotationsTreeView::findItem(os, "ann2"); GTUtilsAnnotationsTreeView::findItem(os, "ann3"); } GUI_TEST_CLASS_DEFINITION(test_0001_1) { // Creating annotations by different ways // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // 3. Create annotation using menu {Actions->Add->New Annotation} GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann1", "complement(1.. 20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // 4. Create annotation using keyboard shortcut Ctrl+N GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann2", "complement(1.. 20)")); GTKeyboardDriver::keyClick(os, 'n', GTKeyboardDriver::key["ctrl"]); GTGlobals::sleep(); // 5. Press right mouse button on sequence area, use context menu item {Add->New Annotation} to create annotation GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann3", "complement(1.. 20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTWidget::click(os, GTWidget::findWidget(os, "ADV_single_sequence_widget_0"), Qt::RightButton); // Expected state: there is three new annotations on sequence created by threee different ways GTGlobals::sleep(); GTUtilsAnnotationsTreeView::findItem(os, "ann1"); GTUtilsAnnotationsTreeView::findItem(os, "ann2"); GTUtilsAnnotationsTreeView::findItem(os, "ann3"); } GUI_TEST_CLASS_DEFINITION(test_0001_2) { // Creating annotations by different ways // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // 3. Create annotation using menu {Actions->Add->New Annotation} GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann1", "complement(1.. 20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // 4. Create annotation using keyboard shortcut Ctrl+N GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann2", "complement(1.. 20)")); GTKeyboardDriver::keyClick(os, 'n', GTKeyboardDriver::key["ctrl"]); GTGlobals::sleep(); // 5. Press right mouse button on sequence area, use context menu item {Add->New Annotation} to create annotation GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann3", "complement(1.. 20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTWidget::click(os, GTWidget::findWidget(os, "ADV_single_sequence_widget_0"), Qt::RightButton); // Expected state: there is three new annotations on sequence created by threee different ways GTGlobals::sleep(); GTUtilsAnnotationsTreeView::findItem(os, "ann1"); GTUtilsAnnotationsTreeView::findItem(os, "ann2"); GTUtilsAnnotationsTreeView::findItem(os, "ann3"); } GUI_TEST_CLASS_DEFINITION(test_0002) { // Creating joined annotation // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // // 3. Do menu {Actions->Add->New Annotation} // Expected state: "Create annotation" dialog has appeared // // 3. Fill the next field in dialog: // {Group Name} DDD // {Annotation Name} D // {Location} join(10..16,18..20) // // 4. Click Create button GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "DDD", "D", "join(10..16,18..20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // Expected state: annotation with 2 segments has been created GTGlobals::sleep(); GTUtilsAnnotationsTreeView::findItem(os, "D"); } GUI_TEST_CLASS_DEFINITION(test_0002_1) { // Creating joined annotation // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // // 3. Do menu {Actions->Add->New Annotation} // Expected state: "Create annotation" dialog has appeared // // 3. Fill the next field in dialog: // {Group Name} DDD // {Annotation Name} D // {Location} join(10..16,18..20) // // 4. Click Create button GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "DDD", "D", "join(10..16,18..20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // Expected state: annotation with 2 segments has been created GTGlobals::sleep(); GTUtilsAnnotationsTreeView::findItem(os, "D"); } GUI_TEST_CLASS_DEFINITION(test_0002_2) { // Creating joined annotation // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // // 3. Do menu {Actions->Add->New Annotation} // Expected state: "Create annotation" dialog has appeared // // 3. Fill the next field in dialog: // {Group Name} DDD // {Annotation Name} D // {Location} join(10..16,18..20) // // 4. Click Create button GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "DDD", "D", "join(10..16,18..20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // Expected state: annotation with 2 segments has been created GTGlobals::sleep(); GTUtilsAnnotationsTreeView::findItem(os, "D"); } GUI_TEST_CLASS_DEFINITION(test_0003) { // Creating annotations by different ways // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // 3. Create annotation using menu {Actions->Add->New Annotation} GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann1", "complement(1.. 20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // 4. Create annotation using keyboard shortcut Ctrl+N GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann2", "complement(1.. 20)")); GTKeyboardDriver::keyClick(os, 'n', GTKeyboardDriver::key["ctrl"]); GTGlobals::sleep(); // 5. Press right mouse button on sequence area, use context menu item {Add->New Annotation} to create annotation GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann3", "complement(1.. 20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTWidget::click(os, GTWidget::findWidget(os, "ADV_single_sequence_widget_0"), Qt::RightButton); // Expected state: there is three new annotations on sequence created by threee different ways GTGlobals::sleep(); GTUtilsAnnotationsTreeView::findItem(os, "ann1"); GTUtilsAnnotationsTreeView::findItem(os, "ann2"); GTUtilsAnnotationsTreeView::findItem(os, "ann3"); } GUI_TEST_CLASS_DEFINITION(test_0004) { // Annotation editor: update annotations incorrect behavior (0001585) // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // 3. Create 2 annotations: // 1) a1 in group a1 GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "a1_group", "a1", "10..16")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // 2) a1 in group a2 GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "a2_group", "a1", "18..20")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // 4. Toggle highlight for a1. GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "toggle_HL_action")); GTMouseDriver::moveTo(os, GTUtilsAnnotationsTreeView::getItemCenter(os, "a1")); GTMouseDriver::click(os, Qt::RightButton); // Expected state: both annotations (a1) and groups (a1, a2) looks muted (grayed out) } GUI_TEST_CLASS_DEFINITION(test_0004_1) { // Annotation editor: update annotations incorrect behavior (0001585) // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // 3. Create 2 annotations: // 1) a1 in group a1 GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "a1_group", "a1", "10..16")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // 2) a1 in group a2 GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "a2_group", "a1", "18..20")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // 4. Toggle highlight for a1. GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "toggle_HL_action")); GTMouseDriver::moveTo(os, GTUtilsAnnotationsTreeView::getItemCenter(os, "a1")); GTMouseDriver::click(os, Qt::RightButton); // Expected state: both annotations (a1) and groups (a1, a2) looks muted (grayed out) } GUI_TEST_CLASS_DEFINITION(test_0004_2) { // Annotation editor: update annotations incorrect behavior (0001585) // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // 3. Create 2 annotations: // 1) a1 in group a1 GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "a1_group", "a1", "10..16")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // 2) a1 in group a2 GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "a2_group", "a1", "18..20")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // 4. Toggle highlight for a1. GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "toggle_HL_action")); GTMouseDriver::moveTo(os, GTUtilsAnnotationsTreeView::getItemCenter(os, "a1")); GTMouseDriver::click(os, Qt::RightButton); // Expected state: both annotations (a1) and groups (a1, a2) looks muted (grayed out) } GUI_TEST_CLASS_DEFINITION(test_0005) { // Creating annotations by different ways // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // 3. Create annotation using menu {Actions->Add->New Annotation} GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann1", "complement(1.. 20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // 4. Create annotation using keyboard shortcut Ctrl+N GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann2", "complement(1.. 20)")); GTKeyboardDriver::keyClick(os, 'n', GTKeyboardDriver::key["ctrl"]); GTGlobals::sleep(); // 5. Press right mouse button on sequence area, use context menu item {Add->New Annotation} to create annotation GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann3", "complement(1.. 20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTWidget::click(os, GTWidget::findWidget(os, "ADV_single_sequence_widget_0"), Qt::RightButton); // Expected state: there is three new annotations on sequence created by threee different ways GTGlobals::sleep(); GTUtilsAnnotationsTreeView::findItem(os, "ann1"); GTUtilsAnnotationsTreeView::findItem(os, "ann2"); GTUtilsAnnotationsTreeView::findItem(os, "ann3"); } GUI_TEST_CLASS_DEFINITION(test_0006) { // Creating joined annotation // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // // 3. Do menu {Actions->Add->New Annotation} // Expected state: "Create annotation" dialog has appeared // // 3. Fill the next field in dialog: // {Group Name} DDD // {Annotation Name} D // {Location} join(10..16,18..20) // // 4. Click Create button GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "DDD", "D", "join(10..16,18..20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // Expected state: annotation with 2 segments has been created GTGlobals::sleep(); GTUtilsAnnotationsTreeView::findItem(os, "D"); } GUI_TEST_CLASS_DEFINITION(test_0007) { // Annotation editor: update annotations incorrect behavior (0001585) // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // 3. Create 2 annotations: // 1) a1 in group a1 GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "a1_group", "a1", "10..16")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // 2) a1 in group a2 GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "a2_group", "a1", "18..20")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // 4. Toggle highlight for a1. GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "toggle_HL_action")); GTMouseDriver::moveTo(os, GTUtilsAnnotationsTreeView::getItemCenter(os, "a1")); GTMouseDriver::click(os, Qt::RightButton); // Expected state: both annotations (a1) and groups (a1, a2) looks muted (grayed out) } GUI_TEST_CLASS_DEFINITION(test_0008) { // Creating joined annotation // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // // 3. Do menu {Actions->Add->New Annotation} // Expected state: "Create annotation" dialog has appeared // // 3. Fill the next field in dialog: // {Group Name} DDD // {Annotation Name} D // {Location} join(10..16,18..20) // // 4. Click Create button GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "DDD", "D", "join(10..16,18..20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // Expected state: annotation with 2 segments has been created GTGlobals::sleep(); GTUtilsAnnotationsTreeView::findItem(os, "D"); } GUI_TEST_CLASS_DEFINITION(test_0009) { // Creating annotations by different ways // // Steps: // // 1. Use menu {File->Open}. Open project _common_data/scenarios/project/proj2.uprj GTFileDialog::openFile(os, testDir + "_common_data/scenarios/project/", "proj2.uprj"); // Expected state: // 1) Project view with document "1.gb" has been opened GTUtilsDocument::checkDocument(os, "1.gb"); // 2) UGENE window titled with text "proj2 UGENE" GTUtilsApp::checkUGENETitle(os, "proj2 UGENE"); // 2. Open view for "1.gb" GTMouseDriver::moveTo(os, GTUtilsProjectTreeView::getItemCenter(os, "NC_001363 features")); GTMouseDriver::doubleClick(os); GTGlobals::sleep(); // 3. Create annotation using menu {Actions->Add->New Annotation} GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann1", "complement(1.. 20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTMenu::showMainMenu(os, MWMENU_ACTIONS); GTGlobals::sleep(); // 4. Create annotation using keyboard shortcut Ctrl+N GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann2", "complement(1.. 20)")); GTKeyboardDriver::keyClick(os, 'n', GTKeyboardDriver::key["ctrl"]); GTGlobals::sleep(); // 5. Press right mouse button on sequence area, use context menu item {Add->New Annotation} to create annotation GTUtilsDialog::waitForDialog(os, new CreateAnnotationWidgetFiller(os, true, "<auto>", "ann3", "complement(1.. 20)")); GTUtilsDialog::waitForDialog(os, new PopupChooser(os, QStringList() << "ADV_MENU_ADD" << "create_annotation_action")); GTWidget::click(os, GTWidget::findWidget(os, "ADV_single_sequence_widget_0"), Qt::RightButton); // Expected state: there is three new annotations on sequence created by threee different ways GTGlobals::sleep(); GTUtilsAnnotationsTreeView::findItem(os, "ann1"); GTUtilsAnnotationsTreeView::findItem(os, "ann2"); GTUtilsAnnotationsTreeView::findItem(os, "ann3"); } } // namespace GUITest_common_scenarios_annotations } // namespace U2
[ "igolkinaanna11@gmail.com" ]
igolkinaanna11@gmail.com
8eb9738708e82556ac2a8b7a0ecad2cd543b4d3b
4291634f4e80dee8d462d7b51e59f6547665a3d7
/Project5.0_client/src/main.cpp
b1ac61da952de9790ff9227d66a241e2f1071d42
[]
no_license
Smallsherlly/Project
0c266fae07bc68e7e5bbb845a58b5f0d920fd365
fcf60ed1a409ad39ca0b975a04b0e2df2ad561af
refs/heads/master
2021-01-18T15:54:20.986067
2017-08-23T10:53:09
2017-08-23T10:53:09
100,391,160
0
0
null
null
null
null
UTF-8
C++
false
false
1,079
cpp
#include <string> #include <iostream> #include <tinyxml.h> #include <map> #include <vector> #include <log.h> #include <parsexml.h> #include <mysql.h> #include <sockApi.h> #include <threadpool.h> class Student { public: int m_id; int m_age; char m_name[24]; public: Student(){}; Student(int id,int age,char* name) { m_id = id; m_age = age; strcpy(m_name,name); } Student& operator=(const Student& other) { m_id = other.m_id; m_age = other.m_age; strcpy(m_name,other.m_name); return *this; } void h2n() { m_id = htonl(m_id); m_age = htonl(m_age); } void n2h() { m_id = ntohl(m_id); m_age = ntohl(m_age); } }; int main(int argc, char** argv) { CClientSock client; char buf[1024] = {}; client.connectS(); client.receive_notify(); client.readN(buf,sizeof(Student)+16); int *p = (int*)buf; cout << "type:" << ntohl(*p)<< endl; Student stu; memcpy(&stu,(buf+16),sizeof(Student)); stu.n2h(); cout << "id:" << stu.m_id << endl; cout << "age:" << stu.m_age << endl; cout << "name:" << stu.m_name << endl; return 0; }
[ "779854387@qq.com" ]
779854387@qq.com
8aafdc1635ac08e55ce309045424c89b6851d79b
b42b30581956e1f103cbef87e841f8bff35357bf
/SRC/MemoryPool.cpp
df2aded8f726ace03da299134c9637f9119a97c3
[ "Apache-2.0" ]
permissive
kimikan/KLogger
8f0cdb8b08743649ef6b6eb53eaceeb1dd484d4a
8f169f0ed5d088ba6f9c87d734c18b227f9731b6
refs/heads/master
2021-01-19T21:55:10.719737
2017-08-31T07:02:12
2017-08-31T07:02:12
88,721,829
1
0
null
null
null
null
UTF-8
C++
false
false
7,373
cpp
/* * MemoryPool Implementation. * Written by ... 2019/9/19 */ #include <iostream> #include "MemoryPool.h" #include "Utility.h" /* * Start for LogEntryItem implementation, Print self. */ void LogEntryItem::pushInto(std::vector<LogEntry>& vec) const { const char *pFileName = getString(0, _fileNameLen); const char *pMessage = getString(_fileNameLen, _msgLen); vec.push_back(LogEntry(_date, _level, _lineNumber, pFileName, pMessage)); if(pFileName != NULL) { delete[] pFileName; } if(pMessage != NULL) { delete[] pMessage; } } /* * For keep an additional char. * So will do one more copy while querying. */ const char* LogEntryItem::getString( int start, int len) const { if(len > 0) { char* pBuf = new char[len + 1]; CHECK_POINTER_EX(pBuf, NULL); memset(pBuf, 0, len + 1); memcpy(pBuf, _buf + start, len); return pBuf; } return NULL; } /* * Print self, for debug usage. */ void LogEntryItem::print() const { int bufLen = (_fileNameLen > _msgLen ? _fileNameLen : _msgLen) + 1; char *pBuf = new char[bufLen]; CHECK_POINTER(pBuf); if(_fileNameLen > 0) { memset(pBuf, 0, bufLen); memcpy(pBuf, _buf, _fileNameLen); } std::cout<<ConvertToString(_date).c_str()<<" "; switch(_level) { case KLogger::DEBUG: std::cout<<" * DEBUG * "; break; case KLogger::ERROR: std::cout<<" * ERROR * "; break; case KLogger::INFO: std::cout<<" * INFO * "; break; case KLogger::VERBOSE: std::cout<<" * VERBOSE * "; break; default: std::cout<<" * UNKNOWN * "; break; }; std::cout<<" "<<pBuf; if(_lineNumber > 0) { memset(pBuf, 0, bufLen); memcpy(pBuf, _buf + _fileNameLen, _msgLen); } std::cout<<" "<<_lineNumber<<" "<<pBuf<<std::endl; delete[] pBuf; } /* * Start for MemoryPool implementation */ MemoryPool::MemoryPool(int size, int entrySize) : _pBuf(NULL), _size(size) , _entrySize(entrySize), _count(0) , _used(0), _start(0), _end(0) { if(size <= 0 ) { size = 1; DBGPRINTF("Error capacity value input. capacity was reset 1 to let app continue.\n"); } if(entrySize <= 0) { entrySize = sizeof(LogEntryItem); DBGPRINTF("Error entry size input. was reset to %d to let app continute. \n", entrySize); } _pBuf = (char*)malloc(_size); if(_pBuf != NULL) { _count = _size / entrySize; if(_count <= 0) { DBGPRINTF("No enough memory for place even a single log. \n"); } } } MemoryPool::~MemoryPool() { if(_pBuf != NULL) { free(_pBuf); _pBuf = NULL; } } /* * if no capacity, free. */ void MemoryPool::freeOld() { if(_start == _end && _used <= 0) return; ++ _start; if(_start >= _count) { _start -= _count; } -- _used; } int MemoryPool::getEntrySize() const { return _entrySize; } /* * MemoryPool main function. */ bool MemoryPool::add(KLogger::LOGLEVEL level, const char* file, int fileLen , const int lineNumber, const char* message, int msgLen) { /* * No additional pointer checking more, */ if(_size <= 0 || _count <= 0 || _entrySize < (int)sizeof(LogEntryItem)) return false; if(_used == _count) { freeOld(); } LogEntryItem *pItem = (LogEntryItem*)(_pBuf + _end * _entrySize); pItem->_level = level; GetTime(pItem->_date); pItem->_lineNumber = lineNumber; pItem->_msgLen = 0; int remainSize = _entrySize - sizeof(LogEntryItem); pItem->_fileNameLen = (fileLen > remainSize ? remainSize : fileLen); if(pItem->_fileNameLen > 0) { memcpy(pItem->_buf, file, pItem->_fileNameLen); } remainSize -= fileLen; if(remainSize > 0) { pItem->_msgLen = (msgLen > remainSize ? remainSize : msgLen); memcpy(pItem->_buf + fileLen, message, pItem->_msgLen); } ++ _end; ++ _used; if( _end >= _count) { _end -= _count; } return true; } void MemoryPool::getItems(int head, int tail, std::vector<LogEntry>& vec) const { vec.clear(); for(int i = 0; i < _used; ++i) { if(i < head || i >= tail) continue; int index = i + _start; index %= _count; LogEntryItem *pItem = (LogEntryItem*)(_pBuf + index * _entrySize); pItem->pushInto(vec); } } void MemoryPool::getItems(const time_t& start, const time_t& end , std::vector<LogEntry>& vec) const { vec.clear(); for(int i = 0; i < _used; ++i) { int index = i + _start; index %= _count; LogEntryItem *pItem = (LogEntryItem*)(_pBuf + index * _entrySize); if(pItem->_date < start || pItem->_date > end) { continue; } pItem->pushInto(vec); } } /* * Start for query... * Top() means, latest... */ void MemoryPool::top(int count, std::vector<LogEntry>& vec) const { getItems(_used - count, _used, vec); } void MemoryPool::tail(int count, std::vector<LogEntry>& vec) const { getItems(0, count, vec); } /* * Time format should be "0000.00.00 00:00:00" */ void MemoryPool::logsBefore(const char* time, std::vector<LogEntry>& vec) const { CHECK_POINTER(time); time_t startTime; time_t endTime; memset(&startTime, 0, sizeof(time_t)); if(ConvertToTimet(time, endTime)) { getItems(startTime, endTime, vec); } else { DBGPRINTF("Wrong format \n"); } } void MemoryPool::logsAfter(const char* time, std::vector<LogEntry>& vec) const { CHECK_POINTER(time); time_t startTime; vec.clear(); memset(&startTime, 0, sizeof(time_t)); if(ConvertToTimet(time, startTime)) { for(int i = 0; i < _used; ++i) { int index = i + _start; index %= _count; LogEntryItem *pItem = (LogEntryItem*)(_pBuf + index * _entrySize); if(pItem->_date <= startTime) continue; pItem->pushInto(vec); } } else { DBGPRINTF("Wrong format \n"); } } void MemoryPool::logsBetween(const char* time1, const char* time2 , std::vector<LogEntry>& vec) const { CHECK_POINTER(time1); CHECK_POINTER(time2); time_t startTime; time_t endTime; if(ConvertToTimet(time1, startTime) && ConvertToTimet(time2, endTime)) { getItems(startTime, endTime, vec); } else { DBGPRINTF("Wrong format \n"); } } /* * Fetch all, time old first. */ void MemoryPool::all(std::vector<LogEntry>& vec) const { getItems(0, _used, vec); }
[ "kimi.kan@xxxx.com" ]
kimi.kan@xxxx.com
b202baa3dd480b671b3040eda3b2be2fa27d37ec
69416d808cdb41609874104401f25b084193eab8
/CLion/P9345.cpp
85695273b374229b0f61fd74e532ff3941ce7e51
[]
no_license
CubeDr/Bakejoon
50196f5fcf063c651cebfc9a4f019aada474fa2d
127f12196517ba834eb1b5bbe742625375a595d1
refs/heads/master
2020-03-29T11:43:41.497063
2019-10-20T06:03:39
2019-10-20T06:03:39
149,867,522
0
0
null
null
null
null
UTF-8
C++
false
false
4,152
cpp
#include <cstdio> #include <vector> using namespace std; struct MaximumSegmentTree { std::vector<int> tree; int length; int min; MaximumSegmentTree(const std::vector<int> &data, int minimum) { min = minimum; length = data.size(); tree.resize(length * 4); init(data, 1, 0, length-1); } int init(const std::vector<int> &data, int node, int start, int end) { if(start == end) return tree[node] = data[start]; int mid = (start + end)/2; int left = init(data, node*2, start, mid); int right = init(data, node*2+1, mid+1, end); return tree[node] = left>right?left:right; } int max(int from, int to, int node, int start, int end) { if(from<=start && to>=end) return tree[node]; if(from > end || to < start) return min; int mid = (start + end)/2; int left = max(from, to, node*2, start, mid); int right = max(from , to, node*2+1, mid+1, end); return left>right?left:right; } int max(int from, int to) { return max(from, to, 1, 0, length-1); } int update(int index, int newValue, int node, int start, int end) { if(end < index || start > index) return tree[node]; if(start == end) return tree[node] = newValue; int mid = (start + end)/2; int left = update(index, newValue, node*2, start, mid); int right = update(index, newValue, node*2+1, mid+1, end); return tree[node] = left>right? left : right; } int update(int index, int newValue) { update(index, newValue, 1, 0, length-1); } }; struct MinimumSegmentTree { std::vector<int> tree; int length; int max; MinimumSegmentTree(const std::vector<int> &data, int maximum) { max = maximum; length = data.size(); tree.resize(length * 4); init(data, 1, 0, length-1); } int init(const std::vector<int> &data, int node, int start, int end) { if(start == end) return tree[node] = data[start]; int mid = (start + end)/2; int left = init(data, node*2, start, mid); int right = init(data, node*2+1, mid+1, end); return tree[node] = left<right?left:right; } int min(int from, int to, int node, int start, int end) { if(from<=start && to>=end) return tree[node]; if(from > end || to < start) return max; int mid = (start + end)/2; int left = min(from, to, node*2, start, mid); int right = min(from , to, node*2+1, mid+1, end); return left<right?left:right; } int min(int from, int to) { return min(from, to, 1, 0, length-1); } int update(int index, int newValue, int node, int start, int end) { if(end < index || start > index) return tree[node]; if(start == end) return tree[node] = newValue; int mid = (start + end)/2; int left = update(index, newValue, node*2, start, mid); int right = update(index, newValue, node*2+1, mid+1, end); return tree[node] = left<right? left : right; } void update(int index, int newValue) { update(index, newValue, 1, 0, length-1); } }; int main() { int T; scanf("%d", &T); while(T--) { int N, K; scanf("%d %d", &N, &K); vector<int> data(N); for(int i=0; i<N; i++) data[i] = i; MaximumSegmentTree maxTree(data, -1); MinimumSegmentTree minTree(data, 100000); int Q, A, B; int min, max; for(int i=0; i<K; i++) { scanf("%d %d %d", &Q, &A, &B); if(Q) { min = minTree.min(A, B); max = maxTree.max(A, B); if(min == A && max == B) printf("YES\n"); else printf("NO\n"); } else { int t = data[A]; data[A] = data[B]; data[B] = t; maxTree.update(A, data[A]); maxTree.update(B, data[B]); minTree.update(A, data[A]); minTree.update(B, data[B]); } } } return 0; }
[ "spaceship00@naver.com" ]
spaceship00@naver.com
dd842364998f741a3b13fac4c1d240b0589da5f5
8f1601062c4a5452f2bdd0f75f3d12a79b98ba62
/examples/aegis/me519/paint/wpaint.cpp
84a74199fe49cc97f1869cd481eba245e92daba9
[]
no_license
chadaustin/isugamedev
200a54f55a2581cd2c62c94eb96b9e238abcf3dd
d3008ada042d2dd98c6e05711773badf6f1fd85c
refs/heads/master
2016-08-11T17:59:38.504631
2005-01-25T23:17:11
2005-01-25T23:17:11
36,483,500
1
0
null
null
null
null
UTF-8
C++
false
false
11,692
cpp
#include <algorithm> #include <functional> #include <list> #include <stdlib.h> #include <GL/glut.h> using namespace std; struct Point { Point(int x_ = 0, int y_ = 0) { x = x_; y = y_; } int x; int y; }; struct Color { float red, green, blue, alpha; }; static const Color white = { 1, 1, 1 }; static const Color black = { 0, 0, 0 }; static const Color red = { 1, 0, 0 }; static const Color green = { 0, 1, 0 }; static const Color blue = { 0, 0, 1 }; static const Color cyan = { 0, 1, 1 }; static const Color magenta = { 1, 0, 1 }; static const Color yellow = { 1, 1, 0 }; inline void glColor(const Color& c) { glColor4f(c.red, c.green, c.blue, c.alpha); } inline void glVertex(const Point& p) { glVertex2i(p.x, p.y); } struct Command { virtual ~Command() {} void destroy() { delete this; } virtual void draw() = 0; }; struct PointCommand : Command { PointCommand(Point p_, Color c_, int size_) { p = p_; c = c_; size = size_; } void draw() { glPointSize(size); glBegin(GL_POINTS); glColor(c); glVertex(p); glEnd(); } private: Point p; Color c; int size; }; struct LineCommand : Command { LineCommand(Point p1_, Point p2_, Color c_, int width_) { p1 = p1_; p2 = p2_; c = c_; width = width_; } void draw() { glLineWidth(width); glColor(c); glBegin(GL_LINES); glVertex(p1); glVertex(p2); glEnd(); } private: Point p1; Point p2; Color c; int width; }; struct RectangleCommand : Command { RectangleCommand(Point p1_, Point p2_, Color c_, int width_) { p1 = p1_; p2 = p2_; c = c_; width = width_; } void draw() { glLineWidth(width); glColor(c); glBegin(GL_LINE_STRIP); glVertex(p1); glVertex2i(p2.x, p1.y); glVertex(p2); glVertex2i(p1.x, p2.y); glVertex(p1); glEnd(); } private: Point p1; Point p2; Color c; int width; }; struct FilledRectangleCommand : Command { FilledRectangleCommand(Point p1_, Point p2_, Color c_) { p1 = p1_; p2 = p2_; c = c_; } void draw() { glColor(c); glBegin(GL_QUADS); glVertex(p1); glVertex2i(p2.x, p1.y); glVertex(p2); glVertex2i(p1.x, p2.y); glEnd(); } private: Point p1; Point p2; Color c; }; struct CommandList { void add(Command* c) { for_each(redos.begin(), redos.end(), mem_fun(&Command::destroy)); redos.clear(); commands.push_back(c); glutPostRedisplay(); } void undo() { if (commands.size()) { redos.push_back(commands.back()); commands.pop_back(); glutPostRedisplay(); } } void redo() { if (redos.size()) { commands.push_back(redos.back()); redos.pop_back(); glutPostRedisplay(); } } void clear() { for_each(commands.begin(), commands.end(), mem_fun(&Command::destroy)); commands.clear(); for_each(redos.begin(), redos.end(), mem_fun(&Command::destroy)); redos.clear(); glutPostRedisplay(); } void draw() { for_each(commands.begin(), commands.end(), mem_fun(&Command::draw)); } private: list<Command*> commands; list<Command*> redos; }; // since all tools use the same color... Color g_color = white; float g_alpha = 1; int g_line_width = 1; int g_point_size = 1; CommandList g_commands; Color CreateColor() { Color c = g_color; c.alpha = g_alpha; return c; } struct Tool { virtual void onMouseDown(Point p) { } virtual void onMouseMove(Point p) { } static void pushCommand(Command* c) { g_commands.add(c); } static void popCommand() { g_commands.undo(); } }; struct PointToolClass : Tool { void onMouseDown(Point p) { pushCommand(new PointCommand(p, CreateColor(), g_point_size)); } } PointTool; struct ScribbleToolClass : Tool { void onMouseDown(Point p) { m_last_point = p; } void onMouseMove(Point p) { pushCommand(new LineCommand(m_last_point, p, CreateColor(), g_line_width)); m_last_point = p; } private: Point m_last_point; } ScribbleTool; struct LineToolClass : Tool { void onMouseDown(Point p) { m_start = p; pushCommand(getCommand(p)); } void onMouseMove(Point p) { popCommand(); pushCommand(getCommand(p)); } private: Command* getCommand(Point p) { return new LineCommand(m_start, p, CreateColor(), g_line_width); } Point m_start; } LineTool; struct RectangleToolClass : Tool { RectangleToolClass() { m_filled = false; } void onMouseDown(Point p) { m_start = p; pushCommand(getCommand(p)); } void onMouseMove(Point p) { popCommand(); pushCommand(getCommand(p)); } void setFill(bool filled) { m_filled = filled; } private: Command* getCommand(Point p) { if (m_filled) { return new FilledRectangleCommand(m_start, p, CreateColor()); } else { return new RectangleCommand(m_start, p, CreateColor(), g_line_width); } } private: Point m_start; bool m_filled; } RectangleTool; int g_width; int g_height; Tool* g_tool = &PointTool; void display() { glViewport(0, 0, g_width, g_height); glMatrixMode(GL_PROJECTION); glLoadIdentity(); glOrtho(0, g_width, g_height, 0, -1, 1); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); glClear(GL_COLOR_BUFFER_BIT); g_commands.draw(); glutSwapBuffers(); } void reshape(int x, int y) { g_width = x; g_height = y; glutPostRedisplay(); } void mouse(int button, int state, int x, int y) { if (button == GLUT_LEFT_BUTTON && state == GLUT_DOWN) { g_tool->onMouseDown(Point(x, y)); } } void motion(int x, int y) { g_tool->onMouseMove(Point(x, y)); } // menu commands enum { TOOL_POINT, TOOL_SCRIBBLE, TOOL_LINE, TOOL_RECTANGLE, COLOR_WHITE, COLOR_BLACK, COLOR_RED, COLOR_GREEN, COLOR_BLUE, COLOR_CYAN, COLOR_MAGENTA, COLOR_YELLOW, TRANSPARENCY_0, TRANSPARENCY_10, TRANSPARENCY_20, TRANSPARENCY_30, TRANSPARENCY_40, TRANSPARENCY_50, TRANSPARENCY_60, TRANSPARENCY_70, TRANSPARENCY_80, TRANSPARENCY_90, TRANSPARENCY_100, POINT_SIZE_1, POINT_SIZE_2, POINT_SIZE_4, POINT_SIZE_8, LINE_WIDTH_1, LINE_WIDTH_2, LINE_WIDTH_4, LINE_WIDTH_8, FILL_ON, FILL_OFF, COMMAND_REDO, COMMAND_UNDO, COMMAND_CLEAR, COMMAND_QUIT, }; void main_menu(int value) { switch (value) { case COMMAND_UNDO: g_commands.undo(); break; case COMMAND_REDO: g_commands.redo(); break; case COMMAND_CLEAR: g_commands.clear(); break; case COMMAND_QUIT: exit(EXIT_SUCCESS); } } void tool_menu(int value) { switch (value) { case TOOL_POINT: g_tool = &PointTool; break; case TOOL_SCRIBBLE: g_tool = &ScribbleTool; break; case TOOL_LINE: g_tool = &LineTool; break; case TOOL_RECTANGLE: g_tool = &RectangleTool; break; } } void color_menu(int value) { switch (value) { case COLOR_WHITE: g_color = white; break; case COLOR_BLACK: g_color = black; break; case COLOR_RED: g_color = red; break; case COLOR_GREEN: g_color = green; break; case COLOR_BLUE: g_color = blue; break; case COLOR_CYAN: g_color = cyan; break; case COLOR_MAGENTA: g_color = magenta; break; case COLOR_YELLOW: g_color = yellow; break; } } void transparency_menu(int value) { switch (value) { case TRANSPARENCY_0: g_alpha = 0.0f; break; case TRANSPARENCY_10: g_alpha = 0.1f; break; case TRANSPARENCY_20: g_alpha = 0.2f; break; case TRANSPARENCY_30: g_alpha = 0.3f; break; case TRANSPARENCY_40: g_alpha = 0.4f; break; case TRANSPARENCY_50: g_alpha = 0.5f; break; case TRANSPARENCY_60: g_alpha = 0.6f; break; case TRANSPARENCY_70: g_alpha = 0.7f; break; case TRANSPARENCY_80: g_alpha = 0.8f; break; case TRANSPARENCY_90: g_alpha = 0.9f; break; case TRANSPARENCY_100: g_alpha = 1.0f; break; } } void point_size_menu(int value) { switch (value) { case POINT_SIZE_1: g_point_size = 1; break; case POINT_SIZE_2: g_point_size = 2; break; case POINT_SIZE_4: g_point_size = 4; break; case POINT_SIZE_8: g_point_size = 8; break; } } void line_width_menu(int value) { switch (value) { case LINE_WIDTH_1: g_line_width = 1; break; case LINE_WIDTH_2: g_line_width = 2; break; case LINE_WIDTH_4: g_line_width = 4; break; case LINE_WIDTH_8: g_line_width = 8; break; } } void fill_menu(int value) { RectangleTool.setFill(value == FILL_ON); } void create_menu() { int tool = glutCreateMenu(tool_menu); glutAddMenuEntry("Point", TOOL_POINT); glutAddMenuEntry("Scribble", TOOL_SCRIBBLE); glutAddMenuEntry("Line", TOOL_LINE); glutAddMenuEntry("Rectangle", TOOL_RECTANGLE); int color = glutCreateMenu(color_menu); glutAddMenuEntry("White", COLOR_WHITE); glutAddMenuEntry("Black", COLOR_BLACK); glutAddMenuEntry("Red", COLOR_RED); glutAddMenuEntry("Green", COLOR_GREEN); glutAddMenuEntry("Blue", COLOR_BLUE); glutAddMenuEntry("Cyan", COLOR_CYAN); glutAddMenuEntry("Magenta", COLOR_MAGENTA); glutAddMenuEntry("Yellow", COLOR_YELLOW); int transparency = glutCreateMenu(transparency_menu); glutAddMenuEntry("0%", TRANSPARENCY_0); glutAddMenuEntry("10%", TRANSPARENCY_10); glutAddMenuEntry("20%", TRANSPARENCY_20); glutAddMenuEntry("30%", TRANSPARENCY_30); glutAddMenuEntry("40%", TRANSPARENCY_40); glutAddMenuEntry("50%", TRANSPARENCY_50); glutAddMenuEntry("60%", TRANSPARENCY_60); glutAddMenuEntry("70%", TRANSPARENCY_70); glutAddMenuEntry("80%", TRANSPARENCY_80); glutAddMenuEntry("90%", TRANSPARENCY_90); glutAddMenuEntry("100%", TRANSPARENCY_100); int point_size = glutCreateMenu(point_size_menu); glutAddMenuEntry("1", POINT_SIZE_1); glutAddMenuEntry("2", POINT_SIZE_2); glutAddMenuEntry("4", POINT_SIZE_4); glutAddMenuEntry("8", POINT_SIZE_8); int line_width = glutCreateMenu(line_width_menu); glutAddMenuEntry("1", LINE_WIDTH_1); glutAddMenuEntry("2", LINE_WIDTH_2); glutAddMenuEntry("4", LINE_WIDTH_4); glutAddMenuEntry("8", LINE_WIDTH_8); int fill = glutCreateMenu(fill_menu); glutAddMenuEntry("On", FILL_ON); glutAddMenuEntry("Off", FILL_OFF); glutCreateMenu(main_menu); glutAddMenuEntry("Undo", COMMAND_UNDO); glutAddMenuEntry("Redo", COMMAND_REDO); glutAddSubMenu("Tool", tool); glutAddSubMenu("Color", color); glutAddSubMenu("Transparency", transparency); glutAddSubMenu("Point Size", point_size); glutAddSubMenu("Line Width", line_width); glutAddSubMenu("Fill", fill); glutAddMenuEntry("Clear", COMMAND_CLEAR); glutAddMenuEntry("Quit", COMMAND_QUIT); glutAttachMenu(GLUT_RIGHT_BUTTON); } void initialize() { glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glEnable(GL_POINT_SMOOTH); } int main(int argc, char** argv) { // initialize GLUT glutInit(&argc, argv); glutInitWindowSize(640, 480); glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE); // create primary window glutCreateWindow("Paint"); // callbacks glutDisplayFunc(display); glutReshapeFunc(reshape); glutMouseFunc(mouse); glutMotionFunc(motion); create_menu(); initialize(); glutMainLoop(); }
[ "aegis@84b32ba4-53c3-423c-be69-77cca6335494" ]
aegis@84b32ba4-53c3-423c-be69-77cca6335494
d911d0623896b20ab4b5853352d34e8d5b995210
8aea173f3ec466d39547ae9f60ed36650103baf7
/Storage/(4) Math/(6) Karatsuba (bad).cpp
5951888c6568d2173f53010fe2876e80dbce852d
[]
no_license
arvindr9/USACO
8593936a1e7a373050991b25b345e64d1da9457f
9ea3acc92d841452abfce01622029789a9a3ba76
refs/heads/master
2021-04-06T11:55:39.456470
2018-03-11T14:40:04
2018-03-11T14:40:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,293
cpp
#include <bits/stdc++.h> #include <ext/pb_ds/tree_policy.hpp> #include <ext/pb_ds/assoc_container.hpp> using namespace std; using namespace __gnu_pbds; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pii; template <class T> using Tree = tree<T, null_type, less<T>, rb_tree_tag,tree_order_statistics_node_update>; #define FOR(i, a, b) for (int i=a; i<(b); i++) #define F0R(i, a) for (int i=0; i<(a); i++) #define FORd(i,a,b) for (int i = (b)-1; i >= a; i--) #define F0Rd(i,a) for (int i = (a)-1; i >= 0; i--) #define sz(x) (int)(x).size() #define mp make_pair #define pb push_back #define f first #define s second #define lb lower_bound #define ub upper_bound #define all(x) x.begin(), x.end() const int MOD = 1000000007; void prin(vi& x) { F0Rd(i,sz(x)) cout << x[i]; cout << "\n"; } void normalize (vi& x) { F0R(i,sz(x)) { if (x[i] > 9) { if (i+1 == sz(x)) x.pb(0); x[i+1] += x[i]/10, x[i] %= 10; } else if (x[i] < 0) { int t = (-x[i]+9)/10; x[i] += 10*t, x[i+1] -= t; } } while (sz(x) && !x.back()) x.pop_back(); } vi operator+(vi a, vi b) { if (sz(a) < sz(b)) swap(a,b); F0R(i,sz(b)) a[i] += b[i]; normalize(a); return a; } vi operator-(vi a, vi b) { F0R(i,sz(b)) a[i] -= b[i]; normalize(a); return a; } vi shift(vi x, int sz) { x.insert(x.begin(),sz,0); return x; } vi mult(vi a, vi b) { if (sz(a) < sz(b)) swap(a,b); if (sz(b) == 0) return {}; if (sz(a) == 1) { vi c = {a[0]*b[0]}; normalize(c); return c; } int sz = (sz(a)+1)/2; b.resize(max(sz(b),sz)); vi a2(a.begin()+sz,a.end()); a.resize(sz); vi b2; if (sz(b2)<sz) { } vi z0 = mult(a1,b1); vi z1 = mult(a1+a2,b1+b2); vi z2 = mult(a2,b2); return shift(z2,2*sz)+shift(z1-z2-z0,sz)+z0; } vi brute(vi a, vi b) { vi c(sz(a)+sz(b)-1); F0R(i,sz(a)) F0R(j,sz(b)) c[i+j] += a[i]*b[j]; normalize(c); return c; } int main() { ios_base::sync_with_stdio(0);cin.tie(0); vi a, b; F0R(i,10000) a.pb(rand()%10), b.pb(rand()%10); vi x = mult(a,b); prin(a); prin(b); prin(x); } // read!read!read!read!read!read!read!read!read!read!read!read!read!read!read!read! // ll vs. int!
[ "bqi343@gmail.com" ]
bqi343@gmail.com
951d79bb2c739bf4a82873f13cfbaec117104069
48e6230b6ffe44cd4a31962f5740aadb1d198e06
/Geeks4Geeks/Binary Tree/Print/PrintKDistant(FromLeaves).cpp
10ec6b530b5ea0874b3efefaae2b6b17e6cedd37
[]
no_license
KunalKrishna/myCodeRepo
1ff4a1d215ced111b9b39603efd82698e827840c
233f537b60bc0f0983d8ec8b6fac76b4b0c9912b
refs/heads/master
2020-05-18T18:30:27.664732
2015-04-24T10:50:16
2015-04-24T10:50:16
30,418,175
0
0
null
null
null
null
UTF-8
C++
false
false
2,016
cpp
// http://www.geeksforgeeks.org/print-nodes-distance-k-leaf-node/ // Print all nodes that are at distance k from a leaf node #include<iostream> #include<vector> using namespace std; struct node { int data; node* left; node* right; }; typedef struct node* Node; typedef struct node** NodeRef; struct node* newNode(int newData) { struct node* newNode = new node; newNode->data = newData; newNode->left = NULL; newNode->right = NULL; return newNode; } bool isLeaf(Node a) { return (a!=NULL && a->left==NULL && a->right==NULL); } void printKDistantfromLeafUtil(node *root, int *path, int *visited, int pathLen, int k); void printKDistantfromLeaf(node* root, int k) { int MAX_HEIGHT =1000; int path[MAX_HEIGHT]; int visited[MAX_HEIGHT]; printKDistantfromLeafUtil(root, path, visited, 0, k); } void printKDistantfromLeafUtil(node *root, int *path, int *visited, int pathLen, int k) { if(!root) return; path[pathLen] = root->data; visited[pathLen] = false; pathLen++; int KNodesAboveIndex = pathLen-k-1; if( isLeaf(root) && KNodesAboveIndex>=0 && !visited[KNodesAboveIndex]){ cout<<path[KNodesAboveIndex]<<" "; visited[KNodesAboveIndex]=true; } printKDistantfromLeafUtil(root->left, path, visited, pathLen, k); printKDistantfromLeafUtil(root->right, path, visited, pathLen, k); } int main() { Node root = newNode(1); root->left = newNode(2); root->right = newNode(3); root->left->left = newNode(4); root->left->right = newNode(5); root->right->left = newNode(6); root->right->right = newNode(7); root->right->left->right = newNode(8); cout << "Nodes at distance 1 are: "; printKDistantfromLeaf(root, 1); cout << "\nNodes at distance 2 are: "; printKDistantfromLeaf(root, 2); cout << "\nNodes at distance 3 are: "; printKDistantfromLeaf(root, 3); cout << "\nNodes at distance 5 are: "; printKDistantfromLeaf(root, 5); return 0; }
[ "kunalkrishna85@gmail.com" ]
kunalkrishna85@gmail.com
9fd8695ea17cd7702b17e22ae896c0eaf05898ad
b5c17b494204ed215ecfdc65932b2c960fa9e121
/src/script/script_error.cpp
8ea46c419fe9669b95cf221d56242dc636bb6596
[ "MIT" ]
permissive
syglee7/zenacoin-ver2
9c8943c84b8eefad4ce3fee6ac15a9878b87f1df
90079b95bdf0ea2b7fce644c56d2a9626526e5e4
refs/heads/master
2023-03-10T07:29:47.772820
2021-02-21T13:57:41
2021-02-21T13:57:41
340,617,557
0
0
null
null
null
null
UTF-8
C++
false
false
5,951
cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2020 The Zenacoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <script/script_error.h> #include <string> std::string ScriptErrorString(const ScriptError serror) { switch (serror) { case SCRIPT_ERR_OK: return "No error"; case SCRIPT_ERR_EVAL_FALSE: return "Script evaluated without error but finished with a false/empty top stack element"; case SCRIPT_ERR_VERIFY: return "Script failed an OP_VERIFY operation"; case SCRIPT_ERR_EQUALVERIFY: return "Script failed an OP_EQUALVERIFY operation"; case SCRIPT_ERR_CHECKMULTISIGVERIFY: return "Script failed an OP_CHECKMULTISIGVERIFY operation"; case SCRIPT_ERR_CHECKSIGVERIFY: return "Script failed an OP_CHECKSIGVERIFY operation"; case SCRIPT_ERR_NUMEQUALVERIFY: return "Script failed an OP_NUMEQUALVERIFY operation"; case SCRIPT_ERR_SCRIPT_SIZE: return "Script is too big"; case SCRIPT_ERR_PUSH_SIZE: return "Push value size limit exceeded"; case SCRIPT_ERR_OP_COUNT: return "Operation limit exceeded"; case SCRIPT_ERR_STACK_SIZE: return "Stack size limit exceeded"; case SCRIPT_ERR_SIG_COUNT: return "Signature count negative or greater than pubkey count"; case SCRIPT_ERR_PUBKEY_COUNT: return "Pubkey count negative or limit exceeded"; case SCRIPT_ERR_BAD_OPCODE: return "Opcode missing or not understood"; case SCRIPT_ERR_DISABLED_OPCODE: return "Attempted to use a disabled opcode"; case SCRIPT_ERR_INVALID_STACK_OPERATION: return "Operation not valid with the current stack size"; case SCRIPT_ERR_INVALID_ALTSTACK_OPERATION: return "Operation not valid with the current altstack size"; case SCRIPT_ERR_OP_RETURN: return "OP_RETURN was encountered"; case SCRIPT_ERR_UNBALANCED_CONDITIONAL: return "Invalid OP_IF construction"; case SCRIPT_ERR_NEGATIVE_LOCKTIME: return "Negative locktime"; case SCRIPT_ERR_UNSATISFIED_LOCKTIME: return "Locktime requirement not satisfied"; case SCRIPT_ERR_SIG_HASHTYPE: return "Signature hash type missing or not understood"; case SCRIPT_ERR_SIG_DER: return "Non-canonical DER signature"; case SCRIPT_ERR_MINIMALDATA: return "Data push larger than necessary"; case SCRIPT_ERR_SIG_PUSHONLY: return "Only push operators allowed in signatures"; case SCRIPT_ERR_SIG_HIGH_S: return "Non-canonical signature: S value is unnecessarily high"; case SCRIPT_ERR_SIG_NULLDUMMY: return "Dummy CHECKMULTISIG argument must be zero"; case SCRIPT_ERR_MINIMALIF: return "OP_IF/NOTIF argument must be minimal"; case SCRIPT_ERR_SIG_NULLFAIL: return "Signature must be zero for failed CHECK(MULTI)SIG operation"; case SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS: return "NOPx reserved for soft-fork upgrades"; case SCRIPT_ERR_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM: return "Witness version reserved for soft-fork upgrades"; case SCRIPT_ERR_DISCOURAGE_UPGRADABLE_TAPROOT_VERSION: return "Taproot version reserved for soft-fork upgrades"; case SCRIPT_ERR_DISCOURAGE_OP_SUCCESS: return "OP_SUCCESSx reserved for soft-fork upgrades"; case SCRIPT_ERR_DISCOURAGE_UPGRADABLE_PUBKEYTYPE: return "Public key version reserved for soft-fork upgrades"; case SCRIPT_ERR_PUBKEYTYPE: return "Public key is neither compressed or uncompressed"; case SCRIPT_ERR_CLEANSTACK: return "Stack size must be exactly one after execution"; case SCRIPT_ERR_WITNESS_PROGRAM_WRONG_LENGTH: return "Witness program has incorrect length"; case SCRIPT_ERR_WITNESS_PROGRAM_WITNESS_EMPTY: return "Witness program was passed an empty witness"; case SCRIPT_ERR_WITNESS_PROGRAM_MISMATCH: return "Witness program hash mismatch"; case SCRIPT_ERR_WITNESS_MALLEATED: return "Witness requires empty scriptSig"; case SCRIPT_ERR_WITNESS_MALLEATED_P2SH: return "Witness requires only-redeemscript scriptSig"; case SCRIPT_ERR_WITNESS_UNEXPECTED: return "Witness provided for non-witness script"; case SCRIPT_ERR_WITNESS_PUBKEYTYPE: return "Using non-compressed keys in segwit"; case SCRIPT_ERR_SCHNORR_SIG_SIZE: return "Invalid Schnorr signature size"; case SCRIPT_ERR_SCHNORR_SIG_HASHTYPE: return "Invalid Schnorr signature hash type"; case SCRIPT_ERR_SCHNORR_SIG: return "Invalid Schnorr signature"; case SCRIPT_ERR_TAPROOT_WRONG_CONTROL_SIZE: return "Invalid Taproot control block size"; case SCRIPT_ERR_TAPSCRIPT_VALIDATION_WEIGHT: return "Too much signature validation relative to witness weight"; case SCRIPT_ERR_TAPSCRIPT_CHECKMULTISIG: return "OP_CHECKMULTISIG(VERIFY) is not available in tapscript"; case SCRIPT_ERR_TAPSCRIPT_MINIMALIF: return "OP_IF/NOTIF argument must be minimal in tapscript"; case SCRIPT_ERR_OP_CODESEPARATOR: return "Using OP_CODESEPARATOR in non-witness script"; case SCRIPT_ERR_SIG_FINDANDDELETE: return "Signature is found in scriptCode"; case SCRIPT_ERR_UNKNOWN_ERROR: case SCRIPT_ERR_ERROR_COUNT: default: break; } return "unknown error"; }
[ "syglee7@gmail.com" ]
syglee7@gmail.com
d593689ff9e4cc2bc5ce66d675ffcf93fb2f5f09
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/squid/gumtree/squid_repos_function_740_squid-3.5.27.cpp
aff9fce2578f63e7a458acb9b0e4b001a1c36721
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,914
cpp
int clientBeginRequest(const HttpRequestMethod& method, char const *url, CSCB * streamcallback, CSD * streamdetach, ClientStreamData streamdata, HttpHeader const *header, char *tailbuf, size_t taillen) { size_t url_sz; ClientHttpRequest *http = new ClientHttpRequest(NULL); HttpRequest *request; StoreIOBuffer tempBuffer; if (http->al != NULL) http->al->cache.start_time = current_time; /* this is only used to adjust the connection offset in client_side.c */ http->req_sz = 0; tempBuffer.length = taillen; tempBuffer.data = tailbuf; /* client stream setup */ clientStreamInit(&http->client_stream, clientGetMoreData, clientReplyDetach, clientReplyStatus, new clientReplyContext(http), streamcallback, streamdetach, streamdata, tempBuffer); /* make it visible in the 'current acctive requests list' */ /* Set flags */ /* internal requests only makes sense in an * accelerator today. TODO: accept flags ? */ http->flags.accel = true; /* allow size for url rewriting */ url_sz = strlen(url) + Config.appendDomainLen + 5; http->uri = (char *)xcalloc(url_sz, 1); strcpy(http->uri, url); if ((request = HttpRequest::CreateFromUrlAndMethod(http->uri, method)) == NULL) { debugs(85, 5, "Invalid URL: " << http->uri); return -1; } /* * now update the headers in request with our supplied headers. urlParse * should return a blank header set, but we use Update to be sure of * correctness. */ if (header) request->header.update(header); http->log_uri = xstrdup(urlCanonicalClean(request)); /* http struct now ready */ /* * build new header list *? TODO */ request->flags.accelerated = http->flags.accel; request->flags.internalClient = true; /* this is an internally created * request, not subject to acceleration * target overrides */ /* * FIXME? Do we want to detect and handle internal requests of internal * objects ? */ /* Internally created requests cannot have bodies today */ request->content_length = 0; request->client_addr.setNoAddr(); #if FOLLOW_X_FORWARDED_FOR request->indirect_client_addr.setNoAddr(); #endif /* FOLLOW_X_FORWARDED_FOR */ request->my_addr.setNoAddr(); /* undefined for internal requests */ request->my_addr.port(0); /* Our version is HTTP/1.1 */ request->http_ver = Http::ProtocolVersion(1,1); http->request = request; HTTPMSGLOCK(http->request); /* optional - skip the access check ? */ http->calloutContext = new ClientRequestContext(http); http->calloutContext->http_access_done = false; http->calloutContext->redirect_done = true; http->calloutContext->no_cache_done = true; http->doCallouts(); return 0; }
[ "993273596@qq.com" ]
993273596@qq.com
a40e9507427c3010196bacfd8fa93188a6a8f733
06184fa4f382a26bf5a8ce643f4450cdaf705558
/object.cpp
eaef3c4df775eeb56cc65a826b6a3489285fdf5f
[]
no_license
petterdj/terminalGame
8ddd1a7dc8e4c4a8dff7eb59431086f1b6b0f78f
2cf328ce7e0594399d929fd3bce3981dd2a6c12a
refs/heads/master
2020-04-29T17:00:32.897445
2015-11-24T21:43:17
2015-11-24T21:43:17
41,810,349
0
0
null
null
null
null
UTF-8
C++
false
false
1,550
cpp
#include "object.hpp" using namespace terminalGame; // CONSTRUCTORS // Object::Object() { _yPosition = 0; _xPosition = 0; _drawChar = " "; } Object::Object(const float y, const float x, const std::string drawChar) { _yPosition = y; _xPosition = x; _drawChar = drawChar; } Object::Object(const Object& o) { if (this == &o) return; _yPosition = o._yPosition; _xPosition = o._xPosition; _drawChar = o._drawChar; } Object::Object(Object&& o) : _yPosition(o._yPosition), _xPosition(o._xPosition), _drawChar(o._drawChar) { o._yPosition = 0; o._xPosition = 0; o._drawChar = ""; } // OPERATORS // Object& Object::operator=(const Object& o) { if (this == &o) return *this; _yPosition = o._yPosition; _xPosition = o._xPosition; _drawChar = o._drawChar; return *this; } Object& Object::operator=(Object&& o) { if (this == &o) return *this; _yPosition = o._yPosition; _xPosition = o._xPosition; _drawChar = o._drawChar; o._yPosition = 0; o._xPosition = 0; o._drawChar = ""; return *this; } // DESTRUCTOR // Object::~Object() { _yPosition = 0; _xPosition = 0; _drawChar = ""; } // FUNCTIONS // float Object::getYPosition() const { return _yPosition; } float Object::getXPosition() const { return _xPosition; } std::string Object::getDrawChar() const { return _drawChar; } void Object::setYPosition(const float y) { _yPosition = y; } void Object::setXPosition(const float x) { _xPosition = x; } void Object::setDrawChar(const std::string drawChar) { _drawChar = drawChar; }
[ "petterdjupfeldt@gmail.com" ]
petterdjupfeldt@gmail.com
9539a484dfff6e2cc81091db59e9e0170878e985
e27a017b17d87149de15ab9a4178546c403f70bd
/source/diagnostics/TextDiagnosticClient.cpp
8b39583c87b950c9cb9b09b0c5cc4eed13086d5a
[ "MIT" ]
permissive
mfkiwl/slang
dd62f6ba9b680e86bc435e1f5941ffde96348db4
47eba801bd143694b6d36a527e3d9bb0d2f77222
refs/heads/master
2023-08-04T07:10:16.443818
2021-09-27T19:38:58
2021-09-27T19:38:58
411,439,039
1
0
MIT
2021-09-28T21:08:22
2021-09-28T21:08:22
null
UTF-8
C++
false
false
7,136
cpp
//------------------------------------------------------------------------------ // TextDiagnosticClient.cpp // Diagnostic client that formats to a text string // // File is under the MIT license; see LICENSE for details //------------------------------------------------------------------------------ #include "slang/diagnostics/TextDiagnosticClient.h" #include "../text/FormatBuffer.h" #include "slang/text/SourceManager.h" namespace slang { static constexpr auto noteColor = fmt::terminal_color::bright_black; static constexpr auto warningColor = fmt::terminal_color::bright_yellow; static constexpr auto errorColor = fmt::terminal_color::bright_red; static constexpr auto fatalColor = fmt::terminal_color::bright_red; static constexpr auto highlightColor = fmt::terminal_color::bright_green; static constexpr auto filenameColor = fmt::terminal_color::cyan; static constexpr auto locationColor = fmt::terminal_color::bright_cyan; static fmt::terminal_color getSeverityColor(DiagnosticSeverity severity) { switch (severity) { case DiagnosticSeverity::Note: return noteColor; case DiagnosticSeverity::Warning: return warningColor; case DiagnosticSeverity::Error: return errorColor; case DiagnosticSeverity::Fatal: return fatalColor; default: return fmt::terminal_color::black; } } TextDiagnosticClient::SymbolPathCB TextDiagnosticClient::defaultSymbolPathCB; TextDiagnosticClient::TextDiagnosticClient() : buffer(std::make_unique<FormatBuffer>()), symbolPathCB(defaultSymbolPathCB) { } TextDiagnosticClient::~TextDiagnosticClient() = default; void TextDiagnosticClient::showColors(bool show) { buffer->setColorsEnabled(show); } void TextDiagnosticClient::report(const ReportedDiagnostic& diag) { if (diag.shouldShowIncludeStack && includeFileStack) { SmallVectorSized<SourceLocation, 8> includeStack; getIncludeStack(diag.location.buffer(), includeStack); // Show the stack in reverse. for (int i = int(includeStack.size()) - 1; i >= 0; i--) { SourceLocation loc = includeStack[size_t(i)]; buffer->format("in file included from {}:{}:\n", sourceManager->getFileName(loc), sourceManager->getLineNumber(loc)); } } // Print out the hierarchy where the diagnostic occurred, if we know it. auto& od = diag.originalDiagnostic; if (od.coalesceCount && od.symbol && symbolPathCB && includeHierarchy) { if (od.coalesceCount == 1) buffer->append(" in instance: "sv); else buffer->format(" in {} instances, e.g. ", *od.coalesceCount); buffer->append(fmt::emphasis::bold, symbolPathCB(*od.symbol)); buffer->append("\n"sv); } // Get all highlight ranges mapped into the reported location of the diagnostic. SmallVectorSized<SourceRange, 8> mappedRanges; engine->mapSourceRanges(diag.location, diag.ranges, mappedRanges); // Write the diagnostic. formatDiag(diag.location, mappedRanges, diag.severity, diag.formattedMessage, engine->getOptionName(diag.originalDiagnostic.code)); // Write out macro expansions, if we have any, in reverse order. if (includeExpansion) { for (auto it = diag.expansionLocs.rbegin(); it != diag.expansionLocs.rend(); it++) { SourceLocation loc = *it; std::string name(sourceManager->getMacroName(loc)); if (name.empty()) name = "expanded from here"; else name = fmt::format("expanded from macro '{}'", name); SmallVectorSized<SourceRange, 8> macroRanges; engine->mapSourceRanges(loc, diag.ranges, macroRanges); formatDiag(sourceManager->getFullyOriginalLoc(loc), macroRanges, DiagnosticSeverity::Note, name, ""); } } } void TextDiagnosticClient::clear() { buffer->clear(); } std::string TextDiagnosticClient::getString() const { return buffer->str(); } static void highlightRange(SourceRange range, SourceLocation caretLoc, size_t col, string_view sourceLine, std::string& buffer) { // Trim the range so that it only falls on the same line as the cursor size_t start = range.start().offset(); size_t end = range.end().offset(); size_t startOfLine = caretLoc.offset() - (col - 1); size_t endOfLine = startOfLine + sourceLine.length(); if (start < startOfLine) start = startOfLine; if (end > endOfLine) end = endOfLine; if (start >= end) return; // walk the range in to skip any leading or trailing whitespace start -= startOfLine; end -= startOfLine; while (sourceLine[start] == ' ' || sourceLine[start] == '\t') { start++; if (start == end) return; } while (sourceLine[end - 1] == ' ' || sourceLine[end - 1] == '\t') { end--; if (start == end) return; } // finally add the highlight chars for (; start != end; start++) buffer[start] = '~'; } void TextDiagnosticClient::formatDiag(SourceLocation loc, span<const SourceRange> ranges, DiagnosticSeverity severity, string_view message, string_view optionName) { size_t col = 0; if (loc != SourceLocation::NoLocation) { col = sourceManager->getColumnNumber(loc); if (includeLocation) { buffer->append(fg(filenameColor), sourceManager->getFileName(loc)); buffer->append(":"); buffer->format(fg(locationColor), "{}", sourceManager->getLineNumber(loc)); if (includeColumn) buffer->format(fg(locationColor), ":{}", col); buffer->append(": "); } } buffer->format(fg(getSeverityColor(severity)), "{}: ", getSeverityString(severity)); if (severity != DiagnosticSeverity::Note) buffer->format(fmt::text_style(fmt::emphasis::bold), "{}", message); else buffer->append(message); if (!optionName.empty() && includeOptionName) buffer->format(" [-W{}]", optionName); if (loc != SourceLocation::NoLocation && includeSource) { string_view line = getSourceLine(loc, col); if (!line.empty()) { buffer->format("\n{}\n", line); // Highlight any ranges and print the caret location. std::string highlight(std::max(line.length(), col), ' '); // handle tabs to get proper alignment on a terminal for (size_t i = 0; i < line.length(); ++i) { if (line[i] == '\t') highlight[i] = '\t'; } for (SourceRange range : ranges) highlightRange(range, loc, col, line, highlight); highlight[col - 1] = '^'; highlight.erase(highlight.find_last_not_of(' ') + 1); buffer->append(fg(highlightColor), highlight); } } buffer->append("\n"sv); } } // namespace slang
[ "mike@popoloski.com" ]
mike@popoloski.com
fb2255c66dce1849fd213117c94f906f8a73e227
7def85a6390c5acc4c999c508ad65748e3c2382d
/Units.h
5f90a85a74dd2fd869dd5c5ae21b93273439b17a
[]
no_license
JishnuJayaraj/AdvPt
b0eaf6b5762ec90a0453dc73041d83beef5c7e06
6ab8e1193498b5109a0627d4bdaa29d494ee92cc
refs/heads/master
2021-06-27T06:36:34.999430
2020-10-26T11:32:34
2020-10-26T11:32:34
171,672,034
1
0
null
null
null
null
UTF-8
C++
false
false
396
h
#include <string> #include <iostream> #include <map> #include <iterator> #include <array> #include <fstream> #include "Game_Object.h" #ifndef UNITS_H #define UNITS_H class Units : public Game_Object { public: Units(std::string a, std::string b, int c, int d, double e) : Game_Object(a, b, c, d, e) {} //std::string get_type(){ // return "unit"; // } ~Units() {} }; #endif
[ "jishnujayaraj@live.com" ]
jishnujayaraj@live.com
8da4738d64bf8c9c06656997d20badc496f0ef4f
572681cb24af7b8cf745bbd5542b2045c2042ddf
/RS_ASIO/Patcher.cpp
cce278ac2d272daf0a73eb1f878f3a087a7da9c0
[ "MIT" ]
permissive
mdias/rs_asio
e303f33f848d78e33175c6e62155ddf3b0471afb
7bc2c2d916518643367b3f3c771a6353b23f1816
refs/heads/master
2023-09-05T08:41:50.452634
2023-08-14T14:02:30
2023-08-14T14:02:30
206,672,830
890
98
MIT
2023-08-14T14:02:32
2019-09-05T23:17:32
C++
UTF-8
C++
false
false
4,421
cpp
#include "stdafx.h" #include "dllmain.h" #include "crc32.h" DWORD GetImageCrc32() { char exePath[MAX_PATH]{}; DWORD exePathSize = GetModuleFileNameA(NULL, exePath, MAX_PATH); DWORD crc = 0; bool success = crc32file(exePath, crc); if (!success) { rslog::error_ts() << "Could not get the executable crc32" << std::endl; return 0; } return crc; } void PatchOriginalCode_d1b38fcb(); void PatchOriginalCode_21a8959a(); std::vector<void*> FindBytesOffsets(const BYTE* bytes, size_t numBytes) { std::vector<void*> result; const HMODULE baseModuleHandle = GetModuleHandle(NULL); MODULEINFO baseModuleInfo; if (!GetModuleInformation(GetCurrentProcess(), baseModuleHandle, &baseModuleInfo, sizeof(baseModuleInfo))) { rslog::error_ts() << "Could not get base module info" << std::endl; return result; } BYTE* addr = (BYTE*)baseModuleInfo.lpBaseOfDll; const DWORD maxSearchAddr = baseModuleInfo.SizeOfImage - numBytes; for (DWORD offset = 0; offset < maxSearchAddr; ++offset) { bool match = true; for (DWORD i = 0; i < numBytes; ++i) { if (addr[offset + i] != bytes[i]) { match = false; break; } } if (match) { result.push_back((void*)(addr + offset)); } } return result; } void Patch_CallAbsoluteIndirectAddress(const std::vector<void*>& offsets, void* TargetFn) { rslog::info_ts() << __FUNCTION__ " - num locations: " << offsets.size() << std::endl; for (void* offset : offsets) { rslog::info_ts() << "Patching call at " << offset << std::endl; long targetRelAddress = (long)TargetFn - ((long)offset + 5); BYTE* bytes = (BYTE*)offset; DWORD oldProtectFlags = 0; if (!VirtualProtect(offset, 6, PAGE_WRITECOPY, &oldProtectFlags)) { rslog::error_ts() << "Failed to change memory protection" << std::endl; } else { bytes[0] = 0xe8; void** callAddress = (void**)(bytes + 1); *callAddress = (void*)targetRelAddress; bytes[5] = 0x90; FlushInstructionCache(GetCurrentProcess(), offset, 6); if (!VirtualProtect(offset, 6, oldProtectFlags, &oldProtectFlags)) { rslog::error_ts() << "Failed to restore memory protection" << std::endl; } } } } void Patch_CallRelativeAddress(const std::vector<void*>& offsets, void* TargetFn) { rslog::info_ts() << __FUNCTION__ " - num locations: " << offsets.size() << std::endl; for (void* offset : offsets) { rslog::info_ts() << "Patching call at " << offset << std::endl; long targetRelAddress = (long)TargetFn - ((long)offset + 5); BYTE* bytes = (BYTE*)offset; std::int32_t relOffset = *(std::int32_t*)(bytes + 1); bytes += 5 + relOffset; DWORD oldProtectFlags = 0; if (!VirtualProtect(bytes, 6, PAGE_WRITECOPY, &oldProtectFlags)) { rslog::error_ts() << "Failed to change memory protection" << std::endl; } else { // hack to jump to absolute address without the need to be indirect // push address bytes[0] = 0x68; *((void**)(bytes + 1)) = TargetFn; // ret bytes[5] = 0xc3; if (!VirtualProtect(bytes, 6, oldProtectFlags, &oldProtectFlags)) { rslog::error_ts() << "Failed to restore memory protection" << std::endl; } } } } void Patch_ReplaceWithNops(void* offset, size_t numBytes) { DWORD oldProtectFlags = 0; if (!VirtualProtect(offset, numBytes, PAGE_WRITECOPY, &oldProtectFlags)) { rslog::error_ts() << "Failed to change memory protection" << std::endl; } else { BYTE* byte = (BYTE*)offset; for (size_t i = 0; i < numBytes; ++i) { byte[i] = 0x90; // nop } FlushInstructionCache(GetCurrentProcess(), offset, numBytes); if (!VirtualProtect(offset, numBytes, oldProtectFlags, &oldProtectFlags)) { rslog::error_ts() << "Failed to restore memory protection" << std::endl; } } } void PatchOriginalCode() { rslog::info_ts() << __FUNCTION__ << std::endl; const DWORD image_crc32 = GetImageCrc32(); char image_crc32_str[16] = { 0 }; snprintf(image_crc32_str, 15, "0x%08x", image_crc32); rslog::info_ts() << "image crc32: " << image_crc32_str << std::endl; switch (image_crc32) { case 0xd1b38fcb: PatchOriginalCode_d1b38fcb(); break; case 0x21a8959a: PatchOriginalCode_21a8959a(); break; default: rslog::error_ts() << "Unknown game version" << std::endl; break; } }
[ "oss@micaeldias.com" ]
oss@micaeldias.com
8d197a99698f299f4b93da6ef722db819848809c
0cef4e026b72ed39e0ebe4bbcb4bcdef9411fa69
/UFHZZ4LJetCorrector/plugins/PatJetReCorrector.cc
e1a17286733c83e4bcc20d8453d4ba98e13afd60
[]
no_license
VBF-HZZ/UFHZZAnalysisRun2
3a34cb88391376fb9b06ed8cb13b4e40a3b3e5ce
5b97bcb7c64a23820e762d821d4db55a9977cf78
refs/heads/master
2021-09-15T09:52:16.216926
2016-05-18T10:31:07
2016-05-18T10:31:07
22,383,705
0
24
null
2021-08-31T15:28:05
2014-07-29T14:57:14
C++
UTF-8
C++
false
false
5,648
cc
#include <memory> #include <vector> #include <algorithm> #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/EDProducer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/EventSetup.h" #include "DataFormats/PatCandidates/interface/JetCorrFactors.h" #include "JetMETCorrections/Objects/interface/JetCorrectionsRecord.h" #include "CondFormats/JetMETObjects/interface/JetCorrectorParameters.h" #include "CondFormats/JetMETObjects/interface/FactorizedJetCorrector.h" /// Unfortunately there's no way otherwise to reset the jet energy corrections of a PAT Jet #define private public #define protected public #include <DataFormats/PatCandidates/interface/Jet.h> #undef private #undef public class PatJetReCorrector : public edm::EDProducer { public: explicit PatJetReCorrector(const edm::ParameterSet&); ~PatJetReCorrector(); private: virtual void beginJob() ; virtual void produce(edm::Event&, const edm::EventSetup&); virtual void endJob() ; edm::InputTag jets_, rho_; /// label of payload std::string payload_; /// levels std::vector<std::string> levels_; }; PatJetReCorrector::PatJetReCorrector(const edm::ParameterSet& iConfig) : jets_(iConfig.getParameter<edm::InputTag>("jets")), rho_(iConfig.getParameter<edm::InputTag>("rho")), payload_( iConfig.getParameter<std::string>("payload") ), levels_( iConfig.getParameter<std::vector<std::string> >("levels") ) { produces<std::vector<pat::Jet> >(); } void PatJetReCorrector::produce(edm::Event& iEvent, const edm::EventSetup& iSetup) { edm::Handle<edm::View<pat::Jet> > jets; iEvent.getByLabel(jets_,jets); edm::Handle<double> rho; if(!rho_.label().empty()) iEvent.getByLabel(rho_, rho); // retreive parameters from the DB edm::ESHandle<JetCorrectorParametersCollection> allparameters; iSetup.get<JetCorrectionsRecord>().get(payload_, allparameters); //std::cout << "\n\nSelecting " << levels_.size() << " levels of correction parameters." << std::endl; std::vector<JetCorrectorParameters> parameters; for (unsigned int level = 0, n = levels_.size(); level < n; ++level) { //std::cout << "Level " << level << "/" << n << ": " << levels_[level] << std::endl; parameters.push_back( (*allparameters)[levels_[level]] ); //parameters.back().printScreen(); //std::cout << std::endl; } //std::cout << std::endl; FactorizedJetCorrector corrector(parameters); std::auto_ptr<pat::JetCollection> pOut(new pat::JetCollection); pOut->reserve(jets->size()); for(edm::View<pat::Jet>::const_iterator itJet = jets->begin(), edJet = jets->end(); itJet != edJet; ++itJet) { // Print out original jet //std::cout << "Original jet with pt " << itJet->pt() << ", eta " << itJet->eta() << std::endl; // clear the table. pat::Jet jet = itJet->correctedJet("Uncorrected"); jet.jec_.clear(); jet.currentJECLevel_ = 0; // now start making //std::cout << "Jet with pt " << jet.pt() << ", eta " << jet.eta() << std::endl; std::vector<pat::JetCorrFactors::CorrectionFactor> jec; jec.push_back( std::make_pair(std::string("Uncorrected"), std::vector<float>(1, 1)) ); // initialize corrector double runningPt = jet.pt(); // start adding levels for (unsigned int level = 0, n = levels_.size(); level < n; ++level) { // must initialize with the _uncorrected_ jet every time corrector.setJetPt(jet.pt()); corrector.setJetEta(jet.eta()); corrector.setRho(*rho); corrector.setJetA(jet.jetArea()); // then get the product of all pieces std::vector<float> factors = corrector.getSubCorrections(); // and take the ratio of the last two float factor = level ? factors[level]/factors[level-1] : factors[0]; runningPt *= factor; //std::cout << " after " << levels_[level] << ": pt " << runningPt << std::endl; jec.push_back( std::make_pair(levels_[level], std::vector<float>(1, factor)) ); } jet.addJECFactors(pat::JetCorrFactors("corrections",jec)); jet.initializeJEC(jet.jec_.back().jecLevel(levels_.back())); double scale = runningPt / itJet->pt(); double scaledParticlePx = scale * itJet->px(); double scaledParticlePy = scale * itJet->py(); double scaledParticlePz = scale * itJet->pz(); double scaledParticleEn = sqrt(scaledParticlePx*scaledParticlePx + scaledParticlePy*scaledParticlePy + scaledParticlePz*scaledParticlePz + itJet->mass()*itJet->mass()); pat::Jet scaledJet(*itJet); reco::Candidate::LorentzVector shiftedJetP4(scaledParticlePx,scaledParticlePy,scaledParticlePz,scaledParticleEn); scaledJet.setP4(shiftedJetP4); // std::cout << "Final jet with pt " << scaledJet.pt() << ", eta " << scaledJet.eta() << std::endl; // std::cout << std::endl; pOut->push_back(scaledJet); } iEvent.put(pOut); } PatJetReCorrector::~PatJetReCorrector() { } void PatJetReCorrector::beginJob() { } void PatJetReCorrector::endJob() { } DEFINE_FWK_MODULE(PatJetReCorrector);
[ "snowball@cern.ch" ]
snowball@cern.ch
e873ccedabef276600456c1f545ea7ec4833c6f0
0ecfb1ec3509631c5813e30fd21c8ecf0c91732c
/debug/src/xpview/OS2/xpview.cpp
3ad4f6ba0e4b3f21c38d4492270325535f3cde24
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zanud/xds-2.60
2c2c32c6d564c8f1d3ca71eb3229e7886f67355d
b4a32b9c9c91fe513fa5ff78ec87bb44102a3b72
refs/heads/master
2023-08-29T00:35:07.014940
2021-10-14T11:39:07
2021-10-14T11:39:07
416,922,119
0
1
Apache-2.0
2023-08-15T22:12:29
2021-10-13T23:02:38
Modula-2
IBM866
C++
false
false
35,493
cpp
#include <stdio.h> #include <string.h> #include <stdlib.h> #define INCL_DOS #define INCL_WIN #define INCL_WINSTDFONT #define INCL_GPI #include <os2.h> #include "xpview.h" #include "headwin.h" #include "profile.h" #define VPCLIENTCLASS "VPClWinClass" #define MM_SUBCLASS WM_USER+2000 #define MM_PROFILE WM_USER+2001 #define MM_APPLYWIDTHS WM_USER+2002 #define GCAUTO 1 #define HEAPLIMIT 4000000 #define GCTHRESHOLD 2000000 extern "C" void Profile_BEGIN(void); // // Globals: // HAB hAB; VIEWPORT VPortComponents (VP_COMPONENTS); VIEWPORT VPortModPub (VP_MODULES); VIEWPORT VPortProcs (VP_PROCEDURES); VIEWPORT VPortLines (VP_LINES); LISTLINE llBottom; HISTORY History; HSWITCH hSwitch; PVIEWPORT apVPorts[4] = {&VPortComponents, &VPortModPub, &VPortProcs, &VPortLines}; int nComponents = 0; BOOL fClearDBI = FALSE; MRESULT EXPENTRY wpVPFrame (HWND hWnd, ULONG ulMsg, MPARAM m1, MPARAM m2); MRESULT EXPENTRY wpVPClient (HWND hWnd, ULONG ulMsg, MPARAM m1, MPARAM m2); PSZ GetSourceLine(PSZ szFile, ULONG ulLine) { ULONG IOErMsg(APIRET err, HWND hWnd, char *szCapt, char *szErr, char *szFile, ULONG MBF); static char szFileInBuf[CCHMAXPATH] = ""; static ULONG ulLineNow = 0; static PSZ pszLineNow; static PSZ pszBuf = 0; static PSZ pszBufTop; static char szError[CCHMAXPATH+100] = ""; static char szRetLine[4000] = ""; if (sf_stricmp(szFile,szFileInBuf)) { free(pszBuf); //--- Установка заголовка окна тут, вообще говоря, примочка... { char sz[CCHMAXPATH+50]; sprintf(sz,"Source: %s",szFile); VPortLines.SetCaption(sz); } pszBuf = 0; HFILE hf; ULONG ulAction, fsize, ul; APIRET rc = DosOpen((PSZ)szFile,&hf,&ulAction,0,FILE_NORMAL,FILE_OPEN, OPEN_FLAGS_NO_CACHE |OPEN_FLAGS_SEQUENTIAL| // Fastest mode? OPEN_ACCESS_READONLY|OPEN_SHARE_DENYNONE, (PEAOP2)0); if (rc) { PSZ pszEr = (PSZ)IOErMsg(rc, 0, "", "Can't open file", szFile, MB_OK); strcpy(szError,pszEr ? pszEr : "Can't open file"); } else { DosSetFilePtr(hf,0L,FILE_END,&fsize); if (fsize>4*1024*1024) sprintf(szError,"File %s is too large (more than 4Mb)!",szFile); else { DosSetFilePtr(hf,0L,FILE_BEGIN,&ul); pszBuf = (PSZ)malloc(fsize+1); if (!pszBuf) sprintf(szError,"Can't allocate memory (file %s)",szFile); else { DosRead(hf,pszBuf,fsize,&ul); DosClose(hf); pszBuf[ul] = '\0'; pszBufTop = pszBuf+ul; ulLineNow = 0; pszLineNow = pszBuf; for (int i=0; i<ul; i++) if (pszBuf[i]==0x0d) pszBuf[i]=' '; } } DosClose(hf); } strcpy(szFileInBuf,szFile); } //--- файл в malloc()ed pszBuf..pszBufTop or pszBuf==0 if (!pszBuf) return szError; if (ulLineNow > ulLine) { ulLineNow = 0; pszLineNow = pszBuf; } while(ulLineNow < ulLine && pszLineNow < pszBufTop) { PSZ szLF = (PSZ)memchr(pszLineNow,0x0a,pszBufTop-pszLineNow); if (!szLF) break; pszLineNow = szLF+1; ulLineNow ++; } if (ulLine!=ulLineNow) sprintf(szRetLine,"Line %u : out of range (file %s)",ulLine,szFile); else { PSZ szLF = (PSZ)memchr(pszLineNow,0x0a,pszBufTop-pszLineNow); if (!szLF) szLF = pszBufTop; int len = min(szLF-pszLineNow, sizeof(szRetLine)-1); strncpy(szRetLine,pszLineNow,len); szRetLine[len] = 0; } return szRetLine; } /*-------------------------------------------------------------------------------------------*/ /*------------------------+-/ \-+------- 1.***** ---------------*/ /*-------------------------< LISTLINE class realisation >-------- 2. ** *** ---------------*/ /*------------------------+-\ /-+--------3.*** ** ---------------*/ /*-------------------------------------------------------------------------------------------*/ LISTLINE::LISTLINE() { memset(this,0,sizeof(*this)); lineKind = BOTTOM; nGlobRelTime = -1; nModRelTime = -1; nSnapshots = -1; } LISTLINE::~LISTLINE() { free(pszText); pszText = 0; } PSZ LISTLINE::QueryText() { PSZ psz = 0; if (!pszText) { switch (lineKind) { case COMPONENT: psz = ComponentName(nOrder); break; case PUBLIC: psz = PublicName(pParentLine->nOrder,nOrder); break; case MODULE: psz = ModuleName(pParentLine->nOrder,nOrder); break; case PROCEDURE: psz = ProcName(pParentLine->pParentLine->nOrder,pParentLine->nOrder,nOrder); break; case LINE: { int nModule = pParentLine->pParentLine->nOrder; int nCom = pParentLine->pParentLine->pParentLine->nOrder; PSZ szFile = SourceName(nCom,nModule); psz = GetSourceLine(szFile,nOrder); break; } } if (!psz) psz = "<Wrong line: internal error>"; pszText = sf_mallocstr(psz); } return pszText ? pszText : "<Error: can not allocate memory>"; } int LISTLINE::GlobRelTime() { if (nGlobRelTime < 0) { PLISTLINE pllBottom = 0; switch (lineKind) { case COMPONENT: pllBottom = pParentLine; break; case PUBLIC: pllBottom = pParentLine->pParentLine; break; case MODULE: pllBottom = pParentLine->pParentLine; break; case PROCEDURE: pllBottom = pParentLine->pParentLine->pParentLine; break; case LINE: pllBottom = pParentLine->pParentLine->pParentLine->pParentLine; break; } int q = pllBottom->q_snapshots(); nGlobRelTime = q ? HIPERCENT*q_snapshots()/q : 0; nGlobRelTime = min(nGlobRelTime,HIPERCENT); nGlobRelTime = max(nGlobRelTime,0); } return nGlobRelTime; } int LISTLINE::ModRelTime() { if (nModRelTime < 0) { int q = pParentLine->q_snapshots(); nModRelTime = (lineKind == BOTTOM) ? HIPERCENT : (q ? HIPERCENT*q_snapshots()/q : 0); nModRelTime = min(nModRelTime,HIPERCENT); nModRelTime = max(nModRelTime,0); } return nModRelTime; } int LISTLINE::q_snapshots() { if (nSnapshots<0) { switch (lineKind) { case BOTTOM: nSnapshots = GetSnapshots(); break; case COMPONENT: nSnapshots = ComponentSnapshots(nOrder); break; case PUBLIC: nSnapshots = PublicSnapshots(pParentLine->nOrder,nOrder); break; case MODULE: nSnapshots = ModuleSnapshots(pParentLine->nOrder,nOrder); break; case PROCEDURE: nSnapshots = ProcSnapshots(pParentLine->pParentLine->nOrder,pParentLine->nOrder,nOrder); break; case LINE: nSnapshots = LineSnapshots(pParentLine->pParentLine->pParentLine->nOrder, pParentLine->pParentLine->nOrder,nOrder); break; } if (nSnapshots<0) nSnapshots = 0; } return nSnapshots; } void LISTLINE::ClickLine() { LONG i=0,iHi; PLISTLINE pll; PVIEWPORT pVP; LINE_KIND lkNew; PSZ pszCapt; switch (lineKind) { case BOTTOM: pVP = &VPortComponents; iHi = nComponents; lkNew = COMPONENT; pszCapt = 0; break; case COMPONENT: pVP = &VPortModPub; if ((iHi = N_Parts(nOrder))>0) lkNew = MODULE, pszCapt = "Modules"; else lkNew = PUBLIC, pszCapt = "Publics"; iHi = abs(iHi); break; case MODULE: pVP = &VPortProcs; iHi = N_Proc(pParentLine->nOrder, nOrder); lkNew = PROCEDURE; pszCapt = "Procedures"; break; case PROCEDURE: pVP = &VPortLines; ProcBounds(pParentLine->pParentLine->nOrder, pParentLine->nOrder, nOrder, &i, &iHi); iHi++; lkNew = LINE; pszCapt = 0; // Set in GetSourceLine break; default: return; } pVP->StartUpdate(); for (i; i<iHi; i++) { pll = new LISTLINE; pll->lineKind = lkNew; pll->nOrder = i; pll->pParentLine = this; pVP->AddLine(pll); } pVP->EndUpdate(pszCapt); } /*-------------------------------------------------------------------------------------------*/ /*------------------------+-/ \-+------ !%%%%%%%%%! ---------*/ /*-------------------------< VIEWPORT class realisation >------- ! !%%%%! ---------*/ /*------------------------+-\ /-+------ !_________! ! ---------*/ /*-------------------------------------------------------------------------------------------*/ VIEWPORT::VIEWPORT(VIEWPORT_KIND vpKind) { memset(this,0,sizeof(*this)); this->vpKind = vpKind; } VIEWPORT::~VIEWPORT() { clear_list(); memset(this,0,sizeof(*this)); } void VIEWPORT::Init(int nPrfItem) { // // Создает окна, для VP_COMPONENTS - показывает и регистрирует в тасклисте // QWL_USER у окон - указатель на VIEWPORT // if (hFrame) return; static BOOL f1st = TRUE; if (f1st) { InitHeadwin(hAB); WinRegisterClass(hAB,VPCLIENTCLASS,(PFNWP)wpVPClient, CS_SIZEREDRAW | CS_CLIPCHILDREN,4); f1st = FALSE; } ULONG fcdata = FCF_NOBYTEALIGN | FCF_TITLEBAR | FCF_SYSMENU | FCF_MINBUTTON | FCF_MAXBUTTON | FCF_SIZEBORDER | FCF_ICON | FCF_MENU | FCF_ACCELTABLE; hFrame = WinCreateStdWindow(HWND_DESKTOP, 0, &fcdata, VPCLIENTCLASS, "Components", WS_VISIBLE, (HMODULE)NULL, RES_MAIN, &hClient); hList = WinCreateWindow(hClient, WC_LISTBOX, "", WS_VISIBLE | LS_NOADJUSTPOS | LS_HORZSCROLL | LS_OWNERDRAW, -100, 0, 1, 1, hFrame, HWND_TOP, 1234, 0, NULL); hHead = WinCreateWindow(hClient, WC_HEADWIN, "", WS_VISIBLE, -100, 0, 1, 1, hFrame, HWND_TOP, 0, 0, NULL); if (!hList) exit(5); this->nPrfItem = nPrfItem; wpVPFrame(hFrame, MM_SUBCLASS, MPARAM(ULONG(WinSubclassWindow(hFrame, (PFNWP)wpVPFrame))),0); WinSetWindowULong(hFrame, QWL_USER,ULONG(this)); WinSetWindowULong(hClient, QWL_USER,ULONG(this)); WinSetWindowULong(hList, QWL_USER,ULONG(this)); { ULONG rgb = 0x00ffffff; char szF[] = "8.Helv"; WinSetPresParam(hList, PP_BACKGROUNDCOLOR, sizeof(rgb), &rgb); WinSetPresParam(hList, PP_FONTNAMESIZE, strlen(szF)+1, szF); } lNumFract = 4; lTimeFract = 8; lTime1Fract = 10; lNameFract = 28; dyHead = (int)WinSendMsg(hHead,HM_QUERYOPTHEIGHT,0,0); HBTNCREATESTRUCT hbs; memset(&hbs,0,sizeof(hbs)); hbs.lWidth = 5; hbs.pszText = "#"; hbs.usCmd = HCMD_NUM; WinSendMsg(hHead,HM_ADDBUTTON,MPARAM(&hbs),0); hbs.pszText = "Time"; hbs.usCmd = HCMD_TIME; WinSendMsg(hHead,HM_ADDBUTTON,MPARAM(&hbs),0); hbs.pszText = "Time"; hbs.usCmd = HCMD_TIME1; WinSendMsg(hHead,HM_ADDBUTTON,MPARAM(&hbs),0); hbs.pszText = "Item name"; hbs.usCmd = HCMD_NAME; WinSendMsg(hHead,HM_ADDBUTTON,MPARAM(&hbs),0); if (vpKind==VP_COMPONENTS) { SWCNTRL SwData; SwData.hwnd = hFrame; SwData.hwndIcon = 0; SwData.hprog = 0; SwData.idProcess = 0; SwData.idSession = 0; SwData.uchVisibility = SWL_VISIBLE; SwData.fbJump = SWL_JUMPABLE; SwData.szSwtitle[0] = '\0'; hSwitch = WinAddSwitchEntry(&SwData); } WinSendMsg(hFrame,MM_PROFILE,MPARAM(TRUE),MPARAM(nPrfItem)); if (!nPrfItem) { WinShowWindow(hFrame,TRUE); WinSetFocus(HWND_DESKTOP,hList); } else WinShowWindow(hFrame,FALSE); } void VIEWPORT::Kill() { if (hFrame) { char sz[100]; WinShowWindow(hFrame,FALSE); sprintf(sz,PRFKEYNAME "Frame%u",nPrfItem); WinStoreWindowPos(PRFAPPNAME, sz, hFrame); clear_list(); WinDestroyWindow(hFrame); memset(this,0,sizeof(*this)); } } void VIEWPORT::StartUpdate() { clear_list(); lock_update(TRUE); } void VIEWPORT::AddLine(PLISTLINE pLL) { int nIt = (int)WinSendMsg(hList, LM_INSERTITEM, MPARAM(LIT_END), MPARAM("???")); WinSendMsg(hList, LM_SETITEMHANDLE, MPARAM(nIt), MPARAM(pLL)); } void VIEWPORT::EndUpdate(PSZ pszCapt) { WinSendMsg(hList, LM_SELECTITEM, MPARAM(0), MPARAM(TRUE)); BOOL fCont = !!WinSendMsg(hList,LM_QUERYITEMCOUNT,0,0); // BOOL fHidden = !(WS_VISIBLE & (int)WinQueryWindowULong(hFrame,QWL_STYLE)); // BOOL fHidNew = fCont || vpKind==VP_COMPONENTS; if (pszCapt) WinSetWindowText(hFrame,pszCapt); if (!fCont) switch (vpKind) { case VP_COMPONENTS: WinShowWindow(VPortModPub.hFrame,FALSE); case VP_MODULES: WinShowWindow(VPortProcs.hFrame,FALSE); case VP_PROCEDURES: WinShowWindow(VPortLines.hFrame,FALSE); } MM_ApplyWidths(hFrame,0,0); Sort(sortMode); WinShowWindow(hFrame, fCont || vpKind==VP_COMPONENTS); WinSetWindowPos(hFrame,HWND_TOP,0,0,0,0,SWP_ZORDER); lock_update(FALSE); } SORT_MODE sm; int _Optlink compare (const void *arg1, const void *arg2) { int i=0; switch(sm) { case SORT_TIME: i = (*(PPLISTLINE)arg2)->nSnapshots - (*(PPLISTLINE)arg1)->nSnapshots; break; case SORT_TEXT: i = sf_stricmp((*(PPLISTLINE)arg1)->pszText ? (*(PPLISTLINE)arg1)->pszText : "", (*(PPLISTLINE)arg2)->pszText ? (*(PPLISTLINE)arg2)->pszText : ""); break; } return i ? i : ((*(PPLISTLINE)arg1)->nOrder - (*(PPLISTLINE)arg2)->nOrder); } void VIEWPORT::Sort(SORT_MODE sMode) { int nTotal = (int)WinSendMsg(hList,LM_QUERYITEMCOUNT,0,0); int i = (int)WinSendMsg(hList,LM_QUERYSELECTION,MPARAM(LIT_FIRST),0); PLISTLINE pllSel = (i==LIT_NONE) ? 0 : (PLISTLINE)WinSendMsg(hList,LM_QUERYITEMHANDLE,MPARAM(i),0); PLISTLINE *apll = (PLISTLINE*)malloc(nTotal*sizeof(PLISTLINE)); if (!nTotal || !apll) return; for (i=0; i<nTotal; i++) if (!(apll[i] = (PLISTLINE)WinSendMsg(hList,LM_QUERYITEMHANDLE,MPARAM(i),0))) { free(apll); return; } sortMode = sm = sMode; qsort(apll,nTotal,sizeof(PLISTLINE),compare); lock_update(TRUE); // re-fill listbox WinSendMsg(hList,LM_DELETEALL,0,0); int nSel = LIT_NONE; for (i=0;i<nTotal;i++) { int nIt = (int)WinSendMsg(hList, LM_INSERTITEM, MPARAM(LIT_END), MPARAM("???")); WinSendMsg(hList, LM_SETITEMHANDLE, MPARAM(nIt), MPARAM(apll[i])); if (apll[i]==pllSel) nSel = i; } free(apll); fLockLMSel++; if (nSel!=LIT_NONE) WinSendMsg(hList,LM_SELECTITEM,MPARAM(nSel),MPARAM(TRUE)); fLockLMSel--; lock_update(FALSE); } void VIEWPORT::SetCaption (PSZ psz) { WinSetWindowText(hFrame,psz); } void VIEWPORT::clear_list() { if (hList) { lock_update(TRUE); int nIt = (int)WinSendMsg(hList,LM_QUERYITEMCOUNT,0,0); while (--nIt >= 0) { PLISTLINE pLL = (PLISTLINE)WinSendMsg(hList,LM_QUERYITEMHANDLE,MPARAM(nIt),0); delete pLL; } WinSendMsg(hList,LM_DELETEALL,0,0); lock_update(FALSE); } } void VIEWPORT::lock_update(BOOL fLock) { if (fLock) nUpdateLocked++; else nUpdateLocked--; if (!nUpdateLocked) WinInvalidateRect(hList,0,0); } MRESULT VIEWPORT::WM_DrawItem (HWND hWnd, MPARAM m1, MPARAM m2) { POWNERITEM pow = POWNERITEM(m2); PLISTLINE pLL = PLISTLINE(pow->hItem); PVIEWPORT pVP = (PVIEWPORT)WinQueryWindowULong(hWnd,QWL_USER); if (nUpdateLocked || !pLL || !pVP) return MRESULT(TRUE); RECTL rc = pow->rclItem; RECTL rcDraw = rc; LONG clrFore = CLR_BLACK; LONG clrBack = CLR_WHITE; if (pow->fsState){ clrFore = CLR_WHITE; clrBack = CLR_DARKGRAY; } WinFillRect(pow->hps,&rc,clrBack); rc.yTop--; GpiSetColor (pow->hps,clrFore); GpiSetBackColor(pow->hps,clrBack); int nAbs = pLL->GlobRelTime(); // of HIPERCENT% int nRel = pLL->ModRelTime(); // of HIPERCENT% // Номер (xNumFract): { rcDraw.xLeft = rc.xLeft + 2; rcDraw.xRight = rc.xLeft + pVP->xNumFract; char sz[10]=""; sprintf(sz,"%u.",pLL->QueryOrder()+1); // От '1' WinDrawText(pow->hps,-1,sz,&rcDraw,0,0, DT_LEFT | DT_VCENTER | DT_TEXTATTRS); } // Текст процентов (xTimeFract): { rcDraw.xLeft = rc.xLeft + pVP->xNumFract; rcDraw.xRight = rcDraw.xLeft + pVP->xTimeFract; char sz[30]=""; if (nAbs<100) sprintf(sz,"%3.1f(",float(nAbs)/10.0); else sprintf(sz,"%2u(", nAbs/10); if (nRel<100) sprintf(sz+strlen(sz),"%3.1f)%%",float(nRel)/10.0); else sprintf(sz+strlen(sz),"%2u)%%", nRel/10); WinDrawText(pow->hps,-1,sz,&rcDraw,0,0, DT_LEFT | DT_VCENTER | DT_TEXTATTRS); } // Поставим градусник (xTime1Fract): { LONG dh = (rc.yTop-rc.yBottom)/5 + 1; rcDraw.yBottom = rc.yBottom + dh; rcDraw.yTop = rc.yTop-dh; rcDraw.xLeft = rc.xLeft + pVP->xNumFract + pVP->xTimeFract; rcDraw.xRight = rcDraw.xLeft + 1 + pVP->xTime1Fract*nAbs/1100; WinFillRect(pow->hps,&rcDraw,CLR_RED); rcDraw.xLeft = rcDraw.xRight; rcDraw.xRight = rcDraw.xLeft + pVP->xTime1Fract*(nRel-nAbs)/1100; WinFillRect(pow->hps,&rcDraw,CLR_BLUE); rcDraw = rc; } // Текст (xNameFract): { rcDraw.xLeft = rc.xLeft + pVP->xNumFract + pVP->xTimeFract + pVP->xTime1Fract; rcDraw.xRight = rc.xRight; // rcDraw.xLeft + pVP->xNameFract; WinDrawText(pow->hps,-1,pLL->QueryText(),&rcDraw,0,0, DT_LEFT | DT_VCENTER | DT_TEXTATTRS); } pow->fsState = pow->fsStateOld = 0; return MRESULT(TRUE); } MRESULT VIEWPORT::WM_MeasureItem (HWND hWnd, MPARAM m1, MPARAM m2) { /*+++ Speed it up! */ FONTMETRICS fm; HPS hps = WinGetPS(hList); GpiQueryFontMetrics(hps,sizeof(fm),&fm); WinReleasePS(hps); return MRFROM2SHORT((fm.lMaxBaselineExt+fm.lExternalLeading), 10000); } MRESULT VIEWPORT::WM_Control (HWND hWnd, MPARAM m1, MPARAM m2) { //if (nLockCtrl) return 0; if (!fLockLMSel && SHORT2FROMMP(m1)==LN_SELECT) { int nIt = (int) WinSendMsg(hList,LM_QUERYSELECTION, MPARAM(LIT_FIRST),0); PLISTLINE pLL = (PLISTLINE)WinSendMsg(hList,LM_QUERYITEMHANDLE,MPARAM(nIt), 0); if (pLL) pLL->ClickLine(); } else if (SHORT1FROMMP(m1)==HBN_TRACKING || SHORT1FROMMP(m1)==HBN_SIZE) MM_ApplyWidths(hWnd,m1,m2); return 0; } MRESULT VIEWPORT::MM_ApplyWidths (HWND hWnd, MPARAM m1, MPARAM m2) { lNumFract = xNumFract = (int)WinSendMsg(hHead, HM_QUERYBTNWIDTH, MPFROM2SHORT(HCMD_NUM,TRUE), 0); lTimeFract = xTimeFract = (int)WinSendMsg(hHead, HM_QUERYBTNWIDTH, MPFROM2SHORT(HCMD_TIME,TRUE), 0); lTime1Fract = xTime1Fract = (int)WinSendMsg(hHead, HM_QUERYBTNWIDTH, MPFROM2SHORT(HCMD_TIME1,TRUE),0); lNameFract = xNameFract = (int)WinSendMsg(hHead, HM_QUERYBTNWIDTH, MPFROM2SHORT(HCMD_NAME,TRUE), 0); WinInvalidateRect(hList,0,0); return 0; } MRESULT VIEWPORT::WM_Command (HWND hWnd, MPARAM m1, MPARAM m2) { int s1m1 = SHORT1FROMMP(m1); PSZ pszF = History.Cmd2File(s1m1); if (pszF) s1m1 = IDM_FILEOPEN; switch(s1m1) { case IDM_FILEOPEN: { FILEDLG fild; memset(&fild, 0, sizeof(FILEDLG)); if (!pszF) { strcpy(fild.szFullFile, "*.xpt"); fild.cbSize = sizeof(FILEDLG); fild.fl = FDS_CENTER | FDS_OPEN_DIALOG ; fild.pszTitle = "Open"; if (!WinFileDlg(HWND_DESKTOP, hWnd, &fild) || fild.lReturn!=DID_OK) break; } else strcpy(fild.szFullFile,pszF); if (fClearDBI) ClearDebugInfo(); int rc = LoadDebugInfo (fild.szFullFile); if (rc>0) { char szCapt[CCHMAXPATH+30]; nComponents = rc; History.AppItem(fild.szFullFile); sprintf(szCapt,"Components: %s",fild.szFullFile); VPortComponents.SetCaption(szCapt); // fClearDBI = TRUE; } else { char aszErr[7][200] = {"Error","Open prodile data error","Read error profile data error","Read debuf info error", "Wrong data format error","Not XDS profiler trace file","Unknown error"}; char sz[200+CCHMAXPATH]; sprintf(sz,"%s. \n(File: %s).",aszErr[rc>-6 ? -rc : 6],fild.szFullFile); WinMessageBox(HWND_DESKTOP, hWnd, sz, "ERROR", 0, MB_ERROR|MB_MOVEABLE|MB_OK); nComponents = 0; } llBottom.ClickLine(); break; } case HCMD_NUM: Sort(SORT_ORDER); break; case HCMD_TIME: case HCMD_TIME1: Sort(SORT_TIME); break; case HCMD_NAME: Sort(SORT_TEXT); break; case IDM_WINPOPALL: { for (int i=3; i>=0; i--) if (apVPorts[i]!=this) WinSetWindowPos(apVPorts[i]->hFrame,HWND_TOP,0,0,0,0,SWP_ZORDER); WinSetWindowPos(hFrame,HWND_TOP,0,0,0,0,SWP_ZORDER); break; } case IDM_WINCASCADE: case IDM_WINTILE: { int cx = WinQuerySysValue(HWND_DESKTOP,SV_CXSCREEN); int cy = WinQuerySysValue(HWND_DESKTOP,SV_CYSCREEN); for (int i=3; i>=0; i--) { HWND hFr = apVPorts[i]->hFrame; if (s1m1==IDM_WINCASCADE) { int nPos = (i % 4) + 1; WinSetWindowPos(hFr,HWND_TOP,cx/10*nPos,cy/10*(5-nPos),cx/2,cy/2, SWP_ZORDER|SWP_MOVE|SWP_SIZE); } else WinSetWindowPos(hFr,HWND_TOP, (i&1) ? cx/2 : 4, (i&2) ? 4 : cy/2, cx/2-4, cy/2-4, SWP_ZORDER|SWP_MOVE|SWP_SIZE); WinSetFocus(HWND_DESKTOP,VPortComponents.hList); } break; } default: s1m1 -= IDM_WIN_MIN; if (s1m1<sizeof(apVPorts)/sizeof(apVPorts[0])) WinSetFocus(HWND_DESKTOP,apVPorts[s1m1]->hList); } return 0; } MRESULT VIEWPORT::WM_InitMenu (HWND hWnd, MPARAM m1, MPARAM m2) { switch(SHORT1FROMMP(m1)) { case IDM_WINDOW: { LONG i; HWND hm; MENUITEM mi; if (!WinSendMsg(HWND(WinWindowFromID(hFrame,FID_MENU)),MM_QUERYITEM,MPFROM2SHORT(IDM_WINDOW,TRUE),(MPARAM)&mi)) return 0; if (hm = mi.hwndSubMenu) for (i=0; i<sizeof(apVPorts)/sizeof(apVPorts[0]);i++) { HWND hFr = apVPorts[i]->hFrame; char sz[CCHMAXPATH+200] = "~1: ???"; sz[1] += i; BOOL fDisabled = !(WS_VISIBLE & (ULONG)WinQueryWindowULong(hFr,QWL_STYLE)); WinQueryWindowText(hFr,sizeof(sz)-4,sz+4); WinSendMsg(hm,MM_SETITEMTEXT,MPARAM(IDM_WIN_MIN+i),MPARAM(sz)); WinSendMsg(hm,MM_SETITEMATTR,MPFROM2SHORT(IDM_WIN_MIN+i,TRUE), MPFROM2SHORT(MIA_DISABLED|MIA_CHECKED, (fDisabled ? MIA_DISABLED : 0)|(this==apVPorts[i] ? MIA_CHECKED : 0))); } break; } case IDM_FILE: { MENUITEM mi; if (!WinSendMsg(HWND(WinWindowFromID(hFrame,FID_MENU)),MM_QUERYITEM,MPFROM2SHORT(IDM_FILE,TRUE),(MPARAM)&mi)) return 0; History.InitMenu(mi.hwndSubMenu); break; } default: return WinDefWindowProc(hWnd,WM_INITMENU,m1,m2); } return 0; } MRESULT VIEWPORT::WM_Size (HWND hWnd, MPARAM m1, MPARAM m2) { // Client's size means RECTL rcl; WinQueryWindowRect(hClient,&rcl); int dx = rcl.xRight; int dy = rcl.yTop; LONG dyh = min(dyHead,dy); WinSetWindowPos(hList, 0, 0, 0, dx, dy-dyh, SWP_MOVE|SWP_SIZE|SWP_HIDE); WinSetWindowPos(hHead, 0, 0, dy-dyh, dx, dyh, SWP_MOVE|SWP_SIZE|SWP_HIDE); WinShowWindow(hList,TRUE); WinShowWindow(hHead,TRUE); int nFrSum; if (!(nFrSum = lNumFract + lTimeFract + lTime1Fract + lNameFract)) nFrSum=4, lNumFract=lTimeFract=lTime1Fract=lNameFract=1; int nUsed; int nBit = dx * lNumFract / nFrSum; nUsed = nBit; WinSendMsg(hHead, HM_SETBTNWIDTH, MPFROM2SHORT(HCMD_NUM,TRUE), MPARAM(nBit)); nBit = dx * lTimeFract / nFrSum; nUsed += nBit; WinSendMsg(hHead, HM_SETBTNWIDTH, MPFROM2SHORT(HCMD_TIME,TRUE), MPARAM(nBit)); nBit = dx * lTime1Fract/ nFrSum; nUsed += nBit; WinSendMsg(hHead, HM_SETBTNWIDTH, MPFROM2SHORT(HCMD_TIME1,TRUE),MPARAM(nBit)); nBit = dx - nUsed; WinSendMsg(hHead, HM_SETBTNWIDTH, MPFROM2SHORT(HCMD_NAME,TRUE), MPARAM(nBit)); WinSendMsg(hList, MM_APPLYWIDTHS, 0,0); return 0; } /////////////////////////////////// M A I N ( ) //////////////////////////////////////////////////// int main(int argc, char **argv) { MRESULT EXPENTRY wpFrame (HWND hWnd, ULONG ulMsg, MPARAM m1, MPARAM m2); MRESULT EXPENTRY wpClient (HWND hWnd, ULONG ulMsg, MPARAM m1, MPARAM m2); Profile_BEGIN(); HMQ hMsgQ; QMSG qMsg; if ( ! (hAB = WinInitialize(0)) || ! (hMsgQ = WinCreateMsgQueue(hAB,32))) exit (4); History .Init(IDM_FILEHIST_MIN, IDM_FILEHIST_MAX-1, IDM_FILEHIST_MAX); VPortComponents.Init(0); // Create windows, show, add switch entry VPortModPub .Init(1); // Create windows VPortProcs .Init(2); // Create windows VPortLines .Init(3); // Create windows while(WinGetMsg(hAB,&qMsg,0,0,0)) WinDispatchMsg( hAB,&qMsg); VPortLines .Kill(); VPortProcs .Kill(); VPortModPub .Kill(); VPortComponents.Kill(); History .Kill(); if (fClearDBI) ClearDebugInfo(); WinRemoveSwitchEntry(hSwitch); WinDestroyMsgQueue(hMsgQ); WinTerminate(hAB); } MRESULT EXPENTRY wpVPFrame(HWND hWnd,ULONG ulMsg, MPARAM m1, MPARAM m2) { static PFNWP pWindowProc; PVIEWPORT pVP = (PVIEWPORT)WinQueryWindowULong(hWnd,QWL_USER); switch (ulMsg){ case MM_SUBCLASS: pWindowProc = PFNWP(ULONG(m1)); break; case MM_PROFILE: // m1 = TRUE/FALSE - read/write // m2 = nPrfItem; { int nWin = int(m2); char sz[100]; sprintf(sz,PRFKEYNAME "Frame%u",nWin); if (!WinRestoreWindowPos(PRFAPPNAME, sz, hWnd)) { int cx = WinQuerySysValue(HWND_DESKTOP,SV_CXSCREEN); int cy = WinQuerySysValue(HWND_DESKTOP,SV_CYSCREEN); int nPos = (nWin % 4) + 1; WinSetWindowPos(hWnd,HWND_TOP,cx/10*nPos,cy/10*(5-nPos),cx/2,cy/2, SWP_MOVE|SWP_SIZE|(nWin ? 0 : SWP_SHOW|SWP_ACTIVATE|SWP_ZORDER)); } } case WM_MEASUREITEM: return pVP ? pVP->WM_MeasureItem(hWnd,m1,m2) : (MRESULT)10; case WM_DRAWITEM: return pVP ? pVP->WM_DrawItem (hWnd, m1, m2) : 0; case WM_COMMAND: if (pVP) return pVP->WM_Command(hWnd,m1,m2); break; case WM_CONTROL: if (pVP) return pVP->WM_Control(hWnd,m1,m2); break; default: return (*pWindowProc)(hWnd,ulMsg,m1,m2); } return 0; } MRESULT EXPENTRY wpVPClient(HWND hWnd,ULONG ulMsg, MPARAM m1, MPARAM m2) { PVIEWPORT pVP = (PVIEWPORT)WinQueryWindowULong(hWnd,QWL_USER); switch (ulMsg){ case WM_COMMAND: if (pVP) return pVP->WM_Command(hWnd,m1,m2); break; case WM_CONTROL: if (pVP) return pVP->WM_Control(hWnd,m1,m2); break; case WM_SIZE: return pVP ? pVP->WM_Size(hWnd,m1,m2) : 0; case WM_INITMENU: return pVP ? pVP->WM_InitMenu(hWnd,m1,m2) : 0; default: return WinDefWindowProc(hWnd,ulMsg,m1,m2); } return 0; } ULONG IOErMsg(APIRET err, HWND hWnd, char *szCapt, char *szErr, char *szFile, ULONG MBF) // if (hWnd) show message, return MBID_* // else returns PSZ szError { char *psz = szErr; switch((ULONG)err) { case 1: psz = "Invalid funstion number"; break; case 2: psz = "File not found"; break; case 3: psz = "Path not found"; break; case 4: psz = "Too many opened files (no handles left)"; break; case 5: psz = "Access denied"; break; case 6: psz = "Invalid handle"; break; case 8: psz = "Insufficient memory"; break; case 10: psz = "Invalid environment"; break; case 11: psz = "Invalid format"; break; case 12: psz = "Invalid access"; break; case 13: psz = "Invalid data"; break; case 19: psz = "Disk is write protected"; break; case 26: psz = "Uniknown media type"; break; case 29: psz = "Write fault"; break; case 32: psz = "Sharing violation"; break; case 33: psz = "Lock violation"; break; case 36: psz = "Sharing buffer overflov"; break; case 82: psz = "Cannot make directory entry"; break; case 84: psz = "Too many pipes"; break; case 87: psz = "Invalid parameter"; break; case 89: psz = "No process slots available"; break; case 95: psz = "Interrupted system call"; break; case 99: psz = "Device in use"; break; case 108: psz = "Drive locked by another process"; break; case 109: psz = "Broken pipe"; break; case 110: psz = "Open/create failed due to explicit fail command"; break; case 112: psz = "No enough space on the disk"; break; case 114: psz = "Invalid target handle"; break; case 127: psz = "Procedure address not found"; break; case 182: psz = "Invalid ordinal"; break; case 190: psz = "Invalid module type"; break; case 191: psz = "Invalid EXE signature"; break; case 192: psz = "EXE marked invalid"; break; case 195: psz = "Invalid minimum allocation size"; break; case 196: psz = "Dynamic link from invalid privilege level"; break; case 206: psz = "File name or extention is greater than 8.3 characters"; break; case 231: psz = "Pipe is busy"; break; } static char szErrMsg[CCHMAXPATH+150]; if (psz != szErr) sprintf(szErrMsg, "Error %u: %s", int(err), psz); else strcpy(szErrMsg, psz); if (szFile && szFile[0]) { strcat(szErrMsg," (File "); strcat(szErrMsg,szFile); strcat(szErrMsg,")"); } if (hWnd) return WinMessageBox(HWND_DESKTOP, hWnd, szErrMsg, szCapt, 0, MB_ERROR|MB_MOVEABLE|MBF); else return ULONG(szErrMsg); } //------------------------------------- HISTORY:: HISTORY() {memset(this,0,sizeof(*this));} HISTORY::~HISTORY() {sf_freelist(pllHist); pllHist = 0;} void HISTORY::Init(int nMinCmd, int nMaxCmd, int nSeparator) { sf_freelist(pllHist); pllHist = 0; this->nMinCmd = nMinCmd; this->nMaxCmd = nMaxCmd; this->nSeparator = nSeparator; char *pchBuf = 0; ULONG ulSize = 0; if ( !PrfQueryProfileSize(HINI_USERPROFILE,PRFAPPNAME,PRFKEYNAME "Hist",&ulSize) || !ulSize || !(pchBuf=(char*)malloc(ulSize+1)) || !PrfQueryProfileData(HINI_USERPROFILE,PRFAPPNAME,PRFKEYNAME "Hist",pchBuf,&ulSize) ) { free(pchBuf); return; } pchBuf[ulSize] = '\0'; LONG lN = *(PLONG)pchBuf; int nCmd = nMinCmd; for (PSZ psz=pchBuf+sizeof(lN); psz<pchBuf+ulSize && lN>0 && nCmd++<=nMaxCmd; psz += strlen(psz)+1, lN--) pllHist = sf_applist(pllHist,psz); free(pchBuf); } void HISTORY::Kill() { // Writes the hispory as N,"text1",...,"textN" // N is a LONG, text(s) are z-terminated lines LINELIST *pll; char *pchBuf; LONG lSize = 0; LONG lN = 0; for (pll=pllHist; pll; pll=pll->next,lN++) lSize += strlen(pll->text)+1; if (pchBuf=(char*)malloc(lSize+sizeof(lN))) { *PLONG(pchBuf) = lN; char *pchTarg = pchBuf+sizeof(lN); for (pll=pllHist; pll; pll=pll->next) { strcpy(pchTarg,pll->text); pchTarg += strlen(pchTarg)+1; } PrfWriteProfileData(HINI_USERPROFILE,PRFAPPNAME,PRFKEYNAME "Hist",pchBuf,pchTarg-pchBuf); free(pchBuf); } else PrfWriteProfileData(HINI_USERPROFILE,PRFAPPNAME,PRFKEYNAME "Hist",NULL,0); } void HISTORY::InitMenu(HWND hm) { LONG i; MENUITEM mi; PLINELIST pll; WinSendMsg(hm,MM_DELETEITEM,MPFROM2SHORT(nSeparator,FALSE),0); for (i=nMinCmd; i<=nMaxCmd; i++) WinSendMsg(hm,MM_DELETEITEM,MPFROM2SHORT(i,FALSE),0); if (!pllHist) return; memset(&mi,0,sizeof(mi)); mi.iPosition = MIT_END; mi.afStyle = MIS_SEPARATOR; mi.id = nSeparator; WinSendMsg(hm,MM_INSERTITEM,MPARAM(&mi),MPARAM("")); for (pll=pllHist, i=nMinCmd; pll && i<=nMaxCmd; pll=pll->next, i++) { mi.afStyle = MIS_TEXT; mi.id = i; WinSendMsg(hm,MM_INSERTITEM,MPARAM(&mi),MPARAM(pll->text)); } } PSZ HISTORY::Cmd2File(int nCmd) { PLINELIST pll; int i; for (pll=pllHist, i=nMinCmd; pll && i<=nMaxCmd; pll=pll->next, i++) if (i==nCmd) return pll->text; return 0; } void HISTORY::AppItem(PSZ pszIt) { PLINELIST *ppll; PLINELIST pll; int i; if(!pszIt || !*(pszIt=sf_skipspaces(pszIt))) return; for (ppll=&pllHist; *ppll; ppll=&(*ppll)->next) if (!sf_stricmp((*ppll)->text,pszIt)) { sf_cutlist(ppll); break; } for (pll=pllHist, i=nMinCmd; pll; pll=pll->next, i++) if (i>=nMaxCmd-1) { sf_freelist(pll->next); pll->next = 0; break; } pll = sf_applist(0,pszIt); pll->next = pllHist; pllHist = pll; }
[ "klvov@excelsior-usa.com" ]
klvov@excelsior-usa.com
005fbf5493edb025ef21de25eb5f58ad1ca78ca2
47d51d42fe3adad24e734c435b42890c3b42fad4
/include/CpuEagerSolver.h
84d7e0fb1520229a3cc158462cded762d93ee96c
[]
no_license
sstewart2012/peticodiac
3a9b0364cc789a7fbdac5e7355c045ac843c3d9f
6a546de15d1e5a60b0e2d68ae76dfd412db8e514
refs/heads/master
2021-01-20T18:28:35.996320
2017-05-09T12:11:23
2017-05-09T12:11:23
63,481,781
1
1
null
2017-05-09T12:11:24
2016-07-16T12:24:06
C++
UTF-8
C++
false
false
561
h
#ifndef CPUEAGERSOLVER_H_ #define CPUEAGERSOLVER_H_ #include <omp.h> #include "CpuSolver.h" namespace solver { template <typename T> class CpuEagerSolver : public CpuSolver<T> { public: CpuEagerSolver(const int num_vars, const int max_num_constrs); virtual ~CpuEagerSolver(); protected: virtual void update_assignment() override; virtual inline T get_assignment(const int idx) const override { assert(idx < this->num_vars()); return this->assigns_[idx]; } }; } // namespace solver #endif /* CPUEAGERSOLVER_H_ */
[ "tianyuyang658@yahoo.com" ]
tianyuyang658@yahoo.com
71bf6856c6d006aa24dbb85be246f981dd69ff7a
e753f8ab10eb6732f272217169e48ab4754295ee
/audio/geonkick-lv2/dragonfly/patch-src_envelope.cpp
e2702b5045da67bbada2545007a24eb7c07334ae
[ "BSD-2-Clause" ]
permissive
DragonFlyBSD/DPorts
dd2e68f0c11a5359bf1b3e456ab21cbcd9529e1c
4b77fb40db21fdbd8de66d1a2756ac1aad04d505
refs/heads/master
2023-08-12T13:54:46.709702
2023-07-28T09:53:12
2023-07-28T09:53:12
6,439,865
78
52
NOASSERTION
2023-09-02T06:27:16
2012-10-29T11:59:35
null
UTF-8
C++
false
false
241
cpp
--- src/envelope.cpp.orig 2019-08-09 08:41:12 UTC +++ src/envelope.cpp @@ -26,6 +26,7 @@ #include <iomanip> #include <math.h> +#include <cmath> // for std::llround() Envelope::Envelope(const RkRect &area) : drawingArea{area}
[ "nobody@home.ok" ]
nobody@home.ok
d555ca442d90fa3896ab62f3de42cca492c3fc87
977397ddaca3c257e8c087e9c47e8ab83cb35a5d
/MxCompiler/MxCompiler/ir_printer.cpp
58430d0e819dd8edf8dd7896d37426123eec31c3
[]
no_license
sparkmxy/MX_star-Compiler
9be0ebdb93d0855300f4f68652d83e87bf28c9bc
9f14ab68a54d7f5430bde5eb6ed613e311ee79fa
refs/heads/master
2020-12-15T20:20:25.216282
2020-06-12T16:29:07
2020-06-12T16:29:07
235,243,306
6
0
null
null
null
null
UTF-8
C++
false
false
5,240
cpp
#include "ir_printer.h" void IR_Printer::print() { //os << "IR code: \n"; visit(ir.get()); //os << "------------------------------------------------------------\n"; } void IR_Printer::visit(IR * ir) { auto glbVars = ir->getGlbVars(); // Global variables for (auto &var : glbVars) os << "@" << getName(var.get()) << '\n'; // StringConstants auto strings = ir->getStringConstants(); for (auto &str : strings) os << "@" << getName(str->getReg().get()) << " = \"" << str->getText() << "\"\n"; auto functions = ir->getFunctions(); for (auto &f : functions) f->accept(*this); } void IR_Printer::visit(Function * f) { auto retType = f->isVoid() ? "void" : "i32"; os << "def @" << f->getName() << ' '; // Do we need to care about return type? auto args = f->getArgs(); if (f->getObjRef() != nullptr) args.insert(args.begin(), std::static_pointer_cast<Register>(f->getObjRef())); for (auto &arg : args) { arg->accept(*this); os << ' '; } os << " { \n"; auto blocks = f->getBlockList(); for (auto &block : blocks) block->accept(*this); os << "}\n"; } void IR_Printer::visit(BasicBlock * b) { os << '$' << getLabel(b) << ":\n"; for (auto instr = b->getFront(); instr != nullptr; instr = instr->getNextInstr()) { os << " "; instr->accept(*this); os << '\n'; } } void IR_Printer::visit(Quadruple * q) { std::string op; auto op_tag = q->getOp(); switch (op_tag) // op = op_tag.toString() { case Quadruple::ADD: op = "add"; break; case Quadruple::MINUS: op = "sub"; break; case Quadruple::TIMES: op = "mul"; break; case Quadruple::DIVIDE: op = "div"; break; case Quadruple::MOD: op = "mod"; break; case Quadruple::LESS: op = "slt"; break; case Quadruple::LEQ: op = "sle"; break; case Quadruple::GREATER: op = "sgt"; break; case Quadruple::GEQ: op = "sge"; break; case Quadruple::NEQ: op = "sne"; break; case Quadruple::EQ: op = "seq"; break; case Quadruple::LSHIFT: op = "shl"; break; case Quadruple::RSHIFT: op = "shr"; break; case Quadruple::BITAND: op = "and"; break; case Quadruple::BITOR: op = "or"; break; case Quadruple::BITXOR: op = "xor"; break; case Quadruple::NEG: op = "neg"; break; case Quadruple::INV: op = "inv"; break; case Quadruple::LOAD: op = "load"; break; case Quadruple::STORE: op = "store"; break; case Quadruple::MOVE: op = "mov"; break; default: throw Error("Printer: Undefined operation"); } os << op << " "; q->getDst()->accept(*this); os << " "; q->getSrc1()->accept(*this); auto src2 = q->getSrc2(); if (src2 != nullptr) { os << " "; src2->accept(*this); } } void IR_Printer::visit(Branch * b) { os << "br "; b->getCondition()->accept(*this); os << " " << getLabel(b->getTrueBlock().get()) << " " << getLabel(b->getFalseBlock().get()); } // call obj return_type args void IR_Printer::visit(Call * c) { os << "call "; if (c->getResult() != nullptr) { // call with a return value c->getResult()->accept(*this); os << " "; } else os << "null "; os << c->getFunction()->getName() << " "; if (c->getObjRef() != nullptr) { c->getObjRef()->accept(*this); os << " "; } auto args = c->getArgs(); for (auto &arg : args) { arg->accept(*this); os << " "; } } void IR_Printer::visit(Malloc * m) { os << "malloc "; m->getPtr()->accept(*this); os << " "; m->getSize()->accept(*this); } void IR_Printer::visit(Return * r) { os << "ret "; if (r->getValue() != nullptr) r->getValue()->accept(*this); } void IR_Printer::visit(Jump * j) { os << "jmp " << getLabel(j->getTarget().get()); } void IR_Printer::visit(PhiFunction * p) { os << "phi "; p->getDst()->accept(*this); os << " "; auto options = p->getRelatedRegs(); os << options.size() << " "; for (auto &opt : options) { if (opt.first == nullptr) std::make_shared<Immediate>(0)->accept(*this); else opt.first->accept(*this); os << " "; os << getLabel(opt.second.lock().get()) << " "; } } void IR_Printer::visit(Register * r) { // should we make global vars different? if (r->isGlobal()) os << "@" << getName(r); else os << "%" << getName(r); } void IR_Printer::visit(StaticString * s) { os << "@" << getName(s->getReg().get()); } void IR_Printer::visit(Immediate * i) { os << '#' << i->getValue(); } std::string IR_Printer::getName(Register * reg) { if (nameForReg.find(reg) == nameForReg.end()) return newRegName(reg); return nameForReg[reg]; } std::string IR_Printer::newRegName(Register *reg) { std::string newNameBase = reg->getName() == "" ? "t" : reg->getName(); // it could be a temperory register with no name, we name it "t" auto newName = newNameBase + std::to_string(nameCounter[newNameBase]); nameCounter[newNameBase]++; nameForReg[reg] = newName; return newName; } std::string IR_Printer::getLabel(BasicBlock * block) { if (block == nullptr) return ""; //is this ok? if (label.find(block) == label.end()) return newLabel(block); return label[block]; } std::string IR_Printer::newLabel(BasicBlock * block) { std::string labelBase = block->toString(); auto new_label = labelBase + std::to_string(nameCounter[labelBase]); nameCounter[labelBase]++; label[block] = new_label; return new_label; }
[ "sparkmxy@sjtu.edu.cn" ]
sparkmxy@sjtu.edu.cn
f799e9e2b7d271b5186b3d5bbddc0bcb77d30f94
00ae567d08cba98beb6360a6f275fa52a6788ca3
/os_cp/src/reader.hpp
be715188cf874e8e5f2f123fe85d7e43604b1c7f
[]
no_license
mr-ilin/os
03827d2669da4cc9d2b8eb9191304466cdde109e
c712141397982dd1544b747983f3ff720ad04808
refs/heads/main
2023-07-30T03:12:41.699563
2021-09-17T11:31:35
2021-09-17T11:31:35
407,515,763
0
1
null
null
null
null
UTF-8
C++
false
false
632
hpp
// // reader.hpp // os_kp_Xcode // // Created by Илья Ильин on 29.12.2020. // #pragma once #include <vector> #include <string> #include <memory> #include "document.hpp" class Reader { private: const unsigned long long _critical_size; // in bytes unsigned long long _current_size; std::vector< std::unique_ptr<Document> > _docs; public: Reader(const std::vector<std::string>& files_paths, const unsigned long long critical_size); // ~Reader(); void PrintDoc(const std::string& file_name) const; void PrintAll() const; void PrintFilesList() const; };
[ "mr.ilin14@gmail.com" ]
mr.ilin14@gmail.com
67e199f18f53cb3df960fbe04c1d5e42ea7dce84
8fca09e098da3cdefae5341f182e3bbfc5a755fb
/PromptYN.cpp
547faef352c1cc5c770d5a25942b4b741774ead9
[]
no_license
TheDitis/HangMan
ff056bdfac7beabbc56b67ef8c89b42940bde3c7
e562ae6921174242c3eaa6e747868e89c8850105
refs/heads/master
2022-11-23T08:15:44.583243
2020-07-26T03:53:32
2020-07-26T03:53:32
282,569,896
0
0
null
null
null
null
UTF-8
C++
false
false
2,282
cpp
/* Author: Ryan McKay * Date: 07/24/2020 * File Name: myfuncts.cpp * Class: CSC160-470 * Summary: definition of PromptYN function and its helper functions */ #include <string> #include <cctype> #include <algorithm> #include "PromptYN.h" std::string lowercase(string str) // helper function for converting inputs to lowercase { for (char & i : str) // looping through the characters in a string { i = std::tolower(i); // we can modify the original through i since we defined it as a reference } return str; // output the lowercase string } bool isIn(std::string item, std::string arr[], int arrayLength) { item = lowercase(item); // convert input to lowercase for comparison for (int i = 0; i < arrayLength; ++i) // for each item in the array { if (item == arr[i]) // if the all-lowercase version of the typed reply matches the current list item: { return true; // return true indicating a match! } } return false; // in the case that no matches were made (return never called) return false } int PromptYN(std::string reply) { const int N_PLAY_REPLIES = 5; const int N_STOP_REPLIES = 7; std::string playReplies [N_PLAY_REPLIES] = {"yes", "yea", "sure", "ok", "y"}; // array of lowercase versions of proper play responses std::string stopReplies [N_STOP_REPLIES] = {"no", "nah", "quit", "stop", "terminate", "n", "q"}; // array of lowercase versions of proper stop responses char play = isIn(reply, playReplies, N_PLAY_REPLIES) ? 'y' : 'e'; // if reply belongs to playReplies, set play to y (for yes), else to e (for error) play = isIn(reply, stopReplies, N_STOP_REPLIES) ? 'n' : play; // if reply belongs to stopReplies, reassign play to n, otherwise maintain previous assignment // std::cout << "myfuncts out: " << reply << " " << play << std::endl; // for debugging purposes, output info to console if (play == 'y') // if user entered something that is in playReplies: { return PLAY; // return variable for continuation } else if (play == 'n') { return STOP; // return variable for ending the game } else { return ERROR; // return variable for indicating an bad input or error } }
[ "ryanscottmckay@gmail.com" ]
ryanscottmckay@gmail.com
f0896c4c89b245d5921747f41f8beedc0a8edbf1
a5d511f5dc6f5173f2d0104f6096d15360b55e1a
/Tetris5/inc/Model.hpp
f795bc711e6cf81ef29242b8c0a0620ec8116a06
[]
no_license
agr6002/Tetris1
e0e4347dc69c0272d9d7993a16d21e6c2a4b24ec
7e3852a28db64620084e116293a2536f5c4114f9
refs/heads/main
2023-06-15T02:07:17.108035
2021-07-04T01:09:43
2021-07-04T01:09:43
382,737,305
0
0
null
null
null
null
UTF-8
C++
false
false
1,395
hpp
#pragma "once" #include <algorithm> #include <iostream> #include <stdio.h> #include "SDL.h" #include "SDL_mixer.h" #include "Block.hpp" #include "Config.hpp" #include "Color.hpp" #include "Piece.hpp" #include "Vec2.hpp" class Model { public: Model(); ~Model(); bool Initialize(); void Run(); bool CheckPieceDrop(int dx, int dy); void CopyPiece(); void ClearLine(int r); void CheckLine(); void CreateNewPiece(); void LoadData(); Uint32 fallDelayFast = Config::fallDelayFast; Uint32 fallDelayRegular = Config::fallDelayRegular; bool isDropping = false; Uint32 timeDelayed = 0; Uint32 timePrior = 0; int blockSize = 0; SDL_Renderer *renderer = nullptr; int numBoardCols = Config::numBoardCols; int numBoardRows = Config::numBoardRows; Block *blocks[Config::numBoardRows][Config::numBoardCols]; Piece *piece = nullptr; int numDisplayCols = Config::numDisplayCols; int numDisplayRows = Config::numDisplayRows; SDL_Window *window = nullptr; int windowHeight = 0; int windowWidth = 0; Color &wallColor = Color::gray; int numOfSoundEffects = 2; char const *MUSIC_FILE = "media/music-1.ogg"; char const *SOUND_EFFECTS_FILE[2] = {"media/selection.wav", "media/line.wav"}; Mix_Music *music = NULL; Mix_Music *sound_effects[2] = {NULL, NULL}; bool isRunning = true; };
[ "noreply@github.com" ]
agr6002.noreply@github.com
6395ef0c24c1c3bd6375dc76aba16c005ea4ae99
7d8ecc2e977e509d48944940f6ff35c913d7a510
/core/conversion/converters/impl/linear.cpp
3802b56e5457040583cfa25d3c7834c6ab238431
[ "BSD-2-Clause" ]
permissive
bddppq/TRTorch
e0ee2926d4f3a1c80683e399b1e078a4086d25ab
60ee9c6c8e8804606296e1ae3486effe1bbb063b
refs/heads/master
2021-03-31T16:11:44.301941
2020-03-17T04:52:47
2020-03-17T04:52:47
248,118,711
0
0
BSD-3-Clause
2020-03-18T02:20:21
2020-03-18T02:20:21
null
UTF-8
C++
false
false
3,007
cpp
#pragma once #include "core/util/prelude.h" #include "core/conversion/converters/converters.h" namespace trtorch { namespace core { namespace conversion { namespace converters { namespace impl { namespace { auto linear_registrations = RegisterNodeConversionPatterns() .pattern({ "aten::linear(Tensor input, Tensor weight, Tensor? bias = None) -> (Tensor)", [](ConversionCtx* ctx, const torch::jit::Node* n, args& args) -> bool { // PyTorch follows in: Nx*xIN, W: OUTxIN, B: OUT, out: Nx*xOUT // TensorRT inserts a flatten in when following conv auto in = args[0].ITensor(); auto shape = util::toVec(in->getDimensions()); LOG_DEBUG("Input tensor shape: " << in->getDimensions()); TRTORCH_ASSERT(shape.size() >= 2, "aten::linear expects input tensors to be of shape [N,..., in features], but found input Tensor less than 2D"); if (shape.size() < 4) { // Flatten std::vector<int64_t> new_shape; new_shape.push_back(shape[0]); new_shape.push_back(1); new_shape.push_back(1); new_shape.push_back(util::volume(util::toDims(shape))); auto new_dims = util::toDims(new_shape); LOG_DEBUG("Input shape is less than 4D got: " << util::toDims(shape) << ", inserting shuffle layer to reshape to 4D tensor shape: " << new_dims); auto in_shuffle = ctx->net->addShuffle(*in); in_shuffle->setReshapeDimensions(new_dims); in_shuffle->setName((util::node_info(n) + " [Input Reshape to " + util::toStr(new_dims) + ']').c_str()); in = in_shuffle->getOutput(0); } auto w_tensor = args[1].IValue()->toTensor(); Weights w = Weights(ctx, w_tensor); nvinfer1::ILayer* new_layer; if (!args[2].IValue()->isNone()) { Weights b(ctx, args[2].IValue()->toTensor()); new_layer = ctx->net->addFullyConnected(*in, w.num_output_maps, w.data, b.data); } else { LOG_DEBUG("There is no bias for the linear layer"); new_layer = ctx->net->addFullyConnected(*in, w.num_output_maps, w.data, Weights().data); } TRTORCH_CHECK(new_layer,"Unable to create linear layer from node: " << *n); new_layer->setName(util::node_info(n).c_str()); auto out_value = n->outputs()[0]; auto out_tensor = new_layer->getOutput(0); out_tensor->setName(out_value->debugName().c_str()); ctx->value_tensor_map[out_value] = out_tensor; LOG_DEBUG("Output tensor shape: " << out_tensor->getDimensions()); return true; } }); } // namespace } // namespace impl } // namespace converters } // namespace conversion } // namespace core } // trtorch
[ "narens@nvidia.com" ]
narens@nvidia.com
18b6d2af43ea08e09cfb7d564e62404f01a2418c
d15b49fce4b3f1a5e5c39a29b8ef86936bd02112
/Computer Purchase Return.cpp
56c7b1185a1cf35f500c928cf3921eb5e52b7cee
[]
no_license
ailyanlu1/Competitive-Programming-Solutions
45ad3e6a7812f6cac126463f7c1391566f2d4ec7
9016c740e18928be38b67470e125359058c203a5
refs/heads/master
2020-03-26T13:03:47.201438
2018-08-15T04:10:59
2018-08-15T04:10:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
936
cpp
#include <bits/stdc++.h> #define ll long long #define MAXN 3010 #define min(a, b) (a) < (b) ? (a) : (b) #define max(a, b) (a) < (b) ? (b) : (a) #define vi vector<int> #define pb push_back #define pii pair<int, int> #define mp make_pair #define f first #define s second #define mii map<int, int> #define umii unordered_map<int, int> using namespace std; int T, N, c[MAXN], v[MAXN], t[MAXN], B, DP[MAXN][6]; vector<pii> parts[MAXN]; int main () { cin.sync_with_stdio(0); cin.tie(0); cin >> T >> N; for (int i=0; i<N; i++) { cin >> c[i] >> v[i] >> t[i]; parts[t[i]].pb(mp(c[i], v[i])); } cin >> B; for (int i=1; i<=T; i++) { for (size_t j=0; j<parts[i].size(); j++) { pii &next = parts[i][j]; int cost = next.f; int val = next.s; for (int k=0; k<=B; k++) if (cost <= k && ~DP[k - cost][i - 1]) DP[k][i] = max(DP[k][i], max(DP[k][i - 1], val + DP[k - cost][i - 1])); } } cout << DP[B][T] << "\n"; return 0; }
[ "noreply@github.com" ]
ailyanlu1.noreply@github.com
f0b75ebdf0c2258d78c60c1f46db4135ddbef511
cfeac52f970e8901871bd02d9acb7de66b9fb6b4
/generated/src/aws-cpp-sdk-rolesanywhere/source/model/UpdateTrustAnchorRequest.cpp
9cc229a077abb94afd101335a977641cefa8f49f
[ "Apache-2.0", "MIT", "JSON" ]
permissive
aws/aws-sdk-cpp
aff116ddf9ca2b41e45c47dba1c2b7754935c585
9a7606a6c98e13c759032c2e920c7c64a6a35264
refs/heads/main
2023-08-25T11:16:55.982089
2023-08-24T18:14:53
2023-08-24T18:14:53
35,440,404
1,681
1,133
Apache-2.0
2023-09-12T15:59:33
2015-05-11T17:57:32
null
UTF-8
C++
false
false
811
cpp
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/rolesanywhere/model/UpdateTrustAnchorRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::RolesAnywhere::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateTrustAnchorRequest::UpdateTrustAnchorRequest() : m_nameHasBeenSet(false), m_sourceHasBeenSet(false), m_trustAnchorIdHasBeenSet(false) { } Aws::String UpdateTrustAnchorRequest::SerializePayload() const { JsonValue payload; if(m_nameHasBeenSet) { payload.WithString("name", m_name); } if(m_sourceHasBeenSet) { payload.WithObject("source", m_source.Jsonize()); } return payload.View().WriteReadable(); }
[ "sdavtaker@users.noreply.github.com" ]
sdavtaker@users.noreply.github.com
33fb46ba6df69f848367238adfa731ede5ed67c9
d324b3d4ce953574c5945cda64e179f33c36c71b
/php/php-sky/grpc/src/compiler/cpp_generator_helpers.h
7a5eb9ac49d3cc0500774296a2c3a70fff9c517b
[ "Apache-2.0" ]
permissive
Denticle/docker-base
decc36cc8eb01be1157d0c0417958c2c80ac0d2f
232115202594f4ea334d512dffb03f34451eb147
refs/heads/main
2023-04-21T10:08:29.582031
2021-05-13T07:27:52
2021-05-13T07:27:52
320,431,033
1
1
null
null
null
null
UTF-8
C++
false
false
2,230
h
/* * * Copyright 2015 gRPC authors. * * Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ #ifndef GRPC_INTERNAL_COMPILER_CPP_GENERATOR_HELPERS_H #define GRPC_INTERNAL_COMPILER_CPP_GENERATOR_HELPERS_H #include <map> #include "src/compiler/config.h" #include "src/compiler/generator_helpers.h" namespace grpc_cpp_generator { inline std::string DotsToColons(const std::string& name) { return grpc_generator::StringReplace(name, ".", "::"); } inline std::string DotsToUnderscores(const std::string& name) { return grpc_generator::StringReplace(name, ".", "_"); } inline std::string ClassName(const grpc::protobuf::Descriptor* descriptor, bool qualified) { // Find "outer", the descriptor of the top-level message in which // "descriptor" is embedded. const grpc::protobuf::Descriptor* outer = descriptor; while (outer->containing_type() != NULL) outer = outer->containing_type(); const std::string& outer_name = outer->full_name(); std::string inner_name = descriptor->full_name().substr(outer_name.size()); if (qualified) { return "::" + DotsToColons(outer_name) + DotsToUnderscores(inner_name); } else { return outer->name() + DotsToUnderscores(inner_name); } } // Get leading or trailing comments in a string. Comment lines start with "// ". // Leading detached comments are put in front of leading comments. template <typename DescriptorType> inline std::string GetCppComments(const DescriptorType* desc, bool leading) { return grpc_generator::GetPrefixedComments(desc, leading, "//"); } } // namespace grpc_cpp_generator #endif // GRPC_INTERNAL_COMPILER_CPP_GENERATOR_HELPERS_H
[ "root@localhost.localdomain" ]
root@localhost.localdomain
3fd6faf125709fc3a944f1e04d6cda20c3e714cf
ead5c32ff8cf5ce04c35603cc7698904e1536be4
/revfe/pluginclass.h
46e7a5a22575bae1d28be0b9a521e73dc095e743
[]
no_license
malcom2073/revfe
7bda0386f4fb0d24b24414c724ddfcf7f768fd8e
775a9a3efb11aa8f59210b3b440542acd61e8f58
refs/heads/master
2021-01-23T15:52:59.247127
2012-03-24T13:12:31
2012-03-24T13:12:31
33,929,251
0
0
null
null
null
null
UTF-8
C++
false
false
3,187
h
/*************************************************************************** * Copyright (C) 2009 by Michael Carpenter (malcom2073) * * mcarpenter@interforcesystems.com * * * * 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 PLUGINCLASS_H #define PLUGINCLASS_H #include <QObject> #include <QString> #include "pluginthreadclass.h" #include "baseinterface.h" #include "ipcmessage.h" #include <QPluginLoader> class PluginClass : public QObject { Q_OBJECT public: PluginClass(); PluginClass(QObject *p,QString n,QString f); PluginClass(QString f); void startThreaded(); void startUnThreaded(); void passPluginMessage(QString,IPCMessage); void passPluginMessageBlocking(QString,IPCMessage); void passPluginMessage(QString,IPCMessage,bool); QString getName() { return pluginName; } QString getFileName() { return pluginFileName; } bool IsThreaded() { return isThreaded; } void reload(); void setName(QString name) { pluginName = name; } bool IsInitStarted() { return isInitStarted; } bool IsInitCompleted() { return isInitCompleted; } bool IsRegistered() { return registered; } void unloadPlugin(); bool isLoaded() { return isPluginLoaded; } private: bool isPluginLoaded; bool registered; bool isThreaded; bool isInitStarted; bool isInitCompleted; PluginThreadClass *threadedPluginObject; BaseInterface *pluginObject; QString pluginName; QString pluginFileName; QPluginLoader loader; signals: void passPluginMessageSignal(QString,IPCMessage); void passCoreModel(QString,QObject*); void passCoreGUIItem(QObject *item); void passPluginMessageSignalBlocking(QString,IPCMessage); void passCoreMessageBlocking(QString,IPCMessage); void passCoreMessage(QString,IPCMessage); void pluginLoadFail(QString pluginFileName); private slots: //void passPluginMessage(QString,IPCMessage,bool); //void passCoreMessage(QString,IPCMessage); }; #endif //PLUGINCLASS_H
[ "malcom2073@gmail.com" ]
malcom2073@gmail.com
49a63ec02ec6783a469d9d55d840db2a7411f26b
337e351f12c583c6c86e6a8e7d6edeb0e0a43107
/C++/RecordingAudioSolution/winrt/Windows.System.Diagnostics.DevicePortal.h
c4ca462c5f6264757cb0f05a507a6c792a714578
[]
no_license
dngoins/HololensDXTutorials
de7d3ba8f25f633557b98f51828ac73d671266a4
532907a7be6005e9f3483e26727324b3392c02f3
refs/heads/master
2020-04-02T06:11:29.362302
2018-10-27T21:16:03
2018-10-27T21:16:03
64,985,100
30
5
null
2016-10-01T00:17:51
2016-08-05T03:16:10
C++
UTF-8
C++
false
false
11,679
h
// C++/WinRT v1.0.171013.2 // Copyright (c) 2017 Microsoft Corporation. All rights reserved. #pragma once #include "winrt/base.h" WINRT_WARNING_PUSH #include "winrt/Windows.Foundation.h" #include "winrt/Windows.Foundation.Collections.h" #include "winrt/impl/Windows.ApplicationModel.AppService.2.h" #include "winrt/impl/Windows.Web.Http.2.h" #include "winrt/impl/Windows.System.Diagnostics.DevicePortal.2.h" #include "winrt/Windows.System.Diagnostics.h" namespace winrt::impl { template <typename D> event_token consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::Closed(Windows::Foundation::TypedEventHandler<Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedEventArgs> const& handler) const { event_token token{}; check_hresult(WINRT_SHIM(Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection)->add_Closed(get_abi(handler), put_abi(token))); return token; } template <typename D> event_revoker<Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection> consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::Closed(auto_revoke_t, Windows::Foundation::TypedEventHandler<Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedEventArgs> const& handler) const { return impl::make_event_revoker<D, Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection>(this, &abi_t<Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection>::remove_Closed, Closed(handler)); } template <typename D> void consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::Closed(event_token const& token) const { check_hresult(WINRT_SHIM(Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection)->remove_Closed(get_abi(token))); } template <typename D> event_token consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::RequestReceived(Windows::Foundation::TypedEventHandler<Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionRequestReceivedEventArgs> const& handler) const { event_token token{}; check_hresult(WINRT_SHIM(Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection)->add_RequestReceived(get_abi(handler), put_abi(token))); return token; } template <typename D> event_revoker<Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection> consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::RequestReceived(auto_revoke_t, Windows::Foundation::TypedEventHandler<Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionRequestReceivedEventArgs> const& handler) const { return impl::make_event_revoker<D, Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection>(this, &abi_t<Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection>::remove_RequestReceived, RequestReceived(handler)); } template <typename D> void consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::RequestReceived(event_token const& token) const { check_hresult(WINRT_SHIM(Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection)->remove_RequestReceived(get_abi(token))); } template <typename D> Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedReason consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionClosedEventArgs<D>::Reason() const noexcept { Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedReason value{}; check_terminate(WINRT_SHIM(Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionClosedEventArgs)->get_Reason(put_abi(value))); return value; } template <typename D> Windows::Web::Http::HttpRequestMessage consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionRequestReceivedEventArgs<D>::RequestMessage() const noexcept { Windows::Web::Http::HttpRequestMessage value{ nullptr }; check_terminate(WINRT_SHIM(Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionRequestReceivedEventArgs)->get_RequestMessage(put_abi(value))); return value; } template <typename D> Windows::Web::Http::HttpResponseMessage consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionRequestReceivedEventArgs<D>::ResponseMessage() const noexcept { Windows::Web::Http::HttpResponseMessage value{ nullptr }; check_terminate(WINRT_SHIM(Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionRequestReceivedEventArgs)->get_ResponseMessage(put_abi(value))); return value; } template <typename D> Windows::System::Diagnostics::DevicePortal::DevicePortalConnection consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionStatics<D>::GetForAppServiceConnection(Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection) const { Windows::System::Diagnostics::DevicePortal::DevicePortalConnection value{ nullptr }; check_hresult(WINRT_SHIM(Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionStatics)->GetForAppServiceConnection(get_abi(appServiceConnection), put_abi(value))); return value; } template <typename D> struct produce<D, Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection> : produce_base<D, Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection> { HRESULT __stdcall add_Closed(::IUnknown* handler, event_token* token) noexcept final { try { typename D::abi_guard guard(this->shim()); *token = detach_abi(this->shim().Closed(*reinterpret_cast<Windows::Foundation::TypedEventHandler<Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedEventArgs> const*>(&handler))); return S_OK; } catch (...) { return impl::to_hresult(); } } HRESULT __stdcall remove_Closed(event_token token) noexcept final { try { typename D::abi_guard guard(this->shim()); this->shim().Closed(*reinterpret_cast<event_token const*>(&token)); return S_OK; } catch (...) { return impl::to_hresult(); } } HRESULT __stdcall add_RequestReceived(::IUnknown* handler, event_token* token) noexcept final { try { typename D::abi_guard guard(this->shim()); *token = detach_abi(this->shim().RequestReceived(*reinterpret_cast<Windows::Foundation::TypedEventHandler<Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionRequestReceivedEventArgs> const*>(&handler))); return S_OK; } catch (...) { return impl::to_hresult(); } } HRESULT __stdcall remove_RequestReceived(event_token token) noexcept final { try { typename D::abi_guard guard(this->shim()); this->shim().RequestReceived(*reinterpret_cast<event_token const*>(&token)); return S_OK; } catch (...) { return impl::to_hresult(); } } }; template <typename D> struct produce<D, Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionClosedEventArgs> : produce_base<D, Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionClosedEventArgs> { HRESULT __stdcall get_Reason(Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedReason* value) noexcept final { typename D::abi_guard guard(this->shim()); *value = detach_abi(this->shim().Reason()); return S_OK; } }; template <typename D> struct produce<D, Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionRequestReceivedEventArgs> : produce_base<D, Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionRequestReceivedEventArgs> { HRESULT __stdcall get_RequestMessage(::IUnknown** value) noexcept final { typename D::abi_guard guard(this->shim()); *value = detach_abi(this->shim().RequestMessage()); return S_OK; } HRESULT __stdcall get_ResponseMessage(::IUnknown** value) noexcept final { typename D::abi_guard guard(this->shim()); *value = detach_abi(this->shim().ResponseMessage()); return S_OK; } }; template <typename D> struct produce<D, Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionStatics> : produce_base<D, Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionStatics> { HRESULT __stdcall GetForAppServiceConnection(::IUnknown* appServiceConnection, ::IUnknown** value) noexcept final { try { typename D::abi_guard guard(this->shim()); *value = detach_abi(this->shim().GetForAppServiceConnection(*reinterpret_cast<Windows::ApplicationModel::AppService::AppServiceConnection const*>(&appServiceConnection))); return S_OK; } catch (...) { *value = nullptr; return impl::to_hresult(); } } }; } WINRT_EXPORT namespace winrt::Windows::System::Diagnostics::DevicePortal { inline Windows::System::Diagnostics::DevicePortal::DevicePortalConnection DevicePortalConnection::GetForAppServiceConnection(Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection) { return get_activation_factory<DevicePortalConnection, Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionStatics>().GetForAppServiceConnection(appServiceConnection); } } WINRT_EXPORT namespace std { template<> struct hash<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection> : winrt::impl::impl_hash_unknown<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection> {}; template<> struct hash<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionClosedEventArgs> : winrt::impl::impl_hash_unknown<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionClosedEventArgs> {}; template<> struct hash<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionRequestReceivedEventArgs> : winrt::impl::impl_hash_unknown<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionRequestReceivedEventArgs> {}; template<> struct hash<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionStatics> : winrt::impl::impl_hash_unknown<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionStatics> {}; template<> struct hash<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection> : winrt::impl::impl_hash_unknown<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection> {}; template<> struct hash<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedEventArgs> : winrt::impl::impl_hash_unknown<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedEventArgs> {}; template<> struct hash<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionRequestReceivedEventArgs> : winrt::impl::impl_hash_unknown<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionRequestReceivedEventArgs> {}; } WINRT_WARNING_POP
[ "dngoins@hotmail.com" ]
dngoins@hotmail.com
fddbd37cf8b4fb5b658a62ff7e6c2357fc36a4b7
7cc719c0f2a0df610a7d59ca33b3fb7d29711a75
/Game Engine/Villain.cpp
053ff9b732d0374ddea4348bc4b4ba2f600d72c8
[]
no_license
Math273ProjectSp15/Game-Engine-World-Class
b232caff480ce5ece698f562eafb11b4b2ec91ac
11f75c0436b3706f111a511d8d5833da45194895
refs/heads/master
2021-01-10T16:16:58.070247
2015-06-03T16:05:54
2015-06-03T16:05:54
35,961,549
0
0
null
null
null
null
UTF-8
C++
false
false
1,184
cpp
#include "Villain.h" bool Villain::initialize(Game *gamePtr, TextureManager *textureM) { deadImage_.initialize(gamePtr->getGraphics(), villainNS::WIDTH, villainNS::HEIGHT, villainNS::TEXTURE_COLS, textureM); deadImage_.setFrames(villainNS::START_FRAME, villainNS::END_FRAME); deadImage_.setCurrentFrame(villainNS::START_FRAME); deadImage_.setFrameDelay(villainNS::ANIMATION_DELAY); deadImage_.setLoop(false); onGround_ = false; dead_ = false; return true; } void Villain::update(float frameTime, int marioX, int marioY) { if (dead_) deadImage_.update(frameTime); else { if (!isOnGround()) { velocity.y += frameTime * 3 * GRAVITY; } else { velocity.y = 0; } spriteData.y += velocity.y * frameTime; if (marioX < spriteData.x) { flipHorizontal(false); velocity.x = -abs(villainNS::SPEED); } else { flipHorizontal(true); velocity.x = abs(villainNS::SPEED); } spriteData.x += velocity.x * frameTime; Entity::update(frameTime); } } void Villain::draw() { if (dead_) { deadImage_.draw(spriteData); } else { Image::draw(); } } bool Villain::animationComplete() { return deadImage_.getAnimationComplete(); }
[ "avilajorge314@gmail.com" ]
avilajorge314@gmail.com
243bde9389dc92eb6fef84f5da9e76c3dd6a4492
6f88d12f7f707b2f3d1701f8532b8be0d9b3deab
/code/29.最小的K个数.cpp
84d5920364cf852cd0846fac86f277632582e6cc
[]
no_license
codewithzichao/CodingInterviewCode
3785d94907e97895cbd73f4e54f3a40f660b40bd
5687b01210eb3b48dea6e5fedc23c7f5cef95c3f
refs/heads/master
2021-01-01T02:47:32.498394
2020-02-08T15:07:34
2020-02-08T15:07:34
239,148,266
1
0
null
null
null
null
UTF-8
C++
false
false
1,892
cpp
/* 题目描述 输入n个整数,找出其中最小的K个数。例如输入4,5,1,6,2,7,3,8这8个数字,则最小的4个数字是1,2,3,4,。 */ #include<stdio.h> #include<string.h> #include<string> #include<algorithm> #include<vector> #include<set> using namespace std; class Solution{ public: /* 方法一:排序。这是最直观的思路。时间复杂度为:O(nlogn).不推荐,能这样做的话,还做个锤子的算法题! */ vector<int> GetLeastNumbers_Solution(vector<int> input, int k) { if(input.size()==0 || k==0 || k>input.size()){ vector<int> ans; return ans; } vector<int> ans; sort(input.begin(),input.end()); for(int i=0;i<k;i++){ ans.push_back(input[i]); } return ans; } /* 方法二:使用set或者multiset。在这道题里,需要使用multiset,因为有可能会有重复元素。 时间复杂度:O(nlogk). */ vector<int> GetLeastNumbers_Solution2(vector<int> input, int k) { if(input.size()==0 || k<=0 || k>input.size()){ vector<int> ans; return ans; } multiset<int,greater<int> > s;//greater表示s中的元素是从大到小排序的,因为红黑树具有自动排序功能。 for(int i=0;i<input.size();i++){ if(s.size()<k){//首先插入k个元素 s.insert(input[i]); } else{ multiset<int,greater<int> >::iterator it=s.begin();//接下来,如果元素小于集合中最大的元素,那么删除最大的元素,插入该元素 if(*it>input[i]){ s.erase(it); s.insert(input[i]); } } } vector<int> ans(s.begin(),s.end()); return ans; } }; int main(){ int n,k; scanf("%d%d ",&n,&k); vector<int> input; for(int i=0;i<n;i++){ int x; scanf("%d",&x); input.push_back(x); } Solution so1; vector<int> ans=so1.GetLeastNumbers_Solution2(input,k); for(int i=0;i<ans.size();i++){ printf("%d ",ans[i]); } printf("\n"); return 0; }
[ "lzctosdream@163.com" ]
lzctosdream@163.com
97aa8e49014238af1a7ae4041151fbb305218552
33f5e0c50d85fb51471081595d5d717840da18c9
/metaretencaoestruturada.h
44cd7b784a46ef67d8e02294b6879c05a10858e2
[]
no_license
fallomermo/SmartSolution
5b8fb79fab30b22c747b96bb96133d742829249b
305ddc77586c147598ced288fe6fb66d4e8b8baf
refs/heads/master
2021-01-25T10:00:48.696366
2018-03-16T17:51:48
2018-03-16T17:51:48
123,334,136
0
0
null
null
null
null
UTF-8
C++
false
false
3,218
h
#ifndef METARETENCAOESTRUTURADA_H #define METARETENCAOESTRUTURADA_H #include <QMap> #include <QDate> #include <QDebug> #include <QMovie> // Classes dos Graficos #include <QChart> #include <QBarSet> #include <QPieSlice> #include <QBarSeries> #include <QBarCategoryAxis> // Classes da Interface #include <QWidget> #include <QThread> #include <QPixmap> #include <QLocale> #include <QPainter> #include <QFileInfo> #include <QChartView> #include <QPieSeries> #include <QModelIndex> #include <QFileDialog> #include <QMessageBox> #include <QToolButton> #include <QMapIterator> #include <QHBoxLayout> #include <QGraphicsScene> #include <QGraphicsWidget> #include <QGraphicsEffect> #include <QGraphicsEllipseItem> #include <QStyleOptionGraphicsItem> #include "controledao.h" #include "qcustomplot.h" #include "objetoretencao.h" #include "exportararquivo.h" #include "detalhesretencao.h" #include "responsavelselecaoagregado.h" #include "donutbreakdownchart.h" class QCustomPlot; class QGraphicsRectWidget : public QGraphicsWidget { public: void paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *) override { painter->fillRect(rect(), Qt::blue); } }; class DetalhesRetencao; class CaixaDeMensagem; namespace Ui { class MetaRetencaoEstruturada; } class MetaRetencaoEstruturada : public QWidget { Q_OBJECT public: explicit MetaRetencaoEstruturada(QWidget *parent = 0); ~MetaRetencaoEstruturada(); QMap<int, ObjetoRetencao *> getMapRetencao() const; void setMapRetencao(const QMap<int, ObjetoRetencao *> &value); signals: void setProgressoValue(int); void setMinimumValue(int); void setMaximumValue(int); void fecharCaixaDeMensagem(); void obterMetaRetencao(QDate, QDate); void finishThread(); private slots: void definirParametrosIniciais(); void filtroItemTabela(QString); void focusPeriodoInicial(); void focusPeriodoFinal(); void getDatatable(); void inserirItemTabela(int, int, QString); void inserirItemTabela(int, int, QDate); void inserirItemTabela(int, int, double); void inserirItemTabela(int, int, int); void inserirItemTabela(int, int, QWidget*); void inserirLinhaTabela(int, int, ResponsavelSelecaoAgregado *); void preencherTabela(const QMap<int, ObjetoRetencao *>); void caixaMensagemUsuario(QString); void atualizarResultados(QModelIndex); void setRetencao(const QMap<int, ObjetoRetencao *> &value); void removerItemTabela(); void removerItemTabela(const QWidget *); void detalhesRetencao(); void detalhesRetencao(QModelIndex); QMap<QString, ResponsavelSelecaoAgregado*> agregarValores(const QMap<int, ObjetoRetencao*>); void updateDadosGrafico(); void updateChartView(int, int); void girarEtiquetas(int); void imprimirPlotagemGrafico(); void salvarImagemGrafico(); private: Ui::MetaRetencaoEstruturada *ui; DetalhesRetencao *detalhes; ControleDAO *controle; QMap<int, ObjetoRetencao*> mapRetencao; CaixaMensagemProgresso *caixaMensagem; QGridLayout *gridLayout; enum { RECRUTA, ADMITIDOS, DEMITIDOS, RETENCAO, ACOES }; }; #endif // METARETENCAOESTRUTURADA_H
[ "fallomermo@gmail.com" ]
fallomermo@gmail.com
80b56cb65d72393c55aa8e0d971775be6b14f456
d4a2c50a90792600c4d864fffe9c1a9d1ebd6acc
/mma_g/MMA_G/DataFile.h
836a94b6db508ae6f4968432390fe87cdbb40226
[]
no_license
iwasen/MyProg
3080316c3444e98d013587e92c066e278e796041
a0755a21d77647261df271ce301404a4e0294a7b
refs/heads/master
2022-12-30T00:28:07.539183
2020-10-25T06:36:27
2020-10-25T06:36:27
307,039,466
0
4
null
null
null
null
SHIFT_JIS
C++
false
false
2,630
h
#pragma once //***************************************************************************************************** // 1. ファイル名 // DataFile.h //---------------------------------------------------------------------------------------------------- // 2. 機能 // データファイルクラスの定義 //---------------------------------------------------------------------------------------------------- // 3. 備考 //---------------------------------------------------------------------------------------------------- // 4. 履歴 // 2007.08.09 S.Aizawa 新規作成 //***************************************************************************************************** #include "ProgressBar.h" #include "datadatetime.h" // 情報ファイルのヘッダ部 struct INFO_FILE_HEADER { INT32 nSeqNo; INT32 nDataSize; INT32 nDataSizeHour; char sFiller[4]; }; class CStringArrayEx : public CStringArray { public: int operator=(CStringArrayEx&) { return 0; } }; class CDataFile { public: CDataFile(); ~CDataFile(); BOOL ReadInfoFile(LPCTSTR pFilePath); BOOL ReadDataFile(int nBeginTime, int nEndTime, BOOL bReadAccelData, BOOL bReadTempData, BOOL bProgressBar); BOOL ReadWriteDataFile(LPCSTR fname, int nBeginTime, int nEndTime, BOOL bReadTempData); public: CString m_sDatPath; double *m_pTempDACM; double *m_pTempX; double *m_pTempY; double *m_pTempZ; double *m_pDataX; double *m_pDataY; double *m_pDataZ; int m_nDataSize; double m_fSampleRate; int m_nStartYear; int m_nStartMonth; int m_nStartDay; int m_nStartMiliSecond; double m_fStartSecond; double m_fTotalSecond; CStringArrayEx m_aDataFileName; int m_nDownRate; CString m_WriteFilePath; int m_nBeginTime; int m_nSensorId; int m_nGain; int m_nCutoff; int m_nSensorIdx; CString m_SensorPos; CString m_IssConfig; CDataDateTime m_dStarttime; CDataDateTime m_dInStarttime; CDataDateTime m_dInEndtime; double m_fAllocFactor; int m_nTotalDataSize; BOOL m_bTempOnly; int m_nDataType; protected: BOOL GetTotalTime(); static BOOL ReadBinaryFileThread(LPVOID pParam, CProgressBar *pProgressBar); static BOOL WriteBinaryFileThread(LPVOID pParam, CProgressBar *pProgressBar); BOOL ReadBinaryFileThread2(CProgressBar *pProgressBar); BOOL WriteBinaryFileThread2(CProgressBar *pProgressBar); void AllocBuf(); double *ReallocBuf(const double *pOldBuf, int nOldSize, int nNewSize); void FreeBuf(); protected: int m_nDataOffset; BOOL m_bReadAccelData; BOOL m_bReadTempData; int m_nAllocSize; int m_nReadSize; };
[ "git@iwasen.jp" ]
git@iwasen.jp
40da27b2de150e1bbe14c3f1b89ce0b052090be9
57c64a324917fef2b9882ba6da2960c6a4ff2c03
/07/test.cpp
8903eb53fd7b9b4abcf1db4a25b2b2ecc3b1a1d6
[]
no_license
ItsNikolor/msu_cpp_autumn_2019
63983d44d0a812d3ac12312e7f08320b1c37f0bb
5ded765c49d27c57955bcb0396895bb18d25cc1b
refs/heads/master
2020-08-14T09:16:59.861696
2019-12-19T13:20:05
2019-12-19T13:20:05
215,137,837
1
0
null
null
null
null
UTF-8
C++
false
false
2,132
cpp
#include<iostream> #include<cassert> #include"vector.h" using namespace std; int main() { Vector<int> a(3,666); for (int i = 0; i < 10; i++) a.push_back(i); for (auto i : a) cout << i << ' '; cout << "\n=====================================\n"; for (auto i = a.rbegin(); i != a.rend(); ++i) cout << *i << ' '; cout << "\n\n"; assert(a.size() == 13); for (int i = 0; i < a.size(); i++) cout << a[i] << ' '; cout << "\n\n"; auto it = a.begin(); *it = 888; a[1] = 777; for (int i = 0; i < a.size(); i++) cout << a[i] << ' '; cout << "\n\n"; for (int i = 0; i < 5; i++) a.pop_back(); for (auto i : a) cout << i << ' '; cout << "\n=====================================\n"; for (auto i = a.rbegin(); i != a.rend(); ++i) cout << *i << ' '; cout << "\n\n"; assert(a.size() == 8); a.resize(10,8); for (auto i : a) cout << i << ' '; cout << "\n=====================================\n"; for (auto i = a.rbegin(); i != a.rend(); ++i) cout << *i << ' '; cout << "\n\n"; assert(a.size() == 10); a.resize(2, 3); for (auto i : a) cout << i << ' '; cout << "\n=====================================\n"; for (auto i = a.rbegin(); i != a.rend(); ++i) cout << *i << ' '; cout << "\n\n"; assert(a.size() == 2); a.clear(); for (auto i : a) cout << i << ' '; cout << "\n=====================================\n"; for (auto i = a.rbegin(); i != a.rend(); ++i) cout << *i << ' '; cout << "\n\n"; assert(a.size() == 0); Vector<string> b; assert(b.size() == 0); assert(b.empty() == 1); b.push_back("string"); assert(b.empty() == 0); assert(b.size() == 1); b.reserve(100); assert(b.size() == 1); b.reserve(0); assert(b.size() == 1); const Vector<double> c(10, 42.0); auto t = c.begin(); double tmp = *t; //*t = tmp; for (auto i : c) cout << i << ' '; cout << "\n=====================================\n"; for (auto i = c.rbegin(); i != c.rend(); ++i) cout << *i << ' '; cout << "\n\n"; for (int i = 0; i < c.size(); i++) cout << c[i] << ' '; cout << "\n\n"; assert(c.size() == 10); assert(c.empty() == 0); }
[ "noreply@github.com" ]
ItsNikolor.noreply@github.com
a96e9d4505eeb84e5eb2972c38181b24fe1de958
a7d578f15bc05f393df32861c0f726e83359c174
/include/grpc_cb/impl/client/stub_helper.h
38bfe7da0da17b6f7f59aafd13aecf1ebaa2279a
[ "Apache-2.0" ]
permissive
wendysuly/grpc_cb
e5209fc75fc7008e3300f7eb5da24f83f561367c
7fa807f6e961ca568bd7e0309b0979e9721c9fa8
refs/heads/master
2021-06-22T06:23:59.280411
2017-08-14T08:20:04
2017-08-14T08:20:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,891
h
// Licensed under the Apache License, Version 2.0. // Author: Jin Qing (http://blog.csdn.net/jq0123) #ifndef GRPC_CB_IMPL_CLIENT_STUB_HELPER_H #define GRPC_CB_IMPL_CLIENT_STUB_HELPER_H #include <google/protobuf/message.h> // for Message #include <grpc_cb/service_stub.h> // for ServiceStub #include <grpc_cb/status.h> // for Status #include <grpc_cb/status_callback.h> // for ErrorCallback #include <grpc_cb/impl/client/wrap_response_callback.h> // for WrapResponseCallback() namespace grpc_cb { // Helper to request stub. class StubHelper { public: StubHelper(ServiceStub& stub) : stub_(stub) {} public: using Message = ::google::protobuf::Message; template <class Response> inline Status BlockingRequest(const std::string& method, const Message& request, Response* response); template <class Response> inline void AsyncRequest(const std::string& method, const Message& request, const std::function<void (const Response&)>& cb, const ErrorCallback& ecb); private: ServiceStub& stub_; }; // StubHelper template <class Response> Status StubHelper::BlockingRequest(const std::string& method, const Message& request, Response* response) { std::string resp_str; ::grpc_cb::Status status = stub_.BlockingRequest(method, request.SerializeAsString(), resp_str); if (!status.ok() || !response) return status; if (response->ParseFromString(resp_str)) return status; return status.InternalError("Failed to parse response."); } template <class Response> void StubHelper::AsyncRequest(const std::string& method, const Message& request, const std::function<void (const Response&)>& cb, const ErrorCallback& ecb) { stub_.AsyncRequest(method, request.SerializeAsString(), WrapResponseCallback(cb, ecb), ecb); } } // namespace grpc_cb #endif // GRPC_CB_IMPL_CLIENT_STUB_HELPER_H
[ "jinq0123@163.com" ]
jinq0123@163.com
af47b2b16a3c714a5e8f07a4bc8439735a3f90dd
3d726b6ffd8179131d304694515ce8ab2bd0dec2
/src/PreSelectionModule.cxx
9cf0333d2d87b4a288a86090029ff33832d624bb
[]
no_license
UHH2/TopSubstructure
0cf4d11667064de6f7efbb46defc09b9e0045094
a9a59a595b162089d2fd3b0829fbbdc7293eb092
refs/heads/master
2020-04-04T11:11:45.494997
2019-12-18T13:18:14
2019-12-18T13:18:14
155,881,830
0
0
null
null
null
null
UTF-8
C++
false
false
5,122
cxx
#include <iostream> #include <memory> #include "UHH2/core/include/AnalysisModule.h" #include "UHH2/core/include/Event.h" #include "UHH2/common/include/TTbarGen.h" #include <UHH2/common/include/AdditionalSelections.h> #include "UHH2/TopSubstructure/include/TopSubstructureSelections.h" #include "UHH2/TopSubstructure/include/TopSubstructureGenSelections.h" using namespace std; using namespace uhh2; namespace uhh2examples { class PreSelectionModule: public AnalysisModule { public: explicit PreSelectionModule(Context & ctx); virtual bool process(Event & event) override; private: TString dataset_version_string; bool isMC, isTTbar, isEle, isMu; bool passed_nmu_gen, passed_nele_gen, passed_mu_pt_gen, passed_ele_pt_gen, passed_topjet_pt_gen, passed_mu_gen, passed_ele_gen, passed_mu_rec, passed_ele_rec, passed_njet_rec, passed_nmu_rec, passed_nele_rec, passed_met_rec; std::unique_ptr<AnalysisModule> ttgenprod; // declare the Selections to use. Use unique_ptr to ensure automatic call of delete in the destructor, to avoid memory leaks. std::unique_ptr<Selection> genmttbar_sel; std::unique_ptr<Selection> met_sel, nmu_sel, nele_sel, njet_sel, nmu_gen, nele_gen, pt_mu_gen, pt_ele_gen, pt_topjet_gen; uhh2::Event::Handle<bool> h_passed_mu_gen_pre, h_passed_ele_gen_pre; uhh2::Event::Handle<bool> h_passed_mu_rec_pre, h_passed_ele_rec_pre; }; PreSelectionModule::PreSelectionModule(Context & ctx){ // 1. setup other modules. CommonModules and the JetCleaner: h_passed_mu_gen_pre = ctx.declare_event_output<bool>("h_passed_mu_gen_pre"); h_passed_ele_gen_pre = ctx.declare_event_output<bool>("h_passed_ele_gen_pre"); h_passed_mu_rec_pre = ctx.declare_event_output<bool>("h_passed_mu_rec_pre"); h_passed_ele_rec_pre = ctx.declare_event_output<bool>("h_passed_ele_rec_pre"); dataset_version_string = ctx.get("dataset_version"); isEle = dataset_version_string.Contains("SingleElectron"); isMu = dataset_version_string.Contains("SingleMuon"); isTTbar = dataset_version_string.Contains("TTbar"); isMC = (ctx.get("dataset_type") == "MC"); if(dataset_version_string.Contains("Mtt0000to0700")) genmttbar_sel.reset(new MttbarGenSelection(0., 700.)); else genmttbar_sel.reset(new uhh2::AndSelection(ctx)); // 2. set up selections if(isTTbar){ const std::string ttbar_gen_label("ttbargen"); ttgenprod.reset(new TTbarGenProducer(ctx, ttbar_gen_label, false)); nmu_gen.reset(new TTbarSemilep(ctx, 0)); nele_gen.reset(new TTbarSemilep(ctx, 1)); pt_topjet_gen.reset(new GenTopJetPtSelection(200)); pt_mu_gen.reset(new GenLeptonPtSelection(ctx, 0, 45)); pt_ele_gen.reset(new GenLeptonPtSelection(ctx, 1, 45)); } met_sel.reset(new METSelection(30, -1)); njet_sel.reset(new NJetSelection(1, -1, JetId(PtEtaCut(20, 2.4)))); nmu_sel.reset(new NMuonSelection(1, -1, MuonId(PtEtaCut(45, 2.4)))); nele_sel.reset(new NElectronSelection(1, -1, ElectronId(PtEtaCut(45, 2.4)))); } bool PreSelectionModule::process(Event & event) { // 1. run all modules other modules. passed_mu_gen = false; passed_ele_gen = false; passed_mu_rec = false; passed_ele_rec = false; passed_nmu_gen = false; passed_nele_gen = false; passed_mu_pt_gen = false; passed_ele_pt_gen = false; passed_topjet_pt_gen = false; passed_njet_rec = false; passed_nmu_rec = false; passed_nele_rec = false; passed_met_rec = false; if(isTTbar){ ttgenprod->process(event); if(!genmttbar_sel->passes(event)) return false; passed_nmu_gen = nmu_gen->passes(event); passed_nele_gen = nele_gen->passes(event); passed_mu_pt_gen = pt_mu_gen->passes(event); passed_ele_pt_gen = pt_ele_gen->passes(event); passed_topjet_pt_gen = pt_topjet_gen->passes(event); passed_mu_gen = (passed_nmu_gen && passed_mu_pt_gen && passed_topjet_pt_gen); passed_ele_gen = (passed_nele_gen && passed_ele_pt_gen && passed_topjet_pt_gen); } passed_njet_rec = njet_sel->passes(event); if(isMu || isMC) passed_nmu_rec = nmu_sel->passes(event); if(isEle || isMC) passed_nele_rec = nele_sel->passes(event); passed_met_rec = met_sel->passes(event); passed_mu_rec = (isMu || isMC) && passed_njet_rec && passed_nmu_rec && passed_met_rec; passed_ele_rec = (isEle || isMC) && passed_njet_rec && passed_nele_rec && passed_met_rec; if(!passed_mu_rec && !passed_ele_rec && !passed_mu_gen && !passed_ele_gen) return false; // 3. decide whether or not to keep the current event in the output: event.set(h_passed_mu_rec_pre, passed_mu_rec); event.set(h_passed_ele_rec_pre, passed_ele_rec); event.set(h_passed_mu_gen_pre, passed_mu_gen); event.set(h_passed_ele_gen_pre, passed_ele_gen); return true; } // as we want to run the ExampleCycleNew directly with AnalysisModuleRunner, // make sure the TopSubstructureModule is found by class name. This is ensured by this macro: UHH2_REGISTER_ANALYSIS_MODULE(PreSelectionModule) }
[ "jan.skottke@desy.de" ]
jan.skottke@desy.de
2571d25c396e09995ea2d56673b642ea6db34b2b
5a60d60fca2c2b8b44d602aca7016afb625bc628
/aws-cpp-sdk-appflow/include/aws/appflow/model/CreateFlowRequest.h
a193369868df38751ce043ed00f72a34914df78c
[ "Apache-2.0", "MIT", "JSON" ]
permissive
yuatpocketgems/aws-sdk-cpp
afaa0bb91b75082b63236cfc0126225c12771ed0
a0dcbc69c6000577ff0e8171de998ccdc2159c88
refs/heads/master
2023-01-23T10:03:50.077672
2023-01-04T22:42:53
2023-01-04T22:42:53
134,497,260
0
1
null
2018-05-23T01:47:14
2018-05-23T01:47:14
null
UTF-8
C++
false
false
21,339
h
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/appflow/Appflow_EXPORTS.h> #include <aws/appflow/AppflowRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/appflow/model/TriggerConfig.h> #include <aws/appflow/model/SourceFlowConfig.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <aws/appflow/model/MetadataCatalogConfig.h> #include <aws/appflow/model/DestinationFlowConfig.h> #include <aws/appflow/model/Task.h> #include <utility> namespace Aws { namespace Appflow { namespace Model { /** */ class CreateFlowRequest : public AppflowRequest { public: AWS_APPFLOW_API CreateFlowRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateFlow"; } AWS_APPFLOW_API Aws::String SerializePayload() const override; /** * <p> The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only. </p> */ inline const Aws::String& GetFlowName() const{ return m_flowName; } /** * <p> The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only. </p> */ inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; } /** * <p> The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only. </p> */ inline void SetFlowName(const Aws::String& value) { m_flowNameHasBeenSet = true; m_flowName = value; } /** * <p> The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only. </p> */ inline void SetFlowName(Aws::String&& value) { m_flowNameHasBeenSet = true; m_flowName = std::move(value); } /** * <p> The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only. </p> */ inline void SetFlowName(const char* value) { m_flowNameHasBeenSet = true; m_flowName.assign(value); } /** * <p> The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only. </p> */ inline CreateFlowRequest& WithFlowName(const Aws::String& value) { SetFlowName(value); return *this;} /** * <p> The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only. </p> */ inline CreateFlowRequest& WithFlowName(Aws::String&& value) { SetFlowName(std::move(value)); return *this;} /** * <p> The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only. </p> */ inline CreateFlowRequest& WithFlowName(const char* value) { SetFlowName(value); return *this;} /** * <p> A description of the flow you want to create. </p> */ inline const Aws::String& GetDescription() const{ return m_description; } /** * <p> A description of the flow you want to create. </p> */ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** * <p> A description of the flow you want to create. </p> */ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** * <p> A description of the flow you want to create. </p> */ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** * <p> A description of the flow you want to create. </p> */ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** * <p> A description of the flow you want to create. </p> */ inline CreateFlowRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** * <p> A description of the flow you want to create. </p> */ inline CreateFlowRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** * <p> A description of the flow you want to create. </p> */ inline CreateFlowRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** * <p> The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you * provide for encryption. This is required if you do not want to use the Amazon * AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses * the Amazon AppFlow-managed KMS key. </p> */ inline const Aws::String& GetKmsArn() const{ return m_kmsArn; } /** * <p> The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you * provide for encryption. This is required if you do not want to use the Amazon * AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses * the Amazon AppFlow-managed KMS key. </p> */ inline bool KmsArnHasBeenSet() const { return m_kmsArnHasBeenSet; } /** * <p> The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you * provide for encryption. This is required if you do not want to use the Amazon * AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses * the Amazon AppFlow-managed KMS key. </p> */ inline void SetKmsArn(const Aws::String& value) { m_kmsArnHasBeenSet = true; m_kmsArn = value; } /** * <p> The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you * provide for encryption. This is required if you do not want to use the Amazon * AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses * the Amazon AppFlow-managed KMS key. </p> */ inline void SetKmsArn(Aws::String&& value) { m_kmsArnHasBeenSet = true; m_kmsArn = std::move(value); } /** * <p> The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you * provide for encryption. This is required if you do not want to use the Amazon * AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses * the Amazon AppFlow-managed KMS key. </p> */ inline void SetKmsArn(const char* value) { m_kmsArnHasBeenSet = true; m_kmsArn.assign(value); } /** * <p> The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you * provide for encryption. This is required if you do not want to use the Amazon * AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses * the Amazon AppFlow-managed KMS key. </p> */ inline CreateFlowRequest& WithKmsArn(const Aws::String& value) { SetKmsArn(value); return *this;} /** * <p> The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you * provide for encryption. This is required if you do not want to use the Amazon * AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses * the Amazon AppFlow-managed KMS key. </p> */ inline CreateFlowRequest& WithKmsArn(Aws::String&& value) { SetKmsArn(std::move(value)); return *this;} /** * <p> The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you * provide for encryption. This is required if you do not want to use the Amazon * AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses * the Amazon AppFlow-managed KMS key. </p> */ inline CreateFlowRequest& WithKmsArn(const char* value) { SetKmsArn(value); return *this;} /** * <p> The trigger settings that determine how and when the flow runs. </p> */ inline const TriggerConfig& GetTriggerConfig() const{ return m_triggerConfig; } /** * <p> The trigger settings that determine how and when the flow runs. </p> */ inline bool TriggerConfigHasBeenSet() const { return m_triggerConfigHasBeenSet; } /** * <p> The trigger settings that determine how and when the flow runs. </p> */ inline void SetTriggerConfig(const TriggerConfig& value) { m_triggerConfigHasBeenSet = true; m_triggerConfig = value; } /** * <p> The trigger settings that determine how and when the flow runs. </p> */ inline void SetTriggerConfig(TriggerConfig&& value) { m_triggerConfigHasBeenSet = true; m_triggerConfig = std::move(value); } /** * <p> The trigger settings that determine how and when the flow runs. </p> */ inline CreateFlowRequest& WithTriggerConfig(const TriggerConfig& value) { SetTriggerConfig(value); return *this;} /** * <p> The trigger settings that determine how and when the flow runs. </p> */ inline CreateFlowRequest& WithTriggerConfig(TriggerConfig&& value) { SetTriggerConfig(std::move(value)); return *this;} /** * <p> The configuration that controls how Amazon AppFlow retrieves data from the * source connector. </p> */ inline const SourceFlowConfig& GetSourceFlowConfig() const{ return m_sourceFlowConfig; } /** * <p> The configuration that controls how Amazon AppFlow retrieves data from the * source connector. </p> */ inline bool SourceFlowConfigHasBeenSet() const { return m_sourceFlowConfigHasBeenSet; } /** * <p> The configuration that controls how Amazon AppFlow retrieves data from the * source connector. </p> */ inline void SetSourceFlowConfig(const SourceFlowConfig& value) { m_sourceFlowConfigHasBeenSet = true; m_sourceFlowConfig = value; } /** * <p> The configuration that controls how Amazon AppFlow retrieves data from the * source connector. </p> */ inline void SetSourceFlowConfig(SourceFlowConfig&& value) { m_sourceFlowConfigHasBeenSet = true; m_sourceFlowConfig = std::move(value); } /** * <p> The configuration that controls how Amazon AppFlow retrieves data from the * source connector. </p> */ inline CreateFlowRequest& WithSourceFlowConfig(const SourceFlowConfig& value) { SetSourceFlowConfig(value); return *this;} /** * <p> The configuration that controls how Amazon AppFlow retrieves data from the * source connector. </p> */ inline CreateFlowRequest& WithSourceFlowConfig(SourceFlowConfig&& value) { SetSourceFlowConfig(std::move(value)); return *this;} /** * <p> The configuration that controls how Amazon AppFlow places data in the * destination connector. </p> */ inline const Aws::Vector<DestinationFlowConfig>& GetDestinationFlowConfigList() const{ return m_destinationFlowConfigList; } /** * <p> The configuration that controls how Amazon AppFlow places data in the * destination connector. </p> */ inline bool DestinationFlowConfigListHasBeenSet() const { return m_destinationFlowConfigListHasBeenSet; } /** * <p> The configuration that controls how Amazon AppFlow places data in the * destination connector. </p> */ inline void SetDestinationFlowConfigList(const Aws::Vector<DestinationFlowConfig>& value) { m_destinationFlowConfigListHasBeenSet = true; m_destinationFlowConfigList = value; } /** * <p> The configuration that controls how Amazon AppFlow places data in the * destination connector. </p> */ inline void SetDestinationFlowConfigList(Aws::Vector<DestinationFlowConfig>&& value) { m_destinationFlowConfigListHasBeenSet = true; m_destinationFlowConfigList = std::move(value); } /** * <p> The configuration that controls how Amazon AppFlow places data in the * destination connector. </p> */ inline CreateFlowRequest& WithDestinationFlowConfigList(const Aws::Vector<DestinationFlowConfig>& value) { SetDestinationFlowConfigList(value); return *this;} /** * <p> The configuration that controls how Amazon AppFlow places data in the * destination connector. </p> */ inline CreateFlowRequest& WithDestinationFlowConfigList(Aws::Vector<DestinationFlowConfig>&& value) { SetDestinationFlowConfigList(std::move(value)); return *this;} /** * <p> The configuration that controls how Amazon AppFlow places data in the * destination connector. </p> */ inline CreateFlowRequest& AddDestinationFlowConfigList(const DestinationFlowConfig& value) { m_destinationFlowConfigListHasBeenSet = true; m_destinationFlowConfigList.push_back(value); return *this; } /** * <p> The configuration that controls how Amazon AppFlow places data in the * destination connector. </p> */ inline CreateFlowRequest& AddDestinationFlowConfigList(DestinationFlowConfig&& value) { m_destinationFlowConfigListHasBeenSet = true; m_destinationFlowConfigList.push_back(std::move(value)); return *this; } /** * <p> A list of tasks that Amazon AppFlow performs while transferring the data in * the flow run. </p> */ inline const Aws::Vector<Task>& GetTasks() const{ return m_tasks; } /** * <p> A list of tasks that Amazon AppFlow performs while transferring the data in * the flow run. </p> */ inline bool TasksHasBeenSet() const { return m_tasksHasBeenSet; } /** * <p> A list of tasks that Amazon AppFlow performs while transferring the data in * the flow run. </p> */ inline void SetTasks(const Aws::Vector<Task>& value) { m_tasksHasBeenSet = true; m_tasks = value; } /** * <p> A list of tasks that Amazon AppFlow performs while transferring the data in * the flow run. </p> */ inline void SetTasks(Aws::Vector<Task>&& value) { m_tasksHasBeenSet = true; m_tasks = std::move(value); } /** * <p> A list of tasks that Amazon AppFlow performs while transferring the data in * the flow run. </p> */ inline CreateFlowRequest& WithTasks(const Aws::Vector<Task>& value) { SetTasks(value); return *this;} /** * <p> A list of tasks that Amazon AppFlow performs while transferring the data in * the flow run. </p> */ inline CreateFlowRequest& WithTasks(Aws::Vector<Task>&& value) { SetTasks(std::move(value)); return *this;} /** * <p> A list of tasks that Amazon AppFlow performs while transferring the data in * the flow run. </p> */ inline CreateFlowRequest& AddTasks(const Task& value) { m_tasksHasBeenSet = true; m_tasks.push_back(value); return *this; } /** * <p> A list of tasks that Amazon AppFlow performs while transferring the data in * the flow run. </p> */ inline CreateFlowRequest& AddTasks(Task&& value) { m_tasksHasBeenSet = true; m_tasks.push_back(std::move(value)); return *this; } /** * <p> The tags used to organize, track, or control access for your flow. </p> */ inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; } /** * <p> The tags used to organize, track, or control access for your flow. </p> */ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** * <p> The tags used to organize, track, or control access for your flow. </p> */ inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; } /** * <p> The tags used to organize, track, or control access for your flow. </p> */ inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** * <p> The tags used to organize, track, or control access for your flow. </p> */ inline CreateFlowRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;} /** * <p> The tags used to organize, track, or control access for your flow. </p> */ inline CreateFlowRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;} /** * <p> The tags used to organize, track, or control access for your flow. </p> */ inline CreateFlowRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** * <p> The tags used to organize, track, or control access for your flow. </p> */ inline CreateFlowRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** * <p> The tags used to organize, track, or control access for your flow. </p> */ inline CreateFlowRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** * <p> The tags used to organize, track, or control access for your flow. </p> */ inline CreateFlowRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** * <p> The tags used to organize, track, or control access for your flow. </p> */ inline CreateFlowRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** * <p> The tags used to organize, track, or control access for your flow. </p> */ inline CreateFlowRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** * <p> The tags used to organize, track, or control access for your flow. </p> */ inline CreateFlowRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** * <p>Specifies the configuration that Amazon AppFlow uses when it catalogs the * data that's transferred by the associated flow. When Amazon AppFlow catalogs the * data from a flow, it stores metadata in a data catalog.</p> */ inline const MetadataCatalogConfig& GetMetadataCatalogConfig() const{ return m_metadataCatalogConfig; } /** * <p>Specifies the configuration that Amazon AppFlow uses when it catalogs the * data that's transferred by the associated flow. When Amazon AppFlow catalogs the * data from a flow, it stores metadata in a data catalog.</p> */ inline bool MetadataCatalogConfigHasBeenSet() const { return m_metadataCatalogConfigHasBeenSet; } /** * <p>Specifies the configuration that Amazon AppFlow uses when it catalogs the * data that's transferred by the associated flow. When Amazon AppFlow catalogs the * data from a flow, it stores metadata in a data catalog.</p> */ inline void SetMetadataCatalogConfig(const MetadataCatalogConfig& value) { m_metadataCatalogConfigHasBeenSet = true; m_metadataCatalogConfig = value; } /** * <p>Specifies the configuration that Amazon AppFlow uses when it catalogs the * data that's transferred by the associated flow. When Amazon AppFlow catalogs the * data from a flow, it stores metadata in a data catalog.</p> */ inline void SetMetadataCatalogConfig(MetadataCatalogConfig&& value) { m_metadataCatalogConfigHasBeenSet = true; m_metadataCatalogConfig = std::move(value); } /** * <p>Specifies the configuration that Amazon AppFlow uses when it catalogs the * data that's transferred by the associated flow. When Amazon AppFlow catalogs the * data from a flow, it stores metadata in a data catalog.</p> */ inline CreateFlowRequest& WithMetadataCatalogConfig(const MetadataCatalogConfig& value) { SetMetadataCatalogConfig(value); return *this;} /** * <p>Specifies the configuration that Amazon AppFlow uses when it catalogs the * data that's transferred by the associated flow. When Amazon AppFlow catalogs the * data from a flow, it stores metadata in a data catalog.</p> */ inline CreateFlowRequest& WithMetadataCatalogConfig(MetadataCatalogConfig&& value) { SetMetadataCatalogConfig(std::move(value)); return *this;} private: Aws::String m_flowName; bool m_flowNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_kmsArn; bool m_kmsArnHasBeenSet = false; TriggerConfig m_triggerConfig; bool m_triggerConfigHasBeenSet = false; SourceFlowConfig m_sourceFlowConfig; bool m_sourceFlowConfigHasBeenSet = false; Aws::Vector<DestinationFlowConfig> m_destinationFlowConfigList; bool m_destinationFlowConfigListHasBeenSet = false; Aws::Vector<Task> m_tasks; bool m_tasksHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_tags; bool m_tagsHasBeenSet = false; MetadataCatalogConfig m_metadataCatalogConfig; bool m_metadataCatalogConfigHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws
[ "aws-sdk-cpp-automation@github.com" ]
aws-sdk-cpp-automation@github.com
b5b5135b0b9af9e8fc94dfe481f898e9ed16cbd4
f645f60f5a2f2791c951cad855cf4be5aa0d8458
/Matlab/B3/DAScompound64.cpp
dc9ae376b7eb46622f6bb0d71e5a4e7901af47da
[ "MIT" ]
permissive
onealtom/PYNQ-Beamformer
ada0ee8bc2f703821c2fadc53b1191bc4f3a1266
7449350a981483491df70f7c429c93502b09810c
refs/heads/main
2023-07-13T12:00:22.033641
2021-08-09T15:20:55
2021-08-09T15:20:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,759
cpp
/* include librarys */ //#include <math.h> #include <stdlib.h> #include "mex.h" // #include "ap_int.h" // #include "ap_fixed.h" #define Nt 2560 #define N 253 #define M 390 #define Nf 21 #define cs 1540 #define fs 31250000 #define H 390 #define W 23 // const float alpha[21] = { -0.17453292, // -0.15707964, // -0.13962634, // -0.12217305, // -0.10471976, // -0.087266460, // -0.069813170, // -0.052359879, // -0.034906585, // -0.017453292, // 0, // 0.017453292, // 0.034906585, // 0.052359879, // 0.069813170, // 0.087266460, // 0.10471976, // 0.12217305, // 0.13962634, // 0.15707964, // 0.17453292 }; // // const float sa[21] = { -0.17364818, // -0.15643446, // -0.1391731, // -0.1218693, // -0.1045285, // -0.08715574, // -0.06975647, // -0.05233596, // -0.03489950, // -0.01745241, // 0, // 0.01745241, // 0.03489950, // 0.05233596, // 0.06975647, // 0.08715574, // 0.10452846, // 0.12186934, // 0.13917311, // 0.15643446, // 0.17364818 }; // // const float ca[21] = { 0.98480773, // 0.98768836, // 0.99026805, // 0.99254614, // 0.99452192, // 0.99619472, // 0.99756408, // 0.99862951, // 0.99939084, // 0.99984771, // 1, // 0.99984771, // 0.99939084, // 0.99862951, // 0.99756408, // 0.99619472, // 0.99452192, // 0.99254614, // 0.99026805, // 0.98768836, // 0.98480773 }; short sqrt(int in) { int op, one, res; // int res; int i, j; op = in; res = 0; one = 4194304; sqrt1: for (i = 0; i < 12; ++i) { if (one > op) one = one >> 2; else continue; } sqrt2: for (j = 0; j < 12; ++j) { if (one != 0) { if (op >= res + one) { op = op - (res + one); res = res + 2*one; res = res >> 1; one = one >> 2; } else { res = res >> 1; one = one >> 2; } } else continue; } return (short)res; } void computeDelay(short xele, short *x, short *y, int R, short *out) { // static short dist; int sq; int i; delay_col: for (i = 0; i < N; ++i) { // #pragma HLS pipeline II=1 sq = (x[i] - xele)*(x[i] - xele) + y[R] * y[R]; out[i] = sqrt(sq); } } void computeAcc(short *pt, short *y, short *Delay, int R, int *acc_out) { short delay; int i; rf_row: for (i = 0; i < N; ++i) { // #pragma HLS pipeline II=2 delay = (Delay[i] + y[R]); if (delay >= 0 && delay <= Nt-1) acc_out[i] = pt[delay]; else acc_out[i] = 0; } } void DAScompound64(short *pt, short *xele, short *x, short *y, int *rf) { // #pragma HLS interface s_axilite port=pt bundle=DIn // #pragma HLS interface s_axilite port=xele bundle=Xe // #pragma HLS interface s_axilite port=x bundle=X // #pragma HLS interface s_axilite port=y bundle=Y // #pragma HLS interface axis port=rf name=M_AXIS_DOut // #pragma HLS interface s_axilite register port=return short *Delay = (short *)malloc(sizeof(short)*N); int *acc = (int *)malloc(sizeof(int)*N); int k, R; row_fill: for (R = 0; R < M; ++R) { // #pragma HLS loop_flatten off computeDelay(xele[0], x, y, R, Delay); computeAcc(pt, y, Delay, R, acc); rf_out_col: for (k = 0; k < N; ++k) { rf[R + k*M] = acc[k]; } } free(Delay); free(acc); } /* [rf] = DAScompound64(short pt, float xele, float x, float y, char Num) */ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray*prhs[]) { /* define the hyper-parameters */ // int N = 253; // int M = 390; /* input setting */ short *pt; int *rf; short *x, *y, *xele; /* check for proper number of arguments */ if (nrhs != 4) { mexErrMsgIdAndTxt("MATLAB:DASBF:invalidNumInputs", "Four input arguments required."); } else if (nlhs > 1) { mexErrMsgIdAndTxt("MATLAB:DASBF:maxlhs", "Too many output arguments."); } /* create matrices for the return argument */ plhs[0] = mxCreateNumericMatrix(M, N, mxINT32_CLASS, mxREAL); /* assign pointrs to the input and output parameters */ pt = (short *)mxGetPr(prhs[0]); xele = (short *)mxGetPr(prhs[1]); x = (short *)mxGetPr(prhs[2]); y = (short *)mxGetPr(prhs[3]); rf = (int *)mxGetPr(plhs[0]); /* Do the actual computations in a subroutine */ DAScompound64(pt, xele, x, y, rf); return; }
[ "noreply@github.com" ]
onealtom.noreply@github.com
652aa8fa089e8cb7ecb9de4b14eeae1ae627724d
72d9009d19e92b721d5cc0e8f8045e1145921130
/sirt/inst/testfiles/sirt_rcpp_first_eigenvalue/AFL_sirt_rcpp_first_eigenvalue/sirt_rcpp_first_eigenvalue_DeepState_TestHarness.cpp
624dd6d72af1b3a260ab70e8e407390b350bec13
[]
no_license
akhikolla/TestedPackages-NoIssues
be46c49c0836b3f0cf60e247087089868adf7a62
eb8d498cc132def615c090941bc172e17fdce267
refs/heads/master
2023-03-01T09:10:17.227119
2021-01-25T19:44:44
2021-01-25T19:44:44
332,027,727
1
0
null
null
null
null
UTF-8
C++
false
false
363
cpp
// AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT // sirt_rcpp_first_eigenvalue_DeepState_TestHarness_generation.cpp and sirt_rcpp_first_eigenvalue_DeepState_TestHarness_checks.cpp #include <fstream> #include <ctime> #include <RInside.h> #include <iostream> #include <RcppDeepState.h> #include <qs.h> #include <DeepState.hpp>
[ "akhilakollasrinu424jf@gmail.com" ]
akhilakollasrinu424jf@gmail.com
c0eea5e39c7d169c6b55933711886322061e1e03
f896696c96d4c15b3f8bb037efa6fa92dc41f1ca
/GOMC/serial/PDBSetup.h
d29b60a273092abd3ef4cf815292f78b1321ca2a
[]
no_license
zzzhe1990/Projects
a626de9c2fe3f0c6bf01bec0c244ced54268abaf
cef8c9292e061329057516f40c6b443dd11a8501
refs/heads/master
2021-01-18T15:07:24.970189
2015-10-19T00:53:20
2015-10-19T00:53:20
44,499,832
0
0
null
null
null
null
UTF-8
C++
false
false
3,461
h
#ifndef PDB_SETUP_H #define PDB_SETUP_H #include <vector> #include <map> //for function lookup table. #include "InputAbstracts.h" //For FWReadableBase #include "../lib/BasicTypes.h" //For uint #include "EnsemblePreprocessor.h" //For BOX_TOTAL, etc. #include "PDBConst.h" //For fields positions, etc. #include "XYZArray.h" //For box dimensions. namespace config_setup { class RestartSettings; } class FWReadableBase; namespace pdb_setup { struct Remarks : FWReadableBase { bool restart, reached; ulong restartStep; void SetRestart(config_setup::RestartSettings const& r); void Read(FixedWidthReader & pdb); private: void HandleRemark(const uint num, std::string const& varName, const ulong step); void CheckStep(std::string const& varName, const ulong readStep); void CheckGOMC(std::string const& varName); }; struct Cryst1 : FWReadableBase { //box dimensions uint currBox; bool hasVolume; XYZArray axis; Cryst1(void) : currBox(0), hasVolume(false), axis(BOX_TOTAL) {} void SetBox(const uint b) { currBox = b; } void Read(FixedWidthReader & pdb) { XYZ temp; using namespace pdb_entry::cryst1::field; hasVolume = true; pdb.Get(temp.x, x::POS) .Get(temp.y, y::POS) .Get(temp.z, z::POS); axis.Set(currBox, temp); } }; struct Atoms : FWReadableBase { //member data std::vector<char> chainLetter; //chain ids of each molecule std::vector<double> x, y, z; //coordinates of each particle std::vector<uint> box; std::vector<std::string> atomAliases, resNamesFull, resNames, resKindNames; std::vector<uint> startIdxRes, resKinds; bool restart, firstResInFile; //CurrRes is used to store res vals, currBox is used to //determine box either via the file (new) or the occupancy //(restart), count allows overwriting of coordinates during //second box read (restart only) uint currBox, count, currRes; //Set the current residue to something other than 1 Atoms(void) : restart(false), currBox(0), count(0), currRes(10) {} void SetRestart(config_setup::RestartSettings const& r); void SetBox(const uint b) { currBox = b; firstResInFile = true; //restart count if new system, second box. count = ((b == 1 && restart) ? 0 : count); } void Assign(std::string const& atomName, std::string const& resName, const uint resNum, const char l_chain, const double l_x, const double l_y, const double l_z, const double l_occ); void Read(FixedWidthReader & file); }; } struct PDBSetup { pdb_setup::Atoms atoms; pdb_setup::Cryst1 cryst; pdb_setup::Remarks remarks; PDBSetup(void) : dataKinds(SetReadFunctions()) {} void Init(config_setup::RestartSettings const& restart, std::string const*const name); private: //Map variable names to functions std::map<std::string, FWReadableBase *> SetReadFunctions(void) { std::map<std::string, FWReadableBase *> funct; funct[pdb_entry::label::REMARK] = &remarks; funct[pdb_entry::label::CRYST1] = &cryst; funct[pdb_entry::label::ATOM] = &atoms; return funct; } const std::map<std::string, FWReadableBase *> dataKinds; static const std::string pdbAlias[]; }; #endif /*PDB_SETUP_H*/
[ "zzzhe1990@gmail.com" ]
zzzhe1990@gmail.com
68e546ff362ef8615a194f0f6c85d27428a079d6
9ca718b78623c70d553b9fbd033b6faa6b0e959a
/sketch_M5SSMCP9600OCT22_01.ino
c4092000baef92e2b77932348be6dc89a70db3e5
[]
no_license
chibaf/logger_with_id_20201022
b3faabce2964b38b3812c9ae933575d3ddb690fc
aa48b3aaa8b5b701fe38ad350046db8cc2c83bf4
refs/heads/main
2023-01-02T14:50:17.740899
2020-10-23T19:27:32
2020-10-23T19:27:32
306,118,268
0
0
null
null
null
null
UTF-8
C++
false
false
12,903
ino
#include "Seeed_MCP9600.h" #include "Seeed_MCP9601.h" #include <M5Stack.h> //----------------------------------------------------------- //ハード概要 //----------------------------------------------------------- //I2Cを2系統使用し、それぞれに5個のMCP9600を接続しています。 //I2CはWireとWire1で定義それぞれのピン配置は //Wire SDA:21pin SCL:22pin //Wire1 SDA:2pin SCL:5pin //SeedStudio製MCP9600ライブラリは内部でWireのみ対応のハードコ //ーディングがされていたためSeeed_MCP9600.hをほぼコピー状態で //Seeed_MCP9601.hとして別途定義し、内部のWire記述をWire1に置換 //したものを用意して2バス構成で使用。 //----------------------------------------------------------- //----------------------------------------------------------- //タイマー割り込みの時間間隔 100ms間隔 //----------------------------------------------------------- //変更不可 //内部時計100ms精度のためのタイマー割り込み間隔を定義したもの //この時間を変更すると時計精度も変化してしまうのでロガー間隔を //変更する場合はloop関数内でtickedが何回来たか判定して //100ms x n時間で処理変更する必要あり //tickedはタイマー割り込みでシステムタイムをインクリメントした //際にtrueにセットされるタイマー発火処理フラグ //----------------------------------------------------------- #define INT_INTERVAL 100000 //Serial Variable char receiveBuffer[128]; int receiveIndex = 0; //Timer Variables volatile long interruptCounter = 0; volatile boolean ticked = false; hw_timer_t * timer = NULL; portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED; //Function flag bool FG_SERIALOUT = true; bool FG_SDWRITE = false; //DayOfTime Variables struct LOG_TIME { int t_hour; int t_min; int t_sec; int t_mil; }; //M5Stack Display Variable TFT_eSprite img = TFT_eSprite(&M5.Lcd); MCP9600 sensor6 = MCP9600(0x60); MCP9600 sensor7 = MCP9600(0x61); MCP9600 sensor8 = MCP9600(0x63); MCP9600 sensor9 = MCP9600(0x65); MCP9600 sensor10 = MCP9600(0x67); MCP9601 sensor1 = MCP9601(0x60); MCP9601 sensor2 = MCP9601(0x61); MCP9601 sensor3 = MCP9601(0x63); MCP9601 sensor4 = MCP9601(0x65); MCP9601 sensor5 = MCP9601(0x67); // 現在時刻をセットする void setLoggerTime (LOG_TIME vTime) { interruptCounter = vTime.t_hour * 10 * 60 * 60 + vTime.t_min * 10 * 60 + vTime.t_sec * 10 + vTime.t_mil; } // 現在時刻を返す関数 LOG_TIME getLoggerTime() { LOG_TIME result; result.t_hour = interruptCounter / (10 * 60 * 60); result.t_min = (interruptCounter % (10 * 60 * 60)) / (10 * 60); result.t_sec = ((interruptCounter % (10 * 60 * 60)) % (10 * 60)) / 10; result.t_mil = ((interruptCounter % (10 * 60 * 60)) % (10 * 60)) % 10; return result; } // タイマー発火時に処理する関数 ※短めの処理に! void IRAM_ATTR onTimer() { /* this function must be placed in IRAM */ portENTER_CRITICAL_ISR(&timerMux); interruptCounter++; ticked = true; portEXIT_CRITICAL_ISR(&timerMux); } err_t sensor_basic_config(MCP9600 vsensor) { err_t ret = NO_ERROR; CHECK_RESULT(ret, vsensor.set_filt_coefficients(FILT_OFF)); CHECK_RESULT(ret, vsensor.set_cold_junc_resolution(COLD_JUNC_RESOLUTION_0_25)); CHECK_RESULT(ret, vsensor.set_ADC_meas_resolution(ADC_16BIT_RESOLUTION)); CHECK_RESULT(ret, vsensor.set_burst_mode_samp(BURST_1_SAMPLE)); //CHECK_RESULT(ret,vsensor.set_sensor_mode(BURST_MODE)); CHECK_RESULT(ret, vsensor.set_sensor_mode(NORMAL_OPERATION)); return ret; } err_t sensor_basic_config1(MCP9601 vsensor) { err_t ret = NO_ERROR; CHECK_RESULT(ret, vsensor.set_filt_coefficients(FILT_OFF)); CHECK_RESULT(ret, vsensor.set_cold_junc_resolution(COLD_JUNC_RESOLUTION_0_25)); CHECK_RESULT(ret, vsensor.set_ADC_meas_resolution(ADC_16BIT_RESOLUTION)); CHECK_RESULT(ret, vsensor.set_burst_mode_samp(BURST_1_SAMPLE)); //CHECK_RESULT(ret,vsensor.set_sensor_mode(BURST_MODE)); CHECK_RESULT(ret, vsensor.set_sensor_mode(NORMAL_OPERATION)); return ret; } err_t get_temperature(float *value, MCP9600 vsensor) { err_t ret = NO_ERROR; float hot_junc = 0; float junc_delta = 0; float cold_junc = 0; CHECK_RESULT(ret, vsensor.read_hot_junc(&hot_junc)); //CHECK_RESULT(ret, vsensor.read_junc_temp_delta(&junc_delta)); //CHECK_RESULT(ret, vsensor.read_cold_junc(&cold_junc)); *value = hot_junc; return ret; } err_t get_temperature1(float *value, MCP9601 vsensor) { err_t ret = NO_ERROR; float hot_junc = 0; float junc_delta = 0; float cold_junc = 0; CHECK_RESULT(ret, vsensor.read_hot_junc(&hot_junc)); //CHECK_RESULT(ret, vsensor.read_junc_temp_delta(&junc_delta)); //CHECK_RESULT(ret, vsensor.read_cold_junc(&cold_junc)); *value = hot_junc; return ret; } void setup() { M5.begin(); M5.Lcd.clear(BLACK); M5.Lcd.setTextColor(WHITE); M5.Lcd.setTextSize(2); M5.Lcd.setCursor(3, 3); M5.Lcd.println("Init TCAMPs"); Wire.begin(21, 22); Wire.setClock(50000); Wire1.begin(2, 5); Wire1.setClock(50000); //各MCP9600をイニシャライズ if (sensor1.init(THER_TYPE_K)) { M5.Lcd.println("Sensor1 Init failed"); //while (1); } if (sensor2.init(THER_TYPE_K)) { M5.Lcd.println("Sensor2 Init failed"); //while (1); } if (sensor3.init(THER_TYPE_K)) { M5.Lcd.println("Sensor3 Init failed"); //while (1); } if (sensor4.init(THER_TYPE_K)) { M5.Lcd.println("Sensor4 Init failed"); //while (1); } if (sensor5.init(THER_TYPE_K)) { M5.Lcd.println("Sensor5 Init failed"); //while (1); } if (sensor6.init(THER_TYPE_K)) { M5.Lcd.println("Sensor6 Init failed"); //while (1); } if (sensor7.init(THER_TYPE_K)) { M5.Lcd.println("Sensor7 Init failed"); //while (1); } if (sensor8.init(THER_TYPE_K)) { M5.Lcd.println("Sensor8 Init failed"); //while (1); } if (sensor9.init(THER_TYPE_K)) { M5.Lcd.println("Sensor9 Init failed"); //while (1); } if (sensor10.init(THER_TYPE_K)) { M5.Lcd.println("Sensor10 Init failed"); //while (1); } sensor_basic_config1(sensor1); sensor_basic_config1(sensor2); sensor_basic_config1(sensor3); sensor_basic_config1(sensor4); sensor_basic_config1(sensor5); sensor_basic_config(sensor6); sensor_basic_config(sensor7); sensor_basic_config(sensor8); sensor_basic_config(sensor9); sensor_basic_config(sensor10); M5.Lcd.clear(BLACK); M5.Lcd.setTextColor(WHITE); M5.Lcd.setTextSize(2); M5.Lcd.setCursor(0, 0); Serial.begin(115200); Serial.println("Init Serial Terminal."); //System Time Set LOG_TIME systemtime; systemtime.t_hour = 0; systemtime.t_min = 0; systemtime.t_sec = 0; systemtime.t_mil = 0; setLoggerTime(systemtime); //Timer Initialize timer = timerBegin(0, 80, true); //内部クロックの分周 timerAttachInterrupt(timer, &onTimer, true); //タイマー発火時の関数関連付け timerAlarmWrite(timer, INT_INTERVAL , true); //100ms間隔でタイマー発火のプロパティセット timerAlarmEnable(timer); //タイマースタート //この後表示し続ける固定部分の表示 img.setColorDepth(8); img.createSprite(250, 26); img.fillSprite(0xFA00); img.setTextColor(TFT_BLACK); img.setTextFont(4); img.drawString("TC Temp 01", 5, 3); img.pushSprite(35, 0); img.deleteSprite(); img.createSprite(250, 26); img.fillSprite(0xFA00); img.setTextColor(TFT_BLACK); img.setTextFont(4); img.drawString("System Status", 48, 3); img.pushSprite(35, 149); img.deleteSprite(); } //メインループ void loop() { //シリアル通信の処理 if (processSerial()) { Serial.println("OK"); interruptCounter = 0; //シリアル処理で肯定が帰ったら内部時計をリセット(仮の実装) } //tickedフラグが立っていれば10msec経過しているので温度取得、表示、シリアル処理を行う if (ticked) { float temp1 = 0; float temp2 = 0; float temp3 = 0; float temp4 = 0; float temp5 = 0; float temp6 = 0; float temp7 = 0; float temp8 = 0; float temp9 = 0; float temp10 = 0; //温度取得 2チャンネルあるI2Cバスを交互に使って負荷を落とす // commented out // not on 20201022 get_temperature1(&temp1, sensor1); get_temperature(&temp6, sensor6); get_temperature1(&temp2, sensor2); get_temperature(&temp7, sensor7); get_temperature1(&temp3, sensor3); get_temperature(&temp8, sensor8); get_temperature1(&temp4, sensor4); get_temperature(&temp9, sensor9); get_temperature1(&temp5, sensor5); get_temperature(&temp10, sensor10); // temp1=random(20,25); // random temp 20~25 // commented out 20200001022 // temp2=random(20,25); // temp3=random(20,25); // temp4=random(20,25); // temp5=random(20,25); // temp6=random(20,25); // temp7=random(20,25); // temp8=random(20,25); // temp9=random(20,25); // temp10=random(20,25); //ディスプレイ表示関係 img.createSprite(150, 110); img.fillSprite(TFT_BLACK); img.setTextColor(TFT_RED); img.setTextFont(4); char buf[128]; sprintf(buf, "ch06:%4.1f", temp6); img.drawString(String(buf), 2, 3); sprintf(buf, "ch07:%4.1f", temp7); img.drawString(String(buf), 2, 23); sprintf(buf, "ch08:%4.1f", temp8); img.drawString(String(buf), 2, 43); sprintf(buf, "ch09:%4.1f", temp9); img.drawString(String(buf), 2, 63); sprintf(buf, "ch10:%4.1f", temp10); img.drawString(String(buf), 2, 83); img.drawRoundRect(0, 0, 150, 110, 6, 0xFA00); img.pushSprite(165, 32); img.fillSprite(TFT_BLACK); img.setTextColor(TFT_RED); img.setTextFont(4); sprintf(buf, "ch01:%4.1f", temp1); img.drawString(String(buf), 2, 3); sprintf(buf, "ch02:%4.1f", temp2); img.drawString(String(buf), 2, 23); sprintf(buf, "ch03:%4.1f", temp3); img.drawString(String(buf), 2, 43); sprintf(buf, "ch04:%4.1f", temp4); img.drawString(String(buf), 2, 63); sprintf(buf, "ch05:%4.1f", temp5); img.drawString(String(buf), 2, 83); img.drawRoundRect(0, 0, 150, 110, 6, 0xFA00); img.pushSprite(5, 32); img.deleteSprite(); LOG_TIME nowtime = getLoggerTime(); img.createSprite(310, 60); img.fillSprite(TFT_BLACK); img.setTextColor(TFT_ORANGE); img.setTextFont(4); img.drawRoundRect(0, 0, 310, 60, 6, 0xFA00); sprintf(buf, "CLOCK:%02d:%02d:%02d.%01d" , nowtime.t_hour , nowtime.t_min , nowtime.t_sec , nowtime.t_mil ); img.drawString(String(buf), 2, 3); if (FG_SERIALOUT) { img.setTextColor(TFT_ORANGE); if (nowtime.t_mil % 5 != 0) { img.drawString("SERIAL_OUT", 2, 28); } } else { img.setTextColor(0x2000); img.drawString("SERIAL_OUT", 2, 28); } if (FG_SDWRITE) { img.setTextColor(TFT_ORANGE); } else { img.setTextColor(0x2000); } img.drawString("SD_WRITE", 170, 28); img.pushSprite(5, 180 ); img.deleteSprite(); int logger_id=1; //20201022 added //シリアル出力 // if (FG_SERIALOUT) { commend out sprintf(buf, "%02d,%02d:%02d:%02d.%01d,%4.4f,%4.4f,%4.4f,%4.4f,%4.4f,%4.4f,%4.4f,%4.4f,%4.4f,%4.4f" // 2020001022 modified , logger_id // 20201022 added , nowtime.t_hour , nowtime.t_min , nowtime.t_sec , nowtime.t_mil , temp1 , temp2 , temp3 , temp4 , temp5 , temp6 , temp7 , temp8 , temp9 , temp10 ); Serial.println(buf); // } commend out ticked = false; } } //シリアルターミナル処理 //シリアルの受信バッファにとどいたものを内部バッファに積む処理(max 128byte) //改行コードを受信したらコマンド解釈と実行を行う予定(コマンド処理は未実装) //現状改行コードがきたらtrueを返す boolean processSerial() { char in; boolean recvLine = false; int receivedLength = Serial.available(); if (receivedLength > 0) { for (int i = 0; i < receivedLength; i++) { in = Serial.read(); Serial.print(in); //local echo if (in == '\r') { //command complete receiveIndex = 0; recvLine = true; } else { //command continue receiveBuffer[receiveIndex] = in; receiveIndex++; recvLine = false; if (receiveIndex > 127) { //receive overflow receiveIndex = 0; Serial.println("ERROR"); } } } } return recvLine; }
[ "noreply@github.com" ]
chibaf.noreply@github.com
323c0ed8eee04b6a6dc6fb2354ff86601eced323
e7d7377b40fc431ef2cf8dfa259a611f6acc2c67
/SampleDump/Cpp/SDK/BP_ToolboxWidget_classes.h
fd88983d5dca086a43d0e345948577661af6cbe9
[]
no_license
liner0211/uSDK_Generator
ac90211e005c5f744e4f718cd5c8118aab3f8a18
9ef122944349d2bad7c0abe5b183534f5b189bd7
refs/heads/main
2023-09-02T16:37:22.932365
2021-10-31T17:38:03
2021-10-31T17:38:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
738
h
#pragma once // Name: Mordhau, Version: Patch23 /*!!DEFINE!!*/ /*!!HELPER_DEF!!*/ /*!!HELPER_INC!!*/ #ifdef _MSC_VER #pragma pack(push, 0x01) #endif namespace CG { //--------------------------------------------------------------------------- // Classes //--------------------------------------------------------------------------- // WidgetBlueprintGeneratedClass BP_ToolboxWidget.BP_ToolboxWidget_C // 0x0000 (FullSize[0x0230] - InheritedSize[0x0230]) class UBP_ToolboxWidget_C : public UUserWidget { public: static UClass* StaticClass() { static UClass* ptr = UObject::FindClass("WidgetBlueprintGeneratedClass BP_ToolboxWidget.BP_ToolboxWidget_C"); return ptr; } }; } #ifdef _MSC_VER #pragma pack(pop) #endif
[ "talon_hq@outlook.com" ]
talon_hq@outlook.com
4dc49570deb91785254250e19734bd9ec2522e3c
43eec1fb7119427d9eec22f489980e6cd3020fae
/browser/Browser.h
8f4afb678c5cddf3e873c0e960f85746f830d29e
[]
no_license
aformusatii/MediaHub
1455ad16869755bf96c61deebb21558c5696d72c
6b1004f9d815081f497a1c1ae303147698053daf
refs/heads/master
2016-09-06T15:23:33.309617
2014-12-21T19:38:10
2014-12-21T19:38:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,644
h
#include <gtk/gtk.h> struct MouseCoordinates { int x; int y; bool jump; }; // Browser class class Browser { private: Browser(){ mouseContinuousMove = false; preventDefaultEvents = FALSE; afterInit=NULL; closeWindow=NULL; mouseMove=NULL; mouseButtonPress=NULL; mouseButtonRelease=NULL; keyPress=NULL;keyRelease=NULL; receivedUIEvent=NULL; }; // Private so that it can not be called Browser(Browser const&){ preventDefaultEvents = FALSE; mouseContinuousMove = false; afterInit=NULL; closeWindow=NULL; mouseMove=NULL; mouseButtonPress=NULL; mouseButtonRelease=NULL; keyPress=NULL; keyRelease=NULL; receivedUIEvent=NULL; }; // copy constructor is private bool mouseContinuousMove; gboolean preventDefaultEvents; static Browser* browserInstance; public: static Browser* getInstance(); int initBrowser(int argc, char** argv); void setMouseContinuousMove(bool); bool isMouseContinuousMove(); void setPreventDefaultEvents(bool); gboolean isPreventDefaultEvents(); /* External Event Handlers */ void (*afterInit)(MouseCoordinates); void (*closeWindow)(void); void (*mouseMove)(MouseCoordinates); void (*mouseButtonPress)(int); void (*mouseButtonRelease)(int); void (*keyPress)(int); void (*keyRelease)(int); void (*receivedUIEvent)(char *); };
[ "aformusatii@gmail.com" ]
aformusatii@gmail.com
7273434026a84aee791d716023d0ba90056d96cc
3f488564e71ca332372fb9fbe5ee6071084b8ce2
/src/qt/sendcoinsdialog.cpp
0ef5a0af66d1739f818faed11d90602fb388c4d7
[ "MIT" ]
permissive
efrancswitzerland/efranc
3f5fae53651674ca97d33be9dbf070135cbf1495
78c2fb00b6820ccf00a02bc43167b4871d1a6d1c
refs/heads/master
2021-05-04T12:51:22.184530
2018-02-10T11:03:44
2018-02-10T11:03:44
120,302,341
0
0
null
null
null
null
UTF-8
C++
false
false
18,543
cpp
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "sendcoinsdialog.h" #include "ui_sendcoinsdialog.h" #include "init.h" #include "walletmodel.h" #include "addresstablemodel.h" #include "bitcoinunits.h" #include "addressbookpage.h" #include "optionsmodel.h" #include "sendcoinsentry.h" #include "guiutil.h" #include "askpassphrasedialog.h" #include "coincontrol.h" #include "coincontroldialog.h" #include <QMessageBox> #include <QTextDocument> #include <QScrollBar> #include <QClipboard> SendCoinsDialog::SendCoinsDialog(QWidget *parent) : QDialog(parent), ui(new Ui::SendCoinsDialog), model(0) { ui->setupUi(this); #ifdef Q_OS_MAC // Icons on push buttons are very uncommon on Mac ui->addButton->setIcon(QIcon()); ui->clearButton->setIcon(QIcon()); ui->sendButton->setIcon(QIcon()); #endif #if QT_VERSION >= 0x040700 /* Do not move this to the XML file, Qt before 4.7 will choke on it */ ui->lineEditCoinControlChange->setPlaceholderText(tr("Enter a eFranc address (e.g. Ler4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2)")); #endif addEntry(); connect(ui->addButton, SIGNAL(clicked()), this, SLOT(addEntry())); connect(ui->clearButton, SIGNAL(clicked()), this, SLOT(clear())); // Coin Control ui->lineEditCoinControlChange->setFont(GUIUtil::bitcoinAddressFont()); connect(ui->pushButtonCoinControl, SIGNAL(clicked()), this, SLOT(coinControlButtonClicked())); connect(ui->checkBoxCoinControlChange, SIGNAL(stateChanged(int)), this, SLOT(coinControlChangeChecked(int))); connect(ui->lineEditCoinControlChange, SIGNAL(textEdited(const QString &)), this, SLOT(coinControlChangeEdited(const QString &))); // Coin Control: clipboard actions QAction *clipboardQuantityAction = new QAction(tr("Copy quantity"), this); QAction *clipboardAmountAction = new QAction(tr("Copy amount"), this); QAction *clipboardFeeAction = new QAction(tr("Copy fee"), this); QAction *clipboardAfterFeeAction = new QAction(tr("Copy after fee"), this); QAction *clipboardBytesAction = new QAction(tr("Copy bytes"), this); QAction *clipboardPriorityAction = new QAction(tr("Copy priority"), this); QAction *clipboardLowOutputAction = new QAction(tr("Copy low output"), this); QAction *clipboardChangeAction = new QAction(tr("Copy change"), this); connect(clipboardQuantityAction, SIGNAL(triggered()), this, SLOT(coinControlClipboardQuantity())); connect(clipboardAmountAction, SIGNAL(triggered()), this, SLOT(coinControlClipboardAmount())); connect(clipboardFeeAction, SIGNAL(triggered()), this, SLOT(coinControlClipboardFee())); connect(clipboardAfterFeeAction, SIGNAL(triggered()), this, SLOT(coinControlClipboardAfterFee())); connect(clipboardBytesAction, SIGNAL(triggered()), this, SLOT(coinControlClipboardBytes())); connect(clipboardPriorityAction, SIGNAL(triggered()), this, SLOT(coinControlClipboardPriority())); connect(clipboardLowOutputAction, SIGNAL(triggered()), this, SLOT(coinControlClipboardLowOutput())); connect(clipboardChangeAction, SIGNAL(triggered()), this, SLOT(coinControlClipboardChange())); ui->labelCoinControlQuantity->addAction(clipboardQuantityAction); ui->labelCoinControlAmount->addAction(clipboardAmountAction); ui->labelCoinControlFee->addAction(clipboardFeeAction); ui->labelCoinControlAfterFee->addAction(clipboardAfterFeeAction); ui->labelCoinControlBytes->addAction(clipboardBytesAction); ui->labelCoinControlPriority->addAction(clipboardPriorityAction); ui->labelCoinControlLowOutput->addAction(clipboardLowOutputAction); ui->labelCoinControlChange->addAction(clipboardChangeAction); fNewRecipientAllowed = true; } void SendCoinsDialog::setModel(WalletModel *model) { this->model = model; for(int i = 0; i < ui->entries->count(); ++i) { SendCoinsEntry *entry = qobject_cast<SendCoinsEntry*>(ui->entries->itemAt(i)->widget()); if(entry) { entry->setModel(model); } } if(model && model->getOptionsModel()) { setBalance(model->getBalance(), model->getUnconfirmedBalance(), model->getImmatureBalance()); connect(model, SIGNAL(balanceChanged(qint64, qint64, qint64)), this, SLOT(setBalance(qint64, qint64, qint64))); connect(model->getOptionsModel(), SIGNAL(displayUnitChanged(int)), this, SLOT(updateDisplayUnit())); // Coin Control connect(model->getOptionsModel(), SIGNAL(displayUnitChanged(int)), this, SLOT(coinControlUpdateLabels())); connect(model->getOptionsModel(), SIGNAL(coinControlFeaturesChanged(bool)), this, SLOT(coinControlFeatureChanged(bool))); connect(model->getOptionsModel(), SIGNAL(transactionFeeChanged(qint64)), this, SLOT(coinControlUpdateLabels())); ui->frameCoinControl->setVisible(model->getOptionsModel()->getCoinControlFeatures()); coinControlUpdateLabels(); } } SendCoinsDialog::~SendCoinsDialog() { delete ui; } void SendCoinsDialog::on_sendButton_clicked() { QList<SendCoinsRecipient> recipients; bool valid = true; if(!model) return; for(int i = 0; i < ui->entries->count(); ++i) { SendCoinsEntry *entry = qobject_cast<SendCoinsEntry*>(ui->entries->itemAt(i)->widget()); if(entry) { if(entry->validate()) { recipients.append(entry->getValue()); } else { valid = false; } } } if(!valid || recipients.isEmpty()) { return; } // Format confirmation message QStringList formatted; foreach(const SendCoinsRecipient &rcp, recipients) { #if QT_VERSION < 0x050000 formatted.append(tr("<b>%1</b> to %2 (%3)").arg(BitcoinUnits::formatWithUnit(BitcoinUnits::BTC, rcp.amount), Qt::escape(rcp.label), rcp.address)); #else formatted.append(tr("<b>%1</b> to %2 (%3)").arg(BitcoinUnits::formatWithUnit(BitcoinUnits::BTC, rcp.amount), rcp.label.toHtmlEscaped(), rcp.address)); #endif } fNewRecipientAllowed = false; QMessageBox::StandardButton retval = QMessageBox::question(this, tr("Confirm send coins"), tr("Are you sure you want to send %1?").arg(formatted.join(tr(" and "))), QMessageBox::Yes|QMessageBox::Cancel, QMessageBox::Cancel); if(retval != QMessageBox::Yes) { fNewRecipientAllowed = true; return; } WalletModel::UnlockContext ctx(model->requestUnlock()); if(!ctx.isValid()) { // Unlock wallet was cancelled fNewRecipientAllowed = true; return; } WalletModel::SendCoinsReturn sendstatus; if (!model->getOptionsModel() || !model->getOptionsModel()->getCoinControlFeatures()) sendstatus = model->sendCoins(recipients); else sendstatus = model->sendCoins(recipients, CoinControlDialog::coinControl); switch(sendstatus.status) { case WalletModel::InvalidAddress: QMessageBox::warning(this, tr("Send Coins"), tr("The recipient address is not valid, please recheck."), QMessageBox::Ok, QMessageBox::Ok); break; case WalletModel::InvalidAmount: QMessageBox::warning(this, tr("Send Coins"), tr("The amount to pay must be larger than 0."), QMessageBox::Ok, QMessageBox::Ok); break; case WalletModel::AmountExceedsBalance: QMessageBox::warning(this, tr("Send Coins"), tr("The amount exceeds your balance."), QMessageBox::Ok, QMessageBox::Ok); break; case WalletModel::AmountWithFeeExceedsBalance: QMessageBox::warning(this, tr("Send Coins"), tr("The total exceeds your balance when the %1 transaction fee is included."). arg(BitcoinUnits::formatWithUnit(BitcoinUnits::BTC, sendstatus.fee)), QMessageBox::Ok, QMessageBox::Ok); break; case WalletModel::DuplicateAddress: QMessageBox::warning(this, tr("Send Coins"), tr("Duplicate address found, can only send to each address once per send operation."), QMessageBox::Ok, QMessageBox::Ok); break; case WalletModel::TransactionCreationFailed: QMessageBox::warning(this, tr("Send Coins"), tr("Error: Transaction creation failed!"), QMessageBox::Ok, QMessageBox::Ok); break; case WalletModel::TransactionCommitFailed: QMessageBox::warning(this, tr("Send Coins"), tr("Error: The transaction was rejected. This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here."), QMessageBox::Ok, QMessageBox::Ok); break; case WalletModel::Aborted: // User aborted, nothing to do break; case WalletModel::OK: accept(); CoinControlDialog::coinControl->UnSelectAll(); coinControlUpdateLabels(); break; } fNewRecipientAllowed = true; } void SendCoinsDialog::clear() { // Remove entries until only one left while(ui->entries->count()) { ui->entries->takeAt(0)->widget()->deleteLater(); } addEntry(); updateRemoveEnabled(); ui->sendButton->setDefault(true); } void SendCoinsDialog::reject() { clear(); } void SendCoinsDialog::accept() { clear(); } SendCoinsEntry *SendCoinsDialog::addEntry() { SendCoinsEntry *entry = new SendCoinsEntry(this); entry->setModel(model); ui->entries->addWidget(entry); connect(entry, SIGNAL(removeEntry(SendCoinsEntry*)), this, SLOT(removeEntry(SendCoinsEntry*))); connect(entry, SIGNAL(payAmountChanged()), this, SLOT(coinControlUpdateLabels())); updateRemoveEnabled(); // Focus the field, so that entry can start immediately entry->clear(); entry->setFocus(); ui->scrollAreaWidgetContents->resize(ui->scrollAreaWidgetContents->sizeHint()); qApp->processEvents(); QScrollBar* bar = ui->scrollArea->verticalScrollBar(); if(bar) bar->setSliderPosition(bar->maximum()); return entry; } void SendCoinsDialog::updateRemoveEnabled() { // Remove buttons are enabled as soon as there is more than one send-entry bool enabled = (ui->entries->count() > 1); for(int i = 0; i < ui->entries->count(); ++i) { SendCoinsEntry *entry = qobject_cast<SendCoinsEntry*>(ui->entries->itemAt(i)->widget()); if(entry) { entry->setRemoveEnabled(enabled); } } setupTabChain(0); coinControlUpdateLabels(); } void SendCoinsDialog::removeEntry(SendCoinsEntry* entry) { entry->deleteLater(); updateRemoveEnabled(); } QWidget *SendCoinsDialog::setupTabChain(QWidget *prev) { for(int i = 0; i < ui->entries->count(); ++i) { SendCoinsEntry *entry = qobject_cast<SendCoinsEntry*>(ui->entries->itemAt(i)->widget()); if(entry) { prev = entry->setupTabChain(prev); } } QWidget::setTabOrder(prev, ui->addButton); QWidget::setTabOrder(ui->addButton, ui->sendButton); return ui->sendButton; } void SendCoinsDialog::setAddress(const QString &address) { SendCoinsEntry *entry = 0; // Replace the first entry if it is still unused if(ui->entries->count() == 1) { SendCoinsEntry *first = qobject_cast<SendCoinsEntry*>(ui->entries->itemAt(0)->widget()); if(first->isClear()) { entry = first; } } if(!entry) { entry = addEntry(); } entry->setAddress(address); } void SendCoinsDialog::pasteEntry(const SendCoinsRecipient &rv) { if(!fNewRecipientAllowed) return; SendCoinsEntry *entry = 0; // Replace the first entry if it is still unused if(ui->entries->count() == 1) { SendCoinsEntry *first = qobject_cast<SendCoinsEntry*>(ui->entries->itemAt(0)->widget()); if(first->isClear()) { entry = first; } } if(!entry) { entry = addEntry(); } entry->setValue(rv); } bool SendCoinsDialog::handleURI(const QString &uri) { SendCoinsRecipient rv; // URI has to be valid if (GUIUtil::parseBitcoinURI(uri, &rv)) { CBitcoinAddress address(rv.address.toStdString()); if (!address.IsValid()) return false; pasteEntry(rv); return true; } return false; } void SendCoinsDialog::setBalance(qint64 balance, qint64 unconfirmedBalance, qint64 immatureBalance) { Q_UNUSED(unconfirmedBalance); Q_UNUSED(immatureBalance); if(!model || !model->getOptionsModel()) return; int unit = model->getOptionsModel()->getDisplayUnit(); ui->labelBalance->setText(BitcoinUnits::formatWithUnit(unit, balance)); } void SendCoinsDialog::updateDisplayUnit() { if(model && model->getOptionsModel()) { // Update labelBalance with the current balance and the current unit ui->labelBalance->setText(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), model->getBalance())); } } // Coin Control: copy label "Quantity" to clipboard void SendCoinsDialog::coinControlClipboardQuantity() { GUIUtil::setClipboard(ui->labelCoinControlQuantity->text()); } // Coin Control: copy label "Amount" to clipboard void SendCoinsDialog::coinControlClipboardAmount() { GUIUtil::setClipboard(ui->labelCoinControlAmount->text().left(ui->labelCoinControlAmount->text().indexOf(" "))); } // Coin Control: copy label "Fee" to clipboard void SendCoinsDialog::coinControlClipboardFee() { GUIUtil::setClipboard(ui->labelCoinControlFee->text().left(ui->labelCoinControlFee->text().indexOf(" "))); } // Coin Control: copy label "After fee" to clipboard void SendCoinsDialog::coinControlClipboardAfterFee() { GUIUtil::setClipboard(ui->labelCoinControlAfterFee->text().left(ui->labelCoinControlAfterFee->text().indexOf(" "))); } // Coin Control: copy label "Bytes" to clipboard void SendCoinsDialog::coinControlClipboardBytes() { GUIUtil::setClipboard(ui->labelCoinControlBytes->text()); } // Coin Control: copy label "Priority" to clipboard void SendCoinsDialog::coinControlClipboardPriority() { GUIUtil::setClipboard(ui->labelCoinControlPriority->text()); } // Coin Control: copy label "Low output" to clipboard void SendCoinsDialog::coinControlClipboardLowOutput() { GUIUtil::setClipboard(ui->labelCoinControlLowOutput->text()); } // Coin Control: copy label "Change" to clipboard void SendCoinsDialog::coinControlClipboardChange() { GUIUtil::setClipboard(ui->labelCoinControlChange->text().left(ui->labelCoinControlChange->text().indexOf(" "))); } // Coin Control: settings menu - coin control enabled/disabled by user void SendCoinsDialog::coinControlFeatureChanged(bool checked) { ui->frameCoinControl->setVisible(checked); if (!checked && model) // coin control features disabled CoinControlDialog::coinControl->SetNull(); } // Coin Control: button inputs -> show actual coin control dialog void SendCoinsDialog::coinControlButtonClicked() { CoinControlDialog dlg; dlg.setModel(model); dlg.exec(); coinControlUpdateLabels(); } // Coin Control: checkbox custom change address void SendCoinsDialog::coinControlChangeChecked(int state) { if (model) { if (state == Qt::Checked) CoinControlDialog::coinControl->destChange = CBitcoinAddress(ui->lineEditCoinControlChange->text().toStdString()).Get(); else CoinControlDialog::coinControl->destChange = CNoDestination(); } ui->lineEditCoinControlChange->setEnabled((state == Qt::Checked)); ui->labelCoinControlChangeLabel->setVisible((state == Qt::Checked)); } // Coin Control: custom change address changed void SendCoinsDialog::coinControlChangeEdited(const QString & text) { if (model) { CoinControlDialog::coinControl->destChange = CBitcoinAddress(text.toStdString()).Get(); // label for the change address ui->labelCoinControlChangeLabel->setStyleSheet("QLabel{color:black;}"); if (text.isEmpty()) ui->labelCoinControlChangeLabel->setText(""); else if (!CBitcoinAddress(text.toStdString()).IsValid()) { ui->labelCoinControlChangeLabel->setStyleSheet("QLabel{color:red;}"); ui->labelCoinControlChangeLabel->setText(tr("Warning: Invalid Bitcoin address")); } else { QString associatedLabel = model->getAddressTableModel()->labelForAddress(text); if (!associatedLabel.isEmpty()) ui->labelCoinControlChangeLabel->setText(associatedLabel); else { CPubKey pubkey; CKeyID keyid; CBitcoinAddress(text.toStdString()).GetKeyID(keyid); if (model->getPubKey(keyid, pubkey)) ui->labelCoinControlChangeLabel->setText(tr("(no label)")); else { ui->labelCoinControlChangeLabel->setStyleSheet("QLabel{color:red;}"); ui->labelCoinControlChangeLabel->setText(tr("Warning: Unknown change address")); } } } } } // Coin Control: update labels void SendCoinsDialog::coinControlUpdateLabels() { if (!model || !model->getOptionsModel() || !model->getOptionsModel()->getCoinControlFeatures()) return; // set pay amounts CoinControlDialog::payAmounts.clear(); for(int i = 0; i < ui->entries->count(); ++i) { SendCoinsEntry *entry = qobject_cast<SendCoinsEntry*>(ui->entries->itemAt(i)->widget()); if(entry) CoinControlDialog::payAmounts.append(entry->getValue().amount); } if (CoinControlDialog::coinControl->HasSelected()) { // actual coin control calculation CoinControlDialog::updateLabels(model, this); // show coin control stats ui->labelCoinControlAutomaticallySelected->hide(); ui->widgetCoinControl->show(); } else { // hide coin control stats ui->labelCoinControlAutomaticallySelected->show(); ui->widgetCoinControl->hide(); ui->labelCoinControlInsuffFunds->hide(); } }
[ "efranc.switzerland@gmail.com" ]
efranc.switzerland@gmail.com
24fceda068f16f51181371f4ce1b121bd7fdd9d2
1d82b21186e123529efc1b4b54d01922e53e84ab
/EvlTimeCourse0.h
be637f0ce1fb29d116f659bf51bfa7af16bd2777
[]
no_license
TaihaoJin/Abf_Processing
e315c03ddd6c6fa684073759f7948a65a7c30dd6
32ce464cd08731a87e766bc9e84464172b096727
refs/heads/master
2021-01-10T15:06:55.227764
2016-01-27T08:48:00
2016-01-27T08:48:00
50,493,276
0
0
null
null
null
null
UTF-8
C++
false
false
1,216
h
// EvlTimeCourse0.h: interface for the CEvlTimeCourse class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_EVLTIMECOURSE_H__6B243C42_992A_11D4_83DE_00C04F200B5B__INCLUDED_) #define AFX_EVLTIMECOURSE_H__6B243C42_992A_11D4_83DE_00C04F200B5B__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CEvlTimeCourse0 { public: CEvlTimeCourse0(CString sFileName, float fBinSize, float fTimePerPoint, int nNumEvent, int* pnLevelLength, int* pnLevelStart, short* pstEventCurrentLevel); CEvlTimeCourse0(); virtual ~CEvlTimeCourse0(); void DoEvlTimeCourse(); protected: CString ChangeFileExt(CString sFileName, CString sExt); void WriteTimeCourse(FILE* fpOut); void PreparePointers(); void OutputTimeCourse(); int* m_pnLevelStart; int* m_pnLevelLength; int m_nNumEvent; short* m_pstEventCurrentLevel; float m_fTimePerPoint; float* m_pfNumOpenings; float* m_pfTotalOpenTime; int* m_pnMaximumOpenLevel; float* m_pfElapsedTime; float m_fBinSize; int m_nNumBin; CString m_sEvlFileName; }; #endif // !defined(AFX_EVLTIMECOURSE_H__6B243C42_992A_11D4_83DE_00C04F200B5B__INCLUDED_)
[ "TaihaoJin2004@gmail.com" ]
TaihaoJin2004@gmail.com
039988cbbf709103b9e145e16460f7c24d9a1b8b
bfb26ad296040f77fd94fa4220f41ec78507b73d
/DP/Typical dynamic programming/Longest Increasing Subsequence.cpp
8b078d432acb396fbcbaef24f129497594179cf1
[]
no_license
mine691/procon-library
d56197f6b1b49e4dd2a4b33e4d93650d06dff3e7
deb88d1c0c160286b209f2fcab01f3a8463768f4
refs/heads/master
2021-07-18T18:52:14.736672
2020-06-10T10:42:41
2020-06-10T10:42:41
175,916,320
0
0
null
null
null
null
UTF-8
C++
false
false
327
cpp
ll LIS(const vector<ll> &a) { int N = a.size(); vector<ll> dp(N, infll); // dp[i] := 長さが i + 1であるLISのうち、末尾の要素の最小値 for (int i = 0; i < N; i++) { auto itr = lower_bound(dp.begin(), dp.end(), a[i]); *itr = a[i]; } return lower_bound(dp.begin(), dp.end(), infll) - dp.begin(); }
[ "noreply@github.com" ]
mine691.noreply@github.com
5c6dc6b887d7231fadf9e96420602b3ef9ab28ed
3f89d8f9592dda6db7fbce1d5de56fd5d6eb09b1
/PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoCutAttrPairTrack.h
0c636614b05089554abf879e8bb173a294917eb7
[]
permissive
KvapilJ/AliPhysics
6e94c9d990e98f43056c51ceb834f5acf404d78b
373b8c7819d77b39a5f993d26067d9cc411eae17
refs/heads/master
2020-04-17T21:47:42.685528
2019-02-26T14:11:30
2019-02-26T14:12:01
166,966,516
0
0
BSD-3-Clause
2019-01-22T09:32:50
2019-01-22T09:32:50
null
UTF-8
C++
false
false
13,971
h
/// /// \file AliFemtoUser/AliFemtoPairCutTrackAttr.h /// #pragma once #ifndef ALIFEMTOPAIRCUTTRACKATTR_H #define ALIFEMTOPAIRCUTTRACKATTR_H #include "AliFemtoConfigObject.h" #include "AliFemtoPair.h" #include "AliFemtoPairCut.h" // re-use static Δφ* calculation #include "AliFemtoPairCutDetaDphi.h" namespace pwgfemto { /// \class AddPairCutAttrs /// \brief Join cut-types together /// template <typename T1, typename T2> struct AddPairCutAttrs : public T1, public T2 { bool Pass(const AliFemtoTrack &track1, const AliFemtoTrack &track2) { return T1::Pass(track1, track2) && T2::Pass(track1, track2); } AddPairCutAttrs() : T1() , T2() { } AddPairCutAttrs(AliFemtoConfigObject &cfg) : T1(cfg) , T2(cfg) { } void FillConfiguration(AliFemtoConfigObject &cfg) const { T1::FillConfiguration(cfg); T2::FillConfiguration(cfg); } virtual ~AddPairCutAttrs() {} }; /// \class PairCutTrackAttrAvgSep /// \brief Range of average separation /// struct PairCutTrackAttrAvgSep { double avgsep_min; bool Pass(const AliFemtoTrack &track1, const AliFemtoTrack &track2) { return calc_avg_sep(track1, track2) > avgsep_min; } PairCutTrackAttrAvgSep() : avgsep_min(0.0) { } PairCutTrackAttrAvgSep(AliFemtoConfigObject &cfg) : avgsep_min(cfg.pop_float("avgsep_min", 0.0)) { } static bool is_valid_point(const AliFemtoThreeVector &point) { return point.x() > -9000.0 && point.y() > -9000.0 && point.z() > -9000.0; } static double calc_avg_sep(const AliFemtoTrack &track1, const AliFemtoTrack &track2) { int count = 0; double sep_sum = 0.0; for (int i=0; i<9; ++i) { const auto &p1 = track1.NominalTpcPoint(i), &p2 = track2.NominalTpcPoint(i); if (!is_valid_point(p1) || !is_valid_point(p2)) { continue; } sep_sum += (p1 - p2).Mag(); count++; } double avg = __builtin_expect(count > 0, 1) ? sep_sum / count : -1.0; return avg; } void FillConfiguration(AliFemtoConfigObject &cfg) const { cfg.insert("avgsep_min", avgsep_min); } virtual ~PairCutTrackAttrAvgSep() {} }; /// Cut on the sum of the pT struct PairCutTrackAttrPt { static const std::pair<double, double> DEFAULT; std::pair<double, double> pt_range; bool Pass(const AliFemtoTrack &track1, const AliFemtoTrack &track2) { const double pt_sum = track1.Pt() + track2.Pt(); return pt_range.first <= pt_sum && pt_sum < pt_range.second; } PairCutTrackAttrPt() : pt_range(DEFAULT) { } PairCutTrackAttrPt(AliFemtoConfigObject &cfg) : pt_range(cfg.pop_range("pt_range", DEFAULT)) { } void FillConfiguration(AliFemtoConfigObject &cfg) const { cfg.insert("pt_range", pt_range); } virtual ~PairCutTrackAttrPt() {} }; /// Cut on share quality and fraction struct PairCutTrackAttrShareQuality { double share_fraction_max; double share_quality_max; bool Pass(const AliFemtoTrack &track1, const AliFemtoTrack &track2) { const std::pair<double, double> qual_and_frac = calc_share_quality_fraction(track1, track2); const double share_fraction = qual_and_frac.first, share_quality = qual_and_frac.second; return share_fraction <= share_fraction_max && share_quality <= share_quality_max; } static std::pair<double, double> calc_share_quality_fraction(const AliFemtoTrack &track1, const AliFemtoTrack &track2) { const TBits &tpc_clusters_1 = track1.TPCclusters(), &tpc_sharing_1 = track1.TPCsharing(), &tpc_clusters_2 = track2.TPCclusters(), &tpc_sharing_2 = track2.TPCsharing(), cls1_and_cls2 = tpc_clusters_1 & tpc_clusters_2, cls1_xor_cls2 = tpc_clusters_1 ^ tpc_clusters_2, shr1_and_shr2 = tpc_sharing_1 & tpc_sharing_2, not_sharing = ~const_cast<TBits&>(shr1_and_shr2); const double cls1_xor_cls2_bits = cls1_xor_cls2.CountBits(), nh = cls1_xor_cls2_bits + 2 * cls1_and_cls2.CountBits(), ns = 2 * (cls1_and_cls2 & shr1_and_shr2).CountBits(), an = cls1_xor_cls2_bits + ns / 2 - (cls1_and_cls2 & not_sharing).CountBits(), share_quality = an / nh, share_fraction = ns / nh; return std::make_pair(share_quality, share_fraction); } PairCutTrackAttrShareQuality() : share_fraction_max(1.0) , share_quality_max(1.0) {} PairCutTrackAttrShareQuality(AliFemtoConfigObject &cfg) : share_fraction_max(cfg.pop_float("share_fraction_max", 1.0)) , share_quality_max(cfg.pop_float("share_quality_max", 1.0)) {} void FillConfiguration(AliFemtoConfigObject &cfg) const { cfg.insert("share_quality_max", share_quality_max); cfg.insert("share_fraction_max", share_fraction_max); } virtual ~PairCutTrackAttrShareQuality() {} }; /// \class PairCutTrackAttrDetaDphiStar /// \brief A pair cut which cuts on the Δη Δφ of the pair. /// /// Pairs pass which have |Δη| > delta_eta_min /// and √(Δφ² + Δη²) > delta_phi_min /// /// The difference in phi is calculated by examining the tracks' /// azimuthal angle at a particular radius, as determined by the /// magnetic field of the event. /// Note: fCurrentMagneticField should be set *before* using this cut /// It is recommended to do this in the EventBegin method of /// AliFemtoPairCut. /// /// The default value for this radius is 1.2 (inside the TPC) but /// this maybe changed via by changing the phistar_radius member. /// /// \Delta \phi_{min}* = \phi_1 - \phi_2 /// + arcsin \left( \frac{ z_1 \cdot B_z \cdot R}{2 p_{T1}} \right) /// - arcsin \left( \frac{ z_2 \cdot B_z \cdot R}{2 p_{T2}} \right) /// /// struct PairCutTrackAttrDetaDphiStar { float delta_eta_min, delta_phistar_min, phistar_radius; float fCurrentMagneticField; PairCutTrackAttrDetaDphiStar() : delta_eta_min(0.0) , delta_phistar_min(0.0) , phistar_radius(1.2) , fCurrentMagneticField(0.0) { } PairCutTrackAttrDetaDphiStar(AliFemtoConfigObject &cut) : delta_eta_min(cut.pop_float("delta_eta_min", 0.0)) , delta_phistar_min(cut.pop_float("delta_phistar_min", 0.0)) , phistar_radius(cut.pop_float("phistar_radius", 1.2)) , fCurrentMagneticField(0.0) { } bool Pass(const AliFemtoTrack &track1, const AliFemtoTrack &track2) { const AliFemtoThreeVector &p1 = track1.P(), &p2 = track2.P(); const double deta = calc_delta_eta(p1, p2); if (delta_eta_min <= std::fabs(deta)) { return true; } const double dphi = AliFemtoPairCutDetaDphi::CalculateDPhiStar( p1, track1.Charge(), p2, track2.Charge(), phistar_radius, fCurrentMagneticField); return delta_phistar_min * delta_phistar_min <= deta * deta + dphi * dphi; } static double calc_delta_eta(const AliFemtoThreeVector &p1, const AliFemtoThreeVector &p2) { return p1.PseudoRapidity() - p2.PseudoRapidity(); } void FillConfiguration(AliFemtoConfigObject &cfg) const { cfg.Update(AliFemtoConfigObject::BuildMap() ("delta_eta_min", delta_eta_min) ("delta_phistar_min", delta_phistar_min) ("phistar_radius", phistar_radius)); } virtual ~PairCutTrackAttrDetaDphiStar() {} }; /// Remove pairs of tracks with the same particle struct PairCutTrackAttrSameLabel { bool remove_same_label; bool Pass(const AliFemtoTrack &track1, const AliFemtoTrack &track2) { return remove_same_label ? abs(track1.Label()) == abs(track2.Label()) : true; } PairCutTrackAttrSameLabel() : remove_same_label(true) {} PairCutTrackAttrSameLabel(AliFemtoConfigObject &cfg) : remove_same_label(cfg.pop_bool("remove_same_label", true)) {} void FillConfiguration(AliFemtoConfigObject &cfg) const { cfg.insert("remove_same_label", remove_same_label); } virtual ~PairCutTrackAttrSameLabel() {} }; /// Cut on Minv of the pair /// /// This assumes highly relativistic particles and does not need an /// assumed particle mass. /// struct PairCutTrackAttrMinv { protected: /// Square of minv range std::pair<double, double> fMinvSqrRange; double fMass1; double fMass2; public: bool Pass(const AliFemtoTrack &track1, const AliFemtoTrack &track2) { // const double minv2 = CalcMinvSqrd(track1.P(), track2.P(), fMass1, fMass2); const double minv2 = CalcMinvSqrd(track1.P(), track2.P()); return fMinvSqrRange.first <= minv2 && minv2 < fMinvSqrRange.second; } /// Minv assuming highly relativistic particles (E >> m) /// /// Does not require need mass information /// /// $ M_{inv}^2 = 2 p_{T,1} p_{T,2} (\cosh(\eta_1 - \eta_2) - \cos(\phi_1 - \phi_2)) $ /// static double CalcMinvSqrd(const AliFemtoThreeVector &p1, const AliFemtoThreeVector &p2) { const double pt1 = p1.Perp2(), eta1 = p1.PseudoRapidity(), phi1 = p1.Phi(), pt2 = p2.Perp2(), eta2 = p2.PseudoRapidity(), phi2 = p2.Phi(); return 2 * std::sqrt(pt1 * pt2) * (std::cosh(eta1 - eta2) - std::cos(phi1 - phi2)); } /// Minv with assumed masses /// /// $ M_{inv}^2 = m_1^2 m_2^2 + 2 (E_1 E_2 - \vec{p_1} \cdot \vec{p_2}) $ /// static double CalcMinvSqrd(const AliFemtoThreeVector &p1, const AliFemtoThreeVector &p2, double mass1, double mass2) { const double m1sqrd = mass1*mass1, m2sqrd = mass2*mass2, e1sqrd = m1sqrd + p1.Mag2(), e2sqrd = m2sqrd + p2.Mag2(), E1E2 = std::sqrt(e1sqrd*e2sqrd); return m1sqrd + m2sqrd + 2*(E1E2 - p1.Dot(p2)); } /// Minv with assumed masses /// /// $ M_{inv}^2 = m_1^2 m_2^2 + 2 (E_1 E_2 - \vec{p_1} \cdot \vec{p_2}) $ /// static double CalcMinvSqrd(const AliFemtoLorentzVector &p1, const AliFemtoLorentzVector &p2) { return (p1 + p2).m2(); } void SetMinvRange(double lo, double hi) { fMinvSqrRange = std::make_pair(lo * lo, hi * hi); } void SetMinvRange(const std::pair<double, double> &range) { double lo = range.first * range.first, hi = range.second * range.second; fMinvSqrRange = std::make_pair(lo, hi); } std::pair<double, double> GetMinvRange() const { return std::make_pair(std::sqrt(fMinvSqrRange.first), std::sqrt(fMinvSqrRange.second)); } PairCutTrackAttrMinv() : fMinvSqrRange(0, 100) , fMass1(0.0) , fMass2(0.0) {} PairCutTrackAttrMinv(AliFemtoConfigObject &cfg) : fMinvSqrRange(cfg.pop_range("minv_range", std::make_pair(0.0, 100.0))) , fMass1(0.0) , fMass2(0.0) { fMinvSqrRange.first *= fMinvSqrRange.first; fMinvSqrRange.second *= fMinvSqrRange.second; } void FillConfiguration(AliFemtoConfigObject &cfg) const { cfg.insert("minv_range", GetMinvRange()); } virtual ~PairCutTrackAttrMinv() {} }; /// \class PairCutTrackAttrRemoveEE /// \brief Cut pairs with Minv near electron mass /// struct PairCutTrackAttrRemoveEE { float ee_minv_min; bool Pass(const AliFemtoTrack &track1, const AliFemtoTrack &track2) { const double E_MASS = 0.000511, minv_sqrd = PairCutTrackAttrMinv::CalcMinvSqrd(track1.P(), track2.P(), E_MASS, E_MASS), minv = std::sqrt(minv_sqrd); return std::abs(minv - E_MASS) >= ee_minv_min; } PairCutTrackAttrRemoveEE() : ee_minv_min(0.0) {} PairCutTrackAttrRemoveEE(AliFemtoConfigObject &cfg) : ee_minv_min(cfg.pop_float("ee_minv_min", 0.0)) {} void FillConfiguration(AliFemtoConfigObject &cfg) const { cfg.insert("ee_minv_min", ee_minv_min); } virtual ~PairCutTrackAttrRemoveEE() {} }; } // namespace pwgcf #include "AliFemtoPairCut.h" /// \class AliFemtoPairCutAttrTracks /// \brief Bridge from AliFemtoPairCut to a metaclass of PairCut-Attrs /// /// Note - This expects two tracks, not an AliFemtoPair /// /// Subclass and implement your method: /// `const char* GetName() const` /// /// template <typename CRTP, typename CutAttrType> class AliFemtoPairCutAttrTracks : public AliFemtoPairCut, public CutAttrType { public: typedef CutAttrType CutAttrs; virtual ~AliFemtoPairCutAttrTracks() { } AliFemtoPairCutAttrTracks() : AliFemtoPairCut() , CutAttrType() {} AliFemtoPairCutAttrTracks(AliFemtoConfigObject &cfg) : AliFemtoPairCut() , CutAttrType(cfg) {} /// user-written method to return string describing cuts virtual AliFemtoString Report() { return ""; } /// Return a TList of settings virtual TList* ListSettings() { TList* list = new TList(); AppendSettings(*list); return list; } virtual void AppendSettings(TCollection &) const = 0; virtual bool Pass(const AliFemtoPair *pair) { return CutAttrs::Pass(*pair->Track1()->Track(), *pair->Track2()->Track()); } void StoreConfiguration(AliFemtoConfigObject &cfg) const { CutAttrs::FillConfiguration(cfg); cfg.insert("_class", static_cast<CRTP*>(this)->GetName()); } AliFemtoConfigObject GetConfiguration() const { AliFemtoConfigObject result = AliFemtoConfigObject::BuildMap() ("_class", CRTP::ClassName()); CutAttrs::FillConfiguration(result); return result; } }; #endif
[ "andrew.kubera@cern.ch" ]
andrew.kubera@cern.ch
72555085f4aaae1810c8f8d8dbecf0ad9bc3445e
6ca8e9d7da81d1a124ec8b0714ed463908d8ee82
/s.cpp
3155e0c9d81eff4d0afae3df8a0ba3034e988d42
[]
no_license
includelife/sicily_codes
a33b31df7e7c3f3451ad29c9c86fc09c5a495893
66873f2b0083dd1827968becdb7b9b2ad5130b6a
refs/heads/master
2016-09-03T07:30:47.018794
2015-07-11T15:20:21
2015-07-11T15:20:21
25,923,166
0
0
null
null
null
null
UTF-8
C++
false
false
68
cpp
#include<stdio.h> int main(){printf("153\n370\n371\n407");return 0;}
[ "262548467@qq.com" ]
262548467@qq.com
be4c76c12360f87384dc0a872eb015435c982baa
15b122079a9342a41239b77463bc1c5b8345b8a8
/histograma.h
ec246bd0d37dcb8459bda9a07b27243f344eb64f
[]
no_license
AndreyGoncalves/Analisadordepacotesderede
05c4666147e86bddf07b15845ecb2b61f5a931ed
c7784e58ef5ad092ed73fd92777979e3000d7a07
refs/heads/master
2020-03-30T12:49:57.442637
2018-10-02T11:26:00
2018-10-02T11:26:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
686
h
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: histograma.h * Author: destroy * * Created on 3 de Outubro de 2016, 18:35 */ #ifndef HISTOGRAMA_H #define HISTOGRAMA_H #include <cstdlib> #include <iostream> #include <prglib.h> #include <string> #include <fstream> #include <math.h> using namespace std; using prglib::lista; class histograma { public: histograma(); histograma(const histograma& orig); virtual ~histograma(); void montagem(lista<long> dados, long desvio); private: }; #endif /* HISTOGRAMA_H */
[ "“andreygoncalves@live.com”" ]
“andreygoncalves@live.com”
65ca9ba821fcbc92f48de62e60c1f28d5e54ac80
fcb93b835ce45a932e0c859d6a37ffaac4a71980
/project5/second.cpp
43d18b23e56b7a82a5ac8bccbcf8d973a76b00bf
[]
no_license
tcs76321/CS475
44c6d483522e0433dfb1b3538999d2c4baa7ed50
0b4779bf2dd172dd219bebe22364b7be558ade7a
refs/heads/master
2022-02-09T11:36:46.689518
2019-06-10T01:05:22
2019-06-10T01:05:22
180,644,805
1
0
null
null
null
null
UTF-8
C++
false
false
8,750
cpp
// 1. Program header #include <stdio.h> #include <math.h> #include <string.h> #include <stdlib.h> #ifdef WIN32 #include <windows.h> #else #include <unistd.h> #endif #include <omp.h> #include "CL/cl.h" #include "CL/cl_platform.h" #ifndef NMB #define NMB 64 #endif #define NUM_ELEMENTS NMB*1024*1024 #ifndef LOCAL_SIZE #define LOCAL_SIZE 64 #endif #define NUM_WORK_GROUPS NUM_ELEMENTS/LOCAL_SIZE const char * CL_FILE_NAME = { "second.cl" }; const float TOL = 0.0001f; void Wait( cl_command_queue ); int LookAtTheBits( float ); int main( int argc, char *argv[ ] ) { // see if we can even open the opencl kernel program // (no point going on if we can't): FILE *fp; #ifdef WIN32 errno_t err = fopen_s( &fp, CL_FILE_NAME, "r" ); if( err != 0 ) #else fp = fopen( CL_FILE_NAME, "r" ); if( fp == NULL ) #endif { fprintf( stderr, "Cannot open OpenCL source file '%s'\n", CL_FILE_NAME ); return 1; } cl_int status; // returned status from opencl calls // test against CL_SUCCESS // get the platform id: cl_platform_id platform; status = clGetPlatformIDs( 1, &platform, NULL ); if( status != CL_SUCCESS ) fprintf( stderr, "clGetPlatformIDs failed (2)\n" ); // get the device id: cl_device_id device; status = clGetDeviceIDs( platform, CL_DEVICE_TYPE_GPU, 1, &device, NULL ); if( status != CL_SUCCESS ) fprintf( stderr, "clGetDeviceIDs failed (2)\n" ); // 2. allocate the host memory buffers: float *hA = new float[ NUM_ELEMENTS ]; float *hB = new float[ NUM_ELEMENTS ]; float *hC = new float[ NUM_ELEMENTS ]; float *hD = new float[ NUM_ELEMENTS ]; // fill the host memory buffers: for( int i = 0; i < NUM_ELEMENTS; i++ ) { hA[i] = hB[i] = hC[i] = (float) sqrt( (double)i ); } size_t dataSize = NUM_ELEMENTS * sizeof(float); // 3. create an opencl context: cl_context context = clCreateContext( NULL, 1, &device, NULL, NULL, &status ); if( status != CL_SUCCESS ) fprintf( stderr, "clCreateContext failed\n" ); // 4. create an opencl command queue: cl_command_queue cmdQueue = clCreateCommandQueue( context, device, 0, &status ); if( status != CL_SUCCESS ) fprintf( stderr, "clCreateCommandQueue failed\n" ); // 5. allocate the device memory buffers: cl_mem dA = clCreateBuffer( context, CL_MEM_READ_ONLY, dataSize, NULL, &status ); if( status != CL_SUCCESS ) fprintf( stderr, "clCreateBuffer failed (1)\n" ); cl_mem dB = clCreateBuffer( context, CL_MEM_READ_ONLY, dataSize, NULL, &status ); if( status != CL_SUCCESS ) fprintf( stderr, "clCreateBuffer failed (2)\n" ); cl_mem dC = clCreateBuffer( context, CL_MEM_READ_ONLY, dataSize, NULL, &status ); if( status != CL_SUCCESS ) fprintf( stderr, "clCreateBuffer failed (3)\n" ); cl_mem dD = clCreateBuffer( context, CL_MEM_WRITE_ONLY, dataSize, NULL, &status ); if( status != CL_SUCCESS ) fprintf( stderr, "clCreateBuffer failed (4)\n" ); // 6. enqueue the 2 commands to write the data from the host buffers to the device buffers: status = clEnqueueWriteBuffer( cmdQueue, dA, CL_FALSE, 0, dataSize, hA, 0, NULL, NULL ); if( status != CL_SUCCESS ) fprintf( stderr, "clEnqueueWriteBuffer failed (1)\n" ); status = clEnqueueWriteBuffer( cmdQueue, dB, CL_FALSE, 0, dataSize, hB, 0, NULL, NULL ); if( status != CL_SUCCESS ) fprintf( stderr, "clEnqueueWriteBuffer failed (2)\n" ); status = clEnqueueWriteBuffer( cmdQueue, dC, CL_FALSE, 0, dataSize, hC, 0, NULL, NULL ); if( status != CL_SUCCESS ) fprintf( stderr, "clEnqueueWriteBuffer failed (3)\n" ); Wait( cmdQueue ); // 7. read the kernel code from a file: fseek( fp, 0, SEEK_END ); size_t fileSize = ftell( fp ); fseek( fp, 0, SEEK_SET ); char *clProgramText = new char[ fileSize+1 ]; // leave room for '\0' size_t n = fread( clProgramText, 1, fileSize, fp ); clProgramText[fileSize] = '\0'; fclose( fp ); if( n != fileSize ) fprintf( stderr, "Expected to read %d bytes read from '%s' -- actually read %d.\n", fileSize, CL_FILE_NAME, n ); // create the text for the kernel program: char *strings[1]; strings[0] = clProgramText; cl_program program = clCreateProgramWithSource( context, 1, (const char **)strings, NULL, &status ); if( status != CL_SUCCESS ) fprintf( stderr, "clCreateProgramWithSource failed\n" ); delete [ ] clProgramText; // 8. compile and link the kernel code: char *options = { "" }; status = clBuildProgram( program, 1, &device, options, NULL, NULL ); if( status != CL_SUCCESS ) { size_t size; clGetProgramBuildInfo( program, device, CL_PROGRAM_BUILD_LOG, 0, NULL, &size ); cl_char *log = new cl_char[ size ]; clGetProgramBuildInfo( program, device, CL_PROGRAM_BUILD_LOG, size, log, NULL ); fprintf( stderr, "clBuildProgram failed:\n%s\n", log ); delete [ ] log; } // 9. create the kernel object: cl_kernel kernel = clCreateKernel( program, "ArrayMult", &status ); if( status != CL_SUCCESS ) fprintf( stderr, "clCreateKernel failed\n" ); // 10. setup the arguments to the kernel object: status = clSetKernelArg( kernel, 0, sizeof(cl_mem), &dA ); if( status != CL_SUCCESS ) fprintf( stderr, "clSetKernelArg failed (1)\n" ); status = clSetKernelArg( kernel, 1, sizeof(cl_mem), &dB ); if( status != CL_SUCCESS ) fprintf( stderr, "clSetKernelArg failed (2)\n" ); status = clSetKernelArg( kernel, 2, sizeof(cl_mem), &dC ); if( status != CL_SUCCESS ) fprintf( stderr, "clSetKernelArg failed (3)\n" ); status = clSetKernelArg( kernel, 3, sizeof(cl_mem), &dD ); if( status != CL_SUCCESS ) fprintf( stderr, "clSetKernelArg failed (4)\n" ); // 11. enqueue the kernel object for execution: size_t globalWorkSize[3] = { NUM_ELEMENTS, 1, 1 }; size_t localWorkSize[3] = { LOCAL_SIZE, 1, 1 }; Wait( cmdQueue ); double time0 = omp_get_wtime( ); time0 = omp_get_wtime( ); status = clEnqueueNDRangeKernel( cmdQueue, kernel, 1, NULL, globalWorkSize, localWorkSize, 0, NULL, NULL ); if( status != CL_SUCCESS ) fprintf( stderr, "clEnqueueNDRangeKernel failed: %d\n", status ); Wait( cmdQueue ); double time1 = omp_get_wtime( ); // 12. read the results buffer back from the device to the host: status = clEnqueueReadBuffer( cmdQueue, dD, CL_TRUE, 0, dataSize, hD, 0, NULL, NULL ); if( status != CL_SUCCESS ) fprintf( stderr, "clEnqueueReadBuffer failed\n" ); // did it work? for( int i = 0; i < NUM_ELEMENTS; i++ ) { float expected = (hA[i] * hB[i]) + hC[i]; if( fabs( hD[i] - expected ) > TOL ) { //fprintf( stderr, "%4d: %13.6f * %13.6f wrongly produced %13.6f instead of %13.6f (%13.8f)\n", //i, hA[i], hB[i], hC[i], expected, fabs(hC[i]-expected) ); //fprintf( stderr, "%4d: 0x%08x * 0x%08x wrongly produced 0x%08x instead of 0x%08x\n", //i, LookAtTheBits(hA[i]), LookAtTheBits(hB[i]), LookAtTheBits(hC[i]), LookAtTheBits(expected) ); } } fprintf( stderr, "%8d\t%4d\t%10d\t%10.3lf GigaMultsPerSecond\n", NMB, LOCAL_SIZE, NUM_WORK_GROUPS, (double)NUM_ELEMENTS/(time1-time0)/1000000000. ); #ifdef WIN32 Sleep( 2000 ); #endif // 13. clean everything up: clReleaseKernel( kernel ); clReleaseProgram( program ); clReleaseCommandQueue( cmdQueue ); clReleaseMemObject( dA ); clReleaseMemObject( dB ); clReleaseMemObject( dC ); clReleaseMemObject( dD ); delete [ ] hA; delete [ ] hB; delete [ ] hC; delete [ ] hD; return 0; } int LookAtTheBits( float fp ) { int *ip = (int *)&fp; return *ip; } // wait until all queued tasks have taken place: void Wait( cl_command_queue queue ) { cl_event wait; cl_int status; status = clEnqueueMarker( queue, &wait ); if( status != CL_SUCCESS ) fprintf( stderr, "Wait: clEnqueueMarker failed\n" ); status = clWaitForEvents( 1, &wait ); if( status != CL_SUCCESS ) fprintf( stderr, "Wait: clWaitForEvents failed\n" ); }
[ "trevor@trevorstahl.com" ]
trevor@trevorstahl.com
13e723e32c51c3eec2a1dba10d15f53c958b3c4b
cc36bf3a46b06af454e42f88865aa2b16caefc2c
/UI_DirGraph/ObjViewDG.cpp
47961d972702aec316d5e7462e9bdec7d00998c6
[]
no_license
artcampo/2012_3D_Procedural_Object_Editor
058548468514da39d1434b024bcf42e17f1e0af4
ddb75c727bfb12f1d39786dd72928dc35539c860
refs/heads/master
2021-01-12T04:27:28.204089
2016-12-29T13:57:45
2016-12-29T13:57:45
77,615,572
1
0
null
null
null
null
UTF-8
C++
false
false
6,593
cpp
#include "ObjViewDG.h" ObjViewDG::ObjViewDG( std::wstring& aTitle, int aTypeView, bool aAllowOrbitation, D3DXVECTOR2& aCamPan, float aCamScale, D3DXVECTOR2& aCamOrbit ) { mTypeView = aTypeView; mTitle = aTitle; mAllowOrbitation = aAllowOrbitation; mCamPan = aCamPan; mCamScale = aCamScale; mCamOrbit = aCamOrbit; mUnitTangentU = D3DXVECTOR3(1,0,0); mUnitTangentV = D3DXVECTOR3(0,0,1); mRenderUpVector = D3DXVECTOR3(0,1,0); // Configuration mScaleMinimum = 0.01f; mScaleMultiplier = 0.01f; mGridScaleMult = 1.0f; } ObjViewDG* ObjViewDG::ViewFree() { std::wstring title(L"Free"); return new ObjViewDG( title , eTypeFree, true, D3DXVECTOR2( 0,0 ), 9.0f, //D3DXVECTOR2( Math::PI,Math::PI*1.25f ) ); //D3DXVECTOR2( 1.2f,0.7f ) ); D3DXVECTOR2( 0.9f,0.6f ) ); } D3DXVECTOR3 ObjViewDG::projectPoint( float aX, float aY ) { D3DXVECTOR3 ret; switch (mTypeView) { case eTypeX: //ret = D3DXVECTOR3( 0.0f, -aY*sqrt(mCamScale*mCamScale), aX*sqrt(mCamScale*mCamScale) ); ret = D3DXVECTOR3( 0.0f, aY*mCamScale, aX*mCamScale ); ret += projectPoint( mCamPan ); break; case eTypeY: ret = D3DXVECTOR3( -aY*mCamScale, 0.0f, aX*mCamScale ); ret += projectPoint( mCamPan ); break; case eTypeZ: ret = D3DXVECTOR3( -aX*mCamScale, aY*mCamScale, 0.0f ); ret += projectPoint( mCamPan ); break; case eTypeFree: ret = D3DXVECTOR3( -aX*mCamScale, aY*mCamScale, 0.0f ); ret += projectPoint( mCamPan ); break; }; return ret; } D3DXVECTOR3 ObjViewDG::projectPoint( D3DXVECTOR2& aP ) { D3DXVECTOR3 ret; switch (mTypeView) { case eTypeX: ret = D3DXVECTOR3( 0.0f, aP.y, -aP.x ); break; case eTypeY: ret = D3DXVECTOR3( aP.y, 0.0f, aP.x ); break; case eTypeZ: ret = D3DXVECTOR3( -aP.x, -aP.y, 0.0f ); break; case eTypeFree: float r = mCamScale; float t = mCamOrbit.x; float p = mCamOrbit.y; D3DXVECTOR3 u = +(cos(t)*cos(p))* D3DXVECTOR3(1,0,0) +(cos(t)*sin(p))* D3DXVECTOR3(0,0,1) -(sin(t))* D3DXVECTOR3(0,1,0); D3DXVECTOR3 v = -(sin(p))* D3DXVECTOR3(1,0,0) +(cos(p))* D3DXVECTOR3(0,0,1); ret = aP.x*v + -aP.y*u; break; }; return ret; } D3DXVECTOR3 ObjViewDG::getCamAt() { return projectPoint( mCamPan ); } D3DXVECTOR3 ObjViewDG::getCamPos() { D3DXVECTOR3 ret; ret = unitVector(); ret *= mCamScale; ret += projectPoint( mCamPan ); return ret; } void ObjViewDG::panUpdate(float aX, float aY) { mCamPan += D3DXVECTOR2( -aX*15.0f, aY*15.0f ); D3DXVECTOR3 ret; float r = mCamScale; float t = mCamOrbit.x; float p = mCamOrbit.y; D3DXVECTOR3 u = +(r*cos(t)*cos(p))* D3DXVECTOR3(1,0,0) +(r*cos(t)*sin(p))* D3DXVECTOR3(0,0,1) -(r*sin(t))* D3DXVECTOR3(0,1,0); D3DXVECTOR3 v = -(r*sin(p))* D3DXVECTOR3(1,0,0) +(r*cos(p))* D3DXVECTOR3(0,0,1); } float ObjViewDG::scaleUpdate (float aScale ) { mCamScale += mScaleMultiplier*aScale; if (mCamScale <= mScaleMinimum) mCamScale = mScaleMinimum; return mCamScale; } void ObjViewDG::orbitUpdate(float aX, float aY) { float multiplier = 0.005f; mCamOrbit += D3DXVECTOR2( aX*multiplier, aY*multiplier ); if ( mCamOrbit.x < 0.5 ) mCamOrbit.x = 0.5; if ( mCamOrbit.x > 2.4 ) mCamOrbit.x = 2.4; } bool ObjViewDG::allowsOrbitation() { return mAllowOrbitation; } D3DXVECTOR3 ObjViewDG::getTangentVectorU() { return mUnitTangentU; } D3DXVECTOR3 ObjViewDG::getTangentVectorV() { return mUnitTangentV; } float ObjViewDG::getScale() { return mCamScale; } D3DXVECTOR3 ObjViewDG::getUpVector() { return mRenderUpVector; } bool ObjViewDG::isFreeView() { return (mTypeView == 3); } std::wstring ObjViewDG::getTitle() { return mTitle; } float ObjViewDG::getGridScale() { //float scale = floor( 10.0f / (mCamScale * 1.0f) ) ; float m = 10.0f; float scale = floor( (m*mCamScale/100.0f))/m ; scale *= 0.1f*mCamScale; mGridMod = scale * mGridScaleMult; if (mGridMod < 0.5f) mGridMod = 0.5f; return mGridMod; } void ObjViewDG::setGridScaleMultiplier(float aMult ) { mGridScaleMult = aMult; } D3DXVECTOR3 ObjViewDG::adjustPointToGrid( const D3DXVECTOR3& aPoint ) { D3DXVECTOR3 ret; ret.x = adjustCoordinate( aPoint.x, mGridMod ); ret.y = adjustCoordinate( aPoint.y, mGridMod ); ret.z = adjustCoordinate( aPoint.z, mGridMod ); return ret; } float ObjViewDG::adjustCoordinate (const float aCoord, float aMod ) { float div = floor(aCoord/aMod) * aMod; ; float mod = aCoord-div; if (mod >= (0.5f*aMod)) return (div + aMod); else if (mod <= (0.5f*aMod)) return div; else return (div + aMod) ; } /* unit vector from target to camera position */ D3DXVECTOR3 ObjViewDG::unitVector() { D3DXVECTOR3 ret; if (mTypeView != 3) ret = mUnitVector; else { float thita = mCamOrbit.y; float rho = mCamOrbit.x; ret = D3DXVECTOR3( sin(rho)*cos(thita), cos(rho), sin(rho)*sin(thita) ); } return ret; } D3DXVECTOR3 ObjViewDG::cameraTangetU() { float r = mCamScale; float t = mCamOrbit.x; float p = mCamOrbit.y; D3DXVECTOR3 u = +(cos(t)*cos(p))* D3DXVECTOR3(1,0,0) +(cos(t)*sin(p))* D3DXVECTOR3(0,0,1) -(sin(t))* D3DXVECTOR3(0,1,0); return u; } D3DXVECTOR3 ObjViewDG::cameraTangetV() { float r = mCamScale; float t = mCamOrbit.x; float p = mCamOrbit.y; D3DXVECTOR3 v = -(sin(p))* D3DXVECTOR3(1,0,0) +(cos(p))* D3DXVECTOR3(0,0,1); return v; } D3DXVECTOR3 ObjViewDG::getCamTangentU() { float thita = mCamOrbit.y; float rho = mCamOrbit.x; D3DXVECTOR3 ret = D3DXVECTOR3( -sin(thita), 0, cos(thita) ); return ret; } D3DXVECTOR3 ObjViewDG::getCamTangentV() { float thita = mCamOrbit.y; float rho = mCamOrbit.x; D3DXVECTOR3 ret = D3DXVECTOR3( cos(rho)*cos(thita), -sin(rho), cos(rho)*sin(thita) ); return ret; }
[ "arturocampos82@gmail.com" ]
arturocampos82@gmail.com
121104e12b3a46e2466ea7a1b4438470538c997b
be9123f1001fd2d220f9f54d0fc4b682c784ea45
/time.hpp
5146a4808fcf70172bbab03fe82736536ef041ed
[ "MIT" ]
permissive
komasaru/iss_sgp4_blh
751eb735cbfe9a30245b5bf80fe52628e82f53f3
cd8739824d1bf2979f7253269934e724ba856367
refs/heads/main
2023-06-10T21:20:27.978078
2021-06-29T14:28:14
2021-06-29T14:28:14
376,414,321
0
0
null
null
null
null
UTF-8
C++
false
false
1,459
hpp
#ifndef ISS_SGP4_BLH_TIME_HPP_ #define ISS_SGP4_BLH_TIME_HPP_ #include <cmath> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <sstream> #include <string> #include <vector> namespace iss_sgp4_blh { struct DateTime { unsigned int year; unsigned int month; unsigned int day; unsigned int hour; unsigned int minute; double second ; }; std::string gen_time_str(struct timespec ts); // 日時文字列生成 struct timespec ts_add(struct timespec, double); // 時刻 + 秒数 DateTime days2ymdhms(unsigned int, double); // 年+経過日数 => 年月日時分秒 double jday(DateTime); // 年月日時分秒 => ユリウス日 double gstime(double); // Greenwich sidereal time calculation double get_dut1(struct timespec); // DUT1 取得(EOP 読み込み) unsigned int get_dat(struct timespec); // DAT (= TAI - UTC)(うるう秒総和)取得 struct timespec jst2utc(struct timespec); // JST -> UTC struct timespec utc2ut1(struct timespec); // UTC -> UT1 struct timespec utc2tai(struct timespec); // UTC -> TAI struct timespec tai2tt(struct timespec); // TAI -> TT double gc2jd(struct timespec); // Gregorian Calendar -> Julian Day double jd2jcn(double); // Julian Day -> Julian Century Number } // namespace iss_sgp4_blh #endif
[ "masaru@mk-mode.com" ]
masaru@mk-mode.com
2943a5ad369d842a50f04c633ecabdd2b9a5f9d7
64c44e82d12bca08ea114e5ba5049136e6326af9
/src/unithealth.cpp
d5ce553e0ce5209c998870f433e67d8aa6ba992f
[ "MIT" ]
permissive
Senjai/Dwarf-Therapist
04474062b8d95d6e5d5ef9377218da5954d744e9
3fd1ca6d9b7e5b3f01f82ed960fd862e76f34c62
refs/heads/master
2021-05-06T23:01:42.271740
2017-12-02T17:26:54
2017-12-02T22:54:41
112,896,455
3
0
null
2017-12-03T03:19:57
2017-12-03T03:19:57
null
UTF-8
C++
false
false
25,772
cpp
/* Dwarf Therapist Copyright (c) 2009 Trey Stout (chmod) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include "unithealth.h" #include "dfinstance.h" #include "memorylayout.h" #include "healthcategory.h" #include "dwarf.h" #include "caste.h" #include "dwarfjob.h" QHash<eHealth::H_INFO, HealthCategory*> UnitHealth::m_health_descriptions; QList<QPair<eHealth::H_INFO,QString> > UnitHealth::m_ordered_category_names; UnitHealth::UnitHealth() : m_df(0x0) , m_dwarf_addr(0x0) , m_dwarf(0x0) , m_critical_wounds(false) , m_req_diagnosis(false) , m_limb_stand_count(0) { } UnitHealth::UnitHealth(DFInstance *df, Dwarf *d, bool req_diagnosis) : m_df(df) , m_dwarf_addr(d->address()) , m_dwarf(d) , m_critical_wounds(false) , m_req_diagnosis(req_diagnosis) , m_limb_stand_count(0) { if(m_dwarf){ read_health_info(); read_wounds(); //sort everything by severity sort_severity(m_status_info); sort_severity(m_treatment_info); sort_severity(m_wounds_info); }else{ LOGW << "skipping health read due to invalid unit"; } } UnitHealth::~UnitHealth(){ m_wound_details.clear(); m_wounds_info.clear(); m_treatment_info.clear(); m_status_info.clear(); m_body_parts.clear(); m_wounds.clear(); m_df = 0; m_dwarf = 0; } void UnitHealth::sort_severity(QHash<eHealth::H_INFO, QList<HealthInfo*> > &hash) { foreach(const eHealth::H_INFO &info, hash.keys()){ QList<HealthInfo*> &list = hash[info]; qSort(list.begin(), list.end(), HealthInfo::less_than_severity); } } void UnitHealth::add_info(eHealth::H_INFO id, bool idx0, bool idx1, bool idx2, bool idx3){ if(!idx0 && !idx1 && !idx2 && !idx3) return; QList<short> desc_index; bool multiple = get_health_description(id)->allows_multiple(); if(multiple){ if(idx0) desc_index.append(0); if(idx1) desc_index.append(1); if(idx2) desc_index.append(2); if(idx2) desc_index.append(3); }else{ if(idx0) desc_index.append(0); else if(idx1) desc_index.append(1); else if(idx2) desc_index.append(2); else if(idx3) desc_index.append(3); } add_info(id,desc_index); } void UnitHealth::add_info(eHealth::H_INFO h, QList<short> indexes, bool wound_visible){ //figure out which list we should be adding the info to QList<HealthInfo*> info_list; if(get_health_description(h)->diff_subitem_types()){ foreach(short idx, indexes){ HealthInfo *hi = get_health_description(h)->description(idx); if(hi){ if(hi->is_status()){ info_list = m_status_info.take(h); add_info(hi,info_list); if(info_list.size() > 0) m_status_info.insert(h,info_list); } if(hi->is_treatment()){ info_list = m_treatment_info.take(h); add_info(hi,info_list); if(info_list.size() > 0) m_treatment_info.insert(h,info_list); } if(wound_visible && hi->is_wound()){ info_list = m_wounds_info.take(h); add_info(hi,info_list); if(info_list.size() > 0) m_wounds_info.insert(h,info_list); } } } }else{ if(get_health_description(h)->is_status()){ info_list = m_status_info.take(h); add_info(h,indexes,info_list); if(info_list.size() > 0) m_status_info.insert(h,info_list); } if(get_health_description(h)->is_treatment()){ info_list = m_treatment_info.take(h); add_info(h,indexes,info_list); if(info_list.size() > 0) m_treatment_info.insert(h,info_list); } if(wound_visible && get_health_description(h)->is_wound()){ info_list = m_wounds_info.take(h); add_info(h,indexes,info_list); if(info_list.size() > 0) m_wounds_info.insert(h,info_list); } } } void UnitHealth::add_info(eHealth::H_INFO h, QList<short> indexes, QList<HealthInfo *> &info_list){ HealthInfo* hi; foreach(short idx, indexes){ hi = get_health_info(h,idx); add_info(hi, info_list); } } void UnitHealth::add_info(HealthInfo *hi, QList<HealthInfo *> &info_list){ bool replaced = false; bool ignore = false; for(int list_index = 0; list_index < info_list.count(); list_index++){ if(!get_health_description(hi->h_category())->allows_multiple() && hi->h_category() == info_list.at(list_index)->h_category()){ if(info_list.at(list_index)->severity() > hi->severity()){ info_list.replace(list_index,hi); replaced = true; break; }else{ ignore = true; } } } if(!replaced && !info_list.contains(hi) && !ignore){ info_list.append(hi); } } void UnitHealth::read_health_info(){ MemoryLayout *mem = m_df->memory_layout(); VIRTADDR unit_health_addr = m_df->read_addr(m_dwarf_addr + mem->dwarf_offset("unit_health_info")); quint32 health_flags = 0; if(unit_health_addr){ //health flags contain the requests for treatment info health_flags = m_df->read_int(unit_health_addr + 0x4); //read bp flags for inoperable rot health_req_flags = m_df->enum_vec<qint32>(unit_health_addr + 0x8); } //1 << 2 << 4 << 8 << 16 << 32 << 64 << 128 << 256 << 512 << 1024 match with.. //diagnosis, recovery, unk, immobilization, dressing, cleaning, surgery, suture, setting, traction, crutch //these only have a single description associated with them. we also want to avoid the 4th (unknown) request int counter = 0; short sh_counter = 0; QList<short> vals; bool needs_diagnosis = (health_flags & 1); add_info(eHealth::HI_DIAGNOSIS,false,needs_diagnosis); add_info(eHealth::HI_IMMOBILIZATION, health_flags & (1 << 3)); add_info(eHealth::HI_DRESSING, health_flags & (1 << 4)); add_info(eHealth::HI_CLEANING, health_flags & (1 << 5)); add_info(eHealth::HI_SURGERY, health_flags & (1 << 6)); add_info(eHealth::HI_SUTURES, health_flags & (1 << 7)); add_info(eHealth::HI_SETTING, health_flags & (1 << 8)); add_info(eHealth::HI_TRACTION, health_flags & (1 << 9)); //stunned, webbed, dizziness bool unconscious = false; bool sleeping = false; VIRTADDR base_counter_addr = mem->dwarf_offset("counters1"); //starts at winded VIRTADDR base_counter2_addr = mem->dwarf_offset("counters2"); //starts at pain VIRTADDR base_counter3_addr = mem->dwarf_offset("counters3"); //starts at paralysis VIRTADDR base_limbs_addr = mem->dwarf_offset("limb_counters"); if(m_dwarf->get_caste()){ //the unconscious state seems to depend on whether or not the dwarf is sleeping //normally the unconscious counter doesn't seem to exceed 2 for a sleeping dwarf, but this is safer if(!m_dwarf->get_caste()->flags().has_flag(NO_SLEEP)) sleeping = (m_dwarf->current_job_id() == DwarfJob::JOB_SLEEP); vals.clear(); sh_counter = m_df->read_short(m_dwarf_addr + base_counter_addr+0x4); //unconscious if(!sleeping && sh_counter > 0){ vals.append(0); unconscious = true; } if(!m_dwarf->get_caste()->flags().has_flag(NO_STUN)){ sh_counter = m_df->read_short(m_dwarf_addr + base_counter_addr+0x2); //stunned if(sh_counter > 0){ vals.append(1); } } if(!m_dwarf->get_caste()->flags().has_flag(WEB_IMMUNE)){ sh_counter = m_df->read_short(m_dwarf_addr + base_counter_addr+0x8); //webbed if(sh_counter > 0) vals.append(2); } if(!m_dwarf->get_caste()->flags().has_flag(NO_DIZZINESS)){ counter = m_df->read_short(m_dwarf_addr + base_counter2_addr + 0x8); //dizzy if(counter > 0) vals.append(3); } if(vals.size() > 0) add_info(eHealth::HI_MOVEMENT,vals); //breathing problems/drowning/winded if(!m_dwarf->get_caste()->flags().has_flag(NO_BREATHE)){ // bool drowning = false; vals.clear(); sh_counter = m_df->read_short(m_dwarf_addr + base_counter_addr); if(sh_counter > 0) vals.push_front(3); //winded //it appears that amphibious creatures don't need breathing parts, and so can't have problems breathing? if(!m_dwarf->get_caste()->flags().has_flag(AMPHIBIOUS)){ if(m_dwarf->get_flag1() & 0x20){ vals.push_front(1); //drowning m_critical_wounds = true; // drowning = true; } if(!(m_dwarf->get_flag2() & 0x10000000)){ vals.push_front(0); //missing breathing part (can't breathe) m_critical_wounds = true; } else if(m_dwarf->get_flag2() & 0x20000000) vals.push_front(2); //trouble breathing } if(vals.size() > 0) add_info(eHealth::HI_BREATHING, vals); } //seems can't stand is set when drowning, unconscious?, or laying on the ground (0x8000 flag check) if(!m_dwarf->get_caste()->flags().has_flag(IMMOBILE_LAND)){ short limb_stand_max = m_df->read_short(m_dwarf_addr + base_limbs_addr); m_limb_stand_count = m_df->read_short(m_dwarf_addr + base_limbs_addr + 0x2); if(limb_stand_max > 0){ bool fallen_down = m_dwarf->get_flag1() & 0x8000 && !sleeping; //having a crutch doesn't seem to count as a limb to stand on?? bool has_crutch = m_dwarf->get_flag3() & 0x40; m_limb_stand_count += has_crutch; add_info(eHealth::HI_CRUTCH, health_flags & (1 << 10), has_crutch); vals.clear(); //seems if a dwarf only has a single good limb to stand on (including crutches) but has fallen, then they cannot stand if(m_limb_stand_count <= 0 || (m_limb_stand_count < limb_stand_max && fallen_down) || unconscious){ //if(unconscious || stunned || drowning || limb_stand_count <= 0) vals.append(0); if(needs_diagnosis && m_dwarf->current_job_id() != 52) //if already resting, then they've been recovered add_info(eHealth::HI_DIAGNOSIS, health_flags & (1 << 2)); //not diagnosed yet, but can't walk, and isn't resting yet. needs recovery }else if(m_limb_stand_count < limb_stand_max){ if(!has_crutch) vals.append(1); //stand impaired // else // vals.append(2); //can stand with crutch? } if(vals.size() > 0) add_info(eHealth::HI_STAND,vals); } } //check the grasp status vals.clear(); short limb_grasp_max = m_df->read_short(m_dwarf_addr + base_limbs_addr + 0x4); short limb_grasp_count = m_df->read_short(m_dwarf_addr + base_limbs_addr + 0x6); if(limb_grasp_max > 0){ if(limb_grasp_count <= 0) vals.append(0); else if(limb_grasp_count < limb_grasp_max) vals.append(1); if(vals.size() > 0) add_info(eHealth::HI_GRASP,vals); } //check the flight status if(m_dwarf->get_caste()->flags().has_flag(FLIER)){ vals.clear(); short limb_fly_max = m_df->read_short(m_dwarf_addr + base_limbs_addr + 0x8); short limb_fly_count = m_df->read_short(m_dwarf_addr + base_limbs_addr + 0xa); if(limb_fly_max > 0){ if(limb_fly_count <= 0) vals.append(0); else if(limb_fly_count < limb_fly_max) vals.append(1); if(vals.size() > 0) add_info(eHealth::HI_FLY,vals); } } //check blood loss int blood_max = m_df->read_short(m_dwarf_addr + mem->dwarf_offset("blood")); int blood_curr = m_df->read_short(m_dwarf_addr + mem->dwarf_offset("blood")+0x4); float blood_perc = (float)blood_curr / (float)blood_max; if(blood_perc > 0){ add_info(eHealth::HI_BLOOD_LOSS, (blood_perc < 0.25),(blood_perc < 0.50)); if(blood_perc <= 0.5) m_critical_wounds = true; } //check hunger if(!m_dwarf->get_caste()->flags().has_flag(NO_EAT)){ counter = m_df->read_int(m_dwarf_addr + base_counter3_addr + 0x10); add_info(eHealth::HI_HUNGER, (counter >= 75000),(counter >= 50000)); if(counter >= 75000) m_critical_wounds = true; } //check thirst if(!m_dwarf->get_caste()->flags().has_flag(NO_DRINK)){ counter = m_df->read_int(m_dwarf_addr + base_counter3_addr + 0x14); add_info(eHealth::HI_THIRST, (counter >= 50000),(counter >= 25000)); if(counter >= 50000) m_critical_wounds = true; } //check drowsiness if(!m_dwarf->get_caste()->flags().has_flag(NO_EXERT)){ counter = m_df->read_int(m_dwarf_addr + base_counter3_addr + 0x18); add_info(eHealth::HI_SLEEPLESS,(counter >= 150000), (counter >= 57600)); } //check exhaustion if(!m_dwarf->get_caste()->flags().has_flag(NO_EXERT)){ counter = m_df->read_int(m_dwarf_addr + base_counter3_addr + 0xc); add_info(eHealth::HI_TIREDNESS, (counter >= 6000),(counter >= 4000),(counter >= 2000)); } //check paralysis if(!m_dwarf->get_caste()->flags().has_flag(PARALYZE_IMMUNE)){ counter = m_df->read_int(m_dwarf_addr + base_counter3_addr); add_info(eHealth::HI_PARALYSIS, (counter >= 100), (counter >= 50), (counter >= 1)); if(counter >= 100) m_critical_wounds = true; } //check numbness counter = m_df->read_int(m_dwarf_addr + base_counter3_addr + 0x4); add_info(eHealth::HI_NUMBNESS, (counter >= 100), (counter >= 50), (counter >= 1)); //check fever if(!m_dwarf->get_caste()->flags().has_flag(NO_FEVERS)){ counter = m_df->read_int(m_dwarf_addr + base_counter3_addr + 0x8); add_info(eHealth::HI_FEVER, (counter >= 100), (counter >= 50), (counter >= 1)); } //check nausea if(!m_dwarf->get_caste()->flags().has_flag(NO_NAUSEA)){ counter = m_df->read_int(m_dwarf_addr + base_counter2_addr + 0x4); add_info(eHealth::HI_NAUSEOUS, (counter > 0)); } //check pain if(!m_dwarf->get_caste()->flags().has_flag(NO_PAIN)){ counter = m_df->read_int(m_dwarf_addr + base_counter2_addr); add_info(eHealth::HI_PAIN, (counter > 50), (counter > 25), (counter > 0)); } //vision if(!m_dwarf->get_caste()->flags().has_flag(EXTRAVISION)){ add_info(eHealth::HI_VISION,!(m_dwarf->get_flag2() & 0x02000000), m_dwarf->get_flag2() & 0x04000000, m_dwarf->get_flag2() & 0x08000000); } //gutted bool gutted = m_dwarf->get_flag2() & 0x00004000; add_info(eHealth::HI_GUTTED, gutted); if(gutted) m_critical_wounds = true; }else{ LOGW << "skipping health status read due to invalid caste for unit" << m_dwarf->nice_name(); } } void UnitHealth::read_wounds(){ VIRTADDR addr = m_df->memory_layout()->dwarf_offset("body_component_info"); body_part_status_flags = m_df->enum_vec<qint32>(m_dwarf_addr + addr); layer_status_flags = m_df->enum_vec<qint32>(m_dwarf_addr + addr + m_df->memory_layout()->dwarf_offset("layer_status_vector")); //add the wounds based on the wounded parts QVector<VIRTADDR> wounds = m_df->enumerate_vector(m_dwarf_addr + m_df->memory_layout()->dwarf_offset("wounds_vector")); FlagArray caste_flags; if(m_dwarf->get_caste()){ caste_flags = m_dwarf->get_caste()->flags(); } foreach(VIRTADDR addr, wounds){ m_wounds.append(UnitWound(m_df,addr,caste_flags,this)); } //check body parts for old wounds (specifically missing parts), these wounds haven't been made during the course //of this fortress, so they won't show up under the wounds section we just examined int idx = 0; foreach(int bps, body_part_status_flags){ //filter this down to checking exact bits, since we're currently only check for motor/sensory nerve or missing part if(bps & 0x602){ UnitWound uw = UnitWound(m_df,idx,this); if(uw.get_wounded_parts().size() > 0){ m_wounds.append(uw); } } idx++; } build_wounds_summary(); //other grouping ideas: //group wounds by health category, to allow us to show only those wounds which are related to the column type //for example, if the column is for infection, then only show those bodyparts/wounds that are infected //the problem with this grouping is that there's no way to see ALL the wounds together //group the wounds by main body parts (right lower leg, head, upper body, etc..) this is primarily for showing wounds in body part columns //it seems the only way to accomplish this will be to read the tokens (LLL = left lower leg) and match them to appropriate pre-defined groups that we'd use as columns //for example, RLL and RUL would both be assigned to right leg. however the issue then is if our playable race has multiple right legs.. we'll have to use some kind of pattern matching //to map things appropriately RA* would match all instances of right arms } void UnitHealth::build_wounds_summary(){ foreach(UnitWound w, m_wounds){ //wound details by body part QHash<QString,QList<HealthInfo*> > wounds_info = w.get_wound_details(); foreach(QString bp_name, wounds_info.uniqueKeys()){ QList<HealthInfo*> wnd_details = wounds_info.take(bp_name); //keep a list of body parts and their related health info stuff QList<HealthInfo*> info_summary = m_wound_details.take(bp_name); foreach(HealthInfo* hi, wnd_details){ add_info(hi,info_summary); } if(info_summary.size() > 0){ m_wound_details.insert(bp_name,info_summary); if(!m_critical_wounds && w.is_critical()) m_critical_wounds = true; } } } } BodyPartDamage UnitHealth::get_body_part(int body_part_id){ if(!m_body_parts.keys().contains(body_part_id)){ quint32 bp_status = 0; quint32 bp_req = 0; if(body_part_id < body_part_status_flags.size()) bp_status = body_part_status_flags.at(body_part_id); if(body_part_id < health_req_flags.size()) bp_req = health_req_flags.at(body_part_id); BodyPartDamage bpd = BodyPartDamage(); if(m_dwarf->get_caste()){ BodyPart *bp = m_dwarf->get_caste()->get_body_part(body_part_id); bpd = BodyPartDamage(bp,bp_status,bp_req); m_body_parts.insert(body_part_id,bpd); }else{ m_body_parts.insert(body_part_id,bpd); } } return m_body_parts.value(body_part_id); } HealthInfo *UnitHealth::get_most_severe(eHealth::H_INFO h){ if(m_treatment_info.contains(h)){ return m_treatment_info.value(h).at(0); } if(m_status_info.contains(h)){ return m_status_info.value(h).at(0); } if(m_wounds_info.contains(h)){ return m_wounds_info.value(h).at(0); } return 0x0; } bool UnitHealth::has_info_detail(eHealth::H_INFO h, int idx){ if(m_treatment_info.contains(h)){ if(m_treatment_info.value(h).contains(get_health_info(h,idx))) return true; } if(m_status_info.contains(h)){ if(m_status_info.value(h).contains(get_health_info(h,idx))) return true; } if(m_wounds_info.contains(h)){ if(m_wounds_info.value(h).contains(get_health_info(h,idx))) return true; } return false; } QStringList UnitHealth::get_all_category_desc(eHealth::H_INFO hs, bool symbol_only, bool colored){ return get_health_description(hs)->get_all_descriptions(symbol_only,colored); } QMap<QString, QStringList> UnitHealth::get_wound_summary(bool colored, bool symbols){ int key = ((int)colored << 1) | (int)symbols; if(m_wound_summary.value(key).isEmpty()){ QMap<QString, QStringList> summary = m_wound_summary.value(key); foreach(QString bp, m_wound_details.uniqueKeys()){ QList<HealthInfo*> infos = m_wound_details.value(bp); QStringList bp_summary = summary.value(bp); foreach(HealthInfo* hi, infos){ QString desc = hi->formatted_value(colored,symbols); if(!bp_summary.contains(desc)) bp_summary.append(desc); } if(bp_summary.size() > 0){ qSort(bp_summary); summary.insert(bp,bp_summary); } } m_wound_summary.insert(key, summary); } return m_wound_summary.value(key); } QStringList UnitHealth::get_treatment_summary(bool colored, bool symbols){ int key = ((int)colored << 1) | (int)symbols; if(m_treatment_summary.value(key).isEmpty()){ QStringList summary = m_treatment_summary.value(key); foreach(eHealth::H_INFO h, m_treatment_info.uniqueKeys()){ foreach(HealthInfo* hi, m_treatment_info.value(h)){ summary.append(hi->formatted_value(colored,symbols)); } } qSort(summary); m_treatment_summary.insert(key,summary); } return m_treatment_summary.value(key); } QStringList UnitHealth::get_status_summary(bool colored, bool symbols){ int key = ((int)colored << 1) | (int)symbols; if(m_status_summary.value(key).isEmpty()){ QStringList summary = m_status_summary.value(key); foreach(eHealth::H_INFO h, m_status_info.uniqueKeys()){ if(m_status_info.value(h).count() > 0){ if(get_health_description(h)->allows_multiple()){ //m_display_descriptions.value(h).at(0)->can_have_multiple()){ foreach(HealthInfo *hi,m_status_info.value(h)){ summary.append(hi->formatted_value(colored,symbols)); } }else{ summary.append(m_status_info.value(h).at(0)->formatted_value(colored,symbols)); } } } qSort(summary); m_status_summary.insert(key,summary); } return m_status_summary.value(key); } HealthInfo* UnitHealth::get_health_info(eHealth::H_INFO hs, short idx){ return get_health_description(hs)->description(idx); } void UnitHealth::load_health_descriptors(QSettings &s){ if(m_health_descriptions.count() <= 0){ //add a blank default category m_health_descriptions.insert(eHealth::HI_UNK,new HealthCategory()); int categories = s.beginReadArray("health_info"); QStringList cat_names; for(int i = 0; i < categories; ++i) { s.setArrayIndex(i); HealthCategory *hc = new HealthCategory(s); m_health_descriptions.insert(hc->id(),hc); cat_names.append(hc->name()); } s.endArray(); qSort(cat_names); foreach(QString name, cat_names) { foreach(eHealth::H_INFO id, m_health_descriptions.uniqueKeys()) { if (m_health_descriptions.value(id)->name() == name) { m_ordered_category_names << qMakePair<eHealth::H_INFO, QString>(id, name); break; } } } } } HealthCategory *UnitHealth::get_health_description(eHealth::H_INFO id){ if(!m_health_descriptions.contains(id)){ id = eHealth::HI_UNK; } return m_health_descriptions.value(id); } void UnitHealth::cleanup(){ qDeleteAll(m_health_descriptions); m_health_descriptions.clear(); }
[ "clement.vuchener@gmail.com" ]
clement.vuchener@gmail.com
1f1eeae1d1fe0b77a2438d21a63ce0317731e4b4
21553f6afd6b81ae8403549467230cdc378f32c9
/arm/cortex/Freescale/MK40D7/include/arch/reg/uart4.hpp
63e7ccc4bcae0ff016e219fc3663829360d15a5d
[]
no_license
digint/openmptl-reg-arm-cortex
3246b68dcb60d4f7c95a46423563cab68cb02b5e
88e105766edc9299348ccc8d2ff7a9c34cddacd3
refs/heads/master
2021-07-18T19:56:42.569685
2017-10-26T11:11:35
2017-10-26T11:11:35
108,407,162
3
1
null
null
null
null
UTF-8
C++
false
false
12,160
hpp
/* * OpenMPTL - C++ Microprocessor Template Library * * This program is a derivative representation of a CMSIS System View * Description (SVD) file, and is subject to the corresponding license * (see "Freescale CMSIS-SVD License Agreement.pdf" in the parent directory). * * 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. */ //////////////////////////////////////////////////////////////////////// // // Import from CMSIS-SVD: "Freescale/MK40D7.svd" // // vendor: Freescale Semiconductor, Inc. // vendorID: Freescale // name: MK40D7 // series: Kinetis_K // version: 1.6 // description: MK40D7 Freescale Microcontroller // -------------------------------------------------------------------- // // C++ Header file, containing architecture specific register // declarations for use in OpenMPTL. It has been converted directly // from a CMSIS-SVD file. // // https://digint.ch/openmptl // https://github.com/posborne/cmsis-svd // #ifndef ARCH_REG_UART4_HPP_INCLUDED #define ARCH_REG_UART4_HPP_INCLUDED #warning "using untested register declarations" #include <register.hpp> namespace mptl { /** * Serial Communication Interface */ struct UART4 { static constexpr reg_addr_t base_addr = 0x400ea000; /** * UART Baud Rate Registers:High */ struct BDH : public reg< uint8_t, base_addr + 0, rw, 0 > { using type = reg< uint8_t, base_addr + 0, rw, 0 >; using SBR = regbits< type, 0, 5 >; /**< UART Baud Rate Bits */ using RXEDGIE = regbits< type, 6, 1 >; /**< RxD Input Active Edge Interrupt Enable */ using LBKDIE = regbits< type, 7, 1 >; /**< LIN Break Detect Interrupt Enable */ }; /** * UART Baud Rate Registers: Low */ struct BDL : public reg< uint8_t, base_addr + 0x1, rw, 0x4 > { using type = reg< uint8_t, base_addr + 0x1, rw, 0x4 >; using SBR = regbits< type, 0, 8 >; /**< UART Baud Rate Bits */ }; /** * UART Control Register 1 */ struct C1 : public reg< uint8_t, base_addr + 0x2, rw, 0 > { using type = reg< uint8_t, base_addr + 0x2, rw, 0 >; using PT = regbits< type, 0, 1 >; /**< Parity Type */ using PE = regbits< type, 1, 1 >; /**< Parity Enable */ using ILT = regbits< type, 2, 1 >; /**< Idle Line Type Select */ using WAKE = regbits< type, 3, 1 >; /**< Receiver Wakeup Method Select */ using M = regbits< type, 4, 1 >; /**< 9-bit or 8-bit Mode Select */ using RSRC = regbits< type, 5, 1 >; /**< Receiver Source Select */ using UARTSWAI = regbits< type, 6, 1 >; /**< UART Stops in Wait Mode */ using LOOPS = regbits< type, 7, 1 >; /**< Loop Mode Select */ }; /** * UART Control Register 2 */ struct C2 : public reg< uint8_t, base_addr + 0x3, rw, 0 > { using type = reg< uint8_t, base_addr + 0x3, rw, 0 >; using SBK = regbits< type, 0, 1 >; /**< Send Break */ using RWU = regbits< type, 1, 1 >; /**< Receiver Wakeup Control */ using RE = regbits< type, 2, 1 >; /**< Receiver Enable */ using TE = regbits< type, 3, 1 >; /**< Transmitter Enable */ using ILIE = regbits< type, 4, 1 >; /**< Idle Line Interrupt Enable */ using RIE = regbits< type, 5, 1 >; /**< Receiver Full Interrupt or DMA Transfer Enable */ using TCIE = regbits< type, 6, 1 >; /**< Transmission Complete Interrupt Enable */ using TIE = regbits< type, 7, 1 >; /**< Transmitter Interrupt or DMA Transfer Enable. */ }; /** * UART Status Register 1 */ struct S1 : public reg< uint8_t, base_addr + 0x4, ro, 0xC0 > { using type = reg< uint8_t, base_addr + 0x4, ro, 0xC0 >; using PF = regbits< type, 0, 1 >; /**< Parity Error Flag */ using FE = regbits< type, 1, 1 >; /**< Framing Error Flag */ using NF = regbits< type, 2, 1 >; /**< Noise Flag */ using OR = regbits< type, 3, 1 >; /**< Receiver Overrun Flag */ using IDLE = regbits< type, 4, 1 >; /**< Idle Line Flag */ using RDRF = regbits< type, 5, 1 >; /**< Receive Data Register Full Flag */ using TC = regbits< type, 6, 1 >; /**< Transmit Complete Flag */ using TDRE = regbits< type, 7, 1 >; /**< Transmit Data Register Empty Flag */ }; /** * UART Status Register 2 */ struct S2 : public reg< uint8_t, base_addr + 0x5, rw, 0 > { using type = reg< uint8_t, base_addr + 0x5, rw, 0 >; using RAF = regbits< type, 0, 1 >; /**< Receiver Active Flag */ using LBKDE = regbits< type, 1, 1 >; /**< LIN Break Detection Enable */ using BRK13 = regbits< type, 2, 1 >; /**< Break Transmit Character Length */ using RWUID = regbits< type, 3, 1 >; /**< Receive Wakeup Idle Detect */ using RXINV = regbits< type, 4, 1 >; /**< Receive Data Inversion */ using MSBF = regbits< type, 5, 1 >; /**< Most Significant Bit First */ using RXEDGIF = regbits< type, 6, 1 >; /**< RxD Pin Active Edge Interrupt Flag */ using LBKDIF = regbits< type, 7, 1 >; /**< LIN Break Detect Interrupt Flag */ }; /** * UART Control Register 3 */ struct C3 : public reg< uint8_t, base_addr + 0x6, rw, 0 > { using type = reg< uint8_t, base_addr + 0x6, rw, 0 >; using PEIE = regbits< type, 0, 1 >; /**< Parity Error Interrupt Enable */ using FEIE = regbits< type, 1, 1 >; /**< Framing Error Interrupt Enable */ using NEIE = regbits< type, 2, 1 >; /**< Noise Error Interrupt Enable */ using ORIE = regbits< type, 3, 1 >; /**< Overrun Error Interrupt Enable */ using TXINV = regbits< type, 4, 1 >; /**< Transmit Data Inversion. */ using TXDIR = regbits< type, 5, 1 >; /**< Transmitter Pin Data Direction in Single-Wire mode */ using T8 = regbits< type, 6, 1 >; /**< Transmit Bit 8 */ using R8 = regbits< type, 7, 1 >; /**< Received Bit 8 */ }; /** * UART Data Register */ struct D : public reg< uint8_t, base_addr + 0x7, rw, 0 > { using type = reg< uint8_t, base_addr + 0x7, rw, 0 >; using RT = regbits< type, 0, 8 >; /**< no description available */ }; /** * UART Match Address Registers 1 */ struct MA1 : public reg< uint8_t, base_addr + 0x8, rw, 0 > { using type = reg< uint8_t, base_addr + 0x8, rw, 0 >; using MA = regbits< type, 0, 8 >; /**< Match Address */ }; /** * UART Match Address Registers 2 */ struct MA2 : public reg< uint8_t, base_addr + 0x9, rw, 0 > { using type = reg< uint8_t, base_addr + 0x9, rw, 0 >; using MA = regbits< type, 0, 8 >; /**< Match Address */ }; /** * UART Control Register 4 */ struct C4 : public reg< uint8_t, base_addr + 0xa, rw, 0 > { using type = reg< uint8_t, base_addr + 0xa, rw, 0 >; using BRFA = regbits< type, 0, 5 >; /**< Baud Rate Fine Adjust */ using M10 = regbits< type, 5, 1 >; /**< 10-bit Mode select */ using MAEN2 = regbits< type, 6, 1 >; /**< Match Address Mode Enable 2 */ using MAEN1 = regbits< type, 7, 1 >; /**< Match Address Mode Enable 1 */ }; /** * UART Control Register 5 */ struct C5 : public reg< uint8_t, base_addr + 0xb, rw, 0 > { using type = reg< uint8_t, base_addr + 0xb, rw, 0 >; using RDMAS = regbits< type, 5, 1 >; /**< Receiver Full DMA Select */ using TDMAS = regbits< type, 7, 1 >; /**< Transmitter DMA Select */ }; /** * UART Extended Data Register */ struct ED : public reg< uint8_t, base_addr + 0xc, ro, 0 > { using type = reg< uint8_t, base_addr + 0xc, ro, 0 >; using PARITYE = regbits< type, 6, 1 >; /**< no description available */ using NOISY = regbits< type, 7, 1 >; /**< no description available */ }; /** * UART Modem Register */ struct MODEM : public reg< uint8_t, base_addr + 0xd, rw, 0 > { using type = reg< uint8_t, base_addr + 0xd, rw, 0 >; using TXCTSE = regbits< type, 0, 1 >; /**< Transmitter clear-to-send enable */ using TXRTSE = regbits< type, 1, 1 >; /**< Transmitter request-to-send enable */ using TXRTSPOL = regbits< type, 2, 1 >; /**< Transmitter request-to-send polarity */ using RXRTSE = regbits< type, 3, 1 >; /**< Receiver request-to-send enable */ }; /** * UART Infrared Register */ struct IR : public reg< uint8_t, base_addr + 0xe, rw, 0 > { using type = reg< uint8_t, base_addr + 0xe, rw, 0 >; using TNP = regbits< type, 0, 2 >; /**< Transmitter narrow pulse */ using IREN = regbits< type, 2, 1 >; /**< Infrared enable */ }; /** * UART FIFO Parameters */ struct PFIFO : public reg< uint8_t, base_addr + 0x10, rw, 0 > { using type = reg< uint8_t, base_addr + 0x10, rw, 0 >; using RXFIFOSIZE = regbits< type, 0, 3 >; /**< Receive FIFO. Buffer Depth */ using RXFE = regbits< type, 3, 1 >; /**< Receive FIFO Enable */ using TXFIFOSIZE = regbits< type, 4, 3 >; /**< Transmit FIFO. Buffer Depth */ using TXFE = regbits< type, 7, 1 >; /**< Transmit FIFO Enable */ }; /** * UART FIFO Control Register */ struct CFIFO : public reg< uint8_t, base_addr + 0x11, rw, 0 > { using type = reg< uint8_t, base_addr + 0x11, rw, 0 >; using RXUFE = regbits< type, 0, 1 >; /**< Receive FIFO Underflow Interrupt Enable */ using TXOFE = regbits< type, 1, 1 >; /**< Transmit FIFO Overflow Interrupt Enable */ using RXFLUSH = regbits< type, 6, 1 >; /**< Receive FIFO/Buffer Flush */ using TXFLUSH = regbits< type, 7, 1 >; /**< Transmit FIFO/Buffer Flush */ }; /** * UART FIFO Status Register */ struct SFIFO : public reg< uint8_t, base_addr + 0x12, rw, 0xC0 > { using type = reg< uint8_t, base_addr + 0x12, rw, 0xC0 >; using RXUF = regbits< type, 0, 1 >; /**< Receiver Buffer Underflow Flag */ using TXOF = regbits< type, 1, 1 >; /**< Transmitter Buffer Overflow Flag */ using RXEMPT = regbits< type, 6, 1 >; /**< Receive Buffer/FIFO Empty */ using TXEMPT = regbits< type, 7, 1 >; /**< Transmit Buffer/FIFO Empty */ }; /** * UART FIFO Transmit Watermark */ struct TWFIFO : public reg< uint8_t, base_addr + 0x13, rw, 0 > { using type = reg< uint8_t, base_addr + 0x13, rw, 0 >; using TXWATER = regbits< type, 0, 8 >; /**< Transmit Watermark */ }; /** * UART FIFO Transmit Count */ struct TCFIFO : public reg< uint8_t, base_addr + 0x14, ro, 0 > { using type = reg< uint8_t, base_addr + 0x14, ro, 0 >; using TXCOUNT = regbits< type, 0, 8 >; /**< Transmit Counter */ }; /** * UART FIFO Receive Watermark */ struct RWFIFO : public reg< uint8_t, base_addr + 0x15, rw, 0x1 > { using type = reg< uint8_t, base_addr + 0x15, rw, 0x1 >; using RXWATER = regbits< type, 0, 8 >; /**< Receive Watermark */ }; /** * UART FIFO Receive Count */ struct RCFIFO : public reg< uint8_t, base_addr + 0x16, ro, 0 > { using type = reg< uint8_t, base_addr + 0x16, ro, 0 >; using RXCOUNT = regbits< type, 0, 8 >; /**< Receive Counter */ }; }; } // namespace mptl #endif // ARCH_REG_UART4_HPP_INCLUDED
[ "axel@tty0.ch" ]
axel@tty0.ch
006524abb13e3ad6b89b328a247b7dd83f1019c4
6d5f2e99ae89e6c59bdafed707f5a5db673dec23
/src/cli/main_dbExport.cpp
c24310e7f957561d1b2da5ea6b5fff1465627c66
[ "MIT" ]
permissive
bencabrera/grawitas
b633ae1dbbbb3da8a37b61b2cb48c493d7c299d2
8eda68846ed283afe70d56d68375525a1140de70
refs/heads/master
2022-03-27T08:27:16.948509
2018-01-19T09:48:37
2018-01-19T09:48:37
81,924,748
7
7
MIT
2022-01-25T18:14:46
2017-02-14T08:49:49
C++
UTF-8
C++
false
false
4,718
cpp
#include <iostream> #include <fstream> #include "../../libs/cxxopts/include/cxxopts.hpp" #include <boost/algorithm/string/trim.hpp> #include <boost/algorithm/string/replace.hpp> #include "../misc/stepTimer.h" #include "../misc/readLinesFromFile.h" #include "../output/formats.h" #include "../output/outputHelpers.h" #include "../talkPageParser/models.h" #include "../output/outputWrapper.h" #include "../xmlToSql/getArticlesFromDb.h" #include "../xmlToSql/getUsersFromDb.h" #include "../xmlToSql/getFilteredCommentsFromDb.h" #include "../xmlToSql/getIdsFromDb.h" #include <cstdlib> #include <sqlite3.h> using namespace Grawitas; int main(int argc, char** argv) { StepTimer timings; timings.startTiming("global", "Total"); cxxopts::Options options("grawitas_cli_xml", "Parses talk pages in Wikipedia xml dumps to a sqlite file containing the structured comments."); options.add_options() ("h,help", "Produces this help message.") ("i,sqlite-file", "Sqlite file created by grawitas_cli_xml_to_db.", cxxopts::value<std::string>()) ("a,article-filter-file", "File containing articles for which to extract comments.", cxxopts::value<std::string>()) ("u,user-filter-file", "File containing users for which to extract comments.", cxxopts::value<std::string>()) // network output ("user-network-gml", "Output file for user network (GML).", cxxopts::value<std::string>()) ("user-network-graphml", "Output file for user network (GraphML).", cxxopts::value<std::string>()) ("user-network-graphviz", "Output file for user network (GraphViz).", cxxopts::value<std::string>()) ("comment-network-gml", "Output file for comment network (GML).", cxxopts::value<std::string>()) ("comment-network-graphml", "Output file for comment network (GraphML).", cxxopts::value<std::string>()) ("comment-network-graphviz", "Output file for comment network (GraphViz).", cxxopts::value<std::string>()) ("two-mode-network-gml", "Output file for two-mode user-/comment network (GML).", cxxopts::value<std::string>()) ("two-mode-network-graphml", "Output file for two-mode user-/comment network (GraphML).", cxxopts::value<std::string>()) ("two-mode-network-graphviz", "Output file for two-mode user-/comment network (GraphViz).", cxxopts::value<std::string>()) // list output ("comment-list-csv", "Output file for comment list (csv).", cxxopts::value<std::string>()) ("comment-list-human-readable", "Output file for comment list (human readable).", cxxopts::value<std::string>()) ("comment-list-json", "Output file for comment list (json).", cxxopts::value<std::string>()) ("t,show-timings", "Flag to show timings.") ; options.positional_help("<input-paths-file> <output-sqlite-file>"); options.parse_positional(std::vector<std::string>{"input-paths-file","output-sqlite-file"}); options.parse(argc, argv); // display help if --help was specified if (options.count("help")) { std::cout << options.help() << std::endl; return 0; } if(!options.count("sqlite-file")) throw std::invalid_argument("Input sqlite database file not specified."); const std::string sqlite_file_path = options["sqlite-file"].as<std::string>(); // Open database sqlite3* sqlite_db; auto rc = sqlite3_open(sqlite_file_path.c_str(), &sqlite_db); if(rc) { std::string msg = sqlite3_errmsg(sqlite_db); sqlite3_close(sqlite_db); throw std::logic_error("Can't open database: %s\n" + msg); } std::vector<std::size_t> article_ids, user_ids; if(options.count("article-filter-file")) { const std::string article_filter_file_path = options["article-filter-file"].as<std::string>(); std::ifstream article_filter_file(article_filter_file_path); std::vector<std::string> article_titles = read_lines_from_file(article_filter_file); article_ids = get_article_ids_from_db(sqlite_db, article_titles); } if(options.count("user-filter-file")) { const std::string user_filter_file_path = options["user-filter-file"].as<std::string>(); std::ifstream user_filter_file(user_filter_file_path); std::vector<std::string> usernames = read_lines_from_file(user_filter_file); user_ids = get_user_ids_from_db(sqlite_db, usernames); } auto users = get_users_from_db(sqlite_db); auto articles = get_articles_from_db(sqlite_db); auto comments = get_filtered_comments(sqlite_db, user_ids, article_ids, &users, &articles); std::map<Format, std::string> formats; for (auto form_parameter : FormatParameterStrings) { if(options.count(form_parameter)) formats.insert({ parameter_to_format(form_parameter), options[form_parameter].as<std::string>() }); } output_in_formats_to_files(formats, comments, {"id", "parent_id", "user", "date", "section", "article", "text"}); return 0; }
[ "benny@bcabrera.de" ]
benny@bcabrera.de
9d6f73ebd327bd0bd25703d6523c28e961a2ac0e
0dd9cf13c4a9e5f28ae5f36e512e86de335c26b4
/LintCode/lintcode_continuous-subarray-sum-ii.cpp
bc9bddfce8606fc0ba765a4045eaf1324ace5cb1
[]
no_license
yular/CC--InterviewProblem
908dfd6d538ccd405863c27c65c78379e91b9fd3
c271ea63eda29575a7ed4a0bce3c0ed6f2af1410
refs/heads/master
2021-07-18T11:03:07.525048
2021-07-05T16:17:43
2021-07-05T16:17:43
17,499,294
37
13
null
null
null
null
UTF-8
C++
false
false
2,218
cpp
/* * * Tag: DP * Time: O(n) * Space: O(n) */ class Solution { public: /** * @param A an integer array * @return A list of integers includes the index of * the first number and the index of the last number */ vector<int> continuousSubarraySumII(vector<int>& A) { // Write your code here vector<int> ans(2); if(!A.size()) return ans; int start = 0, end = 0, maxval = INT_MIN; int sum = 0, n = A.size(); for(int i = 0; i < n; ++ i){ sum += A[i]; if(sum >= 0){ if(sum > maxval){ end = i; maxval = sum; ans[0] = start; ans[1] = end; } }else{ if(sum > maxval){ maxval = sum; end = i; ans[0] = start; ans[1] = end; } sum = 0; start = i + 1; } } vector<int> dp_start(n), dp_end(n); vector<int> idx_start(n), idx_end(n); sum = A[0]; dp_start[0] = sum; idx_start[0] = 0; for(int i = 1; i < n; ++ i){ sum += A[i]; if(sum > dp_start[i - 1]){ dp_start[i] = sum; idx_start[i] = i; }else{ dp_start[i] = dp_start[i - 1]; idx_start[i] = idx_start[i - 1]; } } sum = A[n - 1]; dp_end[n - 1] = sum; idx_end[n - 1] = n - 1; for(int i = n - 2; i >= 0; -- i){ sum += A[i]; if(sum > dp_end[i + 1]){ dp_end[i] = sum; idx_end[i] = i; }else{ dp_end[i] = dp_end[i + 1]; idx_end[i] = idx_end[i + 1]; } } for(int i = 0; i < n - 1; ++ i){ int tmpsum = dp_start[i] + dp_end[i + 1]; if(tmpsum > maxval){ maxval = tmpsum; ans[0] = idx_end[i + 1]; ans[1] = idx_start[i]; } } return ans; } };
[ "1062969706@qq.com" ]
1062969706@qq.com
fa020b0c960e58254a8e60fa53b567746eccc484
d386c45aa5ff031aea4ee418ed52c47318fabc7d
/.localhistory/C/Users/Bq/source/repos/threadtest/threadtest/threadtest/1566454464$threadtest.cpp
c5278aa398cebe8d5b549d8dd97ad5030d68bac2
[]
no_license
B-Qq/threadtest
150ac930ef6c73ed235e2e6db188011fec678446
c0c2681619a39a1e3bc0b9ef8ddafdfbcc7748f3
refs/heads/master
2020-07-08T03:33:57.766775
2019-08-27T01:26:47
2019-08-27T01:26:47
203,552,182
0
0
null
null
null
null
UTF-8
C++
false
false
4,101
cpp
//#include "pch.h" //#include <iostream> //#include <condition_variable> //#include <thread> // //std::condition_variable cv; //std::mutex mtx; //bool ready = false; // //void do_print_id(int id) //{ // std::unique_lock<std::mutex> lck(mtx); // while (!ready) // { // cv.wait(lck); // } // std::cout << "thread " << id << std::endl; //} // //void go() //{ // std::unique_lock<std::mutex> lck(mtx); // ready = true; // //cv.notify_one(); // cv.notify_all(); //} // //int main() //{ // std::thread threads[10]; // // for (int i = 0; i < 10; i++) // { // threads[i] = std::thread(do_print_id, i); // } // // std::cout << "10 threads ready to race ...." << std::endl; // go(); // // for (auto &th : threads) // { // if (th.joinable()) // { // th.join(); // } // } // // return 0; //} // //#include "pch.h" //#include <algorithm> // //std::mutex mtx; // //void add(int &num, int &sum) //{ // while (true) // { // std::lock_guard<std::mutex> lock(mtx); // if (num < 100) // { // num += 1; // sum += num; // } // else // { // break; // } // } //} // //int main() //{ // int sum = 0; // int num = 0; // std::vector<std::thread> ver; // std::array<int, 4> arrayInt = { 1, 2, 3, 4 }; // std::tuple<int, std::string, char> cct = { 1, "2", '3' }; // auto ccs = std::tie("11", "22", "33"); // auto css = std::make_tuple("11", "23", 1); // std::cout << std::get<0>(ccs) << std::endl; // std::cout << std::get<1>(ccs) << std::endl; // std::cout << std::get<2>(ccs) << std::endl; // // std::cout << std::get<0>(css) << std::endl; // std::cout << std::get<1>(css) << std::endl; // std::cout << std::get<2>(css) << std::endl; // // std::lock_guard<std::mutex> ccsa(mtx); // std::unique_lock<std::mutex> ccsss(mtx); // ccsss.unlock(); // // //for (auto &t : arrayInt) // //{ // // std::cout << t << std::endl; // //} // // //for (int i = 0; i < 20; i++) // //{ // // std::thread t = std::thread(add, std::ref(num), std::ref(sum)); // // //ver.push_back(std::move(t)); // // t.detach(); // //} // //std::cout << sum << std::endl; // // //while (true) // //{ // // std::this_thread::sleep_for(std::chrono::seconds(2)); // //} // // return 0; //} #include "pch.h" #include <algorithm> #include <regex> //std::mutex mtx; // //static int num = 0; //static int sum = 0; // //void add() //{ // //std::lock_guard<std::mutex> glock(mtx); // if (num < 5) // { // num += 1; // sum += num; // } //} // //int main() //{ // //std::vector<std::thread *> threads; // // //for (int i = 0; i < 5; i++) // //{ // // std::thread *t = new std::thread(add); // // threads.emplace_back(t); // //} // // //std::for_each(threads.begin(), threads.end(), [](std::thread *t) {t->detach(); }); // // //std::cout << "sum" << sum << std::endl; // // //std::string fnames[] = { "foo.txt", "bar.txt", "test", "a0.txt", "AAA.txt" }; // //std::regex txt_regex(R("[A-Z]+[0-9]+.txt")); // //for (const auto &fname : fnames) // // std::cout << fname << ": " << std::regex_match(fname, txt_regex) << std::endl; // return 0; //} //int sum(int a, int b) //{ // std::this_thread::sleep_for(std::chrono::seconds(5)); // return a + b; //} // //int main() //{ // std::packaged_task<int(int, int)> task(sum); // std::future<int> future = task.get_future(); // std::thread t(std::move(task), 1, 2); // while (1) // { // std::this_thread::sleep_for(std::chrono::seconds(1)); // std::cout << "1 + 2:" << future.get() << std::endl; // } // // t.join(); // return 0; //} std::deque<int> q; std::mutex mtx; std::condition_variable c; void function_1() { int count = 50; while (count > 0) { std::unique_lock<std::mutex> locker(mtx); q.push_back(count); locker.unlock(); c.notify_one(); std::this_thread::sleep_for(std::chrono::seconds(1)); count--; } } void function_2() { int data = 0; while (data != 1) { std::unique_lock<std::mutex> locker(mtx); while (q.empty()) c.wait(locker); data = q.back(); q.pop_back(); locker.unlock(); std::cout << "t2 got a value from t1:" << data << std::endl; } } int main() { std::thread t1(function_1); std::thread t2(function_2); t1.join(); t2.join(); return 0; }
[ "bq5773718@163.com" ]
bq5773718@163.com
e2012dc94f114c1c7dc28fb020d2f974ce7167ef
38b9daafe39f937b39eefc30501939fd47f7e668
/tutorials/2WayCouplingOceanWave3D/EvalResults180628-Eta-ux-uy/17/p_rgh
f2f65400d2562ee8675e57eba5fe9aa5289c5a17
[]
no_license
rubynuaa/2-way-coupling
3a292840d9f56255f38c5e31c6b30fcb52d9e1cf
a820b57dd2cac1170b937f8411bc861392d8fbaa
refs/heads/master
2020-04-08T18:49:53.047796
2018-08-29T14:22:18
2018-08-29T14:22:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
195,224
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 3.0.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "17"; object p_rgh; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField nonuniform List<scalar> 21420 ( 169.595 201.613 233.103 263.548 292.531 319.475 343.974 365.594 383.993 398.897 410.053 417.272 420.333 418.962 413.34 403.707 390.068 372.631 351.661 327.458 300.395 270.829 239.166 205.872 171.374 136.11 100.461 64.8043 29.6719 -1.27769 -34.3186 -66.241 -96.749 -125.658 -152.842 -178.204 -201.693 -223.281 -242.96 -260.749 -276.678 -290.788 -303.126 -313.742 -322.688 -330.012 -335.758 -339.97 -342.684 -343.91 -343.641 -341.574 -338.034 -332.943 -326.283 -318.04 -308.172 -296.637 -283.421 -268.496 -251.838 -233.456 -213.334 -191.495 -167.978 -142.832 -116.131 -87.9877 -58.5182 -27.89 3.71247 35.3206 68.1734 101.296 134.4 167.168 199.287 230.409 260.171 288.205 314.145 337.622 358.281 375.798 389.882 400.277 406.793 409.277 407.714 402.073 392.466 378.955 361.744 341.08 317.24 290.551 261.395 230.169 197.286 163.167 128.235 92.911 57.5732 22.5695 -11.7322 -45.0769 -77.214 -107.927 -137.031 -164.372 -189.823 -213.289 -234.705 -254.037 -271.286 -286.473 -299.64 -310.855 -320.177 -327.665 -333.397 -337.428 -339.838 -340.642 -339.852 -337.571 -333.791 -328.527 -321.77 -313.501 -303.683 -292.285 -279.289 -264.658 -248.348 -230.34 -210.627 -189.211 -166.109 -141.366 -115.044 -87.2404 -58.0791 -27.719 3.65118 35.8345 68.5298 101.486 134.388 166.907 198.686 229.374 258.618 286.064 311.367 334.209 354.284 371.327 385.107 395.423 402.137 405.112 404.258 399.597 391.177 379.003 363.209 343.941 321.398 295.833 267.52 236.799 204.049 169.653 134.05 97.7056 61.0843 24.6486 -11.1683 -45.9536 -79.3398 -111.021 -140.744 -168.312 -193.592 -216.508 -237.03 -255.173 -270.994 -284.577 -296.037 -305.505 -313.114 -319.004 -323.305 -326.137 -327.63 -327.864 -326.904 -324.842 -321.684 -317.442 -312.116 -305.687 -298.118 -289.33 -279.245 -267.795 -254.876 -240.386 -224.238 -206.345 -186.635 -165.05 -141.564 -116.183 -88.9502 -59.9635 -29.3718 2.63616 35.8158 69.8379 104.381 139.048 173.424 207.079 239.543 270.362 299.086 325.284 348.568 368.584 385.032 397.669 406.308 410.849 411.142 407.289 399.382 387.499 371.834 352.631 330.189 304.836 276.941 246.894 215.119 182.045 148.059 113.571 78.9763 44.5659 9.75597 -23.3202 -55.3335 -86.118 -115.504 -143.347 -169.533 -193.974 -216.607 -237.38 -256.268 -273.268 -288.387 -301.644 -313.063 -322.681 -330.528 -336.614 -340.965 -343.628 -344.598 -343.874 -341.531 -337.536 -331.915 -324.669 -315.787 -305.276 -293.129 -279.342 -263.919 -246.855 -228.167 -207.887 -186.034 -162.653 -137.819 -111.61 -84.1392 -55.5286 -25.9174 4.68181 36.5027 68.36 100.188 131.749 162.816 193.083 222.269 250.059 276.131 300.197 321.963 341.141 357.49 370.783 380.834 387.483 390.67 390.245 386.245 378.699 367.734 353.537 336.297 316.251 293.66 268.865 242.195 213.994 184.649 154.512 123.932 93.2332 62.7053 32.8322 6.57755 -21.3012 -48.1737 -73.7741 -97.9326 -120.537 -141.512 -160.803 -178.384 -194.242 -208.382 -220.825 -231.596 -240.731 -248.271 -254.261 -258.758 -261.802 -263.43 -263.408 -261.987 -259.192 -255.065 -249.651 -242.978 -235.084 -226.005 -215.734 -204.278 169.588 201.622 233.13 263.593 292.594 319.557 344.074 365.71 384.123 399.039 410.205 417.429 420.503 419.124 413.501 403.859 390.209 372.759 351.774 327.554 300.473 270.888 239.207 205.894 171.378 136.098 100.436 64.7679 29.6294 -1.35176 -34.3949 -66.3208 -96.832 -125.743 -152.928 -178.29 -201.778 -223.364 -243.042 -260.828 -276.755 -290.861 -303.197 -313.81 -322.754 -330.076 -335.82 -340.03 -342.743 -343.969 -343.698 -341.634 -338.094 -333.004 -326.346 -318.104 -308.238 -296.705 -283.492 -268.568 -251.913 -233.532 -213.411 -191.573 -168.055 -142.908 -116.205 -88.0582 -58.5848 -27.9515 3.65823 35.275 68.1376 101.27 134.386 167.167 199.3 230.438 260.215 288.267 314.223 337.717 358.391 375.923 390.019 400.424 406.946 409.438 407.866 402.222 392.609 379.09 361.867 341.188 317.332 290.625 261.451 230.207 197.305 163.168 128.22 92.8806 57.5297 22.5142 -11.7968 -45.1497 -77.2933 -108.011 -137.12 -164.464 -189.917 -213.383 -234.798 -254.129 -271.375 -286.559 -299.723 -310.934 -320.253 -327.739 -333.467 -337.496 -339.904 -340.703 -339.915 -337.632 -333.853 -328.589 -321.833 -313.565 -303.749 -292.353 -279.359 -264.73 -248.422 -230.416 -210.705 -189.289 -166.187 -141.443 -115.12 -87.3133 -58.1479 -27.7822 3.59563 35.7862 68.492 101.46 134.375 166.908 198.702 229.405 258.666 286.128 311.446 334.303 354.391 371.445 385.235 395.559 402.279 405.263 404.402 399.74 391.317 379.137 363.334 344.055 321.499 295.919 267.59 236.852 204.083 169.668 134.047 97.6838 61.0449 24.593 -11.2383 -46.0358 -79.4317 -111.12 -140.848 -168.419 -193.7 -216.615 -237.133 -255.273 -271.089 -284.667 -296.12 -305.582 -313.186 -319.07 -323.366 -326.194 -327.683 -327.912 -326.952 -324.888 -321.729 -317.487 -312.163 -305.736 -298.169 -289.385 -279.304 -267.859 -254.944 -240.459 -224.315 -206.427 -186.72 -165.138 -141.653 -116.273 -89.0392 -60.0492 -29.4522 2.56377 35.7521 69.7864 104.343 139.027 173.421 207.094 239.578 270.417 299.16 325.378 348.68 368.711 385.172 397.818 406.464 411.013 411.299 407.442 399.53 387.637 371.961 352.742 330.285 304.914 277 246.936 215.142 182.051 148.049 113.546 78.9396 44.5262 9.68867 -23.3867 -55.405 -86.1943 -115.583 -143.43 -169.617 -194.059 -216.692 -237.464 -256.351 -273.35 -288.466 -301.722 -313.139 -322.755 -330.6 -336.685 -341.035 -343.698 -344.664 -343.942 -341.598 -337.603 -331.982 -324.736 -315.855 -305.344 -293.199 -279.413 -263.991 -246.927 -228.24 -207.96 -186.106 -162.725 -137.889 -111.677 -84.2031 -55.5879 -25.9711 4.63287 36.4647 68.3321 100.171 131.743 162.823 193.103 222.302 250.107 276.193 300.274 322.053 341.243 357.604 370.907 380.965 387.622 390.812 390.38 386.377 378.828 367.857 353.65 336.398 316.338 293.733 268.922 242.236 214.019 184.66 154.508 123.916 93.2061 62.6694 32.7915 6.51128 -21.3688 -48.2439 -73.8467 -98.007 -120.612 -141.587 -160.878 -178.458 -194.314 -208.452 -220.893 -231.662 -240.795 -248.332 -254.32 -258.815 -261.857 -263.483 -263.46 -262.036 -259.241 -255.113 -249.698 -243.024 -235.13 -226.051 -215.779 -204.323 169.573 201.641 233.183 263.684 292.722 319.721 344.273 365.942 384.384 399.324 410.509 417.744 420.84 419.451 413.825 404.164 390.492 373.016 352 327.747 300.629 271.007 239.288 205.939 171.388 136.076 100.387 64.695 29.5437 -1.49928 -34.5471 -66.4804 -96.998 -125.913 -153.101 -178.463 -201.949 -223.532 -243.205 -260.987 -276.908 -291.009 -303.339 -313.947 -322.885 -330.203 -335.943 -340.15 -342.86 -344.085 -343.812 -341.753 -338.213 -333.124 -326.469 -318.231 -308.369 -296.84 -283.631 -268.711 -252.059 -233.682 -213.563 -191.725 -168.207 -143.056 -116.349 -88.1958 -58.7145 -28.0711 3.55209 35.1889 68.0701 101.224 134.363 167.17 199.332 230.5 260.31 288.395 314.386 337.913 358.62 376.18 390.3 400.724 407.26 409.77 408.176 402.531 392.906 379.368 362.121 341.413 317.524 290.782 261.572 230.29 197.35 163.179 128.198 92.8281 57.4507 22.4116 -11.918 -45.2872 -77.4441 -108.173 -137.289 -164.639 -190.095 -213.563 -234.977 -254.305 -271.547 -286.725 -299.882 -311.087 -320.399 -327.879 -333.602 -337.627 -340.03 -340.821 -340.035 -337.75 -333.97 -328.708 -321.953 -313.688 -303.875 -292.484 -279.495 -264.869 -248.565 -230.562 -210.854 -189.44 -166.338 -141.593 -115.266 -87.4533 -58.2796 -27.9028 3.4903 35.6958 68.4224 101.413 134.355 166.916 198.741 229.475 258.767 286.261 311.611 334.497 354.611 371.69 385.5 395.839 402.57 405.569 404.697 400.034 391.603 379.411 363.591 344.29 321.709 296.1 267.739 236.965 204.159 169.706 134.047 97.648 60.9739 24.4893 -11.3707 -46.1926 -79.6079 -111.311 -141.049 -168.625 -193.907 -216.82 -237.334 -255.466 -271.272 -284.839 -296.281 -305.73 -313.322 -319.195 -323.482 -326.3 -327.782 -328.001 -327.041 -324.973 -321.813 -317.572 -312.25 -305.827 -298.266 -289.488 -279.415 -267.978 -255.072 -240.596 -224.461 -206.582 -186.883 -165.306 -141.825 -116.446 -89.2094 -60.2129 -29.605 2.427 35.633 69.6916 104.277 138.993 173.423 207.134 239.657 270.537 299.319 325.575 348.912 368.973 385.46 398.126 406.786 411.341 411.63 407.759 399.835 387.924 372.222 352.975 330.484 305.078 277.128 247.027 215.197 182.071 148.036 113.504 78.8742 44.4533 9.56342 -23.5116 -55.5401 -86.3393 -115.736 -143.587 -169.778 -194.222 -216.855 -237.627 -256.512 -273.507 -288.62 -301.872 -313.285 -322.898 -330.739 -336.823 -341.172 -343.832 -344.791 -344.073 -341.727 -337.733 -332.112 -324.866 -315.987 -305.478 -293.334 -279.55 -264.129 -247.067 -228.382 -208.103 -186.248 -162.865 -138.026 -111.809 -84.3276 -55.7036 -26.0758 4.53798 36.391 68.279 100.138 131.733 162.837 193.143 222.371 250.204 276.319 300.427 322.234 341.449 357.832 371.154 381.228 387.899 391.102 390.649 386.641 379.086 368.103 353.876 336.601 316.514 293.878 269.036 242.319 214.07 184.68 154.5 123.884 93.152 62.5976 32.7095 6.37907 -21.5038 -48.3843 -73.9919 -98.1558 -120.763 -141.738 -161.027 -178.605 -194.459 -208.593 -221.03 -231.794 -240.922 -248.455 -254.439 -258.929 -261.967 -263.587 -263.565 -262.136 -259.338 -255.208 -249.791 -243.116 -235.222 -226.141 -215.869 -204.412 169.551 201.668 233.264 263.82 292.913 319.968 344.571 366.29 384.776 399.753 410.966 418.216 421.335 419.953 414.312 404.622 390.917 373.402 352.339 328.035 300.863 271.185 239.409 206.005 171.401 136.042 100.312 64.5855 29.4141 -1.71993 -34.7755 -66.7198 -97.2471 -126.169 -153.36 -178.722 -202.205 -223.784 -243.451 -261.225 -277.137 -291.23 -303.552 -314.151 -323.083 -330.393 -336.128 -340.33 -343.034 -344.259 -343.985 -341.932 -338.39 -333.304 -326.653 -318.421 -308.565 -297.043 -283.84 -268.926 -252.28 -233.907 -213.791 -191.953 -168.434 -143.28 -116.565 -88.4025 -58.9093 -28.2509 3.3912 35.0607 67.9688 101.154 134.328 167.175 199.379 230.594 260.452 288.588 314.631 338.208 358.963 376.567 390.723 401.174 407.73 410.261 408.649 402.998 393.352 379.786 362.502 341.75 317.813 291.018 261.753 230.414 197.419 163.196 128.165 92.7493 57.3321 22.2578 -12.1001 -45.4938 -77.6705 -108.415 -137.543 -164.902 -190.364 -213.833 -235.246 -254.57 -271.804 -286.974 -300.121 -311.316 -320.619 -328.089 -333.804 -337.824 -340.218 -341 -340.215 -337.927 -334.147 -328.886 -322.134 -313.873 -304.065 -292.68 -279.698 -265.078 -248.779 -230.782 -211.078 -189.666 -166.565 -141.817 -115.485 -87.6636 -58.4774 -28.0838 3.33183 35.5603 68.318 101.344 134.325 166.928 198.798 229.579 258.92 286.462 311.857 334.788 354.943 372.057 385.896 396.259 403.007 406.018 405.15 400.479 392.035 379.824 363.977 344.644 322.024 296.371 267.961 237.135 204.273 169.764 134.049 97.5943 60.8673 24.3337 -11.5696 -46.4281 -79.8727 -111.597 -141.35 -168.934 -194.219 -217.129 -237.635 -255.756 -271.548 -285.098 -296.522 -305.953 -313.527 -319.384 -323.655 -326.461 -327.93 -328.137 -327.174 -325.102 -321.94 -317.7 -312.381 -305.965 -298.412 -289.643 -279.582 -268.158 -255.265 -240.803 -224.682 -206.815 -187.127 -165.559 -142.084 -116.706 -89.4651 -60.4587 -29.8346 2.22137 35.4542 69.5494 104.178 138.942 173.425 207.194 239.777 270.716 299.558 325.871 349.26 369.368 385.893 398.588 407.268 411.827 412.132 408.239 400.294 388.354 372.615 353.324 330.785 305.326 277.321 247.164 215.281 182.101 148.018 113.442 78.7755 44.3418 9.37753 -23.6985 -55.7429 -86.5569 -115.964 -143.824 -170.021 -194.467 -217.101 -237.871 -256.753 -273.743 -288.851 -302.097 -313.504 -323.112 -330.949 -337.029 -341.376 -344.033 -344.984 -344.269 -341.921 -337.927 -332.307 -325.062 -316.184 -305.678 -293.538 -279.756 -264.338 -247.278 -228.595 -208.316 -186.461 -163.075 -138.23 -112.006 -84.5148 -55.8773 -26.233 4.39582 36.2804 68.1989 100.09 131.718 162.859 193.204 222.473 250.349 276.507 300.658 322.505 341.758 358.174 371.526 381.624 388.315 391.528 391.062 387.041 379.474 368.473 354.216 336.905 316.777 294.096 269.208 242.442 214.146 184.711 154.489 123.835 93.0706 62.4897 32.5857 6.18135 -21.7062 -48.5949 -74.2098 -98.379 -120.989 -141.965 -161.252 -178.827 -194.675 -208.804 -221.234 -231.993 -241.113 -248.64 -254.617 -259.099 -262.131 -263.746 -263.721 -262.286 -259.483 -255.351 -249.932 -243.255 -235.359 -226.277 -216.004 -204.547 169.521 201.703 233.371 264 293.169 320.296 344.97 366.755 385.299 400.324 411.576 418.85 421.986 420.623 414.962 405.233 391.483 373.916 352.792 328.419 301.175 271.422 239.57 206.092 171.419 135.995 100.211 64.4391 29.2397 -2.01314 -35.0797 -67.0392 -97.5794 -126.51 -153.705 -179.068 -202.547 -224.119 -243.778 -261.542 -277.444 -291.525 -303.835 -314.424 -323.345 -330.647 -336.374 -340.569 -343.268 -344.488 -344.218 -342.169 -338.627 -333.545 -326.9 -318.675 -308.827 -297.314 -284.119 -269.213 -252.574 -234.207 -214.094 -192.258 -168.737 -143.578 -116.854 -88.6783 -59.1695 -28.4913 3.17502 34.8906 67.8336 101.06 134.281 167.18 199.443 230.718 260.642 288.846 314.957 338.601 359.421 377.082 391.286 401.776 408.357 410.902 409.292 403.623 393.947 380.344 363.01 342.201 318.197 291.333 261.995 230.58 197.511 163.217 128.12 92.6437 57.1734 22.0521 -12.3433 -45.7698 -77.9728 -108.738 -137.882 -165.253 -190.722 -214.194 -235.605 -254.923 -272.148 -287.306 -300.44 -311.622 -320.911 -328.37 -334.074 -338.085 -340.469 -341.24 -340.455 -338.162 -334.382 -329.123 -322.375 -314.119 -304.318 -292.942 -279.97 -265.356 -249.065 -231.076 -211.377 -189.968 -166.868 -142.117 -115.778 -87.9444 -58.7416 -28.3256 3.11947 35.3798 68.1783 101.252 134.284 166.945 198.874 229.719 259.124 286.729 312.187 335.176 355.385 372.547 386.426 396.82 403.59 406.609 405.757 401.074 392.611 380.375 364.493 345.116 322.445 296.733 268.258 237.361 204.425 169.841 134.05 97.5221 60.7246 24.1256 -11.8353 -46.7429 -80.2265 -111.98 -141.753 -169.347 -194.635 -217.541 -238.037 -256.143 -271.916 -285.444 -296.844 -306.25 -313.801 -319.636 -323.886 -326.674 -328.127 -328.32 -327.352 -325.274 -322.109 -317.87 -312.556 -306.149 -298.606 -289.849 -279.805 -268.398 -255.523 -241.079 -224.975 -207.126 -187.453 -165.897 -142.428 -117.052 -89.8066 -60.787 -30.1412 1.94604 35.2156 69.3593 104.045 138.873 173.428 207.273 239.935 270.956 299.877 326.266 349.725 369.895 386.471 399.206 407.91 412.479 412.793 408.883 400.908 388.928 373.139 353.79 331.185 305.655 277.577 247.347 215.391 182.142 147.993 113.358 78.642 44.1896 9.13227 -23.947 -56.0137 -86.8475 -116.27 -144.14 -170.344 -194.794 -217.429 -238.197 -257.074 -274.059 -289.159 -302.397 -313.798 -323.398 -331.228 -337.304 -341.648 -344.298 -345.246 -344.53 -342.179 -338.187 -332.567 -325.323 -316.448 -305.945 -293.808 -280.031 -264.616 -247.56 -228.88 -208.602 -186.745 -163.355 -138.504 -112.269 -84.7647 -56.1094 -26.443 4.20672 36.1326 68.0919 100.026 131.697 162.887 193.285 222.609 250.542 276.758 300.965 322.867 342.17 358.631 372.021 382.15 388.868 392.088 391.621 387.581 379.994 368.966 354.67 337.31 317.127 294.387 269.436 242.606 214.247 184.752 154.473 123.769 92.962 62.3451 32.4191 5.91875 -21.9758 -48.8757 -74.5006 -98.677 -121.29 -142.267 -161.552 -179.122 -194.964 -209.085 -221.507 -232.257 -241.369 -248.886 -254.853 -259.326 -262.347 -263.958 -263.928 -262.485 -259.678 -255.541 -250.119 -243.44 -235.542 -226.459 -216.185 -204.726 169.483 201.747 233.504 264.226 293.488 320.707 345.469 367.336 385.952 401.039 412.34 419.644 422.801 421.45 415.772 405.996 392.191 374.558 353.358 328.9 301.565 271.719 239.772 206.202 171.44 135.937 100.084 64.2556 29.019 -2.37801 -35.4598 -67.4387 -97.9953 -126.937 -154.137 -179.5 -202.975 -224.539 -244.187 -261.938 -277.827 -291.894 -304.19 -314.765 -323.674 -330.965 -336.682 -340.869 -343.56 -344.774 -344.509 -342.463 -338.923 -333.845 -327.207 -318.992 -309.155 -297.652 -284.468 -269.571 -252.941 -234.582 -214.474 -192.639 -169.116 -143.95 -117.216 -89.0237 -59.4951 -28.7925 2.90285 34.6786 67.6641 100.942 134.221 167.187 199.521 230.873 260.878 289.167 315.364 339.093 359.993 377.727 391.991 402.528 409.142 411.698 410.096 404.407 394.692 381.041 363.647 342.764 318.678 291.726 262.296 230.787 197.625 163.243 128.063 92.511 56.9742 21.7945 -12.6483 -46.1155 -78.3512 -109.142 -138.307 -165.693 -191.171 -214.646 -236.054 -255.364 -272.578 -287.721 -300.839 -312.005 -321.278 -328.721 -334.412 -338.411 -340.781 -341.543 -340.754 -338.456 -334.676 -329.42 -322.676 -314.427 -304.634 -293.27 -280.309 -265.705 -249.423 -231.443 -211.751 -190.346 -167.246 -142.492 -116.144 -88.2959 -59.0724 -28.6284 2.85276 35.154 68.0032 101.135 134.233 166.964 198.969 229.892 259.378 287.063 312.598 335.661 355.938 373.159 387.088 397.522 404.319 407.351 406.511 401.821 393.331 381.063 365.138 345.706 322.97 297.185 268.629 237.644 204.615 169.936 134.052 97.4312 60.5455 23.8646 -12.1685 -47.1374 -80.6698 -112.46 -142.257 -169.865 -195.156 -218.057 -238.54 -256.626 -272.375 -285.876 -297.247 -306.621 -314.143 -319.951 -324.175 -326.94 -328.372 -328.551 -327.573 -325.488 -322.321 -318.083 -312.774 -306.378 -298.849 -290.107 -280.083 -268.698 -255.845 -241.424 -225.343 -207.514 -187.861 -166.319 -142.86 -117.486 -90.2341 -61.1982 -30.5253 1.60009 34.9168 69.121 103.878 138.786 173.431 207.371 240.133 271.254 300.275 326.759 350.306 370.553 387.195 399.978 408.714 413.295 413.613 409.691 401.676 389.646 373.795 354.373 331.686 306.067 277.897 247.575 215.528 182.191 147.961 113.252 78.4724 43.9912 8.83234 -24.2565 -56.3525 -87.2114 -116.652 -144.536 -170.748 -195.204 -217.839 -238.605 -257.477 -274.453 -289.544 -302.772 -314.164 -323.756 -331.577 -337.647 -341.987 -344.629 -345.574 -344.856 -342.503 -338.511 -332.891 -325.649 -316.778 -306.279 -294.147 -280.375 -264.964 -247.912 -229.236 -208.958 -187.1 -163.705 -138.846 -112.599 -85.0776 -56.4001 -26.7058 3.97058 35.9477 67.9577 99.9445 131.67 162.921 193.386 222.779 250.784 277.071 301.349 323.319 342.685 359.203 372.641 382.809 389.556 392.786 392.32 388.262 380.647 369.583 355.237 337.817 317.565 294.751 269.721 242.812 214.374 184.802 154.453 123.685 92.8252 62.1636 32.2083 5.59221 -22.3125 -49.227 -74.8643 -99.0497 -121.668 -142.645 -161.926 -179.491 -195.325 -209.437 -221.849 -232.587 -241.688 -249.193 -255.149 -259.609 -262.619 -264.223 -264.186 -262.734 -259.92 -255.779 -250.353 -243.67 -235.77 -226.685 -216.41 -204.949 169.436 201.799 233.664 264.496 293.871 321.2 346.067 368.033 386.737 401.898 413.257 420.601 423.781 422.438 416.741 406.912 393.042 375.33 354.037 329.476 302.033 272.074 240.013 206.332 171.465 135.865 99.9296 64.034 28.7498 -2.81337 -35.9155 -67.9184 -98.4949 -127.45 -154.656 -180.019 -203.489 -225.043 -244.678 -262.415 -278.286 -292.336 -304.616 -315.175 -324.068 -331.346 -337.052 -341.229 -343.911 -345.119 -344.857 -342.814 -339.277 -334.206 -327.577 -319.372 -309.548 -298.058 -284.887 -270.001 -253.382 -235.033 -214.93 -193.096 -169.571 -144.398 -117.65 -89.4388 -59.8866 -29.1548 2.57453 34.4243 67.4601 100.8 134.149 167.194 199.614 231.058 261.161 289.552 315.852 339.683 360.68 378.501 392.838 403.431 410.084 412.658 411.06 405.348 395.588 381.879 364.41 343.44 319.256 292.197 262.658 231.035 197.761 163.273 127.993 92.3508 56.7342 21.4844 -13.0153 -46.5312 -78.8061 -109.628 -138.817 -166.221 -191.71 -215.188 -236.594 -255.895 -273.094 -288.219 -301.319 -312.464 -321.717 -329.142 -334.817 -338.802 -341.155 -341.908 -341.112 -338.809 -335.029 -329.775 -323.038 -314.797 -305.014 -293.663 -280.715 -266.123 -249.853 -231.884 -212.2 -190.801 -167.702 -142.943 -116.584 -88.7185 -59.47 -28.9927 2.53153 34.8823 67.7923 100.994 134.171 166.987 199.083 230.1 259.682 287.464 313.092 336.243 356.601 373.894 387.883 398.364 405.194 408.244 407.414 402.716 394.198 381.891 365.912 346.415 323.602 297.728 269.074 237.984 204.843 170.05 134.053 97.3213 60.3297 23.5504 -12.5695 -47.6123 -81.2031 -113.037 -142.863 -170.487 -195.783 -218.677 -239.144 -257.207 -272.927 -286.395 -297.731 -307.067 -314.554 -320.328 -324.52 -327.259 -328.666 -328.828 -327.839 -325.745 -322.574 -318.337 -313.036 -306.654 -299.139 -290.416 -280.417 -269.058 -256.231 -241.838 -225.784 -207.981 -188.35 -166.827 -143.379 -118.008 -90.7481 -61.6927 -30.9875 1.18309 34.5572 68.834 103.676 138.681 173.434 207.489 240.37 271.612 300.752 327.351 351.004 371.344 388.063 400.905 409.68 414.278 414.598 410.66 402.598 390.509 374.582 355.072 332.286 306.561 278.28 247.848 215.692 182.25 147.922 113.123 78.2652 43.7326 8.49127 -24.6263 -56.7596 -87.6486 -117.111 -145.011 -171.234 -195.695 -218.331 -239.095 -257.96 -274.927 -290.006 -303.222 -314.604 -324.185 -331.996 -338.059 -342.393 -345.027 -345.969 -345.246 -342.89 -338.899 -333.28 -326.041 -317.173 -306.68 -294.554 -280.787 -265.381 -248.335 -229.663 -209.387 -187.527 -164.127 -139.258 -112.996 -85.4536 -56.7497 -27.0219 3.68704 35.7256 67.7963 99.8464 131.639 162.963 193.506 222.982 251.073 277.447 301.811 323.862 343.304 359.889 373.385 383.6 390.381 393.627 393.159 389.082 381.433 370.325 355.919 338.426 318.092 295.187 270.063 243.058 214.525 184.862 154.427 123.583 92.6595 61.9446 31.9517 5.20289 -22.7161 -49.6487 -75.3013 -99.4975 -122.121 -143.098 -162.377 -179.934 -195.759 -209.859 -222.259 -232.984 -242.07 -249.562 -255.504 -259.949 -262.945 -264.54 -264.494 -263.032 -260.212 -256.064 -250.633 -243.947 -236.044 -226.958 -216.68 -205.218 169.38 201.859 233.849 264.811 294.318 321.776 346.766 368.847 387.654 402.901 414.329 421.719 424.926 423.588 417.869 407.981 394.035 376.231 354.83 330.149 302.578 272.488 240.294 206.483 171.493 135.78 99.7471 63.7733 28.4298 -3.31802 -36.4467 -68.4786 -99.0785 -128.049 -155.263 -180.626 -204.089 -225.632 -245.252 -262.97 -278.823 -292.852 -305.112 -315.652 -324.528 -331.79 -337.483 -341.648 -344.32 -345.521 -345.263 -343.223 -339.69 -334.626 -328.008 -319.816 -310.006 -298.531 -285.375 -270.504 -253.898 -235.559 -215.463 -193.631 -170.103 -144.921 -118.157 -89.9243 -60.3445 -29.5782 2.19034 34.1268 67.221 100.632 134.064 167.201 199.721 231.273 261.49 290 316.422 340.372 361.482 379.404 393.827 404.486 411.185 413.78 412.185 406.447 396.635 382.857 365.302 344.229 319.93 292.748 263.079 231.324 197.919 163.306 127.911 92.1624 56.4529 21.1214 -13.4449 -47.0173 -79.3379 -110.196 -139.414 -166.838 -192.34 -215.823 -237.225 -256.515 -273.697 -288.801 -301.878 -313 -322.23 -329.633 -335.29 -339.257 -341.592 -342.333 -341.529 -339.221 -335.44 -330.189 -323.459 -315.228 -305.458 -294.122 -281.19 -266.611 -250.355 -232.398 -212.724 -191.331 -168.233 -143.469 -117.098 -89.2124 -59.9351 -29.4189 2.15523 34.5642 67.5452 100.829 134.097 167.012 199.214 230.342 260.037 287.931 313.668 336.923 357.376 374.753 388.811 399.348 406.216 409.289 408.469 403.761 395.21 382.857 366.817 347.243 324.339 298.362 269.594 238.38 205.108 170.183 134.054 97.1917 60.0767 23.1821 -13.0391 -48.1681 -81.827 -113.711 -143.571 -171.214 -196.514 -219.401 -239.849 -257.886 -273.572 -287.001 -298.295 -307.588 -315.033 -320.768 -324.924 -327.63 -329.009 -329.151 -328.148 -326.044 -322.868 -318.634 -313.342 -306.974 -299.477 -290.777 -280.807 -269.478 -256.682 -242.321 -226.299 -208.526 -188.922 -167.42 -143.986 -118.618 -91.349 -62.2711 -31.5286 0.694398 34.1362 68.4976 103.439 138.557 173.435 207.624 240.646 272.03 301.309 328.042 351.818 372.267 389.077 401.989 410.809 415.428 415.749 411.79 403.676 391.516 375.501 355.888 332.987 307.137 278.727 248.165 215.882 182.318 147.875 112.971 78.0192 43.4105 8.11115 -25.0562 -57.2351 -88.1597 -117.647 -145.566 -171.802 -196.27 -218.907 -239.666 -258.524 -275.48 -290.545 -303.747 -315.117 -324.685 -332.485 -338.54 -342.867 -345.493 -346.429 -345.701 -343.343 -339.352 -333.734 -326.497 -317.635 -307.147 -295.028 -281.268 -265.868 -248.829 -230.161 -209.887 -188.025 -164.619 -139.738 -113.459 -85.8931 -57.1586 -27.3916 3.35565 35.4663 67.6075 99.7306 131.602 163.011 193.645 223.219 251.411 277.886 302.348 324.496 344.026 360.69 374.254 384.523 391.344 394.609 394.138 390.041 382.353 371.192 356.715 339.137 318.706 295.696 270.462 243.345 214.7 184.931 154.396 123.462 92.4634 61.6874 31.6475 4.75207 -23.1863 -50.141 -75.8117 -100.021 -122.65 -143.628 -162.902 -180.452 -196.265 -210.352 -222.737 -233.447 -242.517 -249.992 -255.918 -260.345 -263.325 -264.909 -264.853 -263.38 -260.551 -256.397 -250.961 -244.27 -236.364 -227.275 -216.995 -205.531 169.314 201.925 234.06 265.171 294.829 322.434 347.565 369.779 388.702 404.049 415.556 423 426.236 424.903 419.155 409.204 395.172 377.262 355.737 330.918 303.201 272.96 240.614 206.655 171.523 135.681 99.5355 63.472 28.0566 -3.89055 -37.0534 -69.1196 -99.7467 -128.735 -155.957 -181.32 -204.776 -226.305 -245.908 -263.606 -279.436 -293.442 -305.68 -316.198 -325.053 -332.297 -337.975 -342.127 -344.788 -345.982 -345.725 -343.688 -340.161 -335.106 -328.5 -320.324 -310.531 -299.073 -285.933 -271.079 -254.488 -236.161 -216.071 -194.242 -170.712 -145.52 -118.738 -90.4806 -60.8692 -30.0632 1.75052 33.7851 66.9464 100.44 133.965 167.208 199.842 231.517 261.865 290.512 317.073 341.159 362.399 380.437 394.958 405.693 412.446 415.067 413.472 407.703 397.833 383.976 366.323 345.132 320.7 293.376 263.559 231.653 198.098 163.343 127.815 91.9452 56.1297 20.7049 -13.9377 -47.5743 -79.9469 -110.847 -140.096 -167.544 -193.06 -216.549 -237.947 -257.224 -274.386 -289.466 -302.517 -313.612 -322.815 -330.195 -335.829 -339.776 -342.092 -342.819 -342.005 -339.691 -335.91 -330.662 -323.94 -315.72 -305.964 -294.647 -281.732 -267.169 -250.929 -232.986 -213.324 -191.938 -168.841 -144.072 -117.687 -89.7779 -60.468 -29.9075 1.7232 34.1995 67.2614 100.639 134.011 167.04 199.364 230.618 260.442 288.465 314.327 337.7 358.262 375.735 389.873 400.474 407.386 410.484 409.675 404.955 396.368 383.962 367.851 348.189 325.182 299.087 270.188 238.832 205.412 170.335 134.053 97.0423 59.7861 22.759 -13.578 -48.8057 -82.5426 -114.485 -144.383 -172.047 -197.352 -220.23 -240.657 -258.662 -274.31 -287.694 -298.94 -308.183 -315.58 -321.27 -325.384 -328.054 -329.402 -329.52 -328.5 -326.384 -323.204 -318.973 -313.692 -307.34 -299.863 -291.19 -281.252 -269.957 -257.197 -242.873 -226.887 -209.15 -189.577 -168.099 -144.68 -119.316 -92.0374 -62.9342 -32.1491 0.133298 33.653 68.1111 103.167 138.414 173.435 207.778 240.96 272.506 301.946 328.831 352.75 373.324 390.237 403.228 412.102 416.744 417.066 413.082 404.91 392.669 376.553 356.821 333.788 307.795 279.237 248.527 216.098 182.394 147.82 112.796 77.7336 43.023 7.69287 -25.5465 -57.7795 -88.7451 -118.262 -146.201 -172.451 -196.927 -219.565 -240.32 -259.17 -276.112 -291.161 -304.347 -315.704 -325.257 -333.043 -339.089 -343.408 -346.026 -346.955 -346.222 -343.86 -339.868 -334.253 -327.02 -318.163 -307.682 -295.57 -281.817 -266.426 -249.394 -230.732 -210.46 -188.596 -165.182 -140.288 -113.989 -86.3965 -57.6273 -27.8157 2.97613 35.1699 67.3911 99.5973 131.555 163.064 193.804 223.488 251.796 278.386 302.963 325.22 344.851 361.607 375.248 385.579 392.444 395.733 395.259 391.138 383.406 372.183 357.626 339.951 319.408 296.277 270.917 243.671 214.9 185.009 154.36 123.322 92.2356 61.3907 31.2942 4.24103 -23.7231 -50.7041 -76.3958 -100.619 -123.256 -144.235 -163.504 -181.043 -196.845 -210.916 -223.284 -233.976 -243.028 -250.484 -256.391 -260.799 -263.761 -265.329 -265.263 -263.777 -260.939 -256.777 -251.334 -244.64 -236.729 -227.637 -217.356 -205.889 169.238 201.998 234.295 265.574 295.402 323.174 348.464 370.827 389.883 405.342 416.939 424.444 427.712 426.382 420.603 410.581 396.453 378.424 356.758 331.783 303.901 273.49 240.972 206.846 171.554 135.566 99.2938 63.1284 27.6281 -4.52968 -37.7355 -69.8417 -100.5 -129.508 -156.739 -182.102 -205.549 -227.063 -246.646 -264.321 -280.126 -294.106 -306.318 -316.812 -325.644 -332.868 -338.528 -342.666 -345.315 -346.5 -346.244 -344.211 -340.691 -335.646 -329.054 -320.895 -311.121 -299.682 -286.562 -271.726 -255.152 -236.838 -216.757 -194.931 -171.397 -146.194 -119.392 -91.1082 -61.4612 -30.6101 1.25519 33.3981 66.6356 100.221 133.853 167.214 199.977 231.791 262.286 291.087 317.805 342.045 363.431 381.601 396.233 407.054 413.867 416.517 414.921 409.118 399.183 385.237 367.472 346.149 321.568 294.084 264.099 232.021 198.299 163.383 127.704 91.6986 55.7636 20.2344 -14.4942 -48.2027 -80.6337 -111.58 -140.866 -168.339 -193.872 -217.366 -238.76 -258.023 -275.163 -290.215 -303.236 -314.3 -323.474 -330.827 -336.436 -340.36 -342.655 -343.365 -342.539 -340.22 -336.438 -331.194 -324.48 -316.274 -306.535 -295.237 -282.341 -267.797 -251.576 -233.648 -213.999 -192.621 -169.527 -144.751 -118.351 -90.4157 -61.0692 -30.459 1.23482 33.7874 66.9402 100.423 133.912 167.07 199.53 230.928 260.897 289.065 315.068 338.574 359.259 376.84 391.07 401.742 408.704 411.832 411.033 406.299 397.673 385.207 369.016 349.256 326.131 299.903 270.857 239.342 205.753 170.505 134.051 96.8728 59.4571 22.2803 -14.1871 -49.5258 -83.3507 -115.358 -145.3 -172.987 -198.297 -221.164 -241.567 -259.537 -275.14 -288.474 -299.666 -308.853 -316.194 -321.834 -325.9 -328.53 -329.843 -329.935 -328.895 -326.766 -323.581 -319.354 -314.084 -307.75 -300.297 -291.654 -281.753 -270.496 -257.776 -243.494 -227.55 -209.852 -190.314 -168.864 -145.463 -120.103 -92.8142 -63.6828 -32.85 -0.50105 33.1068 67.6735 102.857 138.25 173.433 207.949 241.312 273.042 302.663 329.72 353.798 374.513 391.544 404.626 413.559 418.228 418.55 414.537 406.3 393.968 377.737 357.872 334.69 308.536 279.811 248.933 216.34 182.478 147.756 112.596 77.408 42.5662 7.2389 -26.0979 -58.3935 -89.4051 -118.954 -146.917 -173.183 -197.667 -220.306 -241.057 -259.896 -276.823 -291.855 -305.022 -316.363 -325.901 -333.672 -339.706 -344.017 -346.625 -347.547 -346.807 -344.441 -340.449 -334.836 -327.607 -318.756 -308.283 -296.18 -282.435 -267.053 -250.03 -231.374 -211.105 -189.239 -165.817 -140.909 -114.587 -86.9642 -58.1563 -28.2951 2.54834 34.8363 67.1466 99.4467 131.502 163.122 193.981 223.791 252.228 278.949 303.654 326.035 345.781 362.639 376.367 386.768 393.683 397 396.523 392.375 384.594 373.301 358.653 340.867 320.199 296.932 271.429 244.038 215.124 185.094 154.316 123.162 91.9753 61.0517 30.8917 3.67096 -24.3264 -51.3383 -77.0539 -101.294 -123.938 -144.918 -164.181 -181.71 -197.497 -211.551 -223.899 -234.571 -243.602 -251.037 -256.923 -261.31 -264.251 -265.802 -265.723 -264.225 -261.374 -257.204 -251.755 -245.054 -237.14 -228.045 -217.761 -206.292 169.151 202.077 234.555 266.021 296.039 323.996 349.463 371.993 391.196 406.781 418.478 426.051 429.355 428.027 422.211 412.113 397.878 379.716 357.894 332.744 304.678 274.078 241.369 207.056 171.586 135.436 99.0206 62.74 27.143 -5.23437 -38.493 -70.6454 -101.338 -130.368 -157.609 -182.972 -206.409 -227.907 -247.467 -265.116 -280.892 -294.844 -307.027 -317.494 -326.301 -333.502 -339.143 -343.265 -345.9 -347.076 -346.821 -344.79 -341.278 -336.245 -329.668 -321.529 -311.776 -300.359 -287.26 -272.445 -255.89 -237.591 -217.519 -195.697 -172.16 -146.944 -120.121 -91.8074 -62.1209 -31.2191 0.70434 32.9648 66.2877 99.976 133.726 167.217 200.124 232.093 262.752 291.724 318.617 343.03 364.578 382.896 397.653 408.57 415.449 418.132 416.534 410.693 400.685 386.64 368.75 347.279 322.532 294.87 264.698 232.43 198.52 163.424 127.579 91.4221 55.3533 19.7092 -15.1152 -48.9031 -81.399 -112.396 -141.722 -169.225 -194.777 -218.277 -239.665 -258.912 -276.027 -291.048 -304.036 -315.065 -324.206 -331.529 -337.11 -341.008 -343.279 -343.972 -343.132 -340.806 -337.023 -331.784 -325.08 -316.888 -307.168 -295.893 -283.019 -268.496 -252.294 -234.384 -214.75 -193.382 -170.29 -145.507 -119.09 -91.1263 -61.7392 -31.074 0.689463 33.3271 66.5811 100.18 133.8 167.101 199.714 231.27 261.401 289.732 315.892 339.547 360.368 378.07 392.401 403.154 410.17 413.332 412.544 407.794 399.125 386.592 370.313 350.442 327.188 300.811 271.6 239.908 206.132 170.692 134.048 96.6828 59.0885 21.745 -14.8676 -50.3294 -84.2525 -116.331 -146.321 -174.034 -199.35 -222.204 -242.579 -260.51 -276.064 -289.342 -300.472 -309.597 -316.877 -322.46 -326.474 -329.058 -330.333 -330.394 -329.333 -327.189 -323.998 -319.776 -314.519 -308.205 -300.777 -292.169 -282.309 -271.094 -258.42 -244.185 -228.287 -210.633 -191.134 -169.716 -146.335 -120.98 -93.6799 -64.5175 -33.6325 -1.20939 32.4968 67.1836 102.509 138.066 173.428 208.137 241.702 273.636 303.46 330.709 354.964 375.837 392.999 406.181 415.182 419.881 420.202 416.155 407.846 395.413 379.056 359.042 335.692 309.359 280.447 249.383 216.606 182.569 147.683 112.371 77.0422 42.0453 6.74243 -26.7118 -59.0778 -90.1404 -119.726 -147.714 -173.997 -198.49 -221.131 -241.877 -260.704 -277.615 -292.626 -305.773 -317.094 -326.615 -334.371 -340.392 -344.693 -347.291 -348.204 -347.458 -345.086 -341.094 -335.484 -328.26 -319.416 -308.951 -296.857 -283.123 -267.752 -250.737 -232.088 -211.822 -189.954 -166.524 -141.599 -115.253 -87.5966 -58.7463 -28.8315 2.07235 34.4657 66.874 99.2772 131.444 163.184 194.176 224.125 252.707 279.574 304.422 326.941 346.815 363.787 377.612 388.091 395.061 398.409 397.929 393.753 385.916 374.546 359.795 341.886 321.078 297.659 271.997 244.445 215.37 185.188 154.265 122.981 91.6815 60.6668 30.4403 3.04277 -24.9963 -52.0439 -77.7866 -102.045 -124.698 -145.678 -164.934 -182.451 -198.222 -212.256 -224.583 -235.232 -244.241 -251.652 -257.514 -261.878 -264.796 -266.327 -266.234 -264.722 -261.859 -257.679 -252.221 -245.515 -237.596 -228.498 -218.212 -206.74 169.052 202.161 234.839 266.511 296.739 324.9 350.563 373.276 392.643 408.367 420.174 427.823 431.165 429.839 423.983 413.801 399.448 381.14 359.145 333.803 305.532 274.722 241.804 207.285 171.619 135.288 98.7146 62.3022 26.6019 -6.00394 -39.3262 -71.5311 -102.263 -131.317 -158.568 -183.93 -207.356 -228.835 -248.371 -265.991 -281.736 -295.656 -307.807 -318.244 -327.023 -334.198 -339.818 -343.923 -346.544 -347.709 -347.453 -345.427 -341.923 -336.903 -330.345 -322.226 -312.497 -301.104 -288.029 -273.238 -256.703 -238.42 -218.359 -196.541 -173.001 -147.771 -120.925 -92.5792 -62.8485 -31.8908 0.0977494 32.4842 65.9019 99.704 133.583 167.219 200.283 232.422 263.263 292.424 319.51 344.113 365.84 384.322 399.217 410.24 417.193 419.912 418.311 412.428 402.341 388.187 370.158 348.524 323.594 295.734 265.355 232.877 198.76 163.467 127.438 91.1146 54.8978 19.1285 -15.8015 -49.6761 -82.2434 -113.296 -142.667 -170.202 -195.773 -219.281 -240.663 -259.891 -276.978 -291.965 -304.916 -315.906 -325.01 -332.301 -337.851 -341.72 -343.966 -344.638 -343.784 -341.451 -337.667 -332.432 -325.74 -317.564 -307.865 -296.615 -283.764 -269.264 -253.085 -235.195 -215.577 -194.22 -171.131 -146.342 -119.906 -91.9104 -62.4785 -31.7534 0.0863441 32.8177 66.1831 99.911 133.675 167.133 199.913 231.646 261.956 290.464 316.798 340.617 361.59 379.424 393.867 404.709 411.787 414.985 414.209 409.441 400.725 388.119 371.741 351.748 328.351 301.811 272.419 240.53 206.548 170.897 134.042 96.4715 58.6796 21.1521 -15.6206 -51.2175 -85.2491 -117.406 -147.448 -175.189 -200.511 -223.351 -243.695 -261.582 -277.082 -290.297 -301.36 -310.415 -317.628 -323.148 -327.104 -329.638 -330.871 -330.899 -329.813 -327.654 -324.457 -320.239 -314.997 -308.704 -301.304 -292.735 -282.92 -271.752 -259.128 -244.944 -229.098 -211.493 -192.038 -170.654 -147.296 -121.948 -94.6355 -65.4395 -34.4975 -1.9928 31.8216 66.6405 102.123 137.859 173.419 208.342 242.129 274.289 304.336 331.798 356.248 377.296 394.602 407.895 416.971 421.703 422.022 417.938 409.55 397.006 380.508 360.329 336.795 310.263 281.146 249.875 216.897 182.666 147.6 112.121 76.6365 41.4752 6.18698 -27.3902 -59.8332 -90.9517 -120.576 -148.592 -174.893 -199.397 -222.04 -242.779 -261.594 -278.486 -293.475 -306.599 -317.898 -327.401 -335.139 -341.147 -345.436 -348.024 -348.927 -348.173 -345.795 -341.803 -336.197 -328.977 -320.141 -309.685 -297.602 -283.879 -268.52 -251.516 -232.875 -212.612 -190.742 -167.304 -142.36 -115.986 -88.2943 -59.3977 -29.4252 1.54667 34.0579 66.5728 99.088 131.378 163.252 194.389 224.492 253.233 280.261 305.267 327.938 347.953 365.051 378.984 389.548 396.579 399.96 399.479 395.271 387.375 375.917 361.053 343.009 322.046 298.459 272.621 244.891 215.64 185.288 154.207 122.778 91.3532 60.2356 29.9378 2.35668 -25.7329 -52.8212 -78.5941 -102.872 -125.535 -146.515 -165.764 -183.267 -199.02 -213.033 -225.336 -235.96 -244.943 -252.329 -258.165 -262.502 -265.395 -266.905 -266.795 -265.268 -262.391 -258.2 -252.735 -246.022 -238.098 -228.997 -218.707 -207.233 168.94 202.249 235.146 267.045 297.502 325.886 351.763 374.677 394.223 410.1 422.028 429.761 433.145 431.819 425.918 415.646 401.165 382.696 360.512 334.958 306.464 275.424 242.275 207.531 171.651 135.122 98.3744 61.8143 26.0023 -6.83846 -40.2356 -72.4995 -103.274 -132.355 -159.617 -184.978 -208.391 -229.849 -249.359 -266.946 -282.657 -296.541 -308.657 -319.061 -327.81 -334.958 -340.554 -344.64 -347.245 -348.399 -348.143 -346.119 -342.625 -337.621 -331.082 -322.987 -313.283 -301.917 -288.869 -274.103 -257.591 -239.326 -219.276 -197.464 -173.919 -148.675 -121.805 -93.4243 -63.6445 -32.6256 -0.564901 31.9552 65.4774 99.4043 133.424 167.217 200.454 232.78 263.818 293.186 320.483 345.295 367.219 385.879 400.926 412.068 419.1 421.859 420.255 414.325 404.152 389.877 371.696 349.884 324.753 296.676 266.071 233.363 199.02 163.511 127.28 90.775 54.396 18.4916 -16.5541 -50.5225 -83.1674 -114.281 -143.7 -171.269 -196.863 -220.378 -241.753 -260.962 -278.017 -292.966 -305.876 -316.823 -325.888 -333.144 -338.659 -342.496 -344.714 -345.364 -344.495 -342.154 -338.368 -333.138 -326.458 -318.3 -308.625 -297.402 -284.577 -270.103 -253.948 -236.08 -216.481 -195.136 -172.051 -147.254 -120.797 -92.7686 -63.288 -32.498 -0.575251 32.2585 65.7455 99.6138 133.535 167.165 200.129 232.053 262.559 291.263 317.787 341.786 362.924 380.904 395.47 406.408 413.553 416.792 416.027 411.24 402.473 389.786 373.302 353.176 329.622 302.903 273.312 241.209 207.001 171.12 134.034 96.2375 58.2296 20.5005 -16.4474 -52.1918 -86.3417 -118.584 -148.683 -176.453 -201.781 -224.605 -244.915 -262.754 -278.193 -291.34 -302.328 -311.307 -318.447 -323.897 -327.79 -330.27 -331.457 -331.448 -330.335 -328.159 -324.956 -320.744 -315.516 -309.247 -301.879 -293.352 -283.586 -272.469 -259.901 -245.774 -229.983 -212.432 -193.026 -171.681 -148.348 -123.008 -95.6818 -66.4499 -35.4462 -2.85245 31.08 66.043 101.697 137.628 173.405 208.561 242.592 275 305.292 332.987 357.65 378.889 396.355 409.769 418.928 423.697 424.013 419.886 411.413 398.746 382.094 361.735 337.999 311.25 281.908 250.41 217.212 182.769 147.506 111.844 76.1912 40.8594 5.56715 -28.1352 -60.6608 -91.8395 -121.506 -149.552 -175.874 -200.388 -223.032 -243.766 -262.566 -279.437 -294.402 -307.5 -318.775 -328.257 -335.978 -341.97 -346.247 -348.824 -349.716 -348.953 -346.57 -342.577 -336.973 -329.76 -320.931 -310.486 -298.414 -284.705 -269.359 -252.366 -233.734 -213.476 -191.604 -168.155 -143.192 -116.789 -89.0577 -60.1112 -30.0767 0.969917 33.6128 66.2425 98.8792 131.302 163.323 194.618 224.89 253.806 281.009 306.189 329.026 349.195 366.431 380.483 391.141 398.237 401.655 401.173 396.931 388.969 377.416 362.429 344.235 323.103 299.332 273.302 245.376 215.932 185.394 154.139 122.552 90.9891 59.7574 29.3824 1.61251 -26.5365 -53.6707 -79.4771 -103.777 -126.45 -147.43 -166.671 -184.159 -199.891 -213.88 -226.158 -236.755 -245.71 -253.067 -258.875 -263.184 -266.049 -267.535 -267.407 -265.863 -262.972 -258.769 -253.294 -246.574 -238.645 -229.54 -219.248 -207.77 168.815 202.341 235.476 267.62 298.328 326.954 353.064 376.197 395.938 411.98 424.042 431.866 435.295 433.968 428.018 417.648 403.027 384.384 361.994 336.211 307.473 276.182 242.783 207.795 171.681 134.936 97.9982 61.2754 25.3422 -7.73838 -41.2218 -73.5513 -104.373 -133.482 -160.756 -186.115 -209.514 -230.949 -250.429 -267.982 -283.655 -297.5 -309.578 -319.947 -328.663 -335.781 -341.352 -345.416 -348.005 -349.146 -348.883 -346.867 -343.385 -338.398 -331.88 -323.81 -314.136 -302.797 -289.78 -275.042 -258.554 -240.307 -220.271 -198.465 -174.916 -149.656 -122.762 -94.3429 -64.5096 -33.4242 -1.28411 31.3768 65.0131 99.0758 133.247 167.21 200.635 233.163 264.417 294.01 321.536 346.574 368.714 387.57 402.782 414.053 421.171 423.973 422.366 416.384 406.118 391.711 373.366 351.36 326.01 297.698 266.846 233.888 199.299 163.554 127.104 90.402 53.8477 17.7964 -17.374 -51.4433 -84.1718 -115.351 -144.821 -172.429 -198.046 -221.57 -242.938 -262.124 -279.145 -294.051 -306.916 -317.817 -326.839 -334.055 -339.533 -343.337 -345.524 -346.149 -345.265 -342.914 -339.126 -333.902 -327.236 -319.097 -309.448 -298.256 -285.459 -271.012 -254.884 -237.04 -217.461 -196.13 -173.049 -148.245 -121.767 -93.7017 -64.1687 -33.3087 -1.29612 31.6484 65.2673 99.2879 133.379 167.196 200.36 232.493 263.212 292.128 318.859 343.054 364.371 382.509 397.208 408.253 415.471 418.753 418 413.192 404.37 391.597 374.996 354.725 331.002 304.088 274.281 241.944 207.491 171.359 134.022 95.98 57.7375 19.7893 -17.3495 -53.2539 -87.532 -119.866 -150.026 -177.828 -203.161 -225.967 -246.24 -264.026 -279.399 -292.471 -303.377 -312.275 -319.333 -324.707 -328.533 -330.954 -332.091 -332.042 -330.899 -328.704 -325.495 -321.289 -316.078 -309.832 -302.5 -294.02 -284.306 -273.246 -260.738 -246.672 -230.943 -213.451 -194.098 -172.796 -149.491 -124.16 -96.8201 -67.5499 -36.4796 -3.78973 30.2707 65.3899 101.228 137.374 173.385 208.796 243.092 275.77 306.327 334.276 359.172 380.618 398.258 411.804 421.053 425.862 426.174 422.001 413.435 400.635 383.815 363.26 339.304 312.319 282.731 250.988 217.549 182.877 147.4 111.541 75.7059 40.1975 4.88085 -28.9487 -61.5617 -92.8044 -122.516 -150.595 -176.937 -201.463 -224.11 -244.836 -263.62 -280.468 -295.406 -308.477 -319.725 -329.184 -336.887 -342.861 -347.125 -349.689 -350.57 -349.797 -347.409 -343.414 -337.814 -330.607 -321.788 -311.354 -299.295 -285.601 -270.269 -253.289 -234.665 -214.413 -192.54 -169.08 -144.096 -117.661 -89.8874 -60.8873 -30.7868 0.34076 33.1302 65.8828 98.6496 131.216 163.396 194.864 225.318 254.424 281.819 307.187 330.206 350.543 367.929 382.109 392.869 400.036 403.49 403.012 398.734 390.701 379.044 363.921 345.566 324.25 300.278 274.039 245.9 216.245 185.506 154.062 122.303 90.5884 59.231 28.7727 0.809783 -27.4077 -54.5931 -80.4361 -104.76 -127.443 -148.423 -167.654 -185.126 -200.836 -214.8 -227.048 -237.616 -246.54 -253.867 -259.644 -263.923 -266.758 -268.217 -268.069 -266.507 -263.6 -259.384 -253.9 -247.173 -239.238 -230.129 -219.833 -208.353 168.674 202.435 235.828 268.238 299.215 328.104 354.465 377.835 397.787 414.01 426.215 434.139 437.617 436.289 430.285 419.809 405.038 386.206 363.592 337.56 308.56 276.997 243.326 208.074 171.708 134.73 97.5843 60.6844 24.6196 -8.70439 -42.2855 -74.6874 -105.56 -134.7 -161.986 -187.342 -210.726 -232.136 -251.583 -269.098 -284.73 -298.533 -310.57 -320.9 -329.58 -336.667 -342.209 -346.252 -348.822 -349.95 -349.678 -347.671 -344.202 -339.233 -332.739 -324.698 -315.053 -303.746 -290.761 -276.053 -259.591 -241.366 -221.344 -199.545 -175.992 -150.718 -123.797 -95.3354 -65.4445 -34.2872 -2.06045 30.7478 64.5087 98.7169 133.052 167.199 200.826 233.572 265.058 294.895 322.668 347.951 370.326 389.393 404.785 416.197 423.408 426.257 424.646 418.607 408.24 393.691 375.168 352.951 327.365 298.797 267.678 234.449 199.595 163.596 126.909 89.9947 53.252 17.0415 -18.2623 -52.4393 -85.2567 -116.507 -146.032 -173.681 -199.324 -222.856 -244.216 -263.378 -280.361 -295.221 -308.036 -318.887 -327.862 -335.037 -340.473 -344.24 -346.395 -346.995 -346.092 -343.731 -339.941 -334.722 -328.072 -319.954 -310.335 -299.174 -286.408 -271.992 -255.893 -238.075 -218.518 -197.203 -174.128 -149.315 -122.814 -94.7104 -65.1215 -34.1864 -2.07726 30.9864 64.7474 98.9321 133.207 167.226 200.605 232.964 263.913 293.059 320.013 344.42 365.931 384.241 399.085 410.243 417.541 420.869 420.129 415.299 406.416 393.55 376.823 356.397 332.49 305.365 275.325 242.736 208.018 171.615 134.007 95.6982 57.2025 19.0175 -18.3288 -54.4053 -88.8214 -121.254 -151.478 -179.315 -204.652 -227.439 -247.671 -265.398 -280.7 -293.69 -304.508 -313.316 -320.287 -325.577 -329.331 -331.689 -332.771 -332.678 -331.504 -329.289 -326.075 -321.874 -316.68 -310.461 -303.167 -294.738 -285.08 -274.082 -261.639 -247.64 -231.978 -214.549 -195.254 -174 -150.725 -125.405 -98.0517 -68.7407 -37.5991 -4.80611 29.392 64.6799 100.717 137.095 173.359 209.043 243.627 276.596 307.442 335.666 360.815 382.484 400.312 414.002 423.348 428.202 428.508 424.283 415.617 402.674 385.672 364.905 340.71 313.469 283.616 251.607 217.908 182.989 147.28 111.21 75.1801 39.4886 4.12699 -29.8323 -62.537 -93.8469 -123.608 -151.72 -178.085 -202.623 -225.272 -245.99 -264.758 -281.58 -296.488 -309.528 -320.747 -330.182 -337.865 -343.821 -348.07 -350.621 -351.489 -350.706 -348.311 -344.315 -338.718 -331.519 -322.711 -312.289 -300.244 -286.565 -271.249 -254.283 -235.67 -215.424 -193.549 -170.078 -145.072 -118.603 -90.7839 -61.7267 -31.5561 -0.342113 32.61 65.4929 98.3986 131.12 163.472 195.126 225.777 255.089 282.69 308.262 331.477 351.996 369.545 383.864 394.734 401.978 405.469 404.997 400.68 392.571 380.801 365.532 347.001 325.485 301.296 274.831 246.462 216.58 185.622 153.974 122.028 90.1495 58.6553 28.1077 -0.0521629 -28.3468 -55.5891 -81.4718 -105.821 -128.516 -149.495 -168.715 -186.168 -201.855 -215.79 -228.008 -238.543 -247.435 -254.729 -260.473 -264.718 -267.521 -268.951 -268.781 -267.2 -264.277 -260.047 -254.552 -247.817 -239.876 -230.763 -220.464 -208.98 168.517 202.53 236.201 268.897 300.165 329.336 355.967 379.591 399.771 416.189 428.55 436.581 440.115 438.781 432.72 422.13 407.197 388.162 365.308 339.007 309.723 277.868 243.904 208.367 171.731 134.502 97.1308 60.0397 23.8331 -9.73776 -43.4277 -75.9087 -106.836 -136.008 -163.308 -188.66 -212.026 -233.409 -252.821 -270.295 -285.883 -299.64 -311.633 -321.921 -330.563 -337.615 -343.128 -347.146 -349.698 -350.811 -350.526 -348.531 -345.076 -340.128 -333.659 -325.648 -316.036 -304.765 -291.814 -277.138 -260.703 -242.501 -222.496 -200.704 -177.148 -151.859 -124.909 -96.4023 -66.4498 -35.2153 -2.89462 30.0669 63.9634 98.3256 132.838 167.183 201.026 234.006 265.743 295.84 323.881 349.427 372.054 391.351 406.937 418.501 425.812 428.712 427.095 420.995 410.519 395.817 377.102 354.658 328.818 299.976 268.569 235.048 199.908 163.636 126.694 89.5513 52.6069 16.2264 -19.2201 -53.5123 -86.4229 -117.75 -147.334 -175.026 -200.697 -224.239 -245.59 -264.725 -281.666 -296.475 -309.236 -320.034 -328.959 -336.088 -341.481 -345.208 -347.328 -347.901 -346.977 -344.606 -340.812 -335.6 -328.966 -320.872 -311.285 -300.158 -287.425 -273.043 -256.975 -239.186 -219.653 -198.356 -175.286 -150.465 -123.94 -95.7956 -66.1473 -35.1322 -2.91994 30.2711 64.1845 98.5454 133.018 167.253 200.864 233.465 264.663 294.056 321.25 345.886 367.606 386.099 401.099 412.38 419.765 423.14 422.414 417.56 408.614 395.647 378.786 358.191 334.087 306.736 276.445 243.585 208.581 171.887 133.986 95.3916 56.6238 18.1829 -19.3865 -55.6476 -90.2115 -122.75 -153.042 -180.913 -206.255 -229.02 -249.207 -266.871 -282.096 -294.998 -305.719 -314.432 -321.308 -326.509 -330.186 -332.475 -333.499 -333.357 -332.149 -329.914 -326.694 -322.499 -317.322 -311.132 -303.881 -295.506 -285.908 -274.977 -262.605 -248.678 -233.087 -215.728 -196.496 -175.293 -152.053 -126.745 -99.3779 -70.0238 -38.8062 -5.90323 28.4421 63.9116 100.162 136.787 173.324 209.303 244.196 277.481 308.636 337.156 362.578 384.488 402.518 416.364 425.814 430.716 431.016 426.734 417.961 404.863 387.666 366.669 342.218 314.701 284.563 252.267 218.289 183.105 147.147 110.85 74.6129 38.7316 3.30433 -30.7877 -63.5882 -94.9678 -124.781 -152.928 -179.318 -203.869 -226.52 -247.229 -265.978 -282.772 -297.648 -310.655 -321.842 -331.251 -338.913 -344.85 -349.082 -351.62 -352.475 -351.68 -349.278 -345.28 -339.687 -332.497 -323.699 -313.29 -301.262 -287.599 -272.3 -255.349 -236.749 -216.51 -194.632 -171.149 -146.12 -119.616 -91.748 -62.63 -32.3857 -1.08007 32.0522 65.0722 98.1251 131.012 163.548 195.402 226.266 255.798 283.622 309.413 332.839 353.554 371.279 385.747 396.736 404.063 407.593 407.129 402.772 394.579 382.689 367.261 348.541 326.81 302.388 275.679 247.062 216.936 185.743 153.874 121.727 89.6714 58.0286 27.3866 -0.974027 -29.3547 -56.6593 -82.5849 -106.961 -129.668 -150.646 -169.854 -187.287 -202.948 -216.852 -229.037 -239.537 -248.393 -255.652 -261.361 -265.571 -268.338 -269.736 -269.543 -267.941 -265.001 -260.757 -255.251 -248.507 -240.56 -231.442 -221.14 -209.653 168.343 202.626 236.594 269.597 301.176 330.65 357.57 381.466 401.892 418.519 431.048 439.194 442.791 441.449 435.324 424.613 409.506 390.252 367.14 340.552 310.963 278.795 244.516 208.674 171.75 134.252 96.6363 59.3388 22.9818 -10.84 -44.6495 -77.2161 -108.202 -137.409 -164.721 -190.069 -213.416 -234.769 -254.143 -271.573 -287.113 -300.821 -312.766 -323.009 -331.611 -338.626 -344.106 -348.098 -350.631 -351.728 -351.428 -349.445 -346.007 -341.081 -334.64 -326.661 -317.085 -305.851 -292.938 -278.296 -261.891 -243.714 -223.727 -201.943 -178.385 -153.081 -126.099 -97.5444 -67.5264 -36.2093 -3.78757 29.3334 63.3759 97.9011 132.603 167.159 201.233 234.464 266.468 296.845 325.172 351.001 373.9 393.444 409.238 420.966 428.386 431.339 429.715 423.55 412.957 398.091 379.169 356.482 330.37 301.233 269.517 235.682 200.237 163.671 126.459 89.0705 51.911 15.3495 -20.2482 -54.6634 -87.6717 -119.08 -148.727 -176.466 -202.165 -225.718 -247.06 -266.165 -283.061 -297.815 -310.517 -321.257 -330.129 -337.207 -342.554 -346.239 -348.322 -348.866 -347.92 -345.536 -341.739 -336.534 -329.918 -321.851 -312.298 -301.207 -288.51 -274.165 -258.13 -240.371 -220.866 -199.588 -176.526 -151.695 -125.145 -96.9581 -67.2473 -36.1472 -3.82542 29.5015 63.5775 98.1264 132.81 167.277 201.136 233.997 265.461 295.119 322.57 347.45 369.394 388.086 403.252 414.664 422.142 425.569 424.857 419.977 410.963 397.89 380.883 360.109 335.794 308.201 277.641 244.49 209.181 172.174 133.96 95.0595 56.0004 17.2837 -20.5247 -56.9832 -91.7039 -124.356 -154.719 -182.626 -207.972 -230.713 -250.852 -268.447 -283.588 -296.394 -307.013 -315.622 -322.396 -327.502 -331.095 -333.312 -334.272 -334.081 -332.835 -330.578 -327.352 -323.163 -318.005 -311.845 -304.64 -296.324 -286.79 -275.931 -263.635 -249.785 -234.271 -216.987 -197.824 -176.678 -153.475 -128.181 -100.8 -71.4006 -40.1025 -7.0828 27.4194 63.083 99.5618 136.45 173.279 209.574 244.8 278.422 309.91 338.748 364.462 386.63 404.877 418.891 428.453 433.406 433.699 429.356 420.468 407.203 389.797 368.554 343.827 316.014 285.57 252.967 218.691 183.221 146.999 110.46 74.0032 37.9267 2.40994 -31.8163 -64.7164 -96.1682 -126.036 -154.221 -180.636 -205.2 -227.854 -248.553 -267.281 -284.045 -298.886 -311.857 -323.01 -332.391 -340.03 -345.947 -350.161 -352.684 -353.526 -352.718 -350.309 -346.308 -340.72 -333.539 -324.753 -314.359 -302.347 -288.703 -273.422 -256.488 -237.902 -217.669 -195.79 -172.296 -147.242 -120.699 -92.7802 -63.598 -33.2767 -1.87439 31.4567 64.6199 97.8282 130.891 163.625 195.692 226.784 256.552 284.614 310.641 334.294 355.218 373.131 387.761 398.877 406.293 409.867 409.41 405.009 396.729 384.708 369.111 350.187 328.225 303.552 276.582 247.7 217.311 185.866 153.762 121.398 89.1516 57.3491 26.6091 -1.9568 -30.4322 -57.8046 -83.7763 -108.181 -130.899 -151.876 -171.071 -188.482 -204.115 -217.987 -230.135 -240.598 -249.416 -256.638 -262.309 -266.481 -269.21 -270.573 -270.355 -268.732 -265.773 -261.513 -255.995 -249.243 -241.289 -232.166 -221.861 -210.37 168.149 202.721 237.006 270.338 302.249 332.045 359.273 383.461 404.149 421.001 433.709 441.979 445.643 444.292 438.1 427.258 411.965 392.478 369.09 342.194 312.279 279.776 245.162 208.995 171.762 133.976 96.0998 58.5785 22.0652 -12.013 -45.9523 -78.6109 -109.66 -138.903 -166.228 -191.57 -214.896 -236.216 -255.55 -272.932 -288.42 -302.076 -313.97 -324.165 -332.723 -339.7 -345.145 -349.109 -351.621 -352.702 -352.385 -350.414 -346.995 -342.092 -335.681 -327.738 -318.201 -307.007 -294.134 -279.528 -263.155 -245.004 -225.037 -203.262 -179.704 -154.384 -127.369 -98.7627 -68.6751 -37.2702 -4.74052 28.5467 62.744 97.4427 132.346 167.127 201.447 234.946 267.233 297.908 326.542 352.675 375.863 395.673 411.691 423.594 431.13 434.14 432.506 426.273 415.554 400.513 381.37 358.424 332.02 302.569 270.521 236.353 200.579 163.702 126.2 88.5508 51.1627 14.409 -21.348 -55.8937 -89.0048 -120.498 -150.212 -178 -203.731 -227.295 -248.626 -267.7 -284.546 -299.241 -311.878 -322.556 -331.371 -338.396 -343.693 -347.334 -349.379 -349.89 -348.921 -346.523 -342.722 -337.526 -330.928 -322.89 -313.374 -302.321 -289.663 -275.358 -259.359 -241.633 -222.157 -200.901 -177.847 -153.008 -126.431 -98.199 -68.4225 -37.2326 -4.795 28.676 62.925 97.674 132.583 167.296 201.42 234.559 266.306 296.248 323.973 349.114 371.298 390.2 405.545 417.097 424.674 428.156 427.459 422.551 413.465 400.278 383.117 362.152 337.611 309.76 278.913 245.452 209.816 172.475 133.927 94.7007 55.3314 16.3179 -21.7456 -58.4143 -93.3003 -126.072 -156.509 -184.455 -209.804 -232.518 -252.604 -270.125 -285.176 -297.88 -308.389 -316.885 -323.55 -328.555 -332.06 -334.198 -335.091 -334.846 -333.56 -331.282 -328.048 -323.866 -318.727 -312.601 -305.445 -297.189 -287.725 -276.945 -264.73 -250.962 -235.53 -218.327 -199.239 -178.153 -154.992 -129.714 -102.319 -72.8727 -41.4899 -8.34678 26.3222 62.1915 98.9143 136.081 173.224 209.855 245.436 279.419 311.263 340.441 366.469 388.913 407.391 421.585 431.265 436.273 436.559 432.15 423.139 409.696 392.066 370.56 345.538 317.409 286.637 253.707 219.111 183.338 146.837 110.039 73.3502 37.0713 1.44246 -32.9192 -65.9229 -97.4493 -127.374 -155.598 -182.039 -206.618 -229.274 -249.963 -268.668 -285.4 -300.202 -313.134 -324.25 -333.601 -341.216 -347.112 -351.307 -353.816 -354.643 -353.82 -351.402 -347.4 -341.817 -334.646 -325.873 -315.494 -303.5 -289.876 -274.615 -257.7 -239.129 -218.904 -197.024 -173.518 -148.438 -121.855 -93.8812 -64.6314 -34.2303 -2.72646 30.8233 64.135 97.5066 130.757 163.7 195.996 227.33 257.351 285.668 311.945 335.84 356.989 375.104 389.905 401.157 408.668 412.292 411.839 407.394 399.019 386.859 371.08 351.939 329.73 304.789 277.54 248.373 217.705 185.992 153.636 121.041 88.5892 56.6134 25.7754 -3.00176 -31.5803 -59.0259 -85.0468 -109.481 -132.212 -153.186 -172.367 -189.754 -205.356 -219.193 -231.303 -241.727 -250.504 -257.685 -263.316 -267.448 -270.137 -271.461 -271.216 -269.57 -266.593 -262.316 -256.786 -250.024 -242.063 -232.935 -222.627 -211.133 167.935 202.814 237.436 271.118 303.383 333.522 361.077 385.575 406.543 423.636 436.536 444.938 448.672 447.313 441.047 430.067 414.577 394.841 371.159 343.934 313.671 280.812 245.841 209.327 171.766 133.675 95.5199 57.7549 21.0835 -13.2587 -47.3377 -80.0945 -111.209 -140.491 -167.829 -193.164 -216.466 -237.751 -257.04 -274.371 -289.805 -303.406 -315.244 -325.388 -333.899 -340.835 -346.245 -350.179 -352.668 -353.732 -353.397 -351.437 -348.038 -343.162 -336.783 -328.878 -319.382 -308.231 -295.4 -280.832 -264.495 -246.373 -226.426 -204.663 -181.106 -155.769 -128.719 -100.058 -69.897 -38.3989 -5.7546 27.7065 62.0655 96.9496 132.067 167.086 201.667 235.449 268.037 299.03 327.989 354.447 377.945 398.037 414.295 426.386 434.046 437.119 435.472 429.165 418.313 403.084 383.706 360.484 333.77 303.982 271.583 237.059 200.935 163.725 125.917 87.9905 50.3608 13.4031 -22.5212 -57.2038 -90.4225 -122.006 -151.789 -179.631 -205.395 -228.971 -250.29 -269.329 -286.121 -300.752 -313.319 -323.932 -332.686 -339.653 -344.898 -348.492 -350.496 -350.973 -349.978 -347.564 -343.76 -338.573 -331.996 -323.989 -314.513 -303.5 -290.884 -276.622 -260.661 -242.971 -223.527 -202.294 -179.251 -154.402 -127.798 -99.5192 -69.6739 -38.3898 -5.83011 27.7935 62.2253 97.1872 132.334 167.31 201.715 235.149 267.197 297.442 325.46 350.877 373.316 392.444 407.979 419.679 427.362 430.904 430.221 425.283 416.121 402.813 385.488 364.319 339.539 311.415 280.262 246.471 210.488 172.79 133.886 94.3139 54.6151 15.2831 -23.0514 -59.9434 -95.0025 -127.901 -158.416 -186.4 -211.751 -234.436 -254.466 -271.906 -286.861 -299.455 -309.847 -318.223 -324.771 -329.669 -333.078 -335.133 -335.955 -335.65 -334.325 -332.024 -328.782 -324.606 -319.487 -313.397 -306.295 -298.103 -288.714 -278.018 -265.889 -252.208 -236.865 -219.749 -200.74 -179.721 -156.605 -131.346 -103.937 -74.4419 -42.9703 -9.69701 25.1485 61.2347 98.2174 135.68 173.156 210.146 246.104 280.471 312.695 342.237 368.598 391.337 410.061 424.446 434.253 439.321 439.599 435.118 425.975 412.343 394.474 372.687 347.351 318.885 287.765 254.485 219.55 183.455 146.656 109.584 72.6524 36.1623 0.402232 -34.0978 -67.2087 -98.8125 -128.794 -157.061 -183.529 -208.123 -230.782 -251.46 -270.14 -286.836 -301.597 -314.486 -325.563 -334.881 -342.471 -348.345 -352.522 -355.013 -355.825 -354.987 -352.559 -348.556 -342.978 -335.817 -327.058 -316.696 -304.722 -291.12 -275.88 -258.985 -240.429 -220.213 -198.333 -174.815 -149.709 -123.083 -95.0517 -65.7309 -35.248 -3.63807 30.1521 63.6167 97.1591 130.608 163.773 196.312 227.904 258.194 286.781 313.326 337.479 358.867 377.196 392.18 403.579 411.191 414.867 414.421 409.927 401.452 389.143 373.171 353.798 331.325 306.099 278.552 249.083 218.117 186.119 153.496 120.655 87.9838 55.8203 24.8833 -4.1106 -32.7999 -60.3242 -86.3973 -110.863 -133.606 -154.577 -173.742 -191.103 -206.673 -220.471 -232.54 -242.922 -251.656 -258.794 -264.382 -268.472 -271.119 -272.4 -272.127 -270.457 -267.46 -263.166 -257.623 -250.851 -242.882 -233.75 -223.438 -211.941 167.698 202.902 237.884 271.936 304.577 335.08 362.983 387.808 409.075 426.426 439.53 448.071 451.878 450.511 444.169 433.042 417.342 397.342 373.346 345.771 315.141 281.902 246.551 209.669 171.76 133.346 94.8954 56.8681 20.0333 -14.5796 -48.8071 -81.6684 -112.853 -142.174 -169.525 -194.852 -218.128 -239.374 -258.616 -275.893 -291.268 -304.809 -316.589 -326.678 -335.14 -342.032 -347.405 -351.307 -353.771 -354.817 -354.467 -352.516 -349.138 -344.289 -337.946 -330.082 -320.628 -309.523 -296.737 -282.211 -265.911 -247.821 -227.896 -206.148 -182.591 -157.236 -130.149 -101.432 -71.1933 -39.5966 -6.83061 26.8111 61.3389 96.4204 131.764 167.034 201.891 235.972 268.879 300.208 329.515 356.317 380.145 400.539 417.054 429.343 437.137 440.265 438.613 432.227 421.234 405.806 386.179 362.663 335.618 305.474 272.701 237.798 201.303 163.74 125.607 87.3882 49.5032 12.3297 -23.77 -58.5947 -91.9262 -123.603 -153.461 -181.358 -207.158 -230.746 -252.052 -271.053 -287.788 -302.348 -314.841 -325.384 -334.073 -340.979 -346.169 -349.714 -351.675 -352.115 -351.091 -348.66 -344.853 -339.676 -333.122 -325.149 -315.714 -304.743 -292.175 -277.957 -262.036 -244.385 -224.976 -203.77 -180.738 -155.88 -129.247 -100.92 -71.0025 -39.6203 -6.93235 26.8524 61.4771 96.6642 132.064 167.318 202.021 235.767 268.135 298.701 327.03 352.742 375.45 394.818 410.554 422.412 430.208 433.813 433.145 428.175 418.932 405.496 387.997 366.612 341.579 313.165 281.688 247.546 211.196 173.118 133.837 93.8982 53.8501 14.1766 -24.4444 -61.5724 -96.8138 -129.845 -160.442 -188.464 -213.817 -236.469 -256.438 -273.793 -288.643 -301.12 -311.387 -319.634 -326.059 -330.843 -334.15 -336.116 -336.863 -336.494 -335.129 -332.804 -329.553 -325.383 -320.286 -314.235 -307.19 -299.065 -289.757 -279.15 -267.112 -253.524 -238.275 -221.251 -202.329 -181.382 -158.316 -133.078 -105.656 -76.11 -44.5459 -11.1351 23.8958 60.2105 97.4686 135.245 173.074 210.444 246.803 281.579 314.206 344.134 370.852 393.905 412.889 427.477 437.418 442.549 442.819 438.261 428.977 415.145 397.021 374.936 349.265 320.441 288.951 255.3 220.006 183.569 146.455 109.097 71.9083 35.1973 -0.711076 -35.3536 -68.5755 -100.259 -130.299 -158.61 -185.107 -209.716 -232.377 -253.043 -271.696 -288.353 -303.069 -315.912 -326.949 -336.233 -343.794 -349.646 -353.805 -356.278 -357.071 -356.218 -353.779 -349.774 -344.203 -337.053 -328.309 -317.965 -306.011 -292.433 -277.217 -260.343 -241.803 -221.598 -199.719 -176.189 -151.055 -124.384 -96.2926 -66.8972 -36.3305 -4.61219 29.4427 63.0638 96.784 130.442 163.844 196.639 228.505 259.079 287.954 314.783 339.21 360.852 379.409 394.588 406.142 413.862 417.595 417.155 412.611 404.029 391.562 375.384 355.764 333.011 307.481 279.618 249.828 218.546 186.247 153.34 120.239 87.3343 54.9731 23.9263 -5.285 -34.0922 -61.7008 -87.8288 -112.326 -135.082 -156.05 -175.197 -192.53 -208.064 -221.822 -233.848 -244.184 -252.873 -259.965 -265.508 -269.553 -272.156 -273.39 -273.087 -271.393 -268.374 -264.063 -258.505 -251.723 -243.746 -234.609 -224.294 -212.795 167.437 202.986 238.348 272.793 305.832 336.72 364.988 390.161 411.746 429.37 442.693 451.381 455.261 453.889 447.467 436.185 420.261 399.981 375.652 347.707 316.685 283.045 247.292 210.021 171.743 132.987 94.225 55.9207 18.909 -15.9784 -50.3625 -83.334 -114.592 -143.954 -171.317 -196.633 -219.881 -241.086 -260.277 -277.495 -292.808 -306.286 -318.004 -328.035 -336.445 -343.291 -348.624 -352.494 -354.932 -355.958 -355.597 -353.652 -350.293 -345.475 -339.17 -331.349 -321.941 -310.884 -298.145 -283.664 -267.404 -249.347 -229.447 -207.716 -184.16 -158.786 -131.662 -102.885 -72.5649 -40.8641 -7.96908 25.8582 60.5628 95.854 131.436 166.971 202.12 236.513 269.757 301.442 331.117 358.287 382.466 403.179 419.967 432.467 440.404 443.586 441.933 435.462 424.318 408.68 388.788 364.96 337.567 307.044 273.874 238.571 201.682 163.746 125.268 86.742 48.587 11.1875 -25.0954 -60.0684 -93.5175 -125.29 -155.228 -183.183 -209.02 -232.622 -253.915 -272.875 -289.546 -304.03 -316.443 -326.911 -335.532 -342.374 -347.506 -350.999 -352.915 -353.314 -352.26 -349.811 -346 -340.835 -334.305 -326.368 -316.976 -306.052 -293.535 -279.364 -263.486 -245.875 -226.504 -205.328 -182.309 -157.442 -130.78 -102.403 -72.4099 -40.9258 -8.1032 25.8511 60.6792 96.1027 131.769 167.318 202.335 236.413 269.119 300.026 328.684 354.707 377.701 397.321 413.271 425.297 433.212 436.885 436.231 431.228 421.9 408.328 390.645 369.032 343.731 315.01 283.191 248.68 211.939 173.458 133.778 93.4521 53.035 12.9959 -25.9268 -63.3039 -98.7377 -131.905 -162.587 -190.649 -216.002 -238.617 -258.52 -275.785 -290.524 -302.876 -313.009 -321.119 -327.412 -332.077 -335.275 -337.148 -337.815 -337.38 -335.972 -333.621 -330.36 -326.197 -321.122 -315.115 -308.127 -300.074 -290.853 -280.341 -268.399 -254.91 -239.76 -222.835 -204.007 -183.138 -160.125 -134.911 -107.478 -77.8792 -46.2186 -12.6628 22.5608 59.1173 96.6659 134.773 172.976 210.748 247.532 282.741 315.796 346.133 373.229 396.616 415.878 430.68 440.762 445.961 446.222 441.581 432.149 418.104 399.709 377.307 351.282 322.079 290.195 256.152 220.477 183.68 146.233 108.574 71.1158 34.1746 -1.8993 -36.6884 -70.0244 -101.79 -131.889 -160.245 -186.771 -211.397 -234.06 -254.714 -273.338 -289.953 -304.62 -317.414 -328.407 -337.654 -345.186 -351.016 -355.156 -357.609 -358.383 -357.511 -355.062 -351.056 -345.491 -338.354 -329.626 -319.301 -307.369 -293.816 -278.626 -261.774 -243.252 -223.059 -201.182 -177.64 -152.477 -125.76 -97.6044 -68.1305 -37.4771 -5.65268 28.695 62.4748 96.3798 130.258 163.909 196.976 229.131 260.007 289.186 316.316 341.033 362.944 381.743 397.13 408.848 416.684 420.478 420.045 415.446 406.752 394.118 377.72 357.838 334.788 308.936 280.738 250.607 218.99 186.372 153.167 119.791 86.6396 54.0727 22.9009 -6.52626 -35.4585 -63.1567 -89.3425 -113.873 -136.642 -157.604 -176.732 -194.034 -209.531 -223.245 -235.224 -245.513 -254.154 -261.198 -266.694 -270.691 -273.246 -274.43 -274.097 -272.377 -269.336 -265.006 -259.433 -252.64 -244.656 -235.513 -225.196 -213.694 167.15 203.063 238.826 273.686 307.147 338.441 367.095 392.634 414.556 432.472 446.025 454.87 458.821 457.449 450.943 439.496 423.336 402.759 378.078 349.74 318.305 284.24 248.063 210.38 171.714 132.597 93.5073 54.9132 17.7064 -17.4572 -52.0056 -85.0932 -116.428 -145.831 -173.206 -198.51 -221.726 -242.887 -262.024 -279.179 -294.427 -307.837 -319.49 -329.46 -337.813 -344.611 -349.904 -353.738 -356.149 -357.155 -356.785 -354.842 -351.505 -346.719 -340.453 -332.679 -323.319 -312.313 -299.624 -285.192 -268.975 -250.951 -231.081 -209.369 -185.814 -160.421 -133.257 -104.418 -74.013 -42.2023 -9.17005 24.8441 59.7365 95.2489 131.082 166.894 202.349 237.072 270.672 302.732 332.794 360.354 384.906 405.958 423.036 435.76 443.85 447.104 445.432 438.871 427.568 411.707 391.535 367.378 339.615 308.693 275.102 239.374 202.072 163.742 124.899 86.0497 47.6096 9.97523 -26.4987 -61.6266 -95.1976 -127.07 -157.091 -185.108 -210.984 -234.6 -255.878 -274.793 -291.396 -305.798 -318.127 -328.515 -337.063 -343.838 -348.91 -352.349 -354.215 -354.571 -353.484 -351.016 -347.201 -342.049 -335.545 -327.647 -318.3 -307.427 -294.964 -280.842 -265.009 -247.442 -228.112 -206.97 -183.965 -159.089 -132.397 -103.968 -73.8977 -42.3076 -9.34427 24.7877 59.83 95.5006 131.449 167.308 202.657 237.084 270.148 301.414 330.422 356.774 380.07 399.956 416.132 428.334 436.376 440.121 439.482 434.443 425.024 411.309 393.432 371.579 345.996 316.951 284.772 249.871 212.719 173.81 133.709 92.9738 52.1691 11.7386 -27.5008 -65.1412 -100.777 -134.086 -164.855 -192.956 -218.307 -240.883 -260.715 -277.884 -292.504 -304.722 -314.714 -322.677 -328.831 -333.368 -336.453 -338.228 -338.811 -338.305 -336.853 -334.474 -331.202 -327.046 -321.997 -316.034 -309.107 -301.13 -292.003 -281.59 -269.751 -256.365 -241.32 -224.502 -205.773 -184.988 -162.035 -136.847 -109.403 -79.7516 -47.9905 -14.2837 21.1413 57.9533 95.806 134.264 172.859 211.057 248.29 283.957 317.465 348.234 375.731 399.473 419.028 434.056 444.287 449.558 449.81 445.081 435.49 421.219 402.539 379.8 353.4 323.796 291.497 257.038 220.962 183.786 145.988 108.015 70.2724 33.0914 -3.16416 -38.1039 -71.5561 -103.406 -133.566 -161.968 -188.525 -213.168 -235.833 -256.474 -275.067 -291.635 -306.248 -318.99 -329.936 -339.145 -346.647 -352.455 -356.575 -359.008 -359.76 -358.867 -356.408 -352.4 -346.844 -339.72 -331.009 -320.704 -308.796 -295.27 -280.107 -263.278 -244.776 -224.596 -202.722 -179.17 -153.977 -127.211 -98.988 -69.4311 -38.688 -6.76244 27.9086 61.8483 95.9445 130.055 163.969 197.323 229.783 260.976 290.477 317.925 342.949 365.145 384.2 399.806 411.699 419.657 423.519 423.09 418.435 409.622 396.81 380.181 360.021 336.657 310.464 281.911 251.42 219.45 186.495 152.975 119.31 85.898 53.1176 21.8057 -7.83517 -36.9002 -64.6933 -90.9396 -115.504 -138.285 -159.242 -178.348 -195.617 -211.073 -224.741 -236.671 -246.91 -255.5 -262.494 -267.939 -271.887 -274.391 -275.52 -275.156 -273.409 -270.345 -265.994 -260.406 -253.602 -245.609 -236.462 -226.143 -214.638 166.835 203.132 239.318 274.616 308.521 340.243 369.303 395.227 417.506 435.732 449.53 458.539 462.559 461.192 454.599 442.979 426.569 405.677 380.625 351.871 319.999 285.487 248.862 210.746 171.67 132.173 92.7398 53.8451 16.4225 -19.018 -53.7385 -86.9476 -118.361 -147.808 -175.194 -200.482 -223.663 -244.778 -263.857 -280.945 -296.123 -309.461 -321.045 -330.951 -339.246 -345.993 -351.242 -355.041 -357.423 -358.407 -358.026 -356.088 -352.773 -348.021 -341.798 -334.072 -324.762 -313.809 -301.175 -286.794 -270.622 -252.636 -232.799 -211.106 -187.553 -162.141 -134.936 -106.033 -75.5379 -43.6123 -10.4353 23.7669 58.8586 94.6032 130.698 166.804 202.577 237.648 271.62 304.075 334.547 362.519 387.468 408.879 426.263 439.223 447.476 450.81 449.114 442.455 430.985 414.888 394.421 369.917 341.763 310.419 276.383 240.208 202.469 163.724 124.498 85.3084 46.5685 8.69129 -27.982 -63.2701 -96.9672 -128.944 -159.05 -187.132 -213.051 -236.682 -257.945 -276.811 -293.338 -307.652 -319.892 -330.194 -338.665 -345.37 -350.379 -353.761 -355.576 -355.886 -354.762 -352.274 -348.456 -343.318 -336.842 -328.984 -319.685 -308.868 -296.463 -282.392 -266.607 -249.086 -229.801 -208.696 -185.706 -160.822 -134.1 -105.618 -75.4677 -43.7671 -10.6574 23.6605 58.9272 94.8563 131.101 167.289 202.986 237.781 271.222 302.867 332.243 358.943 382.558 402.724 419.137 431.525 439.701 443.522 442.899 437.822 428.308 414.442 396.361 374.255 348.375 318.99 286.431 251.12 213.532 174.175 133.627 92.4617 51.2513 10.4015 -29.1688 -67.0868 -102.935 -136.39 -167.248 -195.387 -220.736 -243.268 -263.022 -280.089 -294.585 -306.661 -316.5 -324.309 -330.315 -334.717 -337.682 -339.354 -339.85 -339.27 -337.771 -335.362 -332.079 -327.931 -322.909 -316.992 -310.128 -302.234 -293.206 -282.898 -271.167 -257.89 -242.956 -226.251 -207.63 -186.935 -164.046 -138.887 -111.434 -81.7292 -49.8643 -16.0013 19.6357 56.7163 94.8855 133.715 172.723 211.368 249.074 285.226 319.213 350.438 378.357 402.476 422.342 437.608 447.996 453.341 453.585 448.762 439.003 424.493 405.511 382.418 355.622 325.593 292.855 257.958 221.459 183.884 145.719 107.415 69.3768 31.944 -4.50713 -39.6019 -73.1716 -105.108 -135.329 -163.778 -190.368 -215.028 -237.696 -258.322 -276.882 -293.401 -307.955 -320.64 -331.537 -340.706 -348.175 -353.961 -358.062 -360.475 -361.202 -360.287 -357.815 -353.807 -348.259 -341.15 -332.457 -322.174 -310.291 -296.793 -281.659 -264.856 -246.376 -226.209 -204.341 -180.779 -155.556 -128.739 -100.444 -70.7996 -39.9634 -7.94407 27.0835 61.1823 95.4766 129.832 164.021 197.677 230.459 261.987 291.827 319.61 344.957 367.455 386.78 402.618 414.695 422.783 426.719 426.294 421.579 412.641 399.642 382.767 362.314 338.617 312.064 283.136 252.266 219.923 186.614 152.762 118.793 85.1071 52.1037 20.6421 -9.212 -38.4188 -66.3124 -92.6212 -117.22 -140.012 -160.963 -180.045 -197.278 -212.691 -226.311 -238.189 -248.374 -256.912 -263.853 -269.245 -273.139 -275.59 -276.663 -276.264 -274.489 -271.401 -267.029 -261.424 -254.609 -246.608 -237.455 -227.134 -215.629 166.488 203.19 239.821 275.58 309.955 342.126 371.611 397.94 420.597 439.151 453.21 462.392 466.489 465.121 458.438 446.634 429.961 408.737 383.291 354.099 321.767 286.785 249.688 211.118 171.61 131.713 91.9187 52.715 15.0555 -20.6622 -55.5634 -88.8993 -120.395 -149.885 -177.281 -202.551 -225.694 -246.759 -265.776 -282.794 -297.897 -311.16 -322.671 -332.509 -340.742 -347.435 -352.639 -356.401 -358.754 -359.713 -359.319 -357.391 -354.096 -349.38 -343.202 -335.526 -326.269 -315.375 -302.799 -288.472 -272.347 -254.402 -234.601 -212.929 -189.378 -163.947 -136.701 -107.73 -77.1406 -45.0952 -11.7668 22.6242 57.9275 93.9154 130.285 166.698 202.804 238.238 272.601 305.472 336.375 364.782 390.151 411.943 429.651 442.86 451.284 454.697 452.982 446.218 434.57 418.225 397.447 372.577 344.011 312.222 277.718 241.071 202.873 163.689 124.065 84.5158 45.4615 7.33359 -29.5479 -64.9996 -98.8276 -130.911 -161.108 -189.258 -215.222 -238.868 -260.115 -278.928 -295.374 -309.592 -321.736 -331.948 -340.337 -346.971 -351.914 -355.235 -356.996 -357.257 -356.093 -353.585 -349.765 -344.641 -338.194 -330.379 -321.132 -310.376 -298.031 -284.014 -268.28 -250.808 -231.571 -210.506 -187.535 -162.643 -135.889 -107.353 -77.1213 -45.3064 -12.0445 22.4679 57.9681 94.1683 130.725 167.256 203.321 238.502 272.34 304.384 334.148 361.214 385.165 405.625 422.287 434.872 443.189 447.089 446.484 441.366 431.751 417.726 399.431 377.059 350.868 321.127 288.17 252.426 214.378 174.549 133.532 91.914 50.28 8.98072 -30.933 -69.1441 -105.213 -138.82 -169.767 -197.946 -223.288 -245.773 -265.444 -282.401 -296.765 -308.692 -318.369 -326.014 -331.864 -336.123 -338.963 -340.528 -340.933 -340.278 -338.724 -336.284 -332.991 -328.851 -323.858 -317.988 -311.19 -303.386 -294.46 -284.264 -272.647 -259.485 -244.669 -228.083 -209.576 -188.98 -166.161 -141.034 -113.572 -83.8138 -51.8432 -17.8179 18.0417 55.4033 93.9029 133.121 172.566 211.681 249.885 286.547 321.039 352.747 381.111 405.625 425.821 441.338 451.891 457.314 457.547 452.626 442.69 427.928 408.627 385.16 357.947 327.471 294.269 258.909 221.967 183.974 145.424 106.775 68.4283 30.7281 -5.92952 -41.1843 -74.8731 -106.896 -137.181 -165.677 -192.3 -216.979 -239.65 -260.261 -278.785 -295.25 -309.741 -322.365 -333.208 -342.335 -349.773 -355.534 -359.618 -362.01 -362.71 -361.769 -359.284 -355.276 -349.739 -342.646 -333.971 -323.71 -311.853 -298.387 -283.283 -266.508 -248.05 -227.9 -206.04 -182.469 -157.213 -130.343 -101.973 -72.2363 -41.3036 -9.20018 26.2198 60.4748 94.9736 129.586 164.065 198.037 231.157 263.037 293.234 321.371 347.059 369.873 389.484 405.567 417.838 426.064 430.077 429.657 424.879 415.81 402.613 385.48 364.717 340.669 313.736 284.414 253.144 220.408 186.726 152.527 118.238 84.2622 51.0211 19.4184 -10.6567 -40.0161 -68.0155 -94.3886 -119.023 -141.826 -162.768 -181.824 -199.019 -214.386 -227.953 -239.776 -249.905 -258.388 -265.274 -270.611 -274.45 -276.844 -277.858 -277.422 -275.616 -272.503 -268.108 -262.487 -255.66 -247.651 -238.493 -228.171 -216.665 166.107 203.237 240.335 276.578 311.447 344.09 374.019 400.771 423.829 442.733 457.066 466.432 470.614 469.241 462.462 450.465 433.514 411.94 386.08 356.425 323.608 288.131 250.54 211.492 171.531 131.216 91.0405 51.5171 13.607 -22.3908 -57.4825 -90.9503 -122.531 -152.065 -179.469 -204.718 -227.819 -248.831 -267.782 -284.724 -299.749 -312.932 -324.366 -334.133 -342.302 -348.938 -354.095 -357.819 -360.141 -361.075 -360.664 -358.745 -355.477 -350.797 -344.665 -337.041 -327.842 -317.009 -304.494 -290.225 -274.151 -256.249 -236.486 -214.837 -191.291 -165.841 -138.551 -109.51 -78.8232 -46.653 -13.1678 21.4162 56.9414 93.184 129.841 166.572 203.027 238.842 273.613 306.919 338.277 367.141 392.955 415.151 433.199 446.672 455.278 458.787 457.037 450.161 438.326 421.72 400.615 375.36 346.362 314.104 279.106 241.962 203.281 163.637 123.595 83.6697 44.2868 5.90009 -31.1987 -66.8167 -100.779 -132.974 -163.264 -191.486 -217.498 -241.162 -262.391 -281.147 -297.505 -311.618 -323.66 -333.778 -342.082 -348.641 -353.514 -356.771 -358.476 -358.684 -357.477 -354.949 -351.127 -346.018 -339.602 -331.832 -322.64 -311.95 -299.668 -285.709 -270.027 -252.606 -233.422 -212.402 -189.453 -164.552 -137.765 -109.174 -78.8601 -46.9276 -13.5076 21.2081 56.9507 93.4344 130.319 167.209 203.659 239.246 273.5 305.964 336.137 363.588 387.892 408.662 425.585 438.376 446.84 450.826 450.238 445.076 435.355 421.165 402.645 379.995 353.478 323.364 289.988 253.79 215.256 174.933 133.421 91.3289 49.2526 7.47382 -32.7978 -71.3163 -107.613 -141.378 -172.416 -200.633 -225.967 -248.4 -267.982 -284.822 -299.047 -310.816 -320.321 -327.792 -333.476 -337.585 -340.294 -341.748 -342.059 -341.323 -339.713 -337.239 -333.936 -329.806 -324.842 -319.021 -312.293 -304.583 -295.766 -285.688 -274.192 -261.15 -246.457 -229.997 -211.614 -191.124 -168.379 -143.29 -115.821 -86.0083 -53.9296 -19.735 16.3569 54.01 92.8563 132.482 172.385 211.994 250.72 287.918 322.942 355.158 383.992 408.922 429.467 445.249 455.976 461.478 461.699 456.677 446.553 431.526 411.888 388.028 360.375 329.428 295.738 259.892 222.484 184.052 145.101 106.091 67.4239 29.4414 -7.43303 -42.853 -76.6619 -108.772 -139.122 -167.666 -194.323 -219.021 -241.696 -262.291 -280.776 -297.183 -311.606 -324.163 -334.951 -344.034 -351.439 -357.176 -361.241 -363.612 -364.285 -363.311 -360.814 -356.808 -351.282 -344.206 -335.551 -325.313 -313.484 -300.05 -284.98 -268.233 -249.8 -229.671 -207.82 -184.24 -158.952 -132.026 -103.577 -73.7418 -42.7084 -10.5331 25.3177 59.7231 94.4332 129.316 164.098 198.403 231.878 264.126 294.698 323.208 349.254 372.401 392.312 408.653 421.13 429.5 433.594 433.182 428.339 419.131 405.726 388.32 367.231 342.813 315.481 285.743 254.052 220.904 186.832 152.268 117.644 83.3606 49.8564 18.1434 -12.1695 -41.694 -69.8045 -96.2434 -120.912 -143.725 -164.658 -183.685 -200.839 -216.157 -229.669 -241.434 -251.504 -259.929 -266.757 -272.036 -275.818 -278.153 -279.104 -278.63 -276.791 -273.652 -269.233 -263.595 -256.756 -248.738 -239.575 -229.254 -217.748 165.689 203.271 240.858 277.608 312.997 346.135 376.528 403.722 427.204 446.478 461.101 470.66 474.933 473.555 466.674 454.474 437.229 415.287 388.99 358.848 325.521 289.525 251.415 211.868 171.432 130.679 90.1021 50.2365 12.0857 -24.2045 -59.4983 -93.1029 -124.77 -154.348 -181.759 -206.983 -230.039 -250.994 -269.876 -286.737 -301.679 -314.778 -326.131 -335.823 -343.925 -350.502 -355.608 -359.293 -361.585 -362.492 -362.059 -360.153 -356.913 -352.271 -346.188 -338.619 -329.479 -318.712 -306.262 -292.054 -276.035 -258.179 -238.456 -216.832 -193.293 -167.823 -140.489 -111.376 -80.5882 -48.2881 -14.6406 20.1434 55.899 92.408 129.364 166.426 203.245 239.457 274.656 308.417 340.252 369.598 395.88 418.505 436.912 450.661 459.459 463.069 461.281 454.285 442.253 425.374 403.924 378.266 348.813 316.062 280.544 242.878 203.691 163.565 123.085 82.7685 43.0405 4.38877 -32.9372 -68.7235 -102.823 -135.133 -165.52 -193.818 -219.881 -243.564 -264.774 -283.468 -299.73 -313.732 -325.663 -335.683 -343.898 -350.38 -355.179 -358.369 -360.016 -360.168 -358.914 -356.365 -352.541 -347.447 -341.064 -333.341 -324.211 -313.59 -301.375 -287.477 -271.849 -254.481 -235.355 -214.386 -191.461 -166.55 -139.73 -111.082 -80.6851 -48.6329 -15.0487 19.8787 55.8733 92.6527 129.881 167.145 203.999 240.013 274.704 307.608 338.209 366.065 390.741 411.835 429.031 442.038 450.657 454.73 454.163 448.955 439.122 424.758 406.004 383.061 356.205 325.701 291.885 255.21 216.165 175.324 133.295 90.7043 48.1701 5.87532 -34.7677 -73.6051 -110.142 -144.066 -175.196 -203.449 -228.774 -251.152 -270.636 -287.353 -301.431 -313.032 -322.356 -329.643 -335.152 -339.103 -341.677 -343.013 -343.226 -342.408 -340.736 -338.228 -334.914 -330.795 -325.86 -320.089 -313.437 -305.826 -297.123 -287.17 -275.801 -262.885 -248.32 -231.995 -213.744 -193.368 -170.705 -145.655 -118.182 -88.3157 -56.1259 -21.7554 14.5774 52.5337 91.7427 131.795 172.175 212.304 251.581 289.341 324.923 357.674 387.001 412.37 433.282 449.343 460.254 465.836 466.044 460.914 450.594 435.286 415.295 391.02 362.906 331.464 297.261 260.904 223.007 184.116 144.748 105.361 66.3602 28.0826 -9.01923 -44.6105 -78.5397 -110.736 -141.153 -169.745 -196.437 -221.155 -243.834 -264.412 -282.856 -299.2 -313.55 -326.035 -336.764 -345.801 -353.173 -358.885 -362.932 -365.283 -365.927 -364.914 -362.403 -358.401 -352.889 -345.831 -337.196 -326.982 -315.182 -301.783 -286.748 -270.031 -251.628 -231.521 -209.682 -186.095 -160.772 -133.788 -105.256 -75.3163 -44.1774 -11.9445 24.3765 58.9243 93.8522 129.016 164.119 198.772 232.619 265.254 296.219 325.121 351.542 375.04 395.267 411.879 424.572 433.094 437.268 436.87 431.959 422.607 408.983 391.289 369.857 345.05 317.298 287.124 254.99 221.41 186.927 151.983 117.009 82.4 48.6048 16.8184 -13.7518 -43.4548 -71.6816 -98.1871 -122.889 -145.712 -166.634 -185.63 -202.74 -218.004 -231.459 -243.162 -253.171 -261.535 -268.303 -273.522 -277.243 -279.518 -280.402 -279.887 -278.015 -274.847 -270.402 -264.746 -257.896 -249.869 -240.702 -230.381 -218.877 165.23 203.29 241.388 278.669 314.606 348.261 379.137 406.791 430.721 450.389 465.317 475.08 479.448 478.065 471.077 458.663 441.11 418.78 392.025 361.37 327.506 290.966 252.312 212.243 171.312 130.101 89.1002 48.8636 10.4953 -26.1044 -61.6138 -95.3593 -127.114 -156.738 -184.153 -209.348 -232.353 -253.25 -272.057 -288.834 -303.688 -316.698 -327.966 -337.579 -345.612 -352.127 -357.18 -360.823 -363.086 -363.964 -363.504 -361.612 -358.403 -353.802 -347.769 -340.26 -331.182 -320.484 -308.102 -293.96 -277.999 -260.19 -240.51 -218.915 -195.384 -169.894 -142.516 -113.328 -82.4371 -50.0025 -16.1867 18.8047 54.7992 91.5852 128.852 166.258 203.457 240.081 275.725 309.962 342.296 372.151 398.927 422.004 440.79 454.831 463.83 467.577 465.718 458.593 446.355 429.188 407.379 381.297 351.367 318.1 282.035 243.82 204.102 163.474 122.534 81.8113 41.7172 2.79716 -34.7658 -70.7221 -104.96 -137.39 -167.878 -196.255 -222.371 -246.077 -267.266 -285.894 -302.052 -315.932 -327.745 -337.661 -345.785 -352.186 -356.909 -360.03 -361.614 -361.71 -360.403 -357.832 -354.006 -348.929 -342.579 -334.908 -325.845 -315.296 -303.152 -289.318 -273.745 -256.434 -237.371 -216.458 -193.561 -168.641 -141.785 -113.079 -82.5979 -50.4246 -16.6702 18.4766 54.7331 91.8198 129.407 167.062 204.341 240.8 275.949 309.313 340.365 368.645 393.709 415.146 432.627 445.861 454.641 458.809 458.259 453.003 443.055 428.511 409.509 386.261 359.051 328.139 293.865 256.688 217.108 175.722 133.154 90.038 47.0293 4.18291 -36.8464 -76.0126 -112.802 -146.888 -178.108 -206.398 -231.711 -254.03 -273.411 -289.996 -303.919 -315.343 -324.475 -331.565 -336.89 -340.677 -343.11 -344.323 -344.434 -343.542 -341.792 -339.248 -335.926 -331.818 -326.911 -321.192 -314.622 -307.113 -298.531 -288.711 -277.475 -264.69 -250.259 -234.076 -215.967 -195.714 -173.139 -148.134 -120.658 -90.7386 -58.4349 -23.8828 12.6999 50.971 90.5579 131.057 171.932 212.609 252.463 290.813 326.982 360.293 390.138 415.968 437.267 453.622 464.726 470.392 470.583 465.342 454.816 439.213 418.85 394.14 365.541 333.579 298.838 261.946 223.537 184.166 144.363 104.585 65.2341 26.6495 -10.6909 -46.4594 -80.509 -112.788 -143.273 -171.916 -198.643 -223.382 -246.067 -266.627 -285.027 -301.303 -315.572 -327.981 -338.647 -347.637 -354.975 -360.661 -364.691 -367.023 -367.636 -366.58 -364.053 -360.056 -354.56 -347.52 -338.906 -328.717 -316.949 -303.587 -288.588 -271.906 -253.534 -233.45 -211.626 -188.034 -162.675 -135.631 -107.011 -76.9603 -45.7092 -13.4334 23.394 58.0743 93.2306 128.669 164.124 199.143 233.38 266.418 297.797 327.109 353.924 377.789 398.348 415.246 428.166 436.847 441.102 440.723 435.743 426.239 412.385 394.389 372.595 347.38 319.187 288.555 255.957 221.924 187.013 151.671 116.331 81.3788 47.2586 15.4473 -15.4056 -45.3009 -73.6489 -100.221 -124.956 -147.786 -168.698 -187.659 -204.721 -219.929 -233.323 -244.961 -254.906 -263.206 -269.911 -275.068 -278.727 -280.938 -281.756 -281.194 -279.285 -276.088 -271.615 -265.942 -259.079 -251.044 -241.872 -231.553 -220.053 164.726 203.294 241.922 279.759 316.272 350.468 381.846 409.977 434.382 454.468 469.718 479.694 484.163 482.775 475.673 463.035 445.157 422.421 395.183 363.989 329.563 292.453 253.229 212.614 171.167 129.479 88.0312 47.3927 8.83613 -28.0931 -63.8317 -97.7218 -129.566 -159.234 -186.652 -211.813 -234.764 -255.598 -274.327 -291.013 -305.776 -318.691 -329.869 -339.401 -347.36 -353.812 -358.81 -362.408 -364.643 -365.492 -364.99 -363.122 -359.947 -355.389 -349.41 -341.962 -332.949 -322.325 -310.015 -295.944 -280.044 -262.281 -242.649 -221.087 -197.565 -172.057 -144.634 -115.371 -84.3704 -51.7972 -17.8075 17.3985 53.6407 90.713 128.301 166.068 203.66 240.713 276.821 311.555 344.411 374.802 402.098 425.651 444.836 459.184 468.393 472.26 470.347 463.086 450.633 433.165 410.978 384.452 354.023 320.212 283.575 244.785 204.508 163.356 121.938 80.7924 40.3266 1.10785 -36.6867 -72.8155 -107.189 -139.745 -170.339 -198.798 -224.971 -248.701 -269.869 -288.425 -304.47 -318.221 -329.905 -339.712 -347.744 -354.059 -358.704 -361.752 -363.273 -363.307 -361.943 -359.35 -355.522 -350.461 -344.147 -336.532 -327.54 -317.068 -304.999 -291.233 -275.717 -258.464 -239.471 -218.62 -195.755 -170.823 -143.931 -115.166 -84.5996 -52.3038 -18.3741 16.9999 53.5286 90.9335 128.898 166.959 204.683 241.607 277.236 311.081 342.603 371.329 396.801 418.595 436.376 449.846 458.794 463.058 462.528 457.222 447.156 432.422 413.161 389.595 362.015 330.677 295.925 258.221 218.081 176.126 132.993 89.3257 45.8224 2.39768 -39.0361 -78.5455 -115.596 -149.849 -181.157 -209.482 -234.781 -257.035 -276.307 -292.752 -306.511 -317.749 -326.677 -333.56 -338.69 -342.307 -344.592 -345.677 -345.681 -344.724 -342.879 -340.301 -336.97 -332.871 -327.994 -322.331 -315.845 -308.443 -299.99 -290.311 -279.214 -266.564 -252.273 -236.241 -218.283 -198.165 -175.683 -150.727 -123.252 -93.2791 -60.8596 -26.1203 10.7222 49.3184 89.2981 130.266 171.657 212.904 253.366 292.336 329.121 363.021 393.405 419.719 441.424 458.089 469.395 475.146 475.318 469.961 459.22 443.306 422.553 397.387 368.281 335.773 300.466 263.013 224.068 184.198 143.941 103.759 64.0408 25.1373 -12.452 -48.4018 -82.5714 -114.932 -145.484 -174.179 -200.942 -225.703 -248.393 -268.937 -287.289 -303.49 -317.673 -329.999 -340.599 -349.542 -356.843 -362.505 -366.518 -368.832 -369.413 -368.305 -365.762 -361.771 -356.293 -349.273 -340.681 -330.518 -318.782 -305.46 -290.501 -273.857 -255.518 -235.461 -213.655 -190.059 -164.661 -137.556 -108.844 -78.6743 -47.3024 -14.9933 22.3624 57.1687 92.5643 128.296 164.111 199.515 234.159 267.619 299.43 329.172 356.399 380.65 401.556 418.754 431.914 440.761 445.103 444.742 439.692 430.03 415.933 397.62 375.447 349.804 321.148 290.036 256.951 222.444 187.085 151.331 115.61 80.2945 45.8067 14.0381 -17.1343 -47.2351 -75.7088 -102.348 -127.114 -149.95 -170.849 -189.773 -206.783 -221.932 -235.261 -246.831 -256.708 -264.942 -271.582 -276.673 -280.268 -282.413 -283.164 -282.551 -280.603 -277.376 -272.873 -267.18 -260.307 -252.263 -243.085 -232.771 -221.276 164.172 203.281 242.458 280.875 317.996 352.756 384.655 413.279 438.188 458.717 474.305 484.505 489.088 487.687 480.465 467.592 449.373 426.21 398.466 366.705 331.691 293.984 254.164 212.979 170.995 128.811 86.8926 45.815 7.11118 -30.1741 -66.1559 -100.193 -132.127 -161.84 -189.259 -214.38 -237.27 -258.04 -276.686 -293.275 -307.943 -320.758 -331.842 -341.288 -349.171 -355.557 -360.497 -364.049 -366.255 -367.075 -366.518 -364.681 -361.545 -357.032 -351.11 -343.727 -334.781 -324.236 -312.003 -298.007 -282.169 -264.454 -244.876 -223.349 -199.838 -174.314 -146.845 -117.503 -86.3893 -53.6739 -19.5051 15.9236 52.4205 89.7879 127.71 165.852 203.853 241.351 277.939 313.191 346.595 377.547 405.391 429.448 449.053 463.723 473.151 477.164 475.17 467.768 455.089 437.305 414.722 387.733 356.783 322.403 285.167 245.774 204.911 163.212 121.297 79.7112 38.861 -0.670607 -38.7011 -75.0056 -109.513 -142.198 -172.904 -201.449 -227.681 -251.439 -272.585 -291.064 -306.986 -320.596 -332.144 -341.836 -349.772 -355.999 -360.563 -363.536 -364.991 -364.962 -363.532 -360.918 -357.087 -352.044 -345.769 -338.215 -329.297 -318.904 -306.917 -293.222 -277.763 -260.571 -241.654 -220.873 -198.045 -173.098 -146.17 -117.346 -86.6932 -54.2737 -20.1647 15.446 52.2558 89.9893 128.346 166.83 205.023 242.431 278.563 312.912 344.925 374.117 400.015 422.184 440.278 453.995 463.118 467.484 466.973 461.616 451.425 436.493 416.96 393.064 365.1 333.319 298.067 259.814 219.088 176.535 132.81 88.5648 44.5278 0.539401 -41.339 -81.2111 -118.526 -152.952 -184.346 -212.702 -237.988 -260.17 -279.325 -295.621 -309.21 -320.251 -328.962 -335.625 -340.551 -343.991 -346.122 -347.074 -346.965 -345.917 -343.996 -341.385 -338.045 -333.954 -329.108 -323.504 -317.105 -309.816 -301.499 -291.969 -281.018 -268.508 -254.361 -238.488 -220.694 -200.721 -178.34 -153.437 -125.965 -95.941 -63.4035 -28.4709 8.64115 47.5719 87.9598 129.414 171.346 213.187 254.285 293.906 331.335 365.854 396.805 423.624 445.756 462.748 474.266 480.105 480.254 474.775 463.808 447.569 426.405 400.762 371.124 338.044 302.146 264.106 224.602 184.211 143.484 102.884 62.7803 23.5455 -14.304 -50.4388 -84.7281 -117.167 -147.786 -176.534 -203.335 -228.118 -250.816 -271.343 -289.643 -305.764 -319.852 -332.09 -342.621 -351.513 -358.779 -364.417 -368.413 -370.71 -371.259 -370.09 -367.529 -363.546 -358.088 -351.091 -342.522 -332.386 -320.683 -307.403 -292.489 -275.883 -257.581 -237.553 -215.769 -192.169 -166.733 -139.564 -110.757 -80.4595 -48.9562 -16.6048 21.2621 56.2029 91.8493 127.899 164.08 199.886 234.955 268.854 301.117 331.311 358.969 383.622 404.893 422.406 435.818 444.839 449.272 448.931 443.809 433.981 419.631 400.984 378.413 352.32 323.18 291.566 257.97 222.969 187.144 150.96 114.843 79.149 44.229 12.6049 -18.9427 -49.2608 -77.8641 -104.568 -129.363 -152.204 -173.09 -191.971 -208.927 -224.012 -237.274 -248.772 -258.578 -266.744 -273.316 -278.339 -281.867 -283.944 -284.621 -283.962 -281.968 -278.712 -274.173 -268.461 -261.576 -253.527 -244.342 -234.033 -222.546 163.561 203.252 242.994 282.016 319.778 355.125 387.562 416.694 442.138 463.139 479.083 489.516 494.218 492.805 485.457 472.336 453.761 430.15 401.875 369.52 333.889 295.559 255.115 213.338 170.792 128.097 85.6842 44.1156 5.32773 -32.352 -68.5904 -102.775 -134.799 -164.558 -191.974 -217.049 -239.872 -260.577 -279.135 -295.62 -310.189 -322.898 -333.883 -343.24 -351.043 -357.361 -362.242 -365.746 -367.923 -368.714 -368.086 -366.289 -363.196 -358.73 -352.869 -345.554 -336.677 -326.217 -314.065 -300.147 -284.374 -266.709 -247.19 -225.701 -202.205 -176.666 -149.151 -119.728 -88.4956 -55.6343 -21.2806 14.3781 51.1359 88.8093 127.08 165.61 204.034 241.993 279.078 314.87 348.846 380.387 408.807 433.393 453.441 468.448 478.103 482.278 480.187 472.64 459.727 441.613 418.619 391.144 359.649 324.673 286.81 246.783 205.309 163.034 120.605 78.5603 37.3135 -2.54738 -40.8131 -77.2946 -111.934 -144.751 -175.575 -204.21 -230.505 -254.294 -275.415 -293.81 -309.599 -323.057 -334.462 -344.032 -351.87 -358.008 -362.487 -365.382 -366.771 -366.674 -365.169 -362.534 -358.702 -353.678 -347.445 -339.955 -331.114 -320.804 -308.906 -295.287 -279.885 -262.755 -243.919 -223.219 -200.432 -175.467 -148.5 -119.62 -88.8799 -56.336 -22.0423 13.8152 50.9147 88.9891 127.756 166.68 205.358 243.27 279.93 314.804 347.329 377.009 403.354 425.911 444.333 458.308 467.614 472.087 471.595 466.186 455.867 440.727 420.912 396.67 368.306 336.065 300.293 261.465 220.126 176.947 132.601 87.7497 43.1087 -1.36476 -43.7606 -84.0149 -121.597 -156.2 -187.679 -216.062 -241.332 -263.437 -282.465 -298.606 -312.016 -322.85 -331.331 -337.762 -342.474 -345.727 -347.698 -348.512 -348.286 -347.132 -345.141 -342.498 -339.15 -335.068 -330.254 -324.711 -318.401 -311.231 -303.059 -293.685 -282.886 -270.521 -256.523 -240.819 -223.2 -203.384 -181.112 -156.265 -128.802 -98.7284 -66.0704 -30.9397 6.45068 45.7288 86.542 128.497 170.998 213.459 255.219 295.521 333.624 368.79 400.335 427.682 450.262 467.598 479.338 485.268 485.394 479.786 468.584 452.003 430.41 404.268 374.074 340.396 303.877 265.222 225.134 184.199 142.988 101.951 61.4466 21.8675 -16.2521 -52.5763 -86.9822 -119.498 -150.182 -178.984 -205.822 -230.629 -253.335 -273.844 -292.091 -308.124 -322.109 -334.253 -344.711 -353.552 -360.781 -366.396 -370.377 -372.658 -373.174 -371.931 -369.355 -365.381 -359.946 -352.974 -344.429 -334.32 -322.652 -309.418 -294.551 -277.987 -259.723 -239.726 -217.967 -194.368 -168.891 -141.658 -112.75 -82.3166 -50.6693 -18.2172 20.0409 55.1696 91.0848 127.469 164.028 200.253 235.767 270.123 302.859 333.525 361.632 386.707 408.36 426.203 439.878 449.083 453.61 453.292 448.096 438.096 423.48 404.482 381.494 354.931 325.283 293.145 259.014 223.495 187.185 150.557 114.032 77.946 42.5403 11.1287 -20.8385 -51.3812 -80.1175 -106.884 -131.705 -154.549 -175.422 -194.256 -211.153 -226.17 -239.361 -250.784 -260.515 -268.61 -275.112 -280.065 -283.524 -285.531 -286.125 -285.423 -283.381 -280.094 -275.518 -269.785 -262.887 -254.834 -245.642 -235.34 -223.865 162.886 203.207 243.525 283.177 321.618 357.577 390.569 420.22 446.234 467.737 484.053 494.73 499.552 498.131 490.651 477.27 458.321 434.242 405.411 372.432 336.157 297.176 256.079 213.687 170.557 127.333 84.4066 42.2892 3.48496 -34.6331 -71.1398 -105.472 -137.584 -167.389 -194.801 -219.821 -242.571 -263.209 -281.674 -298.047 -312.514 -325.112 -335.994 -345.256 -352.977 -359.225 -364.044 -367.497 -369.647 -370.411 -369.706 -367.945 -364.901 -360.484 -354.685 -347.442 -338.639 -328.269 -316.2 -302.366 -286.661 -269.046 -249.592 -228.146 -204.671 -179.114 -151.551 -122.045 -90.6914 -57.6805 -23.1367 12.7576 49.7815 87.7742 126.405 165.336 204.199 242.635 280.235 316.59 351.164 383.325 412.351 437.494 458.009 473.366 483.255 487.61 485.399 477.703 464.546 446.086 422.661 394.677 362.616 327.015 288.497 247.807 205.695 162.823 119.861 77.3436 35.6864 -4.51823 -43.0183 -79.6765 -114.448 -147.401 -178.35 -207.079 -233.441 -257.267 -278.363 -296.668 -312.312 -325.605 -336.857 -346.3 -354.036 -360.084 -364.476 -367.289 -368.609 -368.442 -366.847 -364.198 -360.366 -355.361 -349.175 -341.753 -332.991 -322.773 -310.97 -297.429 -282.082 -265.015 -246.269 -225.662 -202.921 -177.933 -150.925 -121.99 -91.1663 -58.4992 -24.0137 12.0995 49.4995 87.9248 127.117 166.502 205.686 244.125 281.336 316.758 349.819 380.006 406.82 429.786 448.549 462.793 472.287 476.868 476.395 470.932 460.479 445.122 425.013 400.412 371.633 338.914 302.601 263.172 221.193 177.36 132.369 86.8855 41.6117 -3.35845 -46.3009 -86.9574 -124.814 -159.594 -191.157 -219.562 -244.813 -266.838 -285.727 -301.705 -314.93 -325.548 -333.784 -339.968 -344.456 -347.514 -349.32 -349.992 -349.644 -348.377 -346.315 -343.638 -340.282 -336.211 -331.431 -325.948 -319.733 -312.691 -304.67 -295.461 -284.821 -272.604 -258.758 -243.233 -225.804 -206.157 -184 -159.215 -131.766 -101.644 -68.8652 -33.5334 4.14393 43.7843 85.0376 127.507 170.604 213.713 256.167 297.181 335.991 371.838 404.005 431.904 454.951 472.649 484.619 490.64 490.74 484.996 473.548 456.608 434.566 407.9 377.124 342.819 305.651 266.352 225.658 184.16 142.449 100.963 60.0435 20.1081 -18.2921 -54.8128 -89.3289 -121.918 -152.668 -181.525 -208.402 -233.235 -255.951 -276.444 -294.633 -310.572 -324.445 -336.486 -346.868 -355.656 -362.85 -368.442 -372.41 -374.678 -375.161 -373.829 -371.239 -367.277 -361.871 -354.925 -346.402 -336.32 -324.688 -311.503 -296.688 -280.167 -261.946 -241.98 -220.252 -196.658 -171.136 -143.84 -114.827 -84.2458 -52.4401 -19.8333 18.698 54.0667 90.2619 127.027 163.959 200.617 236.593 271.422 304.653 335.814 364.389 389.905 411.957 430.147 444.099 453.496 458.125 457.827 452.555 442.377 427.482 408.116 384.691 357.636 327.458 294.771 260.08 224.023 187.206 150.118 113.176 76.6906 40.7603 9.58633 -22.8304 -53.6 -82.4724 -109.298 -134.141 -156.985 -177.846 -196.627 -213.461 -228.407 -241.524 -252.867 -262.521 -270.542 -276.972 -281.85 -285.239 -287.174 -287.678 -286.934 -284.843 -281.521 -276.905 -271.151 -264.24 -256.186 -246.985 -236.692 -225.233 162.137 203.151 244.048 284.356 323.517 360.11 393.675 423.853 450.476 472.515 489.218 500.147 505.088 503.668 496.049 482.398 463.056 438.487 409.073 375.44 338.492 298.835 257.055 214.024 170.284 126.519 83.062 40.354 1.55901 -37.0255 -73.8091 -108.285 -140.484 -170.336 -197.741 -222.697 -245.367 -265.938 -284.303 -300.558 -314.919 -327.399 -338.172 -347.337 -354.973 -361.146 -365.903 -369.301 -371.427 -372.167 -371.369 -369.648 -366.659 -362.292 -356.56 -349.396 -340.667 -330.392 -318.409 -304.664 -289.031 -271.465 -252.083 -230.685 -207.233 -181.66 -154.048 -124.456 -92.9774 -59.8135 -25.0731 11.0611 48.3557 86.6822 125.685 165.031 204.343 243.271 281.402 318.341 353.538 386.35 416.014 441.743 462.75 478.476 488.605 493.197 490.806 482.962 469.553 450.732 426.859 398.349 365.696 329.445 290.24 248.854 206.08 162.589 119.067 76.0605 33.9713 -6.59038 -45.3273 -82.1597 -117.063 -150.154 -181.236 -210.063 -236.496 -260.365 -281.434 -299.639 -315.127 -328.236 -339.324 -348.635 -356.266 -362.223 -366.526 -369.255 -370.505 -370.266 -368.564 -365.91 -362.078 -357.091 -350.954 -343.602 -334.925 -324.806 -313.106 -299.646 -284.352 -267.35 -248.701 -228.2 -205.509 -180.49 -153.44 -124.453 -93.547 -60.7609 -26.0727 10.3034 48.0129 86.7976 126.428 166.292 206 244.987 282.774 318.771 352.388 383.105 410.403 433.797 452.919 467.443 477.135 481.836 481.376 475.859 465.269 449.688 429.272 404.297 375.088 341.874 305.005 264.953 222.301 177.788 132.122 85.9769 40.0494 -5.45892 -48.9681 -90.0472 -128.184 -163.141 -194.783 -223.208 -248.435 -270.375 -289.112 -304.918 -317.951 -328.339 -336.316 -342.242 -346.495 -349.351 -350.988 -351.512 -351.039 -349.698 -347.513 -344.804 -341.443 -337.383 -332.636 -327.212 -321.097 -314.19 -306.328 -297.295 -286.822 -274.758 -261.07 -245.732 -228.507 -209.044 -187.01 -162.29 -134.858 -104.691 -71.7923 -36.2539 1.71865 41.7362 83.4414 126.448 170.158 213.943 257.118 298.875 338.424 374.979 407.8 436.281 459.817 477.895 490.108 496.225 496.297 490.413 478.706 461.391 438.879 411.669 380.287 345.329 307.482 267.509 226.186 184.104 141.872 99.921 58.5686 18.26 -20.4338 -57.1568 -91.7786 -124.434 -155.253 -184.164 -211.08 -235.94 -258.671 -279.147 -297.274 -313.108 -326.858 -338.788 -349.089 -357.823 -364.981 -370.552 -374.511 -376.767 -377.219 -375.777 -373.178 -369.231 -363.857 -356.939 -348.44 -338.385 -326.792 -313.66 -298.902 -282.426 -264.247 -244.316 -222.625 -199.04 -173.471 -146.111 -116.988 -86.2491 -54.2692 -21.4581 17.2358 52.8892 89.3793 126.535 163.867 200.974 237.431 272.751 306.5 338.179 367.24 393.216 415.685 434.238 448.481 458.079 462.814 462.541 457.191 446.826 431.639 411.887 388.006 360.435 329.703 296.444 261.167 224.548 187.205 149.642 112.269 75.3887 38.9226 7.94223 -24.9282 -55.921 -84.9322 -111.811 -136.672 -159.514 -180.364 -199.086 -215.853 -230.723 -243.762 -255.022 -264.593 -272.54 -278.895 -283.696 -287.011 -288.874 -289.28 -288.496 -286.353 -282.994 -278.336 -272.56 -265.632 -257.584 -248.37 -238.088 -226.65 161.3 203.087 244.556 285.548 325.476 362.727 396.88 427.587 454.865 477.477 494.583 505.773 510.817 509.419 501.655 487.72 467.968 442.887 412.862 378.543 340.894 300.533 258.038 214.349 169.971 125.651 81.6518 38.3333 -0.477986 -39.5377 -76.6037 -111.219 -143.503 -173.402 -200.797 -225.678 -248.257 -268.765 -287.024 -303.149 -317.403 -329.757 -340.418 -349.481 -357.028 -363.126 -367.816 -371.159 -373.264 -373.986 -373.097 -371.409 -368.477 -364.158 -358.496 -351.413 -342.759 -332.583 -320.691 -307.042 -291.484 -273.964 -254.668 -233.32 -209.895 -184.306 -156.645 -126.965 -95.3559 -62.0364 -27.0936 9.28642 46.8592 85.5314 124.921 164.696 204.473 243.909 282.588 320.133 355.977 389.47 419.804 446.146 467.67 483.776 494.145 498.912 496.405 488.418 474.748 455.554 431.214 402.15 368.881 331.95 292.023 249.911 206.444 162.309 118.203 74.692 32.1561 -8.7703 -47.7405 -84.7395 -119.765 -153 -184.224 -213.148 -239.656 -263.575 -284.613 -302.706 -318.027 -330.939 -341.856 -351.035 -358.561 -364.426 -368.637 -371.278 -372.459 -372.146 -370.322 -367.667 -363.835 -358.866 -352.78 -345.502 -336.917 -326.905 -315.315 -301.942 -286.702 -269.763 -251.22 -230.846 -208.214 -183.156 -156.058 -127.021 -96.0288 -63.125 -28.2291 8.41807 46.449 85.6114 125.696 166.064 206.307 245.868 284.255 320.852 355.046 386.317 414.119 437.955 457.45 472.264 482.161 486.976 486.536 480.967 470.236 454.422 433.684 408.321 378.665 344.945 307.492 266.788 223.432 178.211 131.842 85.008 38.4093 -7.678 -51.7705 -93.2864 -131.705 -166.838 -198.549 -226.989 -252.194 -274.039 -292.606 -308.232 -321.067 -331.225 -338.931 -344.581 -348.589 -351.234 -352.698 -353.071 -352.466 -350.996 -348.73 -345.996 -342.632 -338.583 -333.867 -328.505 -322.495 -315.728 -308.032 -299.188 -288.889 -276.983 -263.454 -248.314 -231.309 -212.048 -190.143 -165.493 -138.082 -107.87 -74.8547 -39.1013 -0.825907 39.5821 81.7535 125.321 169.67 214.159 258.086 300.62 340.938 378.23 411.73 440.818 464.868 483.34 495.806 502.021 502.065 496.035 484.06 466.353 443.35 415.571 383.557 347.915 309.354 268.672 226.694 184.007 141.241 98.8062 57.0109 16.3093 -22.6845 -59.6074 -94.325 -127.036 -157.924 -186.892 -213.843 -238.73 -261.478 -281.936 -299.996 -315.718 -329.334 -341.146 -351.368 -360.049 -367.173 -372.726 -376.681 -378.928 -379.351 -377.772 -375.17 -371.24 -365.901 -359.015 -350.54 -340.514 -328.96 -315.887 -301.191 -284.76 -266.628 -246.733 -225.088 -201.518 -175.895 -148.474 -119.237 -88.3278 -56.1588 -23.0903 15.6513 51.6358 88.4353 125.972 163.747 201.322 238.281 274.107 308.398 340.619 370.185 396.642 419.546 438.479 453.027 462.835 467.68 467.434 462.006 451.447 435.953 415.797 391.438 363.329 332.019 298.163 262.272 225.069 187.178 149.126 111.312 74.0416 37.1064 6.1163 -27.1414 -58.347 -87.5008 -114.425 -139.3 -162.135 -182.978 -201.632 -218.328 -233.117 -246.077 -257.248 -266.734 -274.602 -280.882 -285.602 -288.841 -290.632 -290.934 -290.107 -287.91 -284.515 -279.806 -274.009 -267.065 -259.026 -249.799 -239.528 -228.117 160.358 203.024 245.043 286.748 327.497 365.428 400.186 431.415 459.402 482.627 500.151 511.612 516.772 515.387 507.47 493.242 473.06 447.444 416.78 381.741 343.36 302.268 259.025 214.657 169.613 124.73 80.1754 36.2694 -2.67135 -42.1793 -79.5305 -114.274 -146.638 -176.586 -203.97 -228.763 -251.243 -271.692 -289.839 -305.824 -319.97 -332.19 -342.735 -351.693 -359.149 -365.167 -369.788 -373.069 -375.158 -375.868 -374.825 -373.198 -370.336 -366.066 -360.478 -353.479 -344.895 -334.822 -323.025 -309.487 -294.013 -276.538 -257.342 -236.047 -212.658 -187.054 -159.344 -129.577 -97.8307 -64.3538 -29.2074 7.42837 45.2838 84.3102 124.096 164.313 204.572 244.537 283.779 321.957 358.475 392.684 423.727 450.717 472.783 489.285 499.887 504.744 502.198 494.073 480.133 460.548 435.72 406.079 372.175 334.535 293.858 250.99 206.806 162.006 117.303 73.2719 30.2767 -11.0311 -50.2357 -87.4024 -122.543 -155.936 -187.312 -216.328 -242.915 -266.892 -287.91 -305.885 -321.032 -333.731 -344.467 -353.512 -360.93 -366.697 -370.809 -373.357 -374.471 -374.095 -372.106 -369.461 -365.627 -360.676 -354.643 -347.444 -338.956 -329.056 -317.583 -304.303 -289.117 -272.238 -253.817 -233.593 -211.027 -185.928 -158.784 -129.695 -98.6259 -65.6058 -30.5029 6.42323 44.7812 84.3396 124.891 165.782 206.586 246.748 285.762 322.989 357.783 389.634 417.963 442.265 462.151 477.268 487.375 492.309 491.88 486.258 475.382 459.324 438.251 412.489 382.37 348.134 310.077 268.696 224.607 178.654 131.565 84.0143 36.7257 -9.9879 -54.6862 -96.6578 -135.365 -170.678 -202.448 -230.894 -256.078 -277.825 -296.221 -311.661 -324.291 -334.215 -341.632 -346.985 -350.733 -353.161 -354.448 -354.668 -353.929 -352.459 -349.972 -347.215 -343.847 -339.806 -335.12 -329.821 -323.919 -317.298 -309.777 -301.131 -291.013 -279.272 -265.904 -250.974 -234.21 -215.17 -193.405 -168.831 -141.447 -111.193 -78.0655 -42.0951 -3.50891 37.298 79.9523 124.101 169.116 214.342 259.052 302.405 343.533 381.598 415.804 445.527 470.117 489 501.726 508.038 508.047 501.866 489.609 471.491 447.979 419.605 386.933 350.578 311.269 269.854 227.204 183.893 140.582 97.649 55.4013 14.2856 -25.0214 -62.1472 -96.9545 -129.715 -160.68 -189.7 -216.683 -241.601 -264.369 -284.82 -302.815 -318.42 -331.895 -343.582 -353.721 -362.346 -369.431 -374.964 -378.918 -381.162 -381.564 -379.78 -377.195 -373.289 -367.992 -361.142 -352.691 -342.693 -331.179 -318.172 -303.544 -287.161 -269.083 -249.225 -227.639 -204.092 -178.412 -150.931 -121.578 -90.4835 -58.1133 -24.7253 13.9352 50.3054 87.4291 125.337 163.596 201.662 239.141 275.489 310.345 343.135 373.224 400.182 423.541 442.871 457.738 467.766 472.72 472.51 467.003 456.243 440.428 419.847 394.988 366.318 334.404 299.928 263.393 225.584 187.121 148.566 110.299 72.652 35.3492 4.06765 -29.4776 -60.881 -90.1832 -117.142 -142.025 -164.849 -185.692 -204.266 -220.888 -235.589 -248.467 -259.545 -268.941 -276.73 -282.933 -287.568 -290.729 -292.446 -292.65 -291.763 -289.511 -286.089 -281.313 -275.496 -268.536 -260.513 -251.271 -241.011 -229.635 159.287 202.973 245.498 287.951 329.582 368.215 403.592 435.33 464.09 487.971 505.926 517.667 522.953 521.581 513.5 498.967 478.334 452.16 420.827 385.032 345.887 304.039 260.012 214.948 169.205 123.753 78.6308 34.2479 -5.11519 -44.9538 -82.5899 -117.451 -149.893 -179.897 -207.27 -231.958 -254.325 -274.717 -292.731 -308.556 -322.6 -334.677 -345.101 -353.949 -361.307 -367.239 -371.778 -374.983 -377.052 -377.742 -376.306 -375.001 -372.243 -368.031 -362.517 -355.6 -347.072 -337.112 -325.417 -312.006 -296.614 -279.171 -260.082 -238.842 -215.5 -189.888 -162.133 -132.287 -100.399 -66.7647 -31.4126 5.48993 43.633 83.024 123.216 163.886 204.64 245.149 284.963 323.795 361.014 395.969 427.761 455.435 478.073 494.99 505.828 510.917 508.19 499.939 485.72 465.732 440.401 410.164 375.604 337.225 295.767 252.107 207.174 161.683 116.35 71.7743 28.295 -13.4181 -52.8587 -90.1851 -125.419 -158.97 -190.504 -219.614 -246.277 -270.31 -291.3 -309.119 -324.051 -336.507 -347.036 -355.94 -363.251 -368.924 -372.938 -375.386 -376.428 -375.905 -373.781 -371.24 -367.42 -362.493 -356.522 -349.407 -341.022 -331.241 -319.899 -306.719 -291.57 -274.738 -256.452 -236.4 -213.906 -188.76 -161.581 -132.453 -101.31 -68.1854 -32.8655 4.34443 43.0324 82.9998 124.033 165.469 206.84 247.627 287.289 325.178 360.588 393.046 421.92 446.707 467.003 482.439 492.768 497.841 497.411 491.741 480.723 464.411 442.99 416.813 386.226 351.462 312.785 270.699 225.844 179.125 131.279 82.982 34.975 -12.4177 -57.7542 -100.183 -139.171 -174.66 -206.472 -234.921 -260.078 -281.714 -299.914 -315.147 -327.562 -337.232 -344.35 -349.395 -352.879 -355.087 -356.201 -356.265 -355.383 -353.656 -351.163 -348.416 -345.056 -341.026 -336.37 -331.141 -325.351 -318.885 -311.55 -303.111 -293.179 -281.604 -268.394 -253.682 -237.183 -218.382 -196.767 -172.28 -144.936 -114.649 -81.4196 -45.2316 -6.32076 34.8833 78.0446 122.785 168.489 214.484 260.003 304.209 346.179 385.051 419.995 450.383 475.547 494.865 507.867 514.276 514.252 507.917 495.368 476.824 452.784 423.794 390.437 353.346 313.257 271.083 227.726 183.765 139.895 96.4326 53.7176 12.156 -27.485 -64.8206 -99.6962 -132.487 -163.527 -192.603 -219.617 -244.562 -267.346 -287.778 -305.683 -321.135 -334.432 -345.968 -356.005 -364.57 -371.611 -377.117 -381.065 -383.301 -383.56 -381.688 -379.223 -375.371 -370.132 -363.316 -354.879 -344.899 -333.432 -320.496 -305.946 -289.605 -271.582 -251.764 -230.255 -206.748 -181.005 -153.478 -124.007 -92.7152 -60.1366 -26.4013 12.1193 48.8945 86.3543 124.674 163.409 201.987 240.009 276.893 312.342 345.728 376.357 403.837 427.67 447.417 462.619 472.875 477.935 477.77 472.185 461.216 445.064 424.038 398.658 369.402 336.858 301.738 264.527 226.09 187.032 147.96 109.226 71.2173 33.6559 1.78559 -31.9404 -63.5233 -92.9817 -119.961 -144.846 -167.653 -188.507 -206.987 -223.533 -238.141 -250.935 -261.913 -271.216 -278.924 -285.047 -289.594 -292.676 -294.316 -294.433 -293.465 -291.151 -287.723 -282.849 -277.021 -270.046 -262.045 -252.79 -242.534 -231.205 158.051 202.95 245.907 289.147 331.735 371.088 407.103 439.317 468.93 493.517 511.911 523.941 529.36 528.003 519.749 504.898 483.791 457.038 425.005 388.416 348.477 305.845 260.992 215.219 168.739 122.717 77.0095 32.341 -7.8806 -47.8627 -85.7978 -120.769 -153.276 -183.318 -210.645 -235.208 -257.459 -277.803 -295.652 -311.247 -324.987 -336.527 -346.023 -353.352 -358.41 -361.079 -361.333 -359.296 -355.494 -350.071 -343.454 -337.352 -332.685 -329.669 -328.002 -326.862 -326.076 -324.433 -320.447 -312.675 -299.183 -281.784 -262.791 -241.653 -218.395 -192.773 -164.967 -135.054 -103.033 -69.254 -33.7018 3.47102 41.9064 81.676 122.288 163.429 204.69 245.762 286.162 325.668 363.614 399.346 431.921 460.313 483.549 500.893 511.959 516.936 514.356 505.999 491.494 471.092 445.239 414.377 379.137 339.983 297.712 253.222 207.497 161.304 115.313 70.1919 26.2175 -15.8973 -55.5341 -92.9848 -128.237 -161.866 -193.435 -222.398 -248.648 -271.753 -290.813 -305.218 -315.079 -320.995 -323.661 -323.619 -321.461 -318.186 -314.859 -312.21 -310.652 -310.33 -310.858 -312.583 -314.587 -316.77 -318.821 -320.351 -320.818 -319.507 -315.541 -307.494 -293.988 -277.176 -259.037 -239.222 -216.839 -191.611 -164.397 -135.26 -104.059 -70.8549 -35.3155 2.18115 41.2054 81.5937 123.132 165.145 207.09 248.529 288.864 327.445 363.487 396.577 426.016 451.303 472.023 487.786 498.336 503.47 503.082 497.387 486.232 469.656 447.878 421.271 390.21 354.898 315.575 272.744 227.095 179.579 130.945 81.88 33.1545 -14.9449 -60.917 -103.782 -142.986 -178.527 -210.11 -238.152 -262.471 -282.443 -297.771 -308.777 -315.73 -319.317 -320.642 -320.774 -320.373 -319.936 -319.633 -319.667 -319.891 -319.882 -320.205 -320.607 -320.861 -320.873 -320.434 -319.424 -317.646 -314.839 -310.569 -304.347 -295.362 -283.921 -270.83 -256.362 -240.16 -221.646 -200.175 -175.77 -148.478 -118.183 -84.8696 -48.4843 -9.24067 32.3594 76.0498 121.399 167.812 214.613 260.97 306.064 348.906 388.618 424.324 455.4 481.166 500.936 514.227 520.738 520.655 514.173 501.324 482.337 457.749 428.113 394.044 356.186 315.276 272.309 228.207 183.581 139.143 95.137 51.9531 9.93363 -30.0392 -67.5565 -102.452 -135.209 -166.244 -195.255 -222.07 -246.605 -268.57 -287.401 -302.473 -313.596 -320.93 -324.784 -325.431 -323.301 -319.261 -314.32 -309.68 -306.483 -305.223 -305.876 -308.05 -310.801 -313.989 -317.306 -320.061 -321.505 -320.679 -316.352 -307.148 -291.98 -273.993 -254.237 -232.869 -209.437 -183.621 -156.069 -126.493 -94.9989 -62.2164 -28.1503 10.2536 47.4103 85.2032 124.01 163.195 202.299 240.883 278.315 314.385 348.398 379.582 407.608 431.935 452.117 467.672 478.166 483.334 483.215 477.556 466.371 449.866 428.373 402.447 372.58 339.38 303.593 265.672 226.586 186.905 147.306 108.087 69.7298 32.0507 -0.746637 -34.5239 -66.2728 -95.9054 -122.89 -147.774 -170.562 -191.435 -209.79 -226.251 -240.754 -253.463 -264.336 -273.541 -281.173 -287.22 -291.677 -294.676 -296.231 -296.28 -295.222 -292.827 -289.424 -284.406 -278.574 -271.592 -263.609 -254.346 -244.082 -232.816 156.604 202.977 246.253 290.33 333.961 374.049 410.722 443.361 473.926 499.272 518.11 530.44 535.998 534.658 526.22 511.038 489.434 462.083 429.314 391.892 351.128 307.683 261.961 215.469 168.208 121.626 75.3014 30.4512 -10.9415 -50.9111 -89.1194 -124.138 -156.686 -186.722 -213.658 -236.357 -252.246 -254.88 -233.8 -202.701 -173.578 -147.077 -123.313 -102.29 -84.1968 -69.3753 -58.9264 -52.7543 -50.1666 -51.4982 -56.3305 -63.565 -72.7032 -83.9417 -96.8776 -112.036 -130.19 -150.599 -173.62 -197.367 -218.964 -229.793 -232.354 -229.384 -218.029 -195.471 -167.653 -137.793 -105.667 -71.7611 -36.036 1.38297 40.11 80.2594 121.304 162.931 204.713 246.369 287.368 327.575 366.276 402.824 436.22 465.369 489.233 507.017 518.303 523.026 520.706 512.257 497.457 476.628 450.234 418.726 382.791 342.838 299.729 254.364 207.836 160.941 114.289 68.6456 24.1897 -18.2925 -58.0396 -95.5328 -130.602 -163.846 -193.944 -218.197 -232.705 -232.05 -212.373 -186.24 -162.118 -140.987 -122.687 -107.136 -94.5761 -85.2441 -79.0813 -75.7098 -74.581 -75.7009 -78.7993 -84.0114 -91.4481 -100.751 -111.852 -125.101 -140.787 -158.875 -179.12 -200.221 -218.413 -227.269 -230.173 -227.255 -216.256 -194.245 -167.052 -138.01 -106.799 -73.5541 -37.8192 -0.0606676 39.282 80.0972 122.157 164.779 207.315 249.43 290.467 329.778 366.473 400.225 430.253 456.059 477.222 493.328 504.105 509.307 508.935 503.219 491.922 475.072 452.927 425.878 394.334 358.461 318.472 274.887 228.415 180.095 130.68 80.8463 31.4526 -17.3262 -63.873 -107.064 -146.198 -180.871 -209.102 -228.354 -234.061 -222.679 -199.066 -175.888 -155.839 -140.146 -128.963 -121.538 -116.76 -114.077 -113.14 -113.936 -116.331 -119.979 -124.536 -129.965 -136.442 -144.114 -152.842 -162.384 -172.545 -183.381 -194.718 -206.165 -216.866 -224.367 -228.506 -229.604 -227.139 -219.191 -203.139 -179.11 -151.941 -121.715 -88.3295 -51.8014 -12.2531 29.7243 73.9464 119.928 167.067 214.715 261.943 307.964 351.718 392.311 428.808 460.596 486.991 507.235 520.825 527.437 527.26 520.635 507.476 488.029 462.87 432.565 397.765 359.112 317.349 273.559 228.706 183.406 138.392 93.866 50.2227 7.76375 -32.4987 -70.1311 -104.933 -137.424 -167.927 -195.304 -217.663 -231.935 -233.624 -218.47 -193.039 -168.228 -145.5 -125.062 -107.019 -91.7795 -79.6885 -70.6048 -64.3646 -61.0368 -60.6612 -63.2785 -68.2573 -75.3978 -84.8796 -97.5099 -113.656 -133.009 -155.152 -179.166 -202.925 -221.615 -229.369 -230.978 -225.521 -210.919 -186.021 -158.523 -128.961 -97.2724 -64.3193 -29.9635 8.37827 45.8629 83.9887 123.277 162.947 202.595 241.763 279.753 316.473 351.147 382.9 411.496 436.335 456.973 472.898 483.642 488.919 488.849 483.121 471.71 454.836 432.854 406.357 375.855 341.971 305.493 266.823 227.069 186.737 146.604 106.882 68.1836 30.4796 -3.51986 -37.2419 -69.1451 -98.949 -125.867 -150.73 -173.508 -194.424 -212.643 -229.025 -243.419 -256.043 -266.788 -275.822 -283.077 -287.603 -286.019 -281.726 -280.459 -280.928 -284.073 -286.414 -282.745 -277.14 -271.795 -266.075 -258.868 -250.828 -241.938 -232.512 154.876 203.077 246.513 291.486 336.265 377.1 414.454 447.437 479.083 505.245 524.524 537.164 542.867 541.547 532.917 517.392 495.264 467.296 433.754 395.457 353.838 309.553 262.908 215.703 167.606 120.472 73.4398 28.336 -13.975 -53.9522 -92.3688 -126.766 -153.97 -159.058 -130.182 -97.3781 -65.1506 -36.6047 -21.8453 -14.562 -9.23523 -5.27972 -2.53025 -0.845162 -0.0573512 0.040311 0.0461803 -0.0019172 -0.0598608 -0.142715 -0.233848 -0.348333 -0.51602 -0.755914 -1.09671 -1.6805 -2.64302 -4.22438 -7.18942 -12.5895 -22.8769 -41.679 -65.7208 -93.5584 -122.061 -142.978 -143.463 -132.34 -107.977 -74.0692 -38.316 -0.706825 38.2895 78.796 120.268 162.395 204.708 246.964 288.567 329.5 368.981 406.381 440.648 470.593 495.122 513.368 524.88 529.353 527.268 518.733 503.627 482.354 455.401 423.233 386.582 345.799 301.829 255.548 208.217 160.607 113.284 67.1306 22.1935 -20.5878 -60.252 -96.7829 -127.262 -145.485 -136.883 -109.257 -78.8787 -51.6318 -33.0685 -22.0037 -14.6463 -9.76962 -6.44963 -4.23781 -2.8778 -2.12693 -1.7605 -1.60839 -1.57196 -1.60985 -1.7274 -1.92997 -2.25881 -2.71842 -3.3493 -4.27276 -5.70179 -7.98365 -11.7797 -18.3897 -30.0189 -48.7456 -70.9372 -95.5882 -121.779 -141.351 -142.267 -131.895 -108.911 -76.0391 -40.2465 -2.27552 37.3202 78.533 121.124 164.371 207.512 250.325 292.085 332.161 369.528 403.978 434.622 460.965 482.59 499.06 510.078 515.355 514.973 509.248 497.809 480.675 458.148 430.638 398.603 362.162 321.493 277.139 229.821 180.682 130.481 79.8569 29.8136 -19.5839 -66.5421 -108.232 -138.414 -144.508 -120.233 -89.7446 -61.093 -39.6475 -27.0951 -18.6592 -12.9993 -9.31865 -7.04491 -5.65982 -4.75437 -4.15827 -3.82063 -3.70706 -3.77374 -4.02232 -4.40772 -4.8922 -5.51932 -6.36387 -7.49054 -8.94155 -10.8021 -13.2863 -16.7832 -21.8497 -29.5726 -41.4468 -56.7404 -74.2187 -93.9544 -115.423 -135.291 -142.839 -137.987 -121.738 -91.527 -54.9899 -15.242 27.0452 71.748 118.364 166.24 214.774 262.903 309.884 354.592 396.107 433.427 465.963 493.016 513.757 527.666 534.381 534.087 527.325 513.844 493.921 468.167 437.171 401.621 362.142 319.5 274.856 229.238 183.258 137.666 92.6353 48.5489 5.67535 -34.7951 -72.2092 -105.371 -132.1 -146.26 -136.021 -110.446 -82.3015 -56.1923 -36.4769 -24.444 -16.1707 -10.472 -6.54551 -3.91336 -2.31851 -1.47721 -1.1206 -1.0367 -1.06632 -1.13339 -1.21494 -1.3467 -1.54865 -1.85469 -2.36106 -3.21451 -4.62185 -6.97154 -11.0253 -18.2262 -31.19 -52.1167 -77.2799 -104.542 -130.884 -144.436 -140.963 -126.765 -99.2172 -66.2684 -31.7488 6.51662 44.2759 82.7192 122.485 162.672 202.88 242.653 281.204 318.604 353.976 386.309 415.501 440.873 461.987 478.302 489.307 494.692 494.674 488.883 477.239 459.976 437.481 410.389 379.226 344.63 307.44 267.979 227.545 186.528 145.853 105.586 66.5357 28.7644 -6.32699 -39.9706 -72.014 -101.977 -128.547 -152.116 -168.616 -164.063 -139.874 -115.064 -92.0289 -70.7766 -51.258 -33.8499 -19.579 -9.05163 -3.77352 -1.83264 -0.414761 0.00896853 -0.202759 -3.11615 -10.7657 -20.3608 -31.8716 -45.1967 -60.8088 -78.6375 -98.5525 -119.845 152.767 203.27 246.66 292.605 338.657 380.241 418.312 451.516 484.408 511.449 531.157 544.117 549.957 548.667 539.848 523.963 501.28 472.685 438.325 399.109 356.603 311.457 263.836 215.918 166.874 119.228 71.5603 26.185 -16.6712 -54.1416 -71.5603 -54.9524 -34.0011 -14.6589 -7.01625 -2.65999 -0.184676 0.159681 0.155434 0.143203 0.13653 0.125509 0.114732 0.100574 0.0828167 0.0673133 0.0653764 0.0617602 0.0565764 0.0504523 0.043014 0.0353799 0.0295191 0.0236795 0.0194257 0.0135992 0.00524904 -0.00456414 -0.027375 -0.0735612 -0.165449 -0.376498 -0.86506 -2.13226 -5.39875 -13.7192 -30.19 -48.818 -62.7478 -56.8035 -36.021 -2.58481 36.554 77.3582 119.21 161.829 204.674 247.546 289.76 331.442 371.723 410.013 445.197 475.985 501.212 519.944 531.701 535.615 534.013 525.405 509.975 488.236 460.695 427.838 390.452 348.785 303.926 256.695 208.499 160.124 112.101 65.4479 20.262 -21.0031 -52.0409 -59.9766 -47.9992 -30.7896 -15.7866 -7.26503 -2.39911 -0.259739 0.0200159 0.0384989 0.0487123 0.0520649 0.0429971 0.036105 0.0314738 0.0284575 0.0260587 0.0234825 0.0211308 0.0186795 0.0149672 0.0112301 0.00584979 -0.000448634 -0.0073939 -0.0167065 -0.0315486 -0.0555464 -0.0974771 -0.17516 -0.328079 -0.643154 -1.29456 -2.71642 -6.19627 -14.7514 -30.5398 -48.2531 -61.7891 -57.1299 -37.2083 -4.18198 35.5032 76.9793 120.068 163.913 207.68 251.221 293.727 334.604 372.652 407.831 439.117 466.023 488.128 504.979 516.249 521.553 521.134 515.437 503.858 486.421 463.49 435.497 402.953 365.924 324.539 279.366 231.144 181.093 130.049 78.5805 28.0137 -20.2786 -55.7202 -56.2316 -39.253 -20.8124 -9.8683 -3.73483 -0.757528 0.0251736 0.0431695 0.0543661 0.0542276 0.0338935 0.0207927 0.011299 0.00384363 -0.00263116 -0.00822728 -0.0133817 -0.0195147 -0.0271126 -0.0349309 -0.0424933 -0.0508634 -0.0617779 -0.0758878 -0.092881 -0.113205 -0.140269 -0.180585 -0.242282 -0.336953 -0.474281 -0.793312 -1.46637 -2.68738 -5.18338 -10.6562 -22.4982 -38.8765 -55.6525 -62.1715 -47.0839 -17.2905 24.5555 69.5869 116.764 165.329 214.773 263.846 311.83 357.524 400.007 438.177 471.496 499.242 520.505 534.749 541.573 541.075 534.206 520.399 499.975 473.606 441.885 405.558 365.214 321.653 276.116 229.687 182.987 136.826 91.262 46.7974 3.94781 -33.2939 -57.9815 -57.7566 -45.0097 -28.8564 -15.5018 -7.59664 -2.81886 -0.481687 0.0128066 0.0298175 0.0402606 0.045065 0.0464238 0.0392045 0.0355387 0.0340997 0.0328427 0.0311001 0.0294896 0.0273076 0.0238824 0.0211438 0.0181526 0.0146813 0.00874799 -0.0014674 -0.0175385 -0.0428822 -0.0858336 -0.163936 -0.321592 -0.664259 -1.45002 -3.31838 -7.90789 -19.0842 -36.161 -54.0658 -63.8115 -53.1759 -30.6486 4.74688 42.7377 81.4122 121.639 162.363 203.156 243.567 282.672 320.784 356.893 389.809 419.623 445.549 467.16 483.887 495.165 500.654 500.691 494.848 482.96 465.29 442.259 414.542 382.695 347.36 309.441 269.141 228.017 186.252 145.046 104.222 64.9296 27.0584 -8.87673 -41.6384 -68.0316 -71.1596 -55.295 -38.1772 -20.0361 -8.96953 -5.0372 -2.73899 -1.16279 -0.173106 0.252853 0.239257 0.218975 0.199854 0.147628 0.0703846 0.0284315 0.0273344 0.02498 -0.147325 -0.247471 -0.272823 -0.372096 -0.458528 -0.546371 -0.63115 -0.711696 -0.766615 150.246 203.541 246.661 293.646 341.143 383.477 422.312 455.555 489.915 517.899 538.009 551.304 557.263 556.006 547.022 530.754 507.478 478.258 443.023 402.844 359.428 313.393 264.688 216.066 166.184 118.105 69.7831 27.1872 7.4292 1.62806 0.707159 0.563085 0.431532 0.376445 0.320426 0.282676 0.244488 0.216488 0.186442 0.158996 0.142091 0.125927 0.111893 0.0963667 0.0800882 0.0662801 0.0631254 0.0596957 0.0548342 0.0491124 0.0426741 0.0359246 0.0314122 0.0276552 0.025656 0.0245718 0.0239308 0.024679 0.0252291 0.023827 0.0217767 0.0214681 0.0243755 0.0280691 0.0313561 0.0350206 0.0491203 0.0917153 0.229615 0.809678 3.42872 14.222 40.7555 76.341 118.226 161.265 204.607 248.096 290.918 333.388 374.496 413.71 449.858 481.533 507.5 526.738 538.777 541.94 540.964 532.269 516.488 494.247 466.076 432.48 394.338 351.704 305.887 257.619 208.455 159.296 110.707 64.9268 27.762 9.85779 2.07614 0.389094 0.200035 0.144163 0.112889 0.0890609 0.070555 0.0834044 0.0800212 0.0701901 0.0639468 0.0591158 0.0547197 0.0516756 0.0494784 0.0477778 0.04601 0.0441419 0.042627 0.0412667 0.0395682 0.0388564 0.0382513 0.0383225 0.0393151 0.0410803 0.0429648 0.0447674 0.0463193 0.0477412 0.0495136 0.051511 0.0560241 0.0614268 0.0664332 0.0725857 0.0909475 0.139776 0.284715 0.835447 3.25359 13.5991 40.0019 75.9782 119.117 163.478 207.839 252.117 295.404 337.136 375.854 411.783 443.734 471.215 493.822 511.071 522.617 527.923 527.443 521.794 510.062 492.284 468.917 440.407 407.309 369.654 327.478 281.369 232.109 181.095 129.263 77.6663 33.0513 10.0989 1.48938 0.381538 0.184012 0.151451 0.125782 0.0960075 0.0882565 0.0983146 0.0830013 0.0743152 0.0680408 0.0612903 0.0556076 0.050406 0.0459351 0.0421961 0.0390336 0.0362016 0.0334687 0.030584 0.02876 0.0278772 0.0275566 0.0276114 0.0280303 0.0290581 0.0309433 0.0336087 0.0367907 0.040077 0.0428701 0.0478815 0.0548276 0.0602876 0.0657953 0.0723967 0.0762494 0.0887977 0.118396 0.19831 0.483631 1.75475 8.08089 31.1984 68.4763 115.301 164.451 214.739 264.767 313.805 360.515 404.003 443.044 477.178 505.658 527.467 542.067 549.012 548.25 541.288 527.135 506.175 479.153 446.657 409.506 368.25 323.681 277.153 229.839 182.384 135.729 90.0058 48.1588 18.9609 6.33178 0.980045 0.291595 0.153275 0.118187 0.105447 0.07982 0.0638818 0.0688789 0.0751785 0.0647626 0.0588161 0.0544824 0.0513818 0.0489915 0.0480377 0.0479206 0.0473143 0.0459601 0.0444796 0.0428264 0.0408681 0.0401038 0.0397614 0.0399329 0.0400703 0.0399837 0.0398974 0.0398799 0.039521 0.0391407 0.0387184 0.0383916 0.0389533 0.0393806 0.0415844 0.0424756 0.0593691 0.115212 0.305908 1.10811 4.47716 18.2699 45.7867 80.24 120.791 161.992 203.383 244.441 284.141 323.007 359.912 393.402 423.867 450.364 472.491 489.655 501.22 506.809 506.9 501.019 488.878 470.78 447.189 418.82 386.27 350.17 311.496 270.293 228.504 185.986 144.407 103.038 63.791 28.6889 9.26354 2.93088 0.863665 0.611587 0.540289 0.470709 0.457827 0.420777 0.393252 0.368821 0.336321 0.288615 0.265956 0.24164 0.213339 0.190193 0.139805 0.0689689 0.0315726 0.0240926 0.0113804 -0.132842 -0.22817 -0.263558 -0.352263 -0.434424 -0.51713 -0.596571 -0.670242 -0.719327 147.176 203.769 246.563 294.529 343.718 386.788 426.481 459.498 495.623 524.611 545.077 558.728 564.771 563.565 554.445 537.769 513.854 484.016 447.849 406.665 362.264 315.284 265.541 216.379 165.336 115.5 67.2307 28.1357 8.86608 1.88991 0.758758 0.546872 0.427492 0.360705 0.305916 0.267242 0.234383 0.205874 0.178044 0.15245 0.135621 0.12022 0.106537 0.091644 0.0767476 0.0643013 0.0602384 0.0566565 0.0520352 0.0466648 0.0406545 0.034781 0.0304081 0.0267379 0.0247131 0.0236332 0.0227802 0.0232389 0.0238147 0.0223218 0.0205983 0.020249 0.0231113 0.0255889 0.0286425 0.032853 0.0464809 0.0826517 0.210981 0.753738 3.17173 13.3603 39.3585 74.6571 116.926 160.451 204.469 248.638 292.017 335.32 377.319 417.502 454.66 487.251 513.993 533.756 546.132 548.34 548.158 539.319 523.129 500.33 471.482 437.071 398.106 354.36 307.47 258.136 207.97 157.866 108.55 62.5168 25.9537 9.019 1.86056 0.368638 0.194684 0.128114 0.106174 0.0851995 0.0705482 0.0781604 0.0750852 0.0673169 0.0614199 0.0567316 0.0525815 0.0496106 0.0474099 0.0456887 0.0439854 0.0422264 0.0407809 0.039546 0.0381791 0.0373853 0.0368433 0.0369813 0.0378798 0.0394942 0.0412391 0.0428986 0.0443907 0.0457602 0.0474081 0.0492919 0.0529774 0.0570047 0.0617895 0.0692039 0.0867872 0.130467 0.26722 0.774492 3.03549 12.7121 38.4787 74.1121 117.738 162.898 207.988 253.046 297.102 339.765 379.172 415.872 448.506 476.559 499.682 517.332 529.176 534.493 533.946 528.341 516.419 498.253 474.396 445.307 411.591 373.223 330.11 282.947 232.639 180.598 127.748 75.2952 30.8615 9.13664 1.32164 0.356547 0.179342 0.141141 0.117989 0.0936014 0.0858758 0.0912515 0.0795836 0.0714246 0.0651941 0.0588116 0.0533262 0.0483554 0.0440698 0.0404651 0.037392 0.0346692 0.0320936 0.029838 0.0279434 0.0269725 0.0265691 0.026609 0.0270607 0.0280895 0.0298803 0.032398 0.0354372 0.0386115 0.0416075 0.0459404 0.0521541 0.0574548 0.0626292 0.0678712 0.0719488 0.0844051 0.111344 0.18347 0.434944 1.57914 7.2986 29.3765 66.0254 113.257 163.396 214.752 265.739 315.838 363.612 408.152 448.074 483.032 512.281 534.642 549.607 556.674 555.589 548.565 534.026 512.475 484.748 451.396 413.352 371.073 325.346 277.744 229.576 181.25 133.957 87.7919 45.9696 17.6384 5.76698 0.886888 0.275269 0.150412 0.106432 0.0970723 0.0764551 0.0634788 0.065834 0.0696583 0.0619441 0.0565199 0.0523931 0.0493729 0.0471084 0.0460735 0.0457748 0.045112 0.0438721 0.0424987 0.0409464 0.0394102 0.0385518 0.0381602 0.0382826 0.038401 0.0383239 0.0382486 0.0381576 0.0377981 0.0373403 0.0368483 0.0364004 0.0365441 0.0365151 0.0381166 0.0408744 0.0565328 0.105455 0.282088 1.05846 4.22055 17.0511 44.5574 79.0503 119.789 161.547 203.558 245.113 285.502 325.202 362.983 397.067 428.233 455.322 477.98 495.607 507.476 513.158 513.293 507.399 494.996 476.448 452.282 423.222 389.946 353.055 313.583 271.548 229.236 185.893 143.44 100.341 61.7065 28.8018 10.4183 3.49273 0.836384 0.629327 0.525237 0.46572 0.436609 0.399208 0.373599 0.349911 0.318188 0.27581 0.253289 0.229813 0.202689 0.178543 0.132166 0.0686598 0.033169 0.0205006 -0.000244491 -0.122682 -0.210877 -0.253347 -0.333867 -0.411585 -0.489269 -0.563455 -0.630651 -0.674334 99.44 198.378 245.312 295.543 346.432 390.121 430.8 463.251 501.554 531.608 552.359 566.399 572.508 571.362 562.114 545.01 520.415 489.968 452.775 410.488 365.091 317.36 266.375 210.093 128.193 46.4854 12.2841 1.83054 1.02918 0.702184 0.536759 0.44049 0.377553 0.330913 0.287128 0.252098 0.222933 0.195178 0.16934 0.145544 0.129037 0.114322 0.101066 0.0870172 0.0733346 0.0620597 0.0574477 0.0537156 0.0492447 0.0441763 0.0386038 0.0330664 0.0289903 0.0255987 0.0236425 0.0225153 0.0218127 0.0220932 0.0224488 0.0211011 0.0196341 0.019402 0.0214812 0.0233316 0.0248106 0.0254632 0.0272959 0.0299396 0.0369298 0.0609083 0.148973 0.524919 2.47784 13.3123 57.0057 123.239 191.009 246.454 292.834 337.159 380.129 421.383 459.651 493.21 520.755 541.066 553.838 555.641 555.67 546.59 529.922 506.487 476.877 441.503 401.564 356.574 308.455 256.491 194.828 114.014 43.6412 12.585 1.55042 0.535317 0.254134 0.153542 0.101492 0.0871328 0.0853905 0.075673 0.067144 0.0732916 0.0706118 0.0640978 0.0586214 0.0541413 0.0502521 0.0474093 0.0452565 0.0435543 0.0419112 0.0402611 0.0388978 0.0377617 0.0365208 0.0357416 0.0352858 0.0354529 0.0362743 0.0377502 0.0393641 0.0408792 0.0423065 0.043674 0.0452445 0.046974 0.0498653 0.0524614 0.0546175 0.056274 0.0580247 0.058711 0.0653282 0.0929438 0.177696 0.533821 2.45143 13.1781 58.0669 127.219 196.021 251.884 298.615 342.348 382.471 420.071 453.442 482.074 505.744 523.79 535.953 541.354 540.662 535.107 522.958 504.352 479.942 450.161 415.69 376.503 332.372 283.761 228.437 152.409 67.4227 19.0108 2.51533 0.678834 0.301644 0.162279 0.106737 0.108298 0.101943 0.0873461 0.0823071 0.085141 0.0757756 0.0681983 0.0621484 0.0561534 0.0509209 0.0461945 0.0421021 0.0386313 0.0356588 0.0330404 0.0306146 0.0285348 0.0267948 0.0258316 0.0253997 0.0254471 0.0259368 0.0269601 0.0286662 0.0310522 0.0339426 0.0369867 0.0400749 0.0442373 0.0495217 0.0536763 0.0561837 0.0584391 0.0614038 0.0644016 0.0666005 0.0713852 0.0875737 0.132083 0.329305 1.43374 9.0706 51.3247 127.431 204.721 265.758 317.763 366.736 412.444 453.303 489.119 519.188 542.095 557.415 564.549 563.19 556.085 541.09 518.871 490.348 456 416.913 373.478 326.505 277.14 223.345 152.314 76.3645 26.8464 6.18543 0.840864 0.374242 0.192533 0.120313 0.0818518 0.0752462 0.0790073 0.0682628 0.0600938 0.0625403 0.0649752 0.0588886 0.0539253 0.0500359 0.0471549 0.0450451 0.0439998 0.0435954 0.0428998 0.0417496 0.0404962 0.0390154 0.0376639 0.0368165 0.0364037 0.0364989 0.0366078 0.0365242 0.0364298 0.0362845 0.0359413 0.0355281 0.034926 0.0343004 0.0338258 0.0326235 0.0313929 0.0282181 0.0259322 0.0238179 0.0263578 0.054031 0.152645 0.622199 3.10646 15.2822 60.5302 126.091 191.191 243.556 286.617 327.299 365.911 400.646 432.664 460.396 483.616 501.738 513.933 519.72 519.852 513.988 501.316 482.281 457.52 427.699 393.698 356.17 315.889 272.673 226.203 162.948 90.8524 31.208 10.0761 1.46187 0.888301 0.631742 0.556242 0.500788 0.452898 0.423485 0.406121 0.376756 0.353455 0.331186 0.301659 0.26375 0.240865 0.218133 0.192127 0.167427 0.124649 0.0676055 0.0339329 0.0174109 -0.00878403 -0.113651 -0.195299 -0.241947 -0.315732 -0.388927 -0.461739 -0.530852 -0.59216 -0.631153 -2.9007 34.7799 159.387 284.253 348.346 393.64 435.095 466.559 507.717 538.905 559.848 574.332 580.553 579.42 570.032 552.486 527.141 496.028 457.76 414.52 367.851 310.931 200.978 75.0883 17.3314 2.47718 1.34037 0.884465 0.654908 0.539881 0.46306 0.401226 0.352189 0.311152 0.271499 0.239175 0.211503 0.184851 0.160715 0.138565 0.122518 0.10845 0.0956675 0.0824396 0.0698284 0.0595504 0.0546422 0.0508314 0.0465266 0.0417664 0.0366071 0.0317126 0.0276917 0.024428 0.022506 0.021401 0.0207194 0.0208516 0.0210514 0.0198732 0.0185632 0.0185697 0.0203097 0.0219474 0.0232247 0.0237631 0.0247999 0.0254272 0.0257518 0.0262183 0.028284 0.0421555 0.0988588 0.374622 2.00468 12.3053 65.8946 164.655 262.1 331.707 382.435 425.075 464.634 499.276 527.729 548.664 561.962 565.075 563.725 554.291 537.065 512.877 482.404 445.942 404.851 356.505 289.868 177.103 67.2171 17.439 1.85928 0.753231 0.344698 0.178363 0.115712 0.0967409 0.0777468 0.0755634 0.0773071 0.0708874 0.0645609 0.0687451 0.0664306 0.0608273 0.0557839 0.0515399 0.0478855 0.0451626 0.0430538 0.0413711 0.0397752 0.0382246 0.0369467 0.0359885 0.0347321 0.0339846 0.0336121 0.0337941 0.0345571 0.0359062 0.0373774 0.0387971 0.0401728 0.0415486 0.043111 0.044838 0.047419 0.0495734 0.0514144 0.0530055 0.0538865 0.0524289 0.0515418 0.0542488 0.0537149 0.0621104 0.122191 0.397538 2.11368 13.8907 73.7426 176.728 273.153 339.527 385.33 424.195 458.439 487.661 511.933 530.417 542.965 548.79 547.91 542.337 529.902 510.769 485.72 455.156 419.931 379.369 328.454 241.306 119.316 35.418 5.08588 1.13998 0.476631 0.218509 0.139876 0.10549 0.0868337 0.0960205 0.0937863 0.083012 0.0785895 0.0796885 0.0718981 0.0649139 0.0591122 0.0534608 0.0484784 0.0439896 0.0400925 0.0367649 0.0339125 0.03141 0.0291502 0.0272539 0.0256051 0.0246572 0.0242228 0.0242703 0.0247807 0.0257866 0.0274082 0.0296637 0.032409 0.0352921 0.0383897 0.0424304 0.0469322 0.0505404 0.0528046 0.0553921 0.0585436 0.0607973 0.0617774 0.0627926 0.0651413 0.0634546 0.0697959 0.104106 0.292323 1.64804 13.6401 86.7801 207.04 304.891 368.753 416.499 458.458 495.248 526.298 549.814 565.521 572.727 571.189 564.005 548.472 525.467 496.014 460.576 420.349 374.838 318.204 223.527 109.081 35.3136 6.57052 1.16531 0.49629 0.237551 0.132619 0.100269 0.08156 0.0655641 0.0665572 0.071494 0.0640759 0.0576951 0.0592876 0.0607773 0.0557977 0.051279 0.0476511 0.0449282 0.0429402 0.0418828 0.0413779 0.0406431 0.0395616 0.038415 0.0370285 0.0358121 0.0350003 0.0345944 0.034656 0.0347432 0.0346691 0.0345678 0.0343873 0.0340573 0.0336742 0.0330838 0.0324805 0.0319095 0.0306378 0.0291792 0.0261855 0.0227639 0.0177134 0.0111887 0.00629496 0.0027608 0.0117622 0.0786119 0.345276 1.98175 12.4728 64.2833 160.796 255.251 320.147 368.637 404.204 437.088 465.475 489.305 507.997 520.579 526.457 526.554 520.77 507.807 488.22 462.874 432.247 397.516 357.947 306.608 216.88 108.519 33.8473 7.43043 1.54509 0.904189 0.667656 0.546832 0.474555 0.47312 0.453373 0.421782 0.398485 0.382449 0.356547 0.334205 0.312968 0.285183 0.251174 0.228419 0.206423 0.181605 0.15686 0.11735 0.0659635 0.0339086 0.0146425 -0.0149248 -0.105671 -0.181077 -0.2298 -0.297853 -0.366523 -0.434585 -0.498797 -0.554719 -0.589609 -2.75379 -2.81712 -2.24727 52.8201 238.904 378.955 438.206 469.239 514.086 546.42 567.495 582.533 589.031 587.763 578.187 560.149 533.98 502.333 462.77 409.44 283.194 117.988 26.1798 3.39618 1.78055 1.05766 0.756218 0.64348 0.552941 0.487292 0.429187 0.37651 0.332339 0.293752 0.256696 0.226347 0.200013 0.174719 0.152117 0.131469 0.115997 0.102575 0.0903255 0.0778854 0.0662639 0.0568525 0.051809 0.0479583 0.0438244 0.0393582 0.0345889 0.030297 0.0263106 0.0232482 0.0213805 0.0202824 0.0196258 0.0196776 0.0197357 0.0186932 0.0175689 0.0176838 0.0191043 0.0205101 0.0216006 0.0221645 0.0230012 0.0234293 0.0234426 0.0232434 0.0218908 0.0208804 0.0206276 0.0277063 0.0733337 0.312502 1.77717 12.1635 70.029 199.598 330.907 414.419 468.753 505.201 534.64 556.341 570.32 574.323 571.959 562.228 544.436 519.455 487.653 446.666 382.118 251.274 104.494 27.7759 3.13792 1.11836 0.465844 0.213111 0.138276 0.0977596 0.08364 0.081129 0.0707727 0.0704257 0.0718015 0.0667984 0.0618608 0.0645807 0.0623878 0.0574477 0.052793 0.0487935 0.0453672 0.0427644 0.0407285 0.039092 0.037566 0.0361082 0.0348833 0.033757 0.0328049 0.0321266 0.0318137 0.031996 0.0326903 0.0339218 0.0352513 0.036579 0.0378927 0.0392155 0.040726 0.0423931 0.0447277 0.0467066 0.0484582 0.0498883 0.0506213 0.0492211 0.0482191 0.049379 0.0458344 0.0406849 0.0397148 0.0441327 0.0888335 0.36312 2.1336 15.2742 87.8395 219.966 338.277 412.997 461.81 493.216 518.003 537.002 549.993 555.919 554.938 549.597 536.913 517.23 491.312 458.018 411.273 319.559 177.73 59.9457 11.1039 1.80491 0.721151 0.299976 0.162801 0.103383 0.0968398 0.0887127 0.0804634 0.088646 0.0872734 0.0788362 0.0748276 0.074589 0.0678809 0.0614428 0.0559147 0.0506077 0.0458923 0.0416544 0.0379658 0.0348028 0.0320849 0.0297065 0.027579 0.025802 0.0242882 0.0233772 0.0229565 0.0230062 0.0235036 0.0244674 0.0259937 0.0281072 0.0306702 0.0333593 0.0363408 0.040146 0.0441217 0.0473933 0.0496973 0.052762 0.0556257 0.0575364 0.0584145 0.0593173 0.060867 0.0580689 0.056314 0.0526918 0.0527273 0.0847737 0.343497 2.61548 24.8857 142.183 297.006 401.464 461.988 501.06 533.251 557.561 573.778 581.131 579.438 572.242 556.124 532.295 501.654 463.3 410.05 303.271 153.448 48.9798 8.67801 1.60165 0.660192 0.291694 0.147108 0.103429 0.0801351 0.0779624 0.0707161 0.0609168 0.0624143 0.0660822 0.0603864 0.0551951 0.0561382 0.056875 0.0526376 0.048527 0.045141 0.0425664 0.0406897 0.0396325 0.0390603 0.0383216 0.0373216 0.0362491 0.0349502 0.03382 0.0330665 0.0326762 0.0327042 0.032762 0.0326918 0.0325913 0.0324066 0.0321052 0.0317319 0.0311844 0.0306244 0.0300312 0.0287982 0.0271894 0.024426 0.0210292 0.0160945 0.00964059 0.0039084 -0.00356211 -0.0120128 -0.0169742 -0.0171959 0.0163332 0.231823 1.43451 10.1826 56.5399 172.965 298.523 381.473 435.923 470.685 495.151 514.376 527.406 533.242 533.431 527.731 514.368 494.034 467.396 431.431 371.522 251.987 115.662 36.4519 5.79995 1.65657 0.969542 0.643102 0.506049 0.485123 0.459815 0.42774 0.436675 0.423421 0.397663 0.376302 0.360248 0.336681 0.315316 0.295031 0.268931 0.238211 0.215949 0.194733 0.171099 0.1467 0.110198 0.0638728 0.0333258 0.0122251 -0.0192654 -0.0984039 -0.167907 -0.217157 -0.280159 -0.344356 -0.407793 -0.467283 -0.518258 -0.54953 -2.59142 -2.62878 -2.43442 -2.60552 -0.565963 82.4624 290.099 443.265 512.266 554.213 575.422 591.058 597.836 596.38 586.593 568.057 540.325 491.863 352.216 155.469 36.4682 4.46171 2.16841 1.2621 0.88942 0.716732 0.60704 0.567107 0.507728 0.454664 0.402876 0.354055 0.313398 0.276826 0.24208 0.21331 0.188543 0.164617 0.143454 0.124202 0.109405 0.096647 0.0849812 0.0733395 0.062629 0.053985 0.0489396 0.0451063 0.0411568 0.0369618 0.0325728 0.0287965 0.0249044 0.022012 0.0201959 0.0191317 0.018514 0.0184702 0.0183915 0.0175639 0.0165922 0.0167352 0.017873 0.0190799 0.0200035 0.0205668 0.0212444 0.0215855 0.0215249 0.0212939 0.0198833 0.0182017 0.0160199 0.013354 0.00988037 0.0136808 0.0484442 0.283146 1.65311 11.8715 73.9596 226.598 382.985 478.605 532.903 562.205 577.141 580.944 578.985 568.453 547.388 511.241 437.928 299.504 140.713 43.3894 5.97492 1.58421 0.670637 0.277304 0.151888 0.0918354 0.0886865 0.0778114 0.0739572 0.0739009 0.0666292 0.0662736 0.06702 0.0628806 0.058799 0.060371 0.0583216 0.0539818 0.0497102 0.0459706 0.0427733 0.0403028 0.0383551 0.0367801 0.0353294 0.0339658 0.0327931 0.0316196 0.0308416 0.0302276 0.0299638 0.0301389 0.0307728 0.0318929 0.0330974 0.0343339 0.0355675 0.0368149 0.038239 0.0398103 0.0418751 0.0435724 0.045207 0.0465325 0.0470576 0.0460639 0.0453465 0.0457275 0.0423222 0.037202 0.0338105 0.028118 0.0204347 0.0206765 0.0681126 0.385983 2.39448 16.5554 86.061 225.966 359.141 445.908 499.498 532.545 551.602 559.391 559.266 553.372 537.407 507.547 449.872 339.359 197.75 78.3193 18.9694 2.43459 1.05356 0.42738 0.194475 0.0989922 0.0839683 0.0743606 0.0826491 0.0809183 0.076221 0.0824952 0.0813335 0.0744172 0.0706884 0.0695928 0.063757 0.0578524 0.0526337 0.047673 0.0432371 0.0392563 0.0357833 0.0327944 0.030222 0.0279746 0.0259756 0.0243024 0.022912 0.0220511 0.0216506 0.0217 0.0221704 0.0230821 0.024512 0.0264807 0.0288514 0.0313653 0.0342122 0.0376693 0.0412797 0.044245 0.0464579 0.0494283 0.0521288 0.0539922 0.0550364 0.0559041 0.0569448 0.0544113 0.0520946 0.0474841 0.0409946 0.032112 0.0313587 0.0803397 0.538412 5.04508 45.4972 196.968 364.101 470.433 531.045 563.859 580.724 588.115 586.51 579.401 561.295 530.687 474.156 354.173 193.561 68.7536 13.6163 2.11492 0.882219 0.380705 0.179124 0.101618 0.0709492 0.0719985 0.0669558 0.0697077 0.0651863 0.0578433 0.0588655 0.0613745 0.056815 0.0524512 0.0528258 0.0530113 0.0494121 0.0456956 0.0425563 0.0401376 0.0383733 0.0373308 0.0367163 0.0359879 0.035065 0.0340673 0.0329022 0.031839 0.0311251 0.030747 0.030742 0.0307708 0.030698 0.0305914 0.0303985 0.0301149 0.0297399 0.0292092 0.0286614 0.0280271 0.0268317 0.0252374 0.0226737 0.0194451 0.0148314 0.00877117 0.00319438 -0.00404535 -0.0126787 -0.0203484 -0.0294218 -0.0408974 -0.0465845 -0.0349245 0.134537 0.971384 6.74501 41.2873 148.287 281.987 396.745 462.53 503.057 527.255 537.258 537.456 529.96 509.305 464.394 369.127 234.806 103.679 34.0131 4.08817 1.70371 0.965571 0.614263 0.494656 0.444619 0.411667 0.429727 0.422388 0.40138 0.407969 0.396601 0.374136 0.354507 0.338462 0.316856 0.296595 0.277143 0.252743 0.2249 0.203405 0.183048 0.160625 0.136884 0.103174 0.0613637 0.0323106 0.0101577 -0.0220092 -0.0916383 -0.155568 -0.204204 -0.262616 -0.32242 -0.381353 -0.436299 -0.482709 -0.510766 -2.42663 -2.44338 -2.30332 -2.3875 -2.05774 -1.90033 -0.215528 71.9523 266.091 448.048 551.296 587.305 605.63 604.244 578.289 480.391 319.212 134.931 40.1075 4.56342 2.32805 1.4473 0.968919 0.777581 0.667051 0.614169 0.550981 0.522632 0.472319 0.425339 0.377425 0.331956 0.294323 0.259826 0.227288 0.200188 0.176916 0.154482 0.134715 0.116811 0.102761 0.090684 0.0796402 0.0687925 0.0589286 0.0509802 0.046026 0.0422562 0.0385031 0.0345726 0.0305479 0.0271497 0.0234515 0.0207511 0.0189999 0.0179964 0.0173892 0.01723 0.0170859 0.0163847 0.015563 0.0157431 0.0165832 0.0176142 0.0183835 0.0189352 0.0195067 0.0197657 0.0196396 0.0192272 0.0179711 0.016422 0.0141558 0.0112233 0.00624502 0.00136912 -0.00734345 -0.00528437 0.0220753 0.251212 1.65943 11.4603 69.2526 214.111 354.76 454.755 510.722 528.201 519.11 473.036 386.671 263.06 130.676 48.2642 8.53468 2.27373 1.13814 0.337463 0.158788 0.0816649 0.0759268 0.0636601 0.0737141 0.0702155 0.0685583 0.0684285 0.0628391 0.0622451 0.0623593 0.058892 0.0554935 0.0562345 0.0543119 0.0504877 0.0465877 0.0431133 0.0401424 0.0378121 0.0359609 0.0344561 0.0330835 0.0318108 0.0306937 0.0295502 0.0288621 0.0283131 0.0280896 0.0282518 0.0288356 0.0298427 0.0309394 0.0320884 0.0332327 0.0344003 0.0357265 0.0371969 0.0390337 0.0405234 0.0419967 0.0431692 0.0435292 0.0426214 0.0418886 0.0417728 0.0387344 0.0345962 0.0309974 0.0246727 0.0154574 0.00556937 -0.00439069 -0.00126423 0.0512195 0.400306 2.30683 12.9141 56.9636 158.155 269.198 355.462 412.142 439.929 440.399 413.266 350.267 254.268 144.952 64.9097 17.4169 2.47674 1.62489 0.602263 0.220205 0.106841 0.0665937 0.0511171 0.0625821 0.065211 0.0749896 0.0750517 0.0720833 0.0766125 0.075538 0.0698568 0.0663777 0.0647377 0.0596035 0.0542117 0.0493226 0.0447032 0.0405514 0.0368277 0.0335724 0.0307621 0.0283407 0.0262263 0.0243543 0.0227659 0.0214941 0.0206903 0.0203142 0.0203615 0.0208012 0.021656 0.0229886 0.0248101 0.0269945 0.0293348 0.0320228 0.0351602 0.0384372 0.0411458 0.0433002 0.0460794 0.0484777 0.050142 0.0510438 0.0518114 0.0526171 0.0507562 0.0484408 0.0437343 0.0368894 0.0272257 0.0176086 0.00393207 0.00281498 0.101758 0.954525 8.11412 54.6797 196.85 349.913 460.799 520.264 544.141 543.476 517.21 442.568 324.41 180.227 72.8216 17.4532 2.74269 1.59412 0.508633 0.206243 0.108375 0.0696806 0.0583013 0.0535435 0.0619604 0.0613078 0.0641565 0.0606425 0.0548392 0.0553413 0.0568677 0.0531759 0.0495085 0.0494642 0.0492606 0.0461715 0.0428265 0.0399309 0.0376732 0.0360211 0.0350035 0.0343662 0.0336575 0.0328059 0.0318804 0.030824 0.0298496 0.0291807 0.0288163 0.0287883 0.028793 0.0287188 0.0286076 0.0284115 0.0281412 0.027769 0.0272494 0.026705 0.0260344 0.0248629 0.0233035 0.0208719 0.0177796 0.0134425 0.00788929 0.00253772 -0.00416834 -0.012118 -0.0195905 -0.028783 -0.0408349 -0.0541044 -0.0732646 -0.0810689 -0.0799156 0.0126916 0.553317 3.04361 15.6423 61.2083 153.923 245.491 308.917 335.316 330.823 296.227 222.322 128.034 61.8165 19.7165 2.38573 1.39112 0.796508 0.549404 0.442292 0.391595 0.383293 0.3872 0.376702 0.396498 0.392797 0.377285 0.380837 0.370289 0.350457 0.332603 0.31679 0.296924 0.277848 0.25933 0.236613 0.211323 0.190789 0.171369 0.150181 0.127344 0.0962589 0.0585023 0.030965 0.00839887 -0.0235168 -0.0852212 -0.143885 -0.19107 -0.245203 -0.300705 -0.355253 -0.405828 -0.448008 -0.473181 -2.2615 -2.26491 -2.15561 -2.19075 -1.91104 -1.75405 -1.46147 -1.38241 -1.18649 2.10064 52.9329 136.59 166.785 145.654 81.5476 46.1648 21.5063 2.3989 1.82518 1.24943 0.932275 0.799548 0.683248 0.6406 0.589867 0.560381 0.511929 0.484731 0.439167 0.396591 0.35215 0.309947 0.275037 0.242754 0.212406 0.187037 0.165215 0.144306 0.125907 0.109309 0.0960615 0.0846883 0.074299 0.0642364 0.0551696 0.0478637 0.0430733 0.0394125 0.0358556 0.0321935 0.0285125 0.0253178 0.0219589 0.0194546 0.0177891 0.0168324 0.0162487 0.0160198 0.0158327 0.015152 0.0145174 0.0147088 0.0153124 0.0161555 0.0168269 0.0173415 0.0176915 0.0179546 0.0177912 0.0172802 0.0161071 0.0145507 0.012319 0.00950146 0.00505386 -5.11087e-05 -0.00911513 -0.0159706 -0.0291012 -0.0337406 -0.0180149 0.172538 1.38733 8.09444 30.9198 75.7776 133.091 159.051 150.889 116.051 69.352 27.2006 5.38064 2.73648 1.357 0.38221 0.135896 0.0532302 0.0418443 0.0368552 0.0555377 0.0556544 0.066055 0.0648461 0.0638473 0.0633164 0.0588822 0.0580923 0.057798 0.0548758 0.0520165 0.0521805 0.0503716 0.0469861 0.0434405 0.0402324 0.0374829 0.0352971 0.0335489 0.0321227 0.0308309 0.0296469 0.0285881 0.0275039 0.0268751 0.0263969 0.0262028 0.0263565 0.0268927 0.0277936 0.0287934 0.0298529 0.0309112 0.0319998 0.0332191 0.0345882 0.0362194 0.0375439 0.0388371 0.0398364 0.0401034 0.0392833 0.0385438 0.0380598 0.035245 0.0313698 0.0275411 0.0216436 0.0136178 0.00382295 -0.00831787 -0.0186795 -0.0326089 -0.0346499 0.0204839 0.345296 1.68922 6.63023 18.9597 42.2366 68.7852 88.9801 91.0384 79.6589 52.4805 23.0147 4.95161 2.40992 1.4954 0.517808 0.164482 0.072831 0.0350438 0.0304637 0.0359559 0.0396815 0.0545451 0.0600136 0.0687961 0.0694957 0.0676354 0.0708884 0.0698881 0.0651977 0.0619714 0.0600085 0.0554522 0.0505407 0.0459928 0.0417085 0.0378426 0.0343754 0.0313389 0.0287116 0.0264442 0.0244655 0.0227156 0.0212007 0.020053 0.0193093 0.0189575 0.0189967 0.0194057 0.0202004 0.0214358 0.0231122 0.0251207 0.0272957 0.0298023 0.0326584 0.0356311 0.0380967 0.0401554 0.0427107 0.044834 0.0463249 0.0471367 0.047765 0.0482048 0.0463864 0.0438901 0.0395768 0.0335644 0.0246968 0.0145271 -0.000375382 -0.0159962 -0.03253 -0.0318888 0.128026 1.15259 6.8645 29.9146 81.8924 146.231 183.521 181.288 150.421 98.1314 46.4535 11.8321 3.43293 2.03487 0.671331 0.207135 0.0945063 0.0520307 0.0451553 0.0443239 0.0470152 0.0481326 0.05624 0.0569659 0.0592103 0.0562518 0.0515952 0.0516914 0.0525326 0.049509 0.046416 0.0460836 0.0456131 0.0429334 0.0399297 0.0372736 0.0351792 0.0336392 0.0326577 0.0320146 0.0313325 0.0305474 0.0296934 0.0287426 0.0278611 0.0272329 0.0268854 0.0268372 0.0268218 0.026746 0.0266312 0.0264338 0.0261732 0.0258072 0.0253107 0.0247742 0.0240868 0.0229478 0.0214369 0.0191217 0.016162 0.0120778 0.00694505 0.00185449 -0.00440962 -0.0117652 -0.0188814 -0.0276524 -0.0385648 -0.0514793 -0.0694823 -0.0822252 -0.0997514 -0.111489 -0.111734 -0.0809449 0.0741903 0.67901 2.48232 6.52205 13.531 20.989 25.6531 21.9365 9.9045 1.15723 0.914106 0.65151 0.489416 0.38732 0.335175 0.313976 0.322413 0.330859 0.343051 0.355319 0.351467 0.367774 0.364926 0.352995 0.354112 0.344337 0.326726 0.310486 0.295214 0.276945 0.259084 0.241575 0.220523 0.197532 0.178103 0.159696 0.139771 0.118028 0.0894336 0.0553466 0.0293674 0.00686316 -0.0241809 -0.079045 -0.132719 -0.177846 -0.227908 -0.279202 -0.329479 -0.375848 -0.414088 -0.436654 -2.09617 -2.09139 -2.00497 -2.00719 -1.7737 -1.61742 -1.37377 -1.27989 -1.11395 -0.843373 -0.66965 -0.458323 -0.259195 -0.128655 0.168641 0.676064 0.727033 0.689738 0.706712 0.667097 0.63251 0.628751 0.590429 0.576926 0.542287 0.516616 0.475205 0.448091 0.406686 0.367888 0.326907 0.287953 0.255604 0.22559 0.19744 0.173832 0.15346 0.134086 0.117037 0.101712 0.0893092 0.078662 0.0689533 0.0596647 0.0513559 0.0446541 0.0400821 0.0365677 0.0332164 0.0298228 0.0264626 0.02345 0.020436 0.01812 0.0165532 0.0156378 0.0150804 0.0148325 0.0145815 0.0139789 0.0134694 0.0136335 0.0141003 0.0147817 0.0154096 0.0158246 0.0160017 0.0162092 0.0160037 0.0154044 0.0143009 0.0127919 0.0107311 0.0080214 0.00381513 -0.00138875 -0.00951253 -0.0164832 -0.0284801 -0.0395256 -0.058528 -0.0771446 -0.101369 -0.122509 -0.131142 -0.137745 -0.146439 -0.142816 -0.121611 0.746811 1.38927 1.40088 0.696387 0.285526 0.0941638 0.00170424 -0.00712824 -0.00829846 0.0157216 0.027155 0.0473066 0.0509914 0.0599209 0.0597755 0.0590841 0.0583402 0.054795 0.0538862 0.0533357 0.0508492 0.0484203 0.0481902 0.0464903 0.0434839 0.0402738 0.0373312 0.0347974 0.0327609 0.0311216 0.0297807 0.0285726 0.0274759 0.0264854 0.0254928 0.0249093 0.024481 0.0243138 0.0244578 0.0249429 0.0257559 0.0266546 0.0276216 0.0285973 0.0296037 0.0307186 0.0319688 0.0334043 0.0345643 0.0357092 0.036544 0.036715 0.0359669 0.0352158 0.0344731 0.0318658 0.028272 0.0244798 0.0188422 0.0112856 0.0019056 -0.00896558 -0.0190941 -0.0339139 -0.0497444 -0.0662623 -0.0803647 -0.0951613 -0.108048 -0.113818 -0.121538 -0.122889 -0.123403 -0.117703 0.155869 0.743992 0.856112 0.458037 0.220117 0.0792365 0.00415295 -0.0214455 -0.0144077 -0.00376585 0.0137214 0.027723 0.0354861 0.0491871 0.0553615 0.0629443 0.0640446 0.0629623 0.0653049 0.0643697 0.0604699 0.0574992 0.055373 0.0513068 0.046847 0.0426482 0.0386942 0.0351152 0.031904 0.0290877 0.026646 0.0245357 0.0226952 0.0210735 0.0196724 0.0186223 0.0179319 0.0176051 0.0176376 0.0180194 0.0187546 0.019896 0.0214329 0.0232739 0.0252833 0.0276015 0.0301953 0.0328735 0.0351014 0.0370144 0.0393397 0.0412262 0.0425315 0.0432516 0.0437572 0.0439212 0.0422119 0.0396652 0.0354969 0.0295981 0.0212064 0.011632 -0.00137902 -0.0166077 -0.0369651 -0.0620991 -0.0810194 -0.0881735 -0.058327 0.08665 0.467728 1.03113 1.31515 1.0609 0.828814 1.79657 2.13548 1.27564 0.521028 0.185109 0.0481223 0.0153525 0.0134173 0.018963 0.0304192 0.0371177 0.0420477 0.0445986 0.0514069 0.0526408 0.0543746 0.0519225 0.0481733 0.0479795 0.0483457 0.0458401 0.0432202 0.0426923 0.042051 0.0397082 0.0370169 0.0345954 0.0326654 0.0312365 0.0303 0.0296638 0.029013 0.0282903 0.0275061 0.0266513 0.0258565 0.025271 0.0249474 0.0248837 0.0248498 0.0247717 0.0246527 0.0244555 0.0242032 0.0238423 0.0233639 0.0228372 0.0221388 0.0210464 0.0195853 0.0174111 0.0146275 0.0108061 0.00607335 0.00124984 -0.00462038 -0.0114755 -0.0182257 -0.0265873 -0.0366672 -0.0490505 -0.0654924 -0.0778984 -0.0934899 -0.107124 -0.119303 -0.132551 -0.14457 -0.149813 -0.144534 -0.135338 -0.128273 -0.116362 -0.0995019 -0.0387083 0.0515799 0.128794 0.158832 0.157311 0.180941 0.2002 0.235076 0.254887 0.282527 0.29999 0.314659 0.32882 0.327236 0.339906 0.337598 0.328271 0.327728 0.318663 0.303022 0.288224 0.2737 0.256927 0.240306 0.223867 0.204456 0.183571 0.165349 0.148026 0.129394 0.108895 0.0826824 0.0519472 0.027582 0.00552912 -0.0241659 -0.0730337 -0.121965 -0.16459 -0.210724 -0.2579 -0.304015 -0.346334 -0.380888 -0.401078 -1.93102 -1.92156 -1.85203 -1.832 -1.6368 -1.48493 -1.27497 -1.17253 -1.0178 -0.787082 -0.611477 -0.422716 -0.24364 -0.116511 0.0444075 0.237037 0.327052 0.429591 0.493909 0.52682 0.542199 0.557579 0.538044 0.527433 0.498951 0.474722 0.438636 0.412116 0.374554 0.339176 0.301637 0.265913 0.236055 0.208341 0.182394 0.160564 0.141658 0.12382 0.108109 0.0940305 0.0825068 0.0726074 0.0636005 0.0550749 0.0474929 0.0413667 0.0370543 0.0337177 0.0305846 0.0274637 0.0243939 0.021588 0.0188833 0.0167658 0.0153038 0.0144475 0.0138965 0.0136289 0.0133667 0.0128564 0.0123876 0.012517 0.0128255 0.0133467 0.0138648 0.0140805 0.0144417 0.0144372 0.0141907 0.0135419 0.0124797 0.0109858 0.00900805 0.00635876 0.00235946 -0.00269652 -0.0100303 -0.0170116 -0.0278 -0.0386264 -0.0557591 -0.0732347 -0.0956783 -0.115462 -0.122768 -0.126828 -0.137036 -0.127062 -0.105269 -0.0405328 -0.00890676 -0.0222197 -0.0541604 -0.0701483 -0.0590151 -0.0526095 -0.032598 -0.0176501 0.00909929 0.0235087 0.0415401 0.0467025 0.0542793 0.0547649 0.0542945 0.0534693 0.0506091 0.0496486 0.0489439 0.0468128 0.0447313 0.0442464 0.0426558 0.0399857 0.0370931 0.0344109 0.03209 0.0302076 0.0286822 0.0274321 0.0263111 0.0253007 0.0243855 0.0234945 0.0229478 0.0225587 0.0224134 0.0225457 0.0229829 0.0237045 0.0245098 0.025384 0.0262675 0.0271855 0.0281907 0.0293089 0.0305524 0.0315579 0.0325513 0.0332293 0.0332958 0.0325858 0.0318117 0.0308952 0.0284424 0.0250965 0.0214197 0.0161153 0.00911113 0.000436507 -0.00940433 -0.0192481 -0.0327878 -0.0476279 -0.0627626 -0.076629 -0.0912621 -0.103437 -0.108668 -0.116235 -0.1138 -0.113368 -0.110581 -0.0998923 -0.0650384 -0.0607373 -0.0697965 -0.0754031 -0.0716325 -0.0592225 -0.0509633 -0.0285074 -0.00982373 0.00916896 0.0237341 0.0323793 0.0445051 0.0507727 0.0573242 0.0586717 0.0581364 0.0598264 0.0589579 0.0556932 0.0529787 0.0508096 0.0471708 0.04314 0.0392924 0.0356651 0.0323726 0.0294171 0.0268221 0.0245673 0.022617 0.0209162 0.0194231 0.0181418 0.01718 0.0165439 0.0162415 0.0162697 0.0166199 0.017294 0.018339 0.0197385 0.0214129 0.0232565 0.0253754 0.0277138 0.0301138 0.032117 0.0338754 0.0359811 0.0376557 0.0387872 0.0393976 0.0397629 0.0397172 0.0381097 0.0355877 0.0315939 0.0259971 0.0181973 0.00914901 -0.00294244 -0.0176793 -0.0364707 -0.0593215 -0.0807694 -0.100587 -0.117525 -0.12712 -0.134694 -0.129955 -0.121036 -0.105596 -0.0491244 0.0418691 0.0512766 0.00577115 -0.0505703 -0.0580703 -0.0399153 -0.0216501 -0.00226902 0.0119088 0.0252278 0.0330443 0.0381093 0.0411729 0.0468388 0.0483185 0.0496684 0.047649 0.0446162 0.044233 0.0442721 0.0421747 0.0399461 0.0392987 0.0385555 0.036496 0.034095 0.0318998 0.0301327 0.0288139 0.0279292 0.0273102 0.0266959 0.0260341 0.0253166 0.0245457 0.0238177 0.0232868 0.0229887 0.0229132 0.0228647 0.0227843 0.0226611 0.022464 0.0222147 0.0218635 0.0213998 0.0208789 0.0201791 0.0191282 0.01772 0.0156783 0.0130747 0.00951231 0.0051929 0.000672483 -0.00480856 -0.0111222 -0.0174477 -0.0255443 -0.0349046 -0.0465793 -0.0615643 -0.0734002 -0.0871354 -0.099586 -0.110867 -0.122976 -0.13367 -0.138611 -0.134182 -0.125546 -0.117124 -0.104162 -0.0880343 -0.0721264 -0.0402339 0.0207251 0.0596514 0.0827087 0.123952 0.158887 0.203169 0.228392 0.256573 0.273175 0.287271 0.302987 0.302699 0.312561 0.310638 0.303244 0.3016 0.293206 0.279328 0.26586 0.252229 0.236877 0.221511 0.206197 0.1884 0.169472 0.152532 0.136358 0.119051 0.0999092 0.0759916 0.0483474 0.0256567 0.00433991 -0.0236082 -0.0671335 -0.111537 -0.151343 -0.193645 -0.236788 -0.278844 -0.317257 -0.348344 -0.366351 -1.76627 -1.75446 -1.69726 -1.66385 -1.49926 -1.35584 -1.1751 -1.06887 -0.924414 -0.723101 -0.556397 -0.386485 -0.225756 -0.106556 0.0327319 0.180395 0.260269 0.360616 0.425508 0.467211 0.491205 0.505152 0.490665 0.480563 0.456523 0.433734 0.402008 0.376527 0.342635 0.310466 0.276334 0.243811 0.216415 0.191015 0.167273 0.147234 0.129817 0.113507 0.0991279 0.0862762 0.0756575 0.066526 0.0582379 0.050465 0.0435851 0.038014 0.0339927 0.0308612 0.0279573 0.0251119 0.0223086 0.0197339 0.0173117 0.0153959 0.0140457 0.0132424 0.0126989 0.0124285 0.0121696 0.0117372 0.0112944 0.0114054 0.0115502 0.011929 0.0123183 0.0123266 0.0127684 0.0126207 0.0123179 0.0115921 0.0104856 0.0089884 0.00702556 0.00438523 0.000579801 -0.0042514 -0.0109228 -0.0176329 -0.0272183 -0.037453 -0.0529351 -0.0696189 -0.0902177 -0.108113 -0.12009 -0.125979 -0.130958 -0.124941 -0.114929 -0.107965 -0.10779 -0.113049 -0.107798 -0.0948423 -0.0715822 -0.0568222 -0.0348794 -0.0180657 0.00619454 0.0209087 0.0366858 0.0424712 0.0489295 0.0497973 0.049502 0.0486732 0.0463478 0.0453866 0.0446028 0.0427718 0.0409759 0.0403407 0.0388622 0.0364965 0.0339055 0.0314771 0.029367 0.0276403 0.0262346 0.0250788 0.0240472 0.0231228 0.0222837 0.021494 0.020981 0.0206288 0.0205027 0.0206201 0.0210106 0.0216433 0.0223609 0.0231428 0.0239336 0.0247605 0.0256501 0.0266358 0.0276963 0.0285597 0.0293928 0.0299069 0.029882 0.0291779 0.0283656 0.0273138 0.0250053 0.0218551 0.0183015 0.013323 0.00685783 -0.00111677 -0.0100404 -0.0193268 -0.0314757 -0.0450274 -0.058859 -0.0720187 -0.0858772 -0.0973706 -0.104813 -0.110429 -0.112372 -0.112014 -0.107666 -0.107398 -0.106437 -0.106298 -0.100519 -0.0922672 -0.0794974 -0.0629514 -0.0505866 -0.0293 -0.0107542 0.00699796 0.0208128 0.0294985 0.0401271 0.0462018 0.051885 0.0533669 0.0532067 0.0544313 0.0536372 0.0508914 0.0484307 0.0463042 0.0430502 0.039425 0.0359258 0.0326225 0.0296159 0.0269162 0.0245427 0.0224765 0.0206882 0.0191286 0.0177635 0.0165977 0.0157249 0.0151437 0.0148662 0.0148891 0.0152079 0.0158196 0.016767 0.0180276 0.0195358 0.0212039 0.0231162 0.0251979 0.02732 0.0291088 0.0307161 0.0325806 0.0340328 0.0350033 0.0354928 0.0356977 0.0354617 0.033908 0.0314187 0.0276081 0.0223366 0.0151223 0.00662892 -0.00447056 -0.0180302 -0.035124 -0.0558047 -0.076089 -0.0950477 -0.112208 -0.124082 -0.12998 -0.131758 -0.128706 -0.120197 -0.115317 -0.109922 -0.104274 -0.103516 -0.0969411 -0.0775235 -0.0492555 -0.0260146 -0.00580074 0.00910986 0.0218132 0.0296071 0.0344831 0.0376947 0.0424383 0.0440046 0.0450746 0.0434136 0.0409487 0.0404555 0.0402766 0.0385092 0.0366069 0.0359002 0.0351068 0.0332923 0.0311616 0.0291851 0.027579 0.0263714 0.0255451 0.0249538 0.0243809 0.0237787 0.0231281 0.0224379 0.0217823 0.0213014 0.0210248 0.0209442 0.0208851 0.0208017 0.0206757 0.0204791 0.0202342 0.0198872 0.0194349 0.0189211 0.0182229 0.0172111 0.0158506 0.013934 0.0115036 0.0081858 0.00421057 -3.58611e-05 -0.0051339 -0.0110936 -0.0168796 -0.0246802 -0.033323 -0.0441854 -0.0573759 -0.0685513 -0.0807688 -0.0918582 -0.102171 -0.113058 -0.122247 -0.126681 -0.123629 -0.116996 -0.110279 -0.099282 -0.0857284 -0.0724735 -0.0433786 0.00732631 0.0432022 0.0688 0.107027 0.142256 0.183181 0.205756 0.231233 0.246798 0.261789 0.276921 0.277929 0.285533 0.283937 0.277999 0.275671 0.267935 0.255641 0.243426 0.230783 0.216803 0.202702 0.188556 0.172348 0.155262 0.139658 0.124689 0.108739 0.0910433 0.0693499 0.0445838 0.0236308 0.00343155 -0.0226143 -0.0613061 -0.101369 -0.138128 -0.176668 -0.215853 -0.253947 -0.288587 -0.316399 -0.332383 -1.60203 -1.58945 -1.54165 -1.50151 -1.36144 -1.22892 -1.07228 -0.967071 -0.834566 -0.658657 -0.503279 -0.350499 -0.206392 -0.0948983 0.0295572 0.156843 0.231678 0.321159 0.380157 0.420498 0.44073 0.455291 0.444742 0.435065 0.414375 0.393154 0.365262 0.341254 0.310873 0.281785 0.251007 0.22164 0.196702 0.173621 0.152081 0.133843 0.117939 0.10315 0.0900975 0.0784575 0.0687649 0.0604198 0.0528643 0.0458347 0.0396371 0.0346059 0.0309014 0.0279974 0.0253317 0.02276 0.0202162 0.017883 0.0157254 0.0139954 0.0127717 0.0120067 0.0114924 0.0112373 0.010959 0.0106283 0.0101881 0.0102769 0.0103037 0.0105934 0.0108453 0.0107545 0.0110061 0.0108127 0.0104275 0.00959848 0.00841274 0.00689691 0.00489284 0.00228185 -0.00115013 -0.00563895 -0.0117457 -0.0180784 -0.0265349 -0.0360262 -0.0497262 -0.0648493 -0.0833497 -0.100283 -0.111901 -0.120064 -0.123794 -0.119632 -0.111193 -0.106096 -0.106166 -0.108983 -0.102024 -0.0885863 -0.0680329 -0.0533049 -0.0333414 -0.0167438 0.00460435 0.0186491 0.0323311 0.0382486 0.0437928 0.0448755 0.0447174 0.0439353 0.042036 0.0411115 0.0403049 0.0387302 0.0371774 0.036465 0.0351056 0.0330171 0.0307119 0.0285314 0.0266291 0.0250599 0.0237778 0.0227196 0.0217791 0.0209408 0.0201782 0.0194689 0.0189995 0.0186867 0.018575 0.0186786 0.0190232 0.0195748 0.0202069 0.0208949 0.0215931 0.022326 0.0231006 0.0239519 0.0248401 0.0255611 0.0262396 0.0266028 0.0264931 0.0257789 0.0249288 0.0237732 0.0215901 0.0186227 0.015213 0.0105582 0.00462299 -0.00267206 -0.01069 -0.0193239 -0.0301782 -0.0423616 -0.0546962 -0.0665955 -0.0790619 -0.0896113 -0.0974128 -0.10265 -0.105094 -0.104985 -0.101612 -0.101091 -0.10095 -0.100287 -0.0937217 -0.0853858 -0.0735763 -0.0588662 -0.0467482 -0.0277711 -0.0103304 0.00568652 0.0183226 0.0266454 0.0359351 0.041651 0.0465923 0.0481272 0.0482166 0.0491125 0.048393 0.046079 0.0438685 0.0418408 0.0389428 0.0357032 0.0325493 0.0295669 0.0268462 0.024402 0.0222504 0.0203749 0.0187509 0.0173343 0.016098 0.0150439 0.0142589 0.0137325 0.0134811 0.0134998 0.0137877 0.0143367 0.0151886 0.016314 0.0176606 0.0191504 0.0208534 0.0226898 0.0245392 0.0261129 0.0275537 0.0291647 0.0303941 0.0311913 0.0315492 0.0315992 0.0311836 0.02965 0.0271977 0.0235651 0.0185992 0.0119278 0.00400197 -0.00616294 -0.0185961 -0.0340773 -0.0523801 -0.0706229 -0.087891 -0.103812 -0.115874 -0.123318 -0.126667 -0.12511 -0.118344 -0.114524 -0.11189 -0.106587 -0.102343 -0.092295 -0.0730392 -0.0475987 -0.0256757 -0.00683891 0.00746513 0.0190785 0.0264307 0.0309919 0.0341595 0.0381581 0.0397074 0.0405724 0.0392103 0.0372046 0.0366566 0.0363439 0.03485 0.0332255 0.0325005 0.0317004 0.0301041 0.0282227 0.026458 0.0250102 0.0239148 0.0231521 0.0225965 0.0220686 0.0215244 0.0209403 0.0203284 0.0197525 0.0193152 0.0190595 0.0189753 0.0189086 0.0188228 0.0186941 0.0184997 0.0182594 0.0179191 0.0174761 0.016974 0.0162858 0.0153121 0.0140109 0.0122214 0.00996773 0.00689907 0.00323038 -0.000760964 -0.00541742 -0.0110271 -0.0164269 -0.023764 -0.0318156 -0.041604 -0.0531579 -0.0634182 -0.0745389 -0.084393 -0.0936861 -0.103328 -0.111086 -0.114627 -0.112013 -0.106298 -0.100081 -0.0901609 -0.0784442 -0.065367 -0.0384393 0.00484105 0.0375849 0.0629249 0.0955581 0.127675 0.164185 0.184968 0.2077 0.221972 0.236867 0.251044 0.25298 0.258769 0.257439 0.252608 0.249901 0.242819 0.231962 0.220944 0.209355 0.196708 0.183878 0.170938 0.156294 0.140962 0.126734 0.11302 0.0984557 0.0822743 0.0627475 0.0406876 0.021533 0.00272213 -0.0212718 -0.0555243 -0.0914085 -0.124961 -0.159786 -0.195083 -0.229305 -0.260291 -0.284992 -0.299087 -1.43833 -1.42608 -1.38579 -1.34325 -1.22389 -1.1036 -0.967615 -0.866927 -0.746692 -0.592889 -0.450858 -0.314469 -0.186234 -0.0832485 0.0270342 0.138094 0.207736 0.286696 0.337542 0.375452 0.392708 0.407415 0.39934 0.390149 0.372316 0.35289 0.32845 0.306248 0.279234 0.253149 0.225661 0.199404 0.176929 0.156169 0.136824 0.120395 0.10603 0.0927528 0.0810231 0.0705826 0.061833 0.0542903 0.0474782 0.0411838 0.0356525 0.0311506 0.0277823 0.0251263 0.0227084 0.0204052 0.0181218 0.0160335 0.0141242 0.0125831 0.0114835 0.0107645 0.0102902 0.0100587 0.00976626 0.00948849 0.00900841 0.00901601 0.00902515 0.00924393 0.00932455 0.00919875 0.0092709 0.00901825 0.00855877 0.00764738 0.00639131 0.00487352 0.00283992 0.000366472 -0.00257053 -0.00669959 -0.01232 -0.0181738 -0.0256867 -0.0344007 -0.0464539 -0.0598619 -0.0758757 -0.0905975 -0.101121 -0.108514 -0.111744 -0.108425 -0.101338 -0.0967814 -0.0963394 -0.0977436 -0.0914614 -0.0796868 -0.0621888 -0.04822 -0.0303424 -0.0148827 0.00356324 0.01648 0.0282983 0.0340411 0.0388197 0.0400018 0.0399488 0.0392419 0.0376868 0.0368232 0.0360347 0.0346802 0.0333403 0.0326046 0.0313709 0.0295392 0.0275077 0.0255695 0.0238725 0.0224642 0.021308 0.0203523 0.019505 0.0187535 0.0180697 0.017435 0.0170125 0.0167384 0.0166395 0.0167301 0.0170305 0.0175034 0.0180535 0.0186489 0.0192521 0.0198862 0.0205455 0.0212628 0.0219881 0.0225653 0.023088 0.0233101 0.0231152 0.0223837 0.0214923 0.020265 0.0181858 0.0153938 0.0121477 0.00783498 0.00241198 -0.00420014 -0.0113056 -0.0191778 -0.028783 -0.0396105 -0.0504229 -0.0609703 -0.0718026 -0.0809264 -0.0878779 -0.0924792 -0.0946931 -0.0945793 -0.0919966 -0.0913308 -0.0909348 -0.0898549 -0.0841233 -0.0767049 -0.0663033 -0.0534591 -0.0418129 -0.0251239 -0.00942748 0.0047177 0.0160323 0.0237802 0.0318733 0.03713 0.0414253 0.0429443 0.0431927 0.0438534 0.0432054 0.0412567 0.0392912 0.0374041 0.0348413 0.0319745 0.0291622 0.0264982 0.0240637 0.0218752 0.0199466 0.0182634 0.0168056 0.0155334 0.0144257 0.0134797 0.0127831 0.0123116 0.012086 0.0121003 0.0123559 0.0128413 0.0135964 0.0145889 0.0157749 0.0170913 0.0185853 0.0201835 0.0217773 0.0231391 0.0244014 0.0257636 0.0267847 0.0274083 0.027625 0.0275248 0.0269558 0.0254265 0.0230329 0.0195723 0.0149199 0.0087713 0.00145181 -0.00778469 -0.0190773 -0.0329732 -0.049132 -0.0652633 -0.0804366 -0.0943113 -0.105075 -0.111944 -0.115116 -0.113903 -0.108424 -0.104711 -0.101728 -0.0968242 -0.0922605 -0.0829747 -0.0661273 -0.0438845 -0.0237172 -0.00681448 0.00628661 0.0166423 0.0233768 0.0275717 0.0305832 0.0339644 0.0354334 0.0361451 0.0350339 0.033403 0.0328412 0.0324569 0.0311899 0.0298061 0.0290979 0.0283222 0.0269241 0.0252758 0.0237169 0.0224257 0.0214431 0.0207492 0.0202356 0.0197558 0.0192696 0.0187491 0.0182086 0.0176988 0.0173123 0.0170813 0.0169943 0.0169226 0.0168348 0.0167044 0.0165115 0.0162732 0.0159401 0.0155104 0.0150182 0.014347 0.0134111 0.0121851 0.0105233 0.0084453 0.00562876 0.00225068 -0.00145649 -0.00565399 -0.0104659 -0.0159294 -0.0225606 -0.0300205 -0.0386631 -0.0490718 -0.0580817 -0.0682341 -0.0769205 -0.0852262 -0.0936282 -0.100094 -0.102843 -0.100482 -0.0954283 -0.0895367 -0.0805061 -0.0701037 -0.0575104 -0.0330058 0.00378268 0.0328847 0.0570859 0.0855855 0.114215 0.146491 0.166381 0.18675 0.199184 0.212856 0.224277 0.227947 0.232218 0.231106 0.227124 0.224261 0.217833 0.208292 0.19843 0.187937 0.176595 0.165041 0.153337 0.140234 0.126589 0.113764 0.101348 0.0881981 0.0735835 0.0561765 0.0366847 0.0193807 0.00212778 -0.019652 -0.0497699 -0.081614 -0.11185 -0.142996 -0.174467 -0.204896 -0.232338 -0.254068 -0.266386 -1.27516 -1.26401 -1.2301 -1.18827 -1.08675 -0.979525 -0.861925 -0.768298 -0.660439 -0.526579 -0.399089 -0.278536 -0.165613 -0.0726115 0.0243455 0.120542 0.184317 0.252665 0.297443 0.331018 0.349186 0.360437 0.354141 0.345657 0.330347 0.31288 0.291604 0.271456 0.247684 0.224556 0.200296 0.177101 0.1571 0.13866 0.121503 0.106893 0.0940877 0.0823151 0.0719068 0.0626573 0.0548647 0.0481391 0.0420798 0.0365142 0.0316369 0.0276567 0.0246391 0.022248 0.0200876 0.0180465 0.0160248 0.0141837 0.012514 0.0111638 0.0101842 0.00951103 0.00908979 0.00885175 0.00859005 0.00828393 0.00783061 0.00771543 0.0077621 0.00790225 0.00783766 0.00764828 0.00759311 0.00729377 0.00677559 0.00583878 0.00451153 0.00302973 0.00101597 -0.00124596 -0.00386099 -0.00774601 -0.0128706 -0.0181115 -0.024873 -0.0327301 -0.0431894 -0.0548784 -0.0685543 -0.0809924 -0.0899577 -0.0961015 -0.0985564 -0.0957477 -0.0898426 -0.0859415 -0.0853226 -0.0859401 -0.0805173 -0.0701637 -0.0551652 -0.0423677 -0.0268712 -0.0129907 0.00277164 0.0143506 0.0245039 0.0298689 0.0339814 0.0351767 0.0351987 0.0345803 0.0333063 0.0325196 0.0317806 0.0306204 0.0294723 0.0287546 0.0276517 0.026062 0.0242946 0.0225943 0.021101 0.0198554 0.0188281 0.0179778 0.0172262 0.0165625 0.0159587 0.0154174 0.0150317 0.0147892 0.0147021 0.0147782 0.0150351 0.0154335 0.0159029 0.0164091 0.0169188 0.017454 0.0179987 0.018582 0.0191542 0.0195941 0.019965 0.0200501 0.0197699 0.0190178 0.0180859 0.0168117 0.0148306 0.0122132 0.00914589 0.00517495 0.000274034 -0.00567567 -0.0119522 -0.019015 -0.027428 -0.0368803 -0.0462371 -0.0553282 -0.0645359 -0.0722206 -0.0780661 -0.0818496 -0.0836184 -0.083398 -0.0813682 -0.0806859 -0.0802315 -0.0790715 -0.0741785 -0.0675736 -0.0584124 -0.0471949 -0.0365347 -0.0221446 -0.00842148 0.00390628 0.0138717 0.0209168 0.0279174 0.032652 0.0363644 0.0378083 0.0381457 0.0386339 0.0380589 0.0364261 0.0346996 0.0329857 0.0307435 0.0282373 0.0257628 0.0234154 0.0212671 0.0193352 0.0176305 0.0161413 0.0148514 0.0137257 0.0127475 0.0119135 0.011301 0.0108847 0.0106845 0.0106943 0.0109173 0.01134 0.0119987 0.0128602 0.0138878 0.0150302 0.016317 0.017681 0.0190264 0.0201758 0.0212537 0.0223787 0.0231957 0.0236423 0.0237153 0.023476 0.0227742 0.0212377 0.0189073 0.0156184 0.0112771 0.0056488 -0.00105053 -0.00936977 -0.0195179 -0.0317733 -0.045743 -0.0597158 -0.0727962 -0.084554 -0.0936442 -0.0993829 -0.101907 -0.100727 -0.0962235 -0.0928467 -0.090014 -0.0857491 -0.0814475 -0.0730665 -0.0582102 -0.0389583 -0.0211778 -0.00637601 0.0052709 0.0143633 0.0204057 0.0242013 0.0269828 0.0298384 0.0311874 0.0317778 0.0308777 0.0295532 0.0290094 0.0285985 0.0275239 0.0263527 0.0256875 0.0249607 0.0237464 0.0223188 0.0209604 0.0198252 0.0189569 0.018336 0.0178711 0.0174423 0.0170135 0.0165578 0.01609 0.0156562 0.0153131 0.0151054 0.0150201 0.0149451 0.014856 0.0147243 0.0145348 0.0143005 0.0139731 0.0135553 0.0130739 0.0124203 0.0115316 0.0103758 0.00884387 0.00695835 0.00438568 0.00131953 -0.00207126 -0.00584615 -0.00984919 -0.0153298 -0.0212527 -0.0280601 -0.0362373 -0.0446916 -0.052362 -0.062146 -0.0695529 -0.0768127 -0.0839828 -0.0892435 -0.0913163 -0.0891482 -0.0846219 -0.0790735 -0.0709191 -0.0616699 -0.0498276 -0.0277886 0.00348334 0.0290319 0.051138 0.0765044 0.10205 0.129796 0.147989 0.166144 0.17702 0.189883 0.197178 0.202799 0.205821 0.204901 0.201578 0.198721 0.192951 0.18463 0.175894 0.166523 0.156467 0.146191 0.135747 0.124164 0.112156 0.100755 0.0896737 0.0779632 0.0649556 0.0496303 0.0325963 0.017187 0.001639 -0.0178112 -0.0440301 -0.071952 -0.0987954 -0.12629 -0.153989 -0.180699 -0.204692 -0.223572 -0.234204 -1.11248 -1.10302 -1.07482 -1.03587 -0.950186 -0.856351 -0.755337 -0.670635 -0.57549 -0.460133 -0.347818 -0.242648 -0.144632 -0.0624186 0.0214987 0.103724 0.160857 0.21912 0.258584 0.287237 0.305488 0.314105 0.309126 0.301523 0.288495 0.273094 0.254769 0.236853 0.216224 0.196022 0.17493 0.154751 0.137237 0.121113 0.106136 0.09335 0.0821232 0.0718482 0.0627588 0.0546923 0.0478669 0.0419693 0.0366689 0.0318255 0.0275916 0.0241271 0.0214718 0.01936 0.0174647 0.0156823 0.013925 0.0123314 0.0108932 0.00972414 0.00887203 0.00823564 0.00788481 0.00757512 0.0074182 0.00700855 0.00667502 0.00648214 0.00650349 0.00655142 0.00634704 0.00607268 0.00590511 0.00553421 0.00489852 0.0039293 0.00260259 0.00113226 -0.000783472 -0.00283452 -0.00530612 -0.00897939 -0.0133986 -0.0180189 -0.0240855 -0.0310055 -0.0398827 -0.0497753 -0.0612035 -0.0714602 -0.0788209 -0.083643 -0.0852725 -0.0827286 -0.0778546 -0.0745933 -0.0738938 -0.073977 -0.0692514 -0.060321 -0.0477103 -0.0364319 -0.0233023 -0.0111684 0.00214543 0.0122806 0.0209066 0.0257492 0.029254 0.0303931 0.0304637 0.0299391 0.028904 0.0282069 0.0275397 0.0265596 0.0255879 0.0249183 0.023952 0.0225922 0.0210765 0.019611 0.0183194 0.0172363 0.0163417 0.0155976 0.0149446 0.014369 0.0138452 0.0134183 0.0130538 0.0128352 0.0127558 0.0128157 0.0130272 0.0133541 0.0137417 0.0141585 0.0145731 0.0150071 0.0154348 0.0158847 0.0163061 0.0166136 0.0168408 0.0167933 0.0164304 0.0156533 0.0146891 0.0133883 0.0115033 0.00906285 0.00619399 0.00257517 -0.00182017 -0.00709892 -0.0125344 -0.018774 -0.0260345 -0.0341268 -0.0420641 -0.0497325 -0.0573259 -0.063587 -0.0682925 -0.071218 -0.0724867 -0.0721184 -0.0704688 -0.0698169 -0.0693457 -0.0681523 -0.0639701 -0.0582123 -0.0503543 -0.0407578 -0.0313353 -0.0191762 -0.00737471 0.00320512 0.0118248 0.0180683 0.0240456 0.0282099 0.0313808 0.0327072 0.0330819 0.0334454 0.032948 0.0315927 0.0301026 0.0285852 0.0266528 0.0244971 0.022357 0.0203247 0.0184618 0.0167855 0.015305 0.0140116 0.0128918 0.0119166 0.0110781 0.0103895 0.00982975 0.00946102 0.00928334 0.00928601 0.00947422 0.00983232 0.0103924 0.0111201 0.0119882 0.0129521 0.0140302 0.0151624 0.0162656 0.0172031 0.0180989 0.0189987 0.0196204 0.0198966 0.0198315 0.0194615 0.0186477 0.0171068 0.0148547 0.0117477 0.00773113 0.0026115 -0.0034487 -0.0108235 -0.0198707 -0.0305281 -0.0424372 -0.0542526 -0.0651858 -0.0748314 -0.0821736 -0.0866479 -0.0883836 -0.0871063 -0.0833742 -0.0804394 -0.0778699 -0.074211 -0.0702011 -0.0627371 -0.0499969 -0.0337016 -0.0185038 -0.00576526 0.00435419 0.0122099 0.0175148 0.0208788 0.0233759 0.0257679 0.0269683 0.0274587 0.0267376 0.0256705 0.0251679 0.0247635 0.0238628 0.0228824 0.0222762 0.021617 0.0205781 0.0193599 0.0181936 0.017213 0.0164592 0.0159145 0.0155026 0.0151267 0.0147555 0.0143623 0.0139645 0.0135995 0.0133028 0.0131205 0.0130375 0.0129612 0.0128707 0.0127386 0.0125528 0.0123211 0.0120012 0.0115972 0.0111269 0.0104965 0.00965752 0.0085792 0.0071833 0.00551213 0.00318448 0.00043042 -0.00262141 -0.00606065 -0.00956888 -0.0147219 -0.0201563 -0.0263507 -0.0337795 -0.0398839 -0.0463965 -0.0557906 -0.0622053 -0.0684149 -0.0743665 -0.0785 -0.0799202 -0.0778717 -0.0738315 -0.0686995 -0.0614349 -0.0533231 -0.0425401 -0.0231321 0.00334642 0.0255854 0.0451352 0.0670931 0.0896839 0.113169 0.129368 0.145098 0.15471 0.166496 0.171047 0.177295 0.179571 0.17881 0.176007 0.173272 0.168162 0.160981 0.153349 0.145114 0.136327 0.127331 0.118166 0.108086 0.0976748 0.0877121 0.0779956 0.0677476 0.0563778 0.0431034 0.0284399 0.0149656 0.00124155 -0.0157949 -0.0382969 -0.0623958 -0.0857974 -0.109663 -0.133637 -0.156691 -0.177319 -0.193451 -0.20247 -0.950219 -0.942919 -0.920041 -0.885518 -0.814226 -0.733875 -0.648387 -0.573809 -0.491563 -0.393615 -0.296816 -0.206812 -0.123395 -0.0525474 0.0185545 0.0875624 0.137181 0.1861 0.220009 0.244229 0.258953 0.268246 0.264236 0.257647 0.246727 0.233458 0.217924 0.20237 0.184798 0.167506 0.14953 0.132327 0.117312 0.103506 0.0907015 0.0797477 0.070117 0.0613367 0.0535673 0.0466809 0.0408341 0.0357768 0.0312432 0.0271199 0.0235238 0.0205733 0.0182904 0.01647 0.0148444 0.0133189 0.0118255 0.0104776 0.0092669 0.00827816 0.00755503 0.0069812 0.00667611 0.0063314 0.00623292 0.00574277 0.00547391 0.00525473 0.00516909 0.0051218 0.00473278 0.00436109 0.0040163 0.00365739 0.00290211 0.00184405 0.00056555 -0.000886984 -0.00279865 -0.00454152 -0.00689616 -0.0102913 -0.0139205 -0.0179348 -0.0231681 -0.0291425 -0.0365158 -0.0446745 -0.0539324 -0.0620692 -0.0677808 -0.0712735 -0.0721251 -0.0697892 -0.0657558 -0.0630552 -0.0623312 -0.0621085 -0.0581258 -0.0506101 -0.0402449 -0.0306733 -0.0197133 -0.00939953 0.00164029 0.0102682 0.0174588 0.0216792 0.0246151 0.0256502 0.025753 0.025321 0.0244983 0.0238959 0.0233142 0.022505 0.0216972 0.0210976 0.020271 0.0191296 0.0178551 0.0166224 0.0155295 0.014609 0.0138488 0.0132127 0.0126585 0.01217 0.0117251 0.0113675 0.011043 0.0108581 0.0107879 0.010831 0.0109969 0.0112524 0.0115573 0.0118822 0.0121999 0.0125273 0.0128373 0.0131528 0.0134232 0.0135964 0.0136791 0.0135041 0.0130584 0.0122517 0.0112605 0.00994978 0.00816282 0.0058995 0.00324903 3.31717e-07 -0.00387988 -0.0084657 -0.0130382 -0.0184671 -0.0246094 -0.0313615 -0.037889 -0.0441635 -0.0501783 -0.0550601 -0.0586025 -0.0606693 -0.0614115 -0.060893 -0.0595174 -0.0589008 -0.0584307 -0.0573169 -0.0538355 -0.0489587 -0.0423734 -0.0343848 -0.0263084 -0.0162153 -0.00630059 0.00258042 0.00986168 0.0152332 0.0202376 0.0238044 0.0264649 0.0276474 0.0280225 0.0282929 0.0278751 0.0267629 0.0255062 0.0241994 0.0225685 0.0207562 0.0189455 0.017227 0.0156485 0.0142268 0.0129708 0.0118736 0.0109235 0.0100959 0.00938413 0.00879712 0.00832269 0.00800899 0.00785515 0.00785064 0.00800183 0.00829235 0.00875068 0.00934337 0.0100482 0.0108284 0.0116935 0.0125936 0.0134621 0.0141957 0.014902 0.0155714 0.0159944 0.0161072 0.0159016 0.0153977 0.0144836 0.0129483 0.0107893 0.00788179 0.00421187 -0.00039448 -0.00578986 -0.0122347 -0.0200214 -0.0291194 -0.0390523 -0.0487943 -0.0576139 -0.0652042 -0.0707911 -0.0739941 -0.0749446 -0.0735353 -0.0703962 -0.0678647 -0.0655979 -0.0625191 -0.0589684 -0.0525708 -0.0419278 -0.028504 -0.0157725 -0.00504781 0.00352361 0.010159 0.0146936 0.0175945 0.0197673 0.0217412 0.0227784 0.0231818 0.0226166 0.0217721 0.0213229 0.0209497 0.020211 0.0194041 0.0188668 0.0182887 0.0174194 0.0164016 0.0154201 0.0145921 0.0139515 0.0134843 0.013129 0.0128079 0.0124942 0.0121633 0.0118349 0.0115353 0.0112845 0.0111271 0.0110478 0.0109717 0.0108803 0.0107478 0.0105636 0.0103347 0.0100218 0.00962952 0.00917061 0.00856251 0.00777368 0.00677431 0.00552496 0.00406222 0.00194282 -0.000557546 -0.00329326 -0.0064527 -0.009671 -0.0140501 -0.0189638 -0.0244513 -0.0302421 -0.0354354 -0.0409345 -0.0489473 -0.0550572 -0.0601009 -0.06485 -0.0679074 -0.0687009 -0.0667196 -0.063118 -0.0584457 -0.0520492 -0.0451836 -0.0356775 -0.0190919 0.00289781 0.0219223 0.0388517 0.0575924 0.0770389 0.0967199 0.110883 0.124071 0.132608 0.141514 0.146197 0.152049 0.153461 0.152784 0.1504 0.147874 0.143429 0.137328 0.130784 0.123696 0.11617 0.108456 0.100587 0.0919952 0.0831521 0.074639 0.0663131 0.0575477 0.0478396 0.0365914 0.0242302 0.0127256 0.000921052 -0.0136397 -0.0325651 -0.0529237 -0.0728518 -0.0931059 -0.113395 -0.13285 -0.150185 -0.163652 -0.171116 -0.788111 -0.783229 -0.765785 -0.736777 -0.678856 -0.611943 -0.541243 -0.477649 -0.408453 -0.327159 -0.246019 -0.171015 -0.101964 -0.0428996 0.0155476 0.0718838 0.113508 0.15355 0.181811 0.201558 0.21236 0.222246 0.219484 0.214016 0.205086 0.19399 0.181139 0.168038 0.153463 0.139071 0.124165 0.109903 0.0973984 0.0859063 0.075263 0.0661456 0.0581213 0.050829 0.0443759 0.038662 0.0337964 0.0295832 0.0258167 0.0224054 0.0194369 0.0169932 0.0150848 0.0135631 0.0122106 0.0109448 0.00971537 0.00861672 0.00762439 0.00682796 0.00623349 0.00575154 0.00546256 0.00514161 0.00497158 0.004522 0.00420575 0.00394146 0.00376086 0.00358892 0.00310614 0.00266292 0.00208302 0.00163843 0.000834669 -0.000281118 -0.0015395 -0.00294469 -0.00488282 -0.00623093 -0.00849657 -0.0115922 -0.0145307 -0.0177766 -0.021978 -0.0269899 -0.033027 -0.0395795 -0.0467238 -0.052795 -0.0568528 -0.0590353 -0.059151 -0.0569735 -0.0536801 -0.0514971 -0.0508324 -0.0504592 -0.047197 -0.0411295 -0.0328533 -0.0249983 -0.016116 -0.00766123 0.00123019 0.00831679 0.0141377 0.0176698 0.0200636 0.0209586 0.0210767 0.0207268 0.0200899 0.0195836 0.0190952 0.018445 0.0177911 0.0172777 0.0165936 0.0156638 0.0146255 0.0136211 0.0127264 0.0119703 0.0113448 0.0108206 0.0103641 0.0099619 0.00959512 0.00922064 0.00898098 0.00885434 0.00880193 0.0088326 0.00895599 0.00914522 0.00936944 0.00960409 0.00982595 0.0100455 0.0102376 0.0104137 0.0105352 0.0105668 0.0104997 0.0102032 0.00966388 0.00881604 0.00779195 0.0064797 0.00478339 0.0026926 0.000274435 -0.0026102 -0.00594971 -0.00983113 -0.0136168 -0.0181531 -0.0231541 -0.0285789 -0.0337145 -0.0385858 -0.0430691 -0.0466077 -0.0489983 -0.0502172 -0.0504255 -0.0497449 -0.0485836 -0.0480406 -0.0476183 -0.0466433 -0.0438333 -0.0398545 -0.034518 -0.0280661 -0.0213901 -0.0132522 -0.00519829 0.00202442 0.00797462 0.0124264 0.0165039 0.0194522 0.0216156 0.0226239 0.0229646 0.0231581 0.0228161 0.0219243 0.0208964 0.0198104 0.018477 0.0170003 0.0155181 0.0141124 0.0128186 0.0116536 0.0106244 0.00972476 0.00894514 0.00826123 0.00766068 0.0070989 0.00676778 0.00652385 0.00640022 0.00639279 0.0065095 0.00673661 0.00709605 0.0075584 0.00810415 0.00870628 0.0093626 0.0100325 0.0106671 0.0111961 0.0117021 0.0121358 0.0123516 0.012284 0.0119247 0.0112819 0.0102654 0.00872391 0.00665125 0.00394866 0.000634794 -0.00344984 -0.00815905 -0.0137046 -0.0201442 -0.0276808 -0.0356826 -0.0433604 -0.0500819 -0.055671 -0.0595172 -0.0614577 -0.0616243 -0.0600624 -0.0574213 -0.0553135 -0.0534256 -0.0509318 -0.0479274 -0.0426706 -0.0340826 -0.0233135 -0.0129811 -0.00424131 0.00277297 0.00819825 0.0119397 0.0143518 0.0161706 0.0177615 0.0186279 0.0189475 0.0185182 0.0178653 0.0174757 0.0171503 0.0165594 0.0159131 0.0154544 0.0149681 0.014262 0.0134368 0.0126374 0.0119602 0.0114332 0.0110464 0.0107509 0.0104861 0.0102298 0.0099612 0.00970253 0.00946374 0.00925942 0.00912855 0.00905382 0.00897729 0.00888422 0.00875036 0.00856784 0.00834103 0.00803303 0.00765031 0.00720239 0.00661709 0.00587334 0.00495168 0.00381602 0.00247061 0.000468589 -0.00182037 -0.00426353 -0.00706777 -0.0101339 -0.0134402 -0.0174978 -0.0220646 -0.0265335 -0.0312543 -0.035843 -0.0421412 -0.0477319 -0.0517745 -0.0554455 -0.0573865 -0.0575604 -0.0556121 -0.0523871 -0.0482162 -0.0427163 -0.0368852 -0.0288326 -0.0150955 0.00268844 0.0184246 0.0326015 0.0481695 0.0644356 0.0805402 0.0925237 0.103284 0.110391 0.115825 0.121606 0.126711 0.127526 0.126795 0.124814 0.122559 0.11878 0.11371 0.10824 0.1023 0.0960198 0.0895858 0.0830184 0.0758997 0.0686012 0.0615447 0.0546291 0.047362 0.0393328 0.0300905 0.0199786 0.010472 0.000663373 -0.0113759 -0.0268321 -0.0435178 -0.0599533 -0.0766105 -0.0932488 -0.109152 -0.123255 -0.134125 -0.140077 -0.626089 -0.623849 -0.612117 -0.589396 -0.544117 -0.490514 -0.433801 -0.381961 -0.325959 -0.260796 -0.195356 -0.135248 -0.0804023 -0.0334367 0.0124272 0.0564544 0.0897085 0.121346 0.143995 0.159747 0.166718 0.175393 0.174371 0.170078 0.163077 0.154217 0.144026 0.133484 0.121893 0.110413 0.0985806 0.0872572 0.0772879 0.0681345 0.0596665 0.0524014 0.0460041 0.0402093 0.0350838 0.0305503 0.0266822 0.0233334 0.0203464 0.0176537 0.0153172 0.0133873 0.0118689 0.0106641 0.00959508 0.00859264 0.00762084 0.00676082 0.00602478 0.00538394 0.00490067 0.00450043 0.00423751 0.00390376 0.00363929 0.00331616 0.00298703 0.00266471 0.00248113 0.00217351 0.00177628 0.00130588 0.000605091 -0.000188791 -0.00104063 -0.00216054 -0.0033989 -0.00480604 -0.00654359 -0.00790357 -0.0100388 -0.0126385 -0.0149232 -0.0175545 -0.0208775 -0.0248923 -0.0296193 -0.0345631 -0.0396326 -0.04366 -0.0460621 -0.0469571 -0.0463561 -0.0442859 -0.0416791 -0.0399683 -0.0393947 -0.0389898 -0.0364591 -0.0317924 -0.0254761 -0.0193669 -0.0125087 -0.00593405 0.000902494 0.00641746 0.010914 0.0137099 0.0155724 0.0162923 0.0164018 0.0161286 0.0156501 0.0152475 0.0148609 0.0143566 0.0138515 0.0134382 0.0129028 0.0121842 0.0113817 0.0106004 0.00990622 0.00931723 0.00882838 0.00842007 0.00806304 0.00774949 0.00746452 0.00711881 0.0069441 0.00686467 0.00682802 0.00684812 0.00693301 0.00706162 0.00721146 0.00736127 0.00749037 0.00760639 0.00768337 0.00772756 0.00770792 0.00760181 0.00739122 0.00697465 0.00634218 0.00544527 0.00438006 0.0030634 0.00143969 -0.000498512 -0.00269537 -0.00523075 -0.00809357 -0.0113093 -0.0143762 -0.0179865 -0.0218045 -0.0259 -0.0296246 -0.0330844 -0.0360563 -0.038249 -0.0394998 -0.0398656 -0.0395416 -0.0386844 -0.0376999 -0.0372521 -0.0369031 -0.0361047 -0.0339424 -0.030851 -0.0267269 -0.0217594 -0.0165347 -0.0102794 -0.00405605 0.00153479 0.00614128 0.00964226 0.0128139 0.0151202 0.016794 0.0175962 0.0178765 0.0180123 0.0177423 0.0170628 0.0162643 0.015411 0.0143742 0.0132272 0.0120774 0.0109838 0.00997602 0.00906993 0.00826974 0.00756958 0.0069624 0.00642818 0.00595529 0.00548372 0.00524801 0.00506398 0.00496703 0.00495664 0.00504013 0.00520596 0.00547033 0.0058083 0.00620284 0.00663236 0.00708896 0.00754133 0.00795104 0.0082724 0.00857978 0.00879563 0.00880871 0.00856001 0.00804538 0.00726306 0.00614539 0.00458255 0.00257728 5.67371e-05 -0.00293163 -0.00652671 -0.0105655 -0.0152591 -0.0204924 -0.0264623 -0.0324836 -0.0380975 -0.042704 -0.0462977 -0.0484088 -0.0490756 -0.0484513 -0.0467174 -0.0445176 -0.0428571 -0.041374 -0.0394482 -0.0370672 -0.032963 -0.026349 -0.0181049 -0.0101292 -0.00335808 0.00209567 0.0063161 0.00924072 0.011145 0.0125859 0.0138102 0.014493 0.0147323 0.0144148 0.0139248 0.0136096 0.0133446 0.0128866 0.0123917 0.0120266 0.0116405 0.0110919 0.0104539 0.00983763 0.00931142 0.00890174 0.00860004 0.00836762 0.00816073 0.00796207 0.00775473 0.00756377 0.00737586 0.00722464 0.0071214 0.00705567 0.00698335 0.00689189 0.0067615 0.00658593 0.0063665 0.00607382 0.00571227 0.00528744 0.00474326 0.00405822 0.00321894 0.00215063 0.000857632 -0.000905409 -0.00288124 -0.00497166 -0.00737305 -0.0100456 -0.0126767 -0.0157397 -0.0193845 -0.0230328 -0.0268607 -0.0306389 -0.0350142 -0.0393774 -0.0428202 -0.0456501 -0.0468364 -0.0465554 -0.0446406 -0.0417626 -0.0381179 -0.0334444 -0.0289981 -0.022443 -0.0115429 0.00230754 0.0147877 0.0261175 0.0385507 0.0516412 0.0642729 0.0739193 0.0823911 0.0879605 0.0922904 0.0958681 0.0996047 0.101291 0.100535 0.0989877 0.0970662 0.0939808 0.0899328 0.0855513 0.0807934 0.0757815 0.0706476 0.065411 0.0597723 0.0540079 0.0484161 0.0429295 0.0371777 0.0308448 0.023596 0.0156952 0.0082112 0.000458324 -0.00902696 -0.0210954 -0.034163 -0.0470956 -0.0601681 -0.0731824 -0.0855735 -0.0964941 -0.104819 -0.109282 -0.464903 -0.465632 -0.459311 -0.443283 -0.409974 -0.369454 -0.326249 -0.286729 -0.243982 -0.194537 -0.144762 -0.0994858 -0.0587147 -0.0240141 0.00943125 0.0415249 0.0662313 0.0894336 0.106267 0.118552 0.121553 0.128401 0.128462 0.125386 0.120309 0.113799 0.106335 0.098508 0.0899582 0.0814598 0.0727612 0.0644225 0.0570447 0.050285 0.0440304 0.0386456 0.0339026 0.0296193 0.0258319 0.0224844 0.0196225 0.0171458 0.0149345 0.0129479 0.0112269 0.0098022 0.00867077 0.00776393 0.00695747 0.00620565 0.00548993 0.00488329 0.00427117 0.00383188 0.0034939 0.0032134 0.0030335 0.00272611 0.00247318 0.00219738 0.00192726 0.00160192 0.00137221 0.000957441 0.000566941 1.24711e-05 -0.000749913 -0.00180452 -0.00275532 -0.00390329 -0.00515265 -0.00657907 -0.00809107 -0.0098725 -0.0117767 -0.0135706 -0.0153513 -0.0177612 -0.0202384 -0.0232227 -0.0266082 -0.0298117 -0.0328142 -0.0347591 -0.0354637 -0.0350551 -0.0337211 -0.0316929 -0.0297311 -0.0284809 -0.0280333 -0.0276798 -0.0258728 -0.0225714 -0.0181273 -0.0137716 -0.00891635 -0.00422424 0.000619331 0.00454734 0.00774542 0.0097665 0.011101 0.0116247 0.0117033 0.0115144 0.0111763 0.0108869 0.0106127 0.0102494 0.00989124 0.00959019 0.00920847 0.00869991 0.00813125 0.00757116 0.00707787 0.00665707 0.00630679 0.00601564 0.00576014 0.00553659 0.00533687 0.0050789 0.00495359 0.00490463 0.00487786 0.00488471 0.00493091 0.00500032 0.00507684 0.00514354 0.00518441 0.00520089 0.00516944 0.00508732 0.00493539 0.0047023 0.00436461 0.00383918 0.00312732 0.00219341 0.00110516 -0.000204782 -0.00175274 -0.00354168 -0.00552844 -0.00773582 -0.0101388 -0.01277 -0.0151265 -0.0178688 -0.0205648 -0.0233875 -0.0257272 -0.02776 -0.029228 -0.0300497 -0.0301378 -0.0296209 -0.0287538 -0.0276999 -0.0268657 -0.026528 -0.0262656 -0.0256735 -0.0241359 -0.0219311 -0.0189991 -0.0154854 -0.0117405 -0.00731899 -0.00290194 0.00107236 0.00434269 0.00686811 0.00913383 0.010784 0.0119758 0.0125552 0.0127623 0.0128609 0.0126631 0.0121897 0.011623 0.0110104 0.010269 0.00944932 0.00863186 0.00784993 0.00712839 0.00648142 0.00591049 0.00541047 0.00497639 0.00459436 0.00425672 0.00391199 0.00375097 0.00362041 0.00354795 0.00353466 0.00358568 0.00369146 0.00386214 0.00407763 0.00432344 0.00458134 0.00484202 0.00508218 0.0052744 0.00539293 0.00550897 0.00552648 0.00535497 0.00494571 0.00429422 0.00339559 0.00219853 0.000630309 -0.00130099 -0.00363874 -0.00632478 -0.00945602 -0.0128846 -0.0168056 -0.0209174 -0.0254269 -0.02949 -0.0330824 -0.0355852 -0.0371662 -0.0375148 -0.0368713 -0.0354357 -0.0335016 -0.0317016 -0.0305 -0.0294304 -0.028058 -0.02633 -0.023392 -0.0187079 -0.0129009 -0.0072421 -0.00242712 0.00146703 0.00447348 0.00656944 0.00794772 0.00899537 0.00985773 0.0103426 0.0105118 0.0102889 0.00994493 0.00972143 0.00952726 0.00919617 0.00884827 0.00858787 0.00830879 0.00791621 0.00746276 0.00702856 0.00665383 0.00636165 0.0061472 0.00597988 0.005832 0.00569125 0.00554506 0.00542014 0.00530914 0.00520762 0.00513319 0.00507968 0.00501468 0.00492843 0.00480559 0.00464054 0.00443245 0.00416387 0.00383425 0.00344518 0.00295357 0.00234551 0.00159461 0.000591515 -0.00063507 -0.00200193 -0.00356605 -0.00527195 -0.00724347 -0.00928442 -0.0115637 -0.0138017 -0.0165816 -0.0193986 -0.0223054 -0.0252056 -0.0280122 -0.0309432 -0.0334398 -0.035316 -0.0361111 -0.0354837 -0.0335973 -0.0310408 -0.0279267 -0.0241922 -0.020659 -0.0158219 -0.00778625 0.00230414 0.0115801 0.0200278 0.0291122 0.0387143 0.0478397 0.0549842 0.0611722 0.0657864 0.0694448 0.0704574 0.0722521 0.074574 0.0740111 0.0728684 0.0713584 0.0690237 0.0660202 0.0627617 0.0592362 0.0555267 0.0517202 0.0478412 0.0436816 0.0394339 0.0353108 0.0312661 0.0270373 0.0223965 0.0171173 0.0113894 0.00594173 0.000281193 -0.00662624 -0.0153631 -0.0248501 -0.0342713 -0.0437664 -0.0531787 -0.0620893 -0.0698676 -0.0756906 -0.0786703 -0.303302 -0.307662 -0.306844 -0.298218 -0.277151 -0.250344 -0.221383 -0.193886 -0.164006 -0.129466 -0.0947362 -0.0638773 -0.0370275 -0.0149175 0.00579743 0.0258664 0.041629 0.0558888 0.0664776 0.074656 0.0757151 0.0801528 0.080316 0.0784163 0.0752504 0.071156 0.0664798 0.061519 0.0561339 0.0507742 0.0453257 0.0401001 0.0354618 0.0312212 0.0272979 0.023915 0.0209396 0.0182636 0.0159026 0.0138201 0.0120399 0.010502 0.00912907 0.00790016 0.00684375 0.00598435 0.0053141 0.00476455 0.00428283 0.00382632 0.00338489 0.00302444 0.00279022 0.00252708 0.00231831 0.00213032 0.00197961 0.00170301 0.00145146 0.00102293 0.0006406 0.000173503 -0.000293758 -0.000907408 -0.00155951 -0.00233085 -0.00327079 -0.00440094 -0.00548137 -0.00669189 -0.00795526 -0.0093163 -0.0107155 -0.0124518 -0.0139471 -0.0151766 -0.0164934 -0.0182759 -0.0197836 -0.0216113 -0.0235688 -0.0250288 -0.026018 -0.025942 -0.0249603 -0.0232646 -0.0211988 -0.0191761 -0.0178079 -0.0170325 -0.0167447 -0.0165029 -0.0154185 -0.0134572 -0.0108274 -0.00822955 -0.00533878 -0.00253534 0.000349799 0.0027089 0.00462196 0.00583491 0.00663454 0.00695666 0.00700478 0.00690065 0.00669848 0.00652515 0.00636552 0.00614664 0.00593332 0.00575068 0.00552251 0.00521943 0.00487978 0.00454298 0.00424796 0.00399538 0.0037852 0.00361039 0.00345773 0.0033263 0.00321271 0.00312518 0.00304786 0.00299835 0.00296778 0.0029523 0.00295268 0.00295609 0.00295238 0.00292898 0.00287318 0.00278151 0.00263075 0.00241209 0.00211807 0.00174716 0.00127707 0.000636114 -0.000155871 -0.00112738 -0.00222576 -0.00351643 -0.00497347 -0.00659709 -0.00834809 -0.010201 -0.0121141 -0.0140853 -0.0157069 -0.0175098 -0.0191322 -0.0207297 -0.0217458 -0.0223677 -0.0223908 -0.0218722 -0.0208251 -0.0194307 -0.0180256 -0.0167652 -0.0160731 -0.015862 -0.0156999 -0.0153364 -0.0144154 -0.0130943 -0.0113437 -0.00925412 -0.00701197 -0.00437958 -0.00174909 0.000618053 0.00259109 0.00411098 0.00545554 0.00644705 0.00717015 0.0075231 0.0076501 0.00771533 0.00759475 0.0073167 0.00697862 0.00660964 0.00616328 0.00567146 0.00518191 0.00471256 0.004279 0.00389089 0.0035482 0.0032482 0.00298817 0.00276212 0.00257211 0.00242127 0.00229047 0.00220253 0.00215028 0.00213169 0.00214861 0.0021929 0.00226748 0.00235561 0.00244644 0.00252538 0.00258162 0.00259689 0.00255765 0.00246382 0.00237864 0.0021925 0.00183077 0.00125208 0.000461838 -0.000549836 -0.001817 -0.00338337 -0.00521767 -0.00735033 -0.00969009 -0.0123228 -0.0150882 -0.0181254 -0.0210422 -0.0240196 -0.026335 -0.0279308 -0.0284024 -0.0280425 -0.0266847 -0.0247494 -0.0225179 -0.0203704 -0.0189518 -0.0182219 -0.017576 -0.0167525 -0.0157034 -0.0139457 -0.0111578 -0.00771599 -0.00434546 -0.00147173 0.00086257 0.00266045 0.00392257 0.00475324 0.00538931 0.0058973 0.00618681 0.00629566 0.00616302 0.00595913 0.00582986 0.0057128 0.00551182 0.0053066 0.00515137 0.00498304 0.0047473 0.00447636 0.00421835 0.00399422 0.0038189 0.00369068 0.00359026 0.00350196 0.00341864 0.0033381 0.00328602 0.00328624 0.00320689 0.00314857 0.00309374 0.00301918 0.00291685 0.00277374 0.00258475 0.00234536 0.00204219 0.00167721 0.001248 0.000719748 9.12347e-05 -0.000669109 -0.00162795 -0.00276332 -0.00395192 -0.00529596 -0.00677226 -0.00842538 -0.0100937 -0.011977 -0.0137755 -0.015849 -0.0179283 -0.0199202 -0.0218616 -0.0235913 -0.0251186 -0.0261543 -0.0265878 -0.0263455 -0.0250477 -0.0230138 -0.0206366 -0.0179287 -0.0150056 -0.0132921 -0.0100666 -0.00485918 0.00155214 0.00756427 0.0130958 0.0186761 0.0244645 0.0300824 0.0345704 0.0384279 0.0417825 0.0438853 0.0442206 0.0448461 0.0463872 0.0460413 0.0452829 0.0442756 0.0427752 0.0408889 0.0388476 0.0366491 0.0343399 0.0319702 0.0295607 0.026985 0.0243551 0.0218093 0.0193144 0.0167064 0.0138329 0.0105714 0.00704221 0.00368018 0.000179743 -0.00412293 -0.0095748 -0.0155314 -0.0214661 -0.0274181 -0.0332662 -0.0387295 -0.0433907 -0.0467226 -0.048193 -0.118499 -0.124646 -0.128344 -0.127971 -0.12159 -0.111995 -0.101068 -0.0890645 -0.0754987 -0.0592333 -0.0424444 -0.0276858 -0.015232 -0.0052325 0.00430606 0.0135938 0.0212206 0.027753 0.0328673 0.0367297 0.0378725 0.0397365 0.0398139 0.0389236 0.0374046 0.035389 0.0330752 0.0305841 0.0279338 0.0252918 0.0226522 0.0201195 0.0178305 0.0157191 0.013764 0.0120586 0.0105414 0.00917838 0.00797226 0.00690541 0.0059813 0.00517742 0.00446644 0.00383897 0.00330156 0.00285716 0.00249437 0.00217633 0.00188929 0.00160586 0.00133275 0.0011593 0.00102241 0.000809268 0.000604538 0.00038652 0.000144733 -0.000170039 -0.000524113 -0.00101671 -0.00154139 -0.00216002 -0.00282873 -0.00361048 -0.00447722 -0.00542016 -0.00649456 -0.00764235 -0.00879688 -0.0100215 -0.011234 -0.0124753 -0.0137056 -0.0150624 -0.016088 -0.0169203 -0.017679 -0.0185286 -0.0190272 -0.0195073 -0.0197744 -0.0193183 -0.0182951 -0.0161713 -0.0135683 -0.0107904 -0.00829938 -0.00659995 -0.00590622 -0.0056405 -0.00554126 -0.00545855 -0.00509881 -0.00445035 -0.00358868 -0.00273323 -0.00177676 -0.000855983 0.000101137 0.000896504 0.00153663 0.00193971 0.00220662 0.00231717 0.00233408 0.00230157 0.00223621 0.0021784 0.00212496 0.0020512 0.00198062 0.00191862 0.00184229 0.00174094 0.00162766 0.00151585 0.00141712 0.00133281 0.00126292 0.00120439 0.00115417 0.0011131 0.00108609 0.00107942 0.00104519 0.00101585 0.000983603 0.000942533 0.000890776 0.000819715 0.000726018 0.00060066 0.000432002 0.00021355 -8.17789e-05 -0.000456496 -0.000923592 -0.00146417 -0.00209875 -0.00289569 -0.00380297 -0.00486456 -0.0060094 -0.00732373 -0.00870625 -0.0101705 -0.0116604 -0.0131138 -0.0144433 -0.015641 -0.0163922 -0.0170968 -0.017474 -0.01767 -0.0171688 -0.0163034 -0.0147982 -0.0129254 -0.0108201 -0.00870527 -0.0069835 -0.00576319 -0.00532907 -0.00525722 -0.00520389 -0.00508086 -0.00477907 -0.00434095 -0.00376116 -0.00306898 -0.00232697 -0.0014552 -0.000591252 0.000190819 0.000855432 0.00136672 0.00181166 0.00214531 0.00239032 0.00251187 0.00255699 0.00257845 0.00253647 0.00244307 0.00232941 0.00220569 0.00205628 0.00189285 0.00172878 0.00157235 0.00142789 0.00129837 0.00118379 0.00108381 0.000998019 0.000925383 0.000871246 0.000829109 0.000776305 0.000736801 0.000704029 0.000676282 0.000652731 0.000626324 0.000593861 0.00054251 0.00046257 0.000342964 0.000170913 -6.4163e-05 -0.000359941 -0.000692236 -0.00100146 -0.00143111 -0.00203175 -0.00283504 -0.0038278 -0.00501354 -0.00641214 -0.0080313 -0.00979604 -0.0117378 -0.0136914 -0.0157592 -0.0177036 -0.0196994 -0.0212083 -0.0223777 -0.022614 -0.0220152 -0.0202644 -0.0178907 -0.0148616 -0.0118249 -0.0091143 -0.00711752 -0.00627631 -0.00603061 -0.00581662 -0.00554572 -0.00519787 -0.00461516 -0.0036953 -0.00256125 -0.00144946 -0.000502771 0.000273501 0.000880803 0.00130421 0.00158211 0.00179518 0.00196337 0.00206099 0.00209903 0.00205541 0.00198932 0.00194579 0.00190584 0.00183873 0.0017711 0.00171825 0.00166193 0.00158378 0.00149413 0.00140821 0.00133406 0.00127639 0.00123377 0.00120118 0.00117238 0.00114597 0.00112678 0.00114111 0.00113073 0.00108452 0.00103135 0.000960021 0.000856189 0.000714259 0.000523944 0.000280939 -2.33011e-05 -0.000398374 -0.00084081 -0.0013571 -0.00196943 -0.00266769 -0.0034849 -0.00440999 -0.00541973 -0.00651659 -0.00769968 -0.00896234 -0.010317 -0.0116376 -0.0130668 -0.0144492 -0.0157899 -0.0170727 -0.0180891 -0.0189676 -0.01951 -0.0196466 -0.0192997 -0.0183724 -0.0169323 -0.0149193 -0.0126108 -0.0102731 -0.00786933 -0.00571138 -0.00455863 -0.00246617 0.000318215 0.00344677 0.00642925 0.00922553 0.0119185 0.014574 0.0170828 0.0191214 0.0208099 0.0221945 0.0229519 0.0230589 0.0232025 0.0235061 0.0231279 0.0225547 0.0218459 0.0209283 0.0198763 0.0187532 0.0175518 0.0163088 0.0150366 0.0137515 0.0124192 0.0110864 0.00980577 0.00856203 0.00728785 0.00592437 0.00443877 0.00288763 0.00142514 -7.91676e-05 -0.00190339 -0.00415359 -0.00656256 -0.00888689 -0.011107 -0.0131635 -0.0149425 -0.0162825 -0.0169961 -0.0169268 ) ; boundaryField { inlet { type zeroGradient; } bottom { type zeroGradient; } outlet { type zeroGradient; } atmosphere { type totalPressure; rho none; psi none; gamma 1; p0 uniform 0; value nonuniform List<scalar> 357 ( -0.0105688 -0.0119026 -0.0130192 -0.0136192 -0.0132461 -0.0123144 -0.0111176 -0.00975057 -0.0080464 -0.00584427 -0.00357685 -0.0017882 -0.000594935 -3.38452e-05 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.61167e-06 -2.86498e-05 -9.5214e-05 -0.00020522 -0.000376683 -0.000611748 -0.000935626 -0.00133955 -0.00184208 -0.00245823 -0.0031698 -0.00399242 -0.00493648 -0.0059588 -0.00710162 -0.0082861 -0.00951242 -0.0107903 -0.0120363 -0.0132781 -0.0144647 -0.0156146 -0.0164629 -0.0171571 -0.0176517 -0.018028 -0.0180056 -0.017646 -0.0168129 -0.0151148 -0.0128674 -0.00975608 -0.00665866 -0.00374705 -0.0014729 -0.000223281 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.79597e-06 -2.07776e-05 -6.14402e-05 -0.00012539 -0.000215733 -0.000338811 -0.000494145 -0.000690933 -0.000939088 -0.00124867 -0.00164888 -0.00214303 -0.00273797 -0.00340409 -0.00416902 -0.00509555 -0.00610764 -0.0072569 -0.00846429 -0.009821 -0.0111776 -0.0125572 -0.0138815 -0.0150597 -0.0159783 -0.016637 -0.0167949 -0.0167686 -0.0162558 -0.0155111 -0.0140097 -0.0122462 -0.00991202 -0.00745901 -0.00502254 -0.00281587 -0.00120112 -0.000232409 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -5.93105e-06 -2.30755e-05 -4.93405e-05 -8.66084e-05 -0.000137241 -0.000209183 -0.000308637 -0.000448158 -0.000635905 -0.000882984 -0.00120285 -0.00160209 -0.00206641 -0.00255333 -0.0030092 -0.00361652 -0.00440432 -0.00539265 -0.00655713 -0.00789964 -0.00942923 -0.0111231 -0.0128774 -0.0147166 -0.0164181 -0.0181036 -0.0194544 -0.020717 -0.0212579 -0.0211794 -0.0198826 -0.0178104 -0.0147304 -0.0113576 -0.0077309 -0.00452312 -0.00198196 -0.000422954 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.12279e-06 -2.68554e-05 -7.81578e-05 -0.000159209 -0.000276513 -0.000432149 -0.000633153 -0.000882621 -0.00118864 -0.00155426 -0.00197873 -0.00246729 -0.00303053 -0.00365196 -0.00436166 -0.00512665 -0.00592034 -0.00678265 -0.0076464 -0.00853179 -0.00942526 -0.0102135 -0.0110585 -0.0117927 -0.0123378 -0.0127888 -0.0129295 -0.0129028 -0.0125582 -0.0117986 -0.0107058 -0.00923844 -0.0075074 -0.00559379 -0.00370436 -0.0021213 -0.000889745 -0.000169073 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.73939e-07 -1.46276e-05 -5.42365e-05 -0.000116036 -0.000187689 -0.000261787 -0.000331729 -0.000389716 -0.0004266 -0.000433667 -0.000406372 ) ; } frontBack { type empty; } } // ************************************************************************* //
[ "abenaz15@etudiant.mines-nantes.fr" ]
abenaz15@etudiant.mines-nantes.fr
9fa460409a75c87fa87c8036b91fbcde35e3f3ad
b88c209d772784f220a866c8fba308936f7c6c6c
/src/predictor.cpp
3e80f4f1a3835d9d4706e4ce554d56a72a6e9d01
[]
no_license
rudi77/CarND-Path-Planning-Project
10c1b3fb2c8b0c6a27d24b1c3310c77327417050
5a7e98a243a4a51f92479efdc33758c5696927d1
refs/heads/master
2021-08-26T06:38:04.440550
2017-11-21T21:09:16
2017-11-21T21:09:16
105,687,624
0
0
null
2017-10-03T18:26:33
2017-10-03T18:26:33
null
UTF-8
C++
false
false
610
cpp
#include <map> #include "map.h" #include "predictor.h" #include "trajectory_generator.h" using namespace std; map<int, vector<CarState>> Predictor::predict_trajectories(const vector<CarState>& other_cars, const Map& map) { TrajectoryGenerator trajectory_generator(map); std::map<int, vector<CarState>> trajectories; for (auto car : other_cars) { auto trajectory = trajectory_generator.compute_trajectory(car, car.speed, car.current_lane); assert(trajectory.size() == 50); trajectory.insert(trajectory.begin(), car); trajectories[car.id] = trajectory; } return trajectories; }
[ "rudi.dittrich77@gmail.com" ]
rudi.dittrich77@gmail.com
93891c7a1f63970b591a3add279c0464e9e243fa
2c0222ce64b5d6573bf8f98b2c038e21d0db8aac
/Anton and Polyhedrons.cpp
3911014c522dc7bb49b0e00badd8fe2430f12895
[]
no_license
christsonhartono/codeforces-solution
1b58607e92ef23ab55ed4505f813332fb3cb4ac5
090eff32534652a38d4baebd5cc0274326fe0ae4
refs/heads/master
2022-12-02T00:38:00.983956
2020-07-29T05:14:15
2020-07-29T05:14:15
263,204,630
0
0
null
null
null
null
UTF-8
C++
false
false
433
cpp
#include<bits/stdc++.h> using namespace std; int main(){ int n, total=0; string s; cin>>n; for(int i=0; i<n; i++){ cin>>s; if(s.compare("Tetrahedron")==0){ total+=4; }else if(s.compare("Cube")==0){ total+=6; }else if(s.compare("Octahedron")==0){ total+=8; }else if(s.compare("Dodecahedron")==0){ total+=12; }else if(s.compare("Icosahedron")==0){ total+=20; } } cout<<total<<endl; return 0; }
[ "jhanacakro1@gmail.com" ]
jhanacakro1@gmail.com
655f026121f7cd36d50169df01f79251522768b3
e43403b42278a73049459e8944f1c5b49fe554c9
/longestsubstring_i.cpp
5e7cf9d582238001766bcfbc29b881f1d33a6639
[]
no_license
kashita145/dpcodes
fe91f82ed1bf292dd7d86b52d2467701fab89201
c053895608dd4baa4891e14b35d479f652e1fe9d
refs/heads/main
2023-03-02T14:37:09.290344
2021-02-12T08:08:37
2021-02-12T08:08:37
324,301,264
1
0
null
null
null
null
UTF-8
C++
false
false
1,078
cpp
// // Created by kashi on 14-10-2020. //LCS-iterative #include<bits/stdc++.h> using namespace std; #define mp make_pair #define pb push_back #define ll long long #define ff first #define ss second #define Endl endl #define int long long #define fio ios::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL); int gcd(int a,int b){ return b?gcd(b,a%b):a; } bool cmp(pair<int,int>p1,pair<int,int>p2){ if(p1.ff == p2.ff) return p1.ss < p2.ss; return abs(p1.ff-p1.ss) < abs(p2.ff-p2.ss); } const int maxn=1e3+1; int dp[maxn][maxn]; int lcs(string a, string b, int n, int m){ for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ if(i==0 || j==0) dp[i][j]=0; } } for(int i=1;i<=n;i++){ for(int j=1;j<=m;j++){ if(a[i-1]==b[j-1]) dp[i][j]=1+dp[i-1][j-1]; else dp[i][j]=0; } } return dp[n][m]; } int32_t main(){ string a,b; cin>>a>>b; memset(dp,-1,sizeof(dp)); int n=a.size(),m=b.size(); int ans=lcs(a,b,n,m); cout<<dp[n][m]<<endl; }
[ "noreply@github.com" ]
kashita145.noreply@github.com
1a99a7fe380bb193a43ac6856b43cd9e9df7d229
10ecd7454a082e341eb60817341efa91d0c7fd0b
/SDK/BP_PromptActor_EmissaryEncounteredSkellyFort_RB_classes.h
05e59c458f24332563c510d22b7b3313cc210222
[]
no_license
Blackstate/Sot-SDK
1dba56354524572894f09ed27d653ae5f367d95b
cd73724ce9b46e3eb5b075c468427aa5040daf45
refs/heads/main
2023-04-10T07:26:10.255489
2021-04-23T01:39:08
2021-04-23T01:39:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,146
h
#pragma once // Name: SoT, Version: 2.1.0.1 /*!!DEFINE!!*/ /*!!HELPER_DEF!!*/ /*!!HELPER_INC!!*/ #ifdef _MSC_VER #pragma pack(push, 0x01) #endif namespace CG { //--------------------------------------------------------------------------- // Classes //--------------------------------------------------------------------------- // BlueprintGeneratedClass BP_PromptActor_EmissaryEncounteredSkellyFort_RB.BP_PromptActor_EmissaryEncounteredSkellyFort_RB_C // 0x0030 (FullSize[0x0490] - InheritedSize[0x0460]) class ABP_PromptActor_EmissaryEncounteredSkellyFort_RB_C : public ABP_PromptActorBase_C { public: struct FPointerToUberGraphFrame UberGraphFrame; // 0x0460(0x0008) (ZeroConstructor, Transient, DuplicateTransient) class UBP_Prompt_EmissaryEncounteredSkellyFort_C* PromptCoordinator; // 0x0468(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData, NoDestructor) class UClass* PromptCounterAccessKey; // 0x0470(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData, NoDestructor) class UClass* Company; // 0x0478(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData, NoDestructor) TArray<struct FPrioritisedPromptWithHandle> Prompts; // 0x0480(0x0010) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance) static UClass* StaticClass() { static auto ptr = UObject::FindClass("BlueprintGeneratedClass BP_PromptActor_EmissaryEncounteredSkellyFort_RB.BP_PromptActor_EmissaryEncounteredSkellyFort_RB_C"); return ptr; } void UserConstructionScript(); void ReceiveBeginPlay(); void ReceiveEndPlay(TEnumAsByte<Engine_EEndPlayReason> EndPlayReason); void ExecuteUbergraph_BP_PromptActor_EmissaryEncounteredSkellyFort_RB(int EntryPoint); }; } #ifdef _MSC_VER #pragma pack(pop) #endif
[ "ploszjanos9844@gmail.com" ]
ploszjanos9844@gmail.com