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
905 values
visit_date
timestamp[us]date
2015-08-09 11:21:18
2023-09-06 10:45:07
revision_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-17 19:19:19
committer_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-06 06:22:19
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-07 00:51:45
2023-09-14 21:58:39
gha_created_at
timestamp[us]date
2008-03-27 23:40:48
2023-08-21 23:17:38
gha_language
stringclasses
141 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
115 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
1ebd9d4c4ecf8c34c2f2b2b495b63e1ee48af8ad
4aae2df13bfd53a8b16aa5f941f2cc8b8ac144b7
/aten/src/ATen/native/mkldnn/MKLDNNCommon.cpp
02ab6961d04c49f960fbca52c9cfd777a5cf69d4
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
computerguy2030/pytorch-rocm-amd
e9f2718c470b505325d396baf6513e71bcf0a7ca
38da53d721fcb335dedb1b52f14fd89718e90bef
refs/heads/master
2023-04-08T00:55:01.542663
2021-04-16T11:33:39
2021-04-16T11:33:39
334,288,140
3
0
NOASSERTION
2021-04-16T11:27:55
2021-01-29T23:40:06
C++
UTF-8
C++
false
false
4,053
cpp
#include <ATen/native/mkldnn/MKLDNNCommon.h> #include <ATen/OpaqueTensorImpl.h> #include <c10/core/Allocator.h> #if AT_MKLDNN_ENABLED() #include <ideep.hpp> namespace at { namespace native { /** * `IntrusivePtrTargetWrapper` wraps a custom storage handle of a tensor * (as template param) and inherits `c10::intrusive_ptr_target` so that it * can be used with `c10::intrusive_ptr`. * * It currently only supports wrapping the custom handle by: * - Constructing with an existing custom handle by copy/move constructor. * * See `OpaqueTensorImpl::opaque_handle_`. * * NOTE: if this is generally useful we may want to move this to its own header. */ template <typename T> struct TORCH_API IntrusivePtrTargetWrapper : c10::intrusive_ptr_target { private: T target_; public: IntrusivePtrTargetWrapper() = delete; IntrusivePtrTargetWrapper(const T& target): target_(target) {} IntrusivePtrTargetWrapper(T&& target): target_(std::move(target)) {} T& get_target() { return target_; } }; using IDeepTensorWrapper = IntrusivePtrTargetWrapper<ideep::tensor>; using IDeepTensorWrapperPtr = c10::intrusive_ptr<IDeepTensorWrapper>; using MKLDNNTensorImpl = OpaqueTensorImpl<IDeepTensorWrapperPtr>; using MKLDNNTensor = Tensor; ideep::tensor::data_type get_mkldnn_dtype(ScalarType type) { switch (type) { case ScalarType::Float: return ideep::tensor::data_type::f32; case ScalarType::QInt32: return ideep::tensor::data_type::s32; case ScalarType::QInt8: return ideep::tensor::data_type::s8; case ScalarType::QUInt8: case ScalarType::Byte: return ideep::tensor::data_type::u8; case ScalarType::BFloat16: return ideep::tensor::data_type::bf16; default: TORCH_CHECK(false, "get_mkldnn_dtype: unsupported data type"); } } Tensor new_with_itensor_mkldnn(ideep::tensor&& it, c10::optional<ScalarType> dtype, c10::optional<Device> device) { // NOTE: int32_t dims from ideep::tensor but sizes needs int64_t // TODO: support int64_t dims in ideep::tensor to avoid extra conversion auto dims = it.get_dims(); IDeepTensorWrapperPtr handle = c10::make_intrusive<IDeepTensorWrapper>(std::move(it)); caffe2::TypeMeta dtype_ = scalarTypeToTypeMeta(dtype_or_default(dtype)); Device device_ = device_or_default(device); return detail::make_tensor<MKLDNNTensorImpl>( DispatchKeySet(DispatchKey::MkldnnCPU), dtype_, device_, handle, std::vector<int64_t>(dims.begin(), dims.end())); } ideep::tensor& itensor_from_mkldnn(const MKLDNNTensor& mkldnn_tensor) { TORCH_CHECK(mkldnn_tensor.is_mkldnn(), "itensor_from_mkldnn expects MKL-DNN tensor input"); TORCH_INTERNAL_ASSERT(at::impl::variable_excluded_from_dispatch()); MKLDNNTensorImpl *mklimpl = static_cast<MKLDNNTensorImpl *>(mkldnn_tensor.unsafeGetTensorImpl()); return mklimpl->unsafe_opaque_handle()->get_target(); } ideep::tensor itensor_view_from_dense(const Tensor& tensor) { TORCH_CHECK( tensor.device().is_cpu(), "itensor_view_from_dense expects CPU tensor input"); TORCH_CHECK( tensor.layout() == Layout::Strided, "itensor_view_from_dense expects dense tensor input"); TORCH_CHECK(tensor.scalar_type() == ScalarType::Float, "itensor_view_from_dense expects float tensor input"); TORCH_INTERNAL_ASSERT(at::impl::variable_excluded_from_dispatch()); return {{{tensor.sizes().cbegin(), tensor.sizes().cend()}, ideep::tensor::data_type::f32}, tensor.template data_ptr<float>()}; } // Helper function for getting an ideep tensor out of an aten Tensor. // Note in case the aten Tensor is a dense tensor, the returned ideep // tensor is just a view of the storage of the aten dense tensor, so // caller needs to make sure the aten dense tensor's lifetime is // longer than the ideep tensor. ideep::tensor itensor_from_tensor(const Tensor& tensor) { if (tensor.is_mkldnn()) { return itensor_from_mkldnn(tensor); } else { return itensor_view_from_dense(tensor); } } }} #endif // AT_MKLDNN_ENABLED()
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
af8d468fca41c2616786ca5cd99cb224d0915107
eec9d5b635e23a789444966a26354d5b59fcc13f
/Millionare/main.cpp
d989965e5b0a9f939c4fd589c109026fcb6a304c
[]
no_license
Mashiro009/Millionare
7564ebe430eedcaf72a6075187af6355c2875b8f
ae64e18b0fb172e6128e14c67c8d46bea62cc0db
refs/heads/master
2021-09-19T23:31:26.080956
2018-08-01T09:26:47
2018-08-01T09:26:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
754
cpp
#include "main.h" char temp; int main() { player playerInGame[5]; //std::cout << initcity[0].name; AboutGame Game(0,0); Game.init(); Game.startGame(); fflush(stdin); for (int i(1); i <= Game.nPlayer; i++) playerInGame[i].number = i; while (1) { for (int i(1); i <= Game.nPlayer; i++) { cout << "Please input enter to continue" << endl; cin >> temp; cout << "Now is the chance of player " << i<< endl; playerInGame[i].show(); cout << "Please input enter to continue"<<endl; cin >> temp; int step; step = Game.randomStep(); cout << "Your step is " << step << endl; playerInGame[i].movePlayer(step, Game.map); playerInGame[i].show(); initcity[playerInGame[i].position].show(); } } return 0; }
[ "Mashiro@example.com" ]
Mashiro@example.com
aee54517fcacdc7c713caafc9af6e22306631809
dbdf80f064535005072598f8b0a8208243e2c61e
/Proyecto 1/.ngrest/local/build/pruebas/codegen/pruebasWrapper.h
979667c0a54beb9a77303393ab6a3ab39d03ea88
[]
no_license
erflod5/EDD
76554a680bf2a5131e04a4d741a1975fefb6f311
53141d9160f76a1b6fea51c12800ae6d6eaf441e
refs/heads/master
2021-10-20T09:11:02.947069
2019-02-27T04:12:29
2019-02-27T04:12:29
170,441,816
0
0
null
null
null
null
UTF-8
C++
false
false
776
h
// This file generated by ngrestcg // For more information, please visit: https://github.com/loentar/ngrest // DO NOT EDIT. ANY CHANGES WILL BE LOST #ifndef PRUEBASWRAPPER_H #define PRUEBASWRAPPER_H #include <string> #include <ngrest/engine/ServiceWrapper.h> #include "pruebas.h" class pruebas; //! pruebas service wrapper class pruebasWrapper: public ::ngrest::ServiceWrapper { public: pruebasWrapper(); virtual ~pruebasWrapper(); virtual ::ngrest::Service* getServiceImpl() override; virtual void invoke(const ::ngrest::OperationDescription* operation, ::ngrest::MessageContext* context) override; virtual const ::ngrest::ServiceDescription* getDescription() const override; private: pruebas* service; }; #endif // PRUEBASWRAPPER_H
[ "2883388711710@ingenieria.usac.edu.gt" ]
2883388711710@ingenieria.usac.edu.gt
7a88e0115d4bfffc323e392cd110ecfb1eb6a106
d9142bdff80cad8a1bf5a138f55c442a04e2674d
/TS_6.cpp
e989be66e91cba8696dbe7e3f45345d4bd1ced1b
[]
no_license
epicurean21/Algorithm
280a84d5f73db7787eb2589a3a37901983496691
d5fa2f0318d45bdd17c5ccda9e72468b4711100c
refs/heads/master
2023-07-22T05:30:47.982546
2023-07-09T06:22:09
2023-07-09T06:22:09
199,615,976
3
0
null
null
null
null
UTF-8
C++
false
false
644
cpp
#include <string> #include <vector> #include <iostream> using namespace std; long long solution(int numOfStairs) { long long answer = 0; long long dp[71]; dp[1] = 1; dp[2] = 2; dp[3] = 4; for (int i = 4; i <= numOfStairs; i++) { dp[i] = dp[i - 1] + dp[i - 2] + dp[i - 3]; } answer = dp[numOfStairs]; return answer; } int main() { ios::sync_with_stdio(false); cin.tie(NULL); int N; long long dp[71]; dp[1] = 1; dp[2] = 2; dp[3] = 4; for (int i = 4; i <= 70; i++) { dp[i] = dp[i - 1] + dp[i - 2] + dp[i - 3]; } cout << dp[70] << '\n'; return 0; }
[ "jm_company@naver.com" ]
jm_company@naver.com
47e8464e71eae95192ba09f528d3dced96075334
3cf9e141cc8fee9d490224741297d3eca3f5feff
/C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-15690.cpp
edf2736bf984c3904762e839b2f1df2d2f62385a
[]
no_license
TeamVault/tauCFI
e0ac60b8106fc1bb9874adc515fc01672b775123
e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10
refs/heads/master
2023-05-30T20:57:13.450360
2021-06-14T09:10:24
2021-06-14T09:10:24
154,563,655
0
1
null
null
null
null
UTF-8
C++
false
false
3,097
cpp
struct c0; void __attribute__ ((noinline)) tester0(c0* p); struct c0 { bool active0; c0() : active0(true) {} virtual ~c0() { tester0(this); active0 = false; } virtual void f0(){} }; void __attribute__ ((noinline)) tester0(c0* p) { p->f0(); } struct c1; void __attribute__ ((noinline)) tester1(c1* p); struct c1 : virtual c0 { bool active1; c1() : active1(true) {} virtual ~c1() { tester1(this); c0 *p0_0 = (c0*)(c1*)(this); tester0(p0_0); active1 = false; } virtual void f1(){} }; void __attribute__ ((noinline)) tester1(c1* p) { p->f1(); if (p->active0) p->f0(); } struct c2; void __attribute__ ((noinline)) tester2(c2* p); struct c2 : virtual c0 { bool active2; c2() : active2(true) {} virtual ~c2() { tester2(this); c0 *p0_0 = (c0*)(c2*)(this); tester0(p0_0); active2 = false; } virtual void f2(){} }; void __attribute__ ((noinline)) tester2(c2* p) { p->f2(); if (p->active0) p->f0(); } struct c3; void __attribute__ ((noinline)) tester3(c3* p); struct c3 : virtual c1, virtual c2, virtual c0 { bool active3; c3() : active3(true) {} virtual ~c3() { tester3(this); c0 *p0_0 = (c0*)(c1*)(c3*)(this); tester0(p0_0); c0 *p0_1 = (c0*)(c2*)(c3*)(this); tester0(p0_1); c0 *p0_2 = (c0*)(c3*)(this); tester0(p0_2); c1 *p1_0 = (c1*)(c3*)(this); tester1(p1_0); c2 *p2_0 = (c2*)(c3*)(this); tester2(p2_0); active3 = false; } virtual void f3(){} }; void __attribute__ ((noinline)) tester3(c3* p) { p->f3(); if (p->active0) p->f0(); if (p->active1) p->f1(); if (p->active2) p->f2(); } struct c4; void __attribute__ ((noinline)) tester4(c4* p); struct c4 : virtual c2, c1, virtual c0 { bool active4; c4() : active4(true) {} virtual ~c4() { tester4(this); c0 *p0_0 = (c0*)(c2*)(c4*)(this); tester0(p0_0); c0 *p0_1 = (c0*)(c1*)(c4*)(this); tester0(p0_1); c0 *p0_2 = (c0*)(c4*)(this); tester0(p0_2); c1 *p1_0 = (c1*)(c4*)(this); tester1(p1_0); c2 *p2_0 = (c2*)(c4*)(this); tester2(p2_0); active4 = false; } virtual void f4(){} }; void __attribute__ ((noinline)) tester4(c4* p) { p->f4(); if (p->active1) p->f1(); if (p->active0) p->f0(); if (p->active2) p->f2(); } int __attribute__ ((noinline)) inc(int v) {return ++v;} int main() { c0* ptrs0[25]; ptrs0[0] = (c0*)(new c0()); ptrs0[1] = (c0*)(c1*)(new c1()); ptrs0[2] = (c0*)(c2*)(new c2()); ptrs0[3] = (c0*)(c1*)(c3*)(new c3()); ptrs0[4] = (c0*)(c2*)(c3*)(new c3()); ptrs0[5] = (c0*)(c3*)(new c3()); ptrs0[6] = (c0*)(c2*)(c4*)(new c4()); ptrs0[7] = (c0*)(c1*)(c4*)(new c4()); ptrs0[8] = (c0*)(c4*)(new c4()); for (int i=0;i<9;i=inc(i)) { tester0(ptrs0[i]); delete ptrs0[i]; } c1* ptrs1[25]; ptrs1[0] = (c1*)(new c1()); ptrs1[1] = (c1*)(c3*)(new c3()); ptrs1[2] = (c1*)(c4*)(new c4()); for (int i=0;i<3;i=inc(i)) { tester1(ptrs1[i]); delete ptrs1[i]; } c2* ptrs2[25]; ptrs2[0] = (c2*)(new c2()); ptrs2[1] = (c2*)(c3*)(new c3()); ptrs2[2] = (c2*)(c4*)(new c4()); for (int i=0;i<3;i=inc(i)) { tester2(ptrs2[i]); delete ptrs2[i]; } c3* ptrs3[25]; ptrs3[0] = (c3*)(new c3()); for (int i=0;i<1;i=inc(i)) { tester3(ptrs3[i]); delete ptrs3[i]; } c4* ptrs4[25]; ptrs4[0] = (c4*)(new c4()); for (int i=0;i<1;i=inc(i)) { tester4(ptrs4[i]); delete ptrs4[i]; } return 0; }
[ "ga72foq@mytum.de" ]
ga72foq@mytum.de
7a13b9bba3bb8c3d6c3fabcea049079c93a3fdd2
f47507ff5536857b84113d5de9b949ad1b926075
/tensorflow/compiler/jit/extract_outside_compilation_pass.cc
841f98aacc599690456a79b83d51048c2ee54c4f
[ "Apache-2.0" ]
permissive
Guy-test/tensorflow
299a28dc9127b3ea7e16cd2d0d1a73fa1d0c07d2
e8d291f27241584fdb461fbc4729c9b3bd9012f2
refs/heads/master
2021-09-26T12:15:53.872392
2018-10-29T23:02:51
2018-10-29T23:15:03
155,294,181
0
1
Apache-2.0
2018-10-29T23:33:54
2018-10-29T23:19:48
C++
UTF-8
C++
false
false
27,289
cc
/* Copyright 2018 The TensorFlow Authors. 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. 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. ==============================================================================*/ #include "tensorflow/compiler/jit/extract_outside_compilation_pass.h" #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "tensorflow/compiler/jit/encapsulate_subgraphs_pass.h" #include "tensorflow/compiler/jit/encapsulate_util.h" #include "tensorflow/compiler/tf2xla/dump_graph.h" #include "tensorflow/compiler/tf2xla/tf2xla_util.h" #include "tensorflow/core/common_runtime/function.h" #include "tensorflow/core/framework/graph_to_functiondef.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/tensor_shape.pb.h" #include "tensorflow/core/graph/algorithm.h" #include "tensorflow/core/lib/core/errors.h" namespace tensorflow { namespace { // Add a key placeholder node to the graph. The key placeholder node will be // used as input for XlaRecvAtHost/XlaSendFromHost nodes. xla::StatusOr<Node*> AddHostComputeKeyPlaceholder( const string& xla_cluster_name, Graph* g) { NodeDef key_def; NodeDefBuilder builder(absl::StrCat(xla_cluster_name, "_key_placeholder"), "Placeholder"); builder.Attr("dtype", DT_STRING); builder.Attr("shape", PartialTensorShape({2})); builder.Attr("_host_compute_call_node", xla_cluster_name); Status s = builder.Finalize(&key_def); if (!s.ok()) return s; Node* n = g->AddNode(key_def, &s); if (!s.ok()) return s; return n; } // Returns nodes with given type. std::vector<Node*> GatherNodesWithType(const Graph& g, const string& type) { std::vector<Node*> result; for (Node* n : g.nodes()) { if (n->type_string() == type) { result.push_back(n); } } return result; } // Gets data types from `arg_nodes` and fills them into `recv_at_host_dtypes`. Status GetArgDataTypes(const std::vector<Node*>& arg_nodes, std::vector<DataType>* recv_at_host_dtypes) { recv_at_host_dtypes->resize(arg_nodes.size(), DT_INVALID); for (auto* n : arg_nodes) { int index; TF_RETURN_IF_ERROR(GetNodeAttr(n->attrs(), "index", &index)); DataType dtype; TF_RETURN_IF_ERROR(GetNodeAttr(n->attrs(), "T", &dtype)); (*recv_at_host_dtypes)[index] = dtype; } for (int i = 0; i < recv_at_host_dtypes->size(); i++) { if ((*recv_at_host_dtypes)[i] == DT_INVALID) { return errors::Internal("Cannot get datatype for input ", i); } } return Status::OK(); } // Builds XlaRecvAtHost node. xla::StatusOr<Node*> BuildRecvAtHostNode( Graph* g, const string& oc_cluster_name, const std::vector<DataType>& recv_at_host_dtypes, Node* key_placeholder) { NodeDefBuilder recv_at_host_builder( absl::StrCat("outside_compilation_", oc_cluster_name, "_recv"), "_XlaRecvAtHost"); NodeDef recv_at_host_def; recv_at_host_builder.Attr("Toutputs", recv_at_host_dtypes); // The correct device_ordinal will be inserted during replication in a // subsequent rewrite. recv_at_host_builder.Attr("device_ordinal", 0); recv_at_host_builder.Attr( "key", absl::StrCat("host_compute_channel_", oc_cluster_name)); recv_at_host_builder.Input(key_placeholder->name(), 0, DT_STRING); TF_RETURN_IF_ERROR(recv_at_host_builder.Finalize(&recv_at_host_def)); Status s; Node* recv_at_host_node = g->AddNode(recv_at_host_def, &s); TF_RETURN_IF_ERROR(s); return recv_at_host_node; } // Builds XlaRecvAtHost node, and replaces all _Arg nodes with it. xla::StatusOr<Node*> ReplaceArgNodesWithRecvAtHostNode( Graph* g, const string& oc_cluster_name, std::vector<DataType>* recv_at_host_dtypes, Node* key_placeholder) { std::vector<Node*> arg_nodes = GatherNodesWithType(*g, "_Arg"); TF_RETURN_IF_ERROR(GetArgDataTypes(arg_nodes, recv_at_host_dtypes)); TF_ASSIGN_OR_RETURN( Node * recv_at_host_node, BuildRecvAtHostNode(g, oc_cluster_name, *recv_at_host_dtypes, key_placeholder)); for (auto* n : arg_nodes) { int index; TF_RETURN_IF_ERROR(GetNodeAttr(n->attrs(), "index", &index)); // Record out edges and remove `n` before adding those edges to RecvAtHost. // This is to avoid multiple producers. std::vector<OutEdgeInfo> out_edge_info; for (auto edge : n->out_edges()) { out_edge_info.push_back( {edge->dst(), edge->src_output(), edge->dst_input()}); } g->RemoveNode(n); for (const OutEdgeInfo& edge : out_edge_info) { if (edge.dst_input == Graph::kControlSlot) { g->AddControlEdge(recv_at_host_node, edge.dst); } else { g->AddEdge(recv_at_host_node, index, edge.dst, edge.dst_input); } } // Rewrite dst nodes because their input changed. for (int i = 0; i < out_edge_info.size(); i++) { const OutEdgeInfo edge = out_edge_info[i]; if (edge.dst_input == Graph::kControlSlot) { continue; } Node* dst = edge.dst; NodeDef new_def = dst->def(); *new_def.mutable_input(edge.dst_input) = absl::StrCat(recv_at_host_node->name(), ":", index); TF_ASSIGN_OR_RETURN(Node * dst_replace, ReplaceNode(g, dst, new_def)); // Other edges might have `dst` as dst node as well. Update those edges // with `dst_replace`. for (int j = i + 1; j < out_edge_info.size(); j++) { if (out_edge_info[j].dst == dst) { out_edge_info[j].dst = dst_replace; } } } } g->AddEdge(key_placeholder, 0, recv_at_host_node, 0); return recv_at_host_node; } // Gets data types from `ret_nodes` and fills them into `send_from_host_dtypes`. Status GetRetDataTypes(const std::vector<Node*>& ret_nodes, std::vector<DataType>* send_from_host_dtypes) { send_from_host_dtypes->resize(ret_nodes.size(), DT_INVALID); for (auto* n : ret_nodes) { int index; TF_RETURN_IF_ERROR(GetNodeAttr(n->attrs(), "index", &index)); DataType dtype; TF_RETURN_IF_ERROR(GetNodeAttr(n->attrs(), "T", &dtype)); (*send_from_host_dtypes)[index] = dtype; } for (int i = 0; i < send_from_host_dtypes->size(); i++) { if ((*send_from_host_dtypes)[i] == DT_INVALID) { return errors::Internal("Cannot get datatype for output ", i); } } return Status::OK(); } // Builds XlaSendFromHost node. xla::StatusOr<Node*> BuildSendFromHostNode( Graph* g, const string& oc_cluster_name, const std::vector<Node*>& ret_nodes, const std::vector<DataType>& send_from_host_dtypes, Node* key_placeholder) { NodeDefBuilder send_from_host_builder( absl::StrCat("outside_compilation_", oc_cluster_name, "_send"), "_XlaSendFromHost"); NodeDef send_from_host_def; send_from_host_builder.Attr("Tinputs", send_from_host_dtypes); // The correct device_ordinal will be inserted during replication in a // subsequent rewrite. send_from_host_builder.Attr("device_ordinal", 0); send_from_host_builder.Attr( "key", absl::StrCat("host_compute_channel_", oc_cluster_name)); std::vector<NodeDefBuilder::NodeOut> inputs(send_from_host_dtypes.size()); for (auto* n : ret_nodes) { int index; TF_RETURN_IF_ERROR(GetNodeAttr(n->attrs(), "index", &index)); if (index < 0 || index >= send_from_host_dtypes.size()) { return errors::Internal("Invalid _Retval index: ", index); } for (auto edge : n->in_edges()) { inputs[index] = NodeDefBuilder::NodeOut{edge->src()->name(), edge->src_output(), edge->src()->output_type(edge->src_output())}; } } send_from_host_builder.Input(inputs); send_from_host_builder.Input(key_placeholder->name(), 0, DT_STRING); TF_RETURN_IF_ERROR(send_from_host_builder.Finalize(&send_from_host_def)); Status s; Node* send_from_host_node = g->AddNode(send_from_host_def, &s); TF_RETURN_IF_ERROR(s); return send_from_host_node; } // Builds XlaSendFromHost node, and replaces all _Retval nodes with it. xla::StatusOr<Node*> ReplaceRetNodesWithSendFromHostNode( Graph* g, const string& oc_cluster_name, std::vector<DataType>* send_from_host_dtypes, Node* key_placeholder) { std::vector<Node*> ret_nodes = GatherNodesWithType(*g, "_Retval"); TF_RETURN_IF_ERROR(GetRetDataTypes(ret_nodes, send_from_host_dtypes)); TF_ASSIGN_OR_RETURN( Node * send_from_host_node, BuildSendFromHostNode(g, oc_cluster_name, ret_nodes, *send_from_host_dtypes, key_placeholder)); for (auto* n : ret_nodes) { int index; TF_RETURN_IF_ERROR(GetNodeAttr(n->attrs(), "index", &index)); for (auto edge : n->in_edges()) { if (edge->src_output() == Graph::kControlSlot) { g->AddControlEdge(edge->src(), send_from_host_node); } else { g->AddEdge(edge->src(), edge->src_output(), send_from_host_node, index); } } g->RemoveNode(n); } g->AddEdge(key_placeholder, 0, send_from_host_node, send_from_host_dtypes->size()); return send_from_host_node; } // Returns input shapes (excluding key placeholder) for `send_from_host_node` // if they are all fully defined; absl::nullopt otherwise. absl::optional<std::vector<PartialTensorShape>> GetInferredInputShapes( int num_inputs, Node* send_from_host_node) { std::vector<PartialTensorShape> results(num_inputs); for (int i = 0; i < num_inputs; i++) { const Edge* e; if (!send_from_host_node->input_edge(i, &e).ok()) { return absl::nullopt; } std::vector<PartialTensorShape> shapes; if (!GetNodeAttr(e->src()->attrs(), kXlaInferredShapesAttrName, &shapes) .ok()) { return absl::nullopt; } const PartialTensorShape shape = shapes[e->dst_input()]; if (!shape.IsFullyDefined()) { return absl::nullopt; } results[e->dst_input()] = shape; } return results; } // Builds XlaHostCompute NodeDef from the outside compilation call node. xla::StatusOr<NodeDef> BuildXlaHostComputeNodeDef( const Node* call_node, const std::map<string, int>& host_compute_core) { string original_oc_name; TF_RETURN_IF_ERROR(GetNodeAttr( call_node->attrs(), "_outside_compilation_subgraph", &original_oc_name)); NodeDefBuilder host_compute_builder( absl::StrCat("outside_compilation_", original_oc_name, "_host_compute"), "XlaHostCompute"); // Copy all attributes. for (auto attr : call_node->attrs()) { host_compute_builder.Attr(attr.first, attr.second); } // Populate tpu_core assignment. const auto iter = host_compute_core.find(original_oc_name); if (iter != host_compute_core.end()) { int core = iter->second; host_compute_builder.Attr("tpu_core", core); } // Populate inputs. std::vector<DataType> input_dtypes; TF_RETURN_IF_ERROR(GetNodeAttr(call_node->attrs(), "Tinputs", &input_dtypes)); std::vector<NodeDefBuilder::NodeOut> inputs(input_dtypes.size()); for (auto e : call_node->in_edges()) { if (e->IsControlEdge()) { continue; } if (e->dst_input() < 0 || e->dst_input() >= input_dtypes.size()) { return errors::Internal("Invalid dst_input: ", e->dst_input()); } inputs[e->dst_input()] = NodeDefBuilder::NodeOut{ e->src()->name(), e->src_output(), input_dtypes[e->dst_input()]}; } host_compute_builder.Input(inputs); NodeDef new_def; TF_RETURN_IF_ERROR(host_compute_builder.Finalize(&new_def)); return new_def; } // Replace outside compilation function call node with XlaHostCompute node. // If the function call node has no input/output edges, we will just remove it // and not create a XlaHostCompute node. Status ReplaceOrRemoveOutsideCompilationCallNode( Graph* g, Node* call_node, const std::map<string, int>& host_compute_core) { // If the function call node has no input/output edges, just remove it. bool has_edge = false; for (auto e : call_node->in_edges()) { if (!e->IsControlEdge() || e->src() != g->source_node()) { has_edge = true; break; } } for (auto e : call_node->out_edges()) { if (!e->IsControlEdge() || e->dst() != g->sink_node()) { has_edge = true; break; } } if (!has_edge) { VLOG(4) << "Did not add HostCompute node for " << call_node->DebugString(); g->RemoveNode(call_node); return Status::OK(); } // Build XlaHostCompute NodeDef. TF_ASSIGN_OR_RETURN(NodeDef node_def, BuildXlaHostComputeNodeDef(call_node, host_compute_core)); TF_ASSIGN_OR_RETURN(Node * host_compute_node, ReplaceNode(g, call_node, node_def)); VLOG(4) << "Added HostCompute node: " << host_compute_node->DebugString(); return Status::OK(); } // For an XLA computation, builds host side graph given all outside compilation // graphs inside it. The host side graph contains: // 1) a "sequencer" node (we will add control edge between XlaRecvAtHost and // XlaSendFromHost to this sequencer node, so all outside compilation nodes // will be executed *before* this sequencer). // 2) a "key placeholder" node. Later in ExpandHostGraphIntoMainGraph(), we will // replace this node with compilation result node. // 3) all outside compilation graphs. Status ConstructHostGraph( const string& xla_cluster_name, const std::vector<string>& outside_compilation_host_graphs, FunctionLibraryDefinition* fld, std::unique_ptr<Graph>* host_graph) { host_graph->reset(new Graph(fld)); // Create sequencer node in host graph. NodeDefBuilder sequencer_builder(absl::StrCat(xla_cluster_name, "_sequencer"), "NoOp"); sequencer_builder.Attr("_xla_host_transfer_sequencer", xla_cluster_name); NodeDef sequencer_def; TF_RETURN_IF_ERROR(sequencer_builder.Finalize(&sequencer_def)); Status s; Node* sequencer = (*host_graph)->AddNode(sequencer_def, &s); TF_RETURN_IF_ERROR(s); // Create key placeholder in host graph. TF_ASSIGN_OR_RETURN( Node * key_placeholder, AddHostComputeKeyPlaceholder(xla_cluster_name, host_graph->get())); // For each outside compilation graph, copy them to host graph with the // following changes: // a) Use key_placeholder in host graph instead of its own. // b) Add control edge from RecvAtHost/SendFromHost to sequencer. // c) Clear node_def.device(), so device placer won't get confused. for (const string& host_func : outside_compilation_host_graphs) { VLOG(4) << "Expanding host graph " << host_func; FunctionBody* host_fbody = nullptr; TF_RETURN_IF_ERROR( FunctionDefToBodyHelper(*fld->Find(host_func), AttrSlice(), fld, [&](const string& op, const OpDef** sig) { return fld->LookUpOpDef(op, sig); }, &host_fbody)); std::unique_ptr<FunctionBody> host_fbody_deleter(host_fbody); // We use ReverseDFS() to copy nodes. Make sure all nodes are reverse // reachable from sink node so all nodes will be copied. FixupSourceAndSinkEdges(host_fbody->graph); std::map<const Node*, Node*> node_map; node_map[host_fbody->graph->source_node()] = (*host_graph)->source_node(); node_map[host_fbody->graph->sink_node()] = (*host_graph)->sink_node(); Status s; ReverseDFS(*host_fbody->graph, /*enter=*/nullptr, [&](const Node* n) { if (!s.ok()) { return; } Node* copy; if (node_map.find(n) != node_map.end()) { // Already copied this node. copy = node_map.at(n); } else if (n->type_string() == "Placeholder" && absl::EndsWith(n->name(), "_key_placeholder")) { // Change a). copy = key_placeholder; node_map[n] = copy; } else { // Copy the node. NodeDef copy_def = n->def(); // Change c). copy_def.clear_device(); copy = (*host_graph)->AddNode(copy_def, &s); if (!s.ok()) { return; } node_map[n] = copy; } // Only handle input edges. Output edges will be added later as // its output nodes' input edges. for (auto e : n->in_edges()) { if (node_map.find(e->src()) == node_map.end()) { s = errors::Internal("Cannot find node image for ", e->src()->DebugString()); return; } (*host_graph) ->AddEdge(node_map[e->src()], e->src_output(), copy, e->dst_input()); } // Change b). if (copy->type_string() == "_XlaRecvAtHost" || copy->type_string() == "_XlaSendFromHost") { (*host_graph)->AddControlEdge(copy, sequencer); } }, NodeComparatorID()); if (!s.ok()) { return s; } } // sequencer and key_placeholder might be dead nodes. Prune them if necessary. // - sequencer should be pruned iff it has no input control edges from // RecvAtHost/SendFromHost. If it has input control edge, we connect it to // sink node so it won't be pruned. // - key_placeholder should be pruned iff there's no RecvAtHost/SendFromHost. // We don't need to do anything special. if (!sequencer->in_edges().empty()) { (*host_graph)->AddControlEdge(sequencer, (*host_graph)->sink_node()); } PruneForReverseReachability( host_graph->get(), std::unordered_set<const Node*>{(*host_graph)->sink_node()}); if (VLOG_IS_ON(4)) { dump_graph::DumpGraphToFile( absl::StrCat("extract_outside_compilation_host_graph_for_", xla_cluster_name), **host_graph, fld); } return Status::OK(); } } // namespace Status RewriteOutsideCompilationSubgraphFn::operator()( const std::vector<OutputTensor>& arg_source_tensors, std::unique_ptr<Graph>* graph, std::vector<int>* input_permutation, std::vector<int>* output_permutation, NodeDef* node_def) { string old_name = node_def->op(); string new_name = absl::StrCat(xla_cluster_name_, "_", old_name); node_def->set_op(new_name); node_def->set_name(new_name); // Later we will run PruneForReverseReachability(), so make sure all original // nodes are reachable from sink node and won't be removed. FixupSourceAndSinkEdges(graph->get()); // Step 1: create a key placeholder node. TF_ASSIGN_OR_RETURN( Node * key_placeholder, AddHostComputeKeyPlaceholder(xla_cluster_name_, graph->get())); // Step 2: build RecvAtHost node, and replace all _Arg nodes with it. std::vector<DataType> recv_at_host_dtypes; TF_ASSIGN_OR_RETURN( Node * recv_at_host_node, ReplaceArgNodesWithRecvAtHostNode(graph->get(), new_name, &recv_at_host_dtypes, key_placeholder)); // Step 3: build SendFromHost node, and replace all _Retval nodes with it. std::vector<DataType> send_from_host_dtypes; TF_ASSIGN_OR_RETURN( Node * send_from_host_node, ReplaceRetNodesWithSendFromHostNode( graph->get(), new_name, &send_from_host_dtypes, key_placeholder)); // Step 4: add XLA cluster and outside compilation attr. for (Node* n : (*graph)->nodes()) { if (n->type_string() == "Placeholder" && absl::EndsWith(n->name(), "_key_placeholder")) { continue; } n->AddAttr(xla_cluster_attr_name_, xla_cluster_name_); n->AddAttr(outside_compilation_attr_name_, old_name); } // Check whether we have all input shapes for XlaSendFromHost. If we do, we // will set `shapes` attr for the call node; otherwise we will save the // shape inference graph and set `shape_inference_graph` for the call node. absl::optional<std::vector<PartialTensorShape>> shapes = GetInferredInputShapes(send_from_host_dtypes.size(), send_from_host_node); // Step 5: add control edges for originally XLA <-> outside compilation // control edges. for (Node* n : (*graph)->nodes()) { if (HasNodeAttr(n->def(), kXlaConnectedToXlaComputationAttrName)) { (*graph)->AddControlEdge(n, send_from_host_node); n->ClearAttr(kXlaConnectedToXlaComputationAttrName); } if (HasNodeAttr(n->def(), kXlaConnectedFromXlaComputationAttrName)) { (*graph)->AddControlEdge(recv_at_host_node, n); n->ClearAttr(kXlaConnectedFromXlaComputationAttrName); } } // Step 6: RecvAtHost/SendFromHost/key_placeholder might be dead nodes. Prune // them if necessary. // - RecvAtHost should be pruned iff it has no output data/control edges. If // it has any output edge, it will be reverse reachable from sink node. We // don't need to do anything special. // - SendFromHost should be pruned iff it has no input data/control edges. If // it has input edges other than key_placeholder, we connect it to sink // node so it won't be pruned. // - key_placeholder should be pruned iff RecvAtHost/SendFromHost are pruned. // We don't need to do anything special. if (send_from_host_node->in_edges().size() > 1) { (*graph)->AddControlEdge(send_from_host_node, (*graph)->sink_node()); } PruneForReverseReachability( graph->get(), std::unordered_set<const Node*>{(*graph)->sink_node()}); // Step 7: add necessary attributes to function call node, so we can replace // it with HostCompute node later. AddNodeAttr("_outside_compilation_subgraph", old_name, node_def); if (shapes) { AddNodeAttr("shape_inference_graph", "", node_def); AddNodeAttr("shapes", *shapes, node_def); } else { string shape_inference_func_name = absl::StrCat("_outside_compilation_shape_inference_", new_name); AddNodeAttr("shape_inference_graph", shape_inference_func_name, node_def); AddNodeAttr("shapes", std::vector<TensorShapeProto>{}, node_def); } AddNodeAttr("ancestors", std::vector<string>{}, node_def); AddNodeAttr("Tinputs", recv_at_host_dtypes, node_def); AddNodeAttr("Toutputs", send_from_host_dtypes, node_def); AddNodeAttr("key", absl::StrCat("host_compute_channel_", new_name), node_def); return Status::OK(); } Status ExtractOutsideCompilationForFunction( const string& xla_cluster_attr_name, const string& outside_compilation_attr_name, const string& xla_cluster_name, const NameAttrList& func_name_attrs, const string& new_func_name, const std::map<string, int>& host_compute_core, FunctionLibraryDefinition* fld, std::unique_ptr<Graph>* host_graph, std::vector<string>* shape_inference_graphs, bool* has_outside_compilation) { // Early return if function does not have any outside compilation nodes. const string& func_name = func_name_attrs.name(); const FunctionDef* fdef = fld->Find(func_name); if (!fdef) { return errors::Internal("Cannot find function ", func_name); } *has_outside_compilation = false; for (auto& node_def : fdef->node_def()) { if (HasNodeAttr(node_def, outside_compilation_attr_name)) { *has_outside_compilation = true; break; } } if (!has_outside_compilation) { return Status::OK(); } // Convert the function to graph. FunctionBody* fbody = nullptr; TF_RETURN_IF_ERROR(FunctionDefToBodyHelper( *fld->Find(func_name), AttrSlice(&func_name_attrs.attr()), fld, [&](const string& op, const OpDef** sig) { return fld->LookUpOpDef(op, sig); }, &fbody)); std::unique_ptr<FunctionBody> fbody_deleter(fbody); if (VLOG_IS_ON(4)) { dump_graph::DumpGraphToFile( absl::StrCat("extract_outside_compilation_for_func_before_", func_name), *fbody->graph, fld); } // Encapsulate outside_compilation cluster into function call node. std::unique_ptr<Graph> graph_out; RewriteOutsideCompilationSubgraphFn rewrite_fn( xla_cluster_attr_name, outside_compilation_attr_name, xla_cluster_name); TF_RETURN_IF_ERROR(EncapsulateSubgraphsInFunctions( outside_compilation_attr_name, "", *fbody->graph, rewrite_fn, /*reuse_existing_functions=*/true, &graph_out, fld)); // Replace outside_compilation function nodes with HostCompute ops. std::vector<Node*> outside_compilation_nodes; std::vector<string> outside_compilation_host_graphs; for (Node* n : graph_out->nodes()) { if (HasNodeAttr(n->def(), "_outside_compilation_subgraph")) { outside_compilation_nodes.push_back(n); outside_compilation_host_graphs.push_back(n->name()); // If we could not infer shapes for XlaSendFromHost inputs statically, we // will set the "shape_inference_graph" attribute. In that case, copy // outside compilation subgraph as shape inference graph in `fld`. string shape_inference_graph; TF_RETURN_IF_ERROR(GetNodeAttr(n->attrs(), "shape_inference_graph", &shape_inference_graph)); if (!shape_inference_graph.empty()) { shape_inference_graphs->push_back(shape_inference_graph); const FunctionDef* xla_fdef = fld->Find(n->name()); if (!xla_fdef) { return errors::Internal("Cannot find XLA function ", n->name()); } FunctionDef shape_inference_fdef = *xla_fdef; shape_inference_fdef.mutable_signature()->set_name( shape_inference_graph); TF_RETURN_IF_ERROR(fld->AddFunctionDef(shape_inference_fdef)); } } } for (Node* n : outside_compilation_nodes) { TF_RETURN_IF_ERROR(ReplaceOrRemoveOutsideCompilationCallNode( graph_out.get(), n, host_compute_core)); } if (VLOG_IS_ON(4)) { dump_graph::DumpGraphToFile( absl::StrCat("extract_outside_compilation_for_func_after_", func_name), *graph_out, fld); } // Construct host graph. if (!outside_compilation_host_graphs.empty()) { TF_RETURN_IF_ERROR(ConstructHostGraph( xla_cluster_name, outside_compilation_host_graphs, fld, host_graph)); } // Remove the outside compilation graphs from function library. for (const string& func : outside_compilation_host_graphs) { TF_RETURN_IF_ERROR(fld->RemoveFunction(func)); } // Replace original function. FunctionDef updated_fdef; TF_RETURN_IF_ERROR( GraphToFunctionDef(*graph_out, new_func_name, &updated_fdef)); if (fld->Find(new_func_name)) { TF_RETURN_IF_ERROR(fld->ReplaceFunction(new_func_name, updated_fdef)); } else { TF_RETURN_IF_ERROR(fld->AddFunctionDef(updated_fdef)); } return Status::OK(); } } // namespace tensorflow
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
90e9f6a90dfb867ad735ad0f73dd7b2d43451e74
e2e8d3c97155003038ea55fcb7f0247438b8aff9
/while.cpp
07dac472aedfe2307bc896ff75586acc6218a757
[]
no_license
Hyuga-Hinata/C-learning
a5f62bdfa585ee815e71ab0c0ce7f34f26faa44d
e91311e3dd5870e7a5ca93f1c27cef2c3af33141
refs/heads/master
2021-05-06T06:01:27.276058
2018-03-31T16:49:49
2018-03-31T16:49:49
115,264,606
0
0
null
null
null
null
UTF-8
C++
false
false
320
cpp
#include<stdio.h> #define ADJUST 7.64 #define SCALE 0.325 int main(void) { double shoe,foot; printf("Shoe size(men's) foot length\n"); shoe=3.0; while(shoe<18.5) { foot=SCALE*shoe+ADJUST; printf("%10.1f %15.2f inches\n",shoe,foot); shoe=shoe+1.0; } printf("If the shoe fits,wear it.\n"); return 0; }
[ "1159902606@qq.com" ]
1159902606@qq.com
182ed3b860e5c64173b1f4a077479e968aaa95d7
07c6a6592480ef3b0b52abac9b5048d0f16f7853
/Aphelion/src/Aphelion/Physics/PhysicsShape.cpp
b7ca7513a0715ee6a3f1ce0ec6e1e79542d3084a
[ "MIT" ]
permissive
antjowie/Aphelion-engine
7748b004682a1ea6e4334d90c9df090d274a3f2a
e26287d240db37f3e6df289dec760b1e4404135b
refs/heads/master
2023-05-05T15:06:17.154712
2021-05-21T15:58:57
2021-05-21T15:58:57
210,442,434
0
0
null
null
null
null
UTF-8
C++
false
false
1,698
cpp
#include "Aphelion/Physics/PhysicsShape.h" #include "Aphelion/Physics/RigidBody.h" #include "Aphelion/Physics/PhysicsGLM.h" namespace ap { PhysicsShape::PhysicsShape(PhysicsGeometry& geometry, PhysicsMaterial& material, const glm::mat4& offset) : m_handle(PxGetPhysics().createShape(geometry.GetHandle().any(), *material.GetHandle())) , m_creator(true) { } PhysicsShape::PhysicsShape(physx::PxShape* shape) : m_handle(shape) , m_creator(false) { } PhysicsShape::PhysicsShape() : m_handle(nullptr) , m_creator(false) { } PhysicsShape::~PhysicsShape() { if (m_creator) m_handle->release(); } void PhysicsShape::SetLocalTransform(const glm::mat4& transform) { m_handle->setLocalPose(physx::PxTransform(ap::MakeMat4(transform))); } glm::mat4 PhysicsShape::GetLocalTransform() const { return ap::MakeMat4(m_handle->getLocalPose()); } PhysicsGeometry PhysicsShape::GetGeometry() const { return m_handle->getGeometry(); } PhysicsMaterial PhysicsShape::GetMaterial() const { bool hasLogged = false; if (!hasLogged) { hasLogged = true; AP_CORE_WARN("PhysicsMaterial::GetMaterial only returns the first material... silencing message"); } physx::PxMaterial* material = nullptr; m_handle->getMaterials(&material, 1, 0); return PhysicsMaterial(material); } RigidBody PhysicsShape::GetRigidBody() const { return m_handle->getActor(); } physx::PxShape* PhysicsShape::GetHandle() { return m_handle; } }
[ "7332321+antjowie@users.noreply.github.com" ]
7332321+antjowie@users.noreply.github.com
d8f123fdebab9894a12c198f0117b88a9c015567
b90286114890d14038bb63e100e29cdba2e87440
/Honeycomb GE/src/render/RenderingEngine.cpp
d379bde4601d532343a0b2e9b7c747a51d47539f
[ "MIT" ]
permissive
00mjk/Honeycomb-Game-Engine
21fa3e869a1c66d7355007605e2db5b0679883ce
0ccfcf9bc57d63e948325ac89ad0de0497206f94
refs/heads/master
2021-07-15T08:09:20.360152
2017-10-19T18:39:09
2017-10-19T18:39:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
926
cpp
#include "../../include/render/RenderingEngine.h" #include "../../include/render/deferred/DeferredRenderer.h" using Honeycomb::Scene::GameScene; using Honeycomb::Render::Deferred::DeferredRenderer; namespace Honeycomb { namespace Render { RenderingEngine *RenderingEngine::renderingEngine = nullptr; RenderingEngine* RenderingEngine::getRenderingEngine() { if (renderingEngine == nullptr) renderingEngine = new RenderingEngine(); return renderingEngine; } void RenderingEngine::render(GameScene &scene) { this->renderer->render(scene); } void RenderingEngine::setRenderingType(const RenderingType &type) { switch (type) { case RenderingType::TYPE_DEFERRED_RENDERER: this->renderer = DeferredRenderer::getDeferredRenderer(); break; } } RenderingEngine::RenderingEngine() { this->setRenderingType(RenderingType::TYPE_DEFERRED_RENDERER); } RenderingEngine::~RenderingEngine() { } } }
[ "antverdovsky@gmail.com" ]
antverdovsky@gmail.com
ffaa4cdc122c4c57a53d0c6140c7c27275c1f3a6
cca23296b17e23f3541c505dd96862adad53a261
/shape/cubebarrel.cpp
03350f6c0c3e092e2dbb6fabe9295179a39bfb2c
[]
no_license
purvigoel/projectHug
432eaf0ef3a88a535f67fc61add3d6c76f1126f9
7b7e42f09cdf93826f3b9549b6ac27a562a0af0a
refs/heads/master
2020-04-07T06:09:20.581482
2018-12-03T18:48:53
2018-12-03T18:48:53
158,124,311
0
0
null
null
null
null
UTF-8
C++
false
false
3,305
cpp
#include "cubebarrel.h" CubeBarrel::CubeBarrel() { } CubeBarrel::~CubeBarrel() { } std::vector<float> CubeBarrel::buildShape(int numRows, int numCols){ float stripHeight = 1.0f / numRows; std::vector<float> points; float i = -0.5 + stripHeight; for(int c = 0; c < numRows; c++){ std::vector<float> rowpoints = defineHorizontalSlice(numCols, 1.0, 0.0, stripHeight, i, -0.5f, 0.5f); points.insert(points.end(), rowpoints.begin(), rowpoints.end()); i += stripHeight; } return points; } // Cube Barrels aren't defined by circles, so we create them a little differently here. Here, we // define each horizontal slice around a square shaped base. std::vector<float> CubeBarrel::defineHorizontalSlice(int numStrips, float baseTop, float baseBottom, float stripHeight, float stripY, float stripX, float stripZ) { //Left face float stripWidth = baseTop/numStrips; std::vector<float> points; //front face for(int i = 0; i < numStrips + 1; i ++){ points.push_back(float(stripX + stripWidth * i)); points.push_back(float(stripY)); points.push_back(float(stripZ)); points.push_back(float(0)); points.push_back(float(0)); points.push_back(float(1)); points.push_back(float(stripX + stripWidth * i)); points.push_back(float(stripY - stripHeight)); points.push_back(float(stripZ)); points.push_back(float(0)); points.push_back(float(0)); points.push_back(float(1)); } for(int i = 1; i < numStrips + 1; i ++){ points.push_back(stripX + baseTop); points.push_back(float(stripY)); points.push_back(float(stripZ - stripWidth * (i))); points.push_back(float(1)); points.push_back(float(0)); points.push_back(float(0)); points.push_back(float(stripX + baseTop)); points.push_back(float(stripY - stripHeight)); points.push_back(float(stripZ - stripWidth * (i))); points.push_back(float(1)); points.push_back(float(0)); points.push_back(float(0)); } for(int i = 1; i < numStrips + 1; i ++){ points.push_back(float(stripX + baseTop - stripWidth * i)); points.push_back(float(stripY)); points.push_back(stripX); points.push_back(float(0)); points.push_back(float(0)); points.push_back(float(-1)); points.push_back(float(stripX + baseTop - stripWidth * i)); points.push_back(float(stripY - stripHeight)); points.push_back(stripX); points.push_back(float(0)); points.push_back(float(0)); points.push_back(float(-1)); } for(int i = 1; i < numStrips + 1; i ++){ points.push_back(stripX); points.push_back(float(stripY)); points.push_back(float(stripZ - baseTop + stripWidth * (i))); points.push_back(float(-1)); points.push_back(float(0)); points.push_back(float(0)); points.push_back(float(stripX)); points.push_back(float(stripY - stripHeight)); points.push_back(float(stripZ - baseTop + stripWidth * (i))); points.push_back(float(-1)); points.push_back(float(0)); points.push_back(float(0)); } return points; // TODO [Task 7] }
[ "purvi_goel@brown.edu" ]
purvi_goel@brown.edu
8438f951fdd9e1ecb343e677ab675827d6425230
c55dfcf26065e3f8abc4a191731e5d02acacb5f5
/src/memory/include/memory/memory.fwd.h
18c7cb9ed9a9f9cb6d9c94a429cb3b38053e4a65
[ "MIT" ]
permissive
venkat24/tvp
b2e7c9eb1df9bcab52804c10a6da06e74bf311f3
cd6636024d5e3a152b7cc0fbeaeda386ab7e6695
refs/heads/master
2020-04-01T05:33:01.025450
2020-01-21T03:45:31
2020-01-21T03:45:31
152,908,447
30
5
MIT
2020-01-25T04:20:31
2018-10-13T19:45:19
C++
UTF-8
C++
false
false
139
h
/** * @file memory.fwd.h * Forward declares the Memory Class */ #pragma once namespace memory { class Memory; } // namespace memory
[ "venkatramansrikanth@outlook.com" ]
venkatramansrikanth@outlook.com
94073a660789dd3702fd70bd40c64858970f772a
fc79fe29914d224d9f3a1e494aff6b8937be723f
/Libraries/Rim Framework/include/rim/util/rimHashMap.h
41d690004ff3a8d7b4fa3732c0581cbaad572ec9
[]
no_license
niti1987/Quadcopter
e078d23dd1e736fda19b516a5cd5e4aca5aa3c50
6ca26b1224395c51369442f202d1b4c4b7188351
refs/heads/master
2021-01-01T18:55:55.210906
2014-12-09T23:37:09
2014-12-09T23:37:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
31,297
h
/* * rimHashMap.h * Rim Framework * * Created by Carl Schissler on 3/6/11. * Copyright 2011 Rim Software. All rights reserved. * */ #ifndef INCLUDE_RIM_HASH_MAP_H #define INCLUDE_RIM_HASH_MAP_H #include "rimUtilitiesConfig.h" #include "../math/rimPrimes.h" #include "rimAllocator.h" //########################################################################################## //*************************** Start Rim Utilities Namespace ****************************** RIM_UTILITIES_NAMESPACE_START //****************************************************************************************** //########################################################################################## //******************************************************************************** //******************************************************************************** //******************************************************************************** /// A container class which uses a hash table to map key objects to value objects. template < typename K, typename V, typename HashType = Hash > class HashMap { private: //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Private Bucket Class class Entry { public: RIM_INLINE Entry( HashType newKeyHash, const K& newKey, const V& newValue ) : next( NULL ), keyHash( newKeyHash ), key( newKey ), value( newValue ) { } Entry( const Entry& other ) : keyHash( other.keyHash ), key( other.key ), value( other.value ) { if ( other.next ) next = util::construct<Entry>(*other.next); else next = NULL; } ~Entry() { if ( next ) util::destruct(next); } Entry* next; HashType keyHash; K key; V value; }; public: //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Constructors /// Create a hash map with the default load factor and number of buckets. RIM_INLINE HashMap() : buckets( util::allocate<Entry*>(DEFAULT_NUMBER_OF_BUCKETS) ), numBuckets( DEFAULT_NUMBER_OF_BUCKETS ), numElements( 0 ), loadFactor( DEFAULT_LOAD_FACTOR ), loadThreshold( Size(DEFAULT_LOAD_FACTOR*DEFAULT_NUMBER_OF_BUCKETS) ) { nullBuckets(); } /// Create a hash map with the specified load factor and default number of buckets. RIM_INLINE HashMap( Float newLoadFactor ) : buckets( util::allocate<Entry*>(DEFAULT_NUMBER_OF_BUCKETS) ), numBuckets( DEFAULT_NUMBER_OF_BUCKETS ), numElements( 0 ), loadFactor( math::clamp( newLoadFactor, 0.1f, 2.0f ) ) { loadThreshold = Size(loadFactor*DEFAULT_NUMBER_OF_BUCKETS); nullBuckets(); } /// Create a hash map with the default load factor and specified number of buckets. RIM_INLINE HashMap( HashType newNumBuckets ) : numBuckets( math::nextPowerOf2Prime(newNumBuckets) ), numElements( 0 ), loadFactor( DEFAULT_LOAD_FACTOR ) { buckets = util::allocate<Entry*>(numBuckets); loadThreshold = Size(DEFAULT_LOAD_FACTOR*numBuckets); nullBuckets(); } /// Create a hash map with the specified load factor and number of buckets. RIM_INLINE HashMap( HashType newNumBuckets, Float newLoadFactor ) : numBuckets( math::nextPowerOf2Prime(newNumBuckets) ), numElements( 0 ), loadFactor( math::clamp( newLoadFactor, 0.1f, 2.0f ) ) { buckets = util::allocate<Entry*>(numBuckets); loadThreshold = Size(loadFactor*numBuckets); nullBuckets(); } //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Copy Constructor /// Create a hash map with the specified load factor and number of buckets. RIM_INLINE HashMap( const HashMap& other ) : buckets( util::allocate<Entry*>(other.numBuckets) ), numBuckets( other.numBuckets ), numElements( other.numElements ), loadFactor( other.loadFactor ), loadThreshold( other.loadThreshold ) { // Copy the hash table buckets const Entry* const * otherBucket = other.buckets; const Entry* const * const otherBucketsEnd = otherBucket + numBuckets; Entry** bucket = buckets; while ( otherBucket != otherBucketsEnd ) { if ( *otherBucket ) *bucket = util::construct<Entry>(**otherBucket); else *bucket = NULL; otherBucket++; bucket++; } } //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Assignment Operator /// Copy the contents of one hash map into another. RIM_INLINE HashMap& operator = ( const HashMap& other ) { if ( this != &other ) { deleteBuckets( buckets, numBuckets ); // Copy the parameters from the other hash map. numBuckets = other.numBuckets; numElements = other.numElements; buckets = util::allocate<Entry*>( numBuckets ); loadFactor = other.loadFactor; loadThreshold = other.loadThreshold; { // Copy the hash table buckets const Entry* const * otherBucket = other.buckets; const Entry* const * const otherBucketsEnd = otherBucket + numBuckets; Entry** bucket = buckets; while ( otherBucket != otherBucketsEnd ) { if ( *otherBucket ) *bucket = util::construct<Entry>(**otherBucket); else *bucket = NULL; otherBucket++; bucket++; } } } return *this; } //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Destructor /// Destroy a hash map and it's contents, deallocating all memory used. RIM_INLINE ~HashMap() { deleteBuckets( buckets, numBuckets ); } //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Add Method /// Add a new mapping to the hash map, associating the given key with the given value. /** * If the add operation was successful, it returns a pointer to the location * where the mapping's value is stored. Otherwise, a NULL pointer is returned. */ RIM_INLINE V* add( HashType keyHash, const K& key, const V& value ) { // Check the load constraint, if necessary, increase the size of the table. if ( numElements > loadThreshold ) resize( math::nextPowerOf2Prime( numBuckets + 1 ) ); // Compute the bucket for the new element. Entry** bucket = buckets + keyHash % numBuckets; numElements++; // Add the new element. if ( *bucket == NULL ) { *bucket = util::construct<Entry>( keyHash, key, value ); return &(*bucket)->value; } else { Entry* entry = *bucket; while ( entry->next ) entry = entry->next; entry->next = util::construct<Entry>( keyHash, key, value ); return &entry->next->value; } } //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Set Method /// Set the mapping of a key to be the given value, regardless of it's previous state. /** * The method returns TRUE if the key did not previously exist in the HashMap. * Otherwise the method returns FALSE. */ RIM_INLINE Bool set( HashType keyHash, const K& key, const V& value ) { // Compute the bucket for the new element. Entry** bucket = buckets + keyHash % numBuckets; if ( *bucket == NULL ) *bucket = util::construct<Entry>( keyHash, key, value ); else { Entry* entry = *bucket; if ( entry->key == key ) { entry->value = value; return false; } while ( entry->next ) { entry = entry->next; if ( entry->key == key ) { entry->value = value; return false; } } entry->next = util::construct<Entry>( keyHash, key, value ); } numElements++; return true; } //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Remove Methods /// Remove the first mapping of the given key and return the mapped value. /** * If the key does not exist in the hash map, then FALSE is returned, * otherwise TRUE is returned. */ RIM_INLINE Bool remove( HashType keyHash, const K& key ) { // Compute the bucket for the new element. Entry** bucket = buckets + keyHash % numBuckets; Entry** previousNext = bucket; Entry* entry = *bucket; while ( entry ) { if ( entry->key == key ) { *previousNext = entry->next; entry->next = NULL; util::destruct(entry); numElements--; return true; } previousNext = &(*previousNext)->next; entry = entry->next; } return false; } /// Remove a mapping from the hash map if it was found, returning the success. RIM_INLINE Bool remove( HashType keyHash, const K& key, const V& value ) { // Compute the bucket for the new element. Entry** bucket = buckets + keyHash % numBuckets; Entry** previousNext = bucket; Entry* entry = *bucket; while ( entry ) { if ( entry->key == key && entry->value == value ) { *previousNext = entry->next; entry->next = NULL; util::destruct(entry); numElements--; return true; } previousNext = &(*previousNext)->next; entry = entry->next; } return false; } //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Clear Method /// Clear all mappings from the hash map. RIM_INLINE void clear() { // Delete all entries Entry** entry = buckets; const Entry* const * const entryEnd = entry + numBuckets; while ( entry != entryEnd ) { if ( *entry ) { util::destruct(*entry); *entry = NULL; } entry++; } numElements = 0; } //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Contains Methods /// Query whether or not the specified key is contained in a hash map. RIM_INLINE Bool find( HashType keyHash, const K& key, V*& value ) { // Compute the bucket for the query. Entry* entry = *(buckets + keyHash % numBuckets); // Look for the key in the bucket. while ( entry ) { if ( entry->key == key ) { value = &entry->value; return true; } entry = entry->next; } return false; } /// Query whether or not the specified key is contained in a hash map. RIM_INLINE Bool find( HashType keyHash, const K& key, const V*& value ) const { // Compute the bucket for the query. Entry* entry = *(buckets + keyHash % numBuckets); // Look for the key in the bucket. while ( entry ) { if ( entry->key == key ) { value = &entry->value; return true; } entry = entry->next; } return false; } /// Query whether or not the specified key is contained in a hash map. RIM_INLINE Bool contains( HashType keyHash, const K& key ) const { // Compute the bucket for the query. Entry* entry = *(buckets + keyHash % numBuckets); // Look for the key in the bucket. while ( entry ) { if ( entry->key == key ) return true; entry = entry->next; } return false; } /// Query whether or not a particular mapping exists in the hash map. RIM_INLINE Bool contains( HashType keyHash, const K& key, const V& value ) const { // Compute the bucket for the query. Entry* entry = *(buckets + keyHash % numBuckets); // Look for the key in the bucket. while ( entry ) { if ( entry->key == key && entry->value == value ) return true; entry = entry->next; } return false; } //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Size Accessor Methods /// Return the number of mappings in a hash map. RIM_INLINE Size getSize() const { return numElements; } /// Return whether or not a hash map is empty. RIM_INLINE Bool isEmpty() const { return numElements == Size(0); } //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Get Methods /// Return a pointer to the value associated with the given key. /** * If the key does not exist in the hash map, a NULL pointer is * returned. */ RIM_INLINE V* get( HashType keyHash, const K& key ) { // Compute the bucket for the query. Entry* entry = *(buckets + keyHash % numBuckets); // Look for the key in the bucket. while ( entry ) { if ( entry->key == key ) return &entry->value; entry = entry->next; } return NULL; } /// Return a const pointer to the value associated with the given key. /** * If the key does not exist in the hash map, a NULL pointer is * returned. */ RIM_INLINE const V* get( HashType keyHash, const K& key ) const { // Compute the bucket for the query. Entry* entry = *(buckets + keyHash % numBuckets); // Look for the key in the bucket. while ( entry ) { if ( entry->key == key ) return &entry->value; entry = entry->next; } return NULL; } //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Iterator Class /// A class which iterates over hash map elements. class Iterator { public: //******************************************** // Constructor /// Create a new hash map iterator for the specified hash map. RIM_INLINE Iterator( HashMap& newHashMap ) : hashMap( newHashMap ), currentBucket( newHashMap.buckets ), bucketsEnd( newHashMap.buckets + newHashMap.numBuckets ) { // advance until the first element advanceToNextFullBucket(); } //******************************************** // Public Methods /// Increment the location of a hash map iterator by one element. RIM_INLINE void operator ++ () { currentEntry = currentEntry->next; if ( currentEntry == NULL ) { currentBucket++; advanceToNextFullBucket(); } } /// Increment the location of a hash map iterator by one element. RIM_INLINE void operator ++ ( int ) { this->operator++(); } /// Test whether or not the current element is valid. /** * This will return FALSE when the last element of the hash map * has been iterated over. */ RIM_INLINE operator Bool () const { return currentEntry != NULL; } /// Return the value of the key-value pair pointed to by the iterator. RIM_INLINE V& operator * () const { return currentEntry->value; } /// Access the current iterator element value RIM_INLINE V* operator -> () const { return &currentEntry->value; } /// Get the value of the key-value pair pointed to by the iterator. RIM_INLINE V& getValue() const { return currentEntry->value; } /// Get the key of the key-value pair pointed to by the iterator. RIM_INLINE K& getKey() const { return currentEntry->key; } /// Get the key hash of the key-value pair pointed to by the iterator. RIM_INLINE HashType getKeyHash() const { return currentEntry->keyHash; } /// Remove the current element from the hash table. RIM_INLINE void remove() { // Backup in the bucket so that we can remove the current element. // This is potentially inefficient, it would be best if the buckets // would use a doublely linked list, but this might add extra overhead // elsewhere. // Handle removing from the start of a bucket separately. if ( currentEntry == *currentBucket ) { *currentBucket = currentEntry->next; if ( *currentBucket != NULL ) { currentEntry->next = NULL; util::destruct( currentEntry ); currentEntry = *currentBucket; } else { util::destruct( currentEntry ); currentBucket++; advanceToNextFullBucket(); } } else { // Otherwise, iterate through the bucket until we find the element // before this one. Entry* previousEntry = *currentBucket; while ( previousEntry && previousEntry->next != currentEntry ) previousEntry = previousEntry->next; previousEntry->next = currentEntry->next; Entry* temp = currentEntry; operator++(); temp->next = NULL; util::destruct( temp ); } hashMap.numElements--; } /// Reset the iterator to the beginning of the hash map. RIM_INLINE void reset() { currentBucket = hashMap.buckets; // advance until the first element advanceToNextFullBucket(); } private: //******************************************** // Private Methods /// Advance the iterator to the next non-empty bucket. RIM_INLINE void advanceToNextFullBucket() { while ( *currentBucket == NULL && currentBucket != bucketsEnd ) currentBucket++; if ( currentBucket == bucketsEnd ) currentEntry = NULL; else currentEntry = *currentBucket; } //******************************************** // Private Data Members /// The HashMap that is being iterated over. HashMap& hashMap; /// The current bucket in the HashMap. Entry** currentBucket; /// The last bucket in the HashMap. const Entry* const * const bucketsEnd; /// The current entry in the hash map that the iterator is pointing to. Entry* currentEntry; }; //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** ConstIterator Class /// A class which iterates over hash map elements without the ability to modify them. class ConstIterator { public: //******************************************** // Constructor /// Create a new hash map iterator for the specified hash map. RIM_INLINE ConstIterator( const HashMap& newHashMap ) : hashMap( newHashMap ), currentBucket( newHashMap.buckets ), bucketsEnd( newHashMap.buckets + newHashMap.numBuckets ) { // advance until the first element advanceToNextFullBucket(); } //******************************************** // Public Methods /// Increment the location of a hash map iterator by one element. RIM_INLINE void operator ++ () { currentEntry = currentEntry->next; if ( currentEntry == NULL ) { currentBucket++; advanceToNextFullBucket(); } } /// Increment the location of a hash map iterator by one element. RIM_INLINE void operator ++ ( int ) { this->operator++(); } /// Test whether or not the current element is valid. /** * This will return FALSE when the last element of the hash map * has been iterated over. */ RIM_INLINE operator Bool () const { return currentEntry != NULL; } /// Return the value of the key-value pair pointed to by the iterator. RIM_INLINE const V& operator * () const { return currentEntry->value; } /// Access the current iterator element value RIM_INLINE const V* operator -> () const { return &currentEntry->value; } /// Get the value of the key-value pair pointed to by the iterator. RIM_INLINE const V& getValue() const { return currentEntry->value; } /// Get the key of the key-value pair pointed to by the iterator. RIM_INLINE const K& getKey() const { return currentEntry->key; } /// Get the key hash of the key-value pair pointed to by the iterator. RIM_INLINE HashType getKeyHash() const { return currentEntry->keyHash; } /// Reset the iterator to the beginning of the hash map. RIM_INLINE void reset() { currentBucket = hashMap.buckets; // advance until the first element advanceToNextFullBucket(); } private: //******************************************** // Private Methods /// Advance the iterator to the next non-empty bucket. RIM_INLINE void advanceToNextFullBucket() { while ( *currentBucket == NULL && currentBucket != bucketsEnd ) currentBucket++; if ( currentBucket == bucketsEnd ) currentEntry = NULL; else currentEntry = *currentBucket; } //******************************************** // Private Data Members /// The HashMap that is being iterated over. const HashMap& hashMap; /// The current bucket in the HashMap. const Entry* const * currentBucket; /// The last bucket in the HashMap. const Entry* const * bucketsEnd; /// The current entry in the hash map that the iterator is pointing to. const Entry* currentEntry; }; //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Iterator Method /// Get a const-iterator for the hash map. RIM_INLINE ConstIterator getIterator() const { return ConstIterator(*this); } /// Get an iterator for the hash map that can modify the hash map. RIM_INLINE Iterator getIterator() { return Iterator(*this); } //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Load Factor Accessor Methods RIM_INLINE void setLoadFactor( Float newLoadFactor ) { loadFactor = math::clamp( newLoadFactor, 0.1f, 5.0f ); loadThreshold = Size(loadFactor*numBuckets); // Check the load constraint, if necessary, increase the size of the table. if ( numElements > loadThreshold ) resize( math::nextPowerOf2Prime( numBuckets + 1 ) ); } RIM_INLINE Float getLoadFactor() const { return loadFactor; } private: //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Private Methods void resize( HashType newNumBuckets ) { Entry** oldBuckets = buckets; HashType oldNumBuckets = numBuckets; // initialize all buckets and resize the array numBuckets = newNumBuckets; loadThreshold = Size(loadFactor*numBuckets); buckets = util::allocate<Entry*>(numBuckets); nullBuckets(); // add old elements to the hash map. Entry** oldBucket = oldBuckets; const Entry* const * const oldBucketsEnd = oldBucket + oldNumBuckets; while ( oldBucket != oldBucketsEnd ) { Entry* oldEntry = *oldBucket; while ( oldEntry ) { Entry** bucket = buckets + oldEntry->keyHash % numBuckets; // Add the old element to the end of the bucket. if ( *bucket == NULL ) { *bucket = oldEntry; oldEntry = oldEntry->next; (*bucket)->next = NULL; } else { Entry* entry = *bucket; while ( entry->next ) entry = entry->next; entry->next = oldEntry; oldEntry = oldEntry->next; entry->next->next = NULL; } } oldBucket++; } // deallocate all memory currently used by the old buckets util::deallocate(oldBuckets); } RIM_INLINE void nullBuckets() { Entry** bucket = buckets; const Entry* const * const bucketsEnd = bucket + numBuckets; while ( bucket != bucketsEnd ) { *bucket = NULL; bucket++; } } RIM_INLINE static void deleteBuckets( Entry** buckets, HashType numBuckets ) { // Delete all entries Entry** entry = buckets; const Entry* const * const entryEnd = entry + numBuckets; while ( entry != entryEnd ) { if ( *entry ) util::destruct(*entry); entry++; } // Delete the bucket array. util::deallocate(buckets); } //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Private Data Members /// A pointer to an array of pointers to the buckets for this hash map. Entry** buckets; /// The total number of buckets that are part of this hash map. Size numBuckets; /// The total number of entries that are stored in this hash map. Size numElements; /// The fraction of the number of buckets that the hash map can have filled before it resizes. Float loadFactor; /// The maximum number of elements this hash map can have before it is resized. /** * This value is computed as the load factor multiplied with the number of buckets. */ Size loadThreshold; //******************************************************************************** //******************************************************************************** //******************************************************************************** //****** Private Static Data Members static const Size DEFAULT_NUMBER_OF_BUCKETS = 19; static const Float DEFAULT_LOAD_FACTOR; }; template < typename K, typename V, typename HashType > const Float HashMap<K,V,HashType>:: DEFAULT_LOAD_FACTOR = 0.5f; //########################################################################################## //*************************** End Rim Utilities Namespace ******************************** RIM_UTILITIES_NAMESPACE_END //****************************************************************************************** //########################################################################################## #endif // INCLUDE_RIM_HASH_MAP_H
[ "niti1987@gmail.com" ]
niti1987@gmail.com
3a103760b0518fbe552ce41c0b9e91885d033c29
e0f08f8cc9f0547a55b2263bd8b9ee17dcb6ed8c
/Contests/practice_4/twopalin.cpp
6d001cc8ee14f5c6eb8778725fd818171b28ec24
[ "MIT" ]
permissive
aqfaridi/Competitve-Programming-Codes
437756101f45d431e4b4a14f4d461e407a7df1e9
d055de2f42d3d6bc36e03e67804a1dd6b212241f
refs/heads/master
2021-01-10T13:56:04.424041
2016-02-15T08:03:51
2016-02-15T08:03:51
51,711,974
0
0
null
null
null
null
UTF-8
C++
false
false
758
cpp
#include <bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int,int> pii; #define endl '\n' int n,result; int marked_this[26]; string s1,s2; int base(string &s1){ int a = 0; memset(marked_this,0,sizeof marked_this); for(int i=0;i<n;i++) marked_this[s1[i]-'a']++; for(int i=0;i<26;i++) if(marked_this[i]) a++; return a; } void solve(int pos){ if(pos == n){ int a = 0 , b = 0; a = base(s1); b = base(s2); result = min(result,max(a,b)); return; } swap(s1[pos],s2[pos]); solve(pos+1); swap(s1[pos],s2[pos]); solve(pos+1); } int main() { ios::sync_with_stdio(false); cin.tie(0); int t; cin>>t; while(t--) { cin>>n; cin>>s1; cin>>s2; result = INT_MAX; solve(0); cout<<result<<endl; } return 0; }
[ "aqfaridi@gmail.com" ]
aqfaridi@gmail.com
b9656415e8b19f645a563e90f2395228cfe32abb
029c481b44b44c42605a8a828c358af39679300f
/automata/2558.cpp
daf7d7d57e3006991f3e6b319d3a3b11d777341d
[]
no_license
cbajs12/BOJ
93f4406c8820b834a48166f18abf89b7481cab7e
1e6ac6c98fe1336dd48db146199f8ebe7c4e216f
refs/heads/master
2020-05-29T12:23:11.757012
2019-06-08T12:14:58
2019-06-08T12:14:58
68,577,265
0
0
null
null
null
null
UTF-8
C++
false
false
259
cpp
#include <iostream> using namespace std; int main(void){ int a, b; cin>>a; cin>>b; if(a > 10 || a < 0) return 0; if(b > 10 || b < 0) return 0; int c = a+b; if(c > 10) return 0; printf("%d", c); }
[ "cbajs20@gmail.com" ]
cbajs20@gmail.com
7b3c9d9c354165200bfcae2623b28f80b37a10eb
e45b411ed064c9f4323d38cadae04b3a7b458fbc
/CIS375Project/Time.h
1e9c485dcdc33fa3a48f1e7bae7391cd056891a8
[]
no_license
oajerd/CIS375-Project
1c8e42b976d6de9f9b16c2e3faaf54f257c80944
5621d83eaa62feec504196919ca717b9bd0f0663
refs/heads/master
2020-04-29T13:39:10.613696
2019-04-22T19:27:10
2019-04-22T19:27:10
176,174,754
0
0
null
null
null
null
UTF-8
C++
false
false
494
h
#ifndef _TIME_H #define _TIME_H #include <iomanip> struct Time { public: int hours; int minutes; Time(int h = 0, int m = 0) { hours = h; minutes = m; } void setTime(int h = 0, int m = 0) { hours = h; minutes = m; } void operator =(const Time& obj) { hours = obj.hours; minutes = obj.minutes; } string displayTime() { string m = ""; if (minutes < 10) { m = "0"; } return to_string(hours) + ":" + m + to_string(minutes); } }; #endif
[ "abdelhaq642@gmail.com" ]
abdelhaq642@gmail.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
bf6fb23e992eef1f5acce44fe9a90be5e1704040
9c6f5fbb43a00fdd4838d78b4299cdf2c34e279b
/tdt/cvs/driver/player2_191/player/codec/codec_mme_video_theora.cpp
71b75b2445aa7425ecc7bca6a68768bccc0352ab
[]
no_license
TitanNit/tdt
90ac830771170abc96255457ef59780687ff0a47
22a09713b68c881fd1d4e4f6247b314cd52f4d7a
refs/heads/master
2021-01-17T09:50:39.729337
2016-05-06T13:26:53
2016-05-06T13:26:53
34,450,580
2
2
null
null
null
null
UTF-8
C++
false
false
34,988
cpp
/************************************************************************ Copyright (C) 2007 STMicroelectronics. All Rights Reserved. This file is part of the Player2 Library. Player2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. Player2 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 player2; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. The Player2 Library may alternatively be licensed under a proprietary license from ST. Source file name : codec_mme_video_theora.cpp Author : Julian Implementation of the Ogg Theora video codec class for player 2. Date Modification Name ---- ------------ -------- 10-Mar-08 Created Julian ************************************************************************/ // ///////////////////////////////////////////////////////////////////// // // Include any component headers #include "theora.h" #include "codec_mme_video_theora.h" #include "allocinline.h" // ///////////////////////////////////////////////////////////////////////// // // Locally defined constants // //{{{ Locally defined structures typedef struct TheoraCodecStreamParameterContext_s { CodecBaseStreamParameterContext_t BaseContext; } TheoraCodecStreamParameterContext_t; typedef struct TheoraCodecDecodeContext_s { CodecBaseDecodeContext_t BaseContext; THEORA_TransformParam_t DecodeParameters; THEORA_ReturnParams_t DecodeStatus; } TheoraCodecDecodeContext_t; #define BUFFER_THEORA_CODEC_STREAM_PARAMETER_CONTEXT "TheoraCodecStreamParameterContext" #define BUFFER_THEORA_CODEC_STREAM_PARAMETER_CONTEXT_TYPE {BUFFER_THEORA_CODEC_STREAM_PARAMETER_CONTEXT, BufferDataTypeBase, AllocateFromOSMemory, 32, 0, true, true, sizeof(TheoraCodecStreamParameterContext_t)} static BufferDataDescriptor_t TheoraCodecStreamParameterContextDescriptor = BUFFER_THEORA_CODEC_STREAM_PARAMETER_CONTEXT_TYPE; #define BUFFER_THEORA_CODEC_DECODE_CONTEXT "TheoraCodecDecodeContext" #define BUFFER_THEORA_CODEC_DECODE_CONTEXT_TYPE {BUFFER_THEORA_CODEC_DECODE_CONTEXT, BufferDataTypeBase, AllocateFromOSMemory, 32, 0, true, true, sizeof(TheoraCodecDecodeContext_t)} static BufferDataDescriptor_t TheoraCodecDecodeContextDescriptor = BUFFER_THEORA_CODEC_DECODE_CONTEXT_TYPE; //}}} //{{{ C Callback stub // ////////////////////////////////////////////////////////////////////////////////////////////////// // // C wrapper for the MME callback // typedef void (*MME_GenericCallback_t) (MME_Event_t Event, MME_Command_t * CallbackData, void *UserData); static void MMECallbackStub( MME_Event_t Event, MME_Command_t *CallbackData, void *UserData ) { Codec_MmeBase_c *Self = (Codec_MmeBase_c *)UserData; CODEC_DEBUG("%s\n",__FUNCTION__); Self->CallbackFromMME( Event, CallbackData ); return; } //}}} //{{{ Constructor // ///////////////////////////////////////////////////////////////////////// // // Cosntructor function, fills in the codec specific parameter values // Codec_MmeVideoTheora_c::Codec_MmeVideoTheora_c( void ) { Configuration.CodecName = "Theora video"; Configuration.DecodeOutputFormat = FormatVideo420_Planar; Configuration.StreamParameterContextCount = 1; Configuration.StreamParameterContextDescriptor = &TheoraCodecStreamParameterContextDescriptor; Configuration.DecodeContextCount = 4; Configuration.DecodeContextDescriptor = &TheoraCodecDecodeContextDescriptor; Configuration.MaxDecodeIndicesPerBuffer = 2; Configuration.SliceDecodePermitted = false; Configuration.DecimatedDecodePermitted = false; Configuration.TransformName[0] = THEORADEC_MME_TRANSFORMER_NAME "0"; Configuration.TransformName[1] = THEORADEC_MME_TRANSFORMER_NAME "1"; Configuration.AvailableTransformers = 2; Configuration.SizeOfTransformCapabilityStructure = 0; Configuration.TransformCapabilityStructurePointer = NULL; // The video firmware violates the MME spec. and passes data buffer addresses // as parametric information. For this reason it requires physical addresses // to be used. //Configuration.AddressingMode = PhysicalAddress; Configuration.AddressingMode = UnCachedAddress; // We do not need the coded data after decode is complete Configuration.ShrinkCodedDataBuffersAfterDecode = true; #if (THEORADEC_MME_VERSION < 20) TheoraInitializationParameters.CodedWidth = THEORA_DEFAULT_PICTURE_WIDTH; TheoraInitializationParameters.CodedHeight = THEORA_DEFAULT_PICTURE_HEIGHT; TheoraInitializationParameters.CodecVersion = THEORA_DEFAULT_CODEC_VERSION; TheoraInitializationParameters.theora_tables = 0; #else CodedWidth = THEORA_DEFAULT_PICTURE_WIDTH; CodedHeight = THEORA_DEFAULT_PICTURE_HEIGHT; InfoHeaderMemoryDevice = NULL; CommentHeaderMemoryDevice = NULL; SetupHeaderMemoryDevice = NULL; BufferMemoryDevice = NULL; #endif RestartTransformer = false; Reset(); } //}}} //{{{ Destructor // ///////////////////////////////////////////////////////////////////////// // // Destructor function, ensures a full halt and reset // are executed for all levels of the class. // Codec_MmeVideoTheora_c::~Codec_MmeVideoTheora_c( void ) { Halt(); Reset(); } //}}} //{{{ Reset // ///////////////////////////////////////////////////////////////////////// // // Reset function for Theora specific members. // // CodecStatus_t Codec_MmeVideoTheora_c::Reset( void ) { if (InfoHeaderMemoryDevice != NULL) { AllocatorClose (InfoHeaderMemoryDevice); InfoHeaderMemoryDevice = NULL; } if (CommentHeaderMemoryDevice != NULL) { AllocatorClose (CommentHeaderMemoryDevice); CommentHeaderMemoryDevice = NULL; } if (SetupHeaderMemoryDevice != NULL) { AllocatorClose (SetupHeaderMemoryDevice); SetupHeaderMemoryDevice = NULL; } if (BufferMemoryDevice != NULL) { AllocatorClose (BufferMemoryDevice); BufferMemoryDevice = NULL; } return Codec_MmeVideo_c::Reset(); } //}}} //{{{ HandleCapabilities // ///////////////////////////////////////////////////////////////////////// // // Function to deal with the returned capabilities // structure for an Theora mme transformer. // CodecStatus_t Codec_MmeVideoTheora_c::HandleCapabilities( void ) { CODEC_TRACE ("MME Transformer '%s' capabilities are :-\n", THEORADEC_MME_TRANSFORMER_NAME); CODEC_TRACE(" display_buffer_size %d\n", TheoraTransformCapability.display_buffer_size); CODEC_TRACE(" packed_buffer_size %d\n", TheoraTransformCapability.packed_buffer_size); CODEC_TRACE(" packed_buffer_total %d\n", TheoraTransformCapability.packed_buffer_total); return CodecNoError; } //}}} //{{{ InitializeMMETransformer /////////////////////////////////////////////////////////////////////////// /// /// Verify that the transformer exists /// CodecStatus_t Codec_MmeVideoTheora_c::InitializeMMETransformer( void ) { MME_ERROR MMEStatus; MME_TransformerCapability_t Capability; memset( &Capability, 0, sizeof(MME_TransformerCapability_t) ); memset( Configuration.TransformCapabilityStructurePointer, 0x00, Configuration.SizeOfTransformCapabilityStructure ); Capability.StructSize = sizeof(MME_TransformerCapability_t); Capability.TransformerInfoSize = Configuration.SizeOfTransformCapabilityStructure; Capability.TransformerInfo_p = Configuration.TransformCapabilityStructurePointer; MMEStatus = MME_GetTransformerCapability( Configuration.TransformName[SelectedTransformer], &Capability ); if (MMEStatus != MME_SUCCESS) { if (MMEStatus == MME_UNKNOWN_TRANSFORMER) CODEC_ERROR("(%s) - Transformer %s not found.\n", Configuration.CodecName, Configuration.TransformName[SelectedTransformer]); else CODEC_ERROR("(%s:%s) - Unable to read capabilities (%08x).\n", Configuration.CodecName, Configuration.TransformName[SelectedTransformer], MMEStatus); return CodecError; } return HandleCapabilities (); } //}}} //{{{ FillOutTransformerInitializationParameters // ///////////////////////////////////////////////////////////////////////// // // Function to deal with the returned capabilities // structure for an Theora mme transformer. // CodecStatus_t Codec_MmeVideoTheora_c::FillOutTransformerInitializationParameters( void ) { // The command parameters CODEC_TRACE ("%s\n", __FUNCTION__); CODEC_TRACE(" CodedWidth %6u\n", CodedWidth); CODEC_TRACE(" CodedHeight %6u\n", CodedHeight); #if (THEORADEC_MME_VERSION < 20) CODEC_TRACE(" CodecVersion %6x\n", TheoraInitializationParameters.CodecVersion); #endif // Fillout the actual command MMEInitializationParameters.TransformerInitParamsSize = sizeof(THEORA_InitTransformerParam_t); MMEInitializationParameters.TransformerInitParams_p = (MME_GenericParams_t)(&TheoraInitializationParameters); return CodecNoError; } //}}} //{{{ SendMMEStreamParameters CodecStatus_t Codec_MmeVideoTheora_c::SendMMEStreamParameters (void) { CodecStatus_t CodecStatus = CodecNoError; unsigned int MMEStatus = MME_SUCCESS; CODEC_TRACE("%s\n", __FUNCTION__); // There are no set stream parameters for Rmv decoder so the transformer is // terminated and restarted when required (i.e. if width or height change). if (RestartTransformer) { TerminateMMETransformer(); memset (&MMEInitializationParameters, 0x00, sizeof(MME_TransformerInitParams_t)); MMEInitializationParameters.Priority = MME_PRIORITY_NORMAL; MMEInitializationParameters.StructSize = sizeof(MME_TransformerInitParams_t); MMEInitializationParameters.Callback = &MMECallbackStub; MMEInitializationParameters.CallbackUserData = this; FillOutTransformerInitializationParameters (); CODEC_TRACE("%s: Initilising Theora transformer %s\n",__FUNCTION__, Configuration.TransformName[SelectedTransformer]); MMEStatus = MME_InitTransformer (Configuration.TransformName[SelectedTransformer], &MMEInitializationParameters, &MMEHandle); if (MMEStatus == MME_SUCCESS) { CodecStatus = CodecNoError; RestartTransformer = false; ParsedFrameParameters->NewStreamParameters = false; MMEInitialized = true; } } // // The base class has very helpfully acquired a stream // parameters context for us which we must release. // But only if everything went well, otherwise the callers // will helpfully release it as well (Nick). // if (CodecStatus == CodecNoError) StreamParameterContextBuffer->DecrementReferenceCount (); // return CodecStatus; } //}}} //{{{ FillOutSetStreamParametersCommand // ///////////////////////////////////////////////////////////////////////// // // Function to fill out the stream parameters // structure for an Theora mme transformer. // CodecStatus_t Codec_MmeVideoTheora_c::FillOutSetStreamParametersCommand( void ) { TheoraStreamParameters_t* Parsed = (TheoraStreamParameters_t*)ParsedFrameParameters->StreamParameterStructure; TheoraVideoSequence_t* SequenceHeader = &Parsed->SequenceHeader; CODEC_DEBUG("%s\n", __FUNCTION__); #if (THEORADEC_MME_VERSION < 20) CodedWidth = SequenceHeader->DecodedWidth; CodedHeight = SequenceHeader->DecodedHeight; TheoraInitializationParameters.CodedWidth = SequenceHeader->DecodedWidth; TheoraInitializationParameters.CodedHeight = SequenceHeader->DecodedHeight; TheoraInitializationParameters.CodecVersion = SequenceHeader->Version; TheoraInitializationParameters.theora_tables = 1; memcpy (TheoraInitializationParameters.filter_limit_values, SequenceHeader->LoopFilterLimit, sizeof(TheoraInitializationParameters.filter_limit_values)); memcpy (TheoraInitializationParameters.coded_ac_scale_factor, SequenceHeader->AcScale, sizeof(TheoraInitializationParameters.coded_ac_scale_factor)); memcpy (TheoraInitializationParameters.coded_dc_scale_factor, SequenceHeader->DcScale, sizeof(TheoraInitializationParameters.coded_ac_scale_factor)); memcpy (TheoraInitializationParameters.base_matrix, SequenceHeader->BaseMatrix, sizeof(TheoraInitializationParameters.base_matrix)); memcpy (TheoraInitializationParameters.qr_count, SequenceHeader->QRCount, sizeof(TheoraInitializationParameters.qr_count)); memcpy (TheoraInitializationParameters.qr_size, SequenceHeader->QRSize, sizeof(TheoraInitializationParameters.qr_size)); memcpy (TheoraInitializationParameters.qr_base, SequenceHeader->QRBase, sizeof(TheoraInitializationParameters.qr_base)); TheoraInitializationParameters.hti = SequenceHeader->hti; TheoraInitializationParameters.hbits = SequenceHeader->HBits; TheoraInitializationParameters.entries = SequenceHeader->Entries; TheoraInitializationParameters.huff_code_size = SequenceHeader->HuffmanCodeSize; memcpy (TheoraInitializationParameters.huffman_table, SequenceHeader->HuffmanTable, sizeof(TheoraInitializationParameters.huffman_table)); //{{{ Trace #if 0 { int qi, bmi, qti, pli, ci; report (severity_info, "Filter Limit values:\n"); for (qi=0; qi<64; qi++) { report (severity_info, "%02x ", TheoraInitializationParameters.filter_limit_values[qi]); if (((qi+1)&0x1f)== 0) report (severity_info, "\n"); } report (severity_info, "\nAC Scale:\n"); for (qi=0; qi<64; qi++) { report (severity_info, "%08x ", TheoraInitializationParameters.coded_ac_scale_factor[qi]); if (((qi+1)&0x07)== 0) report (severity_info, "\n"); } report (severity_info, "\nDC Scale:\n"); for (qi=0; qi<64; qi++) { report (severity_info, "%04x ", TheoraInitializationParameters.coded_dc_scale_factor[qi]); if (((qi+1)&0x0f)== 0) report (severity_info, "\n"); } report (severity_info, "\nBm Indexes %d\n", 3); for (bmi=0; bmi<3; bmi++) { report (severity_info, "%d:\n", bmi); for (ci=0; ci<64; ci++) { report (severity_info, "%02x ", TheoraInitializationParameters.base_matrix[bmi][ci]); if (((ci+1)&0x1f)== 0) report (severity_info, "\n"); } } report (severity_info, "\nQR Counts\n"); for (qti=0; qti<=1; qti++) { report (severity_info, "%d:\n", qti); for (pli=0; pli<=2; pli++) report (severity_info, "%02x ", TheoraInitializationParameters.qr_count[qti][pli]); } if (((ci+1)&0x1f)== 0) report (severity_info, "\n"); { } report (severity_info, "\nQR Size\n"); for (qti=0; qti<=1; qti++) { for (pli=0; pli<=2; pli++) { report (severity_info, "%d:%d:\n", qti, pli); for (qi=0; qi<64; qi++) { report (severity_info, "%02x ", TheoraInitializationParameters.qr_size[qti][pli][qi]); if (((qi+1)&0x1f)== 0) report (severity_info, "\n"); } } } report (severity_info, "\nQR Base\n"); for (qti=0; qti<=1; qti++) { for (pli=0; pli<=2; pli++) { report (severity_info, "%d:%d:\n", qti, pli); for (qi=0; qi<64; qi++) { report (severity_info, "%04x ", TheoraInitializationParameters.qr_base[qti][pli][qi]); if (((qi+1)&0x0f)== 0) report (severity_info, "\n"); } } } report (severity_info, "\nHuffman table hti %d, hbits %d, entries %d, huffman_code_size %d\n", TheoraInitializationParameters.hti, TheoraInitializationParameters.hbits, TheoraInitializationParameters.entries, TheoraInitializationParameters.huff_code_size); for (qti=0; qti<80; qti++) { report (severity_info, "%d:\n", qti); for (pli=0; pli<32; pli++) { report (severity_info, "(%04x %04x)", TheoraInitializationParameters.huffman_table[qti][pli][0],TheoraInitializationParameters.huffman_table[qti][pli][1]); if (((pli+1)&0x07)== 0) report (severity_info, "\n"); } report (severity_info, "\n"); } } #endif //}}} #else { allocator_status_t AStatus; CodedWidth = SequenceHeader->DecodedWidth; CodedHeight = SequenceHeader->DecodedHeight; if (SequenceHeader->PixelFormat == THEORA_PIXEL_FORMAT_422) { CODEC_TRACE("Switching to 422 planar format\n"); Configuration.DecodeOutputFormat = FormatVideo422_Planar; } else Configuration.DecodeOutputFormat = FormatVideo420_Planar; // Default to 420 for now if (InfoHeaderMemoryDevice != NULL) { AllocatorClose (InfoHeaderMemoryDevice); InfoHeaderMemoryDevice = NULL; } if (CommentHeaderMemoryDevice != NULL) { AllocatorClose (CommentHeaderMemoryDevice); CommentHeaderMemoryDevice = NULL; } if (SetupHeaderMemoryDevice != NULL) { AllocatorClose (SetupHeaderMemoryDevice); SetupHeaderMemoryDevice = NULL; } if (BufferMemoryDevice != NULL) { AllocatorClose (BufferMemoryDevice); BufferMemoryDevice = NULL; } CODEC_TRACE("Allocating %d bytes for info header:\n", SequenceHeader->InfoHeaderSize); AStatus = LmiAllocatorOpen (&InfoHeaderMemoryDevice, SequenceHeader->InfoHeaderSize, true); if( AStatus != allocator_ok ) { CODEC_ERROR ("Failed to allocate info header memory\n" ); return CodecError; } CODEC_TRACE("Allocating %d bytes for comment header\n", SequenceHeader->CommentHeaderSize); AStatus = LmiAllocatorOpen (&CommentHeaderMemoryDevice, SequenceHeader->CommentHeaderSize, true); if( AStatus != allocator_ok ) { CODEC_ERROR ("Failed to allocate comment header memory\n" ); return CodecError; } CODEC_TRACE("Allocating %d bytes for setup header\n", SequenceHeader->SetupHeaderSize); AStatus = LmiAllocatorOpen (&SetupHeaderMemoryDevice, SequenceHeader->SetupHeaderSize, true); if( AStatus != allocator_ok ) { CODEC_ERROR ("Failed to allocate setup header memory\n" ); return CodecError; } TheoraInitializationParameters.InfoHeader.Data = (U32)AllocatorPhysicalAddress (InfoHeaderMemoryDevice); TheoraInitializationParameters.InfoHeader.Size = SequenceHeader->InfoHeaderSize;; memcpy (AllocatorUncachedUserAddress (InfoHeaderMemoryDevice), SequenceHeader->InfoHeaderBuffer, SequenceHeader->InfoHeaderSize); TheoraInitializationParameters.CommentHeader.Data = (U32)AllocatorPhysicalAddress (CommentHeaderMemoryDevice); TheoraInitializationParameters.CommentHeader.Size = SequenceHeader->CommentHeaderSize;; memcpy (AllocatorUncachedUserAddress (CommentHeaderMemoryDevice), SequenceHeader->CommentHeaderBuffer, SequenceHeader->CommentHeaderSize); TheoraInitializationParameters.SetUpHeader.Data = (U32)AllocatorPhysicalAddress (SetupHeaderMemoryDevice); TheoraInitializationParameters.SetUpHeader.Size = SequenceHeader->SetupHeaderSize;; memcpy (AllocatorUncachedUserAddress (SetupHeaderMemoryDevice), SequenceHeader->SetupHeaderBuffer, SequenceHeader->SetupHeaderSize); #if (THEORADEC_MME_VERSION >= 30) { unsigned int yhfrags = CodedWidth >> 3; unsigned int yvfrags = CodedHeight >> 3; unsigned int hdec = !(SequenceHeader->PixelFormat & 1); unsigned int vdec = !(SequenceHeader->PixelFormat & 2); unsigned int chfrags = (yhfrags + hdec) >> hdec; unsigned int cvfrags = (yvfrags + vdec) >> vdec; unsigned int yfrags = yhfrags * yvfrags; unsigned int cfrags = chfrags * cvfrags; unsigned int num_8x8_blocks = yfrags + (2 * cfrags); unsigned int CoefficientBufferSize = (64 * 3 * num_8x8_blocks) + 512; CODEC_TRACE("Allocating %d bytes for buffer memory\n", CoefficientBufferSize); AStatus = LmiAllocatorOpen (&BufferMemoryDevice, CoefficientBufferSize, true); if (AStatus != allocator_ok) { CODEC_ERROR ("Failed to allocate buffer memory\n" ); return CodecError; } TheoraInitializationParameters.CoefficientBuffer = (U32)AllocatorPhysicalAddress (BufferMemoryDevice); } #else CODEC_TRACE("Allocating %d bytes for buffer memory\n", THEORA_BUFFER_SIZE); AStatus = LmiAllocatorOpen (&BufferMemoryDevice, THEORA_BUFFER_SIZE, true); if( AStatus != allocator_ok ) { CODEC_ERROR ("Failed to allocate buffer memory\n" ); return CodecError; } TheoraInitializationParameters.Buffer.Data = (U32)AllocatorPhysicalAddress (BufferMemoryDevice); TheoraInitializationParameters.Buffer.Size = THEORA_BUFFER_SIZE; #endif #if 0 unsigned char* Buff; Buff = (unsigned char*)AllocatorUncachedUserAddress (InfoHeaderMemoryDevice); for (int i=0;i<32; i++) report (severity_info, "%02x ", Buff[i]); report (severity_info, "\n"); Buff = (unsigned char*)AllocatorUncachedUserAddress (CommentHeaderMemoryDevice); for (int i=0;i<32; i++) report (severity_info, "%02x ", Buff[i]); report (severity_info, "\n"); Buff = (unsigned char*)AllocatorUncachedUserAddress (SetupHeaderMemoryDevice); for (int i=0;i<32; i++) report (severity_info, "%02x ", Buff[i]); report (severity_info, "\n"); #endif } #endif RestartTransformer = true; return CodecNoError; } //}}} //{{{ FillOutDecodeCommand // ///////////////////////////////////////////////////////////////////////// // // Function to fill out the decode parameters // structure for an Theora mme transformer. // CodecStatus_t Codec_MmeVideoTheora_c::FillOutDecodeCommand( void ) { TheoraCodecDecodeContext_t* Context = (TheoraCodecDecodeContext_t*)DecodeContext; //TheoraFrameParameters_t* Frame = (TheoraFrameParameters_t*)ParsedFrameParameters->FrameParameterStructure; //TheoraVideoSequence_t* SequenceHeader = &Stream->SequenceHeader; THEORA_TransformParam_t* Param; THEORA_ParamPicture_t* Picture; unsigned int i; CODEC_DEBUG("%s:%d (%dx%d)\n", __FUNCTION__, CodedDataLength, CodedWidth, CodedHeight); // // For Theora we do not do slice decodes. // KnownLastSliceInFieldFrame = true; // // Fillout the straight forward command parameters // Param = &Context->DecodeParameters; Picture = &Param->PictureParameters; Picture->StructSize = sizeof (THEORA_ParamPicture_t); Picture->PictureStartOffset = 0; // Picture starts at beginning of buffer Picture->PictureStopOffset = CodedDataLength; // // Fillout the actual command // memset (&DecodeContext->MMECommand, 0x00, sizeof(MME_Command_t)); DecodeContext->MMECommand.CmdStatus.AdditionalInfoSize = sizeof(THEORA_ReturnParams_t); DecodeContext->MMECommand.CmdStatus.AdditionalInfo_p = (MME_GenericParams_t*)&Context->DecodeStatus; DecodeContext->MMECommand.StructSize = sizeof (MME_Command_t); DecodeContext->MMECommand.CmdCode = MME_TRANSFORM; DecodeContext->MMECommand.CmdEnd = MME_COMMAND_END_RETURN_NOTIFY; DecodeContext->MMECommand.DueTime = (MME_Time_t)0; DecodeContext->MMECommand.NumberInputBuffers = THEORA_NUM_MME_INPUT_BUFFERS; DecodeContext->MMECommand.NumberOutputBuffers = THEORA_NUM_MME_OUTPUT_BUFFERS; DecodeContext->MMECommand.DataBuffers_p = (MME_DataBuffer_t**)DecodeContext->MMEBufferList; DecodeContext->MMECommand.ParamSize = sizeof(THEORA_TransformParam_t); DecodeContext->MMECommand.Param_p = (MME_GenericParams_t)Param; //{{{ Fill in details for all buffers for (i = 0; i < THEORA_NUM_MME_BUFFERS; i++) { DecodeContext->MMEBufferList[i] = &DecodeContext->MMEBuffers[i]; DecodeContext->MMEBuffers[i].StructSize = sizeof (MME_DataBuffer_t); DecodeContext->MMEBuffers[i].UserData_p = NULL; DecodeContext->MMEBuffers[i].Flags = 0; DecodeContext->MMEBuffers[i].StreamNumber = 0; DecodeContext->MMEBuffers[i].NumberOfScatterPages = 1; DecodeContext->MMEBuffers[i].ScatterPages_p = &DecodeContext->MMEPages[i]; DecodeContext->MMEBuffers[i].StartOffset = 0; } //}}} // Then overwrite bits specific to other buffers //{{{ Input compressed data buffer - need pointer to coded data and its length DecodeContext->MMEBuffers[THEORA_MME_CODED_DATA_BUFFER].ScatterPages_p[0].Page_p = (void*)CodedData; DecodeContext->MMEBuffers[THEORA_MME_CODED_DATA_BUFFER].TotalSize = CodedDataLength; #if 0 report (severity_info, "Picture (%d)\n", CodedDataLength); extern "C"{void flush_cache_all();}; flush_cache_all(); for (i=0; i<32; i++) report (severity_info, "%02x ", CodedData[i]); report (severity_info, "\n"); #endif //}}} //{{{ Current output decoded buffer DecodeContext->MMEBuffers[THEORA_MME_CURRENT_FRAME_BUFFER].ScatterPages_p[0].Page_p = (void*)(void*)BufferState[CurrentDecodeBufferIndex].BufferLumaPointer; DecodeContext->MMEBuffers[THEORA_MME_CURRENT_FRAME_BUFFER].TotalSize = (CodedWidth * CodedHeight * 3)/2; //}}} //{{{ Previous decoded buffer - get its planar buffer if (DecodeContext->ReferenceFrameList[0].EntryCount > 0) { unsigned int Entry = DecodeContext->ReferenceFrameList[0].EntryIndicies[0]; DecodeContext->MMEBuffers[THEORA_MME_REFERENCE_FRAME_BUFFER].ScatterPages_p[0].Page_p = (void*)(void*)BufferState[Entry].BufferLumaPointer; DecodeContext->MMEBuffers[THEORA_MME_REFERENCE_FRAME_BUFFER].TotalSize = (CodedWidth * CodedHeight * 3)/2; } //}}} //{{{ Golden frame decoded buffer - get its planar buffer if (DecodeContext->ReferenceFrameList[0].EntryCount == 2) { unsigned int Entry = DecodeContext->ReferenceFrameList[0].EntryIndicies[1]; DecodeContext->MMEBuffers[THEORA_MME_GOLDEN_FRAME_BUFFER].ScatterPages_p[0].Page_p = (void*)(void*)BufferState[Entry].BufferLumaPointer; DecodeContext->MMEBuffers[THEORA_MME_GOLDEN_FRAME_BUFFER].TotalSize = (CodedWidth * CodedHeight * 3)/2; } //}}} //{{{ Initialise remaining scatter page values for (i = 0; i < THEORA_NUM_MME_BUFFERS; i++) { // Only one scatterpage, so size = totalsize DecodeContext->MMEBuffers[i].ScatterPages_p[0].Size = DecodeContext->MMEBuffers[i].TotalSize; DecodeContext->MMEBuffers[i].ScatterPages_p[0].BytesUsed = 0; DecodeContext->MMEBuffers[i].ScatterPages_p[0].FlagsIn = 0; DecodeContext->MMEBuffers[i].ScatterPages_p[0].FlagsOut = 0; } //}}} #if 0 // Initialise decode buffers to bright pink unsigned int LumaSize = (DecodingWidth+32)*(DecodingHeight+32); unsigned char* LumaBuffer = (unsigned char*)DecodeContext->MMEBuffers[THEORA_MME_CURRENT_FRAME_BUFFER].ScatterPages_p[0].Page_p; unsigned char* ChromaBuffer = &LumaBuffer[LumaSize]; memset (LumaBuffer, 0xff, LumaSize); memset (ChromaBuffer, 0xff, LumaSize/2); #endif #if 0 for (i = 0; i < (THEORA_NUM_MME_BUFFERS); i++) { #if 0 CODEC_TRACE ("Buffer List (%d) %x\n",i,DecodeContext->MMEBufferList[i]); CODEC_TRACE ("Struct Size (%d) %x\n",i,DecodeContext->MMEBuffers[i].StructSize); CODEC_TRACE ("User Data p (%d) %x\n",i,DecodeContext->MMEBuffers[i].UserData_p); CODEC_TRACE ("Flags (%d) %x\n",i,DecodeContext->MMEBuffers[i].Flags); CODEC_TRACE ("Stream Number (%d) %x\n",i,DecodeContext->MMEBuffers[i].StreamNumber); CODEC_TRACE ("No Scatter Pages (%d) %x\n",i,DecodeContext->MMEBuffers[i].NumberOfScatterPages); #endif CODEC_TRACE ("Scatter Pages p (%d) %x\n",i,DecodeContext->MMEBuffers[i].ScatterPages_p[0].Page_p); CODEC_TRACE ("Start Offset (%d) %d\n",i,DecodeContext->MMEBuffers[i].StartOffset); CODEC_TRACE ("Size (%d) %d\n\n",i,DecodeContext->MMEBuffers[i].ScatterPages_p[0].Size); } CODEC_TRACE ("Additional Size %x\n",DecodeContext->MMECommand.CmdStatus.AdditionalInfoSize); CODEC_TRACE ("Additional p %x\n",DecodeContext->MMECommand.CmdStatus.AdditionalInfo_p); CODEC_TRACE ("Param Size %x\n",DecodeContext->MMECommand.ParamSize); CODEC_TRACE ("Param p %x\n",DecodeContext->MMECommand.Param_p); #endif return CodecNoError; } //}}} //{{{ FillOutDecodeBufferRequest // ///////////////////////////////////////////////////////////////////////// // // The specific video function used to fill out a buffer structure // request. // CodecStatus_t Codec_MmeVideoTheora_c::FillOutDecodeBufferRequest( BufferStructure_t *Request ) { CODEC_DEBUG("%s\n", __FUNCTION__); //Request->Format = Configuration.DecodeOutputFormat; Codec_MmeVideo_c::FillOutDecodeBufferRequest(Request); Request->ComponentBorder[0] = 16; Request->ComponentBorder[1] = 16; return CodecNoError; } //}}} //{{{ ValidateDecodeContext //////////////////////////////////////////////////////////////////////////// /// /// Unconditionally return success. /// /// Success and failure codes are located entirely in the generic MME structures /// allowing the super-class to determine whether the decode was successful. This /// means that we have no work to do here. /// /// \return CodecNoError /// CodecStatus_t Codec_MmeVideoTheora_c::ValidateDecodeContext( CodecBaseDecodeContext_t *Context ) { CODEC_DEBUG("%s\n", __FUNCTION__); return CodecNoError; } //}}} //{{{ DumpSetStreamParameters // ///////////////////////////////////////////////////////////////////////// // // Function to dump out the set stream // parameters from an mme command. // CodecStatus_t Codec_MmeVideoTheora_c::DumpSetStreamParameters( void *Parameters ) { CODEC_TRACE ("%s\n", __FUNCTION__); return CodecNoError; } //}}} //{{{ DumpDecodeParameters // ///////////////////////////////////////////////////////////////////////// // // Function to dump out the decode // parameters from an mme command. // unsigned int TheoraStaticPicture; CodecStatus_t Codec_MmeVideoTheora_c::DumpDecodeParameters( void *Parameters ) { THEORA_TransformParam_t* FrameParams; FrameParams = (THEORA_TransformParam_t *)Parameters; CODEC_TRACE ("********** Picture %d *********\n", TheoraStaticPicture++); return CodecNoError; } //}}}
[ "konfetti@gmx.net" ]
konfetti@gmx.net
70a71f99484f45855e0345487736b55d3c1c5959
f1fd3b23ac060aeac7143e7c05d650912b83eb88
/libcef/browser/osr/browser_platform_delegate_osr.h
28871be2afcc7a2e09ee4050c720f212c1944c68
[ "BSD-3-Clause" ]
permissive
cloudscrape/cef
a8b99cedeaf3eafdc0de36701a13f3d4c84abb62
99bf1b8458b104b1bb8d2d24ce1691a248d77f37
refs/heads/master
2021-01-09T20:47:12.797880
2016-05-29T01:58:53
2016-05-29T02:00:28
60,127,479
2
0
null
null
null
null
UTF-8
C++
false
false
4,439
h
// Copyright 2015 The Chromium Embedded Framework Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CEF_LIBCEF_BROWSER_OSR_BROWSER_PLATFORM_DELEGATE_OSR_H_ #define CEF_LIBCEF_BROWSER_OSR_BROWSER_PLATFORM_DELEGATE_OSR_H_ #include "libcef/browser/browser_platform_delegate.h" #include "libcef/browser/native/browser_platform_delegate_native.h" class CefRenderWidgetHostViewOSR; class CefWebContentsViewOSR; // Base implementation of windowless browser functionality. class CefBrowserPlatformDelegateOsr : public CefBrowserPlatformDelegate, public CefBrowserPlatformDelegateNative::WindowlessHandler { public: // CefBrowserPlatformDelegate methods: void CreateViewForWebContents( content::WebContentsView** view, content::RenderViewHostDelegateView** delegate_view) override; void WebContentsCreated(content::WebContents* web_contents) override; void BrowserCreated(CefBrowserHostImpl* browser) override; void BrowserDestroyed(CefBrowserHostImpl* browser) override; void WasResized() override; void SendKeyEvent(const content::NativeWebKeyboardEvent& event) override; void SendMouseEvent(const blink::WebMouseEvent& event) override; void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; void SendFocusEvent(bool setFocus) override; gfx::Point GetScreenPoint(const gfx::Point& view) const override; void ViewText(const std::string& text) override; void HandleKeyboardEvent( const content::NativeWebKeyboardEvent& event) override; void HandleExternalProtocol(const GURL& url) override; void TranslateKeyEvent(content::NativeWebKeyboardEvent& result, const CefKeyEvent& key_event) const override; void TranslateClickEvent(blink::WebMouseEvent& result, const CefMouseEvent& mouse_event, CefBrowserHost::MouseButtonType type, bool mouseUp, int clickCount) const override; void TranslateMoveEvent(blink::WebMouseEvent& result, const CefMouseEvent& mouse_event, bool mouseLeave) const override; void TranslateWheelEvent(blink::WebMouseWheelEvent& result, const CefMouseEvent& mouse_event, int deltaX, int deltaY) const override; CefEventHandle GetEventHandle( const content::NativeWebKeyboardEvent& event) const override; std::unique_ptr<CefFileDialogRunner> CreateFileDialogRunner() override; std::unique_ptr<CefJavaScriptDialogRunner> CreateJavaScriptDialogRunner() override; std::unique_ptr<CefMenuRunner> CreateMenuRunner() override; bool IsWindowless() const override; bool IsViewsHosted() const override; void WasHidden(bool hidden) override; void NotifyScreenInfoChanged() override; void Invalidate(cef_paint_element_type_t type) override; void SetWindowlessFrameRate(int frame_rate) override; void DragTargetDragEnter(CefRefPtr<CefDragData> drag_data, const CefMouseEvent& event, cef_drag_operations_mask_t allowed_ops) override; void DragTargetDragOver(const CefMouseEvent& event, cef_drag_operations_mask_t allowed_ops) override; void DragTargetDragLeave() override; void DragTargetDrop(const CefMouseEvent& event) override; void DragSourceEndedAt(int x, int y, cef_drag_operations_mask_t op) override; void DragSourceSystemDragEnded() override; // CefBrowserPlatformDelegateNative::WindowlessHandler methods: CefWindowHandle GetParentWindowHandle() const override; gfx::Point GetParentScreenPoint(const gfx::Point& view) const override; protected: // Platform-specific behaviors will be delegated to |native_delegate|. explicit CefBrowserPlatformDelegateOsr( std::unique_ptr<CefBrowserPlatformDelegateNative> native_delegate); // Returns the primary OSR host view for the underlying browser. If a // full-screen host view currently exists then it will be returned. Otherwise, // the main host view will be returned. CefRenderWidgetHostViewOSR* GetOSRHostView() const; std::unique_ptr<CefBrowserPlatformDelegateNative> native_delegate_; CefWebContentsViewOSR* view_osr_; // Not owned by this class. }; #endif // CEF_LIBCEF_BROWSER_OSR_BROWSER_PLATFORM_DELEGATE_OSR_H_
[ "magreenblatt@gmail.com" ]
magreenblatt@gmail.com
e7a8c4e2018acb7235c246c47862cc9ab2362d8a
5b708803962e4c24dffa5d5fd1c9cf9e39ca74f8
/cubs/src/Symbol.hh
054753c262979525e09d0f61974c2ee3ea0dd7cd
[]
no_license
cptpingu/Cubs
f5911499ac195e9901584353b9f537576c82e952
dbe480c0c77ecc8eb3d6c01a01db4adb7e155c2d
refs/heads/master
2020-05-03T19:07:54.851166
2009-05-19T12:23:56
2009-05-19T12:23:56
664,450
0
1
null
null
null
null
UTF-8
C++
false
false
1,229
hh
#ifndef SYMBOL_HH_ # define SYMBOL_HH_ # include <iostream> # include "Configuration.hh" # include "SharedString.hh" namespace MiniCompiler { class Symbol { friend std::ostream& operator<<(std::ostream& o, const Symbol& symbol); public: enum type { TYPE, KEYWORD, LEFT_BRACKET, RIGHT_BRACKET, SEMI_COLON, OPERATOR, SEPARATOR, VALUE, ID, COMA, ALLOCATION, COMPARATOR, STRING_EXPR, BOOLEAN, COLON }; public: Symbol(const std::string& token, const int line); Symbol(const std::string& token, const int line, const type type); Symbol(const Symbol& symb); void operator=(const Symbol& symb); ~Symbol(); private: type findType(const std::string& token) const; static std::string typeToString(const type symbolType); static const std::string stringSizeFormatter(const std::string& s, const unsigned int size); public: bool check() const; const std::string& getText() const; int getLine() const; type getType() const; private: mystd::SharedString _text; int _line; type _type; }; std::ostream& operator<<(std::ostream& o, const Symbol& symbol); } #include "Symbol.hxx" #endif /* !SYMBOL_HH_ */
[ "cptpingu@gmail.com" ]
cptpingu@gmail.com
48ad09f6ec1269d78b24d4a0d5559e37be674e2c
924543e47fb5e50518bcb16392d8d102e44b9f09
/C++提高编程/06-模板-普通函数与函数模板调用规则.cpp
3f20458ba40a78213f4d4294047e83b7ee903a07
[]
no_license
LiuWenlin595/C-Study
037e5f7885b75119c8c2973bd353fb00d05769a7
4d86bd60af53c874a5119d1f737238c75737da1d
refs/heads/master
2023-06-29T13:11:11.971442
2021-08-07T16:08:12
2021-08-07T16:08:12
393,727,711
0
0
null
null
null
null
UTF-8
C++
false
false
1,543
cpp
#include <iostream> using namespace std; // 普通函数与函数模板调用规则(发生重载的情况) // 1. 如果函数模板和普通函数都可以实现, 优先调用普通函数, 即使普通函数只有声明也会调用普通函数然后报错 // 2. 可以通过空模板参数列表来强制调用函数模板 // 3. 函数模板也可以发生重载 // 4. 如果函数模板可以产生更好的匹配, 优先调用函数模板 // 既然提供了函数模板, 最好不要使用普通函数 int myPrint(int a, int b) { cout << "调用的普通函数" << endl; return 0; } template<typename T> T myPrint(T a, T b) { cout << "调用的函数模板" << endl; return 0; } template<typename T> T myPrint(T a, T b, T c) { cout << "调用的函数模板的重载" << endl; return 0; } int main() { // 函数模板注意事项 int a = 10; int b = 20; int c = 30; // 1. 如果函数模板和普通函数都可以实现, 优先调用普通函数, 即使普通函数只有声明也会调用普通函数然后报错 myPrint(a, b); // 2. 可以通过空模板参数列表来强制调用函数模板 myPrint<>(a, b); // 3. 函数模板也可以发生重载 myPrint(a, b, c); // 4. 如果函数模板可以产生更好的匹配, 优先调用函数模板 // 调用普通函数需要做隐式类型转换, 而函数模板可以直接指定T为char, 所以函数模板是一个更好的匹配 char c1 = 'a'; char c2 = 'b'; myPrint(c1, c2); return 0; }
[ "978714041@qq.com" ]
978714041@qq.com
82bafda00457ee173d87bde40fe7cfae0c168418
46153c4d0d3457af0f055a0e3218f0ffb9a216e3
/Codechef/CC November 2018 PRDRG.cpp
4d071e2cb5339285f58b2e74708175bedde94858
[]
no_license
iamsaquib2508/Competitive-Programminng
c494e245b88d6e0cc366a331e8adf07f541f5576
02ddc436b9b3b8da8aac2544c3047bb4376087dc
refs/heads/master
2023-05-30T19:59:33.625016
2021-07-03T21:28:54
2021-07-03T21:28:54
274,222,778
0
0
null
null
null
null
UTF-8
C++
false
false
1,092
cpp
/* *************************** DONATE BLOOD, SAVE LIFE! ******************************** */ #include<bits/stdc++.h> #define ffr(i,a,b) for(i=a;i<b;i++) #define ffrr(i,a,b) for(i=a;i<=b;i++) #define ll long long int #define ld long double #define pb push_back #define pii pair<int,int> #define plolo pair<ll,ll> #define mm(a,b) memset(a,b,sizeof(a)) #define pf printf #define xx first #define yy second #define PI acos(-1.0) #define mp make_pair using namespace std; /* *************************** DONATE BLOOD, SAVE LIFE! ******************************** */ int main() { //ios_base::sync_with_stdio(0); //cin.tie(NULL); int T, n; cin >> T; while(T--) { cin >> n; int times=n/2; int mulfour=1, up=0, i; ffr(i,0,times) { up+=mulfour; mulfour*=4; } if(n&1) { mulfour+=mulfour; up+=up; up++; } cout << up << " " << mulfour << endl; } return 0; return 0; }
[ "1505018.mmi@ugrad.cse.buet.ac.bd" ]
1505018.mmi@ugrad.cse.buet.ac.bd
91a0179224d5554623f37403ebac3d4cab6052c5
1995c9a4daf04371b1a5ffd4da93bab94f4b7d04
/src/TimeTick.cpp
dadf10a2b9ea13100b337315f8b190bd7f0e2262
[]
no_license
RomeliFeng/BWDK
06705dc713cf817d17de5cd0c567a6a00b1638cd
176eb487c7c9cefdeed4f6e26e3d84afd81a3698
refs/heads/master
2021-06-21T21:43:20.803351
2017-06-12T14:43:03
2017-06-12T14:43:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,431
cpp
/* * TimeTick.cpp * * Created on: 2017��1��11�� * Author: Romeli */ #include "TimeTick.h" #define TIM_Interval 100 //n*100uS TimeTickClass TimeTick; void TimeTickClass::TIMInit() { TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure; RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM3, ENABLE); TIM_TimeBaseStructure.TIM_ClockDivision = TIM_CKD_DIV1; TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up; TIM_TimeBaseStructure.TIM_Prescaler = SystemCoreClock / 10000; TIM_TimeBaseStructure.TIM_Period = TIM_Interval; TIM_TimeBaseStructure.TIM_RepetitionCounter = 0; TIM_TimeBaseInit(TIM3, &TIM_TimeBaseStructure); } void TimeTickClass::NVICInit() { NVIC_InitTypeDef NVIC_InitStructure; NVIC_PriorityGroupConfig(NVIC_PriorityGroup_1); NVIC_InitStructure.NVIC_IRQChannel = TIM3_IRQn; NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 1; NVIC_InitStructure.NVIC_IRQChannelSubPriority = 5; NVIC_Init(&NVIC_InitStructure); TIM_ITConfig(TIM3, TIM_IT_Update, ENABLE); TIM_Cmd(TIM3, ENABLE); } void __attribute__((weak)) TimeTickISR() { } extern "C" void TIM3_IRQHandler(void) { if (TIM_GetITStatus(TIM3, TIM_IT_Update) != RESET) { TIM_Cmd(TIM3,DISABLE); if (TimeTick.ThreadStart) { TimeTickISR(); } TIM_ClearITPendingBit(TIM3, TIM_IT_Update); TIM_Cmd(TIM3,ENABLE); } }
[ "Romeli@Romeli-LP.lan" ]
Romeli@Romeli-LP.lan
f4035d054718196f0cc5da10ba5d8a2d1fbe4962
943dd54918355e8028fdd759bae6d9dd837e11e0
/tests/hosted/test_modules.cpp
a93ebfac388a48d6292caf145990f55b3117d5b6
[ "BSD-3-Clause" ]
permissive
fieldkit/firmware
06e920ad01c2f48142413d3a3447188bc9753004
45c51ce8dc51df886875e97de17980c839882adf
refs/heads/main
2023-08-23T22:29:02.022772
2023-07-24T22:18:01
2023-07-24T22:18:01
183,808,180
11
1
BSD-3-Clause
2023-04-04T20:42:38
2019-04-27T18:27:51
C++
UTF-8
C++
false
false
4,919
cpp
#include <hal/hal.h> #include "test_modules.h" #include "modules/shared/modules.h" namespace fk { static ModuleSensors fk_module_fake_empty_sensors = { .nsensors = 0, .sensors = nullptr, }; class FakeModuleEmpty : public FakeModule { public: ModuleReturn initialize(ModuleContext mc, Pool &pool) override { return { ModuleStatus::Ok }; } ModuleReturn api(ModuleContext mc, HttpServerConnection *connection, Pool &pool) { return { ModuleStatus::Ok }; } ModuleReturn service(ModuleContext mc, Pool &pool) { return { ModuleStatus::Ok }; } ModuleSensors const *get_sensors(Pool &pool) override { return &fk_module_fake_empty_sensors; } ModuleConfiguration const get_configuration(Pool &pool) override { return { "modules.fake.empty" }; } ModuleReadings *take_readings(ReadingsContext mc, Pool &pool) override { return nullptr; } }; static Module *fk_test_module_create_empty(Pool &pool) { return new (pool) FakeModuleEmpty(); } ModuleMetadata const fk_test_module_fake_empty = { .manufacturer = FK_MODULES_MANUFACTURER, .kind = FK_MODULES_KIND_RANDOM, .version = 0x03, .name = "fake-empty", .flags = 0, .ctor = fk_test_module_create_empty, }; static SensorMetadata const fk_module_fake_1_sensor_metas[] = { { .name = "sensor", .unitOfMeasure = "", .flags = 0 }, }; static ModuleSensors fk_module_fake_1_sensors = { .nsensors = sizeof(fk_module_fake_1_sensor_metas) / sizeof(SensorMetadata), .sensors = fk_module_fake_1_sensor_metas, }; ModuleSensors const *FakeModule1::get_sensors(Pool &pool) { return &fk_module_fake_1_sensors; } ModuleReadings *FakeModule1::take_readings(ReadingsContext mc, Pool &pool) { if (return_none_) { return nullptr; } auto mr = new (pool) NModuleReadings<1>(); mr->set(0, SensorReading{ mc.now(), (float)fk_random_i32(20, 100) }); return mr; } static Module *fk_test_module_create_1(Pool &pool) { return new (pool) FakeModule1(); } ModuleMetadata const fk_test_module_fake_1 = { .manufacturer = FK_MODULES_MANUFACTURER, .kind = FK_MODULES_KIND_RANDOM, .version = 0x02, .name = "fake-1", .flags = 0, .ctor = fk_test_module_create_1, }; static SensorMetadata const fk_module_fake_2_sensor_metas[] = { { .name = "sensor-0", .unitOfMeasure = "", .flags = 0 }, { .name = "sensor-1", .unitOfMeasure = "", .flags = 0 }, { .name = "sensor-2", .unitOfMeasure = "", .flags = 0 }, { .name = "sensor-3", .unitOfMeasure = "", .flags = 0 }, { .name = "sensor-4", .unitOfMeasure = "", .flags = 0 }, { .name = "sensor-5", .unitOfMeasure = "", .flags = 0 }, { .name = "sensor-6", .unitOfMeasure = "", .flags = 0 }, { .name = "sensor-7", .unitOfMeasure = "", .flags = 0 }, { .name = "sensor-8", .unitOfMeasure = "", .flags = 0 }, { .name = "sensor-9", .unitOfMeasure = "", .flags = 0 }, }; static ModuleSensors fk_module_fake_2_sensors = { .nsensors = sizeof(fk_module_fake_2_sensor_metas) / sizeof(SensorMetadata), .sensors = fk_module_fake_2_sensor_metas, }; class FakeModule2 : public FakeModule { public: ModuleReturn initialize(ModuleContext mc, Pool &pool) override { return { ModuleStatus::Ok }; } ModuleReturn api(ModuleContext mc, HttpServerConnection *connection, Pool &pool) { return { ModuleStatus::Ok }; } ModuleReturn service(ModuleContext mc, Pool &pool) { return { ModuleStatus::Ok }; } ModuleSensors const *get_sensors(Pool &pool) override { return &fk_module_fake_2_sensors; } ModuleConfiguration const get_configuration(Pool &pool) override { return { "modules.fake.2" }; } ModuleReadings *take_readings(ReadingsContext mc, Pool &pool) override { auto mr = new (pool) NModuleReadings<10>(); for (size_t i = 0; i < mr->size(); i++) { mr->set(i, SensorReading{ mc.now(), (float)fk_random_i32(20, 100) }); } return mr; } }; static Module *fk_test_module_create_2(Pool &pool) { return new (pool) FakeModule2(); } ModuleMetadata const fk_test_module_fake_2 = { .manufacturer = FK_MODULES_MANUFACTURER, .kind = FK_MODULES_KIND_RANDOM, .version = 0x03, .name = "fake-2", .flags = FK_MODULES_FLAG_NONE, .ctor = fk_test_module_create_2, }; ModuleMetadata const fk_test_module_fake_random = { .manufacturer = FK_MODULES_MANUFACTURER, .kind = FK_MODULES_KIND_RANDOM, .version = 0x01, .name = "fake-random", .flags = FK_MODULES_FLAG_NONE, .ctor = fk_test_module_create_2, }; ModuleMetadata const fk_test_module_fake_diagnostics = { .manufacturer = FK_MODULES_MANUFACTURER, .kind = FK_MODULES_KIND_DIAGNOSTICS, .version = 0x01, .name = "fake-random", .flags = FK_MODULES_FLAG_NONE, .ctor = fk_test_module_create_2, }; } // namespace fk
[ "jlewallen@gmail.com" ]
jlewallen@gmail.com
cbefd37ed732bc4bf3525f2c4fe6cd49e9c336bb
be4a072e7a476c0fac8013cd67223ed78c2ef727
/src/util/executor.cc
50e11cc778e2b834cf893a6fe0d8bfabc9153a56
[ "MIT" ]
permissive
agata-borkowska-clark/context-game-engine
269a9faada9269441ecd011ffc30cf21523c733b
6fd4c3a89472a7922032c2a45da42d107f75cf9c
refs/heads/main
2023-01-20T20:50:52.567677
2020-11-11T19:09:05
2020-11-11T19:09:05
307,088,723
0
0
null
null
null
null
UTF-8
C++
false
false
963
cc
#include "executor.h" #include <thread> namespace util { // Order time points in *descending* order so that they are put in *ascending* // order in a heap. static constexpr auto by_time = [](auto& l, auto& r) { return l.time > r.time; }; void executor::schedule(std::function<void()> f) noexcept { schedule_at(clock::now(), std::move(f)); } void executor::schedule_in(duration d, std::function<void()> f) noexcept { schedule_at(clock::now() + d, std::move(f)); } void serial_executor::schedule_at(time_point t, std::function<void()> f) noexcept { work_.push_back({t, std::move(f)}); std::push_heap(work_.begin(), work_.end(), by_time); } void serial_executor::run() { while (!work_.empty()) { std::pop_heap(work_.begin(), work_.end(), by_time); work_item work = std::move(work_.back()); work_.pop_back(); std::this_thread::sleep_until(work.time); work.resume(); } } } // namespace util
[ "scrumplesplunge@gmail.com" ]
scrumplesplunge@gmail.com
b6d970af59142bbad01f0937729bd005bbc06b19
d74424a1594ee2665c5d4e4f445ac0327a465ef7
/include/terminal.h
c2e13c7419c1618d682563e4a1707eef2dd74cb1
[]
no_license
miloshcurcic/uniEmulator
35383054076b58565323d47fd6b30c11c7004e25
6dbde4ac30ec2a248998fb458d745e701cad8c3f
refs/heads/master
2022-12-05T20:43:53.002697
2020-08-23T03:07:45
2020-08-23T03:07:45
285,934,394
0
0
null
null
null
null
UTF-8
C++
false
false
567
h
#ifndef _TERMINAL_H_ #define _TERMINAL_H_ #include "includes.h" #include <thread> #include <semaphore.h> struct termios; class Terminal { public: static void input_run(); static void start_terminal(); static void terminate(); static void initialize_terminal(); static void cleanup_terminal(); static void continue_input(); static void write_output(); static bool input_interrupt; private: static struct termios orig_termios; static bool running; static std::thread* input_thread; static sem_t input_lock; }; #endif
[ "miloshcurcic@gmail.com" ]
miloshcurcic@gmail.com
094c7cecdf97da2fa0c5e419166b40f66f0554e6
921952daf1ab83922a7a622c086ba87788a3b84e
/include/server/model/usermodel.hpp
d6a5ea0073e119878b80710844d232a09dc6f14f
[]
no_license
linzeyu599/chatserver
effab46ce8320b14fb621fb9d697bd31a7971b48
795e2b981136e9c41fecd7d49326dabe201c1079
refs/heads/main
2023-06-29T21:32:35.150793
2021-08-08T14:11:07
2021-08-08T14:11:07
393,975,603
1
0
null
null
null
null
UTF-8
C++
false
false
378
hpp
#ifndef USERMODEL_H #define USERMODEL_H #include "user.hpp" //User表的数据操作类 class UserModel { public: //User表的增加方法 bool insert(User &user); //根据用户号码查询用户信息 User query(int id); //更新用户的状态信息 bool updateState(User user); //重置用户的状态信息 void resetState(); }; #endif
[ "linzeyu599@163.com" ]
linzeyu599@163.com
d61798685e3a386820a402612e2b87c067326b89
cbd12e1d7a538106a0ff8c8599d55d648777ad32
/src/atlas/array/helpers/ArrayInitializer.h
1a274fa313a190316ce374241967bb08a16545c4
[ "Apache-2.0" ]
permissive
pmarguinaud/atlas
2c05bd71dc41aeb6a876a78f5d3ea8448b604362
b9360f5b4022107741b8ab71fdc7f77e98018cae
refs/heads/master
2021-07-22T16:19:13.465513
2020-04-08T18:56:45
2020-04-08T18:56:45
256,191,290
3
0
Apache-2.0
2020-04-16T11:11:13
2020-04-16T11:11:13
null
UTF-8
C++
false
false
8,927
h
/* * (C) Copyright 2013 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an intergovernmental organisation * nor does it submit to any jurisdiction. */ #pragma once #include <sstream> #include <string> #include <vector> #include "atlas/array.h" #include "atlas/array/DataType.h" #include "atlas/array_fwd.h" #include "atlas/runtime/Exception.h" //------------------------------------------------------------------------------ namespace atlas { namespace array { namespace helpers { //------------------------------------------------------------------------------ template <idx_t Rank> struct array_initializer; template <idx_t PartDim> struct array_initializer_partitioned; //------------------------------------------------------------------------------ template <typename Value, idx_t Rank, idx_t Dim> struct array_initializer_impl { static void apply( Array const& orig, Array& array_resized ) { array_initializer_impl<Value, Rank, Dim>::apply( make_view<Value, Rank>( orig ), make_view<Value, Rank>( array_resized ) ); } template <typename... DimIndex> static void apply( ArrayView<const Value, Rank> const&& orig, ArrayView<Value, Rank>&& array_resized, DimIndex... idxs ) { const idx_t N = std::min( array_resized.shape( Dim ), orig.shape( Dim ) ); for ( idx_t i = 0; i < N; ++i ) { array_initializer_impl<Value, Rank, Dim + 1>::apply( std::move( orig ), std::move( array_resized ), idxs..., i ); } } }; //------------------------------------------------------------------------------ template <typename Value, idx_t Rank> struct array_initializer_impl<Value, Rank, Rank> { template <typename... DimIndex> static void apply( ArrayView<const Value, Rank> const&& orig, ArrayView<Value, Rank>&& array_resized, DimIndex... idxs ) { array_resized( idxs... ) = orig( idxs... ); } }; //------------------------------------------------------------------------------ template <idx_t Rank> struct array_initializer { static void apply( Array const& orig, Array& array_resized ) { switch ( orig.datatype().kind() ) { case DataType::KIND_REAL64: return array_initializer_impl<double, Rank, 0>::apply( orig, array_resized ); case DataType::KIND_REAL32: return array_initializer_impl<float, Rank, 0>::apply( orig, array_resized ); case DataType::KIND_INT32: return array_initializer_impl<int, Rank, 0>::apply( orig, array_resized ); case DataType::KIND_INT64: return array_initializer_impl<long, Rank, 0>::apply( orig, array_resized ); case DataType::KIND_UINT64: return array_initializer_impl<unsigned long, Rank, 0>::apply( orig, array_resized ); default: { std::stringstream err; err << "data kind " << orig.datatype().kind() << " not recognised."; throw_NotImplemented( err.str(), Here() ); } } } }; //------------------------------------------------------------------------------ template <typename Value, idx_t Rank, idx_t Dim, idx_t PartDim> struct array_initializer_partitioned_val_impl { static void apply( Array const& orig, Array& dest, idx_t pos, idx_t offset ) { array_initializer_partitioned_val_impl<Value, Rank, Dim, PartDim>::apply( make_view<const Value, Rank>( orig ), make_view<Value, Rank>( dest ), pos, offset ); } template <typename... DimIndexPair> static void apply( ArrayView<const Value, Rank>&& orig, ArrayView<Value, Rank>&& dest, idx_t pos, idx_t offset, DimIndexPair... idxs ) { for ( idx_t i = 0; i < orig.shape( Dim ); ++i ) { idx_t displ = i; if ( Dim == PartDim && i >= pos ) { displ += offset; } std::pair<idx_t, idx_t> pair_idx{i, displ}; array_initializer_partitioned_val_impl<Value, Rank, Dim + 1, PartDim>::apply( std::move( orig ), std::move( dest ), pos, offset, idxs..., pair_idx ); } } }; // template< typename stdarray > // inline std::string print_array(const stdarray& v) // { // std::stringstream s; // s << "[ "; // for( int j=0; j<v.size(); ++ j ) { // s << v[j]; // if( j != v.size()-1 ) s << " , "; // } // s << " ]"; // return s.str(); // } //------------------------------------------------------------------------------ template <typename Value, idx_t Rank, idx_t PartDim> struct array_initializer_partitioned_val_impl<Value, Rank, Rank, PartDim> { template <typename... DimIndexPair> static void apply( ArrayView<const Value, Rank>&& orig, ArrayView<Value, Rank>&& dest, idx_t /*pos*/, idx_t /*offset*/, DimIndexPair... idxs ) { // Log::info() << print_array(std::array<int,Rank>{std::get<0>(idxs)...}) << // " --> " << print_array(std::array<int,Rank>{std::get<1>(idxs)...}) << " // " << orig(std::get<0>(idxs)...) << std::endl; dest( std::get<1>( idxs )... ) = orig( std::get<0>( idxs )... ); } }; //------------------------------------------------------------------------------ template <idx_t Rank, idx_t PartDim> struct array_initializer_partitioned_impl { static void apply( Array const& orig, Array& dest, idx_t pos, idx_t offset ) { switch ( orig.datatype().kind() ) { case DataType::KIND_REAL64: return array_initializer_partitioned_val_impl<double, Rank, 0, PartDim>::apply( orig, dest, pos, offset ); case DataType::KIND_REAL32: return array_initializer_partitioned_val_impl<float, Rank, 0, PartDim>::apply( orig, dest, pos, offset ); case DataType::KIND_INT32: return array_initializer_partitioned_val_impl<int, Rank, 0, PartDim>::apply( orig, dest, pos, offset ); case DataType::KIND_INT64: return array_initializer_partitioned_val_impl<long, Rank, 0, PartDim>::apply( orig, dest, pos, offset ); case DataType::KIND_UINT64: return array_initializer_partitioned_val_impl<unsigned long, Rank, 0, PartDim>::apply( orig, dest, pos, offset ); default: { std::stringstream err; err << "data kind " << orig.datatype().kind() << " not recognised."; throw_NotImplemented( err.str(), Here() ); } } } }; //------------------------------------------------------------------------------ template <idx_t PartDim> struct array_initializer_partitioned { static void apply( const Array& orig, Array& dest, idx_t pos, idx_t offset ) { switch ( orig.rank() ) { case 1: return array_initializer_partitioned_impl<1, PartDim>::apply( orig, dest, pos, offset ); case 2: return array_initializer_partitioned_impl<2, PartDim>::apply( orig, dest, pos, offset ); case 3: return array_initializer_partitioned_impl<3, PartDim>::apply( orig, dest, pos, offset ); case 4: return array_initializer_partitioned_impl<4, PartDim>::apply( orig, dest, pos, offset ); case 5: return array_initializer_partitioned_impl<5, PartDim>::apply( orig, dest, pos, offset ); case 6: return array_initializer_partitioned_impl<6, PartDim>::apply( orig, dest, pos, offset ); case 7: return array_initializer_partitioned_impl<7, PartDim>::apply( orig, dest, pos, offset ); case 8: return array_initializer_partitioned_impl<8, PartDim>::apply( orig, dest, pos, offset ); case 9: return array_initializer_partitioned_impl<9, PartDim>::apply( orig, dest, pos, offset ); default: { std::stringstream err; err << "too high Rank"; throw_NotImplemented( err.str(), Here() ); } } } }; //------------------------------------------------------------------------------ } // namespace helpers } // namespace array } // namespace atlas
[ "willem.deconinck@ecmwf.int" ]
willem.deconinck@ecmwf.int
e8fec2843bb183e99d4033bb6534e756201b015e
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/httpd/gumtree/httpd_new_hunk_420.cpp
0f79242cd6e00e21c707f56edc80936ba2c2122d
[]
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,292
cpp
"<td><font size='-1' face='Arial,Helvetica' color='#ffffff'><b>Attribute</b></font></td>" "<td><font size='-1' face='Arial,Helvetica' color='#ffffff'><b>Value</b></font></td>" "<td><font size='-1' face='Arial,Helvetica' color='#ffffff'><b>Last Compare</b></font></td>" "<td><font size='-1' face='Arial,Helvetica' color='#ffffff'><b>Result</b></font></td>" "</tr>\n", r ); if (n) { for (i=0; i < n->compare_cache->size; ++i) { for (p = n->compare_cache->nodes[i]; p != NULL; p = p->next) { (*n->compare_cache->display)(r, n->compare_cache, p->payload); } } } ap_rputs("</table>\n</p>\n", r); break; case 'd': ap_rputs("<p>\n" "<table border='0'>\n" "<tr bgcolor='#000000'>\n" "<td><font size='-1' face='Arial,Helvetica' color='#ffffff'><b>Require DN</b></font></td>" "<td><font size='-1' face='Arial,Helvetica' color='#ffffff'><b>Actual DN</b></font></td>" "</tr>\n", r ); if (n) { for (i=0; i < n->dn_compare_cache->size; ++i) { for (p = n->dn_compare_cache->nodes[i]; p != NULL; p = p->next) { (*n->dn_compare_cache->display)(r, n->dn_compare_cache, p->payload); } } } ap_rputs("</table>\n</p>\n", r); break; default: break; } } else { buf = ""; } } else { ap_rputs("<p>\n" "<table border='0'>\n" "<tr bgcolor='#000000'>\n" "<td><font size='-1' face='Arial,Helvetica' color='#ffffff'><b>Cache Name</b></font></td>"
[ "993273596@qq.com" ]
993273596@qq.com
aec4607fc136e964cd1042aeaee2bfd5cff5fa45
3f932c56ba06bec3841986563a8d8dcf31b5d791
/src/grasp.cpp
6599585343c63a05b78aebce9b1f6213b6067014
[]
no_license
luishpmendes/MO824-atividade3
1a7a22c16b7dec14a38b75e122adc3f486dda926
5ba5e3cfcce1eda5d30fe409899e5a1586eb0aa5
refs/heads/master
2021-01-19T06:20:44.242107
2017-04-10T14:49:51
2017-04-10T14:49:51
87,455,084
0
0
null
null
null
null
UTF-8
C++
false
false
11,012
cpp
#include <iostream> #include <vector> #include <algorithm> #include <chrono> #include <iterator> #include <set> using namespace std; typedef unsigned int uint; typedef long int lint; typedef unsigned long int ulint; typedef vector < vector <double> > matrix; typedef pair < vector <uint>, double > tSolution; double evaluateUtility (matrix A, vector <uint> solution) { double result = 0.0; for (uint i = 0; i < A.size(); i++) { for (uint j = 0; j < A[i].size(); j++) { result += solution[i] * A[i][j] * solution[j]; } } return result; } double evaluatecontribuition (matrix A, vector <uint> solution, uint i) { double result = A[i][i]; for (uint j = 0; j < A[i].size(); j++) { if (i != j) { result += solution[j] * (A[i][j] + A[j][i]); } } return result; } tSolution greedyRandomizedConstruction (matrix A, double alpha, default_random_engine generator) { tSolution result = make_pair(vector <uint> (A.size(), 0), 0.0); bool flag = true; while (flag) { double minUtility = 0, maxUtility = 0; bool flag2 = true; vector < pair <uint, double> > candidateList; for (uint i = 0; i < A.size(); i++) { tSolution solution; solution.first = vector <uint> (result.first); solution.second = result.second; if (solution.first[i] == 0) { // if 'i' is not in solution solution.first[i] = 1; double contribuition = evaluatecontribuition(A, solution.first, i); solution.second += contribuition; if (solution.second >= result.second) { // if 'i' can improve solution candidateList.push_back(make_pair(i, contribuition)); if (flag2) { flag2 = false; minUtility = contribuition; maxUtility = contribuition; } if (minUtility > contribuition) { minUtility = contribuition; } if (maxUtility < contribuition) { maxUtility = contribuition; } } } } // compute restriction double restriction = maxUtility - alpha * (maxUtility - minUtility); // populate RCL vector < pair <uint, double> > restrictedCandidateList; for (vector < pair <uint, double> > :: iterator it = candidateList.begin(); it != candidateList.end(); it++) { pair <uint, double> candidate = *it; if (candidate.second >= restriction) { restrictedCandidateList.push_back(candidate); } } if (restrictedCandidateList.size() > 0) { uniform_int_distribution <uint> distribution (0, restrictedCandidateList.size() - 1); uint s = distribution(generator); pair <uint, double> candidate = restrictedCandidateList[s]; uint i = candidate.first; uint deltaUtility = candidate.second; result.first[i] = 1; result.second += deltaUtility; } else { // if there is no candidate, break out of the loop flag = false; } } return result; } bool isFeasible (tSolution solution) { for (uint i = 0; i < solution.first.size(); i++) { if (solution.first[i] == 1) { if (i > 0 && solution.first[i - 1] == 1) { return false; } if (i < solution.first.size() - 1 && solution.first[i + 1] == 1) { return false; } } } return true; } void repair (matrix A, tSolution * solution) { // desligar bits até se tornar factível // dar preferencia pros bits que violam mais restricões // em caso de empate, dar preferencia pros que diminuem menos a utilidade vector <uint> restrictionsViolatedCounter (A.size(), 0); set <uint> invalidBits; for (uint i = 0; i < A.size(); i++) { if ((*solution).first[i] == 1) { if (i >= 1) { if ((*solution).first[i - 1] == 1) { restrictionsViolatedCounter[i]++; invalidBits.insert(i); } } if (i < A.size() - 1) { if ((*solution).first[i + 1] == 1) { restrictionsViolatedCounter[i]++; invalidBits.insert(i); } } } } while (!isFeasible(*solution) && invalidBits.size() > 0) { uint chosenBit = *(invalidBits.begin()); for (set <uint> :: iterator it = invalidBits.begin(); it != invalidBits.end(); it++) { uint i = *it; if (restrictionsViolatedCounter[chosenBit] < restrictionsViolatedCounter[i]) { chosenBit = i; } else if (restrictionsViolatedCounter[chosenBit] == restrictionsViolatedCounter[i]) { tSolution chosenNewSolution; chosenNewSolution.first = vector <uint> ((*solution).first); chosenNewSolution.second = (*solution).second; double chosenContribution = evaluatecontribuition(A, chosenNewSolution.first, chosenBit); chosenNewSolution.first[chosenBit] = 0; chosenNewSolution.second -= chosenContribution; tSolution newSolution; newSolution.first = vector <uint> ((*solution).first); newSolution.second = (*solution).second; double newContribution = evaluatecontribuition(A, newSolution.first, i); newSolution.first[i] = 0; newSolution.second -= newContribution; if (chosenNewSolution.second < newSolution.second) { chosenBit = i; } } } double contribuition = evaluatecontribuition(A, (*solution).first, chosenBit); (*solution).first[chosenBit] = 0; (*solution).second -= contribuition; invalidBits.erase(chosenBit); } } void localSearch (matrix A, int searchMethod, default_random_engine generator, tSolution * solution) { vector < vector <uint> > neighborhood; // 1Flip neighborhood for (uint i = 0; i < A.size(); i++) { vector <uint> neighbor; neighbor.push_back(i); neighborhood.push_back(neighbor); } // 2Flip neighborhood for (uint i = 0; i < A.size(); i++) { for (uint j = i + 1; j < A.size(); j++) { vector <uint> neighbor; neighbor.push_back(i); neighbor.push_back(j); neighborhood.push_back(neighbor); } } // 3Flip neighborhood /* for (uint i = 0; i < A.size(); i++) { for (uint j = i + 1; j < A.size(); j++) { for (uint k = j + 1; k < A.size(); k++) { vector <uint> neighbor; neighbor.push_back(i); neighbor.push_back(j); neighbor.push_back(k); neighborhood.push_back(neighbor); } } } */ shuffle (neighborhood.begin(), neighborhood.end(), generator); bool flag = true; for (vector < vector <uint> > :: iterator it = neighborhood.begin(); flag && it != neighborhood.end(); it++) { vector <uint> neighbor = *it; tSolution newSolution = make_pair(vector <uint> ((*solution).first), (*solution).second); for (vector <uint> :: iterator it2 = neighbor.begin(); it2 != neighbor.end(); it2++) { uint i = *it2; double contribuition = evaluatecontribuition(A, newSolution.first, i); if (newSolution.first[i] == 0) { newSolution.first[i] = 1; newSolution.second += contribuition; } else { newSolution.first[i] = 0; newSolution.second -= contribuition; } } /* if (!isFeasible(newSolution)) { repair (A, &newSolution); } */ if (isFeasible(newSolution) && newSolution.second > (*solution).second) { (*solution).first = vector <uint> (newSolution.first); (*solution).second = newSolution.second; if (searchMethod == 0) { flag = false; } } } } bool termination (chrono :: high_resolution_clock :: time_point tBegin, ulint timeLimit) { chrono :: high_resolution_clock :: time_point tCurrent = chrono :: high_resolution_clock :: now(); chrono :: seconds elapsedTime = chrono :: duration_cast <chrono :: seconds> (tCurrent - tBegin); if ((ulint) elapsedTime.count() >= timeLimit) { return true; } return false; } tSolution grasp (matrix A, ulint seed, ulint timeLimit, int searchMethod, double alpha, chrono :: high_resolution_clock :: time_point tBegin) { tSolution result; default_random_engine generator (seed); bool flag = true; while (termination (tBegin, timeLimit) != true) { tSolution solution = greedyRandomizedConstruction(A, alpha, generator); localSearch(A, searchMethod, generator, &solution); if (!isFeasible(solution)) { repair(A, &solution); } if (flag || result.second < solution.second) { flag = false; result = solution; } } return result; } int main (int argc, char * argv[]) { chrono :: high_resolution_clock :: time_point tBegin = chrono :: high_resolution_clock :: now(); ulint seed = 0; ulint timeLimit = 10; int searchMethod; // 0 = first-improving; 1 = best-improving double alpha = 0.5; if (argc >= 2) { seed = atoi(argv[1]); } if (argc >= 3) { timeLimit = atoi(argv[2]); } if (argc >= 4) { searchMethod = atoi(argv[3]); } if (argc >= 5) { alpha = atof(argv[4]); } if (seed == 0) { seed = tBegin.time_since_epoch().count(); } if (searchMethod < 0) { searchMethod = 0; } else if (searchMethod > 1) { searchMethod = 1; } if (alpha < 0.0) { alpha = 0.0; } else if (alpha > 1.0) { alpha = 1.0; } uint n; cin >> n; matrix A (n, vector <double> (n, 0.0)); for (uint i = 0; i < n; i++) { for (uint j = i; j < n; j++) { cin >> A[i][j]; } } tSolution solution = grasp(A, seed, timeLimit, searchMethod, alpha, tBegin); cout << "maxVal = " << solution.second << endl; chrono :: high_resolution_clock :: time_point tEnd = chrono :: high_resolution_clock :: now(); chrono :: seconds elapsedTime = chrono :: duration_cast <chrono :: seconds> (tEnd - tBegin); cout << "Time = " << elapsedTime.count() << " seg" << endl; cout << "Solution: " << endl; for (uint i = 0; i < n; i++) { cout << solution.first[i] << endl; } return 0; }
[ "luishpmendes@gmail.com" ]
luishpmendes@gmail.com
01440e68568817c3573a8f92d428ab4b480af53b
9c8786f7a2dbc1a3af3ffed9be48e7a245be1516
/FinalRelease/软件代码/Il2CppOutputProject/Source/il2cppOutput/UnityEngine.TextRenderingModule.cpp
f5f0daffb5b1675e9d14a7e11153dad20d4e1dd3
[]
no_license
naomixie/SE_VR_Project
a7197b06cc6ad8fe003e36c47a27e9172c3a7c43
6bf1ac58f536b9c3fdd97b61a67563a3a695309d
refs/heads/master
2023-02-16T03:55:05.430786
2021-01-11T04:09:29
2021-01-11T04:09:29
295,352,170
5
1
null
2020-12-20T07:04:47
2020-09-14T08:25:57
C#
UTF-8
C++
false
false
237,522
cpp
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "codegen/il2cpp-codegen.h" #include "il2cpp-object-internals.h" struct VirtActionInvoker0 { typedef void (*Action)(void*, const RuntimeMethod*); static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj) { const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj); ((Action)invokeData.methodPtr)(obj, invokeData.method); } }; struct GenericVirtActionInvoker0 { typedef void (*Action)(void*, const RuntimeMethod*); static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj) { VirtualInvokeData invokeData; il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData); ((Action)invokeData.methodPtr)(obj, invokeData.method); } }; struct InterfaceActionInvoker0 { typedef void (*Action)(void*, const RuntimeMethod*); static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj) { const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface); ((Action)invokeData.methodPtr)(obj, invokeData.method); } }; struct GenericInterfaceActionInvoker0 { typedef void (*Action)(void*, const RuntimeMethod*); static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj) { VirtualInvokeData invokeData; il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData); ((Action)invokeData.methodPtr)(obj, invokeData.method); } }; // System.Action`1<System.Object> struct Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0; // System.Action`1<UnityEngine.Font> struct Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C; // System.AsyncCallback struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4; // System.Byte[] struct ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821; // System.Char[] struct CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2; // System.Collections.Generic.IList`1<UnityEngine.UICharInfo> struct IList_1_t32D1BB5985FCCAC1B6B14D4E41B3E3315FD87B3E; // System.Collections.Generic.IList`1<UnityEngine.UILineInfo> struct IList_1_t6F2A098B6071B1699E7DC325A6F16089FE563544; // System.Collections.Generic.IList`1<UnityEngine.UIVertex> struct IList_1_t45C308B7C2BC6D4379698668EE5E126FF141A995; // System.Collections.Generic.List`1<UnityEngine.UICharInfo> struct List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E; // System.Collections.Generic.List`1<UnityEngine.UILineInfo> struct List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0; // System.Collections.Generic.List`1<UnityEngine.UIVertex> struct List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554; // System.Delegate struct Delegate_t; // System.DelegateData struct DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE; // System.Delegate[] struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86; // System.IAsyncResult struct IAsyncResult_t8E194308510B375B42432981AE5E7488C458D598; // System.Object[] struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A; // System.Reflection.MethodInfo struct MethodInfo_t; // System.String struct String_t; // System.Void struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017; // UnityEngine.Font struct Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26; // UnityEngine.Font/FontTextureRebuildCallback struct FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C; // UnityEngine.GameObject struct GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F; // UnityEngine.Material struct Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598; // UnityEngine.Object struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0; // UnityEngine.TextGenerationSettings struct TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68; // UnityEngine.TextGenerator struct TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8; // UnityEngine.TextMesh struct TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A; // UnityEngine.UICharInfo[] struct UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482; // UnityEngine.UILineInfo[] struct UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC; // UnityEngine.UIVertex[] struct UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A; IL2CPP_EXTERN_C RuntimeClass* Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C RuntimeClass* Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C RuntimeClass* Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C RuntimeClass* IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C RuntimeClass* IntPtr_t_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C RuntimeClass* List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C RuntimeClass* List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C RuntimeClass* List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C RuntimeClass* Math_tFB388E53C7FDC6FCCF9A19ABF5A4E521FBD52E19_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C RuntimeClass* Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C RuntimeClass* ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C RuntimeClass* Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C RuntimeClass* UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C RuntimeClass* Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C RuntimeClass* Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_il2cpp_TypeInfo_var; IL2CPP_EXTERN_C String_t* _stringLiteral277905A8757DB70EAE0C8B996E4FCF857783BB03; IL2CPP_EXTERN_C String_t* _stringLiteral2C79056F1CBD7CDBD214C0C0421FFC46A2BD5CBD; IL2CPP_EXTERN_C String_t* _stringLiteral6F5E75D22C09C82C4D03E8E6E9ADE44476FEE514; IL2CPP_EXTERN_C String_t* _stringLiteral8D03707CEE3275C377839D6BF944BCECDF26A00B; IL2CPP_EXTERN_C const RuntimeMethod* Action_1_Invoke_mC307FDDD4FEA6818EE9A27D962C2C512B835DAEB_RuntimeMethod_var; IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m31FA26D4722DE7042587E4FDA499FF5B35A5BE71_RuntimeMethod_var; IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m4B9E13C91ADA643CE531D7FE21CBC0BD4B8CFAC8_RuntimeMethod_var; IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m9616B19521FA2ACBD7DAB484CA3DFA1283D8C9DD_RuntimeMethod_var; IL2CPP_EXTERN_C const uint32_t CharacterInfo_get_advance_mCCD27183A01AB4F83305230D5AB39AE6F0E4779C_MetadataUsageId; IL2CPP_EXTERN_C const uint32_t Font_InvokeTextureRebuilt_Internal_m2D4C9D99B6137EF380A19EC72D6EE8CBFF7B4062_MetadataUsageId; IL2CPP_EXTERN_C const uint32_t Font__ctor_m0EB492A9B2082EEE21587ED01866DE1ED4C1E628_MetadataUsageId; IL2CPP_EXTERN_C const uint32_t Font_add_textureRebuilt_m031EFCD3B164273920B133A8689C18ED87C9B18F_MetadataUsageId; IL2CPP_EXTERN_C const uint32_t Font_remove_textureRebuilt_mBEF163DAE27CA126D400646E850AAEE4AE8DAAB4_MetadataUsageId; IL2CPP_EXTERN_C const uint32_t TextGenerationSettings_CompareColors_m41313F2A332F5780C5BD6F8134EBB14473CC5C66_MetadataUsageId; IL2CPP_EXTERN_C const uint32_t TextGenerationSettings_CompareVector2_m27AE82F513B8E6D4A529A02B1A3806A85E710F1C_MetadataUsageId; IL2CPP_EXTERN_C const uint32_t TextGenerationSettings_Equals_m39912D195B0384AADC5C274659324EC8720C4F7D_MetadataUsageId; IL2CPP_EXTERN_C const uint32_t TextGenerator_Finalize_m6E9076F61F7B4DD5E56207F39E8F5FD85F188D8A_MetadataUsageId; IL2CPP_EXTERN_C const uint32_t TextGenerator_PopulateWithErrors_m1F1851B3C2B2EBEFD81C83DC124FB376C926B933_MetadataUsageId; IL2CPP_EXTERN_C const uint32_t TextGenerator_Populate_Internal_m42F7FED165D62BFD9C006D19A0FCE5B70C1EF92B_MetadataUsageId; IL2CPP_EXTERN_C const uint32_t TextGenerator_System_IDisposable_Dispose_m9D3291DC086282AF57A115B39D3C17BD0074FA3D_MetadataUsageId; IL2CPP_EXTERN_C const uint32_t TextGenerator_ValidatedSettings_m167131680BB6CD53B929EF189520F9FCF71FB1D3_MetadataUsageId; IL2CPP_EXTERN_C const uint32_t TextGenerator__ctor_m86E01E7BB9DC1B28F04961E482ED4D7065062BCE_MetadataUsageId; IL2CPP_EXTERN_C const uint32_t UIVertex__cctor_m86F60F5BB996D3C59B19B80C4BFB5770802BFB30_MetadataUsageId; struct Delegate_t_marshaled_com; struct Delegate_t_marshaled_pinvoke; struct TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68;; struct TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_com; struct TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_com;; struct TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_pinvoke; struct TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_pinvoke;; struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86; struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A; IL2CPP_EXTERN_C_BEGIN IL2CPP_EXTERN_C_END #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <Module> struct U3CModuleU3E_tDBB8B8FDA571F608D819B1D5558C135A3972639B { public: public: }; // System.Object struct Il2CppArrayBounds; // System.Array // System.Collections.Generic.List`1<UnityEngine.UICharInfo> struct List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E : public RuntimeObject { public: // T[] System.Collections.Generic.List`1::_items UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* ____items_1; // System.Int32 System.Collections.Generic.List`1::_size int32_t ____size_2; // System.Int32 System.Collections.Generic.List`1::_version int32_t ____version_3; // System.Object System.Collections.Generic.List`1::_syncRoot RuntimeObject * ____syncRoot_4; public: inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E, ____items_1)); } inline UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* get__items_1() const { return ____items_1; } inline UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482** get_address_of__items_1() { return &____items_1; } inline void set__items_1(UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* value) { ____items_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value); } inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E, ____size_2)); } inline int32_t get__size_2() const { return ____size_2; } inline int32_t* get_address_of__size_2() { return &____size_2; } inline void set__size_2(int32_t value) { ____size_2 = value; } inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E, ____version_3)); } inline int32_t get__version_3() const { return ____version_3; } inline int32_t* get_address_of__version_3() { return &____version_3; } inline void set__version_3(int32_t value) { ____version_3 = value; } inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E, ____syncRoot_4)); } inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; } inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; } inline void set__syncRoot_4(RuntimeObject * value) { ____syncRoot_4 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value); } }; struct List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E_StaticFields { public: // T[] System.Collections.Generic.List`1::_emptyArray UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* ____emptyArray_5; public: inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E_StaticFields, ____emptyArray_5)); } inline UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* get__emptyArray_5() const { return ____emptyArray_5; } inline UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482** get_address_of__emptyArray_5() { return &____emptyArray_5; } inline void set__emptyArray_5(UICharInfoU5BU5D_t8C4FF69B643D49D3881FCB7A8525C5C5A9367482* value) { ____emptyArray_5 = value; Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value); } }; // System.Collections.Generic.List`1<UnityEngine.UILineInfo> struct List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 : public RuntimeObject { public: // T[] System.Collections.Generic.List`1::_items UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* ____items_1; // System.Int32 System.Collections.Generic.List`1::_size int32_t ____size_2; // System.Int32 System.Collections.Generic.List`1::_version int32_t ____version_3; // System.Object System.Collections.Generic.List`1::_syncRoot RuntimeObject * ____syncRoot_4; public: inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0, ____items_1)); } inline UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* get__items_1() const { return ____items_1; } inline UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC** get_address_of__items_1() { return &____items_1; } inline void set__items_1(UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* value) { ____items_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value); } inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0, ____size_2)); } inline int32_t get__size_2() const { return ____size_2; } inline int32_t* get_address_of__size_2() { return &____size_2; } inline void set__size_2(int32_t value) { ____size_2 = value; } inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0, ____version_3)); } inline int32_t get__version_3() const { return ____version_3; } inline int32_t* get_address_of__version_3() { return &____version_3; } inline void set__version_3(int32_t value) { ____version_3 = value; } inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0, ____syncRoot_4)); } inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; } inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; } inline void set__syncRoot_4(RuntimeObject * value) { ____syncRoot_4 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value); } }; struct List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0_StaticFields { public: // T[] System.Collections.Generic.List`1::_emptyArray UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* ____emptyArray_5; public: inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0_StaticFields, ____emptyArray_5)); } inline UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* get__emptyArray_5() const { return ____emptyArray_5; } inline UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC** get_address_of__emptyArray_5() { return &____emptyArray_5; } inline void set__emptyArray_5(UILineInfoU5BU5D_t923CC56F4D67E9FA97CC73992DF16268B6A54FAC* value) { ____emptyArray_5 = value; Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value); } }; // System.Collections.Generic.List`1<UnityEngine.UIVertex> struct List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 : public RuntimeObject { public: // T[] System.Collections.Generic.List`1::_items UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* ____items_1; // System.Int32 System.Collections.Generic.List`1::_size int32_t ____size_2; // System.Int32 System.Collections.Generic.List`1::_version int32_t ____version_3; // System.Object System.Collections.Generic.List`1::_syncRoot RuntimeObject * ____syncRoot_4; public: inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554, ____items_1)); } inline UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* get__items_1() const { return ____items_1; } inline UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A** get_address_of__items_1() { return &____items_1; } inline void set__items_1(UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* value) { ____items_1 = value; Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value); } inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554, ____size_2)); } inline int32_t get__size_2() const { return ____size_2; } inline int32_t* get_address_of__size_2() { return &____size_2; } inline void set__size_2(int32_t value) { ____size_2 = value; } inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554, ____version_3)); } inline int32_t get__version_3() const { return ____version_3; } inline int32_t* get_address_of__version_3() { return &____version_3; } inline void set__version_3(int32_t value) { ____version_3 = value; } inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554, ____syncRoot_4)); } inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; } inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; } inline void set__syncRoot_4(RuntimeObject * value) { ____syncRoot_4 = value; Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value); } }; struct List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554_StaticFields { public: // T[] System.Collections.Generic.List`1::_emptyArray UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* ____emptyArray_5; public: inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554_StaticFields, ____emptyArray_5)); } inline UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* get__emptyArray_5() const { return ____emptyArray_5; } inline UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A** get_address_of__emptyArray_5() { return &____emptyArray_5; } inline void set__emptyArray_5(UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* value) { ____emptyArray_5 = value; Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value); } }; // System.String struct String_t : public RuntimeObject { public: // System.Int32 System.String::m_stringLength int32_t ___m_stringLength_0; // System.Char System.String::m_firstChar Il2CppChar ___m_firstChar_1; public: inline static int32_t get_offset_of_m_stringLength_0() { return static_cast<int32_t>(offsetof(String_t, ___m_stringLength_0)); } inline int32_t get_m_stringLength_0() const { return ___m_stringLength_0; } inline int32_t* get_address_of_m_stringLength_0() { return &___m_stringLength_0; } inline void set_m_stringLength_0(int32_t value) { ___m_stringLength_0 = value; } inline static int32_t get_offset_of_m_firstChar_1() { return static_cast<int32_t>(offsetof(String_t, ___m_firstChar_1)); } inline Il2CppChar get_m_firstChar_1() const { return ___m_firstChar_1; } inline Il2CppChar* get_address_of_m_firstChar_1() { return &___m_firstChar_1; } inline void set_m_firstChar_1(Il2CppChar value) { ___m_firstChar_1 = value; } }; struct String_t_StaticFields { public: // System.String System.String::Empty String_t* ___Empty_5; public: inline static int32_t get_offset_of_Empty_5() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_5)); } inline String_t* get_Empty_5() const { return ___Empty_5; } inline String_t** get_address_of_Empty_5() { return &___Empty_5; } inline void set_Empty_5(String_t* value) { ___Empty_5 = value; Il2CppCodeGenWriteBarrier((void**)(&___Empty_5), (void*)value); } }; // System.ValueType struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF : public RuntimeObject { public: public: }; // Native definition for P/Invoke marshalling of System.ValueType struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_pinvoke { }; // Native definition for COM marshalling of System.ValueType struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_com { }; // System.Boolean struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C { public: // System.Boolean System.Boolean::m_value bool ___m_value_0; public: inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C, ___m_value_0)); } inline bool get_m_value_0() const { return ___m_value_0; } inline bool* get_address_of_m_value_0() { return &___m_value_0; } inline void set_m_value_0(bool value) { ___m_value_0 = value; } }; struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields { public: // System.String System.Boolean::TrueString String_t* ___TrueString_5; // System.String System.Boolean::FalseString String_t* ___FalseString_6; public: inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields, ___TrueString_5)); } inline String_t* get_TrueString_5() const { return ___TrueString_5; } inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; } inline void set_TrueString_5(String_t* value) { ___TrueString_5 = value; Il2CppCodeGenWriteBarrier((void**)(&___TrueString_5), (void*)value); } inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields, ___FalseString_6)); } inline String_t* get_FalseString_6() const { return ___FalseString_6; } inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; } inline void set_FalseString_6(String_t* value) { ___FalseString_6 = value; Il2CppCodeGenWriteBarrier((void**)(&___FalseString_6), (void*)value); } }; // System.Byte struct Byte_tF87C579059BD4633E6840EBBBEEF899C6E33EF07 { public: // System.Byte System.Byte::m_value uint8_t ___m_value_0; public: inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Byte_tF87C579059BD4633E6840EBBBEEF899C6E33EF07, ___m_value_0)); } inline uint8_t get_m_value_0() const { return ___m_value_0; } inline uint8_t* get_address_of_m_value_0() { return &___m_value_0; } inline void set_m_value_0(uint8_t value) { ___m_value_0 = value; } }; // System.Char struct Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9 { public: // System.Char System.Char::m_value Il2CppChar ___m_value_0; public: inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9, ___m_value_0)); } inline Il2CppChar get_m_value_0() const { return ___m_value_0; } inline Il2CppChar* get_address_of_m_value_0() { return &___m_value_0; } inline void set_m_value_0(Il2CppChar value) { ___m_value_0 = value; } }; struct Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_StaticFields { public: // System.Byte[] System.Char::categoryForLatin1 ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___categoryForLatin1_3; public: inline static int32_t get_offset_of_categoryForLatin1_3() { return static_cast<int32_t>(offsetof(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_StaticFields, ___categoryForLatin1_3)); } inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_categoryForLatin1_3() const { return ___categoryForLatin1_3; } inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_categoryForLatin1_3() { return &___categoryForLatin1_3; } inline void set_categoryForLatin1_3(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value) { ___categoryForLatin1_3 = value; Il2CppCodeGenWriteBarrier((void**)(&___categoryForLatin1_3), (void*)value); } }; // System.Double struct Double_t358B8F23BDC52A5DD700E727E204F9F7CDE12409 { public: // System.Double System.Double::m_value double ___m_value_0; public: inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Double_t358B8F23BDC52A5DD700E727E204F9F7CDE12409, ___m_value_0)); } inline double get_m_value_0() const { return ___m_value_0; } inline double* get_address_of_m_value_0() { return &___m_value_0; } inline void set_m_value_0(double value) { ___m_value_0 = value; } }; struct Double_t358B8F23BDC52A5DD700E727E204F9F7CDE12409_StaticFields { public: // System.Double System.Double::NegativeZero double ___NegativeZero_7; public: inline static int32_t get_offset_of_NegativeZero_7() { return static_cast<int32_t>(offsetof(Double_t358B8F23BDC52A5DD700E727E204F9F7CDE12409_StaticFields, ___NegativeZero_7)); } inline double get_NegativeZero_7() const { return ___NegativeZero_7; } inline double* get_address_of_NegativeZero_7() { return &___NegativeZero_7; } inline void set_NegativeZero_7(double value) { ___NegativeZero_7 = value; } }; // System.Enum struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521 : public ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF { public: public: }; struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields { public: // System.Char[] System.Enum::enumSeperatorCharArray CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___enumSeperatorCharArray_0; public: inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields, ___enumSeperatorCharArray_0)); } inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; } inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; } inline void set_enumSeperatorCharArray_0(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value) { ___enumSeperatorCharArray_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___enumSeperatorCharArray_0), (void*)value); } }; // Native definition for P/Invoke marshalling of System.Enum struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_pinvoke { }; // Native definition for COM marshalling of System.Enum struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_com { }; // System.Int32 struct Int32_t585191389E07734F19F3156FF88FB3EF4800D102 { public: // System.Int32 System.Int32::m_value int32_t ___m_value_0; public: inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int32_t585191389E07734F19F3156FF88FB3EF4800D102, ___m_value_0)); } inline int32_t get_m_value_0() const { return ___m_value_0; } inline int32_t* get_address_of_m_value_0() { return &___m_value_0; } inline void set_m_value_0(int32_t value) { ___m_value_0 = value; } }; // System.IntPtr struct IntPtr_t { public: // System.Void* System.IntPtr::m_value void* ___m_value_0; public: inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); } inline void* get_m_value_0() const { return ___m_value_0; } inline void** get_address_of_m_value_0() { return &___m_value_0; } inline void set_m_value_0(void* value) { ___m_value_0 = value; } }; struct IntPtr_t_StaticFields { public: // System.IntPtr System.IntPtr::Zero intptr_t ___Zero_1; public: inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); } inline intptr_t get_Zero_1() const { return ___Zero_1; } inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; } inline void set_Zero_1(intptr_t value) { ___Zero_1 = value; } }; // System.Single struct Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1 { public: // System.Single System.Single::m_value float ___m_value_0; public: inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1, ___m_value_0)); } inline float get_m_value_0() const { return ___m_value_0; } inline float* get_address_of_m_value_0() { return &___m_value_0; } inline void set_m_value_0(float value) { ___m_value_0 = value; } }; // System.UInt32 struct UInt32_t4980FA09003AFAAB5A6E361BA2748EA9A005709B { public: // System.UInt32 System.UInt32::m_value uint32_t ___m_value_0; public: inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(UInt32_t4980FA09003AFAAB5A6E361BA2748EA9A005709B, ___m_value_0)); } inline uint32_t get_m_value_0() const { return ___m_value_0; } inline uint32_t* get_address_of_m_value_0() { return &___m_value_0; } inline void set_m_value_0(uint32_t value) { ___m_value_0 = value; } }; // System.Void struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017 { public: union { struct { }; uint8_t Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017__padding[1]; }; public: }; // UnityEngine.Color struct Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 { public: // System.Single UnityEngine.Color::r float ___r_0; // System.Single UnityEngine.Color::g float ___g_1; // System.Single UnityEngine.Color::b float ___b_2; // System.Single UnityEngine.Color::a float ___a_3; public: inline static int32_t get_offset_of_r_0() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___r_0)); } inline float get_r_0() const { return ___r_0; } inline float* get_address_of_r_0() { return &___r_0; } inline void set_r_0(float value) { ___r_0 = value; } inline static int32_t get_offset_of_g_1() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___g_1)); } inline float get_g_1() const { return ___g_1; } inline float* get_address_of_g_1() { return &___g_1; } inline void set_g_1(float value) { ___g_1 = value; } inline static int32_t get_offset_of_b_2() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___b_2)); } inline float get_b_2() const { return ___b_2; } inline float* get_address_of_b_2() { return &___b_2; } inline void set_b_2(float value) { ___b_2 = value; } inline static int32_t get_offset_of_a_3() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___a_3)); } inline float get_a_3() const { return ___a_3; } inline float* get_address_of_a_3() { return &___a_3; } inline void set_a_3(float value) { ___a_3 = value; } }; // UnityEngine.Color32 struct Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 { public: union { #pragma pack(push, tp, 1) struct { // System.Int32 UnityEngine.Color32::rgba int32_t ___rgba_0; }; #pragma pack(pop, tp) struct { int32_t ___rgba_0_forAlignmentOnly; }; #pragma pack(push, tp, 1) struct { // System.Byte UnityEngine.Color32::r uint8_t ___r_1; }; #pragma pack(pop, tp) struct { uint8_t ___r_1_forAlignmentOnly; }; #pragma pack(push, tp, 1) struct { char ___g_2_OffsetPadding[1]; // System.Byte UnityEngine.Color32::g uint8_t ___g_2; }; #pragma pack(pop, tp) struct { char ___g_2_OffsetPadding_forAlignmentOnly[1]; uint8_t ___g_2_forAlignmentOnly; }; #pragma pack(push, tp, 1) struct { char ___b_3_OffsetPadding[2]; // System.Byte UnityEngine.Color32::b uint8_t ___b_3; }; #pragma pack(pop, tp) struct { char ___b_3_OffsetPadding_forAlignmentOnly[2]; uint8_t ___b_3_forAlignmentOnly; }; #pragma pack(push, tp, 1) struct { char ___a_4_OffsetPadding[3]; // System.Byte UnityEngine.Color32::a uint8_t ___a_4; }; #pragma pack(pop, tp) struct { char ___a_4_OffsetPadding_forAlignmentOnly[3]; uint8_t ___a_4_forAlignmentOnly; }; }; public: inline static int32_t get_offset_of_rgba_0() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___rgba_0)); } inline int32_t get_rgba_0() const { return ___rgba_0; } inline int32_t* get_address_of_rgba_0() { return &___rgba_0; } inline void set_rgba_0(int32_t value) { ___rgba_0 = value; } inline static int32_t get_offset_of_r_1() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___r_1)); } inline uint8_t get_r_1() const { return ___r_1; } inline uint8_t* get_address_of_r_1() { return &___r_1; } inline void set_r_1(uint8_t value) { ___r_1 = value; } inline static int32_t get_offset_of_g_2() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___g_2)); } inline uint8_t get_g_2() const { return ___g_2; } inline uint8_t* get_address_of_g_2() { return &___g_2; } inline void set_g_2(uint8_t value) { ___g_2 = value; } inline static int32_t get_offset_of_b_3() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___b_3)); } inline uint8_t get_b_3() const { return ___b_3; } inline uint8_t* get_address_of_b_3() { return &___b_3; } inline void set_b_3(uint8_t value) { ___b_3 = value; } inline static int32_t get_offset_of_a_4() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___a_4)); } inline uint8_t get_a_4() const { return ___a_4; } inline uint8_t* get_address_of_a_4() { return &___a_4; } inline void set_a_4(uint8_t value) { ___a_4 = value; } }; // UnityEngine.Rect struct Rect_t35B976DE901B5423C11705E156938EA27AB402CE { public: // System.Single UnityEngine.Rect::m_XMin float ___m_XMin_0; // System.Single UnityEngine.Rect::m_YMin float ___m_YMin_1; // System.Single UnityEngine.Rect::m_Width float ___m_Width_2; // System.Single UnityEngine.Rect::m_Height float ___m_Height_3; public: inline static int32_t get_offset_of_m_XMin_0() { return static_cast<int32_t>(offsetof(Rect_t35B976DE901B5423C11705E156938EA27AB402CE, ___m_XMin_0)); } inline float get_m_XMin_0() const { return ___m_XMin_0; } inline float* get_address_of_m_XMin_0() { return &___m_XMin_0; } inline void set_m_XMin_0(float value) { ___m_XMin_0 = value; } inline static int32_t get_offset_of_m_YMin_1() { return static_cast<int32_t>(offsetof(Rect_t35B976DE901B5423C11705E156938EA27AB402CE, ___m_YMin_1)); } inline float get_m_YMin_1() const { return ___m_YMin_1; } inline float* get_address_of_m_YMin_1() { return &___m_YMin_1; } inline void set_m_YMin_1(float value) { ___m_YMin_1 = value; } inline static int32_t get_offset_of_m_Width_2() { return static_cast<int32_t>(offsetof(Rect_t35B976DE901B5423C11705E156938EA27AB402CE, ___m_Width_2)); } inline float get_m_Width_2() const { return ___m_Width_2; } inline float* get_address_of_m_Width_2() { return &___m_Width_2; } inline void set_m_Width_2(float value) { ___m_Width_2 = value; } inline static int32_t get_offset_of_m_Height_3() { return static_cast<int32_t>(offsetof(Rect_t35B976DE901B5423C11705E156938EA27AB402CE, ___m_Height_3)); } inline float get_m_Height_3() const { return ___m_Height_3; } inline float* get_address_of_m_Height_3() { return &___m_Height_3; } inline void set_m_Height_3(float value) { ___m_Height_3 = value; } }; // UnityEngine.UILineInfo struct UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6 { public: // System.Int32 UnityEngine.UILineInfo::startCharIdx int32_t ___startCharIdx_0; // System.Int32 UnityEngine.UILineInfo::height int32_t ___height_1; // System.Single UnityEngine.UILineInfo::topY float ___topY_2; // System.Single UnityEngine.UILineInfo::leading float ___leading_3; public: inline static int32_t get_offset_of_startCharIdx_0() { return static_cast<int32_t>(offsetof(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6, ___startCharIdx_0)); } inline int32_t get_startCharIdx_0() const { return ___startCharIdx_0; } inline int32_t* get_address_of_startCharIdx_0() { return &___startCharIdx_0; } inline void set_startCharIdx_0(int32_t value) { ___startCharIdx_0 = value; } inline static int32_t get_offset_of_height_1() { return static_cast<int32_t>(offsetof(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6, ___height_1)); } inline int32_t get_height_1() const { return ___height_1; } inline int32_t* get_address_of_height_1() { return &___height_1; } inline void set_height_1(int32_t value) { ___height_1 = value; } inline static int32_t get_offset_of_topY_2() { return static_cast<int32_t>(offsetof(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6, ___topY_2)); } inline float get_topY_2() const { return ___topY_2; } inline float* get_address_of_topY_2() { return &___topY_2; } inline void set_topY_2(float value) { ___topY_2 = value; } inline static int32_t get_offset_of_leading_3() { return static_cast<int32_t>(offsetof(UILineInfo_t0AF27251CA07CEE2BC0C1FEF752245596B8033E6, ___leading_3)); } inline float get_leading_3() const { return ___leading_3; } inline float* get_address_of_leading_3() { return &___leading_3; } inline void set_leading_3(float value) { ___leading_3 = value; } }; // UnityEngine.Vector2 struct Vector2_tA85D2DD88578276CA8A8796756458277E72D073D { public: // System.Single UnityEngine.Vector2::x float ___x_0; // System.Single UnityEngine.Vector2::y float ___y_1; public: inline static int32_t get_offset_of_x_0() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D, ___x_0)); } inline float get_x_0() const { return ___x_0; } inline float* get_address_of_x_0() { return &___x_0; } inline void set_x_0(float value) { ___x_0 = value; } inline static int32_t get_offset_of_y_1() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D, ___y_1)); } inline float get_y_1() const { return ___y_1; } inline float* get_address_of_y_1() { return &___y_1; } inline void set_y_1(float value) { ___y_1 = value; } }; struct Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields { public: // UnityEngine.Vector2 UnityEngine.Vector2::zeroVector Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___zeroVector_2; // UnityEngine.Vector2 UnityEngine.Vector2::oneVector Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___oneVector_3; // UnityEngine.Vector2 UnityEngine.Vector2::upVector Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___upVector_4; // UnityEngine.Vector2 UnityEngine.Vector2::downVector Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___downVector_5; // UnityEngine.Vector2 UnityEngine.Vector2::leftVector Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___leftVector_6; // UnityEngine.Vector2 UnityEngine.Vector2::rightVector Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___rightVector_7; // UnityEngine.Vector2 UnityEngine.Vector2::positiveInfinityVector Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___positiveInfinityVector_8; // UnityEngine.Vector2 UnityEngine.Vector2::negativeInfinityVector Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___negativeInfinityVector_9; public: inline static int32_t get_offset_of_zeroVector_2() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___zeroVector_2)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_zeroVector_2() const { return ___zeroVector_2; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_zeroVector_2() { return &___zeroVector_2; } inline void set_zeroVector_2(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___zeroVector_2 = value; } inline static int32_t get_offset_of_oneVector_3() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___oneVector_3)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_oneVector_3() const { return ___oneVector_3; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_oneVector_3() { return &___oneVector_3; } inline void set_oneVector_3(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___oneVector_3 = value; } inline static int32_t get_offset_of_upVector_4() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___upVector_4)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_upVector_4() const { return ___upVector_4; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_upVector_4() { return &___upVector_4; } inline void set_upVector_4(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___upVector_4 = value; } inline static int32_t get_offset_of_downVector_5() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___downVector_5)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_downVector_5() const { return ___downVector_5; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_downVector_5() { return &___downVector_5; } inline void set_downVector_5(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___downVector_5 = value; } inline static int32_t get_offset_of_leftVector_6() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___leftVector_6)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_leftVector_6() const { return ___leftVector_6; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_leftVector_6() { return &___leftVector_6; } inline void set_leftVector_6(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___leftVector_6 = value; } inline static int32_t get_offset_of_rightVector_7() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___rightVector_7)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_rightVector_7() const { return ___rightVector_7; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_rightVector_7() { return &___rightVector_7; } inline void set_rightVector_7(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___rightVector_7 = value; } inline static int32_t get_offset_of_positiveInfinityVector_8() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___positiveInfinityVector_8)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_positiveInfinityVector_8() const { return ___positiveInfinityVector_8; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_positiveInfinityVector_8() { return &___positiveInfinityVector_8; } inline void set_positiveInfinityVector_8(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___positiveInfinityVector_8 = value; } inline static int32_t get_offset_of_negativeInfinityVector_9() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___negativeInfinityVector_9)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_negativeInfinityVector_9() const { return ___negativeInfinityVector_9; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_negativeInfinityVector_9() { return &___negativeInfinityVector_9; } inline void set_negativeInfinityVector_9(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___negativeInfinityVector_9 = value; } }; // UnityEngine.Vector3 struct Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 { public: // System.Single UnityEngine.Vector3::x float ___x_2; // System.Single UnityEngine.Vector3::y float ___y_3; // System.Single UnityEngine.Vector3::z float ___z_4; public: inline static int32_t get_offset_of_x_2() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___x_2)); } inline float get_x_2() const { return ___x_2; } inline float* get_address_of_x_2() { return &___x_2; } inline void set_x_2(float value) { ___x_2 = value; } inline static int32_t get_offset_of_y_3() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___y_3)); } inline float get_y_3() const { return ___y_3; } inline float* get_address_of_y_3() { return &___y_3; } inline void set_y_3(float value) { ___y_3 = value; } inline static int32_t get_offset_of_z_4() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___z_4)); } inline float get_z_4() const { return ___z_4; } inline float* get_address_of_z_4() { return &___z_4; } inline void set_z_4(float value) { ___z_4 = value; } }; struct Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields { public: // UnityEngine.Vector3 UnityEngine.Vector3::zeroVector Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___zeroVector_5; // UnityEngine.Vector3 UnityEngine.Vector3::oneVector Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___oneVector_6; // UnityEngine.Vector3 UnityEngine.Vector3::upVector Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___upVector_7; // UnityEngine.Vector3 UnityEngine.Vector3::downVector Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___downVector_8; // UnityEngine.Vector3 UnityEngine.Vector3::leftVector Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___leftVector_9; // UnityEngine.Vector3 UnityEngine.Vector3::rightVector Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___rightVector_10; // UnityEngine.Vector3 UnityEngine.Vector3::forwardVector Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___forwardVector_11; // UnityEngine.Vector3 UnityEngine.Vector3::backVector Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___backVector_12; // UnityEngine.Vector3 UnityEngine.Vector3::positiveInfinityVector Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___positiveInfinityVector_13; // UnityEngine.Vector3 UnityEngine.Vector3::negativeInfinityVector Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___negativeInfinityVector_14; public: inline static int32_t get_offset_of_zeroVector_5() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___zeroVector_5)); } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_zeroVector_5() const { return ___zeroVector_5; } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_zeroVector_5() { return &___zeroVector_5; } inline void set_zeroVector_5(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value) { ___zeroVector_5 = value; } inline static int32_t get_offset_of_oneVector_6() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___oneVector_6)); } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_oneVector_6() const { return ___oneVector_6; } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_oneVector_6() { return &___oneVector_6; } inline void set_oneVector_6(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value) { ___oneVector_6 = value; } inline static int32_t get_offset_of_upVector_7() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___upVector_7)); } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_upVector_7() const { return ___upVector_7; } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_upVector_7() { return &___upVector_7; } inline void set_upVector_7(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value) { ___upVector_7 = value; } inline static int32_t get_offset_of_downVector_8() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___downVector_8)); } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_downVector_8() const { return ___downVector_8; } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_downVector_8() { return &___downVector_8; } inline void set_downVector_8(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value) { ___downVector_8 = value; } inline static int32_t get_offset_of_leftVector_9() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___leftVector_9)); } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_leftVector_9() const { return ___leftVector_9; } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_leftVector_9() { return &___leftVector_9; } inline void set_leftVector_9(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value) { ___leftVector_9 = value; } inline static int32_t get_offset_of_rightVector_10() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___rightVector_10)); } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_rightVector_10() const { return ___rightVector_10; } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_rightVector_10() { return &___rightVector_10; } inline void set_rightVector_10(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value) { ___rightVector_10 = value; } inline static int32_t get_offset_of_forwardVector_11() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___forwardVector_11)); } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_forwardVector_11() const { return ___forwardVector_11; } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_forwardVector_11() { return &___forwardVector_11; } inline void set_forwardVector_11(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value) { ___forwardVector_11 = value; } inline static int32_t get_offset_of_backVector_12() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___backVector_12)); } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_backVector_12() const { return ___backVector_12; } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_backVector_12() { return &___backVector_12; } inline void set_backVector_12(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value) { ___backVector_12 = value; } inline static int32_t get_offset_of_positiveInfinityVector_13() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___positiveInfinityVector_13)); } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_positiveInfinityVector_13() const { return ___positiveInfinityVector_13; } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_positiveInfinityVector_13() { return &___positiveInfinityVector_13; } inline void set_positiveInfinityVector_13(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value) { ___positiveInfinityVector_13 = value; } inline static int32_t get_offset_of_negativeInfinityVector_14() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___negativeInfinityVector_14)); } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_negativeInfinityVector_14() const { return ___negativeInfinityVector_14; } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_negativeInfinityVector_14() { return &___negativeInfinityVector_14; } inline void set_negativeInfinityVector_14(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value) { ___negativeInfinityVector_14 = value; } }; // UnityEngine.Vector4 struct Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E { public: // System.Single UnityEngine.Vector4::x float ___x_1; // System.Single UnityEngine.Vector4::y float ___y_2; // System.Single UnityEngine.Vector4::z float ___z_3; // System.Single UnityEngine.Vector4::w float ___w_4; public: inline static int32_t get_offset_of_x_1() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E, ___x_1)); } inline float get_x_1() const { return ___x_1; } inline float* get_address_of_x_1() { return &___x_1; } inline void set_x_1(float value) { ___x_1 = value; } inline static int32_t get_offset_of_y_2() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E, ___y_2)); } inline float get_y_2() const { return ___y_2; } inline float* get_address_of_y_2() { return &___y_2; } inline void set_y_2(float value) { ___y_2 = value; } inline static int32_t get_offset_of_z_3() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E, ___z_3)); } inline float get_z_3() const { return ___z_3; } inline float* get_address_of_z_3() { return &___z_3; } inline void set_z_3(float value) { ___z_3 = value; } inline static int32_t get_offset_of_w_4() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E, ___w_4)); } inline float get_w_4() const { return ___w_4; } inline float* get_address_of_w_4() { return &___w_4; } inline void set_w_4(float value) { ___w_4 = value; } }; struct Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields { public: // UnityEngine.Vector4 UnityEngine.Vector4::zeroVector Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___zeroVector_5; // UnityEngine.Vector4 UnityEngine.Vector4::oneVector Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___oneVector_6; // UnityEngine.Vector4 UnityEngine.Vector4::positiveInfinityVector Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___positiveInfinityVector_7; // UnityEngine.Vector4 UnityEngine.Vector4::negativeInfinityVector Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___negativeInfinityVector_8; public: inline static int32_t get_offset_of_zeroVector_5() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields, ___zeroVector_5)); } inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_zeroVector_5() const { return ___zeroVector_5; } inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_zeroVector_5() { return &___zeroVector_5; } inline void set_zeroVector_5(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value) { ___zeroVector_5 = value; } inline static int32_t get_offset_of_oneVector_6() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields, ___oneVector_6)); } inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_oneVector_6() const { return ___oneVector_6; } inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_oneVector_6() { return &___oneVector_6; } inline void set_oneVector_6(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value) { ___oneVector_6 = value; } inline static int32_t get_offset_of_positiveInfinityVector_7() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields, ___positiveInfinityVector_7)); } inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_positiveInfinityVector_7() const { return ___positiveInfinityVector_7; } inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_positiveInfinityVector_7() { return &___positiveInfinityVector_7; } inline void set_positiveInfinityVector_7(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value) { ___positiveInfinityVector_7 = value; } inline static int32_t get_offset_of_negativeInfinityVector_8() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields, ___negativeInfinityVector_8)); } inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_negativeInfinityVector_8() const { return ___negativeInfinityVector_8; } inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_negativeInfinityVector_8() { return &___negativeInfinityVector_8; } inline void set_negativeInfinityVector_8(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value) { ___negativeInfinityVector_8 = value; } }; // System.Delegate struct Delegate_t : public RuntimeObject { public: // System.IntPtr System.Delegate::method_ptr Il2CppMethodPointer ___method_ptr_0; // System.IntPtr System.Delegate::invoke_impl intptr_t ___invoke_impl_1; // System.Object System.Delegate::m_target RuntimeObject * ___m_target_2; // System.IntPtr System.Delegate::method intptr_t ___method_3; // System.IntPtr System.Delegate::delegate_trampoline intptr_t ___delegate_trampoline_4; // System.IntPtr System.Delegate::extra_arg intptr_t ___extra_arg_5; // System.IntPtr System.Delegate::method_code intptr_t ___method_code_6; // System.Reflection.MethodInfo System.Delegate::method_info MethodInfo_t * ___method_info_7; // System.Reflection.MethodInfo System.Delegate::original_method_info MethodInfo_t * ___original_method_info_8; // System.DelegateData System.Delegate::data DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9; // System.Boolean System.Delegate::method_is_virtual bool ___method_is_virtual_10; public: inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_ptr_0)); } inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; } inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; } inline void set_method_ptr_0(Il2CppMethodPointer value) { ___method_ptr_0 = value; } inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t, ___invoke_impl_1)); } inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; } inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; } inline void set_invoke_impl_1(intptr_t value) { ___invoke_impl_1 = value; } inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t, ___m_target_2)); } inline RuntimeObject * get_m_target_2() const { return ___m_target_2; } inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; } inline void set_m_target_2(RuntimeObject * value) { ___m_target_2 = value; Il2CppCodeGenWriteBarrier((void**)(&___m_target_2), (void*)value); } inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_3)); } inline intptr_t get_method_3() const { return ___method_3; } inline intptr_t* get_address_of_method_3() { return &___method_3; } inline void set_method_3(intptr_t value) { ___method_3 = value; } inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t, ___delegate_trampoline_4)); } inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; } inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; } inline void set_delegate_trampoline_4(intptr_t value) { ___delegate_trampoline_4 = value; } inline static int32_t get_offset_of_extra_arg_5() { return static_cast<int32_t>(offsetof(Delegate_t, ___extra_arg_5)); } inline intptr_t get_extra_arg_5() const { return ___extra_arg_5; } inline intptr_t* get_address_of_extra_arg_5() { return &___extra_arg_5; } inline void set_extra_arg_5(intptr_t value) { ___extra_arg_5 = value; } inline static int32_t get_offset_of_method_code_6() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_code_6)); } inline intptr_t get_method_code_6() const { return ___method_code_6; } inline intptr_t* get_address_of_method_code_6() { return &___method_code_6; } inline void set_method_code_6(intptr_t value) { ___method_code_6 = value; } inline static int32_t get_offset_of_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_info_7)); } inline MethodInfo_t * get_method_info_7() const { return ___method_info_7; } inline MethodInfo_t ** get_address_of_method_info_7() { return &___method_info_7; } inline void set_method_info_7(MethodInfo_t * value) { ___method_info_7 = value; Il2CppCodeGenWriteBarrier((void**)(&___method_info_7), (void*)value); } inline static int32_t get_offset_of_original_method_info_8() { return static_cast<int32_t>(offsetof(Delegate_t, ___original_method_info_8)); } inline MethodInfo_t * get_original_method_info_8() const { return ___original_method_info_8; } inline MethodInfo_t ** get_address_of_original_method_info_8() { return &___original_method_info_8; } inline void set_original_method_info_8(MethodInfo_t * value) { ___original_method_info_8 = value; Il2CppCodeGenWriteBarrier((void**)(&___original_method_info_8), (void*)value); } inline static int32_t get_offset_of_data_9() { return static_cast<int32_t>(offsetof(Delegate_t, ___data_9)); } inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * get_data_9() const { return ___data_9; } inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE ** get_address_of_data_9() { return &___data_9; } inline void set_data_9(DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * value) { ___data_9 = value; Il2CppCodeGenWriteBarrier((void**)(&___data_9), (void*)value); } inline static int32_t get_offset_of_method_is_virtual_10() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_is_virtual_10)); } inline bool get_method_is_virtual_10() const { return ___method_is_virtual_10; } inline bool* get_address_of_method_is_virtual_10() { return &___method_is_virtual_10; } inline void set_method_is_virtual_10(bool value) { ___method_is_virtual_10 = value; } }; // Native definition for P/Invoke marshalling of System.Delegate struct Delegate_t_marshaled_pinvoke { intptr_t ___method_ptr_0; intptr_t ___invoke_impl_1; Il2CppIUnknown* ___m_target_2; intptr_t ___method_3; intptr_t ___delegate_trampoline_4; intptr_t ___extra_arg_5; intptr_t ___method_code_6; MethodInfo_t * ___method_info_7; MethodInfo_t * ___original_method_info_8; DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9; int32_t ___method_is_virtual_10; }; // Native definition for COM marshalling of System.Delegate struct Delegate_t_marshaled_com { intptr_t ___method_ptr_0; intptr_t ___invoke_impl_1; Il2CppIUnknown* ___m_target_2; intptr_t ___method_3; intptr_t ___delegate_trampoline_4; intptr_t ___extra_arg_5; intptr_t ___method_code_6; MethodInfo_t * ___method_info_7; MethodInfo_t * ___original_method_info_8; DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9; int32_t ___method_is_virtual_10; }; // System.MidpointRounding struct MidpointRounding_t458D56BA077AD42C4E857EB00CF6E8AC43761409 { public: // System.Int32 System.MidpointRounding::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(MidpointRounding_t458D56BA077AD42C4E857EB00CF6E8AC43761409, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; // UnityEngine.FontStyle struct FontStyle_t273973EBB1F40C2381F6D60AB957149DE5720CF3 { public: // System.Int32 UnityEngine.FontStyle::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(FontStyle_t273973EBB1F40C2381F6D60AB957149DE5720CF3, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; // UnityEngine.HorizontalWrapMode struct HorizontalWrapMode_t56D876281F814EC1AF0C21A34E20BBF4BEEA302C { public: // System.Int32 UnityEngine.HorizontalWrapMode::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(HorizontalWrapMode_t56D876281F814EC1AF0C21A34E20BBF4BEEA302C, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; // UnityEngine.Object struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 : public RuntimeObject { public: // System.IntPtr UnityEngine.Object::m_CachedPtr intptr_t ___m_CachedPtr_0; public: inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast<int32_t>(offsetof(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0, ___m_CachedPtr_0)); } inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; } inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; } inline void set_m_CachedPtr_0(intptr_t value) { ___m_CachedPtr_0 = value; } }; struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_StaticFields { public: // System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1; public: inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast<int32_t>(offsetof(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); } inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; } inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; } inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value) { ___OffsetOfInstanceIDInCPlusPlusObject_1 = value; } }; // Native definition for P/Invoke marshalling of UnityEngine.Object struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_pinvoke { intptr_t ___m_CachedPtr_0; }; // Native definition for COM marshalling of UnityEngine.Object struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_com { intptr_t ___m_CachedPtr_0; }; // UnityEngine.TextAnchor struct TextAnchor_tEC19034D476659A5E05366C63564F34DD30E7C57 { public: // System.Int32 UnityEngine.TextAnchor::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TextAnchor_tEC19034D476659A5E05366C63564F34DD30E7C57, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; // UnityEngine.TextGenerationError struct TextGenerationError_t7D5BA12E3120623131293E20A1120847377A2524 { public: // System.Int32 UnityEngine.TextGenerationError::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TextGenerationError_t7D5BA12E3120623131293E20A1120847377A2524, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; // UnityEngine.UICharInfo struct UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A { public: // UnityEngine.Vector2 UnityEngine.UICharInfo::cursorPos Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___cursorPos_0; // System.Single UnityEngine.UICharInfo::charWidth float ___charWidth_1; public: inline static int32_t get_offset_of_cursorPos_0() { return static_cast<int32_t>(offsetof(UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A, ___cursorPos_0)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_cursorPos_0() const { return ___cursorPos_0; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_cursorPos_0() { return &___cursorPos_0; } inline void set_cursorPos_0(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___cursorPos_0 = value; } inline static int32_t get_offset_of_charWidth_1() { return static_cast<int32_t>(offsetof(UICharInfo_tB4C92043A686A600D36A92E3108F173C499E318A, ___charWidth_1)); } inline float get_charWidth_1() const { return ___charWidth_1; } inline float* get_address_of_charWidth_1() { return &___charWidth_1; } inline void set_charWidth_1(float value) { ___charWidth_1 = value; } }; // UnityEngine.UIVertex struct UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 { public: // UnityEngine.Vector3 UnityEngine.UIVertex::position Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___position_0; // UnityEngine.Vector3 UnityEngine.UIVertex::normal Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___normal_1; // UnityEngine.Vector4 UnityEngine.UIVertex::tangent Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___tangent_2; // UnityEngine.Color32 UnityEngine.UIVertex::color Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___color_3; // UnityEngine.Vector2 UnityEngine.UIVertex::uv0 Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv0_4; // UnityEngine.Vector2 UnityEngine.UIVertex::uv1 Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv1_5; // UnityEngine.Vector2 UnityEngine.UIVertex::uv2 Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv2_6; // UnityEngine.Vector2 UnityEngine.UIVertex::uv3 Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv3_7; public: inline static int32_t get_offset_of_position_0() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___position_0)); } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_position_0() const { return ___position_0; } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_position_0() { return &___position_0; } inline void set_position_0(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value) { ___position_0 = value; } inline static int32_t get_offset_of_normal_1() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___normal_1)); } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_normal_1() const { return ___normal_1; } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_normal_1() { return &___normal_1; } inline void set_normal_1(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value) { ___normal_1 = value; } inline static int32_t get_offset_of_tangent_2() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___tangent_2)); } inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_tangent_2() const { return ___tangent_2; } inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_tangent_2() { return &___tangent_2; } inline void set_tangent_2(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value) { ___tangent_2 = value; } inline static int32_t get_offset_of_color_3() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___color_3)); } inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 get_color_3() const { return ___color_3; } inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 * get_address_of_color_3() { return &___color_3; } inline void set_color_3(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 value) { ___color_3 = value; } inline static int32_t get_offset_of_uv0_4() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___uv0_4)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_uv0_4() const { return ___uv0_4; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_uv0_4() { return &___uv0_4; } inline void set_uv0_4(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___uv0_4 = value; } inline static int32_t get_offset_of_uv1_5() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___uv1_5)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_uv1_5() const { return ___uv1_5; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_uv1_5() { return &___uv1_5; } inline void set_uv1_5(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___uv1_5 = value; } inline static int32_t get_offset_of_uv2_6() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___uv2_6)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_uv2_6() const { return ___uv2_6; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_uv2_6() { return &___uv2_6; } inline void set_uv2_6(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___uv2_6 = value; } inline static int32_t get_offset_of_uv3_7() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___uv3_7)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_uv3_7() const { return ___uv3_7; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_uv3_7() { return &___uv3_7; } inline void set_uv3_7(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___uv3_7 = value; } }; struct UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_StaticFields { public: // UnityEngine.Color32 UnityEngine.UIVertex::s_DefaultColor Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___s_DefaultColor_8; // UnityEngine.Vector4 UnityEngine.UIVertex::s_DefaultTangent Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___s_DefaultTangent_9; // UnityEngine.UIVertex UnityEngine.UIVertex::simpleVert UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 ___simpleVert_10; public: inline static int32_t get_offset_of_s_DefaultColor_8() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_StaticFields, ___s_DefaultColor_8)); } inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 get_s_DefaultColor_8() const { return ___s_DefaultColor_8; } inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 * get_address_of_s_DefaultColor_8() { return &___s_DefaultColor_8; } inline void set_s_DefaultColor_8(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 value) { ___s_DefaultColor_8 = value; } inline static int32_t get_offset_of_s_DefaultTangent_9() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_StaticFields, ___s_DefaultTangent_9)); } inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_s_DefaultTangent_9() const { return ___s_DefaultTangent_9; } inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_s_DefaultTangent_9() { return &___s_DefaultTangent_9; } inline void set_s_DefaultTangent_9(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value) { ___s_DefaultTangent_9 = value; } inline static int32_t get_offset_of_simpleVert_10() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_StaticFields, ___simpleVert_10)); } inline UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 get_simpleVert_10() const { return ___simpleVert_10; } inline UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 * get_address_of_simpleVert_10() { return &___simpleVert_10; } inline void set_simpleVert_10(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 value) { ___simpleVert_10 = value; } }; // UnityEngine.VerticalWrapMode struct VerticalWrapMode_tD909C5B2F6A25AE3797BC71373196D850FC845E9 { public: // System.Int32 UnityEngine.VerticalWrapMode::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(VerticalWrapMode_tD909C5B2F6A25AE3797BC71373196D850FC845E9, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; // System.MulticastDelegate struct MulticastDelegate_t : public Delegate_t { public: // System.Delegate[] System.MulticastDelegate::delegates DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* ___delegates_11; public: inline static int32_t get_offset_of_delegates_11() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___delegates_11)); } inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* get_delegates_11() const { return ___delegates_11; } inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86** get_address_of_delegates_11() { return &___delegates_11; } inline void set_delegates_11(DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* value) { ___delegates_11 = value; Il2CppCodeGenWriteBarrier((void**)(&___delegates_11), (void*)value); } }; // Native definition for P/Invoke marshalling of System.MulticastDelegate struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke { Delegate_t_marshaled_pinvoke** ___delegates_11; }; // Native definition for COM marshalling of System.MulticastDelegate struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com { Delegate_t_marshaled_com** ___delegates_11; }; // UnityEngine.CharacterInfo struct CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313 { public: // System.Int32 UnityEngine.CharacterInfo::index int32_t ___index_0; // UnityEngine.Rect UnityEngine.CharacterInfo::uv Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___uv_1; // UnityEngine.Rect UnityEngine.CharacterInfo::vert Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___vert_2; // System.Single UnityEngine.CharacterInfo::width float ___width_3; // System.Int32 UnityEngine.CharacterInfo::size int32_t ___size_4; // UnityEngine.FontStyle UnityEngine.CharacterInfo::style int32_t ___style_5; // System.Boolean UnityEngine.CharacterInfo::flipped bool ___flipped_6; public: inline static int32_t get_offset_of_index_0() { return static_cast<int32_t>(offsetof(CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313, ___index_0)); } inline int32_t get_index_0() const { return ___index_0; } inline int32_t* get_address_of_index_0() { return &___index_0; } inline void set_index_0(int32_t value) { ___index_0 = value; } inline static int32_t get_offset_of_uv_1() { return static_cast<int32_t>(offsetof(CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313, ___uv_1)); } inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE get_uv_1() const { return ___uv_1; } inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE * get_address_of_uv_1() { return &___uv_1; } inline void set_uv_1(Rect_t35B976DE901B5423C11705E156938EA27AB402CE value) { ___uv_1 = value; } inline static int32_t get_offset_of_vert_2() { return static_cast<int32_t>(offsetof(CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313, ___vert_2)); } inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE get_vert_2() const { return ___vert_2; } inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE * get_address_of_vert_2() { return &___vert_2; } inline void set_vert_2(Rect_t35B976DE901B5423C11705E156938EA27AB402CE value) { ___vert_2 = value; } inline static int32_t get_offset_of_width_3() { return static_cast<int32_t>(offsetof(CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313, ___width_3)); } inline float get_width_3() const { return ___width_3; } inline float* get_address_of_width_3() { return &___width_3; } inline void set_width_3(float value) { ___width_3 = value; } inline static int32_t get_offset_of_size_4() { return static_cast<int32_t>(offsetof(CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313, ___size_4)); } inline int32_t get_size_4() const { return ___size_4; } inline int32_t* get_address_of_size_4() { return &___size_4; } inline void set_size_4(int32_t value) { ___size_4 = value; } inline static int32_t get_offset_of_style_5() { return static_cast<int32_t>(offsetof(CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313, ___style_5)); } inline int32_t get_style_5() const { return ___style_5; } inline int32_t* get_address_of_style_5() { return &___style_5; } inline void set_style_5(int32_t value) { ___style_5 = value; } inline static int32_t get_offset_of_flipped_6() { return static_cast<int32_t>(offsetof(CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313, ___flipped_6)); } inline bool get_flipped_6() const { return ___flipped_6; } inline bool* get_address_of_flipped_6() { return &___flipped_6; } inline void set_flipped_6(bool value) { ___flipped_6 = value; } }; // Native definition for P/Invoke marshalling of UnityEngine.CharacterInfo struct CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313_marshaled_pinvoke { int32_t ___index_0; Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___uv_1; Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___vert_2; float ___width_3; int32_t ___size_4; int32_t ___style_5; int32_t ___flipped_6; }; // Native definition for COM marshalling of UnityEngine.CharacterInfo struct CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313_marshaled_com { int32_t ___index_0; Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___uv_1; Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___vert_2; float ___width_3; int32_t ___size_4; int32_t ___style_5; int32_t ___flipped_6; }; // UnityEngine.Component struct Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 { public: public: }; // UnityEngine.Font struct Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 { public: // UnityEngine.Font_FontTextureRebuildCallback UnityEngine.Font::m_FontTextureRebuildCallback FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * ___m_FontTextureRebuildCallback_5; public: inline static int32_t get_offset_of_m_FontTextureRebuildCallback_5() { return static_cast<int32_t>(offsetof(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26, ___m_FontTextureRebuildCallback_5)); } inline FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * get_m_FontTextureRebuildCallback_5() const { return ___m_FontTextureRebuildCallback_5; } inline FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C ** get_address_of_m_FontTextureRebuildCallback_5() { return &___m_FontTextureRebuildCallback_5; } inline void set_m_FontTextureRebuildCallback_5(FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * value) { ___m_FontTextureRebuildCallback_5 = value; Il2CppCodeGenWriteBarrier((void**)(&___m_FontTextureRebuildCallback_5), (void*)value); } }; struct Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_StaticFields { public: // System.Action`1<UnityEngine.Font> UnityEngine.Font::textureRebuilt Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * ___textureRebuilt_4; public: inline static int32_t get_offset_of_textureRebuilt_4() { return static_cast<int32_t>(offsetof(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_StaticFields, ___textureRebuilt_4)); } inline Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * get_textureRebuilt_4() const { return ___textureRebuilt_4; } inline Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C ** get_address_of_textureRebuilt_4() { return &___textureRebuilt_4; } inline void set_textureRebuilt_4(Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * value) { ___textureRebuilt_4 = value; Il2CppCodeGenWriteBarrier((void**)(&___textureRebuilt_4), (void*)value); } }; // UnityEngine.GameObject struct GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 { public: public: }; // UnityEngine.Material struct Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 { public: public: }; // UnityEngine.TextGenerationSettings struct TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 { public: // UnityEngine.Font UnityEngine.TextGenerationSettings::font Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font_0; // UnityEngine.Color UnityEngine.TextGenerationSettings::color Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___color_1; // System.Int32 UnityEngine.TextGenerationSettings::fontSize int32_t ___fontSize_2; // System.Single UnityEngine.TextGenerationSettings::lineSpacing float ___lineSpacing_3; // System.Boolean UnityEngine.TextGenerationSettings::richText bool ___richText_4; // System.Single UnityEngine.TextGenerationSettings::scaleFactor float ___scaleFactor_5; // UnityEngine.FontStyle UnityEngine.TextGenerationSettings::fontStyle int32_t ___fontStyle_6; // UnityEngine.TextAnchor UnityEngine.TextGenerationSettings::textAnchor int32_t ___textAnchor_7; // System.Boolean UnityEngine.TextGenerationSettings::alignByGeometry bool ___alignByGeometry_8; // System.Boolean UnityEngine.TextGenerationSettings::resizeTextForBestFit bool ___resizeTextForBestFit_9; // System.Int32 UnityEngine.TextGenerationSettings::resizeTextMinSize int32_t ___resizeTextMinSize_10; // System.Int32 UnityEngine.TextGenerationSettings::resizeTextMaxSize int32_t ___resizeTextMaxSize_11; // System.Boolean UnityEngine.TextGenerationSettings::updateBounds bool ___updateBounds_12; // UnityEngine.VerticalWrapMode UnityEngine.TextGenerationSettings::verticalOverflow int32_t ___verticalOverflow_13; // UnityEngine.HorizontalWrapMode UnityEngine.TextGenerationSettings::horizontalOverflow int32_t ___horizontalOverflow_14; // UnityEngine.Vector2 UnityEngine.TextGenerationSettings::generationExtents Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___generationExtents_15; // UnityEngine.Vector2 UnityEngine.TextGenerationSettings::pivot Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___pivot_16; // System.Boolean UnityEngine.TextGenerationSettings::generateOutOfBounds bool ___generateOutOfBounds_17; public: inline static int32_t get_offset_of_font_0() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___font_0)); } inline Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * get_font_0() const { return ___font_0; } inline Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 ** get_address_of_font_0() { return &___font_0; } inline void set_font_0(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * value) { ___font_0 = value; Il2CppCodeGenWriteBarrier((void**)(&___font_0), (void*)value); } inline static int32_t get_offset_of_color_1() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___color_1)); } inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_color_1() const { return ___color_1; } inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_color_1() { return &___color_1; } inline void set_color_1(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value) { ___color_1 = value; } inline static int32_t get_offset_of_fontSize_2() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___fontSize_2)); } inline int32_t get_fontSize_2() const { return ___fontSize_2; } inline int32_t* get_address_of_fontSize_2() { return &___fontSize_2; } inline void set_fontSize_2(int32_t value) { ___fontSize_2 = value; } inline static int32_t get_offset_of_lineSpacing_3() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___lineSpacing_3)); } inline float get_lineSpacing_3() const { return ___lineSpacing_3; } inline float* get_address_of_lineSpacing_3() { return &___lineSpacing_3; } inline void set_lineSpacing_3(float value) { ___lineSpacing_3 = value; } inline static int32_t get_offset_of_richText_4() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___richText_4)); } inline bool get_richText_4() const { return ___richText_4; } inline bool* get_address_of_richText_4() { return &___richText_4; } inline void set_richText_4(bool value) { ___richText_4 = value; } inline static int32_t get_offset_of_scaleFactor_5() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___scaleFactor_5)); } inline float get_scaleFactor_5() const { return ___scaleFactor_5; } inline float* get_address_of_scaleFactor_5() { return &___scaleFactor_5; } inline void set_scaleFactor_5(float value) { ___scaleFactor_5 = value; } inline static int32_t get_offset_of_fontStyle_6() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___fontStyle_6)); } inline int32_t get_fontStyle_6() const { return ___fontStyle_6; } inline int32_t* get_address_of_fontStyle_6() { return &___fontStyle_6; } inline void set_fontStyle_6(int32_t value) { ___fontStyle_6 = value; } inline static int32_t get_offset_of_textAnchor_7() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___textAnchor_7)); } inline int32_t get_textAnchor_7() const { return ___textAnchor_7; } inline int32_t* get_address_of_textAnchor_7() { return &___textAnchor_7; } inline void set_textAnchor_7(int32_t value) { ___textAnchor_7 = value; } inline static int32_t get_offset_of_alignByGeometry_8() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___alignByGeometry_8)); } inline bool get_alignByGeometry_8() const { return ___alignByGeometry_8; } inline bool* get_address_of_alignByGeometry_8() { return &___alignByGeometry_8; } inline void set_alignByGeometry_8(bool value) { ___alignByGeometry_8 = value; } inline static int32_t get_offset_of_resizeTextForBestFit_9() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___resizeTextForBestFit_9)); } inline bool get_resizeTextForBestFit_9() const { return ___resizeTextForBestFit_9; } inline bool* get_address_of_resizeTextForBestFit_9() { return &___resizeTextForBestFit_9; } inline void set_resizeTextForBestFit_9(bool value) { ___resizeTextForBestFit_9 = value; } inline static int32_t get_offset_of_resizeTextMinSize_10() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___resizeTextMinSize_10)); } inline int32_t get_resizeTextMinSize_10() const { return ___resizeTextMinSize_10; } inline int32_t* get_address_of_resizeTextMinSize_10() { return &___resizeTextMinSize_10; } inline void set_resizeTextMinSize_10(int32_t value) { ___resizeTextMinSize_10 = value; } inline static int32_t get_offset_of_resizeTextMaxSize_11() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___resizeTextMaxSize_11)); } inline int32_t get_resizeTextMaxSize_11() const { return ___resizeTextMaxSize_11; } inline int32_t* get_address_of_resizeTextMaxSize_11() { return &___resizeTextMaxSize_11; } inline void set_resizeTextMaxSize_11(int32_t value) { ___resizeTextMaxSize_11 = value; } inline static int32_t get_offset_of_updateBounds_12() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___updateBounds_12)); } inline bool get_updateBounds_12() const { return ___updateBounds_12; } inline bool* get_address_of_updateBounds_12() { return &___updateBounds_12; } inline void set_updateBounds_12(bool value) { ___updateBounds_12 = value; } inline static int32_t get_offset_of_verticalOverflow_13() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___verticalOverflow_13)); } inline int32_t get_verticalOverflow_13() const { return ___verticalOverflow_13; } inline int32_t* get_address_of_verticalOverflow_13() { return &___verticalOverflow_13; } inline void set_verticalOverflow_13(int32_t value) { ___verticalOverflow_13 = value; } inline static int32_t get_offset_of_horizontalOverflow_14() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___horizontalOverflow_14)); } inline int32_t get_horizontalOverflow_14() const { return ___horizontalOverflow_14; } inline int32_t* get_address_of_horizontalOverflow_14() { return &___horizontalOverflow_14; } inline void set_horizontalOverflow_14(int32_t value) { ___horizontalOverflow_14 = value; } inline static int32_t get_offset_of_generationExtents_15() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___generationExtents_15)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_generationExtents_15() const { return ___generationExtents_15; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_generationExtents_15() { return &___generationExtents_15; } inline void set_generationExtents_15(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___generationExtents_15 = value; } inline static int32_t get_offset_of_pivot_16() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___pivot_16)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_pivot_16() const { return ___pivot_16; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_pivot_16() { return &___pivot_16; } inline void set_pivot_16(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___pivot_16 = value; } inline static int32_t get_offset_of_generateOutOfBounds_17() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___generateOutOfBounds_17)); } inline bool get_generateOutOfBounds_17() const { return ___generateOutOfBounds_17; } inline bool* get_address_of_generateOutOfBounds_17() { return &___generateOutOfBounds_17; } inline void set_generateOutOfBounds_17(bool value) { ___generateOutOfBounds_17 = value; } }; // Native definition for P/Invoke marshalling of UnityEngine.TextGenerationSettings struct TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_pinvoke { Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font_0; Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___color_1; int32_t ___fontSize_2; float ___lineSpacing_3; int32_t ___richText_4; float ___scaleFactor_5; int32_t ___fontStyle_6; int32_t ___textAnchor_7; int32_t ___alignByGeometry_8; int32_t ___resizeTextForBestFit_9; int32_t ___resizeTextMinSize_10; int32_t ___resizeTextMaxSize_11; int32_t ___updateBounds_12; int32_t ___verticalOverflow_13; int32_t ___horizontalOverflow_14; Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___generationExtents_15; Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___pivot_16; int32_t ___generateOutOfBounds_17; }; // Native definition for COM marshalling of UnityEngine.TextGenerationSettings struct TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_com { Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font_0; Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___color_1; int32_t ___fontSize_2; float ___lineSpacing_3; int32_t ___richText_4; float ___scaleFactor_5; int32_t ___fontStyle_6; int32_t ___textAnchor_7; int32_t ___alignByGeometry_8; int32_t ___resizeTextForBestFit_9; int32_t ___resizeTextMinSize_10; int32_t ___resizeTextMaxSize_11; int32_t ___updateBounds_12; int32_t ___verticalOverflow_13; int32_t ___horizontalOverflow_14; Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___generationExtents_15; Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___pivot_16; int32_t ___generateOutOfBounds_17; }; // System.Action`1<UnityEngine.Font> struct Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C : public MulticastDelegate_t { public: public: }; // System.AsyncCallback struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 : public MulticastDelegate_t { public: public: }; // UnityEngine.Font_FontTextureRebuildCallback struct FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C : public MulticastDelegate_t { public: public: }; // UnityEngine.TextGenerator struct TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 : public RuntimeObject { public: // System.IntPtr UnityEngine.TextGenerator::m_Ptr intptr_t ___m_Ptr_0; // System.String UnityEngine.TextGenerator::m_LastString String_t* ___m_LastString_1; // UnityEngine.TextGenerationSettings UnityEngine.TextGenerator::m_LastSettings TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___m_LastSettings_2; // System.Boolean UnityEngine.TextGenerator::m_HasGenerated bool ___m_HasGenerated_3; // UnityEngine.TextGenerationError UnityEngine.TextGenerator::m_LastValid int32_t ___m_LastValid_4; // System.Collections.Generic.List`1<UnityEngine.UIVertex> UnityEngine.TextGenerator::m_Verts List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * ___m_Verts_5; // System.Collections.Generic.List`1<UnityEngine.UICharInfo> UnityEngine.TextGenerator::m_Characters List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * ___m_Characters_6; // System.Collections.Generic.List`1<UnityEngine.UILineInfo> UnityEngine.TextGenerator::m_Lines List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * ___m_Lines_7; // System.Boolean UnityEngine.TextGenerator::m_CachedVerts bool ___m_CachedVerts_8; // System.Boolean UnityEngine.TextGenerator::m_CachedCharacters bool ___m_CachedCharacters_9; // System.Boolean UnityEngine.TextGenerator::m_CachedLines bool ___m_CachedLines_10; public: inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_Ptr_0)); } inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; } inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; } inline void set_m_Ptr_0(intptr_t value) { ___m_Ptr_0 = value; } inline static int32_t get_offset_of_m_LastString_1() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_LastString_1)); } inline String_t* get_m_LastString_1() const { return ___m_LastString_1; } inline String_t** get_address_of_m_LastString_1() { return &___m_LastString_1; } inline void set_m_LastString_1(String_t* value) { ___m_LastString_1 = value; Il2CppCodeGenWriteBarrier((void**)(&___m_LastString_1), (void*)value); } inline static int32_t get_offset_of_m_LastSettings_2() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_LastSettings_2)); } inline TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 get_m_LastSettings_2() const { return ___m_LastSettings_2; } inline TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 * get_address_of_m_LastSettings_2() { return &___m_LastSettings_2; } inline void set_m_LastSettings_2(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 value) { ___m_LastSettings_2 = value; Il2CppCodeGenWriteBarrier((void**)&(((&___m_LastSettings_2))->___font_0), (void*)NULL); } inline static int32_t get_offset_of_m_HasGenerated_3() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_HasGenerated_3)); } inline bool get_m_HasGenerated_3() const { return ___m_HasGenerated_3; } inline bool* get_address_of_m_HasGenerated_3() { return &___m_HasGenerated_3; } inline void set_m_HasGenerated_3(bool value) { ___m_HasGenerated_3 = value; } inline static int32_t get_offset_of_m_LastValid_4() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_LastValid_4)); } inline int32_t get_m_LastValid_4() const { return ___m_LastValid_4; } inline int32_t* get_address_of_m_LastValid_4() { return &___m_LastValid_4; } inline void set_m_LastValid_4(int32_t value) { ___m_LastValid_4 = value; } inline static int32_t get_offset_of_m_Verts_5() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_Verts_5)); } inline List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * get_m_Verts_5() const { return ___m_Verts_5; } inline List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 ** get_address_of_m_Verts_5() { return &___m_Verts_5; } inline void set_m_Verts_5(List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * value) { ___m_Verts_5 = value; Il2CppCodeGenWriteBarrier((void**)(&___m_Verts_5), (void*)value); } inline static int32_t get_offset_of_m_Characters_6() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_Characters_6)); } inline List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * get_m_Characters_6() const { return ___m_Characters_6; } inline List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E ** get_address_of_m_Characters_6() { return &___m_Characters_6; } inline void set_m_Characters_6(List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * value) { ___m_Characters_6 = value; Il2CppCodeGenWriteBarrier((void**)(&___m_Characters_6), (void*)value); } inline static int32_t get_offset_of_m_Lines_7() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_Lines_7)); } inline List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * get_m_Lines_7() const { return ___m_Lines_7; } inline List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 ** get_address_of_m_Lines_7() { return &___m_Lines_7; } inline void set_m_Lines_7(List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * value) { ___m_Lines_7 = value; Il2CppCodeGenWriteBarrier((void**)(&___m_Lines_7), (void*)value); } inline static int32_t get_offset_of_m_CachedVerts_8() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_CachedVerts_8)); } inline bool get_m_CachedVerts_8() const { return ___m_CachedVerts_8; } inline bool* get_address_of_m_CachedVerts_8() { return &___m_CachedVerts_8; } inline void set_m_CachedVerts_8(bool value) { ___m_CachedVerts_8 = value; } inline static int32_t get_offset_of_m_CachedCharacters_9() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_CachedCharacters_9)); } inline bool get_m_CachedCharacters_9() const { return ___m_CachedCharacters_9; } inline bool* get_address_of_m_CachedCharacters_9() { return &___m_CachedCharacters_9; } inline void set_m_CachedCharacters_9(bool value) { ___m_CachedCharacters_9 = value; } inline static int32_t get_offset_of_m_CachedLines_10() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_CachedLines_10)); } inline bool get_m_CachedLines_10() const { return ___m_CachedLines_10; } inline bool* get_address_of_m_CachedLines_10() { return &___m_CachedLines_10; } inline void set_m_CachedLines_10(bool value) { ___m_CachedLines_10 = value; } }; // Native definition for P/Invoke marshalling of UnityEngine.TextGenerator struct TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshaled_pinvoke { intptr_t ___m_Ptr_0; char* ___m_LastString_1; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_pinvoke ___m_LastSettings_2; int32_t ___m_HasGenerated_3; int32_t ___m_LastValid_4; List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * ___m_Verts_5; List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * ___m_Characters_6; List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * ___m_Lines_7; int32_t ___m_CachedVerts_8; int32_t ___m_CachedCharacters_9; int32_t ___m_CachedLines_10; }; // Native definition for COM marshalling of UnityEngine.TextGenerator struct TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshaled_com { intptr_t ___m_Ptr_0; Il2CppChar* ___m_LastString_1; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_com ___m_LastSettings_2; int32_t ___m_HasGenerated_3; int32_t ___m_LastValid_4; List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * ___m_Verts_5; List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * ___m_Characters_6; List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * ___m_Lines_7; int32_t ___m_CachedVerts_8; int32_t ___m_CachedCharacters_9; int32_t ___m_CachedLines_10; }; // UnityEngine.TextMesh struct TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A : public Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif // System.Delegate[] struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86 : public RuntimeArray { public: ALIGN_FIELD (8) Delegate_t * m_Items[1]; public: inline Delegate_t * GetAt(il2cpp_array_size_t index) const { IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length); return m_Items[index]; } inline Delegate_t ** GetAddressAt(il2cpp_array_size_t index) { IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length); return m_Items + index; } inline void SetAt(il2cpp_array_size_t index, Delegate_t * value) { IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length); m_Items[index] = value; Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value); } inline Delegate_t * GetAtUnchecked(il2cpp_array_size_t index) const { return m_Items[index]; } inline Delegate_t ** GetAddressAtUnchecked(il2cpp_array_size_t index) { return m_Items + index; } inline void SetAtUnchecked(il2cpp_array_size_t index, Delegate_t * value) { m_Items[index] = value; Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value); } }; // System.Object[] struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A : public RuntimeArray { public: ALIGN_FIELD (8) RuntimeObject * m_Items[1]; public: inline RuntimeObject * GetAt(il2cpp_array_size_t index) const { IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length); return m_Items[index]; } inline RuntimeObject ** GetAddressAt(il2cpp_array_size_t index) { IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length); return m_Items + index; } inline void SetAt(il2cpp_array_size_t index, RuntimeObject * value) { IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length); m_Items[index] = value; Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value); } inline RuntimeObject * GetAtUnchecked(il2cpp_array_size_t index) const { return m_Items[index]; } inline RuntimeObject ** GetAddressAtUnchecked(il2cpp_array_size_t index) { return m_Items + index; } inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject * value) { m_Items[index] = value; Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value); } }; IL2CPP_EXTERN_C void TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshal_pinvoke(const TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68& unmarshaled, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_pinvoke& marshaled); IL2CPP_EXTERN_C void TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshal_pinvoke_back(const TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_pinvoke& marshaled, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68& unmarshaled); IL2CPP_EXTERN_C void TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshal_pinvoke_cleanup(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_pinvoke& marshaled); IL2CPP_EXTERN_C void TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshal_com(const TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68& unmarshaled, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_com& marshaled); IL2CPP_EXTERN_C void TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshal_com_back(const TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_com& marshaled, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68& unmarshaled); IL2CPP_EXTERN_C void TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshal_com_cleanup(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_com& marshaled); // System.Void System.Action`1<System.Object>::Invoke(!0) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1_Invoke_mB86FC1B303E77C41ED0E94FC3592A9CF8DA571D5_gshared (Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * __this, RuntimeObject * ___obj0, const RuntimeMethod* method); // System.Void System.Collections.Generic.List`1<UnityEngine.UIVertex>::.ctor(System.Int32) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m4B9E13C91ADA643CE531D7FE21CBC0BD4B8CFAC8_gshared (List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * __this, int32_t ___capacity0, const RuntimeMethod* method); // System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::.ctor(System.Int32) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m31FA26D4722DE7042587E4FDA499FF5B35A5BE71_gshared (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___capacity0, const RuntimeMethod* method); // System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::.ctor(System.Int32) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m9616B19521FA2ACBD7DAB484CA3DFA1283D8C9DD_gshared (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___capacity0, const RuntimeMethod* method); // System.Double System.Math::Round(System.Double,System.MidpointRounding) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double Math_Round_m7EE608A0B3B8C109464FF045B96657431387DC83 (double ___value0, int32_t ___mode1, const RuntimeMethod* method); // System.Int32 UnityEngine.CharacterInfo::get_advance() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t CharacterInfo_get_advance_mCCD27183A01AB4F83305230D5AB39AE6F0E4779C (CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313 * __this, const RuntimeMethod* method); // System.Delegate System.Delegate::Combine(System.Delegate,System.Delegate) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t * Delegate_Combine_mC25D2F7DECAFBA6D9A2F9EBA8A77063F0658ECF1 (Delegate_t * ___a0, Delegate_t * ___b1, const RuntimeMethod* method); // System.Delegate System.Delegate::Remove(System.Delegate,System.Delegate) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t * Delegate_Remove_m0B0DB7D1B3AF96B71AFAA72BA0EFE32FBBC2932D (Delegate_t * ___source0, Delegate_t * ___value1, const RuntimeMethod* method); // System.Void UnityEngine.Object::.ctor() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m091EBAEBC7919B0391ABDAFB7389ADC12206525B (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * __this, const RuntimeMethod* method); // System.Void UnityEngine.Font::Internal_CreateFont(UnityEngine.Font,System.String) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Font_Internal_CreateFont_m1B4B34CFCE6782196D19DB5020CB4C4CEFFFC05E (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___self0, String_t* ___name1, const RuntimeMethod* method); // System.Void System.Action`1<UnityEngine.Font>::Invoke(!0) inline void Action_1_Invoke_mC307FDDD4FEA6818EE9A27D962C2C512B835DAEB (Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * __this, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___obj0, const RuntimeMethod* method) { (( void (*) (Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C *, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 *, const RuntimeMethod*))Action_1_Invoke_mB86FC1B303E77C41ED0E94FC3592A9CF8DA571D5_gshared)(__this, ___obj0, method); } // System.Void UnityEngine.Font/FontTextureRebuildCallback::Invoke() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FontTextureRebuildCallback_Invoke_m4E6CFDE11932BA7F129C9A2C4CAE294562B07480 (FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * __this, const RuntimeMethod* method); // System.Boolean UnityEngine.Font::HasCharacter(System.Int32) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Font_HasCharacter_m59FF574F1E4A2F9807CCF0C5D56C29E68D514D51 (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * __this, int32_t ___c0, const RuntimeMethod* method); // System.Boolean UnityEngine.Mathf::Approximately(System.Single,System.Single) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Mathf_Approximately_m91AF00403E0D2DEA1AAE68601AD218CFAD70DF7E (float ___a0, float ___b1, const RuntimeMethod* method); // System.Boolean UnityEngine.TextGenerationSettings::CompareColors(UnityEngine.Color,UnityEngine.Color) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerationSettings_CompareColors_m41313F2A332F5780C5BD6F8134EBB14473CC5C66 (TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 * __this, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___left0, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___right1, const RuntimeMethod* method); // System.Boolean UnityEngine.TextGenerationSettings::CompareVector2(UnityEngine.Vector2,UnityEngine.Vector2) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerationSettings_CompareVector2_m27AE82F513B8E6D4A529A02B1A3806A85E710F1C (TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 * __this, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___left0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___right1, const RuntimeMethod* method); // System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___x0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___y1, const RuntimeMethod* method); // System.Boolean UnityEngine.TextGenerationSettings::Equals(UnityEngine.TextGenerationSettings) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerationSettings_Equals_m39912D195B0384AADC5C274659324EC8720C4F7D (TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 * __this, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___other0, const RuntimeMethod* method); // System.Void UnityEngine.TextGenerator::.ctor(System.Int32) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator__ctor_m86E01E7BB9DC1B28F04961E482ED4D7065062BCE (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, int32_t ___initialCapacity0, const RuntimeMethod* method); // System.Void System.Object::.ctor() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0 (RuntimeObject * __this, const RuntimeMethod* method); // System.IntPtr UnityEngine.TextGenerator::Internal_Create() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t TextGenerator_Internal_Create_m127DBEDE47D3028812950FD9184A18C9F3A5E994 (const RuntimeMethod* method); // System.Void System.Collections.Generic.List`1<UnityEngine.UIVertex>::.ctor(System.Int32) inline void List_1__ctor_m4B9E13C91ADA643CE531D7FE21CBC0BD4B8CFAC8 (List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * __this, int32_t ___capacity0, const RuntimeMethod* method) { (( void (*) (List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 *, int32_t, const RuntimeMethod*))List_1__ctor_m4B9E13C91ADA643CE531D7FE21CBC0BD4B8CFAC8_gshared)(__this, ___capacity0, method); } // System.Void System.Collections.Generic.List`1<UnityEngine.UICharInfo>::.ctor(System.Int32) inline void List_1__ctor_m31FA26D4722DE7042587E4FDA499FF5B35A5BE71 (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * __this, int32_t ___capacity0, const RuntimeMethod* method) { (( void (*) (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *, int32_t, const RuntimeMethod*))List_1__ctor_m31FA26D4722DE7042587E4FDA499FF5B35A5BE71_gshared)(__this, ___capacity0, method); } // System.Void System.Collections.Generic.List`1<UnityEngine.UILineInfo>::.ctor(System.Int32) inline void List_1__ctor_m9616B19521FA2ACBD7DAB484CA3DFA1283D8C9DD (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * __this, int32_t ___capacity0, const RuntimeMethod* method) { (( void (*) (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *, int32_t, const RuntimeMethod*))List_1__ctor_m9616B19521FA2ACBD7DAB484CA3DFA1283D8C9DD_gshared)(__this, ___capacity0, method); } // System.Void System.Object::Finalize() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380 (RuntimeObject * __this, const RuntimeMethod* method); // System.Boolean System.IntPtr::op_Inequality(System.IntPtr,System.IntPtr) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IntPtr_op_Inequality_mB4886A806009EA825EFCC60CD2A7F6EB8E273A61 (intptr_t ___value10, intptr_t ___value21, const RuntimeMethod* method); // System.Void UnityEngine.TextGenerator::Internal_Destroy(System.IntPtr) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_Internal_Destroy_mB7FE56C2FAAE16938DE8BC7256EB44643E1845A5 (intptr_t ___ptr0, const RuntimeMethod* method); // System.Int32 UnityEngine.TextGenerator::get_characterCount() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TextGenerator_get_characterCount_m2A8F9764A7BD2AD1287D3721638FB6114D6BDDC7 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method); // System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___x0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___y1, const RuntimeMethod* method); // System.Boolean UnityEngine.Font::get_dynamic() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Font_get_dynamic_m14C7E59606E317C5952A69F05CC44BF399CFFE2E (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * __this, const RuntimeMethod* method); // System.String UnityEngine.Object::get_name() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Object_get_name_mA2D400141CB3C991C87A2556429781DE961A83CE (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * __this, const RuntimeMethod* method); // System.Void UnityEngine.Debug::LogWarningFormat(UnityEngine.Object,System.String,System.Object[]) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarningFormat_m4A02CCF91F3A9392F4AA93576DCE2222267E5945 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___context0, String_t* ___format1, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args2, const RuntimeMethod* method); // System.Void UnityEngine.TextGenerator::GetCharactersInternal(System.Object) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_GetCharactersInternal_m4383B9A162CF10430636BFD248DDBDDB4D64E967 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, RuntimeObject * ___characters0, const RuntimeMethod* method); // System.Void UnityEngine.TextGenerator::GetLinesInternal(System.Object) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_GetLinesInternal_mA54A05D512EE1CED958F73E0024FB913E648EDAD (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, RuntimeObject * ___lines0, const RuntimeMethod* method); // System.Void UnityEngine.TextGenerator::GetVerticesInternal(System.Object) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_GetVerticesInternal_mB794B94982BA35D2CDB8F3AA77880B33AEB42B9A (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, RuntimeObject * ___vertices0, const RuntimeMethod* method); // System.Boolean UnityEngine.TextGenerator::Populate(System.String,UnityEngine.TextGenerationSettings) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerator_Populate_m15553808C8FA017AA1AC23D2818C30DAFD654A04 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___settings1, const RuntimeMethod* method); // UnityEngine.Rect UnityEngine.TextGenerator::get_rectExtents() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE TextGenerator_get_rectExtents_m55F6A6727406C54BEFB7628751555B7C58BEC9B1 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method); // System.Single UnityEngine.Rect::get_width() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_width_m54FF69FC2C086E2DC349ED091FD0D6576BFB1484 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, const RuntimeMethod* method); // System.Single UnityEngine.Rect::get_height() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_height_m088C36990E0A255C5D7DCE36575DCE23ABB364B5 (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, const RuntimeMethod* method); // UnityEngine.TextGenerationError UnityEngine.TextGenerator::PopulateWithError(System.String,UnityEngine.TextGenerationSettings) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TextGenerator_PopulateWithError_m24D1DA75F0563582E228C6F4982D0913C58E1D7D (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___settings1, const RuntimeMethod* method); // System.Void UnityEngine.Debug::LogErrorFormat(UnityEngine.Object,System.String,System.Object[]) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogErrorFormat_m994E4759C25BF0E9DD4179C10E3979558137CCF0 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___context0, String_t* ___format1, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args2, const RuntimeMethod* method); // System.Boolean System.String::op_Equality(System.String,System.String) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE (String_t* ___a0, String_t* ___b1, const RuntimeMethod* method); // UnityEngine.TextGenerationError UnityEngine.TextGenerator::PopulateAlways(System.String,UnityEngine.TextGenerationSettings) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TextGenerator_PopulateAlways_m8DCF389A51877975F29FAB9B6E800DFDC1E0B8DF (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___settings1, const RuntimeMethod* method); // UnityEngine.TextGenerationSettings UnityEngine.TextGenerator::ValidatedSettings(UnityEngine.TextGenerationSettings) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 TextGenerator_ValidatedSettings_m167131680BB6CD53B929EF189520F9FCF71FB1D3 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___settings0, const RuntimeMethod* method); // System.Boolean UnityEngine.TextGenerator::Populate_Internal(System.String,UnityEngine.Font,UnityEngine.Color,System.Int32,System.Single,System.Single,UnityEngine.FontStyle,System.Boolean,System.Boolean,System.Int32,System.Int32,UnityEngine.VerticalWrapMode,UnityEngine.HorizontalWrapMode,System.Boolean,UnityEngine.TextAnchor,UnityEngine.Vector2,UnityEngine.Vector2,System.Boolean,System.Boolean,UnityEngine.TextGenerationError&) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerator_Populate_Internal_m42F7FED165D62BFD9C006D19A0FCE5B70C1EF92B (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font1, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___color2, int32_t ___fontSize3, float ___scaleFactor4, float ___lineSpacing5, int32_t ___style6, bool ___richText7, bool ___resizeTextForBestFit8, int32_t ___resizeTextMinSize9, int32_t ___resizeTextMaxSize10, int32_t ___verticalOverFlow11, int32_t ___horizontalOverflow12, bool ___updateBounds13, int32_t ___anchor14, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___extents15, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___pivot16, bool ___generateOutOfBounds17, bool ___alignByGeometry18, int32_t* ___error19, const RuntimeMethod* method); // System.Void UnityEngine.TextGenerator::GetVertices(System.Collections.Generic.List`1<UnityEngine.UIVertex>) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_GetVertices_m6FA34586541514ED7396990542BDAC536C10A4F2 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * ___vertices0, const RuntimeMethod* method); // System.Void UnityEngine.TextGenerator::GetCharacters(System.Collections.Generic.List`1<UnityEngine.UICharInfo>) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_GetCharacters_mBB7980F2FE8BE65A906A39B5559EC54B1CEF4131 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * ___characters0, const RuntimeMethod* method); // System.Void UnityEngine.TextGenerator::GetLines(System.Collections.Generic.List`1<UnityEngine.UILineInfo>) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_GetLines_mC31F7918A9159908EA914D01B2E32644B046E2B5 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * ___lines0, const RuntimeMethod* method); // System.Void UnityEngine.TextGenerator::get_rectExtents_Injected(UnityEngine.Rect&) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_get_rectExtents_Injected_mD8FC9E47642590C7AC78DA83B583E5F4271842D0 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___ret0, const RuntimeMethod* method); // System.Boolean UnityEngine.TextGenerator::Populate_Internal_Injected(System.String,UnityEngine.Font,UnityEngine.Color&,System.Int32,System.Single,System.Single,UnityEngine.FontStyle,System.Boolean,System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean,UnityEngine.TextAnchor,System.Single,System.Single,System.Single,System.Single,System.Boolean,System.Boolean,System.UInt32&) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerator_Populate_Internal_Injected_mC1D6A0A0A9E0BFDB146EA921DA459D83FF33DEDE (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font1, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * ___color2, int32_t ___fontSize3, float ___scaleFactor4, float ___lineSpacing5, int32_t ___style6, bool ___richText7, bool ___resizeTextForBestFit8, int32_t ___resizeTextMinSize9, int32_t ___resizeTextMaxSize10, int32_t ___verticalOverFlow11, int32_t ___horizontalOverflow12, bool ___updateBounds13, int32_t ___anchor14, float ___extentsX15, float ___extentsY16, float ___pivotX17, float ___pivotY18, bool ___generateOutOfBounds19, bool ___alignByGeometry20, uint32_t* ___error21, const RuntimeMethod* method); // System.Boolean UnityEngine.TextGenerator::Populate_Internal(System.String,UnityEngine.Font,UnityEngine.Color,System.Int32,System.Single,System.Single,UnityEngine.FontStyle,System.Boolean,System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean,UnityEngine.TextAnchor,System.Single,System.Single,System.Single,System.Single,System.Boolean,System.Boolean,System.UInt32&) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerator_Populate_Internal_mCA54081A0855AED6EC6345265603409FE330985C (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font1, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___color2, int32_t ___fontSize3, float ___scaleFactor4, float ___lineSpacing5, int32_t ___style6, bool ___richText7, bool ___resizeTextForBestFit8, int32_t ___resizeTextMinSize9, int32_t ___resizeTextMaxSize10, int32_t ___verticalOverFlow11, int32_t ___horizontalOverflow12, bool ___updateBounds13, int32_t ___anchor14, float ___extentsX15, float ___extentsY16, float ___pivotX17, float ___pivotY18, bool ___generateOutOfBounds19, bool ___alignByGeometry20, uint32_t* ___error21, const RuntimeMethod* method); // System.Void UnityEngine.TextMesh::get_color_Injected(UnityEngine.Color&) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_get_color_Injected_m22B6B96B44E685B651AEFB28DC408AB52BA05B98 (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * ___ret0, const RuntimeMethod* method); // System.Void UnityEngine.TextMesh::set_color_Injected(UnityEngine.Color&) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_set_color_Injected_mF49AFC2EAF7A66132B87F41576FFAE0722E179AA (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * ___value0, const RuntimeMethod* method); // System.Void UnityEngine.Color32::.ctor(System.Byte,System.Byte,System.Byte,System.Byte) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Color32__ctor_m1AEF46FBBBE4B522E6984D081A3D158198E10AA2 (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 * __this, uint8_t ___r0, uint8_t ___g1, uint8_t ___b2, uint8_t ___a3, const RuntimeMethod* method); // System.Void UnityEngine.Vector4::.ctor(System.Single,System.Single,System.Single,System.Single) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector4__ctor_m545458525879607A5392A10B175D0C19B2BC715D (Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * __this, float ___x0, float ___y1, float ___z2, float ___w3, const RuntimeMethod* method); // UnityEngine.Vector3 UnityEngine.Vector3::get_zero() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 Vector3_get_zero_m3CDDCAE94581DF3BB16C4B40A100E28E9C6649C2 (const RuntimeMethod* method); // UnityEngine.Vector3 UnityEngine.Vector3::get_back() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 Vector3_get_back_mE7EF8625637E6F8B9E6B42A6AE140777C51E02F7 (const RuntimeMethod* method); // UnityEngine.Vector2 UnityEngine.Vector2::get_zero() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D Vector2_get_zero_mFE0C3213BB698130D6C5247AB4B887A59074D0A8 (const RuntimeMethod* method); #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // Conversion methods for marshalling of: UnityEngine.CharacterInfo IL2CPP_EXTERN_C void CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313_marshal_pinvoke(const CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313& unmarshaled, CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313_marshaled_pinvoke& marshaled) { marshaled.___index_0 = unmarshaled.get_index_0(); marshaled.___uv_1 = unmarshaled.get_uv_1(); marshaled.___vert_2 = unmarshaled.get_vert_2(); marshaled.___width_3 = unmarshaled.get_width_3(); marshaled.___size_4 = unmarshaled.get_size_4(); marshaled.___style_5 = unmarshaled.get_style_5(); marshaled.___flipped_6 = static_cast<int32_t>(unmarshaled.get_flipped_6()); } IL2CPP_EXTERN_C void CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313_marshal_pinvoke_back(const CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313_marshaled_pinvoke& marshaled, CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313& unmarshaled) { int32_t unmarshaled_index_temp_0 = 0; unmarshaled_index_temp_0 = marshaled.___index_0; unmarshaled.set_index_0(unmarshaled_index_temp_0); Rect_t35B976DE901B5423C11705E156938EA27AB402CE unmarshaled_uv_temp_1; memset((&unmarshaled_uv_temp_1), 0, sizeof(unmarshaled_uv_temp_1)); unmarshaled_uv_temp_1 = marshaled.___uv_1; unmarshaled.set_uv_1(unmarshaled_uv_temp_1); Rect_t35B976DE901B5423C11705E156938EA27AB402CE unmarshaled_vert_temp_2; memset((&unmarshaled_vert_temp_2), 0, sizeof(unmarshaled_vert_temp_2)); unmarshaled_vert_temp_2 = marshaled.___vert_2; unmarshaled.set_vert_2(unmarshaled_vert_temp_2); float unmarshaled_width_temp_3 = 0.0f; unmarshaled_width_temp_3 = marshaled.___width_3; unmarshaled.set_width_3(unmarshaled_width_temp_3); int32_t unmarshaled_size_temp_4 = 0; unmarshaled_size_temp_4 = marshaled.___size_4; unmarshaled.set_size_4(unmarshaled_size_temp_4); int32_t unmarshaled_style_temp_5 = 0; unmarshaled_style_temp_5 = marshaled.___style_5; unmarshaled.set_style_5(unmarshaled_style_temp_5); bool unmarshaled_flipped_temp_6 = false; unmarshaled_flipped_temp_6 = static_cast<bool>(marshaled.___flipped_6); unmarshaled.set_flipped_6(unmarshaled_flipped_temp_6); } // Conversion method for clean up from marshalling of: UnityEngine.CharacterInfo IL2CPP_EXTERN_C void CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313_marshal_pinvoke_cleanup(CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313_marshaled_pinvoke& marshaled) { } // Conversion methods for marshalling of: UnityEngine.CharacterInfo IL2CPP_EXTERN_C void CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313_marshal_com(const CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313& unmarshaled, CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313_marshaled_com& marshaled) { marshaled.___index_0 = unmarshaled.get_index_0(); marshaled.___uv_1 = unmarshaled.get_uv_1(); marshaled.___vert_2 = unmarshaled.get_vert_2(); marshaled.___width_3 = unmarshaled.get_width_3(); marshaled.___size_4 = unmarshaled.get_size_4(); marshaled.___style_5 = unmarshaled.get_style_5(); marshaled.___flipped_6 = static_cast<int32_t>(unmarshaled.get_flipped_6()); } IL2CPP_EXTERN_C void CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313_marshal_com_back(const CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313_marshaled_com& marshaled, CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313& unmarshaled) { int32_t unmarshaled_index_temp_0 = 0; unmarshaled_index_temp_0 = marshaled.___index_0; unmarshaled.set_index_0(unmarshaled_index_temp_0); Rect_t35B976DE901B5423C11705E156938EA27AB402CE unmarshaled_uv_temp_1; memset((&unmarshaled_uv_temp_1), 0, sizeof(unmarshaled_uv_temp_1)); unmarshaled_uv_temp_1 = marshaled.___uv_1; unmarshaled.set_uv_1(unmarshaled_uv_temp_1); Rect_t35B976DE901B5423C11705E156938EA27AB402CE unmarshaled_vert_temp_2; memset((&unmarshaled_vert_temp_2), 0, sizeof(unmarshaled_vert_temp_2)); unmarshaled_vert_temp_2 = marshaled.___vert_2; unmarshaled.set_vert_2(unmarshaled_vert_temp_2); float unmarshaled_width_temp_3 = 0.0f; unmarshaled_width_temp_3 = marshaled.___width_3; unmarshaled.set_width_3(unmarshaled_width_temp_3); int32_t unmarshaled_size_temp_4 = 0; unmarshaled_size_temp_4 = marshaled.___size_4; unmarshaled.set_size_4(unmarshaled_size_temp_4); int32_t unmarshaled_style_temp_5 = 0; unmarshaled_style_temp_5 = marshaled.___style_5; unmarshaled.set_style_5(unmarshaled_style_temp_5); bool unmarshaled_flipped_temp_6 = false; unmarshaled_flipped_temp_6 = static_cast<bool>(marshaled.___flipped_6); unmarshaled.set_flipped_6(unmarshaled_flipped_temp_6); } // Conversion method for clean up from marshalling of: UnityEngine.CharacterInfo IL2CPP_EXTERN_C void CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313_marshal_com_cleanup(CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313_marshaled_com& marshaled) { } // System.Int32 UnityEngine.CharacterInfo::get_advance() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t CharacterInfo_get_advance_mCCD27183A01AB4F83305230D5AB39AE6F0E4779C (CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313 * __this, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (CharacterInfo_get_advance_mCCD27183A01AB4F83305230D5AB39AE6F0E4779C_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; { float L_0 = __this->get_width_3(); IL2CPP_RUNTIME_CLASS_INIT(Math_tFB388E53C7FDC6FCCF9A19ABF5A4E521FBD52E19_il2cpp_TypeInfo_var); double L_1 = Math_Round_m7EE608A0B3B8C109464FF045B96657431387DC83((((double)((double)L_0))), 1, /*hidden argument*/NULL); V_0 = (((int32_t)((int32_t)L_1))); goto IL_0012; } IL_0012: { int32_t L_2 = V_0; return L_2; } } IL2CPP_EXTERN_C int32_t CharacterInfo_get_advance_mCCD27183A01AB4F83305230D5AB39AE6F0E4779C_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method) { int32_t _offset = 1; CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313 * _thisAdjusted = reinterpret_cast<CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313 *>(__this + _offset); return CharacterInfo_get_advance_mCCD27183A01AB4F83305230D5AB39AE6F0E4779C(_thisAdjusted, method); } #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Void UnityEngine.Font::add_textureRebuilt(System.Action`1<UnityEngine.Font>) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Font_add_textureRebuilt_m031EFCD3B164273920B133A8689C18ED87C9B18F (Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * ___value0, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Font_add_textureRebuilt_m031EFCD3B164273920B133A8689C18ED87C9B18F_MetadataUsageId); s_Il2CppMethodInitialized = true; } Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * V_0 = NULL; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * V_1 = NULL; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * V_2 = NULL; { Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_0 = ((Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_StaticFields*)il2cpp_codegen_static_fields_for(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_il2cpp_TypeInfo_var))->get_textureRebuilt_4(); V_0 = L_0; } IL_0006: { Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_1 = V_0; V_1 = L_1; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_2 = V_1; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_3 = ___value0; Delegate_t * L_4 = Delegate_Combine_mC25D2F7DECAFBA6D9A2F9EBA8A77063F0658ECF1(L_2, L_3, /*hidden argument*/NULL); V_2 = ((Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C *)CastclassSealed((RuntimeObject*)L_4, Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C_il2cpp_TypeInfo_var)); Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_5 = V_2; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_6 = V_1; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_7 = InterlockedCompareExchangeImpl<Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C *>((Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C **)(((Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_StaticFields*)il2cpp_codegen_static_fields_for(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_il2cpp_TypeInfo_var))->get_address_of_textureRebuilt_4()), L_5, L_6); V_0 = L_7; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_8 = V_0; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_9 = V_1; if ((!(((RuntimeObject*)(Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C *)L_8) == ((RuntimeObject*)(Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C *)L_9)))) { goto IL_0006; } } { return; } } // System.Void UnityEngine.Font::remove_textureRebuilt(System.Action`1<UnityEngine.Font>) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Font_remove_textureRebuilt_mBEF163DAE27CA126D400646E850AAEE4AE8DAAB4 (Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * ___value0, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Font_remove_textureRebuilt_mBEF163DAE27CA126D400646E850AAEE4AE8DAAB4_MetadataUsageId); s_Il2CppMethodInitialized = true; } Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * V_0 = NULL; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * V_1 = NULL; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * V_2 = NULL; { Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_0 = ((Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_StaticFields*)il2cpp_codegen_static_fields_for(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_il2cpp_TypeInfo_var))->get_textureRebuilt_4(); V_0 = L_0; } IL_0006: { Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_1 = V_0; V_1 = L_1; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_2 = V_1; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_3 = ___value0; Delegate_t * L_4 = Delegate_Remove_m0B0DB7D1B3AF96B71AFAA72BA0EFE32FBBC2932D(L_2, L_3, /*hidden argument*/NULL); V_2 = ((Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C *)CastclassSealed((RuntimeObject*)L_4, Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C_il2cpp_TypeInfo_var)); Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_5 = V_2; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_6 = V_1; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_7 = InterlockedCompareExchangeImpl<Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C *>((Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C **)(((Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_StaticFields*)il2cpp_codegen_static_fields_for(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_il2cpp_TypeInfo_var))->get_address_of_textureRebuilt_4()), L_5, L_6); V_0 = L_7; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_8 = V_0; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_9 = V_1; if ((!(((RuntimeObject*)(Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C *)L_8) == ((RuntimeObject*)(Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C *)L_9)))) { goto IL_0006; } } { return; } } // UnityEngine.Material UnityEngine.Font::get_material() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * Font_get_material_m92A995029540A5FACAEA3A2FE792FFDAC294827D (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * __this, const RuntimeMethod* method) { typedef Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * (*Font_get_material_m92A995029540A5FACAEA3A2FE792FFDAC294827D_ftn) (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 *); static Font_get_material_m92A995029540A5FACAEA3A2FE792FFDAC294827D_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (Font_get_material_m92A995029540A5FACAEA3A2FE792FFDAC294827D_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Font::get_material()"); Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * retVal = _il2cpp_icall_func(__this); return retVal; } // System.Boolean UnityEngine.Font::get_dynamic() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Font_get_dynamic_m14C7E59606E317C5952A69F05CC44BF399CFFE2E (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * __this, const RuntimeMethod* method) { typedef bool (*Font_get_dynamic_m14C7E59606E317C5952A69F05CC44BF399CFFE2E_ftn) (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 *); static Font_get_dynamic_m14C7E59606E317C5952A69F05CC44BF399CFFE2E_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (Font_get_dynamic_m14C7E59606E317C5952A69F05CC44BF399CFFE2E_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Font::get_dynamic()"); bool retVal = _il2cpp_icall_func(__this); return retVal; } // System.Int32 UnityEngine.Font::get_fontSize() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Font_get_fontSize_m75A71EFC3D6483AD1A8C6F38133648BDFF1618A5 (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * __this, const RuntimeMethod* method) { typedef int32_t (*Font_get_fontSize_m75A71EFC3D6483AD1A8C6F38133648BDFF1618A5_ftn) (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 *); static Font_get_fontSize_m75A71EFC3D6483AD1A8C6F38133648BDFF1618A5_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (Font_get_fontSize_m75A71EFC3D6483AD1A8C6F38133648BDFF1618A5_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Font::get_fontSize()"); int32_t retVal = _il2cpp_icall_func(__this); return retVal; } // System.Void UnityEngine.Font::.ctor() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Font__ctor_m0EB492A9B2082EEE21587ED01866DE1ED4C1E628 (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * __this, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Font__ctor_m0EB492A9B2082EEE21587ED01866DE1ED4C1E628_MetadataUsageId); s_Il2CppMethodInitialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var); Object__ctor_m091EBAEBC7919B0391ABDAFB7389ADC12206525B(__this, /*hidden argument*/NULL); Font_Internal_CreateFont_m1B4B34CFCE6782196D19DB5020CB4C4CEFFFC05E(__this, (String_t*)NULL, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.Font::InvokeTextureRebuilt_Internal(UnityEngine.Font) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Font_InvokeTextureRebuilt_Internal_m2D4C9D99B6137EF380A19EC72D6EE8CBFF7B4062 (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font0, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (Font_InvokeTextureRebuilt_Internal_m2D4C9D99B6137EF380A19EC72D6EE8CBFF7B4062_MetadataUsageId); s_Il2CppMethodInitialized = true; } Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * G_B2_0 = NULL; Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * G_B1_0 = NULL; FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * G_B5_0 = NULL; FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * G_B4_0 = NULL; { Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_0 = ((Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_StaticFields*)il2cpp_codegen_static_fields_for(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_il2cpp_TypeInfo_var))->get_textureRebuilt_4(); Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * L_1 = L_0; G_B1_0 = L_1; if (L_1) { G_B2_0 = L_1; goto IL_000c; } } { goto IL_0013; } IL_000c: { Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_2 = ___font0; NullCheck(G_B2_0); Action_1_Invoke_mC307FDDD4FEA6818EE9A27D962C2C512B835DAEB(G_B2_0, L_2, /*hidden argument*/Action_1_Invoke_mC307FDDD4FEA6818EE9A27D962C2C512B835DAEB_RuntimeMethod_var); } IL_0013: { Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_3 = ___font0; NullCheck(L_3); FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * L_4 = L_3->get_m_FontTextureRebuildCallback_5(); FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * L_5 = L_4; G_B4_0 = L_5; if (L_5) { G_B5_0 = L_5; goto IL_001f; } } { goto IL_0025; } IL_001f: { NullCheck(G_B5_0); FontTextureRebuildCallback_Invoke_m4E6CFDE11932BA7F129C9A2C4CAE294562B07480(G_B5_0, /*hidden argument*/NULL); } IL_0025: { return; } } // System.Boolean UnityEngine.Font::HasCharacter(System.Char) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Font_HasCharacter_m23CC7E1E37BCA115DC130B841CF3207212E2802E (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * __this, Il2CppChar ___c0, const RuntimeMethod* method) { bool V_0 = false; { Il2CppChar L_0 = ___c0; bool L_1 = Font_HasCharacter_m59FF574F1E4A2F9807CCF0C5D56C29E68D514D51(__this, L_0, /*hidden argument*/NULL); V_0 = L_1; goto IL_000b; } IL_000b: { bool L_2 = V_0; return L_2; } } // System.Boolean UnityEngine.Font::HasCharacter(System.Int32) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Font_HasCharacter_m59FF574F1E4A2F9807CCF0C5D56C29E68D514D51 (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * __this, int32_t ___c0, const RuntimeMethod* method) { typedef bool (*Font_HasCharacter_m59FF574F1E4A2F9807CCF0C5D56C29E68D514D51_ftn) (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 *, int32_t); static Font_HasCharacter_m59FF574F1E4A2F9807CCF0C5D56C29E68D514D51_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (Font_HasCharacter_m59FF574F1E4A2F9807CCF0C5D56C29E68D514D51_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Font::HasCharacter(System.Int32)"); bool retVal = _il2cpp_icall_func(__this, ___c0); return retVal; } // System.Void UnityEngine.Font::Internal_CreateFont(UnityEngine.Font,System.String) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Font_Internal_CreateFont_m1B4B34CFCE6782196D19DB5020CB4C4CEFFFC05E (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___self0, String_t* ___name1, const RuntimeMethod* method) { typedef void (*Font_Internal_CreateFont_m1B4B34CFCE6782196D19DB5020CB4C4CEFFFC05E_ftn) (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 *, String_t*); static Font_Internal_CreateFont_m1B4B34CFCE6782196D19DB5020CB4C4CEFFFC05E_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (Font_Internal_CreateFont_m1B4B34CFCE6782196D19DB5020CB4C4CEFFFC05E_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Font::Internal_CreateFont(UnityEngine.Font,System.String)"); _il2cpp_icall_func(___self0, ___name1); } // System.Boolean UnityEngine.Font::GetCharacterInfo(System.Char,UnityEngine.CharacterInfo&,System.Int32,UnityEngine.FontStyle) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Font_GetCharacterInfo_mFC0350FC06315C632781B0BAF05F9C4F0F0B7E12 (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * __this, Il2CppChar ___ch0, CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313 * ___info1, int32_t ___size2, int32_t ___style3, const RuntimeMethod* method) { typedef bool (*Font_GetCharacterInfo_mFC0350FC06315C632781B0BAF05F9C4F0F0B7E12_ftn) (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 *, Il2CppChar, CharacterInfo_t678D243661BB260C0841F66CB9BB85C7666D4313 *, int32_t, int32_t); static Font_GetCharacterInfo_mFC0350FC06315C632781B0BAF05F9C4F0F0B7E12_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (Font_GetCharacterInfo_mFC0350FC06315C632781B0BAF05F9C4F0F0B7E12_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Font::GetCharacterInfo(System.Char,UnityEngine.CharacterInfo&,System.Int32,UnityEngine.FontStyle)"); bool retVal = _il2cpp_icall_func(__this, ___ch0, ___info1, ___size2, ___style3); return retVal; } #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif IL2CPP_EXTERN_C void DelegatePInvokeWrapper_FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C (FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * __this, const RuntimeMethod* method) { typedef void (DEFAULT_CALL *PInvokeFunc)(); PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method)); // Native function invocation il2cppPInvokeFunc(); } // System.Void UnityEngine.Font_FontTextureRebuildCallback::.ctor(System.Object,System.IntPtr) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FontTextureRebuildCallback__ctor_m83BD4ACFF1FDA3D203ABA140B0CA2B4B0064A3A3 (FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method) { __this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1)); __this->set_method_3(___method1); __this->set_m_target_2(___object0); } // System.Void UnityEngine.Font_FontTextureRebuildCallback::Invoke() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FontTextureRebuildCallback_Invoke_m4E6CFDE11932BA7F129C9A2C4CAE294562B07480 (FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * __this, const RuntimeMethod* method) { DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* delegateArrayToInvoke = __this->get_delegates_11(); Delegate_t** delegatesToInvoke; il2cpp_array_size_t length; if (delegateArrayToInvoke != NULL) { length = delegateArrayToInvoke->max_length; delegatesToInvoke = reinterpret_cast<Delegate_t**>(delegateArrayToInvoke->GetAddressAtUnchecked(0)); } else { length = 1; delegatesToInvoke = reinterpret_cast<Delegate_t**>(&__this); } for (il2cpp_array_size_t i = 0; i < length; i++) { Delegate_t* currentDelegate = delegatesToInvoke[i]; Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0(); RuntimeObject* targetThis = currentDelegate->get_m_target_2(); RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3()); if (!il2cpp_codegen_method_is_virtual(targetMethod)) { il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod); } bool ___methodIsStatic = MethodIsStatic(targetMethod); int ___parameterCount = il2cpp_codegen_method_parameter_count(targetMethod); if (___methodIsStatic) { if (___parameterCount == 0) { // open typedef void (*FunctionPointerType) (const RuntimeMethod*); ((FunctionPointerType)targetMethodPointer)(targetMethod); } else { // closed typedef void (*FunctionPointerType) (void*, const RuntimeMethod*); ((FunctionPointerType)targetMethodPointer)(targetThis, targetMethod); } } else { // closed if (targetThis != NULL && il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this)) { if (il2cpp_codegen_method_is_generic_instance(targetMethod)) { if (il2cpp_codegen_method_is_interface_method(targetMethod)) GenericInterfaceActionInvoker0::Invoke(targetMethod, targetThis); else GenericVirtActionInvoker0::Invoke(targetMethod, targetThis); } else { if (il2cpp_codegen_method_is_interface_method(targetMethod)) InterfaceActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis); else VirtActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis); } } else { typedef void (*FunctionPointerType) (void*, const RuntimeMethod*); ((FunctionPointerType)targetMethodPointer)(targetThis, targetMethod); } } } } // System.IAsyncResult UnityEngine.Font_FontTextureRebuildCallback::BeginInvoke(System.AsyncCallback,System.Object) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* FontTextureRebuildCallback_BeginInvoke_m53EF837EFEA71B83AEA6706E2EB8F83062E43880 (FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * __this, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback0, RuntimeObject * ___object1, const RuntimeMethod* method) { void *__d_args[1] = {0}; return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback0, (RuntimeObject*)___object1); } // System.Void UnityEngine.Font_FontTextureRebuildCallback::EndInvoke(System.IAsyncResult) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FontTextureRebuildCallback_EndInvoke_m8EEDB9652F6D2358523057E1164740820D2AE93C (FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * __this, RuntimeObject* ___result0, const RuntimeMethod* method) { il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0); } #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // Conversion methods for marshalling of: UnityEngine.TextGenerationSettings IL2CPP_EXTERN_C void TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshal_pinvoke(const TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68& unmarshaled, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_pinvoke& marshaled) { Exception_t* ___font_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'font' of type 'TextGenerationSettings': Reference type field marshaling is not supported."); IL2CPP_RAISE_MANAGED_EXCEPTION(___font_0Exception, NULL); } IL2CPP_EXTERN_C void TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshal_pinvoke_back(const TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_pinvoke& marshaled, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68& unmarshaled) { Exception_t* ___font_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'font' of type 'TextGenerationSettings': Reference type field marshaling is not supported."); IL2CPP_RAISE_MANAGED_EXCEPTION(___font_0Exception, NULL); } // Conversion method for clean up from marshalling of: UnityEngine.TextGenerationSettings IL2CPP_EXTERN_C void TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshal_pinvoke_cleanup(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_pinvoke& marshaled) { } // Conversion methods for marshalling of: UnityEngine.TextGenerationSettings IL2CPP_EXTERN_C void TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshal_com(const TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68& unmarshaled, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_com& marshaled) { Exception_t* ___font_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'font' of type 'TextGenerationSettings': Reference type field marshaling is not supported."); IL2CPP_RAISE_MANAGED_EXCEPTION(___font_0Exception, NULL); } IL2CPP_EXTERN_C void TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshal_com_back(const TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_com& marshaled, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68& unmarshaled) { Exception_t* ___font_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'font' of type 'TextGenerationSettings': Reference type field marshaling is not supported."); IL2CPP_RAISE_MANAGED_EXCEPTION(___font_0Exception, NULL); } // Conversion method for clean up from marshalling of: UnityEngine.TextGenerationSettings IL2CPP_EXTERN_C void TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshal_com_cleanup(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_com& marshaled) { } // System.Boolean UnityEngine.TextGenerationSettings::CompareColors(UnityEngine.Color,UnityEngine.Color) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerationSettings_CompareColors_m41313F2A332F5780C5BD6F8134EBB14473CC5C66 (TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 * __this, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___left0, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___right1, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (TextGenerationSettings_CompareColors_m41313F2A332F5780C5BD6F8134EBB14473CC5C66_MetadataUsageId); s_Il2CppMethodInitialized = true; } bool V_0 = false; int32_t G_B5_0 = 0; { Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_0 = ___left0; float L_1 = L_0.get_r_0(); Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_2 = ___right1; float L_3 = L_2.get_r_0(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var); bool L_4 = Mathf_Approximately_m91AF00403E0D2DEA1AAE68601AD218CFAD70DF7E(L_1, L_3, /*hidden argument*/NULL); if (!L_4) { goto IL_004d; } } { Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_5 = ___left0; float L_6 = L_5.get_g_1(); Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_7 = ___right1; float L_8 = L_7.get_g_1(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var); bool L_9 = Mathf_Approximately_m91AF00403E0D2DEA1AAE68601AD218CFAD70DF7E(L_6, L_8, /*hidden argument*/NULL); if (!L_9) { goto IL_004d; } } { Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_10 = ___left0; float L_11 = L_10.get_b_2(); Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_12 = ___right1; float L_13 = L_12.get_b_2(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var); bool L_14 = Mathf_Approximately_m91AF00403E0D2DEA1AAE68601AD218CFAD70DF7E(L_11, L_13, /*hidden argument*/NULL); if (!L_14) { goto IL_004d; } } { Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_15 = ___left0; float L_16 = L_15.get_a_3(); Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_17 = ___right1; float L_18 = L_17.get_a_3(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var); bool L_19 = Mathf_Approximately_m91AF00403E0D2DEA1AAE68601AD218CFAD70DF7E(L_16, L_18, /*hidden argument*/NULL); G_B5_0 = ((int32_t)(L_19)); goto IL_004e; } IL_004d: { G_B5_0 = 0; } IL_004e: { V_0 = (bool)G_B5_0; goto IL_0051; } IL_0051: { bool L_20 = V_0; return L_20; } } IL2CPP_EXTERN_C bool TextGenerationSettings_CompareColors_m41313F2A332F5780C5BD6F8134EBB14473CC5C66_AdjustorThunk (RuntimeObject * __this, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___left0, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___right1, const RuntimeMethod* method) { int32_t _offset = 1; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 * _thisAdjusted = reinterpret_cast<TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 *>(__this + _offset); return TextGenerationSettings_CompareColors_m41313F2A332F5780C5BD6F8134EBB14473CC5C66(_thisAdjusted, ___left0, ___right1, method); } // System.Boolean UnityEngine.TextGenerationSettings::CompareVector2(UnityEngine.Vector2,UnityEngine.Vector2) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerationSettings_CompareVector2_m27AE82F513B8E6D4A529A02B1A3806A85E710F1C (TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 * __this, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___left0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___right1, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (TextGenerationSettings_CompareVector2_m27AE82F513B8E6D4A529A02B1A3806A85E710F1C_MetadataUsageId); s_Il2CppMethodInitialized = true; } bool V_0 = false; int32_t G_B3_0 = 0; { Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_0 = ___left0; float L_1 = L_0.get_x_0(); Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_2 = ___right1; float L_3 = L_2.get_x_0(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var); bool L_4 = Mathf_Approximately_m91AF00403E0D2DEA1AAE68601AD218CFAD70DF7E(L_1, L_3, /*hidden argument*/NULL); if (!L_4) { goto IL_0027; } } { Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_5 = ___left0; float L_6 = L_5.get_y_1(); Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_7 = ___right1; float L_8 = L_7.get_y_1(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var); bool L_9 = Mathf_Approximately_m91AF00403E0D2DEA1AAE68601AD218CFAD70DF7E(L_6, L_8, /*hidden argument*/NULL); G_B3_0 = ((int32_t)(L_9)); goto IL_0028; } IL_0027: { G_B3_0 = 0; } IL_0028: { V_0 = (bool)G_B3_0; goto IL_002b; } IL_002b: { bool L_10 = V_0; return L_10; } } IL2CPP_EXTERN_C bool TextGenerationSettings_CompareVector2_m27AE82F513B8E6D4A529A02B1A3806A85E710F1C_AdjustorThunk (RuntimeObject * __this, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___left0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___right1, const RuntimeMethod* method) { int32_t _offset = 1; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 * _thisAdjusted = reinterpret_cast<TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 *>(__this + _offset); return TextGenerationSettings_CompareVector2_m27AE82F513B8E6D4A529A02B1A3806A85E710F1C(_thisAdjusted, ___left0, ___right1, method); } // System.Boolean UnityEngine.TextGenerationSettings::Equals(UnityEngine.TextGenerationSettings) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerationSettings_Equals_m39912D195B0384AADC5C274659324EC8720C4F7D (TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 * __this, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___other0, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (TextGenerationSettings_Equals_m39912D195B0384AADC5C274659324EC8720C4F7D_MetadataUsageId); s_Il2CppMethodInitialized = true; } bool V_0 = false; int32_t G_B21_0 = 0; { Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_0 = __this->get_color_1(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_1 = ___other0; Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_2 = L_1.get_color_1(); bool L_3 = TextGenerationSettings_CompareColors_m41313F2A332F5780C5BD6F8134EBB14473CC5C66((TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 *)__this, L_0, L_2, /*hidden argument*/NULL); if (!L_3) { goto IL_015e; } } { int32_t L_4 = __this->get_fontSize_2(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_5 = ___other0; int32_t L_6 = L_5.get_fontSize_2(); if ((!(((uint32_t)L_4) == ((uint32_t)L_6)))) { goto IL_015e; } } { float L_7 = __this->get_scaleFactor_5(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_8 = ___other0; float L_9 = L_8.get_scaleFactor_5(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var); bool L_10 = Mathf_Approximately_m91AF00403E0D2DEA1AAE68601AD218CFAD70DF7E(L_7, L_9, /*hidden argument*/NULL); if (!L_10) { goto IL_015e; } } { int32_t L_11 = __this->get_resizeTextMinSize_10(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_12 = ___other0; int32_t L_13 = L_12.get_resizeTextMinSize_10(); if ((!(((uint32_t)L_11) == ((uint32_t)L_13)))) { goto IL_015e; } } { int32_t L_14 = __this->get_resizeTextMaxSize_11(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_15 = ___other0; int32_t L_16 = L_15.get_resizeTextMaxSize_11(); if ((!(((uint32_t)L_14) == ((uint32_t)L_16)))) { goto IL_015e; } } { float L_17 = __this->get_lineSpacing_3(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_18 = ___other0; float L_19 = L_18.get_lineSpacing_3(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var); bool L_20 = Mathf_Approximately_m91AF00403E0D2DEA1AAE68601AD218CFAD70DF7E(L_17, L_19, /*hidden argument*/NULL); if (!L_20) { goto IL_015e; } } { int32_t L_21 = __this->get_fontStyle_6(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_22 = ___other0; int32_t L_23 = L_22.get_fontStyle_6(); if ((!(((uint32_t)L_21) == ((uint32_t)L_23)))) { goto IL_015e; } } { bool L_24 = __this->get_richText_4(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_25 = ___other0; bool L_26 = L_25.get_richText_4(); if ((!(((uint32_t)L_24) == ((uint32_t)L_26)))) { goto IL_015e; } } { int32_t L_27 = __this->get_textAnchor_7(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_28 = ___other0; int32_t L_29 = L_28.get_textAnchor_7(); if ((!(((uint32_t)L_27) == ((uint32_t)L_29)))) { goto IL_015e; } } { bool L_30 = __this->get_alignByGeometry_8(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_31 = ___other0; bool L_32 = L_31.get_alignByGeometry_8(); if ((!(((uint32_t)L_30) == ((uint32_t)L_32)))) { goto IL_015e; } } { bool L_33 = __this->get_resizeTextForBestFit_9(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_34 = ___other0; bool L_35 = L_34.get_resizeTextForBestFit_9(); if ((!(((uint32_t)L_33) == ((uint32_t)L_35)))) { goto IL_015e; } } { int32_t L_36 = __this->get_resizeTextMinSize_10(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_37 = ___other0; int32_t L_38 = L_37.get_resizeTextMinSize_10(); if ((!(((uint32_t)L_36) == ((uint32_t)L_38)))) { goto IL_015e; } } { int32_t L_39 = __this->get_resizeTextMaxSize_11(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_40 = ___other0; int32_t L_41 = L_40.get_resizeTextMaxSize_11(); if ((!(((uint32_t)L_39) == ((uint32_t)L_41)))) { goto IL_015e; } } { bool L_42 = __this->get_resizeTextForBestFit_9(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_43 = ___other0; bool L_44 = L_43.get_resizeTextForBestFit_9(); if ((!(((uint32_t)L_42) == ((uint32_t)L_44)))) { goto IL_015e; } } { bool L_45 = __this->get_updateBounds_12(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_46 = ___other0; bool L_47 = L_46.get_updateBounds_12(); if ((!(((uint32_t)L_45) == ((uint32_t)L_47)))) { goto IL_015e; } } { int32_t L_48 = __this->get_horizontalOverflow_14(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_49 = ___other0; int32_t L_50 = L_49.get_horizontalOverflow_14(); if ((!(((uint32_t)L_48) == ((uint32_t)L_50)))) { goto IL_015e; } } { int32_t L_51 = __this->get_verticalOverflow_13(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_52 = ___other0; int32_t L_53 = L_52.get_verticalOverflow_13(); if ((!(((uint32_t)L_51) == ((uint32_t)L_53)))) { goto IL_015e; } } { Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_54 = __this->get_generationExtents_15(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_55 = ___other0; Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_56 = L_55.get_generationExtents_15(); bool L_57 = TextGenerationSettings_CompareVector2_m27AE82F513B8E6D4A529A02B1A3806A85E710F1C((TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 *)__this, L_54, L_56, /*hidden argument*/NULL); if (!L_57) { goto IL_015e; } } { Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_58 = __this->get_pivot_16(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_59 = ___other0; Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_60 = L_59.get_pivot_16(); bool L_61 = TextGenerationSettings_CompareVector2_m27AE82F513B8E6D4A529A02B1A3806A85E710F1C((TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 *)__this, L_58, L_60, /*hidden argument*/NULL); if (!L_61) { goto IL_015e; } } { Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_62 = __this->get_font_0(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_63 = ___other0; Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_64 = L_63.get_font_0(); IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var); bool L_65 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_62, L_64, /*hidden argument*/NULL); G_B21_0 = ((int32_t)(L_65)); goto IL_015f; } IL_015e: { G_B21_0 = 0; } IL_015f: { V_0 = (bool)G_B21_0; goto IL_0162; } IL_0162: { bool L_66 = V_0; return L_66; } } IL2CPP_EXTERN_C bool TextGenerationSettings_Equals_m39912D195B0384AADC5C274659324EC8720C4F7D_AdjustorThunk (RuntimeObject * __this, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___other0, const RuntimeMethod* method) { int32_t _offset = 1; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 * _thisAdjusted = reinterpret_cast<TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 *>(__this + _offset); return TextGenerationSettings_Equals_m39912D195B0384AADC5C274659324EC8720C4F7D(_thisAdjusted, ___other0, method); } #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // Conversion methods for marshalling of: UnityEngine.TextGenerator IL2CPP_EXTERN_C void TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshal_pinvoke(const TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8& unmarshaled, TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshaled_pinvoke& marshaled) { Exception_t* ___m_LastSettings_2Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_LastSettings' of type 'TextGenerator'."); IL2CPP_RAISE_MANAGED_EXCEPTION(___m_LastSettings_2Exception, NULL); } IL2CPP_EXTERN_C void TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshal_pinvoke_back(const TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshaled_pinvoke& marshaled, TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8& unmarshaled) { Exception_t* ___m_LastSettings_2Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_LastSettings' of type 'TextGenerator'."); IL2CPP_RAISE_MANAGED_EXCEPTION(___m_LastSettings_2Exception, NULL); } // Conversion method for clean up from marshalling of: UnityEngine.TextGenerator IL2CPP_EXTERN_C void TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshal_pinvoke_cleanup(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshaled_pinvoke& marshaled) { } // Conversion methods for marshalling of: UnityEngine.TextGenerator IL2CPP_EXTERN_C void TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshal_com(const TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8& unmarshaled, TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshaled_com& marshaled) { Exception_t* ___m_LastSettings_2Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_LastSettings' of type 'TextGenerator'."); IL2CPP_RAISE_MANAGED_EXCEPTION(___m_LastSettings_2Exception, NULL); } IL2CPP_EXTERN_C void TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshal_com_back(const TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshaled_com& marshaled, TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8& unmarshaled) { Exception_t* ___m_LastSettings_2Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_LastSettings' of type 'TextGenerator'."); IL2CPP_RAISE_MANAGED_EXCEPTION(___m_LastSettings_2Exception, NULL); } // Conversion method for clean up from marshalling of: UnityEngine.TextGenerator IL2CPP_EXTERN_C void TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshal_com_cleanup(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshaled_com& marshaled) { } // System.Void UnityEngine.TextGenerator::.ctor() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator__ctor_mD3956FF7D10DC470522A6363E7D6EC243415098A (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method) { { TextGenerator__ctor_m86E01E7BB9DC1B28F04961E482ED4D7065062BCE(__this, ((int32_t)50), /*hidden argument*/NULL); return; } } // System.Void UnityEngine.TextGenerator::.ctor(System.Int32) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator__ctor_m86E01E7BB9DC1B28F04961E482ED4D7065062BCE (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, int32_t ___initialCapacity0, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (TextGenerator__ctor_m86E01E7BB9DC1B28F04961E482ED4D7065062BCE_MetadataUsageId); s_Il2CppMethodInitialized = true; } { Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL); intptr_t L_0 = TextGenerator_Internal_Create_m127DBEDE47D3028812950FD9184A18C9F3A5E994(/*hidden argument*/NULL); __this->set_m_Ptr_0((intptr_t)L_0); int32_t L_1 = ___initialCapacity0; List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * L_2 = (List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 *)il2cpp_codegen_object_new(List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554_il2cpp_TypeInfo_var); List_1__ctor_m4B9E13C91ADA643CE531D7FE21CBC0BD4B8CFAC8(L_2, ((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1)), (int32_t)4)), /*hidden argument*/List_1__ctor_m4B9E13C91ADA643CE531D7FE21CBC0BD4B8CFAC8_RuntimeMethod_var); __this->set_m_Verts_5(L_2); int32_t L_3 = ___initialCapacity0; List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * L_4 = (List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E *)il2cpp_codegen_object_new(List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E_il2cpp_TypeInfo_var); List_1__ctor_m31FA26D4722DE7042587E4FDA499FF5B35A5BE71(L_4, ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)), /*hidden argument*/List_1__ctor_m31FA26D4722DE7042587E4FDA499FF5B35A5BE71_RuntimeMethod_var); __this->set_m_Characters_6(L_4); List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * L_5 = (List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 *)il2cpp_codegen_object_new(List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0_il2cpp_TypeInfo_var); List_1__ctor_m9616B19521FA2ACBD7DAB484CA3DFA1283D8C9DD(L_5, ((int32_t)20), /*hidden argument*/List_1__ctor_m9616B19521FA2ACBD7DAB484CA3DFA1283D8C9DD_RuntimeMethod_var); __this->set_m_Lines_7(L_5); return; } } // System.Void UnityEngine.TextGenerator::Finalize() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_Finalize_m6E9076F61F7B4DD5E56207F39E8F5FD85F188D8A (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (TextGenerator_Finalize_m6E9076F61F7B4DD5E56207F39E8F5FD85F188D8A_MetadataUsageId); s_Il2CppMethodInitialized = true; } Exception_t * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); void* __leave_targets_storage = alloca(sizeof(int32_t) * 1); il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage); NO_UNUSED_WARNING (__leave_targets); { } IL_0001: try { // begin try (depth: 1) InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, __this); IL2CPP_LEAVE(0x13, FINALLY_000b); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t *)e.ex; goto FINALLY_000b; } FINALLY_000b: { // begin finally (depth: 1) Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380(__this, /*hidden argument*/NULL); IL2CPP_END_FINALLY(11) } // end finally (depth: 1) IL2CPP_CLEANUP(11) { IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *) IL2CPP_JUMP_TBL(0x13, IL_0013) } IL_0013: { return; } } // System.Void UnityEngine.TextGenerator::System.IDisposable.Dispose() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_System_IDisposable_Dispose_m9D3291DC086282AF57A115B39D3C17BD0074FA3D (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (TextGenerator_System_IDisposable_Dispose_m9D3291DC086282AF57A115B39D3C17BD0074FA3D_MetadataUsageId); s_Il2CppMethodInitialized = true; } bool V_0 = false; { intptr_t L_0 = __this->get_m_Ptr_0(); bool L_1 = IntPtr_op_Inequality_mB4886A806009EA825EFCC60CD2A7F6EB8E273A61((intptr_t)L_0, (intptr_t)(0), /*hidden argument*/NULL); V_0 = L_1; bool L_2 = V_0; if (!L_2) { goto IL_002e; } } { intptr_t L_3 = __this->get_m_Ptr_0(); TextGenerator_Internal_Destroy_mB7FE56C2FAAE16938DE8BC7256EB44643E1845A5((intptr_t)L_3, /*hidden argument*/NULL); __this->set_m_Ptr_0((intptr_t)(0)); } IL_002e: { return; } } // System.Int32 UnityEngine.TextGenerator::get_characterCountVisible() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TextGenerator_get_characterCountVisible_mD0E9AA8120947F5AED58F512C0978C2E82ED1182 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method) { { int32_t L_0 = TextGenerator_get_characterCount_m2A8F9764A7BD2AD1287D3721638FB6114D6BDDC7(__this, /*hidden argument*/NULL); return ((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)1)); } } // UnityEngine.TextGenerationSettings UnityEngine.TextGenerator::ValidatedSettings(UnityEngine.TextGenerationSettings) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 TextGenerator_ValidatedSettings_m167131680BB6CD53B929EF189520F9FCF71FB1D3 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___settings0, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (TextGenerator_ValidatedSettings_m167131680BB6CD53B929EF189520F9FCF71FB1D3_MetadataUsageId); s_Il2CppMethodInitialized = true; } bool V_0 = false; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 V_1; memset((&V_1), 0, sizeof(V_1)); bool V_2 = false; bool V_3 = false; bool V_4 = false; bool V_5 = false; int32_t G_B3_0 = 0; int32_t G_B8_0 = 0; { TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_0 = ___settings0; Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_1 = L_0.get_font_0(); IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var); bool L_2 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_1, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL); if (!L_2) { goto IL_001c; } } { TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_3 = ___settings0; Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_4 = L_3.get_font_0(); NullCheck(L_4); bool L_5 = Font_get_dynamic_m14C7E59606E317C5952A69F05CC44BF399CFFE2E(L_4, /*hidden argument*/NULL); G_B3_0 = ((int32_t)(L_5)); goto IL_001d; } IL_001c: { G_B3_0 = 0; } IL_001d: { V_0 = (bool)G_B3_0; bool L_6 = V_0; if (!L_6) { goto IL_0028; } } { TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_7 = ___settings0; V_1 = L_7; goto IL_00d8; } IL_0028: { TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_8 = ___settings0; int32_t L_9 = L_8.get_fontSize_2(); if (L_9) { goto IL_003b; } } { TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_10 = ___settings0; int32_t L_11 = L_10.get_fontStyle_6(); G_B8_0 = ((!(((uint32_t)L_11) <= ((uint32_t)0)))? 1 : 0); goto IL_003c; } IL_003b: { G_B8_0 = 1; } IL_003c: { V_2 = (bool)G_B8_0; bool L_12 = V_2; if (!L_12) { goto IL_0087; } } { TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_13 = ___settings0; Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_14 = L_13.get_font_0(); IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var); bool L_15 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_14, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL); V_3 = L_15; bool L_16 = V_3; if (!L_16) { goto IL_0076; } } { TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_17 = ___settings0; Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_18 = L_17.get_font_0(); ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_19 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)1); ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_20 = L_19; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_21 = ___settings0; Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_22 = L_21.get_font_0(); NullCheck(L_22); String_t* L_23 = Object_get_name_mA2D400141CB3C991C87A2556429781DE961A83CE(L_22, /*hidden argument*/NULL); NullCheck(L_20); ArrayElementTypeCheck (L_20, L_23); (L_20)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_23); IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var); Debug_LogWarningFormat_m4A02CCF91F3A9392F4AA93576DCE2222267E5945(L_18, _stringLiteral2C79056F1CBD7CDBD214C0C0421FFC46A2BD5CBD, L_20, /*hidden argument*/NULL); } IL_0076: { (&___settings0)->set_fontSize_2(0); (&___settings0)->set_fontStyle_6(0); } IL_0087: { TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_24 = ___settings0; bool L_25 = L_24.get_resizeTextForBestFit_9(); V_4 = L_25; bool L_26 = V_4; if (!L_26) { goto IL_00d4; } } { TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_27 = ___settings0; Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_28 = L_27.get_font_0(); IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var); bool L_29 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_28, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL); V_5 = L_29; bool L_30 = V_5; if (!L_30) { goto IL_00cb; } } { TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_31 = ___settings0; Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_32 = L_31.get_font_0(); ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_33 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)1); ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_34 = L_33; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_35 = ___settings0; Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_36 = L_35.get_font_0(); NullCheck(L_36); String_t* L_37 = Object_get_name_mA2D400141CB3C991C87A2556429781DE961A83CE(L_36, /*hidden argument*/NULL); NullCheck(L_34); ArrayElementTypeCheck (L_34, L_37); (L_34)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_37); IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var); Debug_LogWarningFormat_m4A02CCF91F3A9392F4AA93576DCE2222267E5945(L_32, _stringLiteral277905A8757DB70EAE0C8B996E4FCF857783BB03, L_34, /*hidden argument*/NULL); } IL_00cb: { (&___settings0)->set_resizeTextForBestFit_9((bool)0); } IL_00d4: { TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_38 = ___settings0; V_1 = L_38; goto IL_00d8; } IL_00d8: { TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_39 = V_1; return L_39; } } // System.Void UnityEngine.TextGenerator::Invalidate() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_Invalidate_m5C360AB470CB728BAA03B34BE33C75CBB55B673E (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method) { { __this->set_m_HasGenerated_3((bool)0); return; } } // System.Void UnityEngine.TextGenerator::GetCharacters(System.Collections.Generic.List`1<UnityEngine.UICharInfo>) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_GetCharacters_mBB7980F2FE8BE65A906A39B5559EC54B1CEF4131 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * ___characters0, const RuntimeMethod* method) { { List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * L_0 = ___characters0; TextGenerator_GetCharactersInternal_m4383B9A162CF10430636BFD248DDBDDB4D64E967(__this, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.TextGenerator::GetLines(System.Collections.Generic.List`1<UnityEngine.UILineInfo>) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_GetLines_mC31F7918A9159908EA914D01B2E32644B046E2B5 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * ___lines0, const RuntimeMethod* method) { { List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * L_0 = ___lines0; TextGenerator_GetLinesInternal_mA54A05D512EE1CED958F73E0024FB913E648EDAD(__this, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.TextGenerator::GetVertices(System.Collections.Generic.List`1<UnityEngine.UIVertex>) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_GetVertices_m6FA34586541514ED7396990542BDAC536C10A4F2 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * ___vertices0, const RuntimeMethod* method) { { List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * L_0 = ___vertices0; TextGenerator_GetVerticesInternal_mB794B94982BA35D2CDB8F3AA77880B33AEB42B9A(__this, L_0, /*hidden argument*/NULL); return; } } // System.Single UnityEngine.TextGenerator::GetPreferredWidth(System.String,UnityEngine.TextGenerationSettings) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TextGenerator_GetPreferredWidth_mBF228094564195BBB66669F4ECC6EE1B0B05BAAA (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___settings1, const RuntimeMethod* method) { Rect_t35B976DE901B5423C11705E156938EA27AB402CE V_0; memset((&V_0), 0, sizeof(V_0)); float V_1 = 0.0f; { (&___settings1)->set_horizontalOverflow_14(1); (&___settings1)->set_verticalOverflow_13(1); (&___settings1)->set_updateBounds_12((bool)1); String_t* L_0 = ___str0; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_1 = ___settings1; TextGenerator_Populate_m15553808C8FA017AA1AC23D2818C30DAFD654A04(__this, L_0, L_1, /*hidden argument*/NULL); Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_2 = TextGenerator_get_rectExtents_m55F6A6727406C54BEFB7628751555B7C58BEC9B1(__this, /*hidden argument*/NULL); V_0 = L_2; float L_3 = Rect_get_width_m54FF69FC2C086E2DC349ED091FD0D6576BFB1484((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&V_0), /*hidden argument*/NULL); V_1 = L_3; goto IL_0033; } IL_0033: { float L_4 = V_1; return L_4; } } // System.Single UnityEngine.TextGenerator::GetPreferredHeight(System.String,UnityEngine.TextGenerationSettings) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TextGenerator_GetPreferredHeight_mC2F191D9E9CF2365545D0A3F1EBD0F105DB27963 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___settings1, const RuntimeMethod* method) { Rect_t35B976DE901B5423C11705E156938EA27AB402CE V_0; memset((&V_0), 0, sizeof(V_0)); float V_1 = 0.0f; { (&___settings1)->set_verticalOverflow_13(1); (&___settings1)->set_updateBounds_12((bool)1); String_t* L_0 = ___str0; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_1 = ___settings1; TextGenerator_Populate_m15553808C8FA017AA1AC23D2818C30DAFD654A04(__this, L_0, L_1, /*hidden argument*/NULL); Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_2 = TextGenerator_get_rectExtents_m55F6A6727406C54BEFB7628751555B7C58BEC9B1(__this, /*hidden argument*/NULL); V_0 = L_2; float L_3 = Rect_get_height_m088C36990E0A255C5D7DCE36575DCE23ABB364B5((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&V_0), /*hidden argument*/NULL); V_1 = L_3; goto IL_002b; } IL_002b: { float L_4 = V_1; return L_4; } } // System.Boolean UnityEngine.TextGenerator::PopulateWithErrors(System.String,UnityEngine.TextGenerationSettings,UnityEngine.GameObject) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerator_PopulateWithErrors_m1F1851B3C2B2EBEFD81C83DC124FB376C926B933 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___settings1, GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___context2, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (TextGenerator_PopulateWithErrors_m1F1851B3C2B2EBEFD81C83DC124FB376C926B933_MetadataUsageId); s_Il2CppMethodInitialized = true; } int32_t V_0 = 0; bool V_1 = false; bool V_2 = false; bool V_3 = false; bool V_4 = false; { String_t* L_0 = ___str0; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_1 = ___settings1; int32_t L_2 = TextGenerator_PopulateWithError_m24D1DA75F0563582E228C6F4982D0913C58E1D7D(__this, L_0, L_1, /*hidden argument*/NULL); V_0 = L_2; int32_t L_3 = V_0; V_1 = (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0); bool L_4 = V_1; if (!L_4) { goto IL_0016; } } { V_2 = (bool)1; goto IL_0066; } IL_0016: { int32_t L_5 = V_0; V_3 = (bool)((!(((uint32_t)((int32_t)((int32_t)L_5&(int32_t)1))) <= ((uint32_t)0)))? 1 : 0); bool L_6 = V_3; if (!L_6) { goto IL_003b; } } { GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_7 = ___context2; ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_8 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)1); ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_9 = L_8; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_10 = ___settings1; Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_11 = L_10.get_font_0(); NullCheck(L_9); ArrayElementTypeCheck (L_9, L_11); (L_9)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_11); IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var); Debug_LogErrorFormat_m994E4759C25BF0E9DD4179C10E3979558137CCF0(L_7, _stringLiteral6F5E75D22C09C82C4D03E8E6E9ADE44476FEE514, L_9, /*hidden argument*/NULL); } IL_003b: { int32_t L_12 = V_0; V_4 = (bool)((!(((uint32_t)((int32_t)((int32_t)L_12&(int32_t)2))) <= ((uint32_t)0)))? 1 : 0); bool L_13 = V_4; if (!L_13) { goto IL_0062; } } { GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_14 = ___context2; ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_15 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)1); ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_16 = L_15; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_17 = ___settings1; Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_18 = L_17.get_font_0(); NullCheck(L_16); ArrayElementTypeCheck (L_16, L_18); (L_16)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_18); IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var); Debug_LogErrorFormat_m994E4759C25BF0E9DD4179C10E3979558137CCF0(L_14, _stringLiteral8D03707CEE3275C377839D6BF944BCECDF26A00B, L_16, /*hidden argument*/NULL); } IL_0062: { V_2 = (bool)0; goto IL_0066; } IL_0066: { bool L_19 = V_2; return L_19; } } // System.Boolean UnityEngine.TextGenerator::Populate(System.String,UnityEngine.TextGenerationSettings) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerator_Populate_m15553808C8FA017AA1AC23D2818C30DAFD654A04 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___settings1, const RuntimeMethod* method) { int32_t V_0 = 0; bool V_1 = false; { String_t* L_0 = ___str0; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_1 = ___settings1; int32_t L_2 = TextGenerator_PopulateWithError_m24D1DA75F0563582E228C6F4982D0913C58E1D7D(__this, L_0, L_1, /*hidden argument*/NULL); V_0 = L_2; int32_t L_3 = V_0; V_1 = (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0); goto IL_0011; } IL_0011: { bool L_4 = V_1; return L_4; } } // UnityEngine.TextGenerationError UnityEngine.TextGenerator::PopulateWithError(System.String,UnityEngine.TextGenerationSettings) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TextGenerator_PopulateWithError_m24D1DA75F0563582E228C6F4982D0913C58E1D7D (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___settings1, const RuntimeMethod* method) { bool V_0 = false; int32_t V_1 = 0; int32_t G_B4_0 = 0; { bool L_0 = __this->get_m_HasGenerated_3(); if (!L_0) { goto IL_0026; } } { String_t* L_1 = ___str0; String_t* L_2 = __this->get_m_LastString_1(); bool L_3 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_1, L_2, /*hidden argument*/NULL); if (!L_3) { goto IL_0026; } } { TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_4 = __this->get_m_LastSettings_2(); bool L_5 = TextGenerationSettings_Equals_m39912D195B0384AADC5C274659324EC8720C4F7D((TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 *)(&___settings1), L_4, /*hidden argument*/NULL); G_B4_0 = ((int32_t)(L_5)); goto IL_0027; } IL_0026: { G_B4_0 = 0; } IL_0027: { V_0 = (bool)G_B4_0; bool L_6 = V_0; if (!L_6) { goto IL_0034; } } { int32_t L_7 = __this->get_m_LastValid_4(); V_1 = L_7; goto IL_004b; } IL_0034: { String_t* L_8 = ___str0; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_9 = ___settings1; int32_t L_10 = TextGenerator_PopulateAlways_m8DCF389A51877975F29FAB9B6E800DFDC1E0B8DF(__this, L_8, L_9, /*hidden argument*/NULL); __this->set_m_LastValid_4(L_10); int32_t L_11 = __this->get_m_LastValid_4(); V_1 = L_11; goto IL_004b; } IL_004b: { int32_t L_12 = V_1; return L_12; } } // UnityEngine.TextGenerationError UnityEngine.TextGenerator::PopulateAlways(System.String,UnityEngine.TextGenerationSettings) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TextGenerator_PopulateAlways_m8DCF389A51877975F29FAB9B6E800DFDC1E0B8DF (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___settings1, const RuntimeMethod* method) { TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 V_0; memset((&V_0), 0, sizeof(V_0)); int32_t V_1 = 0; int32_t V_2 = 0; { String_t* L_0 = ___str0; __this->set_m_LastString_1(L_0); __this->set_m_HasGenerated_3((bool)1); __this->set_m_CachedVerts_8((bool)0); __this->set_m_CachedCharacters_9((bool)0); __this->set_m_CachedLines_10((bool)0); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_1 = ___settings1; __this->set_m_LastSettings_2(L_1); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_2 = ___settings1; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_3 = TextGenerator_ValidatedSettings_m167131680BB6CD53B929EF189520F9FCF71FB1D3(__this, L_2, /*hidden argument*/NULL); V_0 = L_3; String_t* L_4 = ___str0; TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_5 = V_0; Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_6 = L_5.get_font_0(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_7 = V_0; Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_8 = L_7.get_color_1(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_9 = V_0; int32_t L_10 = L_9.get_fontSize_2(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_11 = V_0; float L_12 = L_11.get_scaleFactor_5(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_13 = V_0; float L_14 = L_13.get_lineSpacing_3(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_15 = V_0; int32_t L_16 = L_15.get_fontStyle_6(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_17 = V_0; bool L_18 = L_17.get_richText_4(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_19 = V_0; bool L_20 = L_19.get_resizeTextForBestFit_9(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_21 = V_0; int32_t L_22 = L_21.get_resizeTextMinSize_10(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_23 = V_0; int32_t L_24 = L_23.get_resizeTextMaxSize_11(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_25 = V_0; int32_t L_26 = L_25.get_verticalOverflow_13(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_27 = V_0; int32_t L_28 = L_27.get_horizontalOverflow_14(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_29 = V_0; bool L_30 = L_29.get_updateBounds_12(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_31 = V_0; int32_t L_32 = L_31.get_textAnchor_7(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_33 = V_0; Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_34 = L_33.get_generationExtents_15(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_35 = V_0; Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_36 = L_35.get_pivot_16(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_37 = V_0; bool L_38 = L_37.get_generateOutOfBounds_17(); TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_39 = V_0; bool L_40 = L_39.get_alignByGeometry_8(); TextGenerator_Populate_Internal_m42F7FED165D62BFD9C006D19A0FCE5B70C1EF92B(__this, L_4, L_6, L_8, L_10, L_12, L_14, L_16, L_18, L_20, L_22, L_24, L_26, L_28, L_30, L_32, L_34, L_36, L_38, L_40, (int32_t*)(&V_1), /*hidden argument*/NULL); int32_t L_41 = V_1; __this->set_m_LastValid_4(L_41); int32_t L_42 = V_1; V_2 = L_42; goto IL_00b4; } IL_00b4: { int32_t L_43 = V_2; return L_43; } } // System.Collections.Generic.IList`1<UnityEngine.UIVertex> UnityEngine.TextGenerator::get_verts() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TextGenerator_get_verts_mD0B3D877BE872CDE4BE3791685B8B5EF0AAC6120 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method) { bool V_0 = false; RuntimeObject* V_1 = NULL; { bool L_0 = __this->get_m_CachedVerts_8(); V_0 = (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0); bool L_1 = V_0; if (!L_1) { goto IL_0024; } } { List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * L_2 = __this->get_m_Verts_5(); TextGenerator_GetVertices_m6FA34586541514ED7396990542BDAC536C10A4F2(__this, L_2, /*hidden argument*/NULL); __this->set_m_CachedVerts_8((bool)1); } IL_0024: { List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * L_3 = __this->get_m_Verts_5(); V_1 = (RuntimeObject*)L_3; goto IL_002d; } IL_002d: { RuntimeObject* L_4 = V_1; return L_4; } } // System.Collections.Generic.IList`1<UnityEngine.UICharInfo> UnityEngine.TextGenerator::get_characters() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TextGenerator_get_characters_m716FE1EF0738A1E6B3FBF4A1DBC46244B9594C7B (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method) { bool V_0 = false; RuntimeObject* V_1 = NULL; { bool L_0 = __this->get_m_CachedCharacters_9(); V_0 = (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0); bool L_1 = V_0; if (!L_1) { goto IL_0024; } } { List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * L_2 = __this->get_m_Characters_6(); TextGenerator_GetCharacters_mBB7980F2FE8BE65A906A39B5559EC54B1CEF4131(__this, L_2, /*hidden argument*/NULL); __this->set_m_CachedCharacters_9((bool)1); } IL_0024: { List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * L_3 = __this->get_m_Characters_6(); V_1 = (RuntimeObject*)L_3; goto IL_002d; } IL_002d: { RuntimeObject* L_4 = V_1; return L_4; } } // System.Collections.Generic.IList`1<UnityEngine.UILineInfo> UnityEngine.TextGenerator::get_lines() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TextGenerator_get_lines_m40303E6BF9508DD46E04A21B5F5510F0FB9437CD (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method) { bool V_0 = false; RuntimeObject* V_1 = NULL; { bool L_0 = __this->get_m_CachedLines_10(); V_0 = (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0); bool L_1 = V_0; if (!L_1) { goto IL_0024; } } { List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * L_2 = __this->get_m_Lines_7(); TextGenerator_GetLines_mC31F7918A9159908EA914D01B2E32644B046E2B5(__this, L_2, /*hidden argument*/NULL); __this->set_m_CachedLines_10((bool)1); } IL_0024: { List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * L_3 = __this->get_m_Lines_7(); V_1 = (RuntimeObject*)L_3; goto IL_002d; } IL_002d: { RuntimeObject* L_4 = V_1; return L_4; } } // UnityEngine.Rect UnityEngine.TextGenerator::get_rectExtents() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE TextGenerator_get_rectExtents_m55F6A6727406C54BEFB7628751555B7C58BEC9B1 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method) { Rect_t35B976DE901B5423C11705E156938EA27AB402CE V_0; memset((&V_0), 0, sizeof(V_0)); { TextGenerator_get_rectExtents_Injected_mD8FC9E47642590C7AC78DA83B583E5F4271842D0(__this, (Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&V_0), /*hidden argument*/NULL); Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0 = V_0; return L_0; } } // System.Int32 UnityEngine.TextGenerator::get_characterCount() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TextGenerator_get_characterCount_m2A8F9764A7BD2AD1287D3721638FB6114D6BDDC7 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method) { typedef int32_t (*TextGenerator_get_characterCount_m2A8F9764A7BD2AD1287D3721638FB6114D6BDDC7_ftn) (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 *); static TextGenerator_get_characterCount_m2A8F9764A7BD2AD1287D3721638FB6114D6BDDC7_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextGenerator_get_characterCount_m2A8F9764A7BD2AD1287D3721638FB6114D6BDDC7_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextGenerator::get_characterCount()"); int32_t retVal = _il2cpp_icall_func(__this); return retVal; } // System.Int32 UnityEngine.TextGenerator::get_lineCount() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TextGenerator_get_lineCount_m7A3CC9D67099CDC4723A683716BE5FBC623EE9C4 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method) { typedef int32_t (*TextGenerator_get_lineCount_m7A3CC9D67099CDC4723A683716BE5FBC623EE9C4_ftn) (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 *); static TextGenerator_get_lineCount_m7A3CC9D67099CDC4723A683716BE5FBC623EE9C4_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextGenerator_get_lineCount_m7A3CC9D67099CDC4723A683716BE5FBC623EE9C4_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextGenerator::get_lineCount()"); int32_t retVal = _il2cpp_icall_func(__this); return retVal; } // System.IntPtr UnityEngine.TextGenerator::Internal_Create() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t TextGenerator_Internal_Create_m127DBEDE47D3028812950FD9184A18C9F3A5E994 (const RuntimeMethod* method) { typedef intptr_t (*TextGenerator_Internal_Create_m127DBEDE47D3028812950FD9184A18C9F3A5E994_ftn) (); static TextGenerator_Internal_Create_m127DBEDE47D3028812950FD9184A18C9F3A5E994_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextGenerator_Internal_Create_m127DBEDE47D3028812950FD9184A18C9F3A5E994_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextGenerator::Internal_Create()"); intptr_t retVal = _il2cpp_icall_func(); return retVal; } // System.Void UnityEngine.TextGenerator::Internal_Destroy(System.IntPtr) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_Internal_Destroy_mB7FE56C2FAAE16938DE8BC7256EB44643E1845A5 (intptr_t ___ptr0, const RuntimeMethod* method) { typedef void (*TextGenerator_Internal_Destroy_mB7FE56C2FAAE16938DE8BC7256EB44643E1845A5_ftn) (intptr_t); static TextGenerator_Internal_Destroy_mB7FE56C2FAAE16938DE8BC7256EB44643E1845A5_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextGenerator_Internal_Destroy_mB7FE56C2FAAE16938DE8BC7256EB44643E1845A5_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextGenerator::Internal_Destroy(System.IntPtr)"); _il2cpp_icall_func(___ptr0); } // System.Boolean UnityEngine.TextGenerator::Populate_Internal(System.String,UnityEngine.Font,UnityEngine.Color,System.Int32,System.Single,System.Single,UnityEngine.FontStyle,System.Boolean,System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean,UnityEngine.TextAnchor,System.Single,System.Single,System.Single,System.Single,System.Boolean,System.Boolean,System.UInt32&) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerator_Populate_Internal_mCA54081A0855AED6EC6345265603409FE330985C (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font1, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___color2, int32_t ___fontSize3, float ___scaleFactor4, float ___lineSpacing5, int32_t ___style6, bool ___richText7, bool ___resizeTextForBestFit8, int32_t ___resizeTextMinSize9, int32_t ___resizeTextMaxSize10, int32_t ___verticalOverFlow11, int32_t ___horizontalOverflow12, bool ___updateBounds13, int32_t ___anchor14, float ___extentsX15, float ___extentsY16, float ___pivotX17, float ___pivotY18, bool ___generateOutOfBounds19, bool ___alignByGeometry20, uint32_t* ___error21, const RuntimeMethod* method) { { String_t* L_0 = ___str0; Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_1 = ___font1; int32_t L_2 = ___fontSize3; float L_3 = ___scaleFactor4; float L_4 = ___lineSpacing5; int32_t L_5 = ___style6; bool L_6 = ___richText7; bool L_7 = ___resizeTextForBestFit8; int32_t L_8 = ___resizeTextMinSize9; int32_t L_9 = ___resizeTextMaxSize10; int32_t L_10 = ___verticalOverFlow11; int32_t L_11 = ___horizontalOverflow12; bool L_12 = ___updateBounds13; int32_t L_13 = ___anchor14; float L_14 = ___extentsX15; float L_15 = ___extentsY16; float L_16 = ___pivotX17; float L_17 = ___pivotY18; bool L_18 = ___generateOutOfBounds19; bool L_19 = ___alignByGeometry20; uint32_t* L_20 = ___error21; bool L_21 = TextGenerator_Populate_Internal_Injected_mC1D6A0A0A9E0BFDB146EA921DA459D83FF33DEDE(__this, L_0, L_1, (Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 *)(&___color2), L_2, L_3, L_4, L_5, L_6, L_7, L_8, L_9, L_10, L_11, L_12, L_13, L_14, L_15, L_16, L_17, L_18, L_19, (uint32_t*)L_20, /*hidden argument*/NULL); return L_21; } } // System.Boolean UnityEngine.TextGenerator::Populate_Internal(System.String,UnityEngine.Font,UnityEngine.Color,System.Int32,System.Single,System.Single,UnityEngine.FontStyle,System.Boolean,System.Boolean,System.Int32,System.Int32,UnityEngine.VerticalWrapMode,UnityEngine.HorizontalWrapMode,System.Boolean,UnityEngine.TextAnchor,UnityEngine.Vector2,UnityEngine.Vector2,System.Boolean,System.Boolean,UnityEngine.TextGenerationError&) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerator_Populate_Internal_m42F7FED165D62BFD9C006D19A0FCE5B70C1EF92B (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font1, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___color2, int32_t ___fontSize3, float ___scaleFactor4, float ___lineSpacing5, int32_t ___style6, bool ___richText7, bool ___resizeTextForBestFit8, int32_t ___resizeTextMinSize9, int32_t ___resizeTextMaxSize10, int32_t ___verticalOverFlow11, int32_t ___horizontalOverflow12, bool ___updateBounds13, int32_t ___anchor14, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___extents15, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___pivot16, bool ___generateOutOfBounds17, bool ___alignByGeometry18, int32_t* ___error19, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (TextGenerator_Populate_Internal_m42F7FED165D62BFD9C006D19A0FCE5B70C1EF92B_MetadataUsageId); s_Il2CppMethodInitialized = true; } uint32_t V_0 = 0; bool V_1 = false; bool V_2 = false; bool V_3 = false; { Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_0 = ___font1; IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var); bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL); V_2 = L_1; bool L_2 = V_2; if (!L_2) { goto IL_0015; } } { int32_t* L_3 = ___error19; *((int32_t*)L_3) = (int32_t)4; V_3 = (bool)0; goto IL_0063; } IL_0015: { V_0 = 0; String_t* L_4 = ___str0; Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_5 = ___font1; Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_6 = ___color2; int32_t L_7 = ___fontSize3; float L_8 = ___scaleFactor4; float L_9 = ___lineSpacing5; int32_t L_10 = ___style6; bool L_11 = ___richText7; bool L_12 = ___resizeTextForBestFit8; int32_t L_13 = ___resizeTextMinSize9; int32_t L_14 = ___resizeTextMaxSize10; int32_t L_15 = ___verticalOverFlow11; int32_t L_16 = ___horizontalOverflow12; bool L_17 = ___updateBounds13; int32_t L_18 = ___anchor14; Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_19 = ___extents15; float L_20 = L_19.get_x_0(); Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_21 = ___extents15; float L_22 = L_21.get_y_1(); Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_23 = ___pivot16; float L_24 = L_23.get_x_0(); Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_25 = ___pivot16; float L_26 = L_25.get_y_1(); bool L_27 = ___generateOutOfBounds17; bool L_28 = ___alignByGeometry18; bool L_29 = TextGenerator_Populate_Internal_mCA54081A0855AED6EC6345265603409FE330985C(__this, L_4, L_5, L_6, L_7, L_8, L_9, L_10, L_11, L_12, L_13, L_14, L_15, L_16, L_17, L_18, L_20, L_22, L_24, L_26, L_27, L_28, (uint32_t*)(&V_0), /*hidden argument*/NULL); V_1 = L_29; int32_t* L_30 = ___error19; uint32_t L_31 = V_0; *((int32_t*)L_30) = (int32_t)L_31; bool L_32 = V_1; V_3 = L_32; goto IL_0063; } IL_0063: { bool L_33 = V_3; return L_33; } } // System.Void UnityEngine.TextGenerator::GetVerticesInternal(System.Object) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_GetVerticesInternal_mB794B94982BA35D2CDB8F3AA77880B33AEB42B9A (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, RuntimeObject * ___vertices0, const RuntimeMethod* method) { typedef void (*TextGenerator_GetVerticesInternal_mB794B94982BA35D2CDB8F3AA77880B33AEB42B9A_ftn) (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 *, RuntimeObject *); static TextGenerator_GetVerticesInternal_mB794B94982BA35D2CDB8F3AA77880B33AEB42B9A_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextGenerator_GetVerticesInternal_mB794B94982BA35D2CDB8F3AA77880B33AEB42B9A_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextGenerator::GetVerticesInternal(System.Object)"); _il2cpp_icall_func(__this, ___vertices0); } // System.Void UnityEngine.TextGenerator::GetCharactersInternal(System.Object) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_GetCharactersInternal_m4383B9A162CF10430636BFD248DDBDDB4D64E967 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, RuntimeObject * ___characters0, const RuntimeMethod* method) { typedef void (*TextGenerator_GetCharactersInternal_m4383B9A162CF10430636BFD248DDBDDB4D64E967_ftn) (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 *, RuntimeObject *); static TextGenerator_GetCharactersInternal_m4383B9A162CF10430636BFD248DDBDDB4D64E967_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextGenerator_GetCharactersInternal_m4383B9A162CF10430636BFD248DDBDDB4D64E967_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextGenerator::GetCharactersInternal(System.Object)"); _il2cpp_icall_func(__this, ___characters0); } // System.Void UnityEngine.TextGenerator::GetLinesInternal(System.Object) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_GetLinesInternal_mA54A05D512EE1CED958F73E0024FB913E648EDAD (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, RuntimeObject * ___lines0, const RuntimeMethod* method) { typedef void (*TextGenerator_GetLinesInternal_mA54A05D512EE1CED958F73E0024FB913E648EDAD_ftn) (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 *, RuntimeObject *); static TextGenerator_GetLinesInternal_mA54A05D512EE1CED958F73E0024FB913E648EDAD_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextGenerator_GetLinesInternal_mA54A05D512EE1CED958F73E0024FB913E648EDAD_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextGenerator::GetLinesInternal(System.Object)"); _il2cpp_icall_func(__this, ___lines0); } // System.Void UnityEngine.TextGenerator::get_rectExtents_Injected(UnityEngine.Rect&) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_get_rectExtents_Injected_mD8FC9E47642590C7AC78DA83B583E5F4271842D0 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, Rect_t35B976DE901B5423C11705E156938EA27AB402CE * ___ret0, const RuntimeMethod* method) { typedef void (*TextGenerator_get_rectExtents_Injected_mD8FC9E47642590C7AC78DA83B583E5F4271842D0_ftn) (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 *, Rect_t35B976DE901B5423C11705E156938EA27AB402CE *); static TextGenerator_get_rectExtents_Injected_mD8FC9E47642590C7AC78DA83B583E5F4271842D0_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextGenerator_get_rectExtents_Injected_mD8FC9E47642590C7AC78DA83B583E5F4271842D0_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextGenerator::get_rectExtents_Injected(UnityEngine.Rect&)"); _il2cpp_icall_func(__this, ___ret0); } // System.Boolean UnityEngine.TextGenerator::Populate_Internal_Injected(System.String,UnityEngine.Font,UnityEngine.Color&,System.Int32,System.Single,System.Single,UnityEngine.FontStyle,System.Boolean,System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean,UnityEngine.TextAnchor,System.Single,System.Single,System.Single,System.Single,System.Boolean,System.Boolean,System.UInt32&) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerator_Populate_Internal_Injected_mC1D6A0A0A9E0BFDB146EA921DA459D83FF33DEDE (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font1, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * ___color2, int32_t ___fontSize3, float ___scaleFactor4, float ___lineSpacing5, int32_t ___style6, bool ___richText7, bool ___resizeTextForBestFit8, int32_t ___resizeTextMinSize9, int32_t ___resizeTextMaxSize10, int32_t ___verticalOverFlow11, int32_t ___horizontalOverflow12, bool ___updateBounds13, int32_t ___anchor14, float ___extentsX15, float ___extentsY16, float ___pivotX17, float ___pivotY18, bool ___generateOutOfBounds19, bool ___alignByGeometry20, uint32_t* ___error21, const RuntimeMethod* method) { typedef bool (*TextGenerator_Populate_Internal_Injected_mC1D6A0A0A9E0BFDB146EA921DA459D83FF33DEDE_ftn) (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 *, String_t*, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 *, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 *, int32_t, float, float, int32_t, bool, bool, int32_t, int32_t, int32_t, int32_t, bool, int32_t, float, float, float, float, bool, bool, uint32_t*); static TextGenerator_Populate_Internal_Injected_mC1D6A0A0A9E0BFDB146EA921DA459D83FF33DEDE_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextGenerator_Populate_Internal_Injected_mC1D6A0A0A9E0BFDB146EA921DA459D83FF33DEDE_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextGenerator::Populate_Internal_Injected(System.String,UnityEngine.Font,UnityEngine.Color&,System.Int32,System.Single,System.Single,UnityEngine.FontStyle,System.Boolean,System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean,UnityEngine.TextAnchor,System.Single,System.Single,System.Single,System.Single,System.Boolean,System.Boolean,System.UInt32&)"); bool retVal = _il2cpp_icall_func(__this, ___str0, ___font1, ___color2, ___fontSize3, ___scaleFactor4, ___lineSpacing5, ___style6, ___richText7, ___resizeTextForBestFit8, ___resizeTextMinSize9, ___resizeTextMaxSize10, ___verticalOverFlow11, ___horizontalOverflow12, ___updateBounds13, ___anchor14, ___extentsX15, ___extentsY16, ___pivotX17, ___pivotY18, ___generateOutOfBounds19, ___alignByGeometry20, ___error21); return retVal; } #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.String UnityEngine.TextMesh::get_text() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TextMesh_get_text_m82229563FBF187061DDBCB5305CB227513B6ED83 (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, const RuntimeMethod* method) { typedef String_t* (*TextMesh_get_text_m82229563FBF187061DDBCB5305CB227513B6ED83_ftn) (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A *); static TextMesh_get_text_m82229563FBF187061DDBCB5305CB227513B6ED83_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextMesh_get_text_m82229563FBF187061DDBCB5305CB227513B6ED83_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextMesh::get_text()"); String_t* retVal = _il2cpp_icall_func(__this); return retVal; } // System.Void UnityEngine.TextMesh::set_text(System.String) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_set_text_m64242AB987CF285F432E7AED38F24FF855E9B220 (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, String_t* ___value0, const RuntimeMethod* method) { typedef void (*TextMesh_set_text_m64242AB987CF285F432E7AED38F24FF855E9B220_ftn) (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A *, String_t*); static TextMesh_set_text_m64242AB987CF285F432E7AED38F24FF855E9B220_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextMesh_set_text_m64242AB987CF285F432E7AED38F24FF855E9B220_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextMesh::set_text(System.String)"); _il2cpp_icall_func(__this, ___value0); } // UnityEngine.Font UnityEngine.TextMesh::get_font() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * TextMesh_get_font_m6F27BBEAB80E50B5892B4D05AAA55433147A9BA8 (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, const RuntimeMethod* method) { typedef Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * (*TextMesh_get_font_m6F27BBEAB80E50B5892B4D05AAA55433147A9BA8_ftn) (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A *); static TextMesh_get_font_m6F27BBEAB80E50B5892B4D05AAA55433147A9BA8_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextMesh_get_font_m6F27BBEAB80E50B5892B4D05AAA55433147A9BA8_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextMesh::get_font()"); Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * retVal = _il2cpp_icall_func(__this); return retVal; } // System.Void UnityEngine.TextMesh::set_font(UnityEngine.Font) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_set_font_m88D7BE43E5C6C6649F331747C8604742829B0B25 (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___value0, const RuntimeMethod* method) { typedef void (*TextMesh_set_font_m88D7BE43E5C6C6649F331747C8604742829B0B25_ftn) (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A *, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 *); static TextMesh_set_font_m88D7BE43E5C6C6649F331747C8604742829B0B25_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextMesh_set_font_m88D7BE43E5C6C6649F331747C8604742829B0B25_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextMesh::set_font(UnityEngine.Font)"); _il2cpp_icall_func(__this, ___value0); } // System.Int32 UnityEngine.TextMesh::get_fontSize() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TextMesh_get_fontSize_mE32BD6ABC8B2077293886D533AA9E73ABFA17528 (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, const RuntimeMethod* method) { typedef int32_t (*TextMesh_get_fontSize_mE32BD6ABC8B2077293886D533AA9E73ABFA17528_ftn) (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A *); static TextMesh_get_fontSize_mE32BD6ABC8B2077293886D533AA9E73ABFA17528_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextMesh_get_fontSize_mE32BD6ABC8B2077293886D533AA9E73ABFA17528_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextMesh::get_fontSize()"); int32_t retVal = _il2cpp_icall_func(__this); return retVal; } // System.Void UnityEngine.TextMesh::set_fontSize(System.Int32) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_set_fontSize_m6701886D6E870EF23C2462B1BE7F67903A2649BA (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, int32_t ___value0, const RuntimeMethod* method) { typedef void (*TextMesh_set_fontSize_m6701886D6E870EF23C2462B1BE7F67903A2649BA_ftn) (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A *, int32_t); static TextMesh_set_fontSize_m6701886D6E870EF23C2462B1BE7F67903A2649BA_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextMesh_set_fontSize_m6701886D6E870EF23C2462B1BE7F67903A2649BA_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextMesh::set_fontSize(System.Int32)"); _il2cpp_icall_func(__this, ___value0); } // UnityEngine.FontStyle UnityEngine.TextMesh::get_fontStyle() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TextMesh_get_fontStyle_mFB54E0326F711208B20AB94FC50224722F706255 (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, const RuntimeMethod* method) { typedef int32_t (*TextMesh_get_fontStyle_mFB54E0326F711208B20AB94FC50224722F706255_ftn) (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A *); static TextMesh_get_fontStyle_mFB54E0326F711208B20AB94FC50224722F706255_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextMesh_get_fontStyle_mFB54E0326F711208B20AB94FC50224722F706255_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextMesh::get_fontStyle()"); int32_t retVal = _il2cpp_icall_func(__this); return retVal; } // System.Void UnityEngine.TextMesh::set_anchor(UnityEngine.TextAnchor) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_set_anchor_m013CFCFA46AB8478ADD1C4818FAAD90596BF4E15 (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, int32_t ___value0, const RuntimeMethod* method) { typedef void (*TextMesh_set_anchor_m013CFCFA46AB8478ADD1C4818FAAD90596BF4E15_ftn) (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A *, int32_t); static TextMesh_set_anchor_m013CFCFA46AB8478ADD1C4818FAAD90596BF4E15_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextMesh_set_anchor_m013CFCFA46AB8478ADD1C4818FAAD90596BF4E15_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextMesh::set_anchor(UnityEngine.TextAnchor)"); _il2cpp_icall_func(__this, ___value0); } // System.Single UnityEngine.TextMesh::get_characterSize() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TextMesh_get_characterSize_mA9E10AD8BA0E9D9AC2709FCDAEFB5F37E2C1E8BC (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, const RuntimeMethod* method) { typedef float (*TextMesh_get_characterSize_mA9E10AD8BA0E9D9AC2709FCDAEFB5F37E2C1E8BC_ftn) (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A *); static TextMesh_get_characterSize_mA9E10AD8BA0E9D9AC2709FCDAEFB5F37E2C1E8BC_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextMesh_get_characterSize_mA9E10AD8BA0E9D9AC2709FCDAEFB5F37E2C1E8BC_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextMesh::get_characterSize()"); float retVal = _il2cpp_icall_func(__this); return retVal; } // System.Void UnityEngine.TextMesh::set_richText(System.Boolean) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_set_richText_mEA6ACA489617BC48D2317385C92C542C5EFD15CA (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, bool ___value0, const RuntimeMethod* method) { typedef void (*TextMesh_set_richText_mEA6ACA489617BC48D2317385C92C542C5EFD15CA_ftn) (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A *, bool); static TextMesh_set_richText_mEA6ACA489617BC48D2317385C92C542C5EFD15CA_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextMesh_set_richText_mEA6ACA489617BC48D2317385C92C542C5EFD15CA_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextMesh::set_richText(System.Boolean)"); _il2cpp_icall_func(__this, ___value0); } // UnityEngine.Color UnityEngine.TextMesh::get_color() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 TextMesh_get_color_mA250B3D12AF6830CE95476B8939A84C26C0161E9 (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, const RuntimeMethod* method) { Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 V_0; memset((&V_0), 0, sizeof(V_0)); { TextMesh_get_color_Injected_m22B6B96B44E685B651AEFB28DC408AB52BA05B98(__this, (Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 *)(&V_0), /*hidden argument*/NULL); Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_0 = V_0; return L_0; } } // System.Void UnityEngine.TextMesh::set_color(UnityEngine.Color) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_set_color_mF86B9E8CD0F9FD387AF7D543337B5C14DFE67AF0 (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___value0, const RuntimeMethod* method) { { TextMesh_set_color_Injected_mF49AFC2EAF7A66132B87F41576FFAE0722E179AA(__this, (Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 *)(&___value0), /*hidden argument*/NULL); return; } } // System.Void UnityEngine.TextMesh::get_color_Injected(UnityEngine.Color&) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_get_color_Injected_m22B6B96B44E685B651AEFB28DC408AB52BA05B98 (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * ___ret0, const RuntimeMethod* method) { typedef void (*TextMesh_get_color_Injected_m22B6B96B44E685B651AEFB28DC408AB52BA05B98_ftn) (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A *, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 *); static TextMesh_get_color_Injected_m22B6B96B44E685B651AEFB28DC408AB52BA05B98_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextMesh_get_color_Injected_m22B6B96B44E685B651AEFB28DC408AB52BA05B98_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextMesh::get_color_Injected(UnityEngine.Color&)"); _il2cpp_icall_func(__this, ___ret0); } // System.Void UnityEngine.TextMesh::set_color_Injected(UnityEngine.Color&) IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_set_color_Injected_mF49AFC2EAF7A66132B87F41576FFAE0722E179AA (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A * __this, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * ___value0, const RuntimeMethod* method) { typedef void (*TextMesh_set_color_Injected_mF49AFC2EAF7A66132B87F41576FFAE0722E179AA_ftn) (TextMesh_t327D0DAFEF431170D8C2882083D442AF4D4A0E4A *, Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 *); static TextMesh_set_color_Injected_mF49AFC2EAF7A66132B87F41576FFAE0722E179AA_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TextMesh_set_color_Injected_mF49AFC2EAF7A66132B87F41576FFAE0722E179AA_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TextMesh::set_color_Injected(UnityEngine.Color&)"); _il2cpp_icall_func(__this, ___value0); } #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Void UnityEngine.UIVertex::.cctor() IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UIVertex__cctor_m86F60F5BB996D3C59B19B80C4BFB5770802BFB30 (const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (UIVertex__cctor_m86F60F5BB996D3C59B19B80C4BFB5770802BFB30_MetadataUsageId); s_Il2CppMethodInitialized = true; } UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 V_0; memset((&V_0), 0, sizeof(V_0)); { Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_0; memset((&L_0), 0, sizeof(L_0)); Color32__ctor_m1AEF46FBBBE4B522E6984D081A3D158198E10AA2((&L_0), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), /*hidden argument*/NULL); ((UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_StaticFields*)il2cpp_codegen_static_fields_for(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_il2cpp_TypeInfo_var))->set_s_DefaultColor_8(L_0); Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E L_1; memset((&L_1), 0, sizeof(L_1)); Vector4__ctor_m545458525879607A5392A10B175D0C19B2BC715D((&L_1), (1.0f), (0.0f), (0.0f), (-1.0f), /*hidden argument*/NULL); ((UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_StaticFields*)il2cpp_codegen_static_fields_for(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_il2cpp_TypeInfo_var))->set_s_DefaultTangent_9(L_1); il2cpp_codegen_initobj((&V_0), sizeof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 )); IL2CPP_RUNTIME_CLASS_INIT(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_il2cpp_TypeInfo_var); Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_2 = Vector3_get_zero_m3CDDCAE94581DF3BB16C4B40A100E28E9C6649C2(/*hidden argument*/NULL); (&V_0)->set_position_0(L_2); Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_3 = Vector3_get_back_mE7EF8625637E6F8B9E6B42A6AE140777C51E02F7(/*hidden argument*/NULL); (&V_0)->set_normal_1(L_3); Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E L_4 = ((UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_StaticFields*)il2cpp_codegen_static_fields_for(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_il2cpp_TypeInfo_var))->get_s_DefaultTangent_9(); (&V_0)->set_tangent_2(L_4); Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_5 = ((UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_StaticFields*)il2cpp_codegen_static_fields_for(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_il2cpp_TypeInfo_var))->get_s_DefaultColor_8(); (&V_0)->set_color_3(L_5); IL2CPP_RUNTIME_CLASS_INIT(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_il2cpp_TypeInfo_var); Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_6 = Vector2_get_zero_mFE0C3213BB698130D6C5247AB4B887A59074D0A8(/*hidden argument*/NULL); (&V_0)->set_uv0_4(L_6); Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_7 = Vector2_get_zero_mFE0C3213BB698130D6C5247AB4B887A59074D0A8(/*hidden argument*/NULL); (&V_0)->set_uv1_5(L_7); Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_8 = Vector2_get_zero_mFE0C3213BB698130D6C5247AB4B887A59074D0A8(/*hidden argument*/NULL); (&V_0)->set_uv2_6(L_8); Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_9 = Vector2_get_zero_mFE0C3213BB698130D6C5247AB4B887A59074D0A8(/*hidden argument*/NULL); (&V_0)->set_uv3_7(L_9); UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_10 = V_0; ((UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_StaticFields*)il2cpp_codegen_static_fields_for(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_il2cpp_TypeInfo_var))->set_simpleVert_10(L_10); return; } } #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif #ifdef __clang__ #pragma clang diagnostic pop #endif
[ "bluelaserpointer@yahoo.co.jp" ]
bluelaserpointer@yahoo.co.jp
3865ec6b7d449add51f0804b648398eb69c73f62
04b1803adb6653ecb7cb827c4f4aa616afacf629
/chrome/services/file_util/public/cpp/zip_file_creator.h
64f98e4573dd7697f56c5963df5745e430135083
[ "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
C++
false
false
2,601
h
// 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. #ifndef CHROME_SERVICES_FILE_UTIL_PUBLIC_CPP_ZIP_FILE_CREATOR_H_ #define CHROME_SERVICES_FILE_UTIL_PUBLIC_CPP_ZIP_FILE_CREATOR_H_ #include <memory> #include "base/callback.h" #include "base/files/file.h" #include "base/files/file_path.h" #include "base/task/post_task.h" #include "chrome/services/file_util/public/mojom/zip_file_creator.mojom.h" namespace service_manager { class Connector; } // ZipFileCreator creates a ZIP file from a specified list of files and // directories under a common parent directory. This is done in a sandboxed // utility process to protect the browser process from handling arbitrary // input data from untrusted sources. // Note that this class deletes itself after calling the ResultCallback // specified in the constructor (and should be heap allocated). class ZipFileCreator { public: typedef base::Callback<void(bool)> ResultCallback; // Creates a zip file from the specified list of files and directories. ZipFileCreator(const ResultCallback& callback, const base::FilePath& src_dir, const std::vector<base::FilePath>& src_relative_paths, const base::FilePath& dest_file); // Starts creating the zip file. Must be called from the UI thread. // The result will be passed to |callback|. After the task is finished // and |callback| is run, ZipFileCreator instance is deleted. void Start(service_manager::Connector* connector); private: ~ZipFileCreator(); // Called after the dest_file |file| is opened on the blocking pool to // create the zip file in it using a sandboxed utility process. void CreateZipFile(service_manager::Connector* connector, base::File file); // Notifies by calling |callback| specified in the constructor the end of the // ZIP operation. Deletes this. void ReportDone(bool success); // The callback. ResultCallback callback_; // The source directory for input files. base::FilePath src_dir_; // The list of source files paths to be included in the zip file. // Entries are relative paths under directory |src_dir_|. std::vector<base::FilePath> src_relative_paths_; scoped_refptr<base::SequencedTaskRunner> directory_task_runner_; // The output zip file. base::FilePath dest_file_; chrome::mojom::ZipFileCreatorPtr zip_file_creator_ptr_; DISALLOW_COPY_AND_ASSIGN(ZipFileCreator); }; #endif // CHROME_SERVICES_FILE_UTIL_PUBLIC_CPP_ZIP_FILE_CREATOR_H_
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
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
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
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
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
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
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
69e2a3d8cd71b6e86dc0563fa0ba495c6ae42c7c
7d0e0c88d32875a18b41ef86e41f8c482f069e01
/Src/Kranos/GUI/Panel/PropertyPanel.cpp
afa5125392c2b6b4637154d9ad32daa184d0da2e
[ "MIT" ]
permissive
KDahir247/KranosLoader
3b762bb4c3e851d16163492b0c686798a4bbc8e3
5e55a0f1a697170020c2601c9b0d04b0da27da93
refs/heads/main
2023-01-01T17:41:46.830677
2020-10-27T16:19:56
2020-10-27T16:19:56
307,753,278
0
0
null
null
null
null
UTF-8
C++
false
false
4,669
cpp
// // Created by kdahi on 2020-09-30. // #include "PropertyPanel.h" #include <nuklear.h> PropertyPanel::PropertyPanel(struct nk_context *nkContext, int width, int height) { this->width = width; this->height = height; context = nkContext; WindowEvent::AddListener()->GetEventListener() .subscribe([&](const WindowEventArgs& windowEventArgs){ this->width = windowEventArgs.width; this->height = windowEventArgs.height; }); } void PropertyPanel::OnBeginStyle() { // struct nk_style *s = &context->style; // nk_style_push_color(context, &s->window.background, nk_rgba(45,45,45,255)); // nk_style_push_style_item(context, &s->window.fixed_background, nk_style_item_color(nk_rgba(45,45,45,255))); } void PropertyPanel::OnEndStyle() { // nk_style_pop_color(context); // nk_style_pop_style_item(context); } void PropertyPanel::OnBegin() { OnBeginStyle(); if (nk_begin(context, "Kranos Loader", nk_rect(0, 20.0f, width/ 4.0f, height - 320), NK_WINDOW_BORDER | NK_WINDOW_TITLE)){ OnDraw(); OnEnd(); } OnEndStyle(); } void PropertyPanel::OnDraw() { if (nk_tree_push(context, NK_TREE_TAB, "Object Properties", NK_MINIMIZED)){ //TODO Change to glm::vec3 or equivalent static float position[3]; static float rotation[3]; static float scale[3]; char positionBuffer[30]; char rotationBuffer[30]; char scaleBuffer[30]; nk_text(context, "Position", strlen("Position"), NK_TEXT_LEFT); sprintf(positionBuffer, "%.2f, %.2f, %.2f", position[0], position[1], position[2]); if (nk_combo_begin_label(context, positionBuffer, nk_vec2(200, 200))){ nk_layout_row_dynamic(context, 25, 1); nk_property_float(context, "#X", -INFINITY, &position[0], INFINITY, 1.0f, 0.5f); nk_property_float(context,"#Y", -1024.0f, &position[1], INFINITY, 1.0f, 0.5f); nk_property_float(context, "#Z", -INFINITY,&position[2], INFINITY, 1.0f, 0.5f); nk_combo_end(context); } nk_text(context, "Rotation", strlen("Rotation"), NK_TEXT_LEFT); sprintf(rotationBuffer, "%.2f, %.2f, %.2f", rotation[0], rotation[1], rotation[2]); if(nk_combo_begin_label(context, rotationBuffer, nk_vec2(200,200))){ nk_layout_row_dynamic(context, 25, 1); nk_property_float(context, "#Pitch", -INFINITY, &rotation[0], INFINITY, 1.0f, 0.5f); nk_property_float(context, "#Yaw", -INFINITY, &rotation[1], INFINITY, 1.0f, 0.5f); nk_property_float(context, "#Roll", -INFINITY, &rotation[2], INFINITY, 1.0f, 0.5f); nk_combo_end(context); } nk_text(context, "Scale", strlen("Scale"), NK_TEXT_LEFT); sprintf(scaleBuffer, "%.2f, %.2f, %.2f", scale[0], scale[1], scale[2]); if(nk_combo_begin_label(context, scaleBuffer, nk_vec2(200,200))){ nk_layout_row_dynamic(context, 25, 1); nk_property_float(context, "#Width", -INFINITY, &scale[0], INFINITY, 1.0f, 0.5f); nk_property_float(context, "#Height", -INFINITY, &scale[1], INFINITY, 1.0f, 0.5f); nk_property_float(context, "#Depth", -INFINITY, &scale[2], INFINITY, 1.0f, 0.5f); nk_combo_end(context); } nk_tree_pop(context); //Material } if (nk_tree_push(context, NK_TREE_TAB, "Lighting Properties", NK_MINIMIZED)){ // nk_checkbox_label(context, "Enable Lighting", &success); nk_tree_pop(context); } if (nk_tree_push(context, NK_TREE_TAB, "Environment Properties", NK_MINIMIZED)){ if (nk_tree_push(context, NK_TREE_NODE, "Skybox", NK_MINIMIZED)){ nk_layout_row_dynamic(context, 30, 3); if(nk_button_label(context, "Sunny")){ } if(nk_button_label(context, "Glorious")){ } if(nk_button_label(context, "Space")){ } if (nk_button_label(context, "Cloudy")) { } if (nk_button_label(context, "Dusk")) { } if (nk_button_label(context, "Overcast")) { } if (nk_button_label(context, "C Night")) { } if (nk_button_label(context, "C Day")){ } if (nk_button_label(context, "Night")){ } nk_tree_pop(context); } //Set Skybox setting nk_tree_pop(context); } } void PropertyPanel::OnEnd() { nk_end(context); } PropertyPanel::~PropertyPanel() { }
[ "oblitrium@gmail.com" ]
oblitrium@gmail.com
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
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
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
99b132e6b4ce7b529321626e3de40ae94047e81e
dec4ef167e1ce49062645cbf036be324ea677b5e
/SDK/PUBG_Carapackage_RedBox_classes.hpp
9231bc80974469ebc9b912d49f50d789ca8f3c5c
[]
no_license
qrluc/pubg-sdk-3.7.19.5
519746887fa2204f27f5c16354049a8527367bfb
583559ee1fb428e8ba76398486c281099e92e011
refs/heads/master
2021-04-15T06:40:38.144620
2018-03-26T00:55:36
2018-03-26T00:55:36
126,754,368
1
0
null
null
null
null
UTF-8
C++
false
false
686
hpp
#pragma once // PlayerUnknown's Battlegrounds (3.5.7.7) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "PUBG_Carapackage_RedBox_structs.hpp" namespace PUBG { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- // BlueprintGeneratedClass Carapackage_RedBox.Carapackage_RedBox_C // 0x0000 (0x05E8 - 0x05E8) class ACarapackage_RedBox_C : public ACarePackageItem { public: static UClass* StaticClass() { static UClass* ptr = nullptr; if (!ptr) ptr = UObject::FindClass(0x4131d65d); return ptr; } }; } #ifdef _MSC_VER #pragma pack(pop) #endif
[ "qrl@uc.com" ]
qrl@uc.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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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